envoy_api_v2_core

package
Version: v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 27 Imported by: 576

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SocketAddress_Protocol_name = map[int32]string{
		0: "TCP",
		1: "UDP",
	}
	SocketAddress_Protocol_value = map[string]int32{
		"TCP": 0,
		"UDP": 1,
	}
)

Enum value maps for SocketAddress_Protocol.

View Source
var (
	RoutingPriority_name = map[int32]string{
		0: "DEFAULT",
		1: "HIGH",
	}
	RoutingPriority_value = map[string]int32{
		"DEFAULT": 0,
		"HIGH":    1,
	}
)

Enum value maps for RoutingPriority.

View Source
var (
	RequestMethod_name = map[int32]string{
		0: "METHOD_UNSPECIFIED",
		1: "GET",
		2: "HEAD",
		3: "POST",
		4: "PUT",
		5: "DELETE",
		6: "CONNECT",
		7: "OPTIONS",
		8: "TRACE",
		9: "PATCH",
	}
	RequestMethod_value = map[string]int32{
		"METHOD_UNSPECIFIED": 0,
		"GET":                1,
		"HEAD":               2,
		"POST":               3,
		"PUT":                4,
		"DELETE":             5,
		"CONNECT":            6,
		"OPTIONS":            7,
		"TRACE":              8,
		"PATCH":              9,
	}
)

Enum value maps for RequestMethod.

View Source
var (
	TrafficDirection_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "INBOUND",
		2: "OUTBOUND",
	}
	TrafficDirection_value = map[string]int32{
		"UNSPECIFIED": 0,
		"INBOUND":     1,
		"OUTBOUND":    2,
	}
)

Enum value maps for TrafficDirection.

View Source
var (
	ApiVersion_name = map[int32]string{
		0: "AUTO",
		1: "V2",
		2: "V3",
	}
	ApiVersion_value = map[string]int32{
		"AUTO": 0,
		"V2":   1,
		"V3":   2,
	}
)

Enum value maps for ApiVersion.

View Source
var (
	ApiConfigSource_ApiType_name = map[int32]string{
		0: "UNSUPPORTED_REST_LEGACY",
		1: "REST",
		2: "GRPC",
		3: "DELTA_GRPC",
	}
	ApiConfigSource_ApiType_value = map[string]int32{
		"UNSUPPORTED_REST_LEGACY": 0,
		"REST":                    1,
		"GRPC":                    2,
		"DELTA_GRPC":              3,
	}
)

Enum value maps for ApiConfigSource_ApiType.

View Source
var (
	HealthStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "HEALTHY",
		2: "UNHEALTHY",
		3: "DRAINING",
		4: "TIMEOUT",
		5: "DEGRADED",
	}
	HealthStatus_value = map[string]int32{
		"UNKNOWN":   0,
		"HEALTHY":   1,
		"UNHEALTHY": 2,
		"DRAINING":  3,
		"TIMEOUT":   4,
		"DEGRADED":  5,
	}
)

Enum value maps for HealthStatus.

View Source
var (
	HttpProtocolOptions_HeadersWithUnderscoresAction_name = map[int32]string{
		0: "ALLOW",
		1: "REJECT_REQUEST",
		2: "DROP_HEADER",
	}
	HttpProtocolOptions_HeadersWithUnderscoresAction_value = map[string]int32{
		"ALLOW":          0,
		"REJECT_REQUEST": 1,
		"DROP_HEADER":    2,
	}
)

Enum value maps for HttpProtocolOptions_HeadersWithUnderscoresAction.

View Source
var (
	SocketOption_SocketState_name = map[int32]string{
		0: "STATE_PREBIND",
		1: "STATE_BOUND",
		2: "STATE_LISTENING",
	}
	SocketOption_SocketState_value = map[string]int32{
		"STATE_PREBIND":   0,
		"STATE_BOUND":     1,
		"STATE_LISTENING": 2,
	}
)

Enum value maps for SocketOption_SocketState.

View Source
var File_envoy_api_v2_core_address_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_backoff_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_base_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_config_source_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_event_service_config_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_grpc_method_list_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_grpc_service_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_health_check_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_http_uri_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_protocol_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_core_socket_option_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Address

type Address struct {

	// Types that are assignable to Address:
	//	*Address_SocketAddress
	//	*Address_Pipe
	Address isAddress_Address `protobuf_oneof:"address"`
	// contains filtered or unexported fields
}

Addresses specify either a logical or physical address and port, which are used to tell Envoy where to bind/listen, connect to upstream and find management servers.

func (*Address) Descriptor deprecated

func (*Address) Descriptor() ([]byte, []int)

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAddress

func (m *Address) GetAddress() isAddress_Address

func (*Address) GetPipe

func (x *Address) GetPipe() *Pipe

func (*Address) GetSocketAddress

func (x *Address) GetSocketAddress() *SocketAddress

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect added in v0.9.6

func (x *Address) ProtoReflect() protoreflect.Message

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

func (*Address) Validate

func (m *Address) Validate() error

Validate checks the field values on Address 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 (*Address) ValidateAll added in v0.10.0

func (m *Address) ValidateAll() error

ValidateAll checks the field values on Address 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 AddressMultiError, or nil if none found.

type AddressMultiError added in v0.10.0

type AddressMultiError []error

AddressMultiError is an error wrapping multiple validation errors returned by Address.ValidateAll() if the designated constraints aren't met.

func (AddressMultiError) AllErrors added in v0.10.0

func (m AddressMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddressMultiError) Error added in v0.10.0

func (m AddressMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AddressValidationError

type AddressValidationError struct {
	// contains filtered or unexported fields
}

AddressValidationError is the validation error returned by Address.Validate if the designated constraints aren't met.

func (AddressValidationError) Cause

func (e AddressValidationError) Cause() error

Cause function returns cause value.

func (AddressValidationError) Error

func (e AddressValidationError) Error() string

Error satisfies the builtin error interface

func (AddressValidationError) ErrorName added in v0.7.0

func (e AddressValidationError) ErrorName() string

ErrorName returns error name.

func (AddressValidationError) Field

func (e AddressValidationError) Field() string

Field function returns field value.

func (AddressValidationError) Key

func (e AddressValidationError) Key() bool

Key function returns key value.

func (AddressValidationError) Reason

func (e AddressValidationError) Reason() string

Reason function returns reason value.

type Address_Pipe

type Address_Pipe struct {
	Pipe *Pipe `protobuf:"bytes,2,opt,name=pipe,proto3,oneof"`
}

type Address_SocketAddress

type Address_SocketAddress struct {
	SocketAddress *SocketAddress `protobuf:"bytes,1,opt,name=socket_address,json=socketAddress,proto3,oneof"`
}

type AggregatedConfigSource

type AggregatedConfigSource struct {
	// contains filtered or unexported fields
}

Aggregated Discovery Service (ADS) options. This is currently empty, but when set in :ref:`ConfigSource <envoy_api_msg_core.ConfigSource>` can be used to specify that ADS is to be used.

func (*AggregatedConfigSource) Descriptor deprecated

func (*AggregatedConfigSource) Descriptor() ([]byte, []int)

Deprecated: Use AggregatedConfigSource.ProtoReflect.Descriptor instead.

func (*AggregatedConfigSource) ProtoMessage

func (*AggregatedConfigSource) ProtoMessage()

func (*AggregatedConfigSource) ProtoReflect added in v0.9.6

func (x *AggregatedConfigSource) ProtoReflect() protoreflect.Message

func (*AggregatedConfigSource) Reset

func (x *AggregatedConfigSource) Reset()

func (*AggregatedConfigSource) String

func (x *AggregatedConfigSource) String() string

func (*AggregatedConfigSource) Validate

func (m *AggregatedConfigSource) Validate() error

Validate checks the field values on AggregatedConfigSource 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 (*AggregatedConfigSource) ValidateAll added in v0.10.0

func (m *AggregatedConfigSource) ValidateAll() error

ValidateAll checks the field values on AggregatedConfigSource 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 AggregatedConfigSourceMultiError, or nil if none found.

type AggregatedConfigSourceMultiError added in v0.10.0

type AggregatedConfigSourceMultiError []error

AggregatedConfigSourceMultiError is an error wrapping multiple validation errors returned by AggregatedConfigSource.ValidateAll() if the designated constraints aren't met.

func (AggregatedConfigSourceMultiError) AllErrors added in v0.10.0

func (m AggregatedConfigSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AggregatedConfigSourceMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type AggregatedConfigSourceValidationError

type AggregatedConfigSourceValidationError struct {
	// contains filtered or unexported fields
}

AggregatedConfigSourceValidationError is the validation error returned by AggregatedConfigSource.Validate if the designated constraints aren't met.

func (AggregatedConfigSourceValidationError) Cause

Cause function returns cause value.

func (AggregatedConfigSourceValidationError) Error

Error satisfies the builtin error interface

func (AggregatedConfigSourceValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (AggregatedConfigSourceValidationError) Field

Field function returns field value.

func (AggregatedConfigSourceValidationError) Key

Key function returns key value.

func (AggregatedConfigSourceValidationError) Reason

Reason function returns reason value.

type ApiConfigSource

type ApiConfigSource struct {

	// API type (gRPC, REST, delta gRPC)
	ApiType ApiConfigSource_ApiType `` /* 130-byte string literal not displayed */
	// API version for xDS transport protocol. This describes the xDS gRPC/REST
	// endpoint and version of [Delta]DiscoveryRequest/Response used on the wire.
	TransportApiVersion ApiVersion `` /* 155-byte string literal not displayed */
	// Cluster names should be used only with REST. If > 1
	// cluster is defined, clusters will be cycled through if any kind of failure
	// occurs.
	//
	// .. note::
	//
	//  The cluster with name “cluster_name“ must be statically defined and its
	//  type must not be “EDS“.
	ClusterNames []string `protobuf:"bytes,2,rep,name=cluster_names,json=clusterNames,proto3" json:"cluster_names,omitempty"`
	// Multiple gRPC services be provided for GRPC. If > 1 cluster is defined,
	// services will be cycled through if any kind of failure occurs.
	GrpcServices []*GrpcService `protobuf:"bytes,4,rep,name=grpc_services,json=grpcServices,proto3" json:"grpc_services,omitempty"`
	// For REST APIs, the delay between successive polls.
	RefreshDelay *duration.Duration `protobuf:"bytes,3,opt,name=refresh_delay,json=refreshDelay,proto3" json:"refresh_delay,omitempty"`
	// For REST APIs, the request timeout. If not set, a default value of 1s will be used.
	RequestTimeout *duration.Duration `protobuf:"bytes,5,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"`
	// For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be
	// rate limited.
	RateLimitSettings *RateLimitSettings `protobuf:"bytes,6,opt,name=rate_limit_settings,json=rateLimitSettings,proto3" json:"rate_limit_settings,omitempty"`
	// Skip the node identifier in subsequent discovery requests for streaming gRPC config types.
	SetNodeOnFirstMessageOnly bool `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

API configuration source. This identifies the API type and cluster that Envoy will use to fetch an xDS API. [#next-free-field: 9]

func (*ApiConfigSource) Descriptor deprecated

func (*ApiConfigSource) Descriptor() ([]byte, []int)

Deprecated: Use ApiConfigSource.ProtoReflect.Descriptor instead.

func (*ApiConfigSource) GetApiType

func (x *ApiConfigSource) GetApiType() ApiConfigSource_ApiType

func (*ApiConfigSource) GetClusterNames

func (x *ApiConfigSource) GetClusterNames() []string

func (*ApiConfigSource) GetGrpcServices

func (x *ApiConfigSource) GetGrpcServices() []*GrpcService

func (*ApiConfigSource) GetRateLimitSettings added in v0.6.2

func (x *ApiConfigSource) GetRateLimitSettings() *RateLimitSettings

func (*ApiConfigSource) GetRefreshDelay

func (x *ApiConfigSource) GetRefreshDelay() *duration.Duration

func (*ApiConfigSource) GetRequestTimeout

func (x *ApiConfigSource) GetRequestTimeout() *duration.Duration

func (*ApiConfigSource) GetSetNodeOnFirstMessageOnly added in v0.9.0

func (x *ApiConfigSource) GetSetNodeOnFirstMessageOnly() bool

func (*ApiConfigSource) GetTransportApiVersion added in v0.9.2

func (x *ApiConfigSource) GetTransportApiVersion() ApiVersion

func (*ApiConfigSource) ProtoMessage

func (*ApiConfigSource) ProtoMessage()

func (*ApiConfigSource) ProtoReflect added in v0.9.6

func (x *ApiConfigSource) ProtoReflect() protoreflect.Message

func (*ApiConfigSource) Reset

func (x *ApiConfigSource) Reset()

func (*ApiConfigSource) String

func (x *ApiConfigSource) String() string

func (*ApiConfigSource) Validate

func (m *ApiConfigSource) Validate() error

Validate checks the field values on ApiConfigSource 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 (*ApiConfigSource) ValidateAll added in v0.10.0

func (m *ApiConfigSource) ValidateAll() error

ValidateAll checks the field values on ApiConfigSource 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 ApiConfigSourceMultiError, or nil if none found.

type ApiConfigSourceMultiError added in v0.10.0

type ApiConfigSourceMultiError []error

ApiConfigSourceMultiError is an error wrapping multiple validation errors returned by ApiConfigSource.ValidateAll() if the designated constraints aren't met.

func (ApiConfigSourceMultiError) AllErrors added in v0.10.0

func (m ApiConfigSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ApiConfigSourceMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type ApiConfigSourceValidationError

type ApiConfigSourceValidationError struct {
	// contains filtered or unexported fields
}

ApiConfigSourceValidationError is the validation error returned by ApiConfigSource.Validate if the designated constraints aren't met.

func (ApiConfigSourceValidationError) Cause

Cause function returns cause value.

func (ApiConfigSourceValidationError) Error

Error satisfies the builtin error interface

func (ApiConfigSourceValidationError) ErrorName added in v0.7.0

func (e ApiConfigSourceValidationError) ErrorName() string

ErrorName returns error name.

func (ApiConfigSourceValidationError) Field

Field function returns field value.

func (ApiConfigSourceValidationError) Key

Key function returns key value.

func (ApiConfigSourceValidationError) Reason

Reason function returns reason value.

type ApiConfigSource_ApiType

type ApiConfigSource_ApiType int32

APIs may be fetched via either REST or gRPC.

const (
	// Ideally this would be 'reserved 0' but one can't reserve the default
	// value. Instead we throw an exception if this is ever used.
	//
	// Deprecated: Do not use.
	ApiConfigSource_UNSUPPORTED_REST_LEGACY ApiConfigSource_ApiType = 0
	// REST-JSON v2 API. The `canonical JSON encoding
	// <https://developers.google.com/protocol-buffers/docs/proto3#json>`_ for
	// the v2 protos is used.
	ApiConfigSource_REST ApiConfigSource_ApiType = 1
	// gRPC v2 API.
	ApiConfigSource_GRPC ApiConfigSource_ApiType = 2
	// Using the delta xDS gRPC service, i.e. DeltaDiscovery{Request,Response}
	// rather than Discovery{Request,Response}. Rather than sending Envoy the entire state
	// with every update, the xDS server only sends what has changed since the last update.
	ApiConfigSource_DELTA_GRPC ApiConfigSource_ApiType = 3
)

func (ApiConfigSource_ApiType) Descriptor added in v0.9.6

func (ApiConfigSource_ApiType) Enum added in v0.9.6

func (ApiConfigSource_ApiType) EnumDescriptor deprecated

func (ApiConfigSource_ApiType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApiConfigSource_ApiType.Descriptor instead.

func (ApiConfigSource_ApiType) Number added in v0.9.6

func (ApiConfigSource_ApiType) String

func (x ApiConfigSource_ApiType) String() string

func (ApiConfigSource_ApiType) Type added in v0.9.6

type ApiVersion added in v0.9.2

type ApiVersion int32

xDS API version. This is used to describe both resource and transport protocol versions (in distinct configuration fields).

const (
	// When not specified, we assume v2, to ease migration to Envoy's stable API
	// versioning. If a client does not support v2 (e.g. due to deprecation), this
	// is an invalid value.
	//
	// Deprecated: Do not use.
	ApiVersion_AUTO ApiVersion = 0
	// Use xDS v2 API.
	//
	// Deprecated: Do not use.
	ApiVersion_V2 ApiVersion = 1
	// Use xDS v3 API.
	ApiVersion_V3 ApiVersion = 2
)

func (ApiVersion) Descriptor added in v0.9.6

func (ApiVersion) Descriptor() protoreflect.EnumDescriptor

func (ApiVersion) Enum added in v0.9.6

func (x ApiVersion) Enum() *ApiVersion

func (ApiVersion) EnumDescriptor deprecated added in v0.9.2

func (ApiVersion) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApiVersion.Descriptor instead.

func (ApiVersion) Number added in v0.9.6

func (x ApiVersion) Number() protoreflect.EnumNumber

func (ApiVersion) String added in v0.9.2

func (x ApiVersion) String() string

func (ApiVersion) Type added in v0.9.6

type AsyncDataSource added in v0.8.3

type AsyncDataSource struct {

	// Types that are assignable to Specifier:
	//	*AsyncDataSource_Local
	//	*AsyncDataSource_Remote
	Specifier isAsyncDataSource_Specifier `protobuf_oneof:"specifier"`
	// contains filtered or unexported fields
}

Async data source which support async data fetch.

func (*AsyncDataSource) Descriptor deprecated added in v0.8.3

func (*AsyncDataSource) Descriptor() ([]byte, []int)

Deprecated: Use AsyncDataSource.ProtoReflect.Descriptor instead.

func (*AsyncDataSource) GetLocal added in v0.8.3

func (x *AsyncDataSource) GetLocal() *DataSource

func (*AsyncDataSource) GetRemote added in v0.8.3

func (x *AsyncDataSource) GetRemote() *RemoteDataSource

func (*AsyncDataSource) GetSpecifier added in v0.8.3

func (m *AsyncDataSource) GetSpecifier() isAsyncDataSource_Specifier

func (*AsyncDataSource) ProtoMessage added in v0.8.3

func (*AsyncDataSource) ProtoMessage()

func (*AsyncDataSource) ProtoReflect added in v0.9.6

func (x *AsyncDataSource) ProtoReflect() protoreflect.Message

func (*AsyncDataSource) Reset added in v0.8.3

func (x *AsyncDataSource) Reset()

func (*AsyncDataSource) String added in v0.8.3

func (x *AsyncDataSource) String() string

func (*AsyncDataSource) Validate added in v0.8.3

func (m *AsyncDataSource) Validate() error

Validate checks the field values on AsyncDataSource 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 (*AsyncDataSource) ValidateAll added in v0.10.0

func (m *AsyncDataSource) ValidateAll() error

ValidateAll checks the field values on AsyncDataSource 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 AsyncDataSourceMultiError, or nil if none found.

type AsyncDataSourceMultiError added in v0.10.0

type AsyncDataSourceMultiError []error

AsyncDataSourceMultiError is an error wrapping multiple validation errors returned by AsyncDataSource.ValidateAll() if the designated constraints aren't met.

func (AsyncDataSourceMultiError) AllErrors added in v0.10.0

func (m AsyncDataSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AsyncDataSourceMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type AsyncDataSourceValidationError added in v0.8.3

type AsyncDataSourceValidationError struct {
	// contains filtered or unexported fields
}

AsyncDataSourceValidationError is the validation error returned by AsyncDataSource.Validate if the designated constraints aren't met.

func (AsyncDataSourceValidationError) Cause added in v0.8.3

Cause function returns cause value.

func (AsyncDataSourceValidationError) Error added in v0.8.3

Error satisfies the builtin error interface

func (AsyncDataSourceValidationError) ErrorName added in v0.8.3

func (e AsyncDataSourceValidationError) ErrorName() string

ErrorName returns error name.

func (AsyncDataSourceValidationError) Field added in v0.8.3

Field function returns field value.

func (AsyncDataSourceValidationError) Key added in v0.8.3

Key function returns key value.

func (AsyncDataSourceValidationError) Reason added in v0.8.3

Reason function returns reason value.

type AsyncDataSource_Local added in v0.8.3

type AsyncDataSource_Local struct {
	// Local async data source.
	Local *DataSource `protobuf:"bytes,1,opt,name=local,proto3,oneof"`
}

type AsyncDataSource_Remote added in v0.8.3

type AsyncDataSource_Remote struct {
	// Remote async data source.
	Remote *RemoteDataSource `protobuf:"bytes,2,opt,name=remote,proto3,oneof"`
}

type BackoffStrategy added in v0.9.5

type BackoffStrategy struct {

	// The base interval to be used for the next back off computation. It should
	// be greater than zero and less than or equal to :ref:`max_interval
	// <envoy_api_field_core.BackoffStrategy.max_interval>`.
	BaseInterval *duration.Duration `protobuf:"bytes,1,opt,name=base_interval,json=baseInterval,proto3" json:"base_interval,omitempty"`
	// Specifies the maximum interval between retries. This parameter is optional,
	// but must be greater than or equal to the :ref:`base_interval
	// <envoy_api_field_core.BackoffStrategy.base_interval>` if set. The default
	// is 10 times the :ref:`base_interval
	// <envoy_api_field_core.BackoffStrategy.base_interval>`.
	MaxInterval *duration.Duration `protobuf:"bytes,2,opt,name=max_interval,json=maxInterval,proto3" json:"max_interval,omitempty"`
	// contains filtered or unexported fields
}

Configuration defining a jittered exponential back off strategy.

func (*BackoffStrategy) Descriptor deprecated added in v0.9.5

func (*BackoffStrategy) Descriptor() ([]byte, []int)

Deprecated: Use BackoffStrategy.ProtoReflect.Descriptor instead.

func (*BackoffStrategy) GetBaseInterval added in v0.9.5

func (x *BackoffStrategy) GetBaseInterval() *duration.Duration

func (*BackoffStrategy) GetMaxInterval added in v0.9.5

func (x *BackoffStrategy) GetMaxInterval() *duration.Duration

func (*BackoffStrategy) ProtoMessage added in v0.9.5

func (*BackoffStrategy) ProtoMessage()

func (*BackoffStrategy) ProtoReflect added in v0.9.6

func (x *BackoffStrategy) ProtoReflect() protoreflect.Message

func (*BackoffStrategy) Reset added in v0.9.5

func (x *BackoffStrategy) Reset()

func (*BackoffStrategy) String added in v0.9.5

func (x *BackoffStrategy) String() string

func (*BackoffStrategy) Validate added in v0.9.5

func (m *BackoffStrategy) Validate() error

Validate checks the field values on BackoffStrategy 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 (*BackoffStrategy) ValidateAll added in v0.10.0

func (m *BackoffStrategy) ValidateAll() error

ValidateAll checks the field values on BackoffStrategy 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 BackoffStrategyMultiError, or nil if none found.

type BackoffStrategyMultiError added in v0.10.0

type BackoffStrategyMultiError []error

BackoffStrategyMultiError is an error wrapping multiple validation errors returned by BackoffStrategy.ValidateAll() if the designated constraints aren't met.

func (BackoffStrategyMultiError) AllErrors added in v0.10.0

func (m BackoffStrategyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BackoffStrategyMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type BackoffStrategyValidationError added in v0.9.5

type BackoffStrategyValidationError struct {
	// contains filtered or unexported fields
}

BackoffStrategyValidationError is the validation error returned by BackoffStrategy.Validate if the designated constraints aren't met.

func (BackoffStrategyValidationError) Cause added in v0.9.5

Cause function returns cause value.

func (BackoffStrategyValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (BackoffStrategyValidationError) ErrorName added in v0.9.5

func (e BackoffStrategyValidationError) ErrorName() string

ErrorName returns error name.

func (BackoffStrategyValidationError) Field added in v0.9.5

Field function returns field value.

func (BackoffStrategyValidationError) Key added in v0.9.5

Key function returns key value.

func (BackoffStrategyValidationError) Reason added in v0.9.5

Reason function returns reason value.

type BindConfig

type BindConfig struct {

	// The address to bind to when creating a socket.
	SourceAddress *SocketAddress `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	// Whether to set the *IP_FREEBIND* option when creating the socket. When this
	// flag is set to true, allows the :ref:`source_address
	// <envoy_api_field_UpstreamBindConfig.source_address>` to be an IP address
	// that is not configured on the system running Envoy. When this flag is set
	// to false, the option *IP_FREEBIND* is disabled on the socket. When this
	// flag is not set (default), the socket is not modified, i.e. the option is
	// neither enabled nor disabled.
	Freebind *wrappers.BoolValue `protobuf:"bytes,2,opt,name=freebind,proto3" json:"freebind,omitempty"`
	// Additional socket options that may not be present in Envoy source code or
	// precompiled binaries.
	SocketOptions []*SocketOption `protobuf:"bytes,3,rep,name=socket_options,json=socketOptions,proto3" json:"socket_options,omitempty"`
	// contains filtered or unexported fields
}

func (*BindConfig) Descriptor deprecated

func (*BindConfig) Descriptor() ([]byte, []int)

Deprecated: Use BindConfig.ProtoReflect.Descriptor instead.

func (*BindConfig) GetFreebind

func (x *BindConfig) GetFreebind() *wrappers.BoolValue

func (*BindConfig) GetSocketOptions

func (x *BindConfig) GetSocketOptions() []*SocketOption

func (*BindConfig) GetSourceAddress

func (x *BindConfig) GetSourceAddress() *SocketAddress

func (*BindConfig) ProtoMessage

func (*BindConfig) ProtoMessage()

func (*BindConfig) ProtoReflect added in v0.9.6

func (x *BindConfig) ProtoReflect() protoreflect.Message

func (*BindConfig) Reset

func (x *BindConfig) Reset()

func (*BindConfig) String

func (x *BindConfig) String() string

func (*BindConfig) Validate

func (m *BindConfig) Validate() error

Validate checks the field values on BindConfig 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 (*BindConfig) ValidateAll added in v0.10.0

func (m *BindConfig) ValidateAll() error

ValidateAll checks the field values on BindConfig 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 BindConfigMultiError, or nil if none found.

type BindConfigMultiError added in v0.10.0

type BindConfigMultiError []error

BindConfigMultiError is an error wrapping multiple validation errors returned by BindConfig.ValidateAll() if the designated constraints aren't met.

func (BindConfigMultiError) AllErrors added in v0.10.0

func (m BindConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BindConfigMultiError) Error added in v0.10.0

func (m BindConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type BindConfigValidationError

type BindConfigValidationError struct {
	// contains filtered or unexported fields
}

BindConfigValidationError is the validation error returned by BindConfig.Validate if the designated constraints aren't met.

func (BindConfigValidationError) Cause

func (e BindConfigValidationError) Cause() error

Cause function returns cause value.

func (BindConfigValidationError) Error

Error satisfies the builtin error interface

func (BindConfigValidationError) ErrorName added in v0.7.0

func (e BindConfigValidationError) ErrorName() string

ErrorName returns error name.

func (BindConfigValidationError) Field

Field function returns field value.

func (BindConfigValidationError) Key

Key function returns key value.

func (BindConfigValidationError) Reason

func (e BindConfigValidationError) Reason() string

Reason function returns reason value.

type BuildVersion added in v0.9.2

type BuildVersion struct {

	// SemVer version of extension.
	Version *_type.SemanticVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Free-form build information.
	// Envoy defines several well known keys in the source/common/version/version.h file
	Metadata *_struct.Struct `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

BuildVersion combines SemVer version of extension with free-form build information (i.e. 'alpha', 'private-build') as a set of strings.

func (*BuildVersion) Descriptor deprecated added in v0.9.2

func (*BuildVersion) Descriptor() ([]byte, []int)

Deprecated: Use BuildVersion.ProtoReflect.Descriptor instead.

func (*BuildVersion) GetMetadata added in v0.9.2

func (x *BuildVersion) GetMetadata() *_struct.Struct

func (*BuildVersion) GetVersion added in v0.9.2

func (x *BuildVersion) GetVersion() *_type.SemanticVersion

func (*BuildVersion) ProtoMessage added in v0.9.2

func (*BuildVersion) ProtoMessage()

func (*BuildVersion) ProtoReflect added in v0.9.6

func (x *BuildVersion) ProtoReflect() protoreflect.Message

func (*BuildVersion) Reset added in v0.9.2

func (x *BuildVersion) Reset()

func (*BuildVersion) String added in v0.9.2

func (x *BuildVersion) String() string

func (*BuildVersion) Validate added in v0.9.2

func (m *BuildVersion) Validate() error

Validate checks the field values on BuildVersion 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 (*BuildVersion) ValidateAll added in v0.10.0

func (m *BuildVersion) ValidateAll() error

ValidateAll checks the field values on BuildVersion 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 BuildVersionMultiError, or nil if none found.

type BuildVersionMultiError added in v0.10.0

type BuildVersionMultiError []error

BuildVersionMultiError is an error wrapping multiple validation errors returned by BuildVersion.ValidateAll() if the designated constraints aren't met.

func (BuildVersionMultiError) AllErrors added in v0.10.0

func (m BuildVersionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BuildVersionMultiError) Error added in v0.10.0

func (m BuildVersionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type BuildVersionValidationError added in v0.9.2

type BuildVersionValidationError struct {
	// contains filtered or unexported fields
}

BuildVersionValidationError is the validation error returned by BuildVersion.Validate if the designated constraints aren't met.

func (BuildVersionValidationError) Cause added in v0.9.2

Cause function returns cause value.

func (BuildVersionValidationError) Error added in v0.9.2

Error satisfies the builtin error interface

func (BuildVersionValidationError) ErrorName added in v0.9.2

func (e BuildVersionValidationError) ErrorName() string

ErrorName returns error name.

func (BuildVersionValidationError) Field added in v0.9.2

Field function returns field value.

func (BuildVersionValidationError) Key added in v0.9.2

Key function returns key value.

func (BuildVersionValidationError) Reason added in v0.9.2

Reason function returns reason value.

type CidrRange

type CidrRange struct {

	// IPv4 or IPv6 address, e.g. “192.0.0.0“ or “2001:db8::“.
	AddressPrefix string `protobuf:"bytes,1,opt,name=address_prefix,json=addressPrefix,proto3" json:"address_prefix,omitempty"`
	// Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
	PrefixLen *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"`
	// contains filtered or unexported fields
}

CidrRange specifies an IP Address and a prefix length to construct the subnet mask for a `CIDR <https://tools.ietf.org/html/rfc4632>`_ range.

func (*CidrRange) Descriptor deprecated

func (*CidrRange) Descriptor() ([]byte, []int)

Deprecated: Use CidrRange.ProtoReflect.Descriptor instead.

func (*CidrRange) GetAddressPrefix

func (x *CidrRange) GetAddressPrefix() string

func (*CidrRange) GetPrefixLen

func (x *CidrRange) GetPrefixLen() *wrappers.UInt32Value

func (*CidrRange) ProtoMessage

func (*CidrRange) ProtoMessage()

func (*CidrRange) ProtoReflect added in v0.9.6

func (x *CidrRange) ProtoReflect() protoreflect.Message

func (*CidrRange) Reset

func (x *CidrRange) Reset()

func (*CidrRange) String

func (x *CidrRange) String() string

func (*CidrRange) Validate

func (m *CidrRange) Validate() error

Validate checks the field values on CidrRange 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 (*CidrRange) ValidateAll added in v0.10.0

func (m *CidrRange) ValidateAll() error

ValidateAll checks the field values on CidrRange 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 CidrRangeMultiError, or nil if none found.

type CidrRangeMultiError added in v0.10.0

type CidrRangeMultiError []error

CidrRangeMultiError is an error wrapping multiple validation errors returned by CidrRange.ValidateAll() if the designated constraints aren't met.

func (CidrRangeMultiError) AllErrors added in v0.10.0

func (m CidrRangeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CidrRangeMultiError) Error added in v0.10.0

func (m CidrRangeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CidrRangeValidationError

type CidrRangeValidationError struct {
	// contains filtered or unexported fields
}

CidrRangeValidationError is the validation error returned by CidrRange.Validate if the designated constraints aren't met.

func (CidrRangeValidationError) Cause

func (e CidrRangeValidationError) Cause() error

Cause function returns cause value.

func (CidrRangeValidationError) Error

func (e CidrRangeValidationError) Error() string

Error satisfies the builtin error interface

func (CidrRangeValidationError) ErrorName added in v0.7.0

func (e CidrRangeValidationError) ErrorName() string

ErrorName returns error name.

func (CidrRangeValidationError) Field

func (e CidrRangeValidationError) Field() string

Field function returns field value.

func (CidrRangeValidationError) Key

Key function returns key value.

func (CidrRangeValidationError) Reason

func (e CidrRangeValidationError) Reason() string

Reason function returns reason value.

type ConfigSource

type ConfigSource struct {

	// Types that are assignable to ConfigSourceSpecifier:
	//	*ConfigSource_Path
	//	*ConfigSource_ApiConfigSource
	//	*ConfigSource_Ads
	//	*ConfigSource_Self
	ConfigSourceSpecifier isConfigSource_ConfigSourceSpecifier `protobuf_oneof:"config_source_specifier"`
	// When this timeout is specified, Envoy will wait no longer than the specified time for first
	// config response on this xDS subscription during the :ref:`initialization process
	// <arch_overview_initialization>`. After reaching the timeout, Envoy will move to the next
	// initialization phase, even if the first config is not delivered yet. The timer is activated
	// when the xDS API subscription starts, and is disarmed on first config update or on error. 0
	// means no timeout - Envoy will wait indefinitely for the first xDS config (unless another
	// timeout applies). The default is 15s.
	InitialFetchTimeout *duration.Duration `protobuf:"bytes,4,opt,name=initial_fetch_timeout,json=initialFetchTimeout,proto3" json:"initial_fetch_timeout,omitempty"`
	// API version for xDS resources. This implies the type URLs that the client
	// will request for resources and the resource type that the client will in
	// turn expect to be delivered.
	ResourceApiVersion ApiVersion `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for :ref:`listeners <config_listeners>`, :ref:`clusters <config_cluster_manager>`, :ref:`routes <envoy_api_msg_RouteConfiguration>`, :ref:`endpoints <arch_overview_service_discovery>` etc. may either be sourced from the filesystem or from an xDS API source. Filesystem configs are watched with inotify for updates. [#next-free-field: 7]

func (*ConfigSource) Descriptor deprecated

func (*ConfigSource) Descriptor() ([]byte, []int)

Deprecated: Use ConfigSource.ProtoReflect.Descriptor instead.

func (*ConfigSource) GetAds

func (x *ConfigSource) GetAds() *AggregatedConfigSource

func (*ConfigSource) GetApiConfigSource

func (x *ConfigSource) GetApiConfigSource() *ApiConfigSource

func (*ConfigSource) GetConfigSourceSpecifier

func (m *ConfigSource) GetConfigSourceSpecifier() isConfigSource_ConfigSourceSpecifier

func (*ConfigSource) GetInitialFetchTimeout added in v0.7.0

func (x *ConfigSource) GetInitialFetchTimeout() *duration.Duration

func (*ConfigSource) GetPath

func (x *ConfigSource) GetPath() string

func (*ConfigSource) GetResourceApiVersion added in v0.9.2

func (x *ConfigSource) GetResourceApiVersion() ApiVersion

func (*ConfigSource) GetSelf added in v0.9.1

func (x *ConfigSource) GetSelf() *SelfConfigSource

func (*ConfigSource) ProtoMessage

func (*ConfigSource) ProtoMessage()

func (*ConfigSource) ProtoReflect added in v0.9.6

func (x *ConfigSource) ProtoReflect() protoreflect.Message

func (*ConfigSource) Reset

func (x *ConfigSource) Reset()

func (*ConfigSource) String

func (x *ConfigSource) String() string

func (*ConfigSource) Validate

func (m *ConfigSource) Validate() error

Validate checks the field values on ConfigSource 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 (*ConfigSource) ValidateAll added in v0.10.0

func (m *ConfigSource) ValidateAll() error

ValidateAll checks the field values on ConfigSource 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 ConfigSourceMultiError, or nil if none found.

type ConfigSourceMultiError added in v0.10.0

type ConfigSourceMultiError []error

ConfigSourceMultiError is an error wrapping multiple validation errors returned by ConfigSource.ValidateAll() if the designated constraints aren't met.

func (ConfigSourceMultiError) AllErrors added in v0.10.0

func (m ConfigSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConfigSourceMultiError) Error added in v0.10.0

func (m ConfigSourceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConfigSourceValidationError

type ConfigSourceValidationError struct {
	// contains filtered or unexported fields
}

ConfigSourceValidationError is the validation error returned by ConfigSource.Validate if the designated constraints aren't met.

func (ConfigSourceValidationError) Cause

Cause function returns cause value.

func (ConfigSourceValidationError) Error

Error satisfies the builtin error interface

func (ConfigSourceValidationError) ErrorName added in v0.7.0

func (e ConfigSourceValidationError) ErrorName() string

ErrorName returns error name.

func (ConfigSourceValidationError) Field

Field function returns field value.

func (ConfigSourceValidationError) Key

Key function returns key value.

func (ConfigSourceValidationError) Reason

Reason function returns reason value.

type ConfigSource_Ads

type ConfigSource_Ads struct {
	// When set, ADS will be used to fetch resources. The ADS API configuration
	// source in the bootstrap configuration is used.
	Ads *AggregatedConfigSource `protobuf:"bytes,3,opt,name=ads,proto3,oneof"`
}

type ConfigSource_ApiConfigSource

type ConfigSource_ApiConfigSource struct {
	// API configuration source.
	ApiConfigSource *ApiConfigSource `protobuf:"bytes,2,opt,name=api_config_source,json=apiConfigSource,proto3,oneof"`
}

type ConfigSource_Path

type ConfigSource_Path struct {
	// Path on the filesystem to source and watch for configuration updates.
	// When sourcing configuration for :ref:`secret <envoy_api_msg_auth.Secret>`,
	// the certificate and key files are also watched for updates.
	//
	// .. note::
	//
	//  The path to the source must exist at config load time.
	//
	// .. note::
	//
	//   Envoy will only watch the file path for *moves.* This is because in general only moves
	//   are atomic. The same method of swapping files as is demonstrated in the
	//   :ref:`runtime documentation <config_runtime_symbolic_link_swap>` can be used here also.
	Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
}

type ConfigSource_Self added in v0.9.1

type ConfigSource_Self struct {
	// [#not-implemented-hide:]
	// When set, the client will access the resources from the same server it got the
	// ConfigSource from, although not necessarily from the same stream. This is similar to the
	// :ref:`ads<envoy_api_field.ConfigSource.ads>` field, except that the client may use a
	// different stream to the same server. As a result, this field can be used for things
	// like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.)
	// LDS to RDS on the same server without requiring the management server to know its name
	// or required credentials.
	// [#next-major-version: In xDS v3, consider replacing the ads field with this one, since
	// this field can implicitly mean to use the same stream in the case where the ConfigSource
	// is provided via ADS and the specified data can also be obtained via ADS.]
	Self *SelfConfigSource `protobuf:"bytes,5,opt,name=self,proto3,oneof"`
}

type ControlPlane added in v0.6.8

type ControlPlane struct {

	// An opaque control plane identifier that uniquely identifies an instance
	// of control plane. This can be used to identify which control plane instance,
	// the Envoy is connected to.
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// contains filtered or unexported fields
}

Identifies a specific ControlPlane instance that Envoy is connected to.

func (*ControlPlane) Descriptor deprecated added in v0.6.8

func (*ControlPlane) Descriptor() ([]byte, []int)

Deprecated: Use ControlPlane.ProtoReflect.Descriptor instead.

func (*ControlPlane) GetIdentifier added in v0.6.8

func (x *ControlPlane) GetIdentifier() string

func (*ControlPlane) ProtoMessage added in v0.6.8

func (*ControlPlane) ProtoMessage()

func (*ControlPlane) ProtoReflect added in v0.9.6

func (x *ControlPlane) ProtoReflect() protoreflect.Message

func (*ControlPlane) Reset added in v0.6.8

func (x *ControlPlane) Reset()

func (*ControlPlane) String added in v0.6.8

func (x *ControlPlane) String() string

func (*ControlPlane) Validate added in v0.6.8

func (m *ControlPlane) Validate() error

Validate checks the field values on ControlPlane 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 (*ControlPlane) ValidateAll added in v0.10.0

func (m *ControlPlane) ValidateAll() error

ValidateAll checks the field values on ControlPlane 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 ControlPlaneMultiError, or nil if none found.

type ControlPlaneMultiError added in v0.10.0

type ControlPlaneMultiError []error

ControlPlaneMultiError is an error wrapping multiple validation errors returned by ControlPlane.ValidateAll() if the designated constraints aren't met.

func (ControlPlaneMultiError) AllErrors added in v0.10.0

func (m ControlPlaneMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ControlPlaneMultiError) Error added in v0.10.0

func (m ControlPlaneMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ControlPlaneValidationError added in v0.6.8

type ControlPlaneValidationError struct {
	// contains filtered or unexported fields
}

ControlPlaneValidationError is the validation error returned by ControlPlane.Validate if the designated constraints aren't met.

func (ControlPlaneValidationError) Cause added in v0.6.8

Cause function returns cause value.

func (ControlPlaneValidationError) Error added in v0.6.8

Error satisfies the builtin error interface

func (ControlPlaneValidationError) ErrorName added in v0.7.0

func (e ControlPlaneValidationError) ErrorName() string

ErrorName returns error name.

func (ControlPlaneValidationError) Field added in v0.6.8

Field function returns field value.

func (ControlPlaneValidationError) Key added in v0.6.8

Key function returns key value.

func (ControlPlaneValidationError) Reason added in v0.6.8

Reason function returns reason value.

type DataSource

type DataSource struct {

	// Types that are assignable to Specifier:
	//	*DataSource_Filename
	//	*DataSource_InlineBytes
	//	*DataSource_InlineString
	Specifier isDataSource_Specifier `protobuf_oneof:"specifier"`
	// contains filtered or unexported fields
}

Data source consisting of either a file or an inline value.

func (*DataSource) Descriptor deprecated

func (*DataSource) Descriptor() ([]byte, []int)

Deprecated: Use DataSource.ProtoReflect.Descriptor instead.

func (*DataSource) GetFilename

func (x *DataSource) GetFilename() string

func (*DataSource) GetInlineBytes

func (x *DataSource) GetInlineBytes() []byte

func (*DataSource) GetInlineString

func (x *DataSource) GetInlineString() string

func (*DataSource) GetSpecifier

func (m *DataSource) GetSpecifier() isDataSource_Specifier

func (*DataSource) ProtoMessage

func (*DataSource) ProtoMessage()

func (*DataSource) ProtoReflect added in v0.9.6

func (x *DataSource) ProtoReflect() protoreflect.Message

func (*DataSource) Reset

func (x *DataSource) Reset()

func (*DataSource) String

func (x *DataSource) String() string

func (*DataSource) Validate

func (m *DataSource) Validate() error

Validate checks the field values on DataSource 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 (*DataSource) ValidateAll added in v0.10.0

func (m *DataSource) ValidateAll() error

ValidateAll checks the field values on DataSource 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 DataSourceMultiError, or nil if none found.

type DataSourceMultiError added in v0.10.0

type DataSourceMultiError []error

DataSourceMultiError is an error wrapping multiple validation errors returned by DataSource.ValidateAll() if the designated constraints aren't met.

func (DataSourceMultiError) AllErrors added in v0.10.0

func (m DataSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataSourceMultiError) Error added in v0.10.0

func (m DataSourceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DataSourceValidationError

type DataSourceValidationError struct {
	// contains filtered or unexported fields
}

DataSourceValidationError is the validation error returned by DataSource.Validate if the designated constraints aren't met.

func (DataSourceValidationError) Cause

func (e DataSourceValidationError) Cause() error

Cause function returns cause value.

func (DataSourceValidationError) Error

Error satisfies the builtin error interface

func (DataSourceValidationError) ErrorName added in v0.7.0

func (e DataSourceValidationError) ErrorName() string

ErrorName returns error name.

func (DataSourceValidationError) Field

Field function returns field value.

func (DataSourceValidationError) Key

Key function returns key value.

func (DataSourceValidationError) Reason

func (e DataSourceValidationError) Reason() string

Reason function returns reason value.

type DataSource_Filename

type DataSource_Filename struct {
	// Local filesystem data source.
	Filename string `protobuf:"bytes,1,opt,name=filename,proto3,oneof"`
}

type DataSource_InlineBytes

type DataSource_InlineBytes struct {
	// Bytes inlined in the configuration.
	InlineBytes []byte `protobuf:"bytes,2,opt,name=inline_bytes,json=inlineBytes,proto3,oneof"`
}

type DataSource_InlineString

type DataSource_InlineString struct {
	// String inlined in the configuration.
	InlineString string `protobuf:"bytes,3,opt,name=inline_string,json=inlineString,proto3,oneof"`
}

type EventServiceConfig added in v0.9.5

type EventServiceConfig struct {

	// Types that are assignable to ConfigSourceSpecifier:
	//	*EventServiceConfig_GrpcService
	ConfigSourceSpecifier isEventServiceConfig_ConfigSourceSpecifier `protobuf_oneof:"config_source_specifier"`
	// contains filtered or unexported fields
}

[#not-implemented-hide:] Configuration of the event reporting service endpoint.

func (*EventServiceConfig) Descriptor deprecated added in v0.9.5

func (*EventServiceConfig) Descriptor() ([]byte, []int)

Deprecated: Use EventServiceConfig.ProtoReflect.Descriptor instead.

func (*EventServiceConfig) GetConfigSourceSpecifier added in v0.9.5

func (m *EventServiceConfig) GetConfigSourceSpecifier() isEventServiceConfig_ConfigSourceSpecifier

func (*EventServiceConfig) GetGrpcService added in v0.9.5

func (x *EventServiceConfig) GetGrpcService() *GrpcService

func (*EventServiceConfig) ProtoMessage added in v0.9.5

func (*EventServiceConfig) ProtoMessage()

func (*EventServiceConfig) ProtoReflect added in v0.9.6

func (x *EventServiceConfig) ProtoReflect() protoreflect.Message

func (*EventServiceConfig) Reset added in v0.9.5

func (x *EventServiceConfig) Reset()

func (*EventServiceConfig) String added in v0.9.5

func (x *EventServiceConfig) String() string

func (*EventServiceConfig) Validate added in v0.9.5

func (m *EventServiceConfig) Validate() error

Validate checks the field values on EventServiceConfig 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 (*EventServiceConfig) ValidateAll added in v0.10.0

func (m *EventServiceConfig) ValidateAll() error

ValidateAll checks the field values on EventServiceConfig 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 EventServiceConfigMultiError, or nil if none found.

type EventServiceConfigMultiError added in v0.10.0

type EventServiceConfigMultiError []error

EventServiceConfigMultiError is an error wrapping multiple validation errors returned by EventServiceConfig.ValidateAll() if the designated constraints aren't met.

func (EventServiceConfigMultiError) AllErrors added in v0.10.0

func (m EventServiceConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EventServiceConfigMultiError)