v1alpha1

package
v1.17.0-rc8 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the gateway.gloo.solo.io v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=gateway.gloo.solo.io

NOTE: Boilerplate only. Ignore this file. Used to register the Go types with the Kubernetes internal scheme

Definitions for the Kubernetes types

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "gateway.gloo.solo.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto protoreflect.FileDescriptor
View Source
var GatewayParametersGVK = schema.GroupVersionKind{
	Group:   "gateway.gloo.solo.io",
	Version: "v1alpha1",
	Kind:    "GatewayParameters",
}

GroupVersionKind for GatewayParameters

Functions

func AddToScheme

func AddToScheme(s *runtime.Scheme) error

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type EnvoyBootstrap

type EnvoyBootstrap struct {

	// Envoy log level. Options include "trace", "debug", "info", "warn", "error",
	// "critical" and "off". Defaults to "info". See
	// https://www.envoyproxy.io/docs/envoy/latest/start/quick-start/run-envoy#debugging-envoy
	// for more information.
	LogLevel *wrappers.StringValue `protobuf:"bytes,1,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"`
	// Envoy log levels for specific components. The keys are component names and
	// the values are one of "trace", "debug", "info", "warn", "error",
	// "critical", or "off", e.g.
	//
	//	“`yaml
	//	componentLogLevels:
	//	  upstream: debug
	//	  connection: trace
	//	“`
	//
	// These will be converted to the `--component-log-level` Envoy argument
	// value. See
	// https://www.envoyproxy.io/docs/envoy/latest/start/quick-start/run-envoy#debugging-envoy
	// for more information.
	//
	// Note: the keys and values cannot be empty, but they are not otherwise validated.
	ComponentLogLevels map[string]string `` /* 205-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for the Envoy proxy instance that is provisioned from a Kubernetes Gateway.

func (*EnvoyBootstrap) Descriptor deprecated

func (*EnvoyBootstrap) Descriptor() ([]byte, []int)

Deprecated: Use EnvoyBootstrap.ProtoReflect.Descriptor instead.

func (*EnvoyBootstrap) Equal

func (m *EnvoyBootstrap) Equal(that interface{}) bool

Equal function

func (*EnvoyBootstrap) GetComponentLogLevels

func (x *EnvoyBootstrap) GetComponentLogLevels() map[string]string

func (*EnvoyBootstrap) GetLogLevel

func (x *EnvoyBootstrap) GetLogLevel() *wrappers.StringValue

func (*EnvoyBootstrap) Hash

func (m *EnvoyBootstrap) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*EnvoyBootstrap) ProtoMessage

func (*EnvoyBootstrap) ProtoMessage()

func (*EnvoyBootstrap) ProtoReflect

func (x *EnvoyBootstrap) ProtoReflect() protoreflect.Message

func (*EnvoyBootstrap) Reset

func (x *EnvoyBootstrap) Reset()

func (*EnvoyBootstrap) String

func (x *EnvoyBootstrap) String() string

type EnvoyContainer

type EnvoyContainer struct {

	// Initial envoy configuration.
	Bootstrap *EnvoyBootstrap `protobuf:"bytes,1,opt,name=bootstrap,proto3" json:"bootstrap,omitempty"`
	// The envoy container image. See
	// https://kubernetes.io/docs/concepts/containers/images
	// for details.
	//
	// Default values, which may be overridden individually:
	//
	//	registry: quay.io/solo-io
	//	repository: gloo-envoy-wrapper (OSS) / gloo-ee-envoy-wrapper (EE)
	//	tag: <gloo version> (OSS) / <gloo-ee version> (EE)
	//	pullPolicy: IfNotPresent
	Image *kube.Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	// The security context for this container. See
	// https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#securitycontext-v1-core
	// for details.
	SecurityContext *v1.SecurityContext `protobuf:"bytes,3,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
	// The compute resources required by this container. See
	// https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	// for details.
	Resources *kube.ResourceRequirements `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the container running Envoy.

func (*EnvoyContainer) Descriptor deprecated

func (*EnvoyContainer) Descriptor() ([]byte, []int)

Deprecated: Use EnvoyContainer.ProtoReflect.Descriptor instead.

func (*EnvoyContainer) Equal

func (m *EnvoyContainer) Equal(that interface{}) bool

Equal function

func (*EnvoyContainer) GetBootstrap

func (x *EnvoyContainer) GetBootstrap() *EnvoyBootstrap

func (*EnvoyContainer) GetImage

func (x *EnvoyContainer) GetImage() *kube.Image

func (*EnvoyContainer) GetResources

func (x *EnvoyContainer) GetResources() *kube.ResourceRequirements

func (*EnvoyContainer) GetSecurityContext

func (x *EnvoyContainer) GetSecurityContext() *v1.SecurityContext

func (*EnvoyContainer) Hash

func (m *EnvoyContainer) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*EnvoyContainer) ProtoMessage

func (*EnvoyContainer) ProtoMessage()

func (*EnvoyContainer) ProtoReflect

func (x *EnvoyContainer) ProtoReflect() protoreflect.Message

func (*EnvoyContainer) Reset

func (x *EnvoyContainer) Reset()

func (*EnvoyContainer) String

func (x *EnvoyContainer) String() string

type GatewayParameters

type GatewayParameters struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GatewayParametersSpec   `json:"spec,omitempty"`
	Status GatewayParametersStatus `json:"status,omitempty"`
}

GatewayParameters is the Schema for the gatewayParameters API

func (*GatewayParameters) DeepCopy

func (in *GatewayParameters) DeepCopy() *GatewayParameters

func (*GatewayParameters) DeepCopyInto

func (in *GatewayParameters) DeepCopyInto(out *GatewayParameters)

func (*GatewayParameters) DeepCopyObject

func (in *GatewayParameters) DeepCopyObject() runtime.Object

func (GatewayParameters) GVK

GVK returns the GroupVersionKind associated with the resource type.

type GatewayParametersList

type GatewayParametersList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GatewayParameters `json:"items"`
}

GatewayParametersList contains a list of GatewayParameters

func (*GatewayParametersList) DeepCopy

func (*GatewayParametersList) DeepCopyInto

func (in *GatewayParametersList) DeepCopyInto(out *GatewayParametersList)

func (*GatewayParametersList) DeepCopyObject

func (in *GatewayParametersList) DeepCopyObject() runtime.Object

type GatewayParametersSpec

type GatewayParametersSpec struct {

	// The type of environment/platform in which the proxy will be provisioned.
	//
	// Types that are assignable to EnvironmentType:
	//
	//	*GatewayParametersSpec_Kube
	//	*GatewayParametersSpec_SelfManaged
	EnvironmentType isGatewayParametersSpec_EnvironmentType `protobuf_oneof:"environment_type"`
	// contains filtered or unexported fields
}

A GatewayParameters contains configuration that is used to dynamically provision Gloo Gateway's data plane (Envoy proxy instance), based on a Kubernetes Gateway.

func (*GatewayParametersSpec) DeepCopyInto

func (in *GatewayParametersSpec) DeepCopyInto(out *GatewayParametersSpec)

DeepCopyInto for the GatewayParameters.Spec

func (*GatewayParametersSpec) Descriptor deprecated

func (*GatewayParametersSpec) Descriptor() ([]byte, []int)

Deprecated: Use GatewayParametersSpec.ProtoReflect.Descriptor instead.

func (*GatewayParametersSpec) Equal

func (m *GatewayParametersSpec) Equal(that interface{}) bool

Equal function

func (*GatewayParametersSpec) GetEnvironmentType

func (m *GatewayParametersSpec) GetEnvironmentType() isGatewayParametersSpec_EnvironmentType

func (*GatewayParametersSpec) GetKube

func (*GatewayParametersSpec) GetSelfManaged

func (x *GatewayParametersSpec) GetSelfManaged() *empty.Empty

func (*GatewayParametersSpec) Hash

func (m *GatewayParametersSpec) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*GatewayParametersSpec) MarshalJSON

func (this *GatewayParametersSpec) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for GatewayParametersSpec

func (*GatewayParametersSpec) ProtoMessage

func (*GatewayParametersSpec) ProtoMessage()

func (*GatewayParametersSpec) ProtoReflect

func (x *GatewayParametersSpec) ProtoReflect() protoreflect.Message

func (*GatewayParametersSpec) Reset

func (x *GatewayParametersSpec) Reset()

func (*GatewayParametersSpec) String

func (x *GatewayParametersSpec) String() string

func (*GatewayParametersSpec) UnmarshalJSON

func (this *GatewayParametersSpec) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for GatewayParametersSpec

type GatewayParametersSpec_Kube

type GatewayParametersSpec_Kube struct {
	// The proxy will be deployed on Kubernetes.
	Kube *KubernetesProxyConfig `protobuf:"bytes,1,opt,name=kube,proto3,oneof"`
}

type GatewayParametersSpec_SelfManaged

type GatewayParametersSpec_SelfManaged struct {
	// The proxy will be self-managed and not auto-provisioned.
	SelfManaged *empty.Empty `protobuf:"bytes,2,opt,name=self_managed,json=selfManaged,proto3,oneof"`
}

type GatewayParametersStatus

type GatewayParametersStatus struct {
	// contains filtered or unexported fields
}

func (*GatewayParametersStatus) DeepCopyInto

func (in *GatewayParametersStatus) DeepCopyInto(out *GatewayParametersStatus)

DeepCopyInto for the GatewayParameters.Status

func (*GatewayParametersStatus) Descriptor deprecated

func (*GatewayParametersStatus) Descriptor() ([]byte, []int)

Deprecated: Use GatewayParametersStatus.ProtoReflect.Descriptor instead.

func (*GatewayParametersStatus) Equal

func (m *GatewayParametersStatus) Equal(that interface{}) bool

Equal function

func (*GatewayParametersStatus) Hash

func (m *GatewayParametersStatus) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*GatewayParametersStatus) MarshalJSON

func (this *GatewayParametersStatus) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for GatewayParametersStatus

func (*GatewayParametersStatus) ProtoMessage

func (*GatewayParametersStatus) ProtoMessage()

func (*GatewayParametersStatus) ProtoReflect

func (x *GatewayParametersStatus) ProtoReflect() protoreflect.Message

func (*GatewayParametersStatus) Reset

func (x *GatewayParametersStatus) Reset()

func (*GatewayParametersStatus) String

func (x *GatewayParametersStatus) String() string

func (*GatewayParametersStatus) UnmarshalJSON

func (this *GatewayParametersStatus) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for GatewayParametersStatus

type IstioContainer

type IstioContainer struct {

	// The envoy container image. See
	// https://kubernetes.io/docs/concepts/containers/images
	// for details.
	//
	// Default values, which may be overridden individually:
	//
	//	registry: docker.io/istio
	//	repository: proxyv2
	//	tag: <gloo version> (OSS) / <gloo-ee version> (EE)
	//	pullPolicy: IfNotPresent
	Image *kube.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// The security context for this container. See
	// https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#securitycontext-v1-core
	// for details.
	SecurityContext *v1.SecurityContext `protobuf:"bytes,2,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
	// The compute resources required by this container. See
	// https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	// for details.
	Resources *kube.ResourceRequirements `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
	// Log level for istio-proxy. Options include "info", "debug", "warning", and "error".
	// Default level is info Default is "warning".
	LogLevel *wrappers.StringValue `protobuf:"bytes,4,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"`
	// The address of the istio discovery service. Defaults to "istiod.istio-system.svc:15012".
	IstioDiscoveryAddress *wrappers.StringValue `` /* 126-byte string literal not displayed */
	// The mesh id of the istio mesh. Defaults to "cluster.local".
	IstioMetaMeshId *wrappers.StringValue `protobuf:"bytes,6,opt,name=istio_meta_mesh_id,json=istioMetaMeshId,proto3" json:"istio_meta_mesh_id,omitempty"`
	// The cluster id of the istio cluster. Defaults to "Kubernetes".
	IstioMetaClusterId *wrappers.StringValue `protobuf:"bytes,7,opt,name=istio_meta_cluster_id,json=istioMetaClusterId,proto3" json:"istio_meta_cluster_id,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the container running the istio-proxy.

func (*IstioContainer) Descriptor deprecated

func (*IstioContainer) Descriptor() ([]byte, []int)

Deprecated: Use IstioContainer.ProtoReflect.Descriptor instead.

func (*IstioContainer) Equal

func (m *IstioContainer) Equal(that interface{}) bool

Equal function

func (*IstioContainer) GetImage

func (x *IstioContainer) GetImage() *kube.Image

func (*IstioContainer) GetIstioDiscoveryAddress

func (x *IstioContainer) GetIstioDiscoveryAddress() *wrappers.StringValue

func (*IstioContainer) GetIstioMetaClusterId

func (x *IstioContainer) GetIstioMetaClusterId() *wrappers.StringValue

func (*IstioContainer) GetIstioMetaMeshId

func (x *IstioContainer) GetIstioMetaMeshId() *wrappers.StringValue

func (*IstioContainer) GetLogLevel

func (x *IstioContainer) GetLogLevel() *wrappers.StringValue

func (*IstioContainer) GetResources

func (x *IstioContainer) GetResources() *kube.ResourceRequirements

func (*IstioContainer) GetSecurityContext

func (x *IstioContainer) GetSecurityContext() *v1.SecurityContext

func (*IstioContainer) Hash

func (m *IstioContainer) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*IstioContainer) ProtoMessage

func (*IstioContainer) ProtoMessage()

func (*IstioContainer) ProtoReflect

func (x *IstioContainer) ProtoReflect() protoreflect.Message

func (*IstioContainer) Reset

func (x *IstioContainer) Reset()

func (*IstioContainer) String

func (x *IstioContainer) String() string

type IstioIntegration

type IstioIntegration struct {

	// Configuration for the container running istio-proxy. This field is rendered with defaults by
	// helm in the default GatewayParameters for a GatewayClass, and may be overridden in
	// override GatewayParameters attached to a Gateway resource.
	// Note that if Istio integration is not enabled, the istio container will not be injected
	// into the gateway proxy deployment.
	IstioProxyContainer *IstioContainer `protobuf:"bytes,1,opt,name=istio_proxy_container,json=istioProxyContainer,proto3" json:"istio_proxy_container,omitempty"`
	// Override the default Istio sidecar in gateway-proxy with a custom container.
	// +optional
	CustomSidecars []*v1.Container `protobuf:"bytes,2,rep,name=custom_sidecars,json=customSidecars,proto3" json:"custom_sidecars,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Istio integration settings used by a Gloo Gateway's data plane (Envoy proxy instance)

func (*IstioIntegration) Descriptor deprecated

func (*IstioIntegration) Descriptor() ([]byte, []int)

Deprecated: Use IstioIntegration.ProtoReflect.Descriptor instead.

func (*IstioIntegration) Equal

func (m *IstioIntegration) Equal(that interface{}) bool

Equal function

func (*IstioIntegration) GetCustomSidecars

func (x *IstioIntegration) GetCustomSidecars() []*v1.Container

func (*IstioIntegration) GetIstioProxyContainer

func (x *IstioIntegration) GetIstioProxyContainer() *IstioContainer

func (*IstioIntegration) Hash

func (m *IstioIntegration) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*IstioIntegration) ProtoMessage

func (*IstioIntegration) ProtoMessage()

func (*IstioIntegration) ProtoReflect

func (x *IstioIntegration) ProtoReflect() protoreflect.Message

func (*IstioIntegration) Reset

func (x *IstioIntegration) Reset()

func (*IstioIntegration) String

func (x *IstioIntegration) String() string

type KubernetesProxyConfig

type KubernetesProxyConfig struct {

	// The workload type of the proxy
	//
	// Types that are assignable to WorkloadType:
	//
	//	*KubernetesProxyConfig_Deployment
	WorkloadType isKubernetesProxyConfig_WorkloadType `protobuf_oneof:"workload_type"`
	// Configuration for the container running Envoy.
	EnvoyContainer *EnvoyContainer `protobuf:"bytes,2,opt,name=envoy_container,json=envoyContainer,proto3" json:"envoy_container,omitempty"`
	// Configuration for the container running SDS. This field is rendered with defaults by
	// helm in the default GatewayParameters for a GatewayClass, and may be overridden in
	// override GatewayParameters attached to a Gateway resource.
	// Note that if no integration requiring SDS is enabled, the SDS container will not be injected
	// into the gateway proxy deployment.
	SdsContainer *SdsContainer `protobuf:"bytes,7,opt,name=sds_container,json=sdsContainer,proto3" json:"sds_container,omitempty"`
	// Configuration for the pods that will be created.
	PodTemplate *kube.Pod `protobuf:"bytes,3,opt,name=pod_template,json=podTemplate,proto3" json:"pod_template,omitempty"`
	// Configuration for the Kubernetes Service that exposes the Envoy proxy over
	// the network.
	Service *kube.Service `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty"`
	// Istio integration configuration.
	Istio *IstioIntegration `protobuf:"bytes,6,opt,name=istio,proto3" json:"istio,omitempty"`
	// Optional stats configuration (enabled by default)
	Stats *StatsConfig `protobuf:"bytes,8,opt,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the set of Kubernetes resources that will be provisioned for a given Gateway.

func (*KubernetesProxyConfig) Descriptor deprecated

func (*KubernetesProxyConfig) Descriptor() ([]byte, []int)

Deprecated: Use KubernetesProxyConfig.ProtoReflect.Descriptor instead.

func (*KubernetesProxyConfig) Equal

func (m *KubernetesProxyConfig) Equal(that interface{}) bool

Equal function

func (*KubernetesProxyConfig) GetDeployment

func (x *KubernetesProxyConfig) GetDeployment() *ProxyDeployment

func (*KubernetesProxyConfig) GetEnvoyContainer

func (x *KubernetesProxyConfig) GetEnvoyContainer() *EnvoyContainer

func (*KubernetesProxyConfig) GetIstio

func (x *KubernetesProxyConfig) GetIstio() *IstioIntegration

func (*KubernetesProxyConfig) GetPodTemplate

func (x *KubernetesProxyConfig) GetPodTemplate() *kube.Pod

func (*KubernetesProxyConfig) GetSdsContainer

func (x *KubernetesProxyConfig) GetSdsContainer() *SdsContainer

func (*KubernetesProxyConfig) GetService

func (x *KubernetesProxyConfig) GetService() *kube.Service

func (*KubernetesProxyConfig) GetStats

func (x *KubernetesProxyConfig) GetStats() *StatsConfig

func (*KubernetesProxyConfig) GetWorkloadType

func (m *KubernetesProxyConfig) GetWorkloadType() isKubernetesProxyConfig_WorkloadType

func (*KubernetesProxyConfig) Hash

func (m *KubernetesProxyConfig) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*KubernetesProxyConfig) ProtoMessage

func (*KubernetesProxyConfig) ProtoMessage()

func (*KubernetesProxyConfig) ProtoReflect

func (x *KubernetesProxyConfig) ProtoReflect() protoreflect.Message

func (*KubernetesProxyConfig) Reset

func (x *KubernetesProxyConfig) Reset()

func (*KubernetesProxyConfig) String

func (x *KubernetesProxyConfig) String() string

type KubernetesProxyConfig_Deployment

type KubernetesProxyConfig_Deployment struct {
	// Use a Kubernetes deployment as the proxy workload type.
	Deployment *ProxyDeployment `protobuf:"bytes,1,opt,name=deployment,proto3,oneof"`
}

type ProxyDeployment

type ProxyDeployment struct {

	// The number of desired pods. Defaults to 1.
	Replicas *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=replicas,proto3" json:"replicas,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Proxy deployment in Kubernetes.

func (*ProxyDeployment) Descriptor deprecated

func (*ProxyDeployment) Descriptor() ([]byte, []int)

Deprecated: Use ProxyDeployment.ProtoReflect.Descriptor instead.

func (*ProxyDeployment) Equal

func (m *ProxyDeployment) Equal(that interface{}) bool

Equal function

func (*ProxyDeployment) GetReplicas

func (x *ProxyDeployment) GetReplicas() *wrappers.UInt32Value

func (*ProxyDeployment) Hash

func (m *ProxyDeployment) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ProxyDeployment) ProtoMessage

func (*ProxyDeployment) ProtoMessage()

func (*ProxyDeployment) ProtoReflect

func (x *ProxyDeployment) ProtoReflect() protoreflect.Message

func (*ProxyDeployment) Reset

func (x *ProxyDeployment) Reset()

func (*ProxyDeployment) String

func (x *ProxyDeployment) String() string

type SdsBootstrap

type SdsBootstrap struct {

	// Log level for sds.  Options include "info", "debug", "warn", "error", "panic" and "fatal".
	// Default level is "info".
	LogLevel *wrappers.StringValue `protobuf:"bytes,1,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the sds instance that is provisioned from a Kubernetes Gateway.

func (*SdsBootstrap) Descriptor deprecated

func (*SdsBootstrap) Descriptor() ([]byte, []int)

Deprecated: Use SdsBootstrap.ProtoReflect.Descriptor instead.

func (*SdsBootstrap) Equal

func (m *SdsBootstrap) Equal(that interface{}) bool

Equal function

func (*SdsBootstrap) GetLogLevel

func (x *SdsBootstrap) GetLogLevel() *wrappers.StringValue

func (*SdsBootstrap) Hash

func (m *SdsBootstrap) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*SdsBootstrap) ProtoMessage

func (*SdsBootstrap) ProtoMessage()

func (*SdsBootstrap) ProtoReflect

func (x *SdsBootstrap) ProtoReflect() protoreflect.Message

func (*SdsBootstrap) Reset

func (x *SdsBootstrap) Reset()

func (*SdsBootstrap) String

func (x *SdsBootstrap) String() string

type SdsContainer

type SdsContainer struct {

	// The sds container image. See
	// https://kubernetes.io/docs/concepts/containers/images
	// for details.
	//
	// Default values are rendered into the default GatewayParameters from the helm
	// values_template.yaml with any user overrides
	Image *kube.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// The security context for this container. See
	// https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#securitycontext-v1-core
	// for details.
	SecurityContext *v1.SecurityContext `protobuf:"bytes,2,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
	// The compute resources required by this container. See
	// https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	// for details.
	Resources *kube.ResourceRequirements `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
	// Initial SDS container configuration.
	Bootstrap *SdsBootstrap `protobuf:"bytes,4,opt,name=bootstrap,proto3" json:"bootstrap,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the container running Gloo sds.

func (*SdsContainer) Descriptor deprecated

func (*SdsContainer) Descriptor() ([]byte, []int)

Deprecated: Use SdsContainer.ProtoReflect.Descriptor instead.

func (*SdsContainer) Equal

func (m *SdsContainer) Equal(that interface{}) bool

Equal function

func (*SdsContainer) GetBootstrap

func (x *SdsContainer) GetBootstrap() *SdsBootstrap

func (*SdsContainer) GetImage

func (x *SdsContainer) GetImage() *kube.Image

func (*SdsContainer) GetResources

func (x *SdsContainer) GetResources() *kube.ResourceRequirements

func (*SdsContainer) GetSecurityContext

func (x *SdsContainer) GetSecurityContext() *v1.SecurityContext

func (*SdsContainer) Hash

func (m *SdsContainer) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*SdsContainer) ProtoMessage

func (*SdsContainer) ProtoMessage()

func (*SdsContainer) ProtoReflect

func (x *SdsContainer) ProtoReflect() protoreflect.Message

func (*SdsContainer) Reset

func (x *SdsContainer) Reset()

func (*SdsContainer) String

func (x *SdsContainer) String() string

type StatsConfig

type StatsConfig struct {

	// Whether to expose metrics annotations and ports for scraping metrics.
	Enabled *wrappers.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The Envoy stats endpoint to which the metrics are written
	RoutePrefixRewrite *wrappers.StringValue `protobuf:"bytes,2,opt,name=route_prefix_rewrite,json=routePrefixRewrite,proto3" json:"route_prefix_rewrite,omitempty"`
	// Enables an additional route to the stats cluster defaulting to /stats
	EnableStatsRoute *wrappers.BoolValue `protobuf:"bytes,3,opt,name=enable_stats_route,json=enableStatsRoute,proto3" json:"enable_stats_route,omitempty"`
	// The Envoy stats endpoint with general metrics for the additional stats route
	StatsRoutePrefixRewrite *wrappers.StringValue `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StatsConfig) Descriptor deprecated

func (*StatsConfig) Descriptor() ([]byte, []int)

Deprecated: Use StatsConfig.ProtoReflect.Descriptor instead.

func (*StatsConfig) Equal

func (m *StatsConfig) Equal(that interface{}) bool

Equal function

func (*StatsConfig) GetEnableStatsRoute

func (x *StatsConfig) GetEnableStatsRoute() *wrappers.BoolValue

func (*StatsConfig) GetEnabled

func (x *StatsConfig) GetEnabled() *wrappers.BoolValue

func (*StatsConfig) GetRoutePrefixRewrite

func (x *StatsConfig) GetRoutePrefixRewrite() *wrappers.StringValue

func (*StatsConfig) GetStatsRoutePrefixRewrite

func (x *StatsConfig) GetStatsRoutePrefixRewrite() *wrappers.StringValue

func (*StatsConfig) Hash

func (m *StatsConfig) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*StatsConfig) ProtoMessage

func (*StatsConfig) ProtoMessage()

func (*StatsConfig) ProtoReflect

func (x *StatsConfig) ProtoReflect() protoreflect.Message

func (*StatsConfig) Reset

func (x *StatsConfig) Reset()

func (*StatsConfig) String

func (x *StatsConfig) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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