Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
// GetClientSet returns the ClientSet for future use
GetClientSet() kubernetes.Interface
// GetConfig returns the *rest.Config for future use
GetConfig() (*rest.Config, error)
// ApplyOrDeleteYAML applies or delete the yaml content to/from the target cluster
ApplyOrDeleteYAML(yamlStr string, delete bool) error
}
Client provides methods to interact with a Kubernetes API server
Click to show internal directories.
Click to hide internal directories.