# Functions
CreateClusterIP creates a service using the values from the Service struct via the Client.Clientset
Args: Service - Service struct Client - Client struct
Returns: error or nil.
CreateExternalName creates a service using the values from the Service struct via the Client.Clientset
Args: Service - Service struct Client - Client struct
Returns: error or nil.
CreateLoadBalancer creates a service using the values from the Service struct via the Client.Clientset
Args: Service - Service struct Client - Client struct
Returns: error or nil.
CreateNodePort creates a service using the values from the Service struct via the Client.Clientset
Args: Service - Service struct Client - Client struct
Returns: error or nil.
Delete deletes a service
Args: Client - client struct from the client module service - Service Name namespace - Namespace
Returns: error or nil.
Exists will check if the service exists or not
Args: - Pointer to a Client struct
Returns: string (namespace name) OR error type
.
GetIP will return the pod IP address
Args:
- Client struct from client module - pod name - namespace
Returns: - the IP as string or error.