Documentation ¶
Index ¶
- func CreateIstioBugReport(ctx context.Context, istioctlBinary, kubeContext, artifactOutputDir string)
- func GetIstioctl(ctx context.Context) (string, error)
- func InstallMinimalIstio(ctx context.Context, istioctlBinary, kubeContext string) error
- func UninstallIstio(istioctlBinary, kubeContext string) error
- type Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIstioBugReport ¶
func CreateIstioBugReport(ctx context.Context, istioctlBinary, kubeContext, artifactOutputDir string)
CreateIstioBugReport generates an istioctl bug report and moves it to the _output directory
func InstallMinimalIstio ¶
func UninstallIstio ¶
Types ¶
type Context ¶
type Context struct { // The name of the Kubernetes cluster // The assumption is that when multiple clusters are running at once, they will each have unique names Name string // The context of the Kubernetes cluster KubeContext string // RestConfig holds the common attributes that can be passed to a Kubernetes client on initialization RestConfig *rest.Config // A CLI for interacting with Kubernetes cluster Cli *kubectl.Cli // A client to perform CRUD operations on the Kubernetes Cluster Client client.Client // A set of clients for interacting with the Kubernetes Cluster Clientset *kubernetes.Clientset }
Context contains the metadata about a Kubernetes cluster It also includes useful utilities for interacting with that cluster
func MustKindContext ¶
MustKindContext returns the Context for a KinD cluster with the given name
Click to show internal directories.
Click to hide internal directories.