envoy_service_discovery_v3

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 21 Imported by: 366

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAggregatedDiscoveryServiceServer

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

Types

type AdsDummy

type AdsDummy struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AdsDummy) Descriptor

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

func (*AdsDummy) ProtoMessage

func (*AdsDummy) ProtoMessage()

func (*AdsDummy) Reset

func (m *AdsDummy) Reset()

func (*AdsDummy) String

func (m *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.

func (*AdsDummy) XXX_DiscardUnknown

func (m *AdsDummy) XXX_DiscardUnknown()

func (*AdsDummy) XXX_Marshal

func (m *AdsDummy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AdsDummy) XXX_Merge

func (m *AdsDummy) XXX_Merge(src proto.Message)

func (*AdsDummy) XXX_Size

func (m *AdsDummy) XXX_Size() int

func (*AdsDummy) XXX_Unmarshal

func (m *AdsDummy) XXX_Unmarshal(b []byte) error

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.

func NewAggregatedDiscoveryServiceClient

func NewAggregatedDiscoveryServiceClient(cc *grpc.ClientConn) AggregatedDiscoveryServiceClient

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 */
	ResourceNamesUnsubscribe []string          `` /* 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"`
	XXX_NoUnkeyedLiteral     struct{}          `json:"-"`
	XXX_unrecognized         []byte            `json:"-"`
	XXX_sizecache            int32             `json:"-"`
}

func (*DeltaDiscoveryRequest) Descriptor

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

func (*DeltaDiscoveryRequest) GetErrorDetail

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

func (*DeltaDiscoveryRequest) GetInitialResourceVersions

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

func (*DeltaDiscoveryRequest) GetNode

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

func (*DeltaDiscoveryRequest) GetResourceNamesSubscribe

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

func (*DeltaDiscoveryRequest) GetResourceNamesUnsubscribe

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

func (*DeltaDiscoveryRequest) GetResponseNonce

func (m *DeltaDiscoveryRequest) GetResponseNonce() string

func (*DeltaDiscoveryRequest) GetTypeUrl

func (m *DeltaDiscoveryRequest) GetTypeUrl() string

func (*DeltaDiscoveryRequest) ProtoMessage

func (*DeltaDiscoveryRequest) ProtoMessage()

func (*DeltaDiscoveryRequest) Reset

func (m *DeltaDiscoveryRequest) Reset()

func (*DeltaDiscoveryRequest) String

func (m *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.

func (*DeltaDiscoveryRequest) XXX_DiscardUnknown

func (m *DeltaDiscoveryRequest) XXX_DiscardUnknown()

func (*DeltaDiscoveryRequest) XXX_Marshal

func (m *DeltaDiscoveryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeltaDiscoveryRequest) XXX_Merge

func (m *DeltaDiscoveryRequest) XXX_Merge(src proto.Message)

func (*DeltaDiscoveryRequest) XXX_Size

func (m *DeltaDiscoveryRequest) XXX_Size() int

func (*DeltaDiscoveryRequest) XXX_Unmarshal

func (m *DeltaDiscoveryRequest) XXX_Unmarshal(b []byte) error

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"`
	Nonce                string      `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*DeltaDiscoveryResponse) Descriptor

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

func (*DeltaDiscoveryResponse) GetNonce

func (m *DeltaDiscoveryResponse) GetNonce() string

func (*DeltaDiscoveryResponse) GetRemovedResources

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

func (*DeltaDiscoveryResponse) GetResources

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

func (*DeltaDiscoveryResponse) GetSystemVersionInfo

func (m *DeltaDiscoveryResponse) GetSystemVersionInfo() string

func (*DeltaDiscoveryResponse) GetTypeUrl

func (m *DeltaDiscoveryResponse) GetTypeUrl() string

func (*DeltaDiscoveryResponse) ProtoMessage

func (*DeltaDiscoveryResponse) ProtoMessage()

func (*DeltaDiscoveryResponse) Reset

func (m *DeltaDiscoveryResponse) Reset()

func (*DeltaDiscoveryResponse) String

func (m *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.

func (*DeltaDiscoveryResponse) XXX_DiscardUnknown

func (m *DeltaDiscoveryResponse) XXX_DiscardUnknown()

func (*DeltaDiscoveryResponse) XXX_Marshal

func (m *DeltaDiscoveryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeltaDiscoveryResponse) XXX_Merge

func (m *DeltaDiscoveryResponse) XXX_Merge(src proto.Message)

func (*DeltaDiscoveryResponse) XXX_Size

func (m *DeltaDiscoveryResponse) XXX_Size() int

func (*DeltaDiscoveryResponse) XXX_Unmarshal

func (m *DeltaDiscoveryResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DiscoveryRequest) Descriptor

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

func (*DiscoveryRequest) GetErrorDetail

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

func (*DiscoveryRequest) GetNode

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

func (*DiscoveryRequest) GetResourceNames

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

func (*DiscoveryRequest) GetResponseNonce

func (m *DiscoveryRequest) GetResponseNonce() string

func (*DiscoveryRequest) GetTypeUrl

func (m *DiscoveryRequest) GetTypeUrl() string

func (*DiscoveryRequest) GetVersionInfo

func (m *DiscoveryRequest) GetVersionInfo() string

func (*DiscoveryRequest) ProtoMessage

func (*DiscoveryRequest) ProtoMessage()

func (*DiscoveryRequest) Reset

func (m *DiscoveryRequest) Reset()

func (*DiscoveryRequest) String

func (m *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.

func (*DiscoveryRequest) XXX_DiscardUnknown

func (m *DiscoveryRequest) XXX_DiscardUnknown()

func (*DiscoveryRequest) XXX_Marshal

func (m *DiscoveryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiscoveryRequest) XXX_Merge

func (m *DiscoveryRequest) XXX_Merge(src proto.Message)

func (*DiscoveryRequest) XXX_Size

func (m *DiscoveryRequest) XXX_Size() int

func (*DiscoveryRequest) XXX_Unmarshal

func (m *DiscoveryRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*DiscoveryResponse) Descriptor

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

func (*DiscoveryResponse) GetCanary

func (m *DiscoveryResponse) GetCanary() bool

func (*DiscoveryResponse) GetControlPlane

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

func (*DiscoveryResponse) GetNonce

func (m *DiscoveryResponse) GetNonce() string

func (*DiscoveryResponse) GetResources

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

func (*DiscoveryResponse) GetTypeUrl

func (m *DiscoveryResponse) GetTypeUrl() string

func (*DiscoveryResponse) GetVersionInfo

func (m *DiscoveryResponse) GetVersionInfo() string

func (*DiscoveryResponse) ProtoMessage

func (*DiscoveryResponse) ProtoMessage()

func (*DiscoveryResponse) Reset

func (m *DiscoveryResponse) Reset()

func (*DiscoveryResponse) String

func (m *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.

func (*DiscoveryResponse) XXX_DiscardUnknown

func (m *DiscoveryResponse) XXX_DiscardUnknown()

func (*DiscoveryResponse) XXX_Marshal

func (m *DiscoveryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiscoveryResponse) XXX_Merge

func (m *DiscoveryResponse) XXX_Merge(src proto.Message)

func (*DiscoveryResponse) XXX_Size

func (m *DiscoveryResponse) XXX_Size() int

func (*DiscoveryResponse) XXX_Unmarshal

func (m *DiscoveryResponse) XXX_Unmarshal(b []byte) error

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"`
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Resource) Descriptor

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

func (*Resource) GetAliases

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

func (*Resource) GetName

func (m *Resource) GetName() string

func (*Resource) GetResource

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

func (*Resource) GetVersion

func (m *Resource) GetVersion() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) String

func (m *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.

func (*Resource) XXX_DiscardUnknown

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal

func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resource) XXX_Merge

func (m *Resource) XXX_Merge(src proto.Message)

func (*Resource) XXX_Size

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal

func (m *Resource) XXX_Unmarshal(b []byte) error

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