Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Cmd describes a kube command. Cmd = cobrax.NewCommand("kube") )
Functions ¶
func RevertTemplate ¶
RevertTemplate reverts the given template file to the default value.
Types ¶
type Deployment ¶
type Deployment struct { Name string Namespace string Image string Secret string Replicas int Revisions int Port int TargetPort int NodePort int UseNodePort bool RequestCpu int RequestMem int LimitCpu int LimitMem int MinReplicas int MaxReplicas int ServiceAccount string ImagePullPolicy string }
Deployment describes the k8s deployment yaml
Click to show internal directories.
Click to hide internal directories.