Documentation ¶
Index ¶
- func DefineAndCreateServiceOnCluster(name, namespace string, port int32, targetPort int32, withNodePort bool, ...) error
- func DefineDeployment(replica int32, containers int, name, namespace string) (*appsv1.Deployment, error)
- func DefineDeploymentWithClusterRoleBindingWithServiceAccount(replica int32, containers int, name, namespace, serviceAccountName string) (*appsv1.Deployment, error)
- func DefineDeploymentWithContainerPorts(name, namespace string, replicaNumber int32, ports []corev1.ContainerPort) (*appsv1.Deployment, error)
- func DefineDeploymentWithNamespace(replica int32, containers int, name string, namespace string) (*appsv1.Deployment, error)
- func SetServiceAccountAutomountServiceAccountToken(namespace, saname, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefineAndCreateServiceOnCluster ¶
func DefineAndCreateServiceOnCluster(name, namespace string, port int32, targetPort int32, withNodePort bool, ipFams []corev1.IPFamily, ipFamPolicy string) error
DefineAndCreateServiceOnCluster defines service resource and creates it on cluster.
func DefineDeployment ¶
func DefineDeploymentWithContainerPorts ¶
func DefineDeploymentWithContainerPorts(name, namespace string, replicaNumber int32, ports []corev1.ContainerPort) (*appsv1.Deployment, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.