Documentation ¶
Index ¶
- Variables
- type HeaderValue
- func (*HeaderValue) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderValue) GetKey() string
- func (x *HeaderValue) GetValue() string
- func (*HeaderValue) ProtoMessage()
- func (x *HeaderValue) ProtoReflect() protoreflect.Message
- func (x *HeaderValue) Reset()
- func (x *HeaderValue) String() string
- func (m *HeaderValue) Validate() error
- func (m *HeaderValue) ValidateAll() error
- type HeaderValueMultiError
- 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
- func (m *HeaderValueOption) Validate() error
- func (m *HeaderValueOption) ValidateAll() error
- type HeaderValueOptionMultiError
- type HeaderValueOptionValidationError
- func (e HeaderValueOptionValidationError) Cause() error
- func (e HeaderValueOptionValidationError) Error() string
- func (e HeaderValueOptionValidationError) ErrorName() string
- func (e HeaderValueOptionValidationError) Field() string
- func (e HeaderValueOptionValidationError) Key() bool
- func (e HeaderValueOptionValidationError) Reason() string
- type HeaderValueValidationError
- func (e HeaderValueValidationError) Cause() error
- func (e HeaderValueValidationError) Error() string
- func (e HeaderValueValidationError) ErrorName() string
- func (e HeaderValueValidationError) Field() string
- func (e HeaderValueValidationError) Key() bool
- func (e HeaderValueValidationError) Reason() string
- type TLS
- func (*TLS) Descriptor() ([]byte, []int)deprecated
- func (x *TLS) GetAlpnProtocols() []string
- func (x *TLS) GetCertificatesUuid() []string
- func (x *TLS) GetServerNames() []string
- func (*TLS) ProtoMessage()
- func (x *TLS) ProtoReflect() protoreflect.Message
- func (x *TLS) Reset()
- func (x *TLS) String() string
- func (m *TLS) Validate() error
- func (m *TLS) ValidateAll() error
- type TLSMultiError
- type TLSValidationError
Constants ¶
This section is empty.
Variables ¶
var File_gsloc_api_config_core_v1_base_proto protoreflect.FileDescriptor
var File_gsloc_api_config_core_v1_tls_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
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
func (*HeaderValue) Validate ¶
func (m *HeaderValue) Validate() error
Validate checks the field values on HeaderValue with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HeaderValue) ValidateAll ¶
func (m *HeaderValue) ValidateAll() error
ValidateAll checks the field values on HeaderValue with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HeaderValueMultiError, or nil if none found.
type HeaderValueMultiError ¶
type HeaderValueMultiError []error
HeaderValueMultiError is an error wrapping multiple validation errors returned by HeaderValue.ValidateAll() if the designated constraints aren't met.
func (HeaderValueMultiError) AllErrors ¶
func (m HeaderValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeaderValueMultiError) Error ¶
func (m HeaderValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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. Otherwise it replaces any 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
func (*HeaderValueOption) Validate ¶
func (m *HeaderValueOption) Validate() error
Validate checks the field values on HeaderValueOption with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HeaderValueOption) ValidateAll ¶
func (m *HeaderValueOption) ValidateAll() error
ValidateAll checks the field values on HeaderValueOption with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HeaderValueOptionMultiError, or nil if none found.
type HeaderValueOptionMultiError ¶
type HeaderValueOptionMultiError []error
HeaderValueOptionMultiError is an error wrapping multiple validation errors returned by HeaderValueOption.ValidateAll() if the designated constraints aren't met.
func (HeaderValueOptionMultiError) AllErrors ¶
func (m HeaderValueOptionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeaderValueOptionMultiError) Error ¶
func (m HeaderValueOptionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HeaderValueOptionValidationError ¶
type HeaderValueOptionValidationError struct {
// contains filtered or unexported fields
}
HeaderValueOptionValidationError is the validation error returned by HeaderValueOption.Validate if the designated constraints aren't met.
func (HeaderValueOptionValidationError) Cause ¶
func (e HeaderValueOptionValidationError) Cause() error
Cause function returns cause value.
func (HeaderValueOptionValidationError) Error ¶
func (e HeaderValueOptionValidationError) Error() string
Error satisfies the builtin error interface
func (HeaderValueOptionValidationError) ErrorName ¶
func (e HeaderValueOptionValidationError) ErrorName() string
ErrorName returns error name.
func (HeaderValueOptionValidationError) Field ¶
func (e HeaderValueOptionValidationError) Field() string
Field function returns field value.
func (HeaderValueOptionValidationError) Key ¶
func (e HeaderValueOptionValidationError) Key() bool
Key function returns key value.
func (HeaderValueOptionValidationError) Reason ¶
func (e HeaderValueOptionValidationError) Reason() string
Reason function returns reason value.
type HeaderValueValidationError ¶
type HeaderValueValidationError struct {
// contains filtered or unexported fields
}
HeaderValueValidationError is the validation error returned by HeaderValue.Validate if the designated constraints aren't met.
func (HeaderValueValidationError) Cause ¶
func (e HeaderValueValidationError) Cause() error
Cause function returns cause value.
func (HeaderValueValidationError) Error ¶
func (e HeaderValueValidationError) Error() string
Error satisfies the builtin error interface
func (HeaderValueValidationError) ErrorName ¶
func (e HeaderValueValidationError) ErrorName() string
ErrorName returns error name.
func (HeaderValueValidationError) Field ¶
func (e HeaderValueValidationError) Field() string
Field function returns field value.
func (HeaderValueValidationError) Key ¶
func (e HeaderValueValidationError) Key() bool
Key function returns key value.
func (HeaderValueValidationError) Reason ¶
func (e HeaderValueValidationError) Reason() string
Reason function returns reason value.
type TLS ¶
type TLS struct { // If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining a filter chain match. // Those values will be compared against the server names of a new connection, when detected by one of the listener filters. // // The server name will be matched against all wildcard domains, i.e. www.example.com will be first matched against // www.example.com, then *.example.com, then *.com. // // Note that partial wildcards are not supported, and values like *w.example.com are invalid. ServerNames []string `protobuf:"bytes,1,rep,name=server_names,json=serverNames,proto3" json:"server_names,omitempty"` CertificatesUuid []string `protobuf:"bytes,2,rep,name=certificates_uuid,json=certificatesUuid,proto3" json:"certificates_uuid,omitempty"` // Supplies the list of ALPN protocols that the listener should expose. In // practice this is likely to be set to one of two values (see the // // * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. // * "http/1.1" If the listener is only going to support HTTP/1.1. // // There is no default for this parameter. If empty, tls handshake will not expose ALPN. AlpnProtocols []string `protobuf:"bytes,3,rep,name=alpn_protocols,json=alpnProtocols,proto3" json:"alpn_protocols,omitempty"` // contains filtered or unexported fields }
TLS is a message containing the configuration for a TLS listener.
func (*TLS) Descriptor
deprecated
func (*TLS) GetAlpnProtocols ¶
func (*TLS) GetCertificatesUuid ¶
func (*TLS) GetServerNames ¶
func (*TLS) ProtoMessage ¶
func (*TLS) ProtoMessage()
func (*TLS) ProtoReflect ¶
func (x *TLS) ProtoReflect() protoreflect.Message
func (*TLS) Validate ¶
Validate checks the field values on TLS with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TLS) ValidateAll ¶
ValidateAll checks the field values on TLS with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TLSMultiError, or nil if none found.
type TLSMultiError ¶
type TLSMultiError []error
TLSMultiError is an error wrapping multiple validation errors returned by TLS.ValidateAll() if the designated constraints aren't met.
func (TLSMultiError) AllErrors ¶
func (m TLSMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TLSMultiError) Error ¶
func (m TLSMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TLSValidationError ¶
type TLSValidationError struct {
// contains filtered or unexported fields
}
TLSValidationError is the validation error returned by TLS.Validate if the designated constraints aren't met.
func (TLSValidationError) Cause ¶
func (e TLSValidationError) Cause() error
Cause function returns cause value.
func (TLSValidationError) Error ¶
func (e TLSValidationError) Error() string
Error satisfies the builtin error interface
func (TLSValidationError) ErrorName ¶
func (e TLSValidationError) ErrorName() string
ErrorName returns error name.
func (TLSValidationError) Field ¶
func (e TLSValidationError) Field() string
Field function returns field value.
func (TLSValidationError) Key ¶
func (e TLSValidationError) Key() bool
Key function returns key value.
func (TLSValidationError) Reason ¶
func (e TLSValidationError) Reason() string
Reason function returns reason value.