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 // 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, error)
NewIstioControlPlane creates an istio control plane.
type IstioOptions ¶
type IstioOptions struct { // IstioImage is the image of Istiod, should be in: // <registry>/<repository>:<tag> format. IstioImage string // Namespace is the target namespace to install Istiod. Namespace string // ChartsPath is a directory that contains charts for Istio. // The first element should be the chart for istio-base and // the second is the istio-control. ChartsPath []string // Kubeconfig is the kube config file path. Kubeconfig string KubectlOpts *k8s.KubectlOptions }
IstioOptions contains options to customize Istio control plane.
Click to show internal directories.
Click to hide internal directories.