mizzen

package
v0.0.0-...-c0ffb5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL