Documentation
¶
Index ¶
- Variables
- type AddRouteRequest
- func (*AddRouteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRouteRequest) GetRoute() *Route
- func (*AddRouteRequest) ProtoMessage()
- func (x *AddRouteRequest) ProtoReflect() protoreflect.Message
- func (x *AddRouteRequest) Reset()
- func (x *AddRouteRequest) String() string
- func (m *AddRouteRequest) Validate() error
- func (m *AddRouteRequest) ValidateAll() error
- type AddRouteRequestMultiError
- type AddRouteRequestValidationError
- func (e AddRouteRequestValidationError) Cause() error
- func (e AddRouteRequestValidationError) Error() string
- func (e AddRouteRequestValidationError) ErrorName() string
- func (e AddRouteRequestValidationError) Field() string
- func (e AddRouteRequestValidationError) Key() bool
- func (e AddRouteRequestValidationError) Reason() string
- type AddRouteResponse
- func (*AddRouteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddRouteResponse) GetCode() AddRouteResponseCode
- func (*AddRouteResponse) ProtoMessage()
- func (x *AddRouteResponse) ProtoReflect() protoreflect.Message
- func (x *AddRouteResponse) Reset()
- func (x *AddRouteResponse) String() string
- func (m *AddRouteResponse) Validate() error
- func (m *AddRouteResponse) ValidateAll() error
- type AddRouteResponseCode
- func (AddRouteResponseCode) Descriptor() protoreflect.EnumDescriptor
- func (x AddRouteResponseCode) Enum() *AddRouteResponseCode
- func (AddRouteResponseCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AddRouteResponseCode) Number() protoreflect.EnumNumber
- func (x AddRouteResponseCode) String() string
- func (AddRouteResponseCode) Type() protoreflect.EnumType
- type AddRouteResponseMultiError
- type AddRouteResponseValidationError
- func (e AddRouteResponseValidationError) Cause() error
- func (e AddRouteResponseValidationError) Error() string
- func (e AddRouteResponseValidationError) ErrorName() string
- func (e AddRouteResponseValidationError) Field() string
- func (e AddRouteResponseValidationError) Key() bool
- func (e AddRouteResponseValidationError) Reason() string
- type DeleteRouteCode
- func (DeleteRouteCode) Descriptor() protoreflect.EnumDescriptor
- func (x DeleteRouteCode) Enum() *DeleteRouteCode
- func (DeleteRouteCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeleteRouteCode) Number() protoreflect.EnumNumber
- func (x DeleteRouteCode) String() string
- func (DeleteRouteCode) Type() protoreflect.EnumType
- type DeleteRouteRequest
- func (*DeleteRouteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRouteRequest) GetName() string
- func (*DeleteRouteRequest) ProtoMessage()
- func (x *DeleteRouteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRouteRequest) Reset()
- func (x *DeleteRouteRequest) String() string
- func (m *DeleteRouteRequest) Validate() error
- func (m *DeleteRouteRequest) ValidateAll() error
- type DeleteRouteRequestMultiError
- type DeleteRouteRequestValidationError
- func (e DeleteRouteRequestValidationError) Cause() error
- func (e DeleteRouteRequestValidationError) Error() string
- func (e DeleteRouteRequestValidationError) ErrorName() string
- func (e DeleteRouteRequestValidationError) Field() string
- func (e DeleteRouteRequestValidationError) Key() bool
- func (e DeleteRouteRequestValidationError) Reason() string
- type DeleteRouteResponse
- func (*DeleteRouteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRouteResponse) GetCode() DeleteRouteCode
- func (*DeleteRouteResponse) ProtoMessage()
- func (x *DeleteRouteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteRouteResponse) Reset()
- func (x *DeleteRouteResponse) String() string
- func (m *DeleteRouteResponse) Validate() error
- func (m *DeleteRouteResponse) ValidateAll() error
- type DeleteRouteResponseMultiError
- type DeleteRouteResponseValidationError
- func (e DeleteRouteResponseValidationError) Cause() error
- func (e DeleteRouteResponseValidationError) Error() string
- func (e DeleteRouteResponseValidationError) ErrorName() string
- func (e DeleteRouteResponseValidationError) Field() string
- func (e DeleteRouteResponseValidationError) Key() bool
- func (e DeleteRouteResponseValidationError) Reason() string
- type DynamicMetadata
- func (*DynamicMetadata) Descriptor() ([]byte, []int)deprecated
- func (*DynamicMetadata) ProtoMessage()
- func (x *DynamicMetadata) ProtoReflect() protoreflect.Message
- func (x *DynamicMetadata) Reset()
- func (x *DynamicMetadata) String() string
- func (m *DynamicMetadata) Validate() error
- func (m *DynamicMetadata) ValidateAll() error
- type DynamicMetadataMultiError
- type DynamicMetadataValidationError
- func (e DynamicMetadataValidationError) Cause() error
- func (e DynamicMetadataValidationError) Error() string
- func (e DynamicMetadataValidationError) ErrorName() string
- func (e DynamicMetadataValidationError) Field() string
- func (e DynamicMetadataValidationError) Key() bool
- func (e DynamicMetadataValidationError) Reason() string
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetHost() string
- func (x *Endpoint) GetPort() uint32
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- func (m *Endpoint) Validate() error
- func (m *Endpoint) ValidateAll() error
- type EndpointMultiError
- type EndpointValidationError
- type GrpcMatchOptions
- func (*GrpcMatchOptions) Descriptor() ([]byte, []int)deprecated
- func (*GrpcMatchOptions) ProtoMessage()
- func (x *GrpcMatchOptions) ProtoReflect() protoreflect.Message
- func (x *GrpcMatchOptions) Reset()
- func (x *GrpcMatchOptions) String() string
- func (m *GrpcMatchOptions) Validate() error
- func (m *GrpcMatchOptions) ValidateAll() error
- type GrpcMatchOptionsMultiError
- type GrpcMatchOptionsValidationError
- func (e GrpcMatchOptionsValidationError) Cause() error
- func (e GrpcMatchOptionsValidationError) Error() string
- func (e GrpcMatchOptionsValidationError) ErrorName() string
- func (e GrpcMatchOptionsValidationError) Field() string
- func (e GrpcMatchOptionsValidationError) Key() bool
- func (e GrpcMatchOptionsValidationError) Reason() string
- type HeaderMatchOptions
- func (*HeaderMatchOptions) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderMatchOptions) GetKey() string
- func (x *HeaderMatchOptions) GetValue() string
- func (*HeaderMatchOptions) ProtoMessage()
- func (x *HeaderMatchOptions) ProtoReflect() protoreflect.Message
- func (x *HeaderMatchOptions) Reset()
- func (x *HeaderMatchOptions) String() string
- func (m *HeaderMatchOptions) Validate() error
- func (m *HeaderMatchOptions) ValidateAll() error
- type HeaderMatchOptionsMultiError
- type HeaderMatchOptionsValidationError
- func (e HeaderMatchOptionsValidationError) Cause() error
- func (e HeaderMatchOptionsValidationError) Error() string
- func (e HeaderMatchOptionsValidationError) ErrorName() string
- func (e HeaderMatchOptionsValidationError) Field() string
- func (e HeaderMatchOptionsValidationError) Key() bool
- func (e HeaderMatchOptionsValidationError) Reason() string
- type ListRoutesRequest
- func (*ListRoutesRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListRoutesRequest) ProtoMessage()
- func (x *ListRoutesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRoutesRequest) Reset()
- func (x *ListRoutesRequest) String() string
- func (m *ListRoutesRequest) Validate() error
- func (m *ListRoutesRequest) ValidateAll() error
- type ListRoutesRequestMultiError
- type ListRoutesRequestValidationError
- func (e ListRoutesRequestValidationError) Cause() error
- func (e ListRoutesRequestValidationError) Error() string
- func (e ListRoutesRequestValidationError) ErrorName() string
- func (e ListRoutesRequestValidationError) Field() string
- func (e ListRoutesRequestValidationError) Key() bool
- func (e ListRoutesRequestValidationError) Reason() string
- type ListRoutesResponse
- func (*ListRoutesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoutesResponse) GetRoutes() []*Route
- func (*ListRoutesResponse) ProtoMessage()
- func (x *ListRoutesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRoutesResponse) Reset()
- func (x *ListRoutesResponse) String() string
- func (m *ListRoutesResponse) Validate() error
- func (m *ListRoutesResponse) ValidateAll() error
- type ListRoutesResponseMultiError
- type ListRoutesResponseValidationError
- func (e ListRoutesResponseValidationError) Cause() error
- func (e ListRoutesResponseValidationError) Error() string
- func (e ListRoutesResponseValidationError) ErrorName() string
- func (e ListRoutesResponseValidationError) Field() string
- func (e ListRoutesResponseValidationError) Key() bool
- func (e ListRoutesResponseValidationError) Reason() string
- type Route
- func (*Route) Descriptor() ([]byte, []int)deprecated
- func (x *Route) GetEnableHttp2() bool
- func (x *Route) GetEndpoint() *Endpoint
- func (x *Route) GetMatch() *RouteMatch
- func (x *Route) GetName() string
- func (*Route) ProtoMessage()
- func (x *Route) ProtoReflect() protoreflect.Message
- func (x *Route) Reset()
- func (x *Route) String() string
- func (m *Route) Validate() error
- func (m *Route) ValidateAll() error
- type RouteMatch
- func (*RouteMatch) Descriptor() ([]byte, []int)deprecated
- func (x *RouteMatch) GetDynamicMetadata() *DynamicMetadata
- func (x *RouteMatch) GetGrpcMatchOptions() *GrpcMatchOptions
- func (x *RouteMatch) GetHeaders() *HeaderMatchOptions
- func (x *RouteMatch) GetHost() string
- func (x *RouteMatch) GetPrefix() string
- func (*RouteMatch) ProtoMessage()
- func (x *RouteMatch) ProtoReflect() protoreflect.Message
- func (x *RouteMatch) Reset()
- func (x *RouteMatch) String() string
- func (m *RouteMatch) Validate() error
- func (m *RouteMatch) ValidateAll() error
- type RouteMatchMultiError
- type RouteMatchValidationError
- type RouteMultiError
- type RouteValidationError
Constants ¶
This section is empty.
Variables ¶
var ( AddRouteResponseCode_name = map[int32]string{ 0: "INVALID_ADD_ROUTE_RESPONSE_CODE", 1: "OK", 2: "ERROR", 3: "INVALID_REQUEST", } AddRouteResponseCode_value = map[string]int32{ "INVALID_ADD_ROUTE_RESPONSE_CODE": 0, "OK": 1, "ERROR": 2, "INVALID_REQUEST": 3, } )
Enum value maps for AddRouteResponseCode.
var ( DeleteRouteCode_name = map[int32]string{ 0: "INVALID_DELETE_ROUTE_RESPONSE_CODE", 1: "DELETE_ROUTE_OK", 2: "DELETE_ROUTE_ERROR", } DeleteRouteCode_value = map[string]int32{ "INVALID_DELETE_ROUTE_RESPONSE_CODE": 0, "DELETE_ROUTE_OK": 1, "DELETE_ROUTE_ERROR": 2, } )
Enum value maps for DeleteRouteCode.
var File_core_control_plane_networking_v1_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AddRouteRequest ¶
type AddRouteRequest struct { // should this be the route type from envoy config. So that I can use the same proto // or should I make an internal proto and convert them back and forth // An advantage of using the envoy `Route` proto is that it's already ubuqitous in the // wild. A disadvantage is that it's a bit more complex than what I need. Route *Route `protobuf:"bytes,1,opt,name=route,proto3" json:"route" bun:"route" csv:"route" pg:"route" yaml:"route"` // contains filtered or unexported fields }
AddRouteRequest - Add a route to the networking configuration
func (*AddRouteRequest) Descriptor
deprecated
func (*AddRouteRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRouteRequest.ProtoReflect.Descriptor instead.
func (*AddRouteRequest) GetRoute ¶
func (x *AddRouteRequest) GetRoute() *Route
func (*AddRouteRequest) ProtoMessage ¶
func (*AddRouteRequest) ProtoMessage()
func (*AddRouteRequest) ProtoReflect ¶
func (x *AddRouteRequest) ProtoReflect() protoreflect.Message
func (*AddRouteRequest) Reset ¶
func (x *AddRouteRequest) Reset()
func (*AddRouteRequest) String ¶
func (x *AddRouteRequest) String() string
func (*AddRouteRequest) Validate ¶
func (m *AddRouteRequest) Validate() error
Validate checks the field values on AddRouteRequest 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 (*AddRouteRequest) ValidateAll ¶
func (m *AddRouteRequest) ValidateAll() error
ValidateAll checks the field values on AddRouteRequest 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 AddRouteRequestMultiError, or nil if none found.
type AddRouteRequestMultiError ¶
type AddRouteRequestMultiError []error
AddRouteRequestMultiError is an error wrapping multiple validation errors returned by AddRouteRequest.ValidateAll() if the designated constraints aren't met.
func (AddRouteRequestMultiError) AllErrors ¶
func (m AddRouteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddRouteRequestMultiError) Error ¶
func (m AddRouteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddRouteRequestValidationError ¶
type AddRouteRequestValidationError struct {
// contains filtered or unexported fields
}
AddRouteRequestValidationError is the validation error returned by AddRouteRequest.Validate if the designated constraints aren't met.
func (AddRouteRequestValidationError) Cause ¶
func (e AddRouteRequestValidationError) Cause() error
Cause function returns cause value.
func (AddRouteRequestValidationError) Error ¶
func (e AddRouteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddRouteRequestValidationError) ErrorName ¶
func (e AddRouteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddRouteRequestValidationError) Field ¶
func (e AddRouteRequestValidationError) Field() string
Field function returns field value.
func (AddRouteRequestValidationError) Key ¶
func (e AddRouteRequestValidationError) Key() bool
Key function returns key value.
func (AddRouteRequestValidationError) Reason ¶
func (e AddRouteRequestValidationError) Reason() string
Reason function returns reason value.
type AddRouteResponse ¶
type AddRouteResponse struct { Code AddRouteResponseCode `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
AddRouteResponse - Response to adding a route to the networking configuration. Just because a message was received doesn't mean it was successful. The `code` field is used to determine the success of the route entry.
func (*AddRouteResponse) Descriptor
deprecated
func (*AddRouteResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddRouteResponse.ProtoReflect.Descriptor instead.
func (*AddRouteResponse) GetCode ¶
func (x *AddRouteResponse) GetCode() AddRouteResponseCode
func (*AddRouteResponse) ProtoMessage ¶
func (*AddRouteResponse) ProtoMessage()
func (*AddRouteResponse) ProtoReflect ¶
func (x *AddRouteResponse) ProtoReflect() protoreflect.Message
func (*AddRouteResponse) Reset ¶
func (x *AddRouteResponse) Reset()
func (*AddRouteResponse) String ¶
func (x *AddRouteResponse) String() string
func (*AddRouteResponse) Validate ¶
func (m *AddRouteResponse) Validate() error
Validate checks the field values on AddRouteResponse 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 (*AddRouteResponse) ValidateAll ¶
func (m *AddRouteResponse) ValidateAll() error
ValidateAll checks the field values on AddRouteResponse 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 AddRouteResponseMultiError, or nil if none found.
type AddRouteResponseCode ¶
type AddRouteResponseCode int32
const ( AddRouteResponseCode_INVALID_ADD_ROUTE_RESPONSE_CODE AddRouteResponseCode = 0 AddRouteResponseCode_OK AddRouteResponseCode = 1 AddRouteResponseCode_ERROR AddRouteResponseCode = 2 AddRouteResponseCode_INVALID_REQUEST AddRouteResponseCode = 3 )
func (AddRouteResponseCode) Descriptor ¶
func (AddRouteResponseCode) Descriptor() protoreflect.EnumDescriptor
func (AddRouteResponseCode) Enum ¶
func (x AddRouteResponseCode) Enum() *AddRouteResponseCode
func (AddRouteResponseCode) EnumDescriptor
deprecated
func (AddRouteResponseCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AddRouteResponseCode.Descriptor instead.
func (AddRouteResponseCode) Number ¶
func (x AddRouteResponseCode) Number() protoreflect.EnumNumber
func (AddRouteResponseCode) String ¶
func (x AddRouteResponseCode) String() string
func (AddRouteResponseCode) Type ¶
func (AddRouteResponseCode) Type() protoreflect.EnumType
type AddRouteResponseMultiError ¶
type AddRouteResponseMultiError []error
AddRouteResponseMultiError is an error wrapping multiple validation errors returned by AddRouteResponse.ValidateAll() if the designated constraints aren't met.
func (AddRouteResponseMultiError) AllErrors ¶
func (m AddRouteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddRouteResponseMultiError) Error ¶
func (m AddRouteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddRouteResponseValidationError ¶
type AddRouteResponseValidationError struct {
// contains filtered or unexported fields
}
AddRouteResponseValidationError is the validation error returned by AddRouteResponse.Validate if the designated constraints aren't met.
func (AddRouteResponseValidationError) Cause ¶
func (e AddRouteResponseValidationError) Cause() error
Cause function returns cause value.
func (AddRouteResponseValidationError) Error ¶
func (e AddRouteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddRouteResponseValidationError) ErrorName ¶
func (e AddRouteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddRouteResponseValidationError) Field ¶
func (e AddRouteResponseValidationError) Field() string
Field function returns field value.
func (AddRouteResponseValidationError) Key ¶
func (e AddRouteResponseValidationError) Key() bool
Key function returns key value.
func (AddRouteResponseValidationError) Reason ¶
func (e AddRouteResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteRouteCode ¶
type DeleteRouteCode int32
const ( DeleteRouteCode_INVALID_DELETE_ROUTE_RESPONSE_CODE DeleteRouteCode = 0 DeleteRouteCode_DELETE_ROUTE_OK DeleteRouteCode = 1 DeleteRouteCode_DELETE_ROUTE_ERROR DeleteRouteCode = 2 )
func (DeleteRouteCode) Descriptor ¶
func (DeleteRouteCode) Descriptor() protoreflect.EnumDescriptor
func (DeleteRouteCode) Enum ¶
func (x DeleteRouteCode) Enum() *DeleteRouteCode
func (DeleteRouteCode) EnumDescriptor
deprecated
func (DeleteRouteCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeleteRouteCode.Descriptor instead.
func (DeleteRouteCode) Number ¶
func (x DeleteRouteCode) Number() protoreflect.EnumNumber
func (DeleteRouteCode) String ¶
func (x DeleteRouteCode) String() string
func (DeleteRouteCode) Type ¶
func (DeleteRouteCode) Type() protoreflect.EnumType
type DeleteRouteRequest ¶
type DeleteRouteRequest struct { // route names must be unique making name the primary identifier of a route Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" bun:"name" csv:"name" pg:"name" yaml:"name"` // contains filtered or unexported fields }
func (*DeleteRouteRequest) Descriptor
deprecated
func (*DeleteRouteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRouteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRouteRequest) GetName ¶
func (x *DeleteRouteRequest) GetName() string
func (*DeleteRouteRequest) ProtoMessage ¶
func (*DeleteRouteRequest) ProtoMessage()
func (*DeleteRouteRequest) ProtoReflect ¶
func (x *DeleteRouteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRouteRequest) Reset ¶
func (x *DeleteRouteRequest) Reset()
func (*DeleteRouteRequest) String ¶
func (x *DeleteRouteRequest) String() string
func (*DeleteRouteRequest) Validate ¶
func (m *DeleteRouteRequest) Validate() error
Validate checks the field values on DeleteRouteRequest 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 (*DeleteRouteRequest) ValidateAll ¶
func (m *DeleteRouteRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRouteRequest 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 DeleteRouteRequestMultiError, or nil if none found.
type DeleteRouteRequestMultiError ¶
type DeleteRouteRequestMultiError []error
DeleteRouteRequestMultiError is an error wrapping multiple validation errors returned by DeleteRouteRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRouteRequestMultiError) AllErrors ¶
func (m DeleteRouteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRouteRequestMultiError) Error ¶
func (m DeleteRouteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRouteRequestValidationError ¶
type DeleteRouteRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteRouteRequestValidationError is the validation error returned by DeleteRouteRequest.Validate if the designated constraints aren't met.
func (DeleteRouteRequestValidationError) Cause ¶
func (e DeleteRouteRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRouteRequestValidationError) Error ¶
func (e DeleteRouteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRouteRequestValidationError) ErrorName ¶
func (e DeleteRouteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRouteRequestValidationError) Field ¶
func (e DeleteRouteRequestValidationError) Field() string
Field function returns field value.
func (DeleteRouteRequestValidationError) Key ¶
func (e DeleteRouteRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRouteRequestValidationError) Reason ¶
func (e DeleteRouteRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteRouteResponse ¶
type DeleteRouteResponse struct { Code DeleteRouteCode `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeleteRouteResponse) Descriptor
deprecated
func (*DeleteRouteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRouteResponse.ProtoReflect.Descriptor instead.
func (*DeleteRouteResponse) GetCode ¶
func (x *DeleteRouteResponse) GetCode() DeleteRouteCode
func (*DeleteRouteResponse) ProtoMessage ¶
func (*DeleteRouteResponse) ProtoMessage()
func (*DeleteRouteResponse) ProtoReflect ¶
func (x *DeleteRouteResponse) ProtoReflect() protoreflect.Message
func (*DeleteRouteResponse) Reset ¶
func (x *DeleteRouteResponse) Reset()
func (*DeleteRouteResponse) String ¶
func (x *DeleteRouteResponse) String() string
func (*DeleteRouteResponse) Validate ¶
func (m *DeleteRouteResponse) Validate() error
Validate checks the field values on DeleteRouteResponse 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 (*DeleteRouteResponse) ValidateAll ¶
func (m *DeleteRouteResponse) ValidateAll() error
ValidateAll checks the field values on DeleteRouteResponse 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 DeleteRouteResponseMultiError, or nil if none found.
type DeleteRouteResponseMultiError ¶
type DeleteRouteResponseMultiError []error
DeleteRouteResponseMultiError is an error wrapping multiple validation errors returned by DeleteRouteResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteRouteResponseMultiError) AllErrors ¶
func (m DeleteRouteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRouteResponseMultiError) Error ¶
func (m DeleteRouteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRouteResponseValidationError ¶
type DeleteRouteResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteRouteResponseValidationError is the validation error returned by DeleteRouteResponse.Validate if the designated constraints aren't met.
func (DeleteRouteResponseValidationError) Cause ¶
func (e DeleteRouteResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteRouteResponseValidationError) Error ¶
func (e DeleteRouteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRouteResponseValidationError) ErrorName ¶
func (e DeleteRouteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRouteResponseValidationError) Field ¶
func (e DeleteRouteResponseValidationError) Field() string
Field function returns field value.
func (DeleteRouteResponseValidationError) Key ¶
func (e DeleteRouteResponseValidationError) Key() bool
Key function returns key value.
func (DeleteRouteResponseValidationError) Reason ¶
func (e DeleteRouteResponseValidationError) Reason() string
Reason function returns reason value.
type DynamicMetadata ¶
type DynamicMetadata struct {
// contains filtered or unexported fields
}
DynamicMetadata - Specifies a set of dynamic metadata that a route must match. Dynamic metadata can be used in a variety of ways and is a powerful feature of envoy `fuse` will most likely use this feature to add additional information to the route. TODO -> implement pre 2.0 relase of `fuse`
func (*DynamicMetadata) Descriptor
deprecated
func (*DynamicMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DynamicMetadata.ProtoReflect.Descriptor instead.
func (*DynamicMetadata) ProtoMessage ¶
func (*DynamicMetadata) ProtoMessage()
func (*DynamicMetadata) ProtoReflect ¶
func (x *DynamicMetadata) ProtoReflect() protoreflect.Message
func (*DynamicMetadata) Reset ¶
func (x *DynamicMetadata) Reset()
func (*DynamicMetadata) String ¶
func (x *DynamicMetadata) String() string
func (*DynamicMetadata) Validate ¶
func (m *DynamicMetadata) Validate() error
Validate checks the field values on DynamicMetadata 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 (*DynamicMetadata) ValidateAll ¶
func (m *DynamicMetadata) ValidateAll() error
ValidateAll checks the field values on DynamicMetadata 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 DynamicMetadataMultiError, or nil if none found.
type DynamicMetadataMultiError ¶
type DynamicMetadataMultiError []error
DynamicMetadataMultiError is an error wrapping multiple validation errors returned by DynamicMetadata.ValidateAll() if the designated constraints aren't met.
func (DynamicMetadataMultiError) AllErrors ¶
func (m DynamicMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DynamicMetadataMultiError) Error ¶
func (m DynamicMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DynamicMetadataValidationError ¶
type DynamicMetadataValidationError struct {
// contains filtered or unexported fields
}
DynamicMetadataValidationError is the validation error returned by DynamicMetadata.Validate if the designated constraints aren't met.
func (DynamicMetadataValidationError) Cause ¶
func (e DynamicMetadataValidationError) Cause() error
Cause function returns cause value.
func (DynamicMetadataValidationError) Error ¶
func (e DynamicMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (DynamicMetadataValidationError) ErrorName ¶
func (e DynamicMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (DynamicMetadataValidationError) Field ¶
func (e DynamicMetadataValidationError) Field() string
Field function returns field value.
func (DynamicMetadataValidationError) Key ¶
func (e DynamicMetadataValidationError) Key() bool
Key function returns key value.
func (DynamicMetadataValidationError) Reason ¶
func (e DynamicMetadataValidationError) Reason() string
Reason function returns reason value.
type Endpoint ¶ added in v0.3.1
type Endpoint struct { // host represents the address of the endpoint (upstream). can be either a hostname or an ip address Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host" bun:"host" csv:"host" pg:"host" yaml:"host"` // port represents the port on the host of the endpoint (upstream) Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port" bun:"port" csv:"port" pg:"port" yaml:"port"` // contains filtered or unexported fields }
parameters for the endpoint a route will map to
func (*Endpoint) Descriptor
deprecated
added in
v0.3.1
func (*Endpoint) ProtoMessage ¶ added in v0.3.1
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶ added in v0.3.1
func (x *Endpoint) ProtoReflect() protoreflect.Message
func (*Endpoint) Validate ¶ added in v0.3.1
Validate checks the field values on Endpoint 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 (*Endpoint) ValidateAll ¶ added in v0.3.1
ValidateAll checks the field values on Endpoint 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 EndpointMultiError, or nil if none found.
type EndpointMultiError ¶ added in v0.3.1
type EndpointMultiError []error
EndpointMultiError is an error wrapping multiple validation errors returned by Endpoint.ValidateAll() if the designated constraints aren't met.
func (EndpointMultiError) AllErrors ¶ added in v0.3.1
func (m EndpointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EndpointMultiError) Error ¶ added in v0.3.1
func (m EndpointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EndpointValidationError ¶ added in v0.3.1
type EndpointValidationError struct {
// contains filtered or unexported fields
}
EndpointValidationError is the validation error returned by Endpoint.Validate if the designated constraints aren't met.
func (EndpointValidationError) Cause ¶ added in v0.3.1
func (e EndpointValidationError) Cause() error
Cause function returns cause value.
func (EndpointValidationError) Error ¶ added in v0.3.1
func (e EndpointValidationError) Error() string
Error satisfies the builtin error interface
func (EndpointValidationError) ErrorName ¶ added in v0.3.1
func (e EndpointValidationError) ErrorName() string
ErrorName returns error name.
func (EndpointValidationError) Field ¶ added in v0.3.1
func (e EndpointValidationError) Field() string
Field function returns field value.
func (EndpointValidationError) Key ¶ added in v0.3.1
func (e EndpointValidationError) Key() bool
Key function returns key value.
func (EndpointValidationError) Reason ¶ added in v0.3.1
func (e EndpointValidationError) Reason() string
Reason function returns reason value.
type GrpcMatchOptions ¶
type GrpcMatchOptions struct {
// contains filtered or unexported fields
}
GrpcMatchOptions - Options to simplify the matching of a route for grpc. Most request will be grpc and this configuration should make the integration easier. TODO -> implement pre 1.0 relase of `fuse`
func (*GrpcMatchOptions) Descriptor
deprecated
func (*GrpcMatchOptions) Descriptor() ([]byte, []int)
Deprecated: Use GrpcMatchOptions.ProtoReflect.Descriptor instead.
func (*GrpcMatchOptions) ProtoMessage ¶
func (*GrpcMatchOptions) ProtoMessage()
func (*GrpcMatchOptions) ProtoReflect ¶
func (x *GrpcMatchOptions) ProtoReflect() protoreflect.Message
func (*GrpcMatchOptions) Reset ¶
func (x *GrpcMatchOptions) Reset()
func (*GrpcMatchOptions) String ¶
func (x *GrpcMatchOptions) String() string
func (*GrpcMatchOptions) Validate ¶
func (m *GrpcMatchOptions) Validate() error
Validate checks the field values on GrpcMatchOptions 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 (*GrpcMatchOptions) ValidateAll ¶
func (m *GrpcMatchOptions) ValidateAll() error
ValidateAll checks the field values on GrpcMatchOptions 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 GrpcMatchOptionsMultiError, or nil if none found.
type GrpcMatchOptionsMultiError ¶
type GrpcMatchOptionsMultiError []error
GrpcMatchOptionsMultiError is an error wrapping multiple validation errors returned by GrpcMatchOptions.ValidateAll() if the designated constraints aren't met.
func (GrpcMatchOptionsMultiError) AllErrors ¶
func (m GrpcMatchOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrpcMatchOptionsMultiError) Error ¶
func (m GrpcMatchOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrpcMatchOptionsValidationError ¶
type GrpcMatchOptionsValidationError struct {
// contains filtered or unexported fields
}
GrpcMatchOptionsValidationError is the validation error returned by GrpcMatchOptions.Validate if the designated constraints aren't met.
func (GrpcMatchOptionsValidationError) Cause ¶
func (e GrpcMatchOptionsValidationError) Cause() error
Cause function returns cause value.
func (GrpcMatchOptionsValidationError) Error ¶
func (e GrpcMatchOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (GrpcMatchOptionsValidationError) ErrorName ¶
func (e GrpcMatchOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (GrpcMatchOptionsValidationError) Field ¶
func (e GrpcMatchOptionsValidationError) Field() string
Field function returns field value.
func (GrpcMatchOptionsValidationError) Key ¶
func (e GrpcMatchOptionsValidationError) Key() bool
Key function returns key value.
func (GrpcMatchOptionsValidationError) Reason ¶
func (e GrpcMatchOptionsValidationError) Reason() string
Reason function returns reason value.
type HeaderMatchOptions ¶
type HeaderMatchOptions struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key" bun:"key" csv:"key" pg:"key" yaml:"key"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value" bun:"value" csv:"value" pg:"value" yaml:"value"` // contains filtered or unexported fields }
consider using the `key/value` from `blueprint` key/value store TODO -> implement pre 1.0 relase of `fuse`
func (*HeaderMatchOptions) Descriptor
deprecated
func (*HeaderMatchOptions) Descriptor() ([]byte, []int)
Deprecated: Use HeaderMatchOptions.ProtoReflect.Descriptor instead.
func (*HeaderMatchOptions) GetKey ¶
func (x *HeaderMatchOptions) GetKey() string
func (*HeaderMatchOptions) GetValue ¶
func (x *HeaderMatchOptions) GetValue() string
func (*HeaderMatchOptions) ProtoMessage ¶
func (*HeaderMatchOptions) ProtoMessage()
func (*HeaderMatchOptions) ProtoReflect ¶
func (x *HeaderMatchOptions) ProtoReflect() protoreflect.Message
func (*HeaderMatchOptions) Reset ¶
func (x *HeaderMatchOptions) Reset()
func (*HeaderMatchOptions) String ¶
func (x *HeaderMatchOptions) String() string
func (*HeaderMatchOptions) Validate ¶
func (m *HeaderMatchOptions) Validate() error
Validate checks the field values on HeaderMatchOptions 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 (*HeaderMatchOptions) ValidateAll ¶
func (m *HeaderMatchOptions) ValidateAll() error
ValidateAll checks the field values on HeaderMatchOptions 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 HeaderMatchOptionsMultiError, or nil if none found.
type HeaderMatchOptionsMultiError ¶
type HeaderMatchOptionsMultiError []error
HeaderMatchOptionsMultiError is an error wrapping multiple validation errors returned by HeaderMatchOptions.ValidateAll() if the designated constraints aren't met.
func (HeaderMatchOptionsMultiError) AllErrors ¶
func (m HeaderMatchOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeaderMatchOptionsMultiError) Error ¶
func (m HeaderMatchOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HeaderMatchOptionsValidationError ¶
type HeaderMatchOptionsValidationError struct {
// contains filtered or unexported fields
}
HeaderMatchOptionsValidationError is the validation error returned by HeaderMatchOptions.Validate if the designated constraints aren't met.
func (HeaderMatchOptionsValidationError) Cause ¶
func (e HeaderMatchOptionsValidationError) Cause() error
Cause function returns cause value.
func (HeaderMatchOptionsValidationError) Error ¶
func (e HeaderMatchOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (HeaderMatchOptionsValidationError) ErrorName ¶
func (e HeaderMatchOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (HeaderMatchOptionsValidationError) Field ¶
func (e HeaderMatchOptionsValidationError) Field() string
Field function returns field value.
func (HeaderMatchOptionsValidationError) Key ¶
func (e HeaderMatchOptionsValidationError) Key() bool
Key function returns key value.
func (HeaderMatchOptionsValidationError) Reason ¶
func (e HeaderMatchOptionsValidationError) Reason() string
Reason function returns reason value.
type ListRoutesRequest ¶
type ListRoutesRequest struct {
// contains filtered or unexported fields
}
func (*ListRoutesRequest) Descriptor
deprecated
func (*ListRoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoutesRequest.ProtoReflect.Descriptor instead.
func (*ListRoutesRequest) ProtoMessage ¶
func (*ListRoutesRequest) ProtoMessage()
func (*ListRoutesRequest) ProtoReflect ¶
func (x *ListRoutesRequest) ProtoReflect() protoreflect.Message
func (*ListRoutesRequest) Reset ¶
func (x *ListRoutesRequest) Reset()
func (*ListRoutesRequest) String ¶
func (x *ListRoutesRequest) String() string
func (*ListRoutesRequest) Validate ¶
func (m *ListRoutesRequest) Validate() error
Validate checks the field values on ListRoutesRequest 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 (*ListRoutesRequest) ValidateAll ¶
func (m *ListRoutesRequest) ValidateAll() error
ValidateAll checks the field values on ListRoutesRequest 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 ListRoutesRequestMultiError, or nil if none found.
type ListRoutesRequestMultiError ¶
type ListRoutesRequestMultiError []error
ListRoutesRequestMultiError is an error wrapping multiple validation errors returned by ListRoutesRequest.ValidateAll() if the designated constraints aren't met.
func (ListRoutesRequestMultiError) AllErrors ¶
func (m ListRoutesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRoutesRequestMultiError) Error ¶
func (m ListRoutesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRoutesRequestValidationError ¶
type ListRoutesRequestValidationError struct {
// contains filtered or unexported fields
}
ListRoutesRequestValidationError is the validation error returned by ListRoutesRequest.Validate if the designated constraints aren't met.
func (ListRoutesRequestValidationError) Cause ¶
func (e ListRoutesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListRoutesRequestValidationError) Error ¶
func (e ListRoutesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListRoutesRequestValidationError) ErrorName ¶
func (e ListRoutesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListRoutesRequestValidationError) Field ¶
func (e ListRoutesRequestValidationError) Field() string
Field function returns field value.
func (ListRoutesRequestValidationError) Key ¶
func (e ListRoutesRequestValidationError) Key() bool
Key function returns key value.
func (ListRoutesRequestValidationError) Reason ¶
func (e ListRoutesRequestValidationError) Reason() string
Reason function returns reason value.
type ListRoutesResponse ¶
type ListRoutesResponse struct { Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes" bun:"routes" csv:"routes" pg:"routes" yaml:"routes"` // contains filtered or unexported fields }
func (*ListRoutesResponse) Descriptor
deprecated
func (*ListRoutesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRoutesResponse.ProtoReflect.Descriptor instead.
func (*ListRoutesResponse) GetRoutes ¶
func (x *ListRoutesResponse) GetRoutes() []*Route
func (*ListRoutesResponse) ProtoMessage ¶
func (*ListRoutesResponse) ProtoMessage()
func (*ListRoutesResponse) ProtoReflect ¶
func (x *ListRoutesResponse) ProtoReflect() protoreflect.Message
func (*ListRoutesResponse) Reset ¶
func (x *ListRoutesResponse) Reset()
func (*ListRoutesResponse) String ¶
func (x *ListRoutesResponse) String() string
func (*ListRoutesResponse) Validate ¶
func (m *ListRoutesResponse) Validate() error
Validate checks the field values on ListRoutesResponse 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 (*ListRoutesResponse) ValidateAll ¶
func (m *ListRoutesResponse) ValidateAll() error
ValidateAll checks the field values on ListRoutesResponse 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 ListRoutesResponseMultiError, or nil if none found.
type ListRoutesResponseMultiError ¶
type ListRoutesResponseMultiError []error
ListRoutesResponseMultiError is an error wrapping multiple validation errors returned by ListRoutesResponse.ValidateAll() if the designated constraints aren't met.
func (ListRoutesResponseMultiError) AllErrors ¶
func (m ListRoutesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRoutesResponseMultiError) Error ¶
func (m ListRoutesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRoutesResponseValidationError ¶
type ListRoutesResponseValidationError struct {
// contains filtered or unexported fields
}
ListRoutesResponseValidationError is the validation error returned by ListRoutesResponse.Validate if the designated constraints aren't met.
func (ListRoutesResponseValidationError) Cause ¶
func (e ListRoutesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListRoutesResponseValidationError) Error ¶
func (e ListRoutesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListRoutesResponseValidationError) ErrorName ¶
func (e ListRoutesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListRoutesResponseValidationError) Field ¶
func (e ListRoutesResponseValidationError) Field() string
Field function returns field value.
func (ListRoutesResponseValidationError) Key ¶
func (e ListRoutesResponseValidationError) Key() bool
Key function returns key value.
func (ListRoutesResponseValidationError) Reason ¶
func (e ListRoutesResponseValidationError) Reason() string
Reason function returns reason value.
type Route ¶
type Route struct { // Name for the route Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" bun:"name" csv:"name" pg:"name" yaml:"name"` // Route matching parameters Match *RouteMatch `protobuf:"bytes,2,opt,name=match,proto3" json:"match" bun:"match" csv:"match" pg:"match" yaml:"match"` // Endpoint parameters Endpoint *Endpoint `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint" bun:"endpoint" csv:"endpoint" pg:"endpoint" yaml:"endpoint"` // EnableHTTP2 enables HTTP2 support EnableHttp2 bool `` /* 166-byte string literal not displayed */ // contains filtered or unexported fields }
Route - Close match to the `Route` proto in envoy. Anything that can't be inferred by the draft framework needs to be added by the `process` adding the route configuration.
The process will register individual routes, while cluster and virtual host configuration will be handled by the framework. current integration is `process` -> `fuse` -> `envoy`
func (*Route) Descriptor
deprecated
func (*Route) GetEnableHttp2 ¶ added in v0.3.2
func (*Route) GetEndpoint ¶ added in v0.3.1
func (*Route) GetMatch ¶
func (x *Route) GetMatch() *RouteMatch
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶
func (x *Route) ProtoReflect() protoreflect.Message
func (*Route) Validate ¶
Validate checks the field values on Route 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 (*Route) ValidateAll ¶
ValidateAll checks the field values on Route 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 RouteMultiError, or nil if none found.
type RouteMatch ¶
type RouteMatch struct { // domains for the url a configured in `fuse` but the path to be matched of a route is configured by the `process` // (ie. api.draft.com/health -> /health) Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix" bun:"prefix" csv:"prefix" pg:"prefix" yaml:"prefix"` // option to match headers of a request // TODO -> implement pre 1.0 relase of `fuse` Headers *HeaderMatchOptions `protobuf:"bytes,2,opt,name=headers,proto3,oneof" json:"headers" bun:"headers" csv:"headers" pg:"headers" yaml:"headers"` // options to simplify the matching of a route for grpc. Most request will be grpc and this configuration // makes that integration easier. // TODO -> implement pre 1.0 relase of `fuse` GrpcMatchOptions *GrpcMatchOptions `` /* 207-byte string literal not displayed */ // REF: Envoy // Specifies a set of dynamic metadata that a route must match. // The router will check the dynamic metadata against all the specified dynamic metadata matchers. // If the number of specified dynamic metadata matchers is nonzero, they all must match the // dynamic metadata for a match to occur. // TODO -> implement pre 2.0 relase of `fuse` DynamicMetadata *DynamicMetadata `` /* 194-byte string literal not displayed */ // Host address for the route Host string `protobuf:"bytes,5,opt,name=host,proto3" json:"host" bun:"host" csv:"host" pg:"host" yaml:"host"` // contains filtered or unexported fields }
parameters for matching a route
func (*RouteMatch) Descriptor
deprecated
func (*RouteMatch) Descriptor() ([]byte, []int)
Deprecated: Use RouteMatch.ProtoReflect.Descriptor instead.
func (*RouteMatch) GetDynamicMetadata ¶
func (x *RouteMatch) GetDynamicMetadata() *DynamicMetadata
func (*RouteMatch) GetGrpcMatchOptions ¶
func (x *RouteMatch) GetGrpcMatchOptions() *GrpcMatchOptions
func (*RouteMatch) GetHeaders ¶
func (x *RouteMatch) GetHeaders() *HeaderMatchOptions
func (*RouteMatch) GetHost ¶ added in v0.3.1
func (x *RouteMatch) GetHost() string
func (*RouteMatch) GetPrefix ¶
func (x *RouteMatch) GetPrefix() string
func (*RouteMatch) ProtoMessage ¶
func (*RouteMatch) ProtoMessage()
func (*RouteMatch) ProtoReflect ¶
func (x *RouteMatch) ProtoReflect() protoreflect.Message
func (*RouteMatch) Reset ¶
func (x *RouteMatch) Reset()
func (*RouteMatch) String ¶
func (x *RouteMatch) String() string
func (*RouteMatch) Validate ¶
func (m *RouteMatch) Validate() error
Validate checks the field values on RouteMatch 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 (*RouteMatch) ValidateAll ¶
func (m *RouteMatch) ValidateAll() error
ValidateAll checks the field values on RouteMatch 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 RouteMatchMultiError, or nil if none found.
type RouteMatchMultiError ¶
type RouteMatchMultiError []error
RouteMatchMultiError is an error wrapping multiple validation errors returned by RouteMatch.ValidateAll() if the designated constraints aren't met.
func (RouteMatchMultiError) AllErrors ¶
func (m RouteMatchMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RouteMatchMultiError) Error ¶
func (m RouteMatchMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RouteMatchValidationError ¶
type RouteMatchValidationError struct {
// contains filtered or unexported fields
}
RouteMatchValidationError is the validation error returned by RouteMatch.Validate if the designated constraints aren't met.
func (RouteMatchValidationError) Cause ¶
func (e RouteMatchValidationError) Cause() error
Cause function returns cause value.
func (RouteMatchValidationError) Error ¶
func (e RouteMatchValidationError) Error() string
Error satisfies the builtin error interface
func (RouteMatchValidationError) ErrorName ¶
func (e RouteMatchValidationError) ErrorName() string
ErrorName returns error name.
func (RouteMatchValidationError) Field ¶
func (e RouteMatchValidationError) Field() string
Field function returns field value.
func (RouteMatchValidationError) Key ¶
func (e RouteMatchValidationError) Key() bool
Key function returns key value.
func (RouteMatchValidationError) Reason ¶
func (e RouteMatchValidationError) Reason() string
Reason function returns reason value.
type RouteMultiError ¶
type RouteMultiError []error
RouteMultiError is an error wrapping multiple validation errors returned by Route.ValidateAll() if the designated constraints aren't met.
func (RouteMultiError) AllErrors ¶
func (m RouteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RouteMultiError) Error ¶
func (m RouteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RouteValidationError ¶
type RouteValidationError struct {
// contains filtered or unexported fields
}
RouteValidationError is the validation error returned by Route.Validate if the designated constraints aren't met.
func (RouteValidationError) Cause ¶
func (e RouteValidationError) Cause() error
Cause function returns cause value.
func (RouteValidationError) Error ¶
func (e RouteValidationError) Error() string
Error satisfies the builtin error interface
func (RouteValidationError) ErrorName ¶
func (e RouteValidationError) ErrorName() string
ErrorName returns error name.
func (RouteValidationError) Field ¶
func (e RouteValidationError) Field() string
Field function returns field value.
func (RouteValidationError) Key ¶
func (e RouteValidationError) Key() bool
Key function returns key value.
func (RouteValidationError) Reason ¶
func (e RouteValidationError) Reason() string
Reason function returns reason value.