Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlPlane ¶
type ControlPlane interface { // Type returns the control plane type. Type() string // Namespace fetches the deployed namespace of control plane components. Namespace() string // InjectNamespace marks the target namespace as injectable. Pod in this // namespace will be injected by control plane. InjectNamespace(string) error // Deploy deploys the control plane. Deploy() error // WaitForReady waits for control plane ready WaitForReady() error // Uninstall uninstalls the control plane. Uninstall() error // Addr returns the address to communicate with the control plane for fetching // configuration changes. Addr() string }
ControlPlane represents the control plane in e2e test cases.
func NewIstioControlPlane ¶
func NewIstioControlPlane(opts *IstioOptions) ControlPlane
NewIstioControlPlane creates an istio control plane.
type IstioOptions ¶
type IstioOptions struct { // KubeConfig is the kube config file path. KubeConfig string // IstioImage is the image of Istiod (pilot) IstioImage string // SidecarInitImage is the sidecar init image SidecarInitImage string // SidecarImage is the sidecar image SidecarImage string // Namespace is the target namespace to install istio. Namespace string // ChartsPath is a directory that contains charts for Amesh. ChartsPath string KubectlOpts *k8s.KubectlOptions }
IstioOptions contains options to customize Istio control plane.
Click to show internal directories.
Click to hide internal directories.