Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultKubectlPath = "/bin/kubectl"
)
Variables ¶
This section is empty.
Functions ¶
func GetKubeletConfigForNodes ¶
func GetKubeletConfigForNodes(kc *Kubectl, nodeNames []string, logger logr.Logger) (map[string]*kubeletconfigv1beta1.KubeletConfiguration, error)
func StartWithStreamOutput ¶
func StartWithStreamOutput(cmd *exec.Cmd) (stdout, stderr io.ReadCloser, err error)
Types ¶
type Kubectl ¶
type Kubectl struct {
// contains filtered or unexported fields
}
func NewKubectlFromEnv ¶
func (*Kubectl) WithAPIServer ¶
func (*Kubectl) WithNamespace ¶
Click to show internal directories.
Click to hide internal directories.