Documentation ¶
Index ¶
- func ApplyManifest(_config *config.InternalConfig, name, manifest string, commandRetries int) error
- type K8S
- func (k8s *K8S) Apply(manifest string) error
- func (k8s *K8S) Cordon(name string) error
- func (k8s *K8S) DeleteJob(namespace, jobName string) error
- func (k8s *K8S) Drain(nodeName string) error
- func (k8s *K8S) Exec(namespace, pod, container, command string) (string, error)
- func (k8s *K8S) GetCredentials(namespace, name string) (username string, password string, error error)
- func (k8s *K8S) GetSecretToken(namespace, name string) (string, error)
- func (k8s *K8S) TaintNode(name string, nodeData *config.Node) error
- func (k8s *K8S) Uncordon(name string) error
- func (k8s *K8S) WaitForCluster(totalStableIterations uint) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyManifest ¶
func ApplyManifest(_config *config.InternalConfig, name, manifest string, commandRetries int) error
Types ¶
type K8S ¶
type K8S struct {
// contains filtered or unexported fields
}
func NewK8S ¶
func NewK8S(config *config.InternalConfig) *K8S
func (*K8S) GetCredentials ¶
func (*K8S) WaitForCluster ¶
Click to show internal directories.
Click to hide internal directories.