Documentation ¶
Index ¶
- Constants
- func DoServerSideApply(ctx context.Context, cfg *rest.Config, content string) error
- func EnsureNamespace(ctx context.Context, client kubernetes.Interface, name string) error
- func GetClient(config *rest.Config) (kubernetes.Interface, error)
- func GetConfig(kubeConfigPath string) (*rest.Config, error)
- func GetDefaultKubeConfigPath() string
Constants ¶
View Source
const Owner = "spotctl"
Variables ¶
This section is empty.
Functions ¶
func DoServerSideApply ¶
func EnsureNamespace ¶ added in v0.22.0
EnsureNamespace checks for the existence of a namespace with the given name. If the namespace does not exist, it is created.
func GetDefaultKubeConfigPath ¶ added in v0.22.0
func GetDefaultKubeConfigPath() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.