generate

package
v0.18.33 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 1 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiServer added in v0.18.33

type ApiServer struct {
	Enable bool `json:"enable,omitempty" desc:"If set, will deploy a read-only UI for Gloo"`
	// used for gating config (like license secret) that are only relevant to the enterprise UI
	Enterprise bool                 `json:"enterprise,omitempty"`
	Deployment *ApiServerDeployment `json:"deployment,omitempty"`
	Service    *ApiServerService    `json:"service,omitempty"`
	ConfigMap  *ApiServerConfigMap  `json:"configMap,omitempty"`
	EnableBeta bool                 `json:"enableBeta,omitempty"`
}

type ApiServerConfigMap added in v0.18.33

type ApiServerConfigMap struct {
	Name string `json:"name"`
}

type ApiServerDeployment added in v0.18.33

type ApiServerDeployment struct {
	Server *ApiServerServerDeployment `json:"server,omitempty"`
	Ui     *ApiServerUiDeployment     `json:"ui,omitempty"`
	Envoy  *ApiServerEnvoyDeployment  `json:"envoy,omitempty"`
	*DeploymentSpec
}

type ApiServerEnvoyDeployment added in v0.18.33

type ApiServerEnvoyDeployment struct {
	Image *Image `json:"image"`
	*DeploymentSpec
}

type ApiServerServerDeployment added in v0.18.33

type ApiServerServerDeployment struct {
	GrpcPort uint   `json:"grpcPort"`
	OAuth    *OAuth `json:"oauth,omitempty"`
	Image    *Image `json:"image"`
	*DeploymentSpec
}

type ApiServerService added in v0.18.33

type ApiServerService struct {
	Name string `json:"name"`
}

type ApiServerUiDeployment added in v0.18.33

type ApiServerUiDeployment struct {
	StaticPort uint   `json:"staticPort"`
	Image      *Image `json:"image,omitempty"`
	*DeploymentSpec
}

type Chart

type Chart struct {
	ApiVersion  string   `json:"apiVersion"`
	Description string   `json:"description"`
	Name        string   `json:"name"`
	Version     string   `json:"version"`
	Home        string   `json:"home"`
	Icon        string   `json:"icon"`
	Sources     []string `json:"sources"`
}

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"`
	ApiServer      *ApiServer              `json:"apiServer,omitempty"`
}

type Crds added in v0.12.0

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 added in v0.17.3

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"`
	*DeploymentSpec
}

type Gateway

type Gateway struct {
	Enabled             *bool                 `json:"enabled" desc:"enable Gloo API Gateway features"`
	Upgrade             *bool                 `` /* 299-byte string literal not displayed */
	Deployment          *GatewayDeployment    `json:"deployment,omitempty"`
	ConversionJob       *GatewayConversionJob `json:"conversionJob,omitempty"`
	UpdateValues        bool                  `` /* 159-byte string literal not displayed */
	ProxyServiceAccount ServiceAccount        `json:"proxyServiceAccount" `
}

type GatewayConversionJob added in v0.18.0

type GatewayConversionJob struct {
	Image *Image `json:"image,omitempty"`
	*JobSpec
}

type GatewayDeployment

type GatewayDeployment struct {
	Image *Image `json:"image,omitempty"`
	Stats bool   `json:"stats" desc:"enable prometheus stats"`
	*DeploymentSpec
}

type GatewayProxy

type GatewayProxy struct {
	Kind                  *GatewayProxyKind        `json:"kind,omitempty"`
	PodTemplate           *GatewayProxyPodTemplate `json:"podTemplate,omitempty"`
	ConfigMap             *GatewayProxyConfigMap   `json:"configMap,omitempty"`
	Service               *GatewayProxyService     `json:"service,omitempty"`
	Tracing               *Tracing                 `json:"tracing,omitempty"`
	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 GatewayProxyConfigMap struct {
	Data map[string]string `json:"data"`
}

type GatewayProxyDeployment

type GatewayProxyDeployment struct {
	AntiAffinity bool `json:"antiAffinity" desc:"configure anti affinity such that pods are prefferably not co-located"`
	*DeploymentSpec
}

type GatewayProxyKind added in v0.17.3

type GatewayProxyKind struct {
	Deployment *GatewayProxyDeployment `json:"deployment,omitempty"`
	DaemonSet  *DaemonSetSpec          `json:"daemonSet,omitempty"`
}

type GatewayProxyPodTemplate added in v0.17.3

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`
}

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 Global added in v0.18.11

type Global struct {
	Image      *Image      `json:"image,omitempty"`
	Extensions interface{} `json:"extensions,omitempty"`
	GlooRbac   *Rbac       `json:"glooRbac,omitempty"`
}

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"`
	Stats   bool   `json:"stats" desc:"enable prometheus stats"`
	*DeploymentSpec
}

type HelmConfig added in v0.18.11

type HelmConfig struct {
	Config
	Global *Global `json:"global,omitempty"`
}

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              `` /* 139-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 IngressProxyConfigMap struct {
	Data map[string]string `json:"data,omitempty"`
}

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 JobSpec added in v0.18.0

type JobSpec struct {
	*PodSpec
}

type K8s added in v0.13.34

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 OAuth added in v0.18.33

type OAuth struct {
	Server string `json:"server"`
	Client string `json:"client"`
}

type PodSpec added in v0.18.0

type PodSpec struct {
	RestartPolicy string `json:"restartPolicy,omitempty" desc:"restart policy to use when the pod exits"`
}

type Rbac

type Rbac struct {
	Create     bool `json:"create" desc:"create rbac rules for the gloo-system service account"`
	Namespaced bool `json:"Namespaced" desc:"use Roles instead of ClusterRoles"`
}

type ResourceAllocation added in v0.18.1

type ResourceAllocation struct {
	Memory string `json:"memory,omitEmpty" desc:"amount of memory"`
	CPU    string `json:"cpu,omitEmpty" desc:"amount of CPUs"`
}

type ResourceRequirements added in v0.18.1

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 added in v0.18.20

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,omitempty" desc:"create a Settings CRD which configures Gloo controllers at boot time"`
	Extensions      interface{}   `json:"extensions,omitempty"`
	SingleNamespace bool          `json:"singleNamespace,omitempty" desc:"Enable to use install namespace as WatchNamespace and WriteNamespace"`
}

type Tracing added in v0.18.2

type Tracing struct {
	Provider string `json:"provider,omitempty"`
	Cluster  string `json:"cluster,omitempty"`
}

Jump to

Keyboard shortcuts

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