Documentation ¶
Index ¶
- func ApplyYAML(clientset *kubernetes.Clientset, namespace string, yamlContent string, ...) error
- func CollectEnvVars(reader *bufio.Reader) map[string]string
- func EnsureNamespace(clientset *kubernetes.Clientset, namespace string) error
- func GenerateDeploymentYAML(config DeploymentConfig) (string, error)
- func GeneratePodYAML(config PodConfig) (string, error)
- func HandleDeploymentOrSave(clientset *kubernetes.Clientset, namespace string, yamlContent string, ...)
- func RunGenerate(cmd *cobra.Command, args []string)
- type DeploymentConfig
- type PodConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureNamespace ¶ added in v0.1.3
func EnsureNamespace(clientset *kubernetes.Clientset, namespace string) error
func GenerateDeploymentYAML ¶
func GenerateDeploymentYAML(config DeploymentConfig) (string, error)
GenerateDeploymentYAML uses the DeploymentConfig to generate a Kubernetes Deployment configuration in YAML format
func GeneratePodYAML ¶
GeneratePodYAML uses the PodConfig to generate a Kubernetes Pod configuration in YAML format
func HandleDeploymentOrSave ¶ added in v0.1.3
func RunGenerate ¶ added in v0.1.3
Types ¶
Click to show internal directories.
Click to hide internal directories.