Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultSystemNamespace default value for SystemNamespace DefaultSystemNamespace = "istio-system" // ValuesMcpFile for Istio Helm deployment. E2EValuesFile = "test-values/values-e2e.yaml" // DefaultDeployTimeout for Istio DefaultDeployTimeout = time.Second * 300 // TODO(https://github.com/istio/istio/issues/12606): This timeout is insanely large, but Prow seems to take a lot of time // pulling images. // DefaultCIDeployTimeout for Istio DefaultCIDeployTimeout = time.Minute * 20 // DefaultUndeployTimeout for Istio. DefaultUndeployTimeout = time.Second * 300 // DefaultCIUndeployTimeout for Istio. DefaultCIUndeployTimeout = time.Second * 900 // DefaultIstioChartRepo for Istio. DefaultIstioChartRepo = "https://gcsweb.istio.io/gcs/istio-prerelease/daily-build/release-1.1-latest-daily/charts/" )
Variables ¶
This section is empty.
Functions ¶
func SetupOnKube ¶
func SetupOnKube(i *Instance, cfn SetupConfigFn) resource.SetupFn
SetupOnKube is a setup function that will deploy Istio on Kubernetes environment
Types ¶
type Config ¶
type Config struct { // The namespace where the Istio components reside in a typical deployment (default: "istio-system"). SystemNamespace string // Indicates that the test should deploy Istio into the target Kubernetes cluster before running tests. DeployIstio bool // DeployTimeout the timeout for deploying Istio. DeployTimeout time.Duration // UndeployTimeout the timeout for undeploying Istio. UndeployTimeout time.Duration ChartRepo string // The top-level Helm chart dir. ChartDir string // The top-level Helm Crds files dir. CrdsFilesDir string // The Helm values file to be used. ValuesFile string // Overrides for the Helm values file. Values map[string]string }
Config provide kube-specific Config from flags.
func DefaultConfig ¶
DefaultConfig creates a new Config from defaults, environments variables, and command-line parameters.
func (*Config) IsMtlsEnabled ¶
Is mtls enabled. Check in Values flag and Values file.
type SetupConfigFn ¶
type SetupConfigFn func(cfg *Config)
SetupConfigFn is a setup function that specifies the overrides of the configuration to deploy Istio.
Click to show internal directories.
Click to hide internal directories.