ameshcontroller

package
v0.0.0-...-45ed318 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AmeshController

type AmeshController interface {
	// Type returns the amesh controller type.
	Type() string
	// Namespace fetches the deployed namespace of amesh controller components.
	Namespace() string
	// Deploy deploys the amesh controller.
	Deploy() error
	// WaitForReady waits for amesh controller ready
	WaitForReady() error
	// Uninstall uninstalls the amesh controller.
	Uninstall() error
	// Addr returns the address to communicate with the amesh controller for fetching
	// configuration changes.
	Addr() string
}

AmeshController represents the amesh controller in e2e test cases.

func NewAmeshController

func NewAmeshController(opts *AmeshOptions) AmeshController

NewAmeshController creates an amesh controller.

type AmeshOptions

type AmeshOptions struct {
	// KubeConfig is the kube config file path.
	KubeConfig string
	// AmeshImage is the image of amesh-controller
	AmeshImage string
	// Namespace is the target namespace to install amesh-controller.
	Namespace string
	// ChartsPath is a directory that contains charts for amesh-controller.
	ChartsPath string

	KubectlOpts *k8s.KubectlOptions
}

AmeshOptions contains options to customize Amesh controller.

Jump to

Keyboard shortcuts

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