Documentation ¶
Index ¶
- Variables
- type OnDemand
- func (*OnDemand) Descriptor() ([]byte, []int)deprecated
- func (x *OnDemand) GetOdcds() *OnDemandCds
- func (*OnDemand) ProtoMessage()
- func (x *OnDemand) ProtoReflect() protoreflect.Message
- func (x *OnDemand) Reset()
- func (x *OnDemand) String() string
- func (m *OnDemand) Validate() error
- func (m *OnDemand) ValidateAll() error
- type OnDemandCds
- func (*OnDemandCds) Descriptor() ([]byte, []int)deprecated
- func (x *OnDemandCds) GetResourcesLocator() string
- func (x *OnDemandCds) GetSource() *v3.ConfigSource
- func (x *OnDemandCds) GetTimeout() *duration.Duration
- func (*OnDemandCds) ProtoMessage()
- func (x *OnDemandCds) ProtoReflect() protoreflect.Message
- func (x *OnDemandCds) Reset()
- func (x *OnDemandCds) String() string
- func (m *OnDemandCds) Validate() error
- func (m *OnDemandCds) ValidateAll() error
- type OnDemandCdsMultiError
- type OnDemandCdsValidationError
- func (e OnDemandCdsValidationError) Cause() error
- func (e OnDemandCdsValidationError) Error() string
- func (e OnDemandCdsValidationError) ErrorName() string
- func (e OnDemandCdsValidationError) Field() string
- func (e OnDemandCdsValidationError) Key() bool
- func (e OnDemandCdsValidationError) Reason() string
- type OnDemandMultiError
- type OnDemandValidationError
- type PerRouteConfig
- func (*PerRouteConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PerRouteConfig) GetOdcds() *OnDemandCds
- func (*PerRouteConfig) ProtoMessage()
- func (x *PerRouteConfig) ProtoReflect() protoreflect.Message
- func (x *PerRouteConfig) Reset()
- func (x *PerRouteConfig) String() string
- func (m *PerRouteConfig) Validate() error
- func (m *PerRouteConfig) ValidateAll() error
- type PerRouteConfigMultiError
- type PerRouteConfigValidationError
- func (e PerRouteConfigValidationError) Cause() error
- func (e PerRouteConfigValidationError) Error() string
- func (e PerRouteConfigValidationError) ErrorName() string
- func (e PerRouteConfigValidationError) Field() string
- func (e PerRouteConfigValidationError) Key() bool
- func (e PerRouteConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_filters_http_on_demand_v3_on_demand_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type OnDemand ¶
type OnDemand struct { // An optional configuration for on-demand cluster discovery // service. If not specified, the on-demand cluster discovery will // be disabled. When it's specified, the filter will pause the // request to an unknown cluster and will begin a cluster discovery // process. When the discovery is finished (successfully or not), the // request will be resumed for further processing. Odcds *OnDemandCds `protobuf:"bytes,1,opt,name=odcds,proto3" json:"odcds,omitempty"` // contains filtered or unexported fields }
On Demand Discovery filter config.
func (*OnDemand) Descriptor
deprecated
func (*OnDemand) GetOdcds ¶
func (x *OnDemand) GetOdcds() *OnDemandCds
func (*OnDemand) ProtoMessage ¶
func (*OnDemand) ProtoMessage()
func (*OnDemand) ProtoReflect ¶
func (x *OnDemand) ProtoReflect() protoreflect.Message
func (*OnDemand) Validate ¶
Validate checks the field values on OnDemand 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 (*OnDemand) ValidateAll ¶
ValidateAll checks the field values on OnDemand 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 OnDemandMultiError, or nil if none found.
type OnDemandCds ¶
type OnDemandCds struct { // A configuration source for the service that will be used for // on-demand cluster discovery. Source *v3.ConfigSource `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // xdstp:// resource locator for on-demand cluster collection. ResourcesLocator string `protobuf:"bytes,2,opt,name=resources_locator,json=resourcesLocator,proto3" json:"resources_locator,omitempty"` // The timeout for on demand cluster lookup. If not set, defaults to 5 seconds. Timeout *duration.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
Configuration of on-demand CDS.
func (*OnDemandCds) Descriptor
deprecated
func (*OnDemandCds) Descriptor() ([]byte, []int)
Deprecated: Use OnDemandCds.ProtoReflect.Descriptor instead.
func (*OnDemandCds) GetResourcesLocator ¶
func (x *OnDemandCds) GetResourcesLocator() string
func (*OnDemandCds) GetSource ¶
func (x *OnDemandCds) GetSource() *v3.ConfigSource
func (*OnDemandCds) GetTimeout ¶
func (x *OnDemandCds) GetTimeout() *duration.Duration
func (*OnDemandCds) ProtoMessage ¶
func (*OnDemandCds) ProtoMessage()
func (*OnDemandCds) ProtoReflect ¶
func (x *OnDemandCds) ProtoReflect() protoreflect.Message
func (*OnDemandCds) Reset ¶
func (x *OnDemandCds) Reset()
func (*OnDemandCds) String ¶
func (x *OnDemandCds) String() string
func (*OnDemandCds) Validate ¶
func (m *OnDemandCds) Validate() error
Validate checks the field values on OnDemandCds 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 (*OnDemandCds) ValidateAll ¶
func (m *OnDemandCds) ValidateAll() error
ValidateAll checks the field values on OnDemandCds 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 OnDemandCdsMultiError, or nil if none found.
type OnDemandCdsMultiError ¶
type OnDemandCdsMultiError []error
OnDemandCdsMultiError is an error wrapping multiple validation errors returned by OnDemandCds.ValidateAll() if the designated constraints aren't met.
func (OnDemandCdsMultiError) AllErrors ¶
func (m OnDemandCdsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OnDemandCdsMultiError) Error ¶
func (m OnDemandCdsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OnDemandCdsValidationError ¶
type OnDemandCdsValidationError struct {
// contains filtered or unexported fields
}
OnDemandCdsValidationError is the validation error returned by OnDemandCds.Validate if the designated constraints aren't met.
func (OnDemandCdsValidationError) Cause ¶
func (e OnDemandCdsValidationError) Cause() error
Cause function returns cause value.
func (OnDemandCdsValidationError) Error ¶
func (e OnDemandCdsValidationError) Error() string
Error satisfies the builtin error interface
func (OnDemandCdsValidationError) ErrorName ¶
func (e OnDemandCdsValidationError) ErrorName() string
ErrorName returns error name.
func (OnDemandCdsValidationError) Field ¶
func (e OnDemandCdsValidationError) Field() string
Field function returns field value.
func (OnDemandCdsValidationError) Key ¶
func (e OnDemandCdsValidationError) Key() bool
Key function returns key value.
func (OnDemandCdsValidationError) Reason ¶
func (e OnDemandCdsValidationError) Reason() string
Reason function returns reason value.
type OnDemandMultiError ¶
type OnDemandMultiError []error
OnDemandMultiError is an error wrapping multiple validation errors returned by OnDemand.ValidateAll() if the designated constraints aren't met.
func (OnDemandMultiError) AllErrors ¶
func (m OnDemandMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OnDemandMultiError) Error ¶
func (m OnDemandMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OnDemandValidationError ¶
type OnDemandValidationError struct {
// contains filtered or unexported fields
}
OnDemandValidationError is the validation error returned by OnDemand.Validate if the designated constraints aren't met.
func (OnDemandValidationError) Cause ¶
func (e OnDemandValidationError) Cause() error
Cause function returns cause value.
func (OnDemandValidationError) Error ¶
func (e OnDemandValidationError) Error() string
Error satisfies the builtin error interface
func (OnDemandValidationError) ErrorName ¶
func (e OnDemandValidationError) ErrorName() string
ErrorName returns error name.
func (OnDemandValidationError) Field ¶
func (e OnDemandValidationError) Field() string
Field function returns field value.
func (OnDemandValidationError) Key ¶
func (e OnDemandValidationError) Key() bool
Key function returns key value.
func (OnDemandValidationError) Reason ¶
func (e OnDemandValidationError) Reason() string
Reason function returns reason value.
type PerRouteConfig ¶
type PerRouteConfig struct { // An optional configuration for on-demand cluster discovery // service. If not specified, the on-demand cluster discovery will // be disabled. When it's specified, the filter will pause the // request to an unknown cluster and will begin a cluster discovery // process. When the discovery is finished (successfully or not), the // request will be resumed for further processing. Odcds *OnDemandCds `protobuf:"bytes,1,opt,name=odcds,proto3" json:"odcds,omitempty"` // contains filtered or unexported fields }
Per-route configuration for On Demand Discovery.
func (*PerRouteConfig) Descriptor
deprecated
func (*PerRouteConfig) Descriptor() ([]byte, []int)
Deprecated: Use PerRouteConfig.ProtoReflect.Descriptor instead.
func (*PerRouteConfig) GetOdcds ¶
func (x *PerRouteConfig) GetOdcds() *OnDemandCds
func (*PerRouteConfig) ProtoMessage ¶
func (*PerRouteConfig) ProtoMessage()
func (*PerRouteConfig) ProtoReflect ¶
func (x *PerRouteConfig) ProtoReflect() protoreflect.Message
func (*PerRouteConfig) Reset ¶
func (x *PerRouteConfig) Reset()
func (*PerRouteConfig) String ¶
func (x *PerRouteConfig) String() string
func (*PerRouteConfig) Validate ¶
func (m *PerRouteConfig) Validate() error
Validate checks the field values on PerRouteConfig 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 (*PerRouteConfig) ValidateAll ¶
func (m *PerRouteConfig) ValidateAll() error
ValidateAll checks the field values on PerRouteConfig 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 PerRouteConfigMultiError, or nil if none found.
type PerRouteConfigMultiError ¶
type PerRouteConfigMultiError []error
PerRouteConfigMultiError is an error wrapping multiple validation errors returned by PerRouteConfig.ValidateAll() if the designated constraints aren't met.
func (PerRouteConfigMultiError) AllErrors ¶
func (m PerRouteConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PerRouteConfigMultiError) Error ¶
func (m PerRouteConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PerRouteConfigValidationError ¶
type PerRouteConfigValidationError struct {
// contains filtered or unexported fields
}
PerRouteConfigValidationError is the validation error returned by PerRouteConfig.Validate if the designated constraints aren't met.
func (PerRouteConfigValidationError) Cause ¶
func (e PerRouteConfigValidationError) Cause() error
Cause function returns cause value.
func (PerRouteConfigValidationError) Error ¶
func (e PerRouteConfigValidationError) Error() string
Error satisfies the builtin error interface
func (PerRouteConfigValidationError) ErrorName ¶
func (e PerRouteConfigValidationError) ErrorName() string
ErrorName returns error name.
func (PerRouteConfigValidationError) Field ¶
func (e PerRouteConfigValidationError) Field() string
Field function returns field value.
func (PerRouteConfigValidationError) Key ¶
func (e PerRouteConfigValidationError) Key() bool
Key function returns key value.
func (PerRouteConfigValidationError) Reason ¶
func (e PerRouteConfigValidationError) Reason() string
Reason function returns reason value.