Documentation
¶
Index ¶
- type ContainerSpec
- type K8sHandler
- func (handler K8sHandler) ComposeDeployment(name string, containerImage string, cmdStr string, args []string, ...) string
- func (handler K8sHandler) CreateDeployment(yamlFile string) error
- func (handler K8sHandler) DeleteDeployment(deploymentName string, force bool) error
- func (handler K8sHandler) GetDeployments() ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerSpec ¶
type K8sHandler ¶
type K8sHandler struct {
// contains filtered or unexported fields
}
func CreateK8sHandler ¶
func CreateK8sHandler(namespace string) (*K8sHandler, error)
func (K8sHandler) ComposeDeployment ¶
func (K8sHandler) CreateDeployment ¶
func (handler K8sHandler) CreateDeployment(yamlFile string) error
func (K8sHandler) DeleteDeployment ¶
func (handler K8sHandler) DeleteDeployment(deploymentName string, force bool) error
func (K8sHandler) GetDeployments ¶
func (handler K8sHandler) GetDeployments() ([]string, error)
Click to show internal directories.
Click to hide internal directories.