envoy_service_discovery_v3

package
v1.12.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_service_discovery_v3_ads_proto protoreflect.FileDescriptor
View Source
var File_envoy_service_discovery_v3_discovery_proto protoreflect.FileDescriptor

Functions

func RegisterAggregatedDiscoveryServiceServer

func RegisterAggregatedDiscoveryServiceServer(s *grpc.Server, srv AggregatedDiscoveryServiceServer)

Types

type AdsDummy

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

func (*AdsDummy) Descriptor deprecated

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

Deprecated: Use AdsDummy.ProtoReflect.Descriptor instead.

func (*AdsDummy) ProtoMessage

func (*AdsDummy) ProtoMessage()

func (*AdsDummy) ProtoReflect added in v1.7.0

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

func (*AdsDummy) Reset

func (x *AdsDummy) Reset()

func (*AdsDummy) String

func (x *AdsDummy) String() string

func (*AdsDummy) Validate

func (m *AdsDummy) Validate() error

Validate checks the field values on AdsDummy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AdsDummyValidationError

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

AdsDummyValidationError is the validation error returned by AdsDummy.Validate if the designated constraints aren't met.

func (AdsDummyValidationError) Cause

func (e AdsDummyValidationError) Cause() error

Cause function returns cause value.

func (AdsDummyValidationError) Error

func (e AdsDummyValidationError) Error() string

Error satisfies the builtin error interface

func (AdsDummyValidationError) ErrorName

func (e AdsDummyValidationError) ErrorName() string

ErrorName returns error name.

func (AdsDummyValidationError) Field

func (e AdsDummyValidationError) Field() string

Field function returns field value.

func (AdsDummyValidationError) Key

func (e AdsDummyValidationError) Key() bool

Key function returns key value.

func (AdsDummyValidationError) Reason

func (e AdsDummyValidationError) Reason() string

Reason function returns reason value.

type AggregatedDiscoveryServiceClient

type AggregatedDiscoveryServiceClient interface {
	StreamAggregatedResources(ctx context.Context, opts ...grpc.CallOption) (AggregatedDiscoveryService_StreamAggregatedResourcesClient, error)
	DeltaAggregatedResources(ctx context.Context, opts ...grpc.CallOption) (AggregatedDiscoveryService_DeltaAggregatedResourcesClient, error)
}

AggregatedDiscoveryServiceClient is the client API for AggregatedDiscoveryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type AggregatedDiscoveryServiceServer

type AggregatedDiscoveryServiceServer interface {
	StreamAggregatedResources(AggregatedDiscoveryService_StreamAggregatedResourcesServer) error
	DeltaAggregatedResources(AggregatedDiscoveryService_DeltaAggregatedResourcesServer) error
}

AggregatedDiscoveryServiceServer is the server API for AggregatedDiscoveryService service.

type AggregatedDiscoveryService_DeltaAggregatedResourcesClient

type AggregatedDiscoveryService_DeltaAggregatedResourcesClient interface {
	Send(*DeltaDiscoveryRequest) error
	Recv() (*DeltaDiscoveryResponse, error)
	grpc.ClientStream
}

type AggregatedDiscoveryService_DeltaAggregatedResourcesServer

type AggregatedDiscoveryService_DeltaAggregatedResourcesServer interface {
	Send(*DeltaDiscoveryResponse) error
	Recv() (*DeltaDiscoveryRequest, error)
	grpc.ServerStream
}

type AggregatedDiscoveryService_StreamAggregatedResourcesClient

type AggregatedDiscoveryService_StreamAggregatedResourcesClient interface {
	Send(*DiscoveryRequest) error
	Recv() (*DiscoveryResponse, error)
	grpc.ClientStream
}

type AggregatedDiscoveryService_StreamAggregatedResourcesServer

type AggregatedDiscoveryService_StreamAggregatedResourcesServer interface {
	Send(*DiscoveryResponse) error
	Recv() (*DiscoveryRequest, error)
	grpc.ServerStream
}

type DeltaDiscoveryRequest

type DeltaDiscoveryRequest struct {
	Node                     *v3.Node              `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	TypeUrl                  string                `protobuf:"bytes,2,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	ResourceNamesSubscribe   []string              `` /* 129-byte string literal not displayed */
	UdpaResourcesSubscribe   []*v1.ResourceLocator `` /* 129-byte string literal not displayed */
	ResourceNamesUnsubscribe []string              `` /* 135-byte string literal not displayed */
	UdpaResourcesUnsubscribe []*v1.ResourceLocator `` /* 135-byte string literal not displayed */
	InitialResourceVersions  map[string]string     `` /* 220-byte string literal not displayed */
	ResponseNonce            string                `protobuf:"bytes,6,opt,name=response_nonce,json=responseNonce,proto3" json:"response_nonce,omitempty"`
	ErrorDetail              *status.Status        `protobuf:"bytes,7,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"`
	// contains filtered or unexported fields
}

func (*DeltaDiscoveryRequest) Descriptor deprecated

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

Deprecated: Use DeltaDiscoveryRequest.ProtoReflect.Descriptor instead.

func (*DeltaDiscoveryRequest) GetErrorDetail

func (x *DeltaDiscoveryRequest) GetErrorDetail() *status.Status

func (*DeltaDiscoveryRequest) GetInitialResourceVersions

func (x *DeltaDiscoveryRequest) GetInitialResourceVersions() map[string]string

func (*DeltaDiscoveryRequest) GetNode

func (x *DeltaDiscoveryRequest) GetNode() *v3.Node

func (*DeltaDiscoveryRequest) GetResourceNamesSubscribe

func (x *DeltaDiscoveryRequest) GetResourceNamesSubscribe() []string

func (*DeltaDiscoveryRequest) GetResourceNamesUnsubscribe

func (x *DeltaDiscoveryRequest) GetResourceNamesUnsubscribe() []string

func (*DeltaDiscoveryRequest) GetResponseNonce

func (x *DeltaDiscoveryRequest) GetResponseNonce() string

func (*DeltaDiscoveryRequest) GetTypeUrl

func (x *DeltaDiscoveryRequest) GetTypeUrl() string

func (*DeltaDiscoveryRequest) GetUdpaResourcesSubscribe added in v1.7.0

func (x *DeltaDiscoveryRequest) GetUdpaResourcesSubscribe() []*v1.ResourceLocator

func (*DeltaDiscoveryRequest) GetUdpaResourcesUnsubscribe added in v1.7.0

func (x *DeltaDiscoveryRequest) GetUdpaResourcesUnsubscribe() []*v1.ResourceLocator

func (*DeltaDiscoveryRequest) ProtoMessage

func (*DeltaDiscoveryRequest) ProtoMessage()

func (*DeltaDiscoveryRequest) ProtoReflect added in v1.7.0

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

func (*DeltaDiscoveryRequest) Reset

func (x *DeltaDiscoveryRequest) Reset()

func (*DeltaDiscoveryRequest) String

func (x *DeltaDiscoveryRequest) String() string

func (*DeltaDiscoveryRequest) Validate

func (m *DeltaDiscoveryRequest) Validate() error

Validate checks the field values on DeltaDiscoveryRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeltaDiscoveryRequestValidationError

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

DeltaDiscoveryRequestValidationError is the validation error returned by DeltaDiscoveryRequest.Validate if the designated constraints aren't met.

func (DeltaDiscoveryRequestValidationError) Cause

Cause function returns cause value.

func (DeltaDiscoveryRequestValidationError) Error

Error satisfies the builtin error interface

func (DeltaDiscoveryRequestValidationError) ErrorName

ErrorName returns error name.

func (DeltaDiscoveryRequestValidationError) Field

Field function returns field value.

func (DeltaDiscoveryRequestValidationError) Key

Key function returns key value.

func (DeltaDiscoveryRequestValidationError) Reason

Reason function returns reason value.

type DeltaDiscoveryResponse

type DeltaDiscoveryResponse struct {
	SystemVersionInfo    string             `protobuf:"bytes,1,opt,name=system_version_info,json=systemVersionInfo,proto3" json:"system_version_info,omitempty"`
	Resources            []*Resource        `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	TypeUrl              string             `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	RemovedResources     []string           `protobuf:"bytes,6,rep,name=removed_resources,json=removedResources,proto3" json:"removed_resources,omitempty"`
	UdpaRemovedResources []*v1.ResourceName `protobuf:"bytes,7,rep,name=udpa_removed_resources,json=udpaRemovedResources,proto3" json:"udpa_removed_resources,omitempty"`
	Nonce                string             `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*DeltaDiscoveryResponse) Descriptor deprecated

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

Deprecated: Use DeltaDiscoveryResponse.ProtoReflect.Descriptor instead.

func (*DeltaDiscoveryResponse) GetNonce

func (x *DeltaDiscoveryResponse) GetNonce() string

func (*DeltaDiscoveryResponse) GetRemovedResources

func (x *DeltaDiscoveryResponse) GetRemovedResources() []string

func (*DeltaDiscoveryResponse) GetResources

func (x *DeltaDiscoveryResponse) GetResources() []*Resource

func (*DeltaDiscoveryResponse) GetSystemVersionInfo

func (x *DeltaDiscoveryResponse) GetSystemVersionInfo() string

func (*DeltaDiscoveryResponse) GetTypeUrl

func (x *DeltaDiscoveryResponse) GetTypeUrl() string

func (*DeltaDiscoveryResponse) GetUdpaRemovedResources added in v1.7.0

func (x *DeltaDiscoveryResponse) GetUdpaRemovedResources() []*v1.ResourceName

func (*DeltaDiscoveryResponse) ProtoMessage

func (*DeltaDiscoveryResponse) ProtoMessage()

func (*DeltaDiscoveryResponse) ProtoReflect added in v1.7.0

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

func (*DeltaDiscoveryResponse) Reset

func (x *DeltaDiscoveryResponse) Reset()

func (*DeltaDiscoveryResponse) String

func (x *DeltaDiscoveryResponse) String() string

func (*DeltaDiscoveryResponse) Validate

func (m *DeltaDiscoveryResponse) Validate() error

Validate checks the field values on DeltaDiscoveryResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeltaDiscoveryResponseValidationError

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

DeltaDiscoveryResponseValidationError is the validation error returned by DeltaDiscoveryResponse.Validate if the designated constraints aren't met.

func (DeltaDiscoveryResponseValidationError) Cause

Cause function returns cause value.

func (DeltaDiscoveryResponseValidationError) Error

Error satisfies the builtin error interface

func (DeltaDiscoveryResponseValidationError) ErrorName

ErrorName returns error name.

func (DeltaDiscoveryResponseValidationError) Field

Field function returns field value.

func (DeltaDiscoveryResponseValidationError) Key

Key function returns key value.

func (DeltaDiscoveryResponseValidationError) Reason

Reason function returns reason value.

type DiscoveryRequest

type DiscoveryRequest struct {
	VersionInfo   string         `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	Node          *v3.Node       `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
	ResourceNames []string       `protobuf:"bytes,3,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"`
	TypeUrl       string         `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	ResponseNonce string         `protobuf:"bytes,5,opt,name=response_nonce,json=responseNonce,proto3" json:"response_nonce,omitempty"`
	ErrorDetail   *status.Status `protobuf:"bytes,6,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscoveryRequest) Descriptor deprecated

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

Deprecated: Use DiscoveryRequest.ProtoReflect.Descriptor instead.

func (*DiscoveryRequest) GetErrorDetail

func (x *DiscoveryRequest) GetErrorDetail() *status.Status

func (*DiscoveryRequest) GetNode

func (x *DiscoveryRequest) GetNode() *v3.Node

func (*DiscoveryRequest) GetResourceNames

func (x *DiscoveryRequest) GetResourceNames() []string

func (*DiscoveryRequest) GetResponseNonce

func (x *DiscoveryRequest) GetResponseNonce() string

func (*DiscoveryRequest) GetTypeUrl

func (x *DiscoveryRequest) GetTypeUrl() string

func (*DiscoveryRequest) GetVersionInfo

func (x *DiscoveryRequest) GetVersionInfo() string

func (*DiscoveryRequest) ProtoMessage

func (*DiscoveryRequest) ProtoMessage()

func (*DiscoveryRequest) ProtoReflect added in v1.7.0

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

func (*DiscoveryRequest) Reset

func (x *DiscoveryRequest) Reset()

func (*DiscoveryRequest) String

func (x *DiscoveryRequest) String() string

func (*DiscoveryRequest) Validate

func (m *DiscoveryRequest) Validate() error

Validate checks the field values on DiscoveryRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DiscoveryRequestValidationError

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

DiscoveryRequestValidationError is the validation error returned by DiscoveryRequest.Validate if the designated constraints aren't met.

func (DiscoveryRequestValidationError) Cause

Cause function returns cause value.

func (DiscoveryRequestValidationError) Error

Error satisfies the builtin error interface

func (DiscoveryRequestValidationError) ErrorName

ErrorName returns error name.

func (DiscoveryRequestValidationError) Field

Field function returns field value.

func (DiscoveryRequestValidationError) Key

Key function returns key value.

func (DiscoveryRequestValidationError) Reason

Reason function returns reason value.

type DiscoveryResponse

type DiscoveryResponse struct {
	VersionInfo  string           `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	Resources    []*any.Any       `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	Canary       bool             `protobuf:"varint,3,opt,name=canary,proto3" json:"canary,omitempty"`
	TypeUrl      string           `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	Nonce        string           `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ControlPlane *v3.ControlPlane `protobuf:"bytes,6,opt,name=control_plane,json=controlPlane,proto3" json:"control_plane,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscoveryResponse) Descriptor deprecated

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

Deprecated: Use DiscoveryResponse.ProtoReflect.Descriptor instead.

func (*DiscoveryResponse) GetCanary

func (x *DiscoveryResponse) GetCanary() bool

func (*DiscoveryResponse) GetControlPlane

func (x *DiscoveryResponse) GetControlPlane() *v3.ControlPlane

func (*DiscoveryResponse) GetNonce

func (x *DiscoveryResponse) GetNonce() string

func (*DiscoveryResponse) GetResources

func (x *DiscoveryResponse) GetResources() []*any.Any

func (*DiscoveryResponse) GetTypeUrl

func (x *DiscoveryResponse) GetTypeUrl() string

func (*DiscoveryResponse) GetVersionInfo

func (x *DiscoveryResponse) GetVersionInfo() string

func (*DiscoveryResponse) ProtoMessage

func (*DiscoveryResponse) ProtoMessage()

func (*DiscoveryResponse) ProtoReflect added in v1.7.0

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

func (*DiscoveryResponse) Reset

func (x *DiscoveryResponse) Reset()

func (*DiscoveryResponse) String

func (x *DiscoveryResponse) String() string

func (*DiscoveryResponse) Validate

func (m *DiscoveryResponse) Validate() error

Validate checks the field values on DiscoveryResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DiscoveryResponseValidationError

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

DiscoveryResponseValidationError is the validation error returned by DiscoveryResponse.Validate if the designated constraints aren't met.

func (DiscoveryResponseValidationError) Cause

Cause function returns cause value.

func (DiscoveryResponseValidationError) Error

Error satisfies the builtin error interface

func (DiscoveryResponseValidationError) ErrorName

ErrorName returns error name.

func (DiscoveryResponseValidationError) Field

Field function returns field value.

func (DiscoveryResponseValidationError) Key

Key function returns key value.

func (DiscoveryResponseValidationError) Reason

Reason function returns reason value.

type Resource

type Resource struct {
	Name             string           `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	UdpaResourceName *v1.ResourceName `protobuf:"bytes,5,opt,name=udpa_resource_name,json=udpaResourceName,proto3" json:"udpa_resource_name,omitempty"`
	Aliases          []string         `protobuf:"bytes,4,rep,name=aliases,proto3" json:"aliases,omitempty"`
	Version          string           `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Resource         *any.Any         `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetAliases

func (x *Resource) GetAliases() []string

func (*Resource) GetName

func (x *Resource) GetName() string

func (*Resource) GetResource

func (x *Resource) GetResource() *any.Any

func (*Resource) GetUdpaResourceName added in v1.7.0

func (x *Resource) GetUdpaResourceName() *v1.ResourceName

func (*Resource) GetVersion

func (x *Resource) GetVersion() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect added in v1.7.0

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

func (*Resource) Validate

func (m *Resource) Validate() error

Validate checks the field values on Resource with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ResourceValidationError

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

ResourceValidationError is the validation error returned by Resource.Validate if the designated constraints aren't met.

func (ResourceValidationError) Cause

func (e ResourceValidationError) Cause() error

Cause function returns cause value.

func (ResourceValidationError) Error

func (e ResourceValidationError) Error() string

Error satisfies the builtin error interface

func (ResourceValidationError) ErrorName

func (e ResourceValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceValidationError) Field

func (e ResourceValidationError) Field() string

Field function returns field value.

func (ResourceValidationError) Key

func (e ResourceValidationError) Key() bool

Key function returns key value.

func (ResourceValidationError) Reason

func (e ResourceValidationError) Reason() string

Reason function returns reason value.

type UnimplementedAggregatedDiscoveryServiceServer

type UnimplementedAggregatedDiscoveryServiceServer struct {
}

UnimplementedAggregatedDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAggregatedDiscoveryServiceServer) DeltaAggregatedResources

func (*UnimplementedAggregatedDiscoveryServiceServer) StreamAggregatedResources

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL