Documentation
¶
Index ¶
- type AccessLogger
- type Chart
- type Config
- type Crds
- type DaemonSetSpec
- type DeploymentSpec
- type Discovery
- type DiscoveryDeployment
- type Gateway
- type GatewayDeployment
- type GatewayProxy
- type GatewayProxyConfigMap
- type GatewayProxyDeployment
- type GatewayProxyGatewaySettings
- type GatewayProxyKind
- type GatewayProxyPodTemplate
- type GatewayProxyService
- type GatewayValidation
- type Global
- type Gloo
- type GlooDeployment
- type HelmConfig
- type Image
- type Ingress
- type IngressDeployment
- type IngressProxy
- type IngressProxyConfigMap
- type IngressProxyDeployment
- type Integrations
- type InvalidConfigPolicy
- type Job
- type JobSpec
- type K8s
- type Knative
- type KnativeProxy
- type Namespace
- type PodSpec
- type Rbac
- type ResourceAllocation
- type ResourceRequirements
- type ServiceAccount
- type Settings
- type Tracing
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessLogger ¶
type AccessLogger struct { Image *Image `json:"image,omitempty"` Port uint `json:"port,omitempty"` ServiceName string `json:"serviceName,omitempty"` Enabled bool `json:"enabled"` *DeploymentSpec }
type Config ¶
type Config struct { Namespace *Namespace `json:"namespace,omitempty"` Crds *Crds `json:"crds,omitempty"` Settings *Settings `json:"settings,omitempty"` Gloo *Gloo `json:"gloo,omitempty"` Discovery *Discovery `json:"discovery,omitempty"` Gateway *Gateway `json:"gateway,omitempty"` GatewayProxies map[string]GatewayProxy `json:"gatewayProxies,omitempty"` Ingress *Ingress `json:"ingress,omitempty"` IngressProxy *IngressProxy `json:"ingressProxy,omitempty"` K8s *K8s `json:"k8s,omitempty"` AccessLogger *AccessLogger `json:"accessLogger,omitempty"` }
type Crds ¶
type Crds struct {
Create bool `json:"create" desc:"create CRDs for Gloo (turn off if installing with Helm to a cluster that already has Gloo CRDs)"`
}
type DaemonSetSpec ¶
type DaemonSetSpec struct {
HostPort bool `json:"hostPort" desc:"whether or not to enable host networking on the pod. Only relevant when running as a DaemonSet"`
}
type DeploymentSpec ¶
type DeploymentSpec struct { Replicas int `json:"replicas" desc:"number of instances to deploy"` Resources *ResourceRequirements `json:"resources,omitEmpty" desc:"resources for the main pod in the deployment"` }
type Discovery ¶
type Discovery struct { Deployment *DiscoveryDeployment `json:"deployment,omitempty"` FdsMode string `json:"fdsMode" desc:"mode for function discovery (blacklist or whitelist). See more info in the settings docs"` Enabled *bool `json:"enabled" desc:"enable Discovery features"` }
type DiscoveryDeployment ¶
type DiscoveryDeployment struct { Image *Image `json:"image,omitempty"` Stats bool `json:"stats" desc:"enable prometheus stats"` FloatingUserId bool `json:"floatingUserId" desc:"set to true to allow the cluster to dynamically assign a user ID"` RunAsUser float64 `json:"runAsUser" desc:"Explicitly set the user ID for the container to run as. Default is 10101"` *DeploymentSpec }
type Gateway ¶
type Gateway struct { Enabled *bool `json:"enabled" desc:"enable Gloo API Gateway features"` Validation *GatewayValidation `` /* 166-byte string literal not displayed */ Upgrade *bool `` /* 299-byte string literal not displayed */ Deployment *GatewayDeployment `json:"deployment,omitempty"` ConversionJob *Job `json:"conversionJob,omitempty"` CertGenJob *Job `` /* 187-byte string literal not displayed */ UpdateValues bool `` /* 159-byte string literal not displayed */ ProxyServiceAccount ServiceAccount `json:"proxyServiceAccount" ` }
type GatewayDeployment ¶
type GatewayDeployment struct { Image *Image `json:"image,omitempty"` Stats bool `json:"stats" desc:"enable prometheus stats"` FloatingUserId bool `json:"floatingUserId" desc:"set to true to allow the cluster to dynamically assign a user ID"` RunAsUser float64 `json:"runAsUser" desc:"Explicitly set the user ID for the container to run as. Default is 10101"` *DeploymentSpec }
type GatewayProxy ¶
type GatewayProxy struct { Kind *GatewayProxyKind `json:"kind,omitempty" desc:"value to determine how the gateway proxy is deployed"` PodTemplate *GatewayProxyPodTemplate `json:"podTemplate,omitempty"` ConfigMap *GatewayProxyConfigMap `json:"configMap,omitempty"` Service *GatewayProxyService `json:"service,omitempty"` Tracing *Tracing `json:"tracing,omitempty"` GatewaySettings *GatewayProxyGatewaySettings `json:"gatewaySettings,omitempty" desc:"settings for the helm generated gateways, leave nil to not render"` ExtraContainersHelper string `json:"extraContainersHelper,omitempty"` Stats bool `json:"stats" desc:"enable prometheus stats"` ReadConfig bool `json:"readConfig" desc:"expose a read-only subset of the envoy admin api"` }
type GatewayProxyConfigMap ¶
type GatewayProxyDeployment ¶
type GatewayProxyDeployment struct { AntiAffinity bool `json:"antiAffinity" desc:"configure anti affinity such that pods are prefferably not co-located"` *DeploymentSpec }
type GatewayProxyGatewaySettings ¶
type GatewayProxyGatewaySettings struct { DisableGeneratedGateways bool `json:"disableGeneratedGateways" desc:"set to true to disable the gateway generation for a gateway proxy"` UseProxyProto bool `json:"useProxyProto" desc:"use proxy protocol"` CustomHttpGateway string `json:"customHttpGateway,omitempty" desc:"custom yaml to use for http gateway settings"` CustomHttpsGateway string `json:"customHttpsGateway,omitempty" desc:"custom yaml to use for https gateway settings"` }
type GatewayProxyKind ¶
type GatewayProxyKind struct { Deployment *GatewayProxyDeployment `json:"deployment,omitempty" desc:"set to deploy as a kubernetes deployment, otherwise nil"` DaemonSet *DaemonSetSpec `json:"daemonSet,omitempty" desc:"set to deploy as a kubernetes daemonset, otherwise nil"` }
type GatewayProxyPodTemplate ¶
type GatewayProxyPodTemplate struct { Image *Image `json:"image,omitempty"` HttpPort int `json:"httpPort,omitempty" desc:"HTTP port for the gateway service"` HttpsPort int `json:"httpsPort,omitempty" desc:"HTTPS port for the gateway service"` ExtraPorts []interface{} `json:"extraPorts,omitempty" desc:"extra ports for the gateway pod"` ExtraAnnotations map[string]string `json:"extraAnnotations,omitempty" desc:"extra annotations to add to the pod"` NodeName string `json:"nodeName,omitempty" desc:"name of node to run on"` NodeSelector map[string]string `json:"nodeSelector,omitempty" desc:"label selector for nodes"` Tolerations []*appsv1.Toleration `json:"tolerations,omitEmpty"` Probes bool `json:"probes" desc:"enable liveness and readiness probes"` Resources *ResourceRequirements `json:"resources"` DisableNetBind bool `` /* 161-byte string literal not displayed */ RunUnprivileged bool `json:"runUnprivileged" desc:"run envoy as an unprivileged user"` FloatingUserId bool `json:"floatingUserId" desc:"set to true to allow the cluster to dynamically assign a user ID"` RunAsUser float64 `json:"runAsUser" desc:"Explicitly set the user ID for the container to run as. Default is 10101"` }
type GatewayProxyService ¶
type GatewayProxyService struct { Type string "" /* 182-byte string literal not displayed */ HttpPort int `json:"httpPort,omitempty" desc:"HTTP port for the gateway service"` HttpsPort int `json:"httpsPort,omitempty" desc:"HTTPS port for the gateway service"` ClusterIP string "" /* 131-byte string literal not displayed */ ExtraAnnotations map[string]string `json:"extraAnnotations,omitempty"` ExternalTrafficPolicy string `json:"externalTrafficPolicy,omitempty"` }
type GatewayValidation ¶
type Gloo ¶
type Gloo struct {
Deployment *GlooDeployment `json:"deployment,omitempty"`
}
type GlooDeployment ¶
type GlooDeployment struct { Image *Image `json:"image,omitempty"` XdsPort int `json:"xdsPort,omitempty" desc:"port where gloo serves xDS API to Envoy"` ValidationPort int `json:"validationPort,omitempty" desc:"port where gloo serves gRPC Proxy Validation to Gateway"` Stats bool `json:"stats" desc:"enable prometheus stats"` FloatingUserId bool `json:"floatingUserId" desc:"set to true to allow the cluster to dynamically assign a user ID"` RunAsUser float64 `json:"runAsUser" desc:"Explicitly set the user ID for the container to run as. Default is 10101"` ExternalTrafficPolicy string `json:"externalTrafficPolicy,omitempty" desc:"Set the external traffic policy on the gloo service"` DisableUsageStatistics bool `json:"disableUsageStatistics" desc:"Disable the collection of gloo usage statistics"` *DeploymentSpec }
type HelmConfig ¶
type Image ¶
type Image struct { Tag string `json:"tag,omitempty" desc:"tag for the container"` Repository string `json:"repository,omitempty" desc:"image name (repository) for the container."` Registry string `json:"registry,omitempty" desc:"image prefix/registry e.g. (quay.io/solo-io)"` PullPolicy string `json:"pullPolicy,omitempty" desc:"image pull policy for the container"` PullSecret string `json:"pullSecret,omitempty" desc:"image pull policy for the container "` }
Common
type Ingress ¶
type Ingress struct { Enabled *bool `json:"enabled"` Deployment *IngressDeployment `json:"deployment,omitempty"` RequireIngressClass *bool `` /* 129-byte string literal not displayed */ }
type IngressDeployment ¶
type IngressDeployment struct { Image *Image `json:"image,omitempty"` *DeploymentSpec }
type IngressProxy ¶
type IngressProxy struct { Deployment *IngressProxyDeployment `json:"deployment,omitempty"` ConfigMap *IngressProxyConfigMap `json:"configMap,omitempty"` Tracing *string `json:"tracing,omitempty"` }
type IngressProxyConfigMap ¶
type IngressProxyDeployment ¶
type IngressProxyDeployment struct { Image *Image `json:"image,omitempty"` HttpPort int `json:"httpPort,omitempty" desc:"HTTP port for the ingress container"` HttpsPort int `json:"httpsPort,omitempty" desc:"HTTPS port for the ingress container"` ExtraPorts []interface{} `json:"extraPorts,omitempty"` ExtraAnnotations map[string]string `json:"extraAnnotations,omitempty"` *DeploymentSpec }
type Integrations ¶
type Integrations struct {
Knative *Knative `json:"knative,omitEmpty"`
}
type InvalidConfigPolicy ¶
type InvalidConfigPolicy struct { ReplaceInvalidRoutes bool `` /* 303-byte string literal not displayed */ InvalidRouteResponseCode int64 `json:"invalidRouteResponseCode,omitempty" desc:"the response code for the direct response"` InvalidRouteResponseBody string `json:"invalidRouteResponseBody,omitempty" desc:"the response body for the direct response"` }
type K8s ¶
type K8s struct {
ClusterName string `json:"clusterName" desc:"cluster name to use when referencing services."`
}
type Knative ¶
type Knative struct { Enabled *bool `json:"enabled" desc:"enabled knative components"` Version *string `` /* 208-byte string literal not displayed */ Proxy *KnativeProxy `json:"proxy,omitempty"` }
type KnativeProxy ¶
type KnativeProxy struct { Image *Image `json:"image,omitempty"` HttpPort int `json:"httpPort,omitempty" desc:"HTTP port for the proxy"` HttpsPort int `json:"httpsPort,omitempty" desc:"HTTPS port for the proxy"` Tracing *string `json:"tracing,omitempty" desc:"tracing configuration"` *DeploymentSpec }
type Namespace ¶
type Namespace struct {
Create bool `json:"create" desc:"create the installation namespace"`
}
type PodSpec ¶
type PodSpec struct {
RestartPolicy string `json:"restartPolicy,omitempty" desc:"restart policy to use when the pod exits"`
}
type ResourceAllocation ¶
type ResourceRequirements ¶
type ResourceRequirements struct { Limits *ResourceAllocation `json:"limits,omitEmpty" desc:"resource limits of this container"` Requests *ResourceAllocation `json:"requests,omitEmpty" desc:"resource requests of this container"` }
type ServiceAccount ¶
type ServiceAccount struct {
DisableAutomount bool `` /* 193-byte string literal not displayed */
}
type Settings ¶
type Settings struct { WatchNamespaces []string `` /* 136-byte string literal not displayed */ WriteNamespace string `` /* 134-byte string literal not displayed */ Integrations *Integrations `json:"integrations,omitempty"` Create bool `json:"create" desc:"create a Settings CRD which provides bootstrap configuration to Gloo controllers"` Extensions interface{} `json:"extensions,omitempty"` SingleNamespace bool `json:"singleNamespace" desc:"Enable to use install namespace as WatchNamespace and WriteNamespace"` InvalidConfigPolicy *InvalidConfigPolicy `json:"invalidConfigPolicy" desc:"Define policies for Gloo to handle invalid configuration"` }
Click to show internal directories.
Click to hide internal directories.