context

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 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 Dashboard

type Dashboard struct {
	FileName string
	Content  string
}

type ImageEnvSecret

type ImageEnvSecret struct {
	Env    string
	Secret string
	Key    string
}

type InstallControlPlaneArgs

type InstallControlPlaneArgs struct {
	Namespace                                    string
	ControlPlane_image_pullPolicy                string            `helm:"controlPlane.image.pullPolicy"`
	ControlPlane_image_registry                  string            `helm:"controlPlane.image.registry"`
	ControlPlane_image_repository                string            `helm:"controlPlane.image.repository"`
	ControlPlane_image_tag                       string            `helm:"controlPlane.image.tag"`
	ControlPlane_service_name                    string            `helm:"controlPlane.service.name"`
	ControlPlane_tls_general_secret              string            `helm:"controlPlane.tls.general.secretName"`
	ControlPlane_tls_general_caBundle            string            `helm:"controlPlane.tls.general.caBundle"`
	ControlPlane_tls_apiServer_secret            string            `helm:"controlPlane.tls.apiServer.secretName"`
	ControlPlane_tls_apiServer_clientCertsSecret string            `helm:"controlPlane.tls.apiServer.clientCertsSecretName"`
	ControlPlane_tls_kdsGlobalServer_secret      string            `helm:"controlPlane.tls.kdsGlobalServer.secretName"`
	ControlPlane_tls_kdsZoneClient_secret        string            `helm:"controlPlane.tls.kdsZoneClient.secretName"`
	ControlPlane_injectorFailurePolicy           string            `helm:"controlPlane.injectorFailurePolicy"`
	ControlPlane_secrets                         []ImageEnvSecret  `helm:"controlPlane.secrets"`
	ControlPlane_envVars                         map[string]string `helm:"controlPlane.envVars"`
	DataPlane_image_registry                     string            `helm:"dataPlane.image.registry"`
	DataPlane_image_repository                   string            `helm:"dataPlane.image.repository"`
	DataPlane_image_tag                          string            `helm:"dataPlane.image.tag"`
	DataPlane_initImage_registry                 string            `helm:"dataPlane.initImage.registry"`
	DataPlane_initImage_repository               string            `helm:"dataPlane.initImage.repository"`
	DataPlane_initImage_tag                      string            `helm:"dataPlane.initImage.tag"`
	ControlPlane_kdsGlobalAddress                string            `helm:"controlPlane.kdsGlobalAddress"`
	Cni_enabled                                  bool              `helm:"cni.enabled"`
	Cni_chained                                  bool              `helm:"cni.chained"`
	Cni_net_dir                                  string            `helm:"cni.netDir"`
	Cni_bin_dir                                  string            `helm:"cni.binDir"`
	Cni_conf_name                                string            `helm:"cni.confName"`
	Cni_image_registry                           string            `helm:"cni.image.registry"`
	Cni_image_repository                         string            `helm:"cni.image.repository"`
	Cni_image_tag                                string            `helm:"cni.image.tag"`
	ControlPlane_mode                            string            `helm:"controlPlane.mode"`
	ControlPlane_zone                            string            `helm:"controlPlane.zone"`
	ControlPlane_globalZoneSyncService_type      string            `helm:"controlPlane.globalZoneSyncService.type"`
	Ingress_enabled                              bool              `helm:"ingress.enabled"`
	Ingress_mesh                                 string            `helm:"ingress.mesh"`
	Ingress_drainTime                            string            `helm:"ingress.drainTime"`
	Ingress_service_type                         string            `helm:"ingress.service.type"`
	WithoutKubernetesConnection                  bool              // there is no HELM equivalent, HELM always require connection to Kubernetes
}

type InstallCpContext

type InstallCpContext struct {
	Args                   InstallControlPlaneArgs
	InstallCpTemplateFiles func(*InstallControlPlaneArgs) (data.FileList, error)
	NewSelfSignedCert      func(commonName string, certType tls.CertType, hosts ...string) (tls.KeyPair, error)
	// When Kuma chart is embedded into other chart all the values need to have a prefix. You can set this prefix with this var.
	HELMValuesPrefix string
}

func DefaultInstallCpContext

func DefaultInstallCpContext() InstallCpContext

type InstallCrdsArgs

type InstallCrdsArgs struct {
	OnlyMissing bool
}

type InstallCrdsContext

type InstallCrdsContext struct {
	Args                    InstallCrdsArgs
	InstallCrdTemplateFiles func(InstallCrdsArgs) (data.FileList, error)
	FilterCrdNamesToInstall func([]string) []string
}

func DefaultInstallCrdsContext

func DefaultInstallCrdsContext() InstallCrdsContext

type InstallDemoArgs

type InstallDemoArgs struct {
	Zone      string
	Namespace string
}

type InstallDemoContext

type InstallDemoContext struct {
	Args InstallDemoArgs
}

func DefaultInstallDemoContext

func DefaultInstallDemoContext() InstallDemoContext

type InstallGatewayKongArgs

type InstallGatewayKongArgs struct {
	Namespace string
}

type InstallGatewayKongContext

type InstallGatewayKongContext struct {
	Args InstallGatewayKongArgs
}

func DefaultInstallGatewayKongContext

func DefaultInstallGatewayKongContext() InstallGatewayKongContext

type InstallGatewayKongEnterpriseArgs

type InstallGatewayKongEnterpriseArgs struct {
	Namespace   string
	LicensePath string
}

type InstallGatewayKongEnterpriseContext

type InstallGatewayKongEnterpriseContext struct {
	Args InstallGatewayKongEnterpriseArgs
}

func DefaultInstallGatewayKongEnterpriseContext

func DefaultInstallGatewayKongEnterpriseContext() InstallGatewayKongEnterpriseContext

type InstallMetricsContext

type InstallMetricsContext struct {
	TemplateArgs MetricsTemplateArgs
}

func DefaultInstallMetricsContext

func DefaultInstallMetricsContext() InstallMetricsContext

type MetricsTemplateArgs

type MetricsTemplateArgs struct {
	Namespace               string
	Mesh                    string
	KumaPrometheusSdImage   string
	KumaPrometheusSdVersion string
	KumaCpAddress           string
	WithoutPrometheus       bool
	WithoutGrafana          bool
	Dashboards              []Dashboard
}

Jump to

Keyboard shortcuts

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