Documentation ¶
Index ¶
- Variables
- type CommonInfo
- func (*CommonInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CommonInfo) GetDescription() string
- func (x *CommonInfo) GetName() string
- func (x *CommonInfo) GetSource() CommonInfo_Source
- func (x *CommonInfo) GetUpdatedDatetime() *Timestamp
- func (*CommonInfo) ProtoMessage()
- func (x *CommonInfo) ProtoReflect() protoreflect.Message
- func (x *CommonInfo) Reset()
- func (x *CommonInfo) String() string
- type CommonInfo_Source
- func (CommonInfo_Source) Descriptor() protoreflect.EnumDescriptor
- func (x CommonInfo_Source) Enum() *CommonInfo_Source
- func (CommonInfo_Source) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommonInfo_Source) Number() protoreflect.EnumNumber
- func (x CommonInfo_Source) String() string
- func (CommonInfo_Source) Type() protoreflect.EnumType
- type DoubleRange
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetAddress() string
- func (x *Endpoint) GetLoadBalancingWeight() uint32
- func (x *Endpoint) GetPort() uint32
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- type GateMetadata
- func (*GateMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *GateMetadata) GetFilterMetadata() map[string]*_struct.Struct
- func (x *GateMetadata) GetTypedFilterMetadata() map[string]*any1.Any
- func (*GateMetadata) ProtoMessage()
- func (x *GateMetadata) ProtoReflect() protoreflect.Message
- func (x *GateMetadata) Reset()
- func (x *GateMetadata) String() string
- type HeaderManipulation
- func (*HeaderManipulation) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderManipulation) GetRequestHeadersToAdd() []*HeaderValueOption
- func (x *HeaderManipulation) GetRequestHeadersToRemove() []string
- func (x *HeaderManipulation) GetResponseHeadersToAdd() []*HeaderValueOption
- func (x *HeaderManipulation) GetResponseHeadersToRemove() []string
- func (*HeaderManipulation) ProtoMessage()
- func (x *HeaderManipulation) ProtoReflect() protoreflect.Message
- func (x *HeaderManipulation) Reset()
- func (x *HeaderManipulation) String() string
- type HeaderValue
- type HeaderValueOption
- func (*HeaderValueOption) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderValueOption) GetAppend() bool
- func (x *HeaderValueOption) GetHeader() *HeaderValue
- func (*HeaderValueOption) ProtoMessage()
- func (x *HeaderValueOption) ProtoReflect() protoreflect.Message
- func (x *HeaderValueOption) Reset()
- func (x *HeaderValueOption) String() string
- type Int32Range
- type Int64Range
- type ResourceRef
- func (*ResourceRef) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceRef) GetGroup() string
- func (x *ResourceRef) GetKind() string
- func (x *ResourceRef) GetName() string
- func (x *ResourceRef) GetNamespace() string
- func (x *ResourceRef) GetVersion() string
- func (*ResourceRef) ProtoMessage()
- func (x *ResourceRef) ProtoReflect() protoreflect.Message
- func (x *ResourceRef) Reset()
- func (x *ResourceRef) String() string
- type StatefulSession
- func (*StatefulSession) Descriptor() ([]byte, []int)deprecated
- func (x *StatefulSession) GetName() string
- func (x *StatefulSession) GetPath() string
- func (x *StatefulSession) GetTtl() *Timestamp
- func (x *StatefulSession) GetType() StatefulSession_Type
- func (*StatefulSession) ProtoMessage()
- func (x *StatefulSession) ProtoReflect() protoreflect.Message
- func (x *StatefulSession) Reset()
- func (x *StatefulSession) String() string
- type StatefulSession_Type
- func (StatefulSession_Type) Descriptor() protoreflect.EnumDescriptor
- func (x StatefulSession_Type) Enum() *StatefulSession_Type
- func (StatefulSession_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x StatefulSession_Type) Number() protoreflect.EnumNumber
- func (x StatefulSession_Type) String() string
- func (StatefulSession_Type) Type() protoreflect.EnumType
- type Timestamp
Constants ¶
This section is empty.
Variables ¶
var ( CommonInfo_Source_name = map[int32]string{ 0: "CustomDefinition", 1: "AdminDefinition", } CommonInfo_Source_value = map[string]int32{ "CustomDefinition": 0, "AdminDefinition": 1, } )
Enum value maps for CommonInfo_Source.
var ( StatefulSession_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "COOKIE", 2: "SESSION", } StatefulSession_Type_value = map[string]int32{ "UNKNOWN": 0, "COOKIE": 1, "SESSION": 2, } )
Enum value maps for StatefulSession_Type.
var File_github_com_xdmybl_gate_type_proto_core_v1_gate_proto protoreflect.FileDescriptor
var File_github_com_xdmybl_gate_type_proto_core_v1_headers_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CommonInfo ¶
type CommonInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Source CommonInfo_Source `protobuf:"varint,3,opt,name=source,proto3,enum=core.v1.CommonInfo_Source" json:"source,omitempty"` UpdatedDatetime *Timestamp `protobuf:"bytes,4,opt,name=updatedDatetime,proto3" json:"updatedDatetime,omitempty"` // contains filtered or unexported fields }
func (*CommonInfo) Descriptor
deprecated
func (*CommonInfo) Descriptor() ([]byte, []int)
Deprecated: Use CommonInfo.ProtoReflect.Descriptor instead.
func (*CommonInfo) GetDescription ¶
func (x *CommonInfo) GetDescription() string
func (*CommonInfo) GetName ¶
func (x *CommonInfo) GetName() string
func (*CommonInfo) GetSource ¶
func (x *CommonInfo) GetSource() CommonInfo_Source
func (*CommonInfo) GetUpdatedDatetime ¶
func (x *CommonInfo) GetUpdatedDatetime() *Timestamp
func (*CommonInfo) ProtoMessage ¶
func (*CommonInfo) ProtoMessage()
func (*CommonInfo) ProtoReflect ¶
func (x *CommonInfo) ProtoReflect() protoreflect.Message
func (*CommonInfo) Reset ¶
func (x *CommonInfo) Reset()
func (*CommonInfo) String ¶
func (x *CommonInfo) String() string
type CommonInfo_Source ¶
type CommonInfo_Source int32
const ( CommonInfo_CustomDefinition CommonInfo_Source = 0 CommonInfo_AdminDefinition CommonInfo_Source = 1 )
func (CommonInfo_Source) Descriptor ¶
func (CommonInfo_Source) Descriptor() protoreflect.EnumDescriptor
func (CommonInfo_Source) Enum ¶
func (x CommonInfo_Source) Enum() *CommonInfo_Source
func (CommonInfo_Source) EnumDescriptor
deprecated
func (CommonInfo_Source) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommonInfo_Source.Descriptor instead.
func (CommonInfo_Source) Number ¶
func (x CommonInfo_Source) Number() protoreflect.EnumNumber
func (CommonInfo_Source) String ¶
func (x CommonInfo_Source) String() string
func (CommonInfo_Source) Type ¶
func (CommonInfo_Source) Type() protoreflect.EnumType
type DoubleRange ¶
type DoubleRange struct { // start of the range (inclusive) Start float64 `protobuf:"fixed64,1,opt,name=start,proto3" json:"start,omitempty"` // end of the range (exclusive) End float64 `protobuf:"fixed64,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
Specifies the double start and end of the range using half-open interval semantics [start, end).
func (*DoubleRange) Descriptor
deprecated
func (*DoubleRange) Descriptor() ([]byte, []int)
Deprecated: Use DoubleRange.ProtoReflect.Descriptor instead.
func (*DoubleRange) GetEnd ¶
func (x *DoubleRange) GetEnd() float64
func (*DoubleRange) GetStart ¶
func (x *DoubleRange) GetStart() float64
func (*DoubleRange) ProtoMessage ¶
func (*DoubleRange) ProtoMessage()
func (*DoubleRange) ProtoReflect ¶
func (x *DoubleRange) ProtoReflect() protoreflect.Message
func (*DoubleRange) Reset ¶
func (x *DoubleRange) Reset()
func (*DoubleRange) String ¶
func (x *DoubleRange) String() string
type Endpoint ¶
type Endpoint struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` LoadBalancingWeight uint32 `protobuf:"varint,3,opt,name=loadBalancingWeight,proto3" json:"loadBalancingWeight,omitempty"` // contains filtered or unexported fields }
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetAddress ¶
func (*Endpoint) GetLoadBalancingWeight ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type GateMetadata ¶
type GateMetadata struct { FilterMetadata map[string]*_struct.Struct `` /* 191-byte string literal not displayed */ TypedFilterMetadata map[string]*any1.Any `` /* 208-byte string literal not displayed */ // contains filtered or unexported fields }
https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/base.proto#config-core-v3-metadata
func (*GateMetadata) Descriptor
deprecated
func (*GateMetadata) Descriptor() ([]byte, []int)
Deprecated: Use GateMetadata.ProtoReflect.Descriptor instead.
func (*GateMetadata) GetFilterMetadata ¶
func (x *GateMetadata) GetFilterMetadata() map[string]*_struct.Struct
func (*GateMetadata) GetTypedFilterMetadata ¶
func (x *GateMetadata) GetTypedFilterMetadata() map[string]*any1.Any
func (*GateMetadata) ProtoMessage ¶
func (*GateMetadata) ProtoMessage()
func (*GateMetadata) ProtoReflect ¶
func (x *GateMetadata) ProtoReflect() protoreflect.Message
func (*GateMetadata) Reset ¶
func (x *GateMetadata) Reset()
func (*GateMetadata) String ¶
func (x *GateMetadata) String() string
type HeaderManipulation ¶
type HeaderManipulation struct { // Specifies a list of HTTP headers that should be added to each request // handled by this route or virtual host. For more information, including // details on header value syntax, see the // [Envoy documentation](https://www.envoyproxy.io/docs/envoy/latest/configuration/http_conn_man/headers#config-http-conn-man-headers-custom-request-headers) . RequestHeadersToAdd []*HeaderValueOption `protobuf:"bytes,1,rep,name=requestHeadersToAdd,proto3" json:"requestHeadersToAdd,omitempty"` // Specifies a list of HTTP headers that should be removed from each request // handled by this route or virtual host. RequestHeadersToRemove []string `protobuf:"bytes,2,rep,name=requestHeadersToRemove,proto3" json:"requestHeadersToRemove,omitempty"` // Specifies a list of HTTP headers that should be added to each response // handled by this route or host. For more information, including // details on header value syntax, see the // [Envoy documentation](https://www.envoyproxy.io/docs/envoy/latest/configuration/http_conn_man/headers#config-http-conn-man-headers-custom-request-headers) . ResponseHeadersToAdd []*HeaderValueOption `protobuf:"bytes,3,rep,name=responseHeadersToAdd,proto3" json:"responseHeadersToAdd,omitempty"` // Specifies a list of HTTP headers that should be removed from each response // handled by this route or virtual host. ResponseHeadersToRemove []string `protobuf:"bytes,4,rep,name=responseHeadersToRemove,proto3" json:"responseHeadersToRemove,omitempty"` // contains filtered or unexported fields }
This plugin provides configuration options to append and remove headers from requests and responses HeaderManipulation can be specified on routes, virtual hosts, or weighted destinations
func (*HeaderManipulation) Descriptor
deprecated
func (*HeaderManipulation) Descriptor() ([]byte, []int)
Deprecated: Use HeaderManipulation.ProtoReflect.Descriptor instead.
func (*HeaderManipulation) GetRequestHeadersToAdd ¶
func (x *HeaderManipulation) GetRequestHeadersToAdd() []*HeaderValueOption
func (*HeaderManipulation) GetRequestHeadersToRemove ¶
func (x *HeaderManipulation) GetRequestHeadersToRemove() []string
func (*HeaderManipulation) GetResponseHeadersToAdd ¶
func (x *HeaderManipulation) GetResponseHeadersToAdd() []*HeaderValueOption
func (*HeaderManipulation) GetResponseHeadersToRemove ¶
func (x *HeaderManipulation) GetResponseHeadersToRemove() []string
func (*HeaderManipulation) ProtoMessage ¶
func (*HeaderManipulation) ProtoMessage()
func (*HeaderManipulation) ProtoReflect ¶
func (x *HeaderManipulation) ProtoReflect() protoreflect.Message
func (*HeaderManipulation) Reset ¶
func (x *HeaderManipulation) Reset()
func (*HeaderManipulation) String ¶
func (x *HeaderManipulation) String() string
type HeaderValue ¶
type HeaderValue struct { // Header name. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Header value. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Header name/value pair.
func (*HeaderValue) Descriptor
deprecated
func (*HeaderValue) Descriptor() ([]byte, []int)
Deprecated: Use HeaderValue.ProtoReflect.Descriptor instead.
func (*HeaderValue) GetKey ¶
func (x *HeaderValue) GetKey() string
func (*HeaderValue) GetValue ¶
func (x *HeaderValue) GetValue() string
func (*HeaderValue) ProtoMessage ¶
func (*HeaderValue) ProtoMessage()
func (*HeaderValue) ProtoReflect ¶
func (x *HeaderValue) ProtoReflect() protoreflect.Message
func (*HeaderValue) Reset ¶
func (x *HeaderValue) Reset()
func (*HeaderValue) String ¶
func (x *HeaderValue) String() string
type HeaderValueOption ¶
type HeaderValueOption struct { // Header name/value pair that this option applies to. Header *HeaderValue `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // Should the value be appended? If true (default), the value is appended to // existing values. Append bool `protobuf:"varint,2,opt,name=append,proto3" json:"append,omitempty"` // contains filtered or unexported fields }
Header name/value pair plus option to control append behavior.
func (*HeaderValueOption) Descriptor
deprecated
func (*HeaderValueOption) Descriptor() ([]byte, []int)
Deprecated: Use HeaderValueOption.ProtoReflect.Descriptor instead.
func (*HeaderValueOption) GetAppend ¶
func (x *HeaderValueOption) GetAppend() bool
func (*HeaderValueOption) GetHeader ¶
func (x *HeaderValueOption) GetHeader() *HeaderValue
func (*HeaderValueOption) ProtoMessage ¶
func (*HeaderValueOption) ProtoMessage()
func (*HeaderValueOption) ProtoReflect ¶
func (x *HeaderValueOption) ProtoReflect() protoreflect.Message
func (*HeaderValueOption) Reset ¶
func (x *HeaderValueOption) Reset()
func (*HeaderValueOption) String ¶
func (x *HeaderValueOption) String() string
type Int32Range ¶
type Int32Range struct { // start of the range (inclusive) Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` // end of the range (exclusive) End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
Specifies the int32 start and end of the range using half-open interval semantics [start, end).
func (*Int32Range) Descriptor
deprecated
func (*Int32Range) Descriptor() ([]byte, []int)
Deprecated: Use Int32Range.ProtoReflect.Descriptor instead.
func (*Int32Range) GetEnd ¶
func (x *Int32Range) GetEnd() int32
func (*Int32Range) GetStart ¶
func (x *Int32Range) GetStart() int32
func (*Int32Range) ProtoMessage ¶
func (*Int32Range) ProtoMessage()
func (*Int32Range) ProtoReflect ¶
func (x *Int32Range) ProtoReflect() protoreflect.Message
func (*Int32Range) Reset ¶
func (x *Int32Range) Reset()
func (*Int32Range) String ¶
func (x *Int32Range) String() string
type Int64Range ¶
type Int64Range struct { // start of the range (inclusive) Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` // end of the range (exclusive) End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*Int64Range) Descriptor
deprecated
func (*Int64Range) Descriptor() ([]byte, []int)
Deprecated: Use Int64Range.ProtoReflect.Descriptor instead.
func (*Int64Range) GetEnd ¶
func (x *Int64Range) GetEnd() int64
func (*Int64Range) GetStart ¶
func (x *Int64Range) GetStart() int64
func (*Int64Range) ProtoMessage ¶
func (*Int64Range) ProtoMessage()
func (*Int64Range) ProtoReflect ¶
func (x *Int64Range) ProtoReflect() protoreflect.Message
func (*Int64Range) Reset ¶
func (x *Int64Range) Reset()
func (*Int64Range) String ¶
func (x *Int64Range) String() string
type ResourceRef ¶
type ResourceRef struct { // Defaults to `default` Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*ResourceRef) Descriptor
deprecated
func (*ResourceRef) Descriptor() ([]byte, []int)
Deprecated: Use ResourceRef.ProtoReflect.Descriptor instead.
func (*ResourceRef) GetGroup ¶
func (x *ResourceRef) GetGroup() string
func (*ResourceRef) GetKind ¶
func (x *ResourceRef) GetKind() string
func (*ResourceRef) GetName ¶
func (x *ResourceRef) GetName() string
func (*ResourceRef) GetNamespace ¶
func (x *ResourceRef) GetNamespace() string
func (*ResourceRef) GetVersion ¶
func (x *ResourceRef) GetVersion() string
func (*ResourceRef) ProtoMessage ¶
func (*ResourceRef) ProtoMessage()
func (*ResourceRef) ProtoReflect ¶
func (x *ResourceRef) ProtoReflect() protoreflect.Message
func (*ResourceRef) Reset ¶
func (x *ResourceRef) Reset()
func (*ResourceRef) String ¶
func (x *ResourceRef) String() string
type StatefulSession ¶
type StatefulSession struct { Type StatefulSession_Type `protobuf:"varint,1,opt,name=type,proto3,enum=core.v1.StatefulSession_Type" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // only for COOKIE Ttl *Timestamp `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"` // only for COOKIE Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*StatefulSession) Descriptor
deprecated
func (*StatefulSession) Descriptor() ([]byte, []int)
Deprecated: Use StatefulSession.ProtoReflect.Descriptor instead.
func (*StatefulSession) GetName ¶
func (x *StatefulSession) GetName() string
func (*StatefulSession) GetPath ¶
func (x *StatefulSession) GetPath() string
func (*StatefulSession) GetTtl ¶
func (x *StatefulSession) GetTtl() *Timestamp
func (*StatefulSession) GetType ¶
func (x *StatefulSession) GetType() StatefulSession_Type
func (*StatefulSession) ProtoMessage ¶
func (*StatefulSession) ProtoMessage()
func (*StatefulSession) ProtoReflect ¶
func (x *StatefulSession) ProtoReflect() protoreflect.Message
func (*StatefulSession) Reset ¶
func (x *StatefulSession) Reset()
func (*StatefulSession) String ¶
func (x *StatefulSession) String() string
type StatefulSession_Type ¶
type StatefulSession_Type int32
const ( StatefulSession_UNKNOWN StatefulSession_Type = 0 StatefulSession_COOKIE StatefulSession_Type = 1 StatefulSession_SESSION StatefulSession_Type = 2 )
func (StatefulSession_Type) Descriptor ¶
func (StatefulSession_Type) Descriptor() protoreflect.EnumDescriptor
func (StatefulSession_Type) Enum ¶
func (x StatefulSession_Type) Enum() *StatefulSession_Type
func (StatefulSession_Type) EnumDescriptor
deprecated
func (StatefulSession_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatefulSession_Type.Descriptor instead.
func (StatefulSession_Type) Number ¶
func (x StatefulSession_Type) Number() protoreflect.EnumNumber
func (StatefulSession_Type) String ¶
func (x StatefulSession_Type) String() string
func (StatefulSession_Type) Type ¶
func (StatefulSession_Type) Type() protoreflect.EnumType
type Timestamp ¶
type Timestamp struct { // Represents seconds of UTC time since Unix epoch // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59Z inclusive. Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` // Non-negative fractions of a second at nanosecond resolution. Negative // second values with fractions must still have non-negative nanos values // that count forward in time. Must be from 0 to 999,999,999 // inclusive. Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` // contains filtered or unexported fields }
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetSeconds ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message