Documentation ¶
Index ¶
- func CreateNamespace(client *kubernetes.Clientset, name string) *v1.Namespace
- func DeleteNamespace(name string)
- func EnsureNamespace(name string) *v1.Namespace
- func Exec(command string) (string, error)
- func GetDefaultDynamicClient() dynamic.Interface
- func GetDefaultKubeConfigPath() string
- func GetDefaultKubernetesClient() *kubernetes.Clientset
- func GetNodeAddress() string
- func GetObject(namespace string, name string, gvr schema.GroupVersionResource, ...) error
- func KubeApply(yaml string) (string, error)
- func KubeApplyFromTemplate(yaml string, params map[string]string) (string, error)
- func KubeDelete(yaml string) (string, error)
- func KubeDeleteFromTemplate(yaml string, params map[string]string) (string, error)
- func KubeUpdateStatus(name, namespace, statusYaml string, gvr schema.GroupVersionResource) error
- func KubeWaitForCondition(namespace string, groupResourceName string, condition string, timeout string) (string, error)
- func KubeWaitForDeleted(namespace string, groupResourceName string, timeout string) (string, error)
- func KubeWaitForReady(namespace string, groupResourceName string, timeout string) (string, error)
- func MustKubeApply(yaml string)
- func MustKubeApplyFromTemplate(yaml string, params map[string]string)
- func MustKubeDelete(yaml string)
- func MustKubeDeleteFromTemplate(yaml string, params map[string]string)
- func MustKubeWaitForCondition(namespace string, groupResourceName string, condition string, timeout string)
- func MustKubeWaitForDeleted(namespace string, groupResourceName string, timeout string)
- func MustKubeWaitForReady(namespace string, groupResourceName string, timeout string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNamespace ¶
func CreateNamespace(client *kubernetes.Clientset, name string) *v1.Namespace
func DeleteNamespace ¶
func DeleteNamespace(name string)
func EnsureNamespace ¶
func GetDefaultDynamicClient ¶
func GetDefaultKubeConfigPath ¶
func GetDefaultKubeConfigPath() string
func GetDefaultKubernetesClient ¶
func GetDefaultKubernetesClient() *kubernetes.Clientset
GetDefaultKubernetesClient returns a kubernetes client
func GetNodeAddress ¶
func GetNodeAddress() string
func GetObject ¶
func GetObject(namespace string, name string, gvr schema.GroupVersionResource, out interface{}) error
func KubeApplyFromTemplate ¶
func KubeDelete ¶
func KubeDeleteFromTemplate ¶
func KubeUpdateStatus ¶
func KubeUpdateStatus(name, namespace, statusYaml string, gvr schema.GroupVersionResource) error
func KubeWaitForCondition ¶
func KubeWaitForDeleted ¶
func KubeWaitForReady ¶
func MustKubeApply ¶
func MustKubeApply(yaml string)
func MustKubeDelete ¶
func MustKubeDelete(yaml string)
func MustKubeWaitForDeleted ¶
func MustKubeWaitForReady ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.