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 ¶
- Variables
- func AddToScheme(s *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type EnvoyBootstrap
- func (*EnvoyBootstrap) Descriptor() ([]byte, []int)deprecated
- func (m *EnvoyBootstrap) Equal(that interface{}) bool
- func (x *EnvoyBootstrap) GetComponentLogLevels() map[string]string
- func (x *EnvoyBootstrap) GetLogLevel() string
- func (m *EnvoyBootstrap) Hash(hasher hash.Hash64) (uint64, error)
- func (*EnvoyBootstrap) ProtoMessage()
- func (x *EnvoyBootstrap) ProtoReflect() protoreflect.Message
- func (x *EnvoyBootstrap) Reset()
- func (x *EnvoyBootstrap) String() string
- type EnvoyContainer
- func (*EnvoyContainer) Descriptor() ([]byte, []int)deprecated
- func (m *EnvoyContainer) Equal(that interface{}) bool
- func (x *EnvoyContainer) GetBootstrap() *EnvoyBootstrap
- func (x *EnvoyContainer) GetImage() *kube.Image
- func (x *EnvoyContainer) GetResources() *kube.ResourceRequirements
- func (x *EnvoyContainer) GetSecurityContext() *v1.SecurityContext
- func (m *EnvoyContainer) Hash(hasher hash.Hash64) (uint64, error)
- func (*EnvoyContainer) ProtoMessage()
- func (x *EnvoyContainer) ProtoReflect() protoreflect.Message
- func (x *EnvoyContainer) Reset()
- func (x *EnvoyContainer) String() string
- type GatewayParameters
- type GatewayParametersList
- type GatewayParametersSpec
- func (in *GatewayParametersSpec) DeepCopyInto(out *GatewayParametersSpec)
- func (*GatewayParametersSpec) Descriptor() ([]byte, []int)deprecated
- func (m *GatewayParametersSpec) Equal(that interface{}) bool
- func (m *GatewayParametersSpec) GetEnvironmentType() isGatewayParametersSpec_EnvironmentType
- func (x *GatewayParametersSpec) GetKube() *KubernetesProxyConfig
- func (m *GatewayParametersSpec) Hash(hasher hash.Hash64) (uint64, error)
- func (this *GatewayParametersSpec) MarshalJSON() ([]byte, error)
- func (*GatewayParametersSpec) ProtoMessage()
- func (x *GatewayParametersSpec) ProtoReflect() protoreflect.Message
- func (x *GatewayParametersSpec) Reset()
- func (x *GatewayParametersSpec) String() string
- func (this *GatewayParametersSpec) UnmarshalJSON(b []byte) error
- type GatewayParametersSpec_Kube
- type GatewayParametersStatus
- func (in *GatewayParametersStatus) DeepCopyInto(out *GatewayParametersStatus)
- func (*GatewayParametersStatus) Descriptor() ([]byte, []int)deprecated
- func (m *GatewayParametersStatus) Equal(that interface{}) bool
- func (m *GatewayParametersStatus) Hash(hasher hash.Hash64) (uint64, error)
- func (this *GatewayParametersStatus) MarshalJSON() ([]byte, error)
- func (*GatewayParametersStatus) ProtoMessage()
- func (x *GatewayParametersStatus) ProtoReflect() protoreflect.Message
- func (x *GatewayParametersStatus) Reset()
- func (x *GatewayParametersStatus) String() string
- func (this *GatewayParametersStatus) UnmarshalJSON(b []byte) error
- type KubernetesProxyConfig
- func (*KubernetesProxyConfig) Descriptor() ([]byte, []int)deprecated
- func (m *KubernetesProxyConfig) Equal(that interface{}) bool
- func (x *KubernetesProxyConfig) GetAutoscaling() *kube.Autoscaling
- func (x *KubernetesProxyConfig) GetDeployment() *ProxyDeployment
- func (x *KubernetesProxyConfig) GetEnvoyContainer() *EnvoyContainer
- func (x *KubernetesProxyConfig) GetPodTemplate() *kube.Pod
- func (x *KubernetesProxyConfig) GetService() *kube.Service
- func (m *KubernetesProxyConfig) GetWorkloadType() isKubernetesProxyConfig_WorkloadType
- func (m *KubernetesProxyConfig) Hash(hasher hash.Hash64) (uint64, error)
- func (*KubernetesProxyConfig) ProtoMessage()
- func (x *KubernetesProxyConfig) ProtoReflect() protoreflect.Message
- func (x *KubernetesProxyConfig) Reset()
- func (x *KubernetesProxyConfig) String() string
- type KubernetesProxyConfig_Deployment
- type ProxyDeployment
- func (*ProxyDeployment) Descriptor() ([]byte, []int)deprecated
- func (m *ProxyDeployment) Equal(that interface{}) bool
- func (x *ProxyDeployment) GetReplicas() *wrappers.UInt32Value
- func (m *ProxyDeployment) Hash(hasher hash.Hash64) (uint64, error)
- func (*ProxyDeployment) ProtoMessage()
- func (x *ProxyDeployment) ProtoReflect() protoreflect.Message
- func (x *ProxyDeployment) Reset()
- func (x *ProxyDeployment) String() string
Constants ¶
This section is empty.
Variables ¶
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} )
var File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto protoreflect.FileDescriptor
var GatewayParametersGVK = schema.GroupVersionKind{
Group: "gateway.gloo.solo.io",
Version: "v1alpha1",
Kind: "GatewayParameters",
}
GroupVersionKind for GatewayParameters
Functions ¶
func AddToScheme ¶
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 string `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) GetComponentLogLevels ¶
func (x *EnvoyBootstrap) GetComponentLogLevels() map[string]string
func (*EnvoyBootstrap) GetLogLevel ¶
func (x *EnvoyBootstrap) GetLogLevel() string
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) 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 ¶
func (GatewayParameters) GVK() schema.GroupVersionKind
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 (in *GatewayParametersList) DeepCopy() *GatewayParametersList
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 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 (x *GatewayParametersSpec) GetKube() *KubernetesProxyConfig
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 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 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 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"` // Autoscaling configuration. Autoscaling *kube.Autoscaling `protobuf:"bytes,5,opt,name=autoscaling,proto3" json:"autoscaling,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) GetAutoscaling ¶
func (x *KubernetesProxyConfig) GetAutoscaling() *kube.Autoscaling
func (*KubernetesProxyConfig) GetDeployment ¶
func (x *KubernetesProxyConfig) GetDeployment() *ProxyDeployment
func (*KubernetesProxyConfig) GetEnvoyContainer ¶
func (x *KubernetesProxyConfig) GetEnvoyContainer() *EnvoyContainer
func (*KubernetesProxyConfig) GetPodTemplate ¶
func (x *KubernetesProxyConfig) GetPodTemplate() *kube.Pod
func (*KubernetesProxyConfig) GetService ¶
func (x *KubernetesProxyConfig) GetService() *kube.Service
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