Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDeployment ¶
type CreateDeployment struct { Name string Namespace string NumReplicats int32 ContainerImage string ContainerTag string ContainerPort int32 MemoryRequest string CPURequest string MemoryLimit string CPULimit string EnvVars []apiv1.EnvVar Labels map[string]string Clientset *kubernetes.Clientset Logger logrus.FieldLogger }
CreateDeployment creates a deployment with a POD
func (*CreateDeployment) Execute ¶
func (c *CreateDeployment) Execute() error
Execute run the command
type CreateIngressCommand ¶
type CreateIngressCommand struct { Name string Namespace string Host string Path string ServicePort int IngressPath string Labels map[string]string Annotations map[string]string Clientset *kubernetes.Clientset Logger logrus.FieldLogger }
CreateIngressCommand creates an ingress for a service
func (*CreateIngressCommand) Execute ¶
func (c *CreateIngressCommand) Execute() error
Execute run the command
type CreateNamespace ¶
type CreateNamespace struct { Name string Clientset *kubernetes.Clientset Logger logrus.FieldLogger }
CreateNamespace creates a namespace
type CreateService ¶
type CreateService struct { Name string Namespace string ServicePort []apiv1.ServicePort ServiceType apiv1.ServiceType Labels map[string]string Annotations map[string]string Clientset *kubernetes.Clientset Logger logrus.FieldLogger }
CreateService creates an service for a POD
type DeleteNamespace ¶
type DeleteNamespace struct { Namespace string Clientset *kubernetes.Clientset Logger logrus.FieldLogger }
DeleteNamespace deletes the namespace
Click to show internal directories.
Click to hide internal directories.