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.
Click to show internal directories.
Click to hide internal directories.