Documentation ¶
Index ¶
- Variables
- type KeyValue
- func (*KeyValue) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValue) GetKey() string
- func (x *KeyValue) GetValue() string
- func (*KeyValue) ProtoMessage()
- func (x *KeyValue) ProtoReflect() protoreflect.Message
- func (x *KeyValue) Reset()
- func (x *KeyValue) String() string
- func (m *KeyValue) Validate() error
- func (m *KeyValue) ValidateAll() error
- type KeyValueMultiError
- type KeyValueValidationError
- type Route
- func (*Route) Descriptor() ([]byte, []int)deprecated
- func (x *Route) GetMatch() *RouteMatch
- func (x *Route) GetName() string
- func (x *Route) GetRequestMutation() []*KeyValue
- func (x *Route) GetResponseMutation() []*KeyValue
- func (x *Route) GetRoute() *RouteAction
- 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 RouteAction
- func (*RouteAction) Descriptor() ([]byte, []int)deprecated
- func (x *RouteAction) GetCluster() string
- func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier
- func (x *RouteAction) GetHashPolicy() []string
- func (x *RouteAction) GetRequestMirrorPolicies() []*RouteAction_RequestMirrorPolicy
- func (x *RouteAction) GetWeightedClusters() *v3.WeightedCluster
- func (*RouteAction) ProtoMessage()
- func (x *RouteAction) ProtoReflect() protoreflect.Message
- func (x *RouteAction) Reset()
- func (x *RouteAction) String() string
- func (m *RouteAction) Validate() error
- func (m *RouteAction) ValidateAll() error
- type RouteActionMultiError
- type RouteActionValidationError
- func (e RouteActionValidationError) Cause() error
- func (e RouteActionValidationError) Error() string
- func (e RouteActionValidationError) ErrorName() string
- func (e RouteActionValidationError) Field() string
- func (e RouteActionValidationError) Key() bool
- func (e RouteActionValidationError) Reason() string
- type RouteAction_Cluster
- type RouteAction_RequestMirrorPolicy
- func (*RouteAction_RequestMirrorPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *RouteAction_RequestMirrorPolicy) GetCluster() string
- func (x *RouteAction_RequestMirrorPolicy) GetRuntimeFraction() *v31.RuntimeFractionalPercent
- func (*RouteAction_RequestMirrorPolicy) ProtoMessage()
- func (x *RouteAction_RequestMirrorPolicy) ProtoReflect() protoreflect.Message
- func (x *RouteAction_RequestMirrorPolicy) Reset()
- func (x *RouteAction_RequestMirrorPolicy) String() string
- func (m *RouteAction_RequestMirrorPolicy) Validate() error
- func (m *RouteAction_RequestMirrorPolicy) ValidateAll() error
- type RouteAction_RequestMirrorPolicyMultiError
- type RouteAction_RequestMirrorPolicyValidationError
- func (e RouteAction_RequestMirrorPolicyValidationError) Cause() error
- func (e RouteAction_RequestMirrorPolicyValidationError) Error() string
- func (e RouteAction_RequestMirrorPolicyValidationError) ErrorName() string
- func (e RouteAction_RequestMirrorPolicyValidationError) Field() string
- func (e RouteAction_RequestMirrorPolicyValidationError) Key() bool
- func (e RouteAction_RequestMirrorPolicyValidationError) Reason() string
- type RouteAction_WeightedClusters
- type RouteConfiguration
- func (*RouteConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *RouteConfiguration) GetName() string
- func (x *RouteConfiguration) GetRoutes() []*Route
- func (*RouteConfiguration) ProtoMessage()
- func (x *RouteConfiguration) ProtoReflect() protoreflect.Message
- func (x *RouteConfiguration) Reset()
- func (x *RouteConfiguration) String() string
- func (m *RouteConfiguration) Validate() error
- func (m *RouteConfiguration) ValidateAll() error
- type RouteConfigurationMultiError
- type RouteConfigurationValidationError
- func (e RouteConfigurationValidationError) Cause() error
- func (e RouteConfigurationValidationError) Error() string
- func (e RouteConfigurationValidationError) ErrorName() string
- func (e RouteConfigurationValidationError) Field() string
- func (e RouteConfigurationValidationError) Key() bool
- func (e RouteConfigurationValidationError) Reason() string
- type RouteMatch
- func (*RouteMatch) Descriptor() ([]byte, []int)deprecated
- func (x *RouteMatch) GetMetadata() []*v3.HeaderMatcher
- 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 File_api_meta_protocol_proxy_config_route_v1alpha_route_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type KeyValue ¶ added in v1.0.5
type KeyValue struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*KeyValue) Descriptor
deprecated
added in
v1.0.5
func (*KeyValue) ProtoMessage ¶ added in v1.0.5
func (*KeyValue) ProtoMessage()
func (*KeyValue) ProtoReflect ¶ added in v1.0.5
func (x *KeyValue) ProtoReflect() protoreflect.Message
func (*KeyValue) Validate ¶ added in v1.0.5
Validate checks the field values on KeyValue 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 (*KeyValue) ValidateAll ¶ added in v1.4.1
ValidateAll checks the field values on KeyValue 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 KeyValueMultiError, or nil if none found.
type KeyValueMultiError ¶ added in v1.4.1
type KeyValueMultiError []error
KeyValueMultiError is an error wrapping multiple validation errors returned by KeyValue.ValidateAll() if the designated constraints aren't met.
func (KeyValueMultiError) AllErrors ¶ added in v1.4.1
func (m KeyValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KeyValueMultiError) Error ¶ added in v1.4.1
func (m KeyValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KeyValueValidationError ¶ added in v1.0.5
type KeyValueValidationError struct {
// contains filtered or unexported fields
}
KeyValueValidationError is the validation error returned by KeyValue.Validate if the designated constraints aren't met.
func (KeyValueValidationError) Cause ¶ added in v1.0.5
func (e KeyValueValidationError) Cause() error
Cause function returns cause value.
func (KeyValueValidationError) Error ¶ added in v1.0.5
func (e KeyValueValidationError) Error() string
Error satisfies the builtin error interface
func (KeyValueValidationError) ErrorName ¶ added in v1.0.5
func (e KeyValueValidationError) ErrorName() string
ErrorName returns error name.
func (KeyValueValidationError) Field ¶ added in v1.0.5
func (e KeyValueValidationError) Field() string
Field function returns field value.
func (KeyValueValidationError) Key ¶ added in v1.0.5
func (e KeyValueValidationError) Key() bool
Key function returns key value.
func (KeyValueValidationError) Reason ¶ added in v1.0.5
func (e KeyValueValidationError) Reason() string
Reason function returns reason value.
type Route ¶
type Route struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Match *RouteMatch `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"` Route *RouteAction `protobuf:"bytes,3,opt,name=route,proto3" json:"route,omitempty"` RequestMutation []*KeyValue `protobuf:"bytes,19,rep,name=request_mutation,json=requestMutation,proto3" json:"request_mutation,omitempty"` ResponseMutation []*KeyValue `protobuf:"bytes,20,rep,name=response_mutation,json=responseMutation,proto3" json:"response_mutation,omitempty"` // contains filtered or unexported fields }
func (*Route) Descriptor
deprecated
func (*Route) GetMatch ¶
func (x *Route) GetMatch() *RouteMatch
func (*Route) GetRequestMutation ¶ added in v1.0.5
func (*Route) GetResponseMutation ¶ added in v1.0.5
func (*Route) GetRoute ¶
func (x *Route) GetRoute() *RouteAction
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 ¶ added in v1.4.1
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 RouteAction ¶
type RouteAction struct { // Types that are assignable to ClusterSpecifier: // *RouteAction_Cluster // *RouteAction_WeightedClusters ClusterSpecifier isRouteAction_ClusterSpecifier `protobuf_oneof:"cluster_specifier"` HashPolicy []string `protobuf:"bytes,10,rep,name=hash_policy,json=hashPolicy,proto3" json:"hash_policy,omitempty"` RequestMirrorPolicies []*RouteAction_RequestMirrorPolicy `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RouteAction) Descriptor
deprecated
func (*RouteAction) Descriptor() ([]byte, []int)
Deprecated: Use RouteAction.ProtoReflect.Descriptor instead.
func (*RouteAction) GetCluster ¶
func (x *RouteAction) GetCluster() string
func (*RouteAction) GetClusterSpecifier ¶
func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier
func (*RouteAction) GetHashPolicy ¶ added in v1.0.6
func (x *RouteAction) GetHashPolicy() []string
func (*RouteAction) GetRequestMirrorPolicies ¶ added in v1.4.1
func (x *RouteAction) GetRequestMirrorPolicies() []*RouteAction_RequestMirrorPolicy
func (*RouteAction) GetWeightedClusters ¶
func (x *RouteAction) GetWeightedClusters() *v3.WeightedCluster
func (*RouteAction) ProtoMessage ¶
func (*RouteAction) ProtoMessage()
func (*RouteAction) ProtoReflect ¶
func (x *RouteAction) ProtoReflect() protoreflect.Message
func (*RouteAction) Reset ¶
func (x *RouteAction) Reset()
func (*RouteAction) String ¶
func (x *RouteAction) String() string
func (*RouteAction) Validate ¶
func (m *RouteAction) Validate() error
Validate checks the field values on RouteAction 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 (*RouteAction) ValidateAll ¶ added in v1.4.1
func (m *RouteAction) ValidateAll() error
ValidateAll checks the field values on RouteAction 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 RouteActionMultiError, or nil if none found.
type RouteActionMultiError ¶ added in v1.4.1
type RouteActionMultiError []error
RouteActionMultiError is an error wrapping multiple validation errors returned by RouteAction.ValidateAll() if the designated constraints aren't met.
func (RouteActionMultiError) AllErrors ¶ added in v1.4.1
func (m RouteActionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RouteActionMultiError) Error ¶ added in v1.4.1
func (m RouteActionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RouteActionValidationError ¶
type RouteActionValidationError struct {
// contains filtered or unexported fields
}
RouteActionValidationError is the validation error returned by RouteAction.Validate if the designated constraints aren't met.
func (RouteActionValidationError) Cause ¶
func (e RouteActionValidationError) Cause() error
Cause function returns cause value.
func (RouteActionValidationError) Error ¶
func (e RouteActionValidationError) Error() string
Error satisfies the builtin error interface
func (RouteActionValidationError) ErrorName ¶
func (e RouteActionValidationError) ErrorName() string
ErrorName returns error name.
func (RouteActionValidationError) Field ¶
func (e RouteActionValidationError) Field() string
Field function returns field value.
func (RouteActionValidationError) Key ¶
func (e RouteActionValidationError) Key() bool
Key function returns key value.
func (RouteActionValidationError) Reason ¶
func (e RouteActionValidationError) Reason() string
Reason function returns reason value.
type RouteAction_Cluster ¶
type RouteAction_Cluster struct {
Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3,oneof"`
}
type RouteAction_RequestMirrorPolicy ¶ added in v1.4.1
type RouteAction_RequestMirrorPolicy struct { Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` RuntimeFraction *v31.RuntimeFractionalPercent `protobuf:"bytes,2,opt,name=runtime_fraction,json=runtimeFraction,proto3" json:"runtime_fraction,omitempty"` // contains filtered or unexported fields }
func (*RouteAction_RequestMirrorPolicy) Descriptor
deprecated
added in
v1.4.1
func (*RouteAction_RequestMirrorPolicy) Descriptor() ([]byte, []int)
Deprecated: Use RouteAction_RequestMirrorPolicy.ProtoReflect.Descriptor instead.
func (*RouteAction_RequestMirrorPolicy) GetCluster ¶ added in v1.4.1
func (x *RouteAction_RequestMirrorPolicy) GetCluster() string
func (*RouteAction_RequestMirrorPolicy) GetRuntimeFraction ¶ added in v1.4.1
func (x *RouteAction_RequestMirrorPolicy) GetRuntimeFraction() *v31.RuntimeFractionalPercent
func (*RouteAction_RequestMirrorPolicy) ProtoMessage ¶ added in v1.4.1
func (*RouteAction_RequestMirrorPolicy) ProtoMessage()
func (*RouteAction_RequestMirrorPolicy) ProtoReflect ¶ added in v1.4.1
func (x *RouteAction_RequestMirrorPolicy) ProtoReflect() protoreflect.Message
func (*RouteAction_RequestMirrorPolicy) Reset ¶ added in v1.4.1
func (x *RouteAction_RequestMirrorPolicy) Reset()
func (*RouteAction_RequestMirrorPolicy) String ¶ added in v1.4.1
func (x *RouteAction_RequestMirrorPolicy) String() string
func (*RouteAction_RequestMirrorPolicy) Validate ¶ added in v1.4.1
func (m *RouteAction_RequestMirrorPolicy) Validate() error
Validate checks the field values on RouteAction_RequestMirrorPolicy 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 (*RouteAction_RequestMirrorPolicy) ValidateAll ¶ added in v1.4.1
func (m *RouteAction_RequestMirrorPolicy) ValidateAll() error
ValidateAll checks the field values on RouteAction_RequestMirrorPolicy 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 RouteAction_RequestMirrorPolicyMultiError, or nil if none found.
type RouteAction_RequestMirrorPolicyMultiError ¶ added in v1.4.1
type RouteAction_RequestMirrorPolicyMultiError []error
RouteAction_RequestMirrorPolicyMultiError is an error wrapping multiple validation errors returned by RouteAction_RequestMirrorPolicy.ValidateAll() if the designated constraints aren't met.
func (RouteAction_RequestMirrorPolicyMultiError) AllErrors ¶ added in v1.4.1
func (m RouteAction_RequestMirrorPolicyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RouteAction_RequestMirrorPolicyMultiError) Error ¶ added in v1.4.1
func (m RouteAction_RequestMirrorPolicyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RouteAction_RequestMirrorPolicyValidationError ¶ added in v1.4.1
type RouteAction_RequestMirrorPolicyValidationError struct {
// contains filtered or unexported fields
}
RouteAction_RequestMirrorPolicyValidationError is the validation error returned by RouteAction_RequestMirrorPolicy.Validate if the designated constraints aren't met.
func (RouteAction_RequestMirrorPolicyValidationError) Cause ¶ added in v1.4.1
func (e RouteAction_RequestMirrorPolicyValidationError) Cause() error
Cause function returns cause value.
func (RouteAction_RequestMirrorPolicyValidationError) Error ¶ added in v1.4.1
func (e RouteAction_RequestMirrorPolicyValidationError) Error() string
Error satisfies the builtin error interface
func (RouteAction_RequestMirrorPolicyValidationError) ErrorName ¶ added in v1.4.1
func (e RouteAction_RequestMirrorPolicyValidationError) ErrorName() string
ErrorName returns error name.
func (RouteAction_RequestMirrorPolicyValidationError) Field ¶ added in v1.4.1
func (e RouteAction_RequestMirrorPolicyValidationError) Field() string
Field function returns field value.
func (RouteAction_RequestMirrorPolicyValidationError) Key ¶ added in v1.4.1
func (e RouteAction_RequestMirrorPolicyValidationError) Key() bool
Key function returns key value.
func (RouteAction_RequestMirrorPolicyValidationError) Reason ¶ added in v1.4.1
func (e RouteAction_RequestMirrorPolicyValidationError) Reason() string
Reason function returns reason value.
type RouteAction_WeightedClusters ¶
type RouteAction_WeightedClusters struct {
WeightedClusters *v3.WeightedCluster `protobuf:"bytes,2,opt,name=weighted_clusters,json=weightedClusters,proto3,oneof"`
}
type RouteConfiguration ¶
type RouteConfiguration struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Routes []*Route `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*RouteConfiguration) Descriptor
deprecated
func (*RouteConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use RouteConfiguration.ProtoReflect.Descriptor instead.
func (*RouteConfiguration) GetName ¶
func (x *RouteConfiguration) GetName() string
func (*RouteConfiguration) GetRoutes ¶
func (x *RouteConfiguration) GetRoutes() []*Route
func (*RouteConfiguration) ProtoMessage ¶
func (*RouteConfiguration) ProtoMessage()
func (*RouteConfiguration) ProtoReflect ¶
func (x *RouteConfiguration) ProtoReflect() protoreflect.Message
func (*RouteConfiguration) Reset ¶
func (x *RouteConfiguration) Reset()
func (*RouteConfiguration) String ¶
func (x *RouteConfiguration) String() string
func (*RouteConfiguration) Validate ¶
func (m *RouteConfiguration) Validate() error
Validate checks the field values on RouteConfiguration 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 (*RouteConfiguration) ValidateAll ¶ added in v1.4.1
func (m *RouteConfiguration) ValidateAll() error
ValidateAll checks the field values on RouteConfiguration 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 RouteConfigurationMultiError, or nil if none found.
type RouteConfigurationMultiError ¶ added in v1.4.1
type RouteConfigurationMultiError []error
RouteConfigurationMultiError is an error wrapping multiple validation errors returned by RouteConfiguration.ValidateAll() if the designated constraints aren't met.
func (RouteConfigurationMultiError) AllErrors ¶ added in v1.4.1
func (m RouteConfigurationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RouteConfigurationMultiError) Error ¶ added in v1.4.1
func (m RouteConfigurationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RouteConfigurationValidationError ¶
type RouteConfigurationValidationError struct {
// contains filtered or unexported fields
}
RouteConfigurationValidationError is the validation error returned by RouteConfiguration.Validate if the designated constraints aren't met.
func (RouteConfigurationValidationError) Cause ¶
func (e RouteConfigurationValidationError) Cause() error
Cause function returns cause value.
func (RouteConfigurationValidationError) Error ¶
func (e RouteConfigurationValidationError) Error() string
Error satisfies the builtin error interface
func (RouteConfigurationValidationError) ErrorName ¶
func (e RouteConfigurationValidationError) ErrorName() string
ErrorName returns error name.
func (RouteConfigurationValidationError) Field ¶
func (e RouteConfigurationValidationError) Field() string
Field function returns field value.
func (RouteConfigurationValidationError) Key ¶
func (e RouteConfigurationValidationError) Key() bool
Key function returns key value.
func (RouteConfigurationValidationError) Reason ¶
func (e RouteConfigurationValidationError) Reason() string
Reason function returns reason value.
type RouteMatch ¶
type RouteMatch struct { Metadata []*v3.HeaderMatcher `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*RouteMatch) Descriptor
deprecated
func (*RouteMatch) Descriptor() ([]byte, []int)
Deprecated: Use RouteMatch.ProtoReflect.Descriptor instead.
func (*RouteMatch) GetMetadata ¶
func (x *RouteMatch) GetMetadata() []*v3.HeaderMatcher
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 ¶ added in v1.4.1
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 ¶ added in v1.4.1
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 ¶ added in v1.4.1
func (m RouteMatchMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RouteMatchMultiError) Error ¶ added in v1.4.1
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 ¶ added in v1.4.1
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 ¶ added in v1.4.1
func (m RouteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RouteMultiError) Error ¶ added in v1.4.1
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.