Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectAndInstallAgent ¶
func ConnectAndInstallAgent(kw *KubectlWrapper, orgID string, projectID string, clusterName string) error
ConnectAndInstallAgent registers the cluster with the Mizzen API and installs the in-cluster mx-agent
Types ¶
type KubectlWrapper ¶
type KubectlWrapper struct {
// contains filtered or unexported fields
}
KubectlWrapper defines a wrapper around the Kubectl Binary
func NewKubectlWrapper ¶
func NewKubectlWrapper() (*KubectlWrapper, error)
NewKubectlWrapper returns a new KubectlWrapper pointer.
func (*KubectlWrapper) ListClusters ¶
func (k *KubectlWrapper) ListClusters() ([]string, error)
ListClusters returns the cluster list provided by kubectl config get-clusters
Click to show internal directories.
Click to hide internal directories.