context

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExcludeGatewayAPICRDs added in v1.8.1

func ExcludeGatewayAPICRDs(file data.File) bool

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,omitempty"`
	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_ca_secret           string            `helm:"controlPlane.tls.general.caSecretName"`
	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"`
	ControlPlane_nodeSelector                    map[string]string `helm:"controlPlane.nodeSelector"`
	DataPlane_image_registry                     string            `helm:"dataPlane.image.registry,omitempty"`
	DataPlane_image_repository                   string            `helm:"dataPlane.image.repository"`
	DataPlane_image_tag                          string            `helm:"dataPlane.image.tag"`
	DataPlane_initImage_registry                 string            `helm:"dataPlane.initImage.registry,omitempty"`
	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_experimental                             bool              `helm:"experimental.cni"`
	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,omitempty"`
	Cni_image_repository                         string            `helm:"cni.image.repository"`
	Cni_image_tag                                string            `helm:"cni.image.tag"`
	Cni_experimental_image_registry              string            `helm:"cni.experimental.image.registry"`
	Cni_experimental_image_repository            string            `helm:"cni.experimental.image.repository"`
	Cni_experimental_image_tag                   string            `helm:"cni.experimental.image.tag"`
	Cni_nodeSelector                             map[string]string `helm:"cni.nodeSelector"`
	ControlPlane_mode                            string            `helm:"controlPlane.mode"`
	ControlPlane_zone                            string            `helm:"controlPlane.zone"`
	ControlPlane_globalZoneSyncService_type      string            `helm:"controlPlane.globalZoneSyncService.type"`
	Image_registry                               string            `helm:"global.image.registry"`
	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"`
	Ingress_nodeSelector                         map[string]string `helm:"ingress.nodeSelector"`
	Egress_enabled                               bool              `helm:"egress.enabled"`
	Egress_drainTime                             string            `helm:"egress.drainTime"`
	Egress_service_type                          string            `helm:"egress.service.type"`
	Egress_nodeSelector                          map[string]string `helm:"egress.nodeSelector"`
	Hooks_nodeSelector                           map[string]string `helm:"hooks.nodeSelector"`
	WithoutKubernetesConnection                  bool              // there is no HELM equivalent, HELM always require connection to Kubernetes
	ExperimentalGatewayAPI                       bool              `helm:"experimental.gatewayAPI"`
	ValueFiles                                   []string
	Values                                       []string
	DumpValues                                   bool
	UseNodePort                                  bool
	IngressUseNodePort                           bool
}

type InstallCpContext

type InstallCpContext struct {
	Args                   InstallControlPlaneArgs
	InstallCpTemplateFiles func(*InstallControlPlaneArgs) (data.FileList, 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
	ExperimentalGatewayAPI 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
	WithoutGateway bool
}

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 InstallLoggingContext added in v1.8.1

type InstallLoggingContext struct {
	TemplateArgs LoggingTemplateArgs
}

func DefaultInstallLoggingContext added in v1.8.1

func DefaultInstallLoggingContext() InstallLoggingContext

type InstallMetricsContext

type InstallMetricsContext struct {
	TemplateArgs MetricsTemplateArgs
}

func DefaultInstallMetricsContext

func DefaultInstallMetricsContext() InstallMetricsContext

type InstallObservabilityContext added in v1.8.1

type InstallObservabilityContext struct {
	TemplateArgs ObservabilityTemplateArgs
}

func DefaultInstallObservabilityContext added in v1.8.1

func DefaultInstallObservabilityContext() InstallObservabilityContext

type InstallTracingContext added in v1.8.1

type InstallTracingContext struct {
	TemplateArgs TracingTemplateArgs
}

func DefaultInstallTracingContext added in v1.8.1

func DefaultInstallTracingContext() InstallTracingContext

type LoggingTemplateArgs added in v1.8.1

type LoggingTemplateArgs struct {
	Namespace string
}

type MetricsTemplateArgs

type MetricsTemplateArgs struct {
	Namespace         string
	Mesh              string
	KumaCpAddress     string
	JaegerAddress     string
	LokiAddress       string
	KumaCpApiAddress  string
	WithoutPrometheus bool
	WithoutGrafana    bool
	Dashboards        []Dashboard
}

type ObservabilityTemplateArgs added in v1.8.1

type ObservabilityTemplateArgs struct {
	Namespace         string
	Mesh              string
	KumaCpAddress     string
	JaegerAddress     string
	LokiAddress       string
	PrometheusAddress string
	KumaCpApiAddress  string
	Components        []string
	ComponentsMap     map[string]bool
	Dashboards        []Dashboard
}

type TracingTemplateArgs added in v1.8.1

type TracingTemplateArgs struct {
	Namespace string
}

Jump to

Keyboard shortcuts

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