Documentation ¶
Index ¶
- Variables
- func RegisterAggregatedDiscoveryServiceServer(s *grpc.Server, srv AggregatedDiscoveryServiceServer)
- type AdsDummy
- type AdsDummyValidationError
- type AggregatedDiscoveryServiceClient
- type AggregatedDiscoveryServiceServer
- type AggregatedDiscoveryService_DeltaAggregatedResourcesClient
- type AggregatedDiscoveryService_DeltaAggregatedResourcesServer
- type AggregatedDiscoveryService_StreamAggregatedResourcesClient
- type AggregatedDiscoveryService_StreamAggregatedResourcesServer
- type DeltaDiscoveryRequest
- func (*DeltaDiscoveryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeltaDiscoveryRequest) GetErrorDetail() *status.Status
- func (x *DeltaDiscoveryRequest) GetInitialResourceVersions() map[string]string
- func (x *DeltaDiscoveryRequest) GetNode() *v3.Node
- func (x *DeltaDiscoveryRequest) GetResourceNamesSubscribe() []string
- func (x *DeltaDiscoveryRequest) GetResourceNamesUnsubscribe() []string
- func (x *DeltaDiscoveryRequest) GetResponseNonce() string
- func (x *DeltaDiscoveryRequest) GetTypeUrl() string
- func (x *DeltaDiscoveryRequest) GetUdpaResourcesSubscribe() []*v1.ResourceLocator
- func (x *DeltaDiscoveryRequest) GetUdpaResourcesUnsubscribe() []*v1.ResourceLocator
- func (*DeltaDiscoveryRequest) ProtoMessage()
- func (x *DeltaDiscoveryRequest) ProtoReflect() protoreflect.Message
- func (x *DeltaDiscoveryRequest) Reset()
- func (x *DeltaDiscoveryRequest) String() string
- func (m *DeltaDiscoveryRequest) Validate() error
- type DeltaDiscoveryRequestValidationError
- func (e DeltaDiscoveryRequestValidationError) Cause() error
- func (e DeltaDiscoveryRequestValidationError) Error() string
- func (e DeltaDiscoveryRequestValidationError) ErrorName() string
- func (e DeltaDiscoveryRequestValidationError) Field() string
- func (e DeltaDiscoveryRequestValidationError) Key() bool
- func (e DeltaDiscoveryRequestValidationError) Reason() string
- type DeltaDiscoveryResponse
- func (*DeltaDiscoveryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeltaDiscoveryResponse) GetNonce() string
- func (x *DeltaDiscoveryResponse) GetRemovedResources() []string
- func (x *DeltaDiscoveryResponse) GetResources() []*Resource
- func (x *DeltaDiscoveryResponse) GetSystemVersionInfo() string
- func (x *DeltaDiscoveryResponse) GetTypeUrl() string
- func (x *DeltaDiscoveryResponse) GetUdpaRemovedResources() []*v1.ResourceName
- func (*DeltaDiscoveryResponse) ProtoMessage()
- func (x *DeltaDiscoveryResponse) ProtoReflect() protoreflect.Message
- func (x *DeltaDiscoveryResponse) Reset()
- func (x *DeltaDiscoveryResponse) String() string
- func (m *DeltaDiscoveryResponse) Validate() error
- type DeltaDiscoveryResponseValidationError
- func (e DeltaDiscoveryResponseValidationError) Cause() error
- func (e DeltaDiscoveryResponseValidationError) Error() string
- func (e DeltaDiscoveryResponseValidationError) ErrorName() string
- func (e DeltaDiscoveryResponseValidationError) Field() string
- func (e DeltaDiscoveryResponseValidationError) Key() bool
- func (e DeltaDiscoveryResponseValidationError) Reason() string
- type DiscoveryRequest
- func (*DiscoveryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryRequest) GetErrorDetail() *status.Status
- func (x *DiscoveryRequest) GetNode() *v3.Node
- func (x *DiscoveryRequest) GetResourceNames() []string
- func (x *DiscoveryRequest) GetResponseNonce() string
- func (x *DiscoveryRequest) GetTypeUrl() string
- func (x *DiscoveryRequest) GetVersionInfo() string
- func (*DiscoveryRequest) ProtoMessage()
- func (x *DiscoveryRequest) ProtoReflect() protoreflect.Message
- func (x *DiscoveryRequest) Reset()
- func (x *DiscoveryRequest) String() string
- func (m *DiscoveryRequest) Validate() error
- type DiscoveryRequestValidationError
- func (e DiscoveryRequestValidationError) Cause() error
- func (e DiscoveryRequestValidationError) Error() string
- func (e DiscoveryRequestValidationError) ErrorName() string
- func (e DiscoveryRequestValidationError) Field() string
- func (e DiscoveryRequestValidationError) Key() bool
- func (e DiscoveryRequestValidationError) Reason() string
- type DiscoveryResponse
- func (*DiscoveryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryResponse) GetCanary() bool
- func (x *DiscoveryResponse) GetControlPlane() *v3.ControlPlane
- func (x *DiscoveryResponse) GetNonce() string
- func (x *DiscoveryResponse) GetResources() []*any.Any
- func (x *DiscoveryResponse) GetTypeUrl() string
- func (x *DiscoveryResponse) GetVersionInfo() string
- func (*DiscoveryResponse) ProtoMessage()
- func (x *DiscoveryResponse) ProtoReflect() protoreflect.Message
- func (x *DiscoveryResponse) Reset()
- func (x *DiscoveryResponse) String() string
- func (m *DiscoveryResponse) Validate() error
- type DiscoveryResponseValidationError
- func (e DiscoveryResponseValidationError) Cause() error
- func (e DiscoveryResponseValidationError) Error() string
- func (e DiscoveryResponseValidationError) ErrorName() string
- func (e DiscoveryResponseValidationError) Field() string
- func (e DiscoveryResponseValidationError) Key() bool
- func (e DiscoveryResponseValidationError) Reason() string
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetAliases() []string
- func (x *Resource) GetName() string
- func (x *Resource) GetResource() *any.Any
- func (x *Resource) GetUdpaResourceName() *v1.ResourceName
- func (x *Resource) GetVersion() string
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- func (m *Resource) Validate() error
- type ResourceValidationError
- type UnimplementedAggregatedDiscoveryServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_envoy_service_discovery_v3_ads_proto protoreflect.FileDescriptor
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) ProtoMessage ¶
func (*AdsDummy) ProtoMessage()
func (*AdsDummy) ProtoReflect ¶
func (x *AdsDummy) ProtoReflect() protoreflect.Message
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.ClientConnInterface) 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 */ 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 ¶
func (x *DeltaDiscoveryRequest) GetUdpaResourcesSubscribe() []*v1.ResourceLocator
func (*DeltaDiscoveryRequest) GetUdpaResourcesUnsubscribe ¶
func (x *DeltaDiscoveryRequest) GetUdpaResourcesUnsubscribe() []*v1.ResourceLocator
func (*DeltaDiscoveryRequest) ProtoMessage ¶
func (*DeltaDiscoveryRequest) ProtoMessage()
func (*DeltaDiscoveryRequest) ProtoReflect ¶
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 ¶
func (e DeltaDiscoveryRequestValidationError) Cause() error
Cause function returns cause value.
func (DeltaDiscoveryRequestValidationError) Error ¶
func (e DeltaDiscoveryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeltaDiscoveryRequestValidationError) ErrorName ¶
func (e DeltaDiscoveryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeltaDiscoveryRequestValidationError) Field ¶
func (e DeltaDiscoveryRequestValidationError) Field() string
Field function returns field value.
func (DeltaDiscoveryRequestValidationError) Key ¶
func (e DeltaDiscoveryRequestValidationError) Key() bool
Key function returns key value.
func (DeltaDiscoveryRequestValidationError) Reason ¶
func (e DeltaDiscoveryRequestValidationError) Reason() string
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 ¶
func (x *DeltaDiscoveryResponse) GetUdpaRemovedResources() []*v1.ResourceName
func (*DeltaDiscoveryResponse) ProtoMessage ¶
func (*DeltaDiscoveryResponse) ProtoMessage()
func (*DeltaDiscoveryResponse) ProtoReflect ¶
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 ¶
func (e DeltaDiscoveryResponseValidationError) Cause() error
Cause function returns cause value.
func (DeltaDiscoveryResponseValidationError) Error ¶
func (e DeltaDiscoveryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeltaDiscoveryResponseValidationError) ErrorName ¶
func (e DeltaDiscoveryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeltaDiscoveryResponseValidationError) Field ¶
func (e DeltaDiscoveryResponseValidationError) Field() string
Field function returns field value.
func (DeltaDiscoveryResponseValidationError) Key ¶
func (e DeltaDiscoveryResponseValidationError) Key() bool
Key function returns key value.
func (DeltaDiscoveryResponseValidationError) Reason ¶
func (e DeltaDiscoveryResponseValidationError) Reason() string
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 ¶
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 ¶
func (e DiscoveryRequestValidationError) Cause() error
Cause function returns cause value.
func (DiscoveryRequestValidationError) Error ¶
func (e DiscoveryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DiscoveryRequestValidationError) ErrorName ¶
func (e DiscoveryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DiscoveryRequestValidationError) Field ¶
func (e DiscoveryRequestValidationError) Field() string
Field function returns field value.
func (DiscoveryRequestValidationError) Key ¶
func (e DiscoveryRequestValidationError) Key() bool
Key function returns key value.
func (DiscoveryRequestValidationError) Reason ¶
func (e DiscoveryRequestValidationError) Reason() string
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 ¶
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 ¶
func (e DiscoveryResponseValidationError) Cause() error
Cause function returns cause value.
func (DiscoveryResponseValidationError) Error ¶
func (e DiscoveryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DiscoveryResponseValidationError) ErrorName ¶
func (e DiscoveryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DiscoveryResponseValidationError) Field ¶
func (e DiscoveryResponseValidationError) Field() string
Field function returns field value.
func (DiscoveryResponseValidationError) Key ¶
func (e DiscoveryResponseValidationError) Key() bool
Key function returns key value.
func (DiscoveryResponseValidationError) Reason ¶
func (e DiscoveryResponseValidationError) Reason() string
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) GetAliases ¶
func (*Resource) GetResource ¶
func (*Resource) GetUdpaResourceName ¶
func (x *Resource) GetUdpaResourceName() *v1.ResourceName
func (*Resource) GetVersion ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
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) DeltaAggregatedResources(AggregatedDiscoveryService_DeltaAggregatedResourcesServer) error
func (*UnimplementedAggregatedDiscoveryServiceServer) StreamAggregatedResources ¶
func (*UnimplementedAggregatedDiscoveryServiceServer) StreamAggregatedResources(AggregatedDiscoveryService_StreamAggregatedResourcesServer) error