Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)
- func RegisterAppDaemonServer(s grpc.ServiceRegistrar, srv AppDaemonServer)
- func RegisterAuthPluginServer(s grpc.ServiceRegistrar, srv AuthPluginServer)
- func RegisterIPAMPluginServer(s grpc.ServiceRegistrar, srv IPAMPluginServer)
- func RegisterMembershipServer(s grpc.ServiceRegistrar, srv MembershipServer)
- func RegisterMeshServer(s grpc.ServiceRegistrar, srv MeshServer)
- func RegisterNodeServer(s grpc.ServiceRegistrar, srv NodeServer)
- func RegisterPluginServer(s grpc.ServiceRegistrar, srv PluginServer)
- func RegisterStorageProviderPluginServer(s grpc.ServiceRegistrar, srv StorageProviderPluginServer)
- func RegisterStorageQuerierPluginServer(s grpc.ServiceRegistrar, srv StorageQuerierPluginServer)
- func RegisterStorageQueryServiceServer(s grpc.ServiceRegistrar, srv StorageQueryServiceServer)
- func RegisterWatchPluginServer(s grpc.ServiceRegistrar, srv WatchPluginServer)
- func RegisterWebRTCServer(s grpc.ServiceRegistrar, srv WebRTCServer)
- type ACLAction
- type AddObserverResponse
- func (in *AddObserverResponse) DeepCopy() *AddObserverResponse
- func (in *AddObserverResponse) DeepCopyInterface() interface{}
- func (in *AddObserverResponse) DeepCopyInto(out *AddObserverResponse)
- func (*AddObserverResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddObserverResponse) ProtoMessage()
- func (x *AddObserverResponse) ProtoReflect() protoreflect.Message
- func (x *AddObserverResponse) Reset()
- func (x *AddObserverResponse) String() string
- func (m *AddObserverResponse) Validate() error
- func (m *AddObserverResponse) ValidateAll() error
- type AddObserverResponseMultiError
- type AddObserverResponseValidationError
- func (e AddObserverResponseValidationError) Cause() error
- func (e AddObserverResponseValidationError) Error() string
- func (e AddObserverResponseValidationError) ErrorName() string
- func (e AddObserverResponseValidationError) Field() string
- func (e AddObserverResponseValidationError) Key() bool
- func (e AddObserverResponseValidationError) Reason() string
- type AddVoterResponse
- func (in *AddVoterResponse) DeepCopy() *AddVoterResponse
- func (in *AddVoterResponse) DeepCopyInterface() interface{}
- func (in *AddVoterResponse) DeepCopyInto(out *AddVoterResponse)
- func (*AddVoterResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddVoterResponse) ProtoMessage()
- func (x *AddVoterResponse) ProtoReflect() protoreflect.Message
- func (x *AddVoterResponse) Reset()
- func (x *AddVoterResponse) String() string
- func (m *AddVoterResponse) Validate() error
- func (m *AddVoterResponse) ValidateAll() error
- type AddVoterResponseMultiError
- type AddVoterResponseValidationError
- func (e AddVoterResponseValidationError) Cause() error
- func (e AddVoterResponseValidationError) Error() string
- func (e AddVoterResponseValidationError) ErrorName() string
- func (e AddVoterResponseValidationError) Field() string
- func (e AddVoterResponseValidationError) Key() bool
- func (e AddVoterResponseValidationError) Reason() string
- type AdminClient
- type AdminServer
- type AllocateIPRequest
- func (in *AllocateIPRequest) DeepCopy() *AllocateIPRequest
- func (in *AllocateIPRequest) DeepCopyInterface() interface{}
- func (in *AllocateIPRequest) DeepCopyInto(out *AllocateIPRequest)
- func (*AllocateIPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AllocateIPRequest) GetNodeId() string
- func (x *AllocateIPRequest) GetSubnet() string
- func (*AllocateIPRequest) ProtoMessage()
- func (x *AllocateIPRequest) ProtoReflect() protoreflect.Message
- func (x *AllocateIPRequest) Reset()
- func (x *AllocateIPRequest) String() string
- func (m *AllocateIPRequest) Validate() error
- func (m *AllocateIPRequest) ValidateAll() error
- type AllocateIPRequestMultiError
- type AllocateIPRequestValidationError
- func (e AllocateIPRequestValidationError) Cause() error
- func (e AllocateIPRequestValidationError) Error() string
- func (e AllocateIPRequestValidationError) ErrorName() string
- func (e AllocateIPRequestValidationError) Field() string
- func (e AllocateIPRequestValidationError) Key() bool
- func (e AllocateIPRequestValidationError) Reason() string
- type AllocatedIP
- func (in *AllocatedIP) DeepCopy() *AllocatedIP
- func (in *AllocatedIP) DeepCopyInterface() interface{}
- func (in *AllocatedIP) DeepCopyInto(out *AllocatedIP)
- func (*AllocatedIP) Descriptor() ([]byte, []int)deprecated
- func (x *AllocatedIP) GetIp() string
- func (*AllocatedIP) ProtoMessage()
- func (x *AllocatedIP) ProtoReflect() protoreflect.Message
- func (x *AllocatedIP) Reset()
- func (x *AllocatedIP) String() string
- func (m *AllocatedIP) Validate() error
- func (m *AllocatedIP) ValidateAll() error
- type AllocatedIPMultiError
- type AllocatedIPValidationError
- func (e AllocatedIPValidationError) Cause() error
- func (e AllocatedIPValidationError) Error() string
- func (e AllocatedIPValidationError) ErrorName() string
- func (e AllocatedIPValidationError) Field() string
- func (e AllocatedIPValidationError) Key() bool
- func (e AllocatedIPValidationError) Reason() string
- type AnnounceDHTRequest
- func (in *AnnounceDHTRequest) DeepCopy() *AnnounceDHTRequest
- func (in *AnnounceDHTRequest) DeepCopyInterface() interface{}
- func (in *AnnounceDHTRequest) DeepCopyInto(out *AnnounceDHTRequest)
- func (*AnnounceDHTRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnnounceDHTRequest) GetBootstrapServers() []string
- func (x *AnnounceDHTRequest) GetPsk() string
- func (*AnnounceDHTRequest) ProtoMessage()
- func (x *AnnounceDHTRequest) ProtoReflect() protoreflect.Message
- func (x *AnnounceDHTRequest) Reset()
- func (x *AnnounceDHTRequest) String() string
- func (m *AnnounceDHTRequest) Validate() error
- func (m *AnnounceDHTRequest) ValidateAll() error
- type AnnounceDHTRequestMultiError
- type AnnounceDHTRequestValidationError
- func (e AnnounceDHTRequestValidationError) Cause() error
- func (e AnnounceDHTRequestValidationError) Error() string
- func (e AnnounceDHTRequestValidationError) ErrorName() string
- func (e AnnounceDHTRequestValidationError) Field() string
- func (e AnnounceDHTRequestValidationError) Key() bool
- func (e AnnounceDHTRequestValidationError) Reason() string
- type AnnounceDHTResponse
- func (in *AnnounceDHTResponse) DeepCopy() *AnnounceDHTResponse
- func (in *AnnounceDHTResponse) DeepCopyInterface() interface{}
- func (in *AnnounceDHTResponse) DeepCopyInto(out *AnnounceDHTResponse)
- func (*AnnounceDHTResponse) Descriptor() ([]byte, []int)deprecated
- func (*AnnounceDHTResponse) ProtoMessage()
- func (x *AnnounceDHTResponse) ProtoReflect() protoreflect.Message
- func (x *AnnounceDHTResponse) Reset()
- func (x *AnnounceDHTResponse) String() string
- func (m *AnnounceDHTResponse) Validate() error
- func (m *AnnounceDHTResponse) ValidateAll() error
- type AnnounceDHTResponseMultiError
- type AnnounceDHTResponseValidationError
- func (e AnnounceDHTResponseValidationError) Cause() error
- func (e AnnounceDHTResponseValidationError) Error() string
- func (e AnnounceDHTResponseValidationError) ErrorName() string
- func (e AnnounceDHTResponseValidationError) Field() string
- func (e AnnounceDHTResponseValidationError) Key() bool
- func (e AnnounceDHTResponseValidationError) Reason() string
- type AppDaemonClient
- type AppDaemonServer
- type AppDaemon_QueryClient
- type AppDaemon_QueryServer
- type AppDaemon_SubscribeClient
- type AppDaemon_SubscribeServer
- type AuthPluginClient
- type AuthPluginServer
- type AuthenticationRequest
- func (in *AuthenticationRequest) DeepCopy() *AuthenticationRequest
- func (in *AuthenticationRequest) DeepCopyInterface() interface{}
- func (in *AuthenticationRequest) DeepCopyInto(out *AuthenticationRequest)
- func (*AuthenticationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticationRequest) GetCertificates() [][]byte
- func (x *AuthenticationRequest) GetHeaders() map[string]string
- func (*AuthenticationRequest) ProtoMessage()
- func (x *AuthenticationRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticationRequest) Reset()
- func (x *AuthenticationRequest) String() string
- func (m *AuthenticationRequest) Validate() error
- func (m *AuthenticationRequest) ValidateAll() error
- type AuthenticationRequestMultiError
- type AuthenticationRequestValidationError
- func (e AuthenticationRequestValidationError) Cause() error
- func (e AuthenticationRequestValidationError) Error() string
- func (e AuthenticationRequestValidationError) ErrorName() string
- func (e AuthenticationRequestValidationError) Field() string
- func (e AuthenticationRequestValidationError) Key() bool
- func (e AuthenticationRequestValidationError) Reason() string
- type AuthenticationResponse
- func (in *AuthenticationResponse) DeepCopy() *AuthenticationResponse
- func (in *AuthenticationResponse) DeepCopyInterface() interface{}
- func (in *AuthenticationResponse) DeepCopyInto(out *AuthenticationResponse)
- func (*AuthenticationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticationResponse) GetId() string
- func (*AuthenticationResponse) ProtoMessage()
- func (x *AuthenticationResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticationResponse) Reset()
- func (x *AuthenticationResponse) String() string
- func (m *AuthenticationResponse) Validate() error
- func (m *AuthenticationResponse) ValidateAll() error
- type AuthenticationResponseMultiError
- type AuthenticationResponseValidationError
- func (e AuthenticationResponseValidationError) Cause() error
- func (e AuthenticationResponseValidationError) Error() string
- func (e AuthenticationResponseValidationError) ErrorName() string
- func (e AuthenticationResponseValidationError) Field() string
- func (e AuthenticationResponseValidationError) Key() bool
- func (e AuthenticationResponseValidationError) Reason() string
- type BootstrapRequest
- func (in *BootstrapRequest) DeepCopy() *BootstrapRequest
- func (in *BootstrapRequest) DeepCopyInterface() interface{}
- func (in *BootstrapRequest) DeepCopyInto(out *BootstrapRequest)
- func (*BootstrapRequest) Descriptor() ([]byte, []int)deprecated
- func (*BootstrapRequest) ProtoMessage()
- func (x *BootstrapRequest) ProtoReflect() protoreflect.Message
- func (x *BootstrapRequest) Reset()
- func (x *BootstrapRequest) String() string
- func (m *BootstrapRequest) Validate() error
- func (m *BootstrapRequest) ValidateAll() error
- type BootstrapRequestMultiError
- type BootstrapRequestValidationError
- func (e BootstrapRequestValidationError) Cause() error
- func (e BootstrapRequestValidationError) Error() string
- func (e BootstrapRequestValidationError) ErrorName() string
- func (e BootstrapRequestValidationError) Field() string
- func (e BootstrapRequestValidationError) Key() bool
- func (e BootstrapRequestValidationError) Reason() string
- type BootstrapResponse
- func (in *BootstrapResponse) DeepCopy() *BootstrapResponse
- func (in *BootstrapResponse) DeepCopyInterface() interface{}
- func (in *BootstrapResponse) DeepCopyInto(out *BootstrapResponse)
- func (*BootstrapResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BootstrapResponse) GetStatus() *StorageStatus
- func (*BootstrapResponse) ProtoMessage()
- func (x *BootstrapResponse) ProtoReflect() protoreflect.Message
- func (x *BootstrapResponse) Reset()
- func (x *BootstrapResponse) String() string
- func (m *BootstrapResponse) Validate() error
- func (m *BootstrapResponse) ValidateAll() error
- type BootstrapResponseMultiError
- type BootstrapResponseValidationError
- func (e BootstrapResponseValidationError) Cause() error
- func (e BootstrapResponseValidationError) Error() string
- func (e BootstrapResponseValidationError) ErrorName() string
- func (e BootstrapResponseValidationError) Field() string
- func (e BootstrapResponseValidationError) Key() bool
- func (e BootstrapResponseValidationError) Reason() string
- type ClusterStatus
- func (ClusterStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ClusterStatus) Enum() *ClusterStatus
- func (ClusterStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClusterStatus) Number() protoreflect.EnumNumber
- func (x ClusterStatus) String() string
- func (ClusterStatus) Type() protoreflect.EnumType
- type ConnectProtocol
- func (ConnectProtocol) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectProtocol) Enum() *ConnectProtocol
- func (ConnectProtocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectProtocol) Number() protoreflect.EnumNumber
- func (x ConnectProtocol) String() string
- func (ConnectProtocol) Type() protoreflect.EnumType
- type ConnectRequest
- func (in *ConnectRequest) DeepCopy() *ConnectRequest
- func (in *ConnectRequest) DeepCopyInterface() interface{}
- func (in *ConnectRequest) DeepCopyInto(out *ConnectRequest)
- func (*ConnectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectRequest) GetConfig() *structpb.Struct
- func (x *ConnectRequest) GetDisableBootstrap() bool
- func (x *ConnectRequest) GetJoinPsk() string
- func (*ConnectRequest) ProtoMessage()
- func (x *ConnectRequest) ProtoReflect() protoreflect.Message
- func (x *ConnectRequest) Reset()
- func (x *ConnectRequest) String() string
- func (m *ConnectRequest) Validate() error
- func (m *ConnectRequest) ValidateAll() error
- type ConnectRequestMultiError
- type ConnectRequestValidationError
- func (e ConnectRequestValidationError) Cause() error
- func (e ConnectRequestValidationError) Error() string
- func (e ConnectRequestValidationError) ErrorName() string
- func (e ConnectRequestValidationError) Field() string
- func (e ConnectRequestValidationError) Key() bool
- func (e ConnectRequestValidationError) Reason() string
- type ConnectResponse
- func (in *ConnectResponse) DeepCopy() *ConnectResponse
- func (in *ConnectResponse) DeepCopyInterface() interface{}
- func (in *ConnectResponse) DeepCopyInto(out *ConnectResponse)
- func (*ConnectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectResponse) GetIpv4() string
- func (x *ConnectResponse) GetIpv6() string
- func (x *ConnectResponse) GetMeshDomain() string
- func (x *ConnectResponse) GetNodeId() string
- func (*ConnectResponse) ProtoMessage()
- func (x *ConnectResponse) ProtoReflect() protoreflect.Message
- func (x *ConnectResponse) Reset()
- func (x *ConnectResponse) String() string
- func (m *ConnectResponse) Validate() error
- func (m *ConnectResponse) ValidateAll() error
- type ConnectResponseMultiError
- type ConnectResponseValidationError
- func (e ConnectResponseValidationError) Cause() error
- func (e ConnectResponseValidationError) Error() string
- func (e ConnectResponseValidationError) ErrorName() string
- func (e ConnectResponseValidationError) Field() string
- func (e ConnectResponseValidationError) Key() bool
- func (e ConnectResponseValidationError) Reason() string
- type DataChannel
- func (DataChannel) Descriptor() protoreflect.EnumDescriptor
- func (x DataChannel) Enum() *DataChannel
- func (DataChannel) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataChannel) Number() protoreflect.EnumNumber
- func (x DataChannel) String() string
- func (DataChannel) Type() protoreflect.EnumType
- type DataChannelNegotiation
- func (in *DataChannelNegotiation) DeepCopy() *DataChannelNegotiation
- func (in *DataChannelNegotiation) DeepCopyInterface() interface{}
- func (in *DataChannelNegotiation) DeepCopyInto(out *DataChannelNegotiation)
- func (*DataChannelNegotiation) Descriptor() ([]byte, []int)deprecated
- func (x *DataChannelNegotiation) GetAnswer() string
- func (x *DataChannelNegotiation) GetCandidate() string
- func (x *DataChannelNegotiation) GetDst() string
- func (x *DataChannelNegotiation) GetOffer() string
- func (x *DataChannelNegotiation) GetPort() uint32
- func (x *DataChannelNegotiation) GetProto() string
- func (x *DataChannelNegotiation) GetSrc() string
- func (x *DataChannelNegotiation) GetStunServers() []string
- func (*DataChannelNegotiation) ProtoMessage()
- func (x *DataChannelNegotiation) ProtoReflect() protoreflect.Message
- func (x *DataChannelNegotiation) Reset()
- func (x *DataChannelNegotiation) String() string
- func (m *DataChannelNegotiation) Validate() error
- func (m *DataChannelNegotiation) ValidateAll() error
- type DataChannelNegotiationMultiError
- type DataChannelNegotiationValidationError
- func (e DataChannelNegotiationValidationError) Cause() error
- func (e DataChannelNegotiationValidationError) Error() string
- func (e DataChannelNegotiationValidationError) ErrorName() string
- func (e DataChannelNegotiationValidationError) Field() string
- func (e DataChannelNegotiationValidationError) Key() bool
- func (e DataChannelNegotiationValidationError) Reason() string
- type DataChannelOffer
- func (in *DataChannelOffer) DeepCopy() *DataChannelOffer
- func (in *DataChannelOffer) DeepCopyInterface() interface{}
- func (in *DataChannelOffer) DeepCopyInto(out *DataChannelOffer)
- func (*DataChannelOffer) Descriptor() ([]byte, []int)deprecated
- func (x *DataChannelOffer) GetCandidate() string
- func (x *DataChannelOffer) GetOffer() string
- func (x *DataChannelOffer) GetStunServers() []string
- func (*DataChannelOffer) ProtoMessage()
- func (x *DataChannelOffer) ProtoReflect() protoreflect.Message
- func (x *DataChannelOffer) Reset()
- func (x *DataChannelOffer) String() string
- func (m *DataChannelOffer) Validate() error
- func (m *DataChannelOffer) ValidateAll() error
- type DataChannelOfferMultiError
- type DataChannelOfferValidationError
- func (e DataChannelOfferValidationError) Cause() error
- func (e DataChannelOfferValidationError) Error() string
- func (e DataChannelOfferValidationError) ErrorName() string
- func (e DataChannelOfferValidationError) Field() string
- func (e DataChannelOfferValidationError) Key() bool
- func (e DataChannelOfferValidationError) Reason() string
- type DeleteValueRequest
- func (in *DeleteValueRequest) DeepCopy() *DeleteValueRequest
- func (in *DeleteValueRequest) DeepCopyInterface() interface{}
- func (in *DeleteValueRequest) DeepCopyInto(out *DeleteValueRequest)
- func (*DeleteValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteValueRequest) GetKey() []byte
- func (*DeleteValueRequest) ProtoMessage()
- func (x *DeleteValueRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteValueRequest) Reset()
- func (x *DeleteValueRequest) String() string
- func (m *DeleteValueRequest) Validate() error
- func (m *DeleteValueRequest) ValidateAll() error
- type DeleteValueRequestMultiError
- type DeleteValueRequestValidationError
- func (e DeleteValueRequestValidationError) Cause() error
- func (e DeleteValueRequestValidationError) Error() string
- func (e DeleteValueRequestValidationError) ErrorName() string
- func (e DeleteValueRequestValidationError) Field() string
- func (e DeleteValueRequestValidationError) Key() bool
- func (e DeleteValueRequestValidationError) Reason() string
- type DeleteValueResponse
- func (in *DeleteValueResponse) DeepCopy() *DeleteValueResponse
- func (in *DeleteValueResponse) DeepCopyInterface() interface{}
- func (in *DeleteValueResponse) DeepCopyInto(out *DeleteValueResponse)
- func (*DeleteValueResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteValueResponse) ProtoMessage()
- func (x *DeleteValueResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteValueResponse) Reset()
- func (x *DeleteValueResponse) String() string
- func (m *DeleteValueResponse) Validate() error
- func (m *DeleteValueResponse) ValidateAll() error
- type DeleteValueResponseMultiError
- type DeleteValueResponseValidationError
- func (e DeleteValueResponseValidationError) Cause() error
- func (e DeleteValueResponseValidationError) Error() string
- func (e DeleteValueResponseValidationError) ErrorName() string
- func (e DeleteValueResponseValidationError) Field() string
- func (e DeleteValueResponseValidationError) Key() bool
- func (e DeleteValueResponseValidationError) Reason() string
- type DemoteVoterResponse
- func (in *DemoteVoterResponse) DeepCopy() *DemoteVoterResponse
- func (in *DemoteVoterResponse) DeepCopyInterface() interface{}
- func (in *DemoteVoterResponse) DeepCopyInto(out *DemoteVoterResponse)
- func (*DemoteVoterResponse) Descriptor() ([]byte, []int)deprecated
- func (*DemoteVoterResponse) ProtoMessage()
- func (x *DemoteVoterResponse) ProtoReflect() protoreflect.Message
- func (x *DemoteVoterResponse) Reset()
- func (x *DemoteVoterResponse) String() string
- func (m *DemoteVoterResponse) Validate() error
- func (m *DemoteVoterResponse) ValidateAll() error
- type DemoteVoterResponseMultiError
- type DemoteVoterResponseValidationError
- func (e DemoteVoterResponseValidationError) Cause() error
- func (e DemoteVoterResponseValidationError) Error() string
- func (e DemoteVoterResponseValidationError) ErrorName() string
- func (e DemoteVoterResponseValidationError) Field() string
- func (e DemoteVoterResponseValidationError) Key() bool
- func (e DemoteVoterResponseValidationError) Reason() string
- type DisconnectRequest
- func (in *DisconnectRequest) DeepCopy() *DisconnectRequest
- func (in *DisconnectRequest) DeepCopyInterface() interface{}
- func (in *DisconnectRequest) DeepCopyInto(out *DisconnectRequest)
- func (*DisconnectRequest) Descriptor() ([]byte, []int)deprecated
- func (*DisconnectRequest) ProtoMessage()
- func (x *DisconnectRequest) ProtoReflect() protoreflect.Message
- func (x *DisconnectRequest) Reset()
- func (x *DisconnectRequest) String() string
- func (m *DisconnectRequest) Validate() error
- func (m *DisconnectRequest) ValidateAll() error
- type DisconnectRequestMultiError
- type DisconnectRequestValidationError
- func (e DisconnectRequestValidationError) Cause() error
- func (e DisconnectRequestValidationError) Error() string
- func (e DisconnectRequestValidationError) ErrorName() string
- func (e DisconnectRequestValidationError) Field() string
- func (e DisconnectRequestValidationError) Key() bool
- func (e DisconnectRequestValidationError) Reason() string
- type DisconnectResponse
- func (in *DisconnectResponse) DeepCopy() *DisconnectResponse
- func (in *DisconnectResponse) DeepCopyInterface() interface{}
- func (in *DisconnectResponse) DeepCopyInto(out *DisconnectResponse)
- func (*DisconnectResponse) Descriptor() ([]byte, []int)deprecated
- func (*DisconnectResponse) ProtoMessage()
- func (x *DisconnectResponse) ProtoReflect() protoreflect.Message
- func (x *DisconnectResponse) Reset()
- func (x *DisconnectResponse) String() string
- func (m *DisconnectResponse) Validate() error
- func (m *DisconnectResponse) ValidateAll() error
- type DisconnectResponseMultiError
- type DisconnectResponseValidationError
- func (e DisconnectResponseValidationError) Cause() error
- func (e DisconnectResponseValidationError) Error() string
- func (e DisconnectResponseValidationError) ErrorName() string
- func (e DisconnectResponseValidationError) Field() string
- func (e DisconnectResponseValidationError) Key() bool
- func (e DisconnectResponseValidationError) Reason() string
- type EdgeAttribute
- func (EdgeAttribute) Descriptor() protoreflect.EnumDescriptor
- func (x EdgeAttribute) Enum() *EdgeAttribute
- func (EdgeAttribute) EnumDescriptor() ([]byte, []int)deprecated
- func (x EdgeAttribute) Number() protoreflect.EnumNumber
- func (x EdgeAttribute) String() string
- func (EdgeAttribute) Type() protoreflect.EnumType
- type Event
- func (in *Event) DeepCopy() *Event
- func (in *Event) DeepCopyInterface() interface{}
- func (in *Event) DeepCopyInto(out *Event)
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (m *Event) GetEvent() isEvent_Event
- func (x *Event) GetNode() *MeshNode
- func (x *Event) GetType() Event_WatchEvent
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- func (m *Event) Validate() error
- func (m *Event) ValidateAll() error
- type EventMultiError
- type EventValidationError
- type Event_Node
- type Event_WatchEvent
- func (Event_WatchEvent) Descriptor() protoreflect.EnumDescriptor
- func (x Event_WatchEvent) Enum() *Event_WatchEvent
- func (Event_WatchEvent) EnumDescriptor() ([]byte, []int)deprecated
- func (x Event_WatchEvent) Number() protoreflect.EnumNumber
- func (x Event_WatchEvent) String() string
- func (Event_WatchEvent) Type() protoreflect.EnumType
- type Feature
- type FeaturePort
- func (in *FeaturePort) DeepCopy() *FeaturePort
- func (in *FeaturePort) DeepCopyInterface() interface{}
- func (in *FeaturePort) DeepCopyInto(out *FeaturePort)
- func (*FeaturePort) Descriptor() ([]byte, []int)deprecated
- func (x *FeaturePort) GetFeature() Feature
- func (x *FeaturePort) GetPort() int32
- func (*FeaturePort) ProtoMessage()
- func (x *FeaturePort) ProtoReflect() protoreflect.Message
- func (x *FeaturePort) Reset()
- func (x *FeaturePort) String() string
- func (m *FeaturePort) Validate() error
- func (m *FeaturePort) ValidateAll() error
- type FeaturePortMultiError
- type FeaturePortValidationError
- func (e FeaturePortValidationError) Cause() error
- func (e FeaturePortValidationError) Error() string
- func (e FeaturePortValidationError) ErrorName() string
- func (e FeaturePortValidationError) Field() string
- func (e FeaturePortValidationError) Key() bool
- func (e FeaturePortValidationError) Reason() string
- type GetLeaderRequest
- func (in *GetLeaderRequest) DeepCopy() *GetLeaderRequest
- func (in *GetLeaderRequest) DeepCopyInterface() interface{}
- func (in *GetLeaderRequest) DeepCopyInto(out *GetLeaderRequest)
- func (*GetLeaderRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetLeaderRequest) ProtoMessage()
- func (x *GetLeaderRequest) ProtoReflect() protoreflect.Message
- func (x *GetLeaderRequest) Reset()
- func (x *GetLeaderRequest) String() string
- func (m *GetLeaderRequest) Validate() error
- func (m *GetLeaderRequest) ValidateAll() error
- type GetLeaderRequestMultiError
- type GetLeaderRequestValidationError
- func (e GetLeaderRequestValidationError) Cause() error
- func (e GetLeaderRequestValidationError) Error() string
- func (e GetLeaderRequestValidationError) ErrorName() string
- func (e GetLeaderRequestValidationError) Field() string
- func (e GetLeaderRequestValidationError) Key() bool
- func (e GetLeaderRequestValidationError) Reason() string
- type GetNodeRequest
- func (in *GetNodeRequest) DeepCopy() *GetNodeRequest
- func (in *GetNodeRequest) DeepCopyInterface() interface{}
- func (in *GetNodeRequest) DeepCopyInto(out *GetNodeRequest)
- func (*GetNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeRequest) GetId() string
- func (*GetNodeRequest) ProtoMessage()
- func (x *GetNodeRequest) ProtoReflect() protoreflect.Message
- func (x *GetNodeRequest) Reset()
- func (x *GetNodeRequest) String() string
- func (m *GetNodeRequest) Validate() error
- func (m *GetNodeRequest) ValidateAll() error
- type GetNodeRequestMultiError
- type GetNodeRequestValidationError
- func (e GetNodeRequestValidationError) Cause() error
- func (e GetNodeRequestValidationError) Error() string
- func (e GetNodeRequestValidationError) ErrorName() string
- func (e GetNodeRequestValidationError) Field() string
- func (e GetNodeRequestValidationError) Key() bool
- func (e GetNodeRequestValidationError) Reason() string
- type GetPeersRequest
- func (in *GetPeersRequest) DeepCopy() *GetPeersRequest
- func (in *GetPeersRequest) DeepCopyInterface() interface{}
- func (in *GetPeersRequest) DeepCopyInto(out *GetPeersRequest)
- func (*GetPeersRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetPeersRequest) ProtoMessage()
- func (x *GetPeersRequest) ProtoReflect() protoreflect.Message
- func (x *GetPeersRequest) Reset()
- func (x *GetPeersRequest) String() string
- func (m *GetPeersRequest) Validate() error
- func (m *GetPeersRequest) ValidateAll() error
- type GetPeersRequestMultiError
- type GetPeersRequestValidationError
- func (e GetPeersRequestValidationError) Cause() error
- func (e GetPeersRequestValidationError) Error() string
- func (e GetPeersRequestValidationError) ErrorName() string
- func (e GetPeersRequestValidationError) Field() string
- func (e GetPeersRequestValidationError) Key() bool
- func (e GetPeersRequestValidationError) Reason() string
- type GetStatusRequest
- func (in *GetStatusRequest) DeepCopy() *GetStatusRequest
- func (in *GetStatusRequest) DeepCopyInterface() interface{}
- func (in *GetStatusRequest) DeepCopyInto(out *GetStatusRequest)
- func (*GetStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStatusRequest) GetId() string
- func (*GetStatusRequest) ProtoMessage()
- func (x *GetStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetStatusRequest) Reset()
- func (x *GetStatusRequest) String() string
- func (m *GetStatusRequest) Validate() error
- func (m *GetStatusRequest) ValidateAll() error
- type GetStatusRequestMultiError
- type GetStatusRequestValidationError
- func (e GetStatusRequestValidationError) Cause() error
- func (e GetStatusRequestValidationError) Error() string
- func (e GetStatusRequestValidationError) ErrorName() string
- func (e GetStatusRequestValidationError) Field() string
- func (e GetStatusRequestValidationError) Key() bool
- func (e GetStatusRequestValidationError) Reason() string
- type GetValueRequest
- func (in *GetValueRequest) DeepCopy() *GetValueRequest
- func (in *GetValueRequest) DeepCopyInterface() interface{}
- func (in *GetValueRequest) DeepCopyInto(out *GetValueRequest)
- func (*GetValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetValueRequest) GetKey() []byte
- func (*GetValueRequest) ProtoMessage()
- func (x *GetValueRequest) ProtoReflect() protoreflect.Message
- func (x *GetValueRequest) Reset()
- func (x *GetValueRequest) String() string
- func (m *GetValueRequest) Validate() error
- func (m *GetValueRequest) ValidateAll() error
- type GetValueRequestMultiError
- type GetValueRequestValidationError
- func (e GetValueRequestValidationError) Cause() error
- func (e GetValueRequestValidationError) Error() string
- func (e GetValueRequestValidationError) ErrorName() string
- func (e GetValueRequestValidationError) Field() string
- func (e GetValueRequestValidationError) Key() bool
- func (e GetValueRequestValidationError) Reason() string
- type GetValueResponse
- func (in *GetValueResponse) DeepCopy() *GetValueResponse
- func (in *GetValueResponse) DeepCopyInterface() interface{}
- func (in *GetValueResponse) DeepCopyInto(out *GetValueResponse)
- func (*GetValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetValueResponse) GetValue() *StorageValue
- func (*GetValueResponse) ProtoMessage()
- func (x *GetValueResponse) ProtoReflect() protoreflect.Message
- func (x *GetValueResponse) Reset()
- func (x *GetValueResponse) String() string
- func (m *GetValueResponse) Validate() error
- func (m *GetValueResponse) ValidateAll() error
- type GetValueResponseMultiError
- type GetValueResponseValidationError
- func (e GetValueResponseValidationError) Cause() error
- func (e GetValueResponseValidationError) Error() string
- func (e GetValueResponseValidationError) ErrorName() string
- func (e GetValueResponseValidationError) Field() string
- func (e GetValueResponseValidationError) Key() bool
- func (e GetValueResponseValidationError) Reason() string
- type Group
- func (in *Group) DeepCopy() *Group
- func (in *Group) DeepCopyInterface() interface{}
- func (in *Group) DeepCopyInto(out *Group)
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetName() string
- func (x *Group) GetSubjects() []*Subject
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- func (m *Group) Validate() error
- func (m *Group) ValidateAll() error
- type GroupMultiError
- type GroupValidationError
- type Groups
- func (in *Groups) DeepCopy() *Groups
- func (in *Groups) DeepCopyInterface() interface{}
- func (in *Groups) DeepCopyInto(out *Groups)
- func (*Groups) Descriptor() ([]byte, []int)deprecated
- func (x *Groups) GetItems() []*Group
- func (*Groups) ProtoMessage()
- func (x *Groups) ProtoReflect() protoreflect.Message
- func (x *Groups) Reset()
- func (x *Groups) String() string
- func (m *Groups) Validate() error
- func (m *Groups) ValidateAll() error
- type GroupsMultiError
- type GroupsValidationError
- type IPAMPluginClient
- type IPAMPluginServer
- type InterfaceMetrics
- func (in *InterfaceMetrics) DeepCopy() *InterfaceMetrics
- func (in *InterfaceMetrics) DeepCopyInterface() interface{}
- func (in *InterfaceMetrics) DeepCopyInto(out *InterfaceMetrics)
- func (*InterfaceMetrics) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceMetrics) GetAddressV4() string
- func (x *InterfaceMetrics) GetAddressV6() string
- func (x *InterfaceMetrics) GetDeviceName() string
- func (x *InterfaceMetrics) GetListenPort() int32
- func (x *InterfaceMetrics) GetNumPeers() int32
- func (x *InterfaceMetrics) GetPeers() []*PeerMetrics
- func (x *InterfaceMetrics) GetPublicKey() string
- func (x *InterfaceMetrics) GetTotalReceiveBytes() uint64
- func (x *InterfaceMetrics) GetTotalTransmitBytes() uint64
- func (x *InterfaceMetrics) GetType() string
- func (*InterfaceMetrics) ProtoMessage()
- func (x *InterfaceMetrics) ProtoReflect() protoreflect.Message
- func (x *InterfaceMetrics) Reset()
- func (x *InterfaceMetrics) String() string
- func (m *InterfaceMetrics) Validate() error
- func (m *InterfaceMetrics) ValidateAll() error
- type InterfaceMetricsMultiError
- type InterfaceMetricsValidationError
- func (e InterfaceMetricsValidationError) Cause() error
- func (e InterfaceMetricsValidationError) Error() string
- func (e InterfaceMetricsValidationError) ErrorName() string
- func (e InterfaceMetricsValidationError) Field() string
- func (e InterfaceMetricsValidationError) Key() bool
- func (e InterfaceMetricsValidationError) Reason() string
- type JoinRequest
- func (in *JoinRequest) DeepCopy() *JoinRequest
- func (in *JoinRequest) DeepCopyInterface() interface{}
- func (in *JoinRequest) DeepCopyInto(out *JoinRequest)
- func (*JoinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JoinRequest) GetAsObserver() bool
- func (x *JoinRequest) GetAsVoter() bool
- func (x *JoinRequest) GetAssignIpv4() bool
- func (x *JoinRequest) GetDirectPeers() map[string]ConnectProtocol
- func (x *JoinRequest) GetFeatures() []*FeaturePort
- func (x *JoinRequest) GetId() string
- func (x *JoinRequest) GetMultiaddrs() []string
- func (x *JoinRequest) GetPreferStorageIpv6() bool
- func (x *JoinRequest) GetPrimaryEndpoint() string
- func (x *JoinRequest) GetPublicKey() string
- func (x *JoinRequest) GetRoutes() []string
- func (x *JoinRequest) GetWireguardEndpoints() []string
- func (x *JoinRequest) GetZoneAwarenessId() string
- func (*JoinRequest) ProtoMessage()
- func (x *JoinRequest) ProtoReflect() protoreflect.Message
- func (x *JoinRequest) Reset()
- func (x *JoinRequest) String() string
- func (m *JoinRequest) Validate() error
- func (m *JoinRequest) ValidateAll() error
- type JoinRequestMultiError
- type JoinRequestValidationError
- func (e JoinRequestValidationError) Cause() error
- func (e JoinRequestValidationError) Error() string
- func (e JoinRequestValidationError) ErrorName() string
- func (e JoinRequestValidationError) Field() string
- func (e JoinRequestValidationError) Key() bool
- func (e JoinRequestValidationError) Reason() string
- type JoinResponse
- func (in *JoinResponse) DeepCopy() *JoinResponse
- func (in *JoinResponse) DeepCopyInterface() interface{}
- func (in *JoinResponse) DeepCopyInto(out *JoinResponse)
- func (*JoinResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JoinResponse) GetAddressIpv4() string
- func (x *JoinResponse) GetAddressIpv6() string
- func (x *JoinResponse) GetDnsServers() []string
- func (x *JoinResponse) GetIceServers() []string
- func (x *JoinResponse) GetMeshDomain() string
- func (x *JoinResponse) GetNetworkIpv4() string
- func (x *JoinResponse) GetNetworkIpv6() string
- func (x *JoinResponse) GetPeers() []*WireGuardPeer
- func (*JoinResponse) ProtoMessage()
- func (x *JoinResponse) ProtoReflect() protoreflect.Message
- func (x *JoinResponse) Reset()
- func (x *JoinResponse) String() string
- func (m *JoinResponse) Validate() error
- func (m *JoinResponse) ValidateAll() error
- type JoinResponseMultiError
- type JoinResponseValidationError
- func (e JoinResponseValidationError) Cause() error
- func (e JoinResponseValidationError) Error() string
- func (e JoinResponseValidationError) ErrorName() string
- func (e JoinResponseValidationError) Field() string
- func (e JoinResponseValidationError) Key() bool
- func (e JoinResponseValidationError) Reason() string
- type LeaveDHTRequest
- func (in *LeaveDHTRequest) DeepCopy() *LeaveDHTRequest
- func (in *LeaveDHTRequest) DeepCopyInterface() interface{}
- func (in *LeaveDHTRequest) DeepCopyInto(out *LeaveDHTRequest)
- func (*LeaveDHTRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LeaveDHTRequest) GetPsk() string
- func (*LeaveDHTRequest) ProtoMessage()
- func (x *LeaveDHTRequest) ProtoReflect() protoreflect.Message
- func (x *LeaveDHTRequest) Reset()
- func (x *LeaveDHTRequest) String() string
- func (m *LeaveDHTRequest) Validate() error
- func (m *LeaveDHTRequest) ValidateAll() error
- type LeaveDHTRequestMultiError
- type LeaveDHTRequestValidationError
- func (e LeaveDHTRequestValidationError) Cause() error
- func (e LeaveDHTRequestValidationError) Error() string
- func (e LeaveDHTRequestValidationError) ErrorName() string
- func (e LeaveDHTRequestValidationError) Field() string
- func (e LeaveDHTRequestValidationError) Key() bool
- func (e LeaveDHTRequestValidationError) Reason() string
- type LeaveDHTResponse
- func (in *LeaveDHTResponse) DeepCopy() *LeaveDHTResponse
- func (in *LeaveDHTResponse) DeepCopyInterface() interface{}
- func (in *LeaveDHTResponse) DeepCopyInto(out *LeaveDHTResponse)
- func (*LeaveDHTResponse) Descriptor() ([]byte, []int)deprecated
- func (*LeaveDHTResponse) ProtoMessage()
- func (x *LeaveDHTResponse) ProtoReflect() protoreflect.Message
- func (x *LeaveDHTResponse) Reset()
- func (x *LeaveDHTResponse) String() string
- func (m *LeaveDHTResponse) Validate() error
- func (m *LeaveDHTResponse) ValidateAll() error
- type LeaveDHTResponseMultiError
- type LeaveDHTResponseValidationError
- func (e LeaveDHTResponseValidationError) Cause() error
- func (e LeaveDHTResponseValidationError) Error() string
- func (e LeaveDHTResponseValidationError) ErrorName() string
- func (e LeaveDHTResponseValidationError) Field() string
- func (e LeaveDHTResponseValidationError) Key() bool
- func (e LeaveDHTResponseValidationError) Reason() string
- type LeaveRequest
- func (in *LeaveRequest) DeepCopy() *LeaveRequest
- func (in *LeaveRequest) DeepCopyInterface() interface{}
- func (in *LeaveRequest) DeepCopyInto(out *LeaveRequest)
- func (*LeaveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LeaveRequest) GetId() string
- func (*LeaveRequest) ProtoMessage()
- func (x *LeaveRequest) ProtoReflect() protoreflect.Message
- func (x *LeaveRequest) Reset()
- func (x *LeaveRequest) String() string
- func (m *LeaveRequest) Validate() error
- func (m *LeaveRequest) ValidateAll() error
- type LeaveRequestMultiError
- type LeaveRequestValidationError
- func (e LeaveRequestValidationError) Cause() error
- func (e LeaveRequestValidationError) Error() string
- func (e LeaveRequestValidationError) ErrorName() string
- func (e LeaveRequestValidationError) Field() string
- func (e LeaveRequestValidationError) Key() bool
- func (e LeaveRequestValidationError) Reason() string
- type LeaveResponse
- func (in *LeaveResponse) DeepCopy() *LeaveResponse
- func (in *LeaveResponse) DeepCopyInterface() interface{}
- func (in *LeaveResponse) DeepCopyInto(out *LeaveResponse)
- func (*LeaveResponse) Descriptor() ([]byte, []int)deprecated
- func (*LeaveResponse) ProtoMessage()
- func (x *LeaveResponse) ProtoReflect() protoreflect.Message
- func (x *LeaveResponse) Reset()
- func (x *LeaveResponse) String() string
- func (m *LeaveResponse) Validate() error
- func (m *LeaveResponse) ValidateAll() error
- type LeaveResponseMultiError
- type LeaveResponseValidationError
- func (e LeaveResponseValidationError) Cause() error
- func (e LeaveResponseValidationError) Error() string
- func (e LeaveResponseValidationError) ErrorName() string
- func (e LeaveResponseValidationError) Field() string
- func (e LeaveResponseValidationError) Key() bool
- func (e LeaveResponseValidationError) Reason() string
- type ListKeysRequest
- func (in *ListKeysRequest) DeepCopy() *ListKeysRequest
- func (in *ListKeysRequest) DeepCopyInterface() interface{}
- func (in *ListKeysRequest) DeepCopyInto(out *ListKeysRequest)
- func (*ListKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListKeysRequest) GetPrefix() []byte
- func (*ListKeysRequest) ProtoMessage()
- func (x *ListKeysRequest) ProtoReflect() protoreflect.Message
- func (x *ListKeysRequest) Reset()
- func (x *ListKeysRequest) String() string
- func (m *ListKeysRequest) Validate() error
- func (m *ListKeysRequest) ValidateAll() error
- type ListKeysRequestMultiError
- type ListKeysRequestValidationError
- func (e ListKeysRequestValidationError) Cause() error
- func (e ListKeysRequestValidationError) Error() string
- func (e ListKeysRequestValidationError) ErrorName() string
- func (e ListKeysRequestValidationError) Field() string
- func (e ListKeysRequestValidationError) Key() bool
- func (e ListKeysRequestValidationError) Reason() string
- type ListKeysResponse
- func (in *ListKeysResponse) DeepCopy() *ListKeysResponse
- func (in *ListKeysResponse) DeepCopyInterface() interface{}
- func (in *ListKeysResponse) DeepCopyInto(out *ListKeysResponse)
- func (*ListKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListKeysResponse) GetKeys() [][]byte
- func (*ListKeysResponse) ProtoMessage()
- func (x *ListKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListKeysResponse) Reset()
- func (x *ListKeysResponse) String() string
- func (m *ListKeysResponse) Validate() error
- func (m *ListKeysResponse) ValidateAll() error
- type ListKeysResponseMultiError
- type ListKeysResponseValidationError
- func (e ListKeysResponseValidationError) Cause() error
- func (e ListKeysResponseValidationError) Error() string
- func (e ListKeysResponseValidationError) ErrorName() string
- func (e ListKeysResponseValidationError) Field() string
- func (e ListKeysResponseValidationError) Key() bool
- func (e ListKeysResponseValidationError) Reason() string
- type ListValuesRequest
- func (in *ListValuesRequest) DeepCopy() *ListValuesRequest
- func (in *ListValuesRequest) DeepCopyInterface() interface{}
- func (in *ListValuesRequest) DeepCopyInto(out *ListValuesRequest)
- func (*ListValuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListValuesRequest) GetPrefix() []byte
- func (*ListValuesRequest) ProtoMessage()
- func (x *ListValuesRequest) ProtoReflect() protoreflect.Message
- func (x *ListValuesRequest) Reset()
- func (x *ListValuesRequest) String() string
- func (m *ListValuesRequest) Validate() error
- func (m *ListValuesRequest) ValidateAll() error
- type ListValuesRequestMultiError
- type ListValuesRequestValidationError
- func (e ListValuesRequestValidationError) Cause() error
- func (e ListValuesRequestValidationError) Error() string
- func (e ListValuesRequestValidationError) ErrorName() string
- func (e ListValuesRequestValidationError) Field() string
- func (e ListValuesRequestValidationError) Key() bool
- func (e ListValuesRequestValidationError) Reason() string
- type ListValuesResponse
- func (in *ListValuesResponse) DeepCopy() *ListValuesResponse
- func (in *ListValuesResponse) DeepCopyInterface() interface{}
- func (in *ListValuesResponse) DeepCopyInto(out *ListValuesResponse)
- func (*ListValuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListValuesResponse) GetValues() []*StorageValue
- func (*ListValuesResponse) ProtoMessage()
- func (x *ListValuesResponse) ProtoReflect() protoreflect.Message
- func (x *ListValuesResponse) Reset()
- func (x *ListValuesResponse) String() string
- func (m *ListValuesResponse) Validate() error
- func (m *ListValuesResponse) ValidateAll() error
- type ListValuesResponseMultiError
- type ListValuesResponseValidationError
- func (e ListValuesResponseValidationError) Cause() error
- func (e ListValuesResponseValidationError) Error() string
- func (e ListValuesResponseValidationError) ErrorName() string
- func (e ListValuesResponseValidationError) Field() string
- func (e ListValuesResponseValidationError) Key() bool
- func (e ListValuesResponseValidationError) Reason() string
- type MembershipClient
- type MembershipServer
- type Membership_SubscribePeersClient
- type Membership_SubscribePeersServer
- type MeshClient
- type MeshEdge
- func (in *MeshEdge) DeepCopy() *MeshEdge
- func (in *MeshEdge) DeepCopyInterface() interface{}
- func (in *MeshEdge) DeepCopyInto(out *MeshEdge)
- func (*MeshEdge) Descriptor() ([]byte, []int)deprecated
- func (x *MeshEdge) GetAttributes() map[string]string
- func (x *MeshEdge) GetSource() string
- func (x *MeshEdge) GetTarget() string
- func (x *MeshEdge) GetWeight() int32
- func (*MeshEdge) ProtoMessage()
- func (x *MeshEdge) ProtoReflect() protoreflect.Message
- func (x *MeshEdge) Reset()
- func (x *MeshEdge) String() string
- func (m *MeshEdge) Validate() error
- func (m *MeshEdge) ValidateAll() error
- type MeshEdgeMultiError
- type MeshEdgeValidationError
- type MeshEdges
- func (in *MeshEdges) DeepCopy() *MeshEdges
- func (in *MeshEdges) DeepCopyInterface() interface{}
- func (in *MeshEdges) DeepCopyInto(out *MeshEdges)
- func (*MeshEdges) Descriptor() ([]byte, []int)deprecated
- func (x *MeshEdges) GetItems() []*MeshEdge
- func (*MeshEdges) ProtoMessage()
- func (x *MeshEdges) ProtoReflect() protoreflect.Message
- func (x *MeshEdges) Reset()
- func (x *MeshEdges) String() string
- func (m *MeshEdges) Validate() error
- func (m *MeshEdges) ValidateAll() error
- type MeshEdgesMultiError
- type MeshEdgesValidationError
- type MeshGraph
- func (in *MeshGraph) DeepCopy() *MeshGraph
- func (in *MeshGraph) DeepCopyInterface() interface{}
- func (in *MeshGraph) DeepCopyInto(out *MeshGraph)
- func (*MeshGraph) Descriptor() ([]byte, []int)deprecated
- func (x *MeshGraph) GetDot() string
- func (x *MeshGraph) GetEdges() []*MeshEdge
- func (x *MeshGraph) GetNodes() []string
- func (*MeshGraph) ProtoMessage()
- func (x *MeshGraph) ProtoReflect() protoreflect.Message
- func (x *MeshGraph) Reset()
- func (x *MeshGraph) String() string
- func (m *MeshGraph) Validate() error
- func (m *MeshGraph) ValidateAll() error
- type MeshGraphMultiError
- type MeshGraphValidationError
- type MeshNode
- func (in *MeshNode) DeepCopy() *MeshNode
- func (in *MeshNode) DeepCopyInterface() interface{}
- func (in *MeshNode) DeepCopyInto(out *MeshNode)
- func (*MeshNode) Descriptor() ([]byte, []int)deprecated
- func (x *MeshNode) GetFeatures() []*FeaturePort
- func (x *MeshNode) GetId() string
- func (x *MeshNode) GetJoinedAt() *timestamppb.Timestamp
- func (x *MeshNode) GetMultiaddrs() []string
- func (x *MeshNode) GetPrimaryEndpoint() string
- func (x *MeshNode) GetPrivateIpv4() string
- func (x *MeshNode) GetPrivateIpv6() string
- func (x *MeshNode) GetPublicKey() string
- func (x *MeshNode) GetWireguardEndpoints() []string
- func (x *MeshNode) GetZoneAwarenessId() string
- func (*MeshNode) ProtoMessage()
- func (x *MeshNode) ProtoReflect() protoreflect.Message
- func (x *MeshNode) Reset()
- func (x *MeshNode) String() string
- func (m *MeshNode) Validate() error
- func (m *MeshNode) ValidateAll() error
- type MeshNodeMultiError
- type MeshNodeValidationError
- type MeshServer
- type MetricsRequest
- func (in *MetricsRequest) DeepCopy() *MetricsRequest
- func (in *MetricsRequest) DeepCopyInterface() interface{}
- func (in *MetricsRequest) DeepCopyInto(out *MetricsRequest)
- func (*MetricsRequest) Descriptor() ([]byte, []int)deprecated
- func (*MetricsRequest) ProtoMessage()
- func (x *MetricsRequest) ProtoReflect() protoreflect.Message
- func (x *MetricsRequest) Reset()
- func (x *MetricsRequest) String() string
- func (m *MetricsRequest) Validate() error
- func (m *MetricsRequest) ValidateAll() error
- type MetricsRequestMultiError
- type MetricsRequestValidationError
- func (e MetricsRequestValidationError) Cause() error
- func (e MetricsRequestValidationError) Error() string
- func (e MetricsRequestValidationError) ErrorName() string
- func (e MetricsRequestValidationError) Field() string
- func (e MetricsRequestValidationError) Key() bool
- func (e MetricsRequestValidationError) Reason() string
- type MetricsResponse
- func (in *MetricsResponse) DeepCopy() *MetricsResponse
- func (in *MetricsResponse) DeepCopyInterface() interface{}
- func (in *MetricsResponse) DeepCopyInto(out *MetricsResponse)
- func (*MetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsResponse) GetInterfaces() map[string]*InterfaceMetrics
- func (*MetricsResponse) ProtoMessage()
- func (x *MetricsResponse) ProtoReflect() protoreflect.Message
- func (x *MetricsResponse) Reset()
- func (x *MetricsResponse) String() string
- func (m *MetricsResponse) Validate() error
- func (m *MetricsResponse) ValidateAll() error
- type MetricsResponseMultiError
- type MetricsResponseValidationError
- func (e MetricsResponseValidationError) Cause() error
- func (e MetricsResponseValidationError) Error() string
- func (e MetricsResponseValidationError) ErrorName() string
- func (e MetricsResponseValidationError) Field() string
- func (e MetricsResponseValidationError) Key() bool
- func (e MetricsResponseValidationError) Reason() string
- type NetworkACL
- func (in *NetworkACL) DeepCopy() *NetworkACL
- func (in *NetworkACL) DeepCopyInterface() interface{}
- func (in *NetworkACL) DeepCopyInto(out *NetworkACL)
- func (*NetworkACL) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkACL) GetAction() ACLAction
- func (x *NetworkACL) GetDestinationCidrs() []string
- func (x *NetworkACL) GetDestinationNodes() []string
- func (x *NetworkACL) GetName() string
- func (x *NetworkACL) GetPriority() int32
- func (x *NetworkACL) GetSourceCidrs() []string
- func (x *NetworkACL) GetSourceNodes() []string
- func (*NetworkACL) ProtoMessage()
- func (x *NetworkACL) ProtoReflect() protoreflect.Message
- func (x *NetworkACL) Reset()
- func (x *NetworkACL) String() string
- func (m *NetworkACL) Validate() error
- func (m *NetworkACL) ValidateAll() error
- type NetworkACLMultiError
- type NetworkACLValidationError
- type NetworkACLs
- func (in *NetworkACLs) DeepCopy() *NetworkACLs
- func (in *NetworkACLs) DeepCopyInterface() interface{}
- func (in *NetworkACLs) DeepCopyInto(out *NetworkACLs)
- func (*NetworkACLs) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkACLs) GetItems() []*NetworkACL
- func (*NetworkACLs) ProtoMessage()
- func (x *NetworkACLs) ProtoReflect() protoreflect.Message
- func (x *NetworkACLs) Reset()
- func (x *NetworkACLs) String() string
- func (m *NetworkACLs) Validate() error
- func (m *NetworkACLs) ValidateAll() error
- type NetworkACLsMultiError
- type NetworkACLsValidationError
- func (e NetworkACLsValidationError) Cause() error
- func (e NetworkACLsValidationError) Error() string
- func (e NetworkACLsValidationError) ErrorName() string
- func (e NetworkACLsValidationError) Field() string
- func (e NetworkACLsValidationError) Key() bool
- func (e NetworkACLsValidationError) Reason() string
- type NetworkAction
- func (in *NetworkAction) DeepCopy() *NetworkAction
- func (in *NetworkAction) DeepCopyInterface() interface{}
- func (in *NetworkAction) DeepCopyInto(out *NetworkAction)
- func (*NetworkAction) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkAction) GetDstCidr() string
- func (x *NetworkAction) GetDstNode() string
- func (x *NetworkAction) GetSrcCidr() string
- func (x *NetworkAction) GetSrcNode() string
- func (*NetworkAction) ProtoMessage()
- func (x *NetworkAction) ProtoReflect() protoreflect.Message
- func (x *NetworkAction) Reset()
- func (x *NetworkAction) String() string
- func (m *NetworkAction) Validate() error
- func (m *NetworkAction) ValidateAll() error
- type NetworkActionMultiError
- type NetworkActionValidationError
- func (e NetworkActionValidationError) Cause() error
- func (e NetworkActionValidationError) Error() string
- func (e NetworkActionValidationError) ErrorName() string
- func (e NetworkActionValidationError) Field() string
- func (e NetworkActionValidationError) Key() bool
- func (e NetworkActionValidationError) Reason() string
- type NodeClient
- type NodeList
- func (in *NodeList) DeepCopy() *NodeList
- func (in *NodeList) DeepCopyInterface() interface{}
- func (in *NodeList) DeepCopyInto(out *NodeList)
- func (*NodeList) Descriptor() ([]byte, []int)deprecated
- func (x *NodeList) GetNodes() []*MeshNode
- func (*NodeList) ProtoMessage()
- func (x *NodeList) ProtoReflect() protoreflect.Message
- func (x *NodeList) Reset()
- func (x *NodeList) String() string
- func (m *NodeList) Validate() error
- func (m *NodeList) ValidateAll() error
- type NodeListMultiError
- type NodeListValidationError
- type NodeServer
- type Node_NegotiateDataChannelClient
- type Node_NegotiateDataChannelServer
- type Node_ReceiveSignalChannelClient
- type Node_ReceiveSignalChannelServer
- type PeerConfigurations
- func (in *PeerConfigurations) DeepCopy() *PeerConfigurations
- func (in *PeerConfigurations) DeepCopyInterface() interface{}
- func (in *PeerConfigurations) DeepCopyInto(out *PeerConfigurations)
- func (*PeerConfigurations) Descriptor() ([]byte, []int)deprecated
- func (x *PeerConfigurations) GetDnsServers() []string
- func (x *PeerConfigurations) GetIceServers() []string
- func (x *PeerConfigurations) GetPeers() []*WireGuardPeer
- func (*PeerConfigurations) ProtoMessage()
- func (x *PeerConfigurations) ProtoReflect() protoreflect.Message
- func (x *PeerConfigurations) Reset()
- func (x *PeerConfigurations) String() string
- func (m *PeerConfigurations) Validate() error
- func (m *PeerConfigurations) ValidateAll() error
- type PeerConfigurationsMultiError
- type PeerConfigurationsValidationError
- func (e PeerConfigurationsValidationError) Cause() error
- func (e PeerConfigurationsValidationError) Error() string
- func (e PeerConfigurationsValidationError) ErrorName() string
- func (e PeerConfigurationsValidationError) Field() string
- func (e PeerConfigurationsValidationError) Key() bool
- func (e PeerConfigurationsValidationError) Reason() string
- type PeerMetrics
- func (in *PeerMetrics) DeepCopy() *PeerMetrics
- func (in *PeerMetrics) DeepCopyInterface() interface{}
- func (in *PeerMetrics) DeepCopyInto(out *PeerMetrics)
- func (*PeerMetrics) Descriptor() ([]byte, []int)deprecated
- func (x *PeerMetrics) GetAllowedIps() []string
- func (x *PeerMetrics) GetEndpoint() string
- func (x *PeerMetrics) GetLastHandshakeTime() string
- func (x *PeerMetrics) GetPersistentKeepAlive() string
- func (x *PeerMetrics) GetProtocolVersion() int64
- func (x *PeerMetrics) GetPublicKey() string
- func (x *PeerMetrics) GetReceiveBytes() uint64
- func (x *PeerMetrics) GetTransmitBytes() uint64
- func (*PeerMetrics) ProtoMessage()
- func (x *PeerMetrics) ProtoReflect() protoreflect.Message
- func (x *PeerMetrics) Reset()
- func (x *PeerMetrics) String() string
- func (m *PeerMetrics) Validate() error
- func (m *PeerMetrics) ValidateAll() error
- type PeerMetricsMultiError
- type PeerMetricsValidationError
- func (e PeerMetricsValidationError) Cause() error
- func (e PeerMetricsValidationError) Error() string
- func (e PeerMetricsValidationError) ErrorName() string
- func (e PeerMetricsValidationError) Field() string
- func (e PeerMetricsValidationError) Key() bool
- func (e PeerMetricsValidationError) Reason() string
- type PluginClient
- type PluginConfiguration
- func (in *PluginConfiguration) DeepCopy() *PluginConfiguration
- func (in *PluginConfiguration) DeepCopyInterface() interface{}
- func (in *PluginConfiguration) DeepCopyInto(out *PluginConfiguration)
- func (*PluginConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *PluginConfiguration) GetConfig() *structpb.Struct
- func (*PluginConfiguration) ProtoMessage()
- func (x *PluginConfiguration) ProtoReflect() protoreflect.Message
- func (x *PluginConfiguration) Reset()
- func (x *PluginConfiguration) String() string
- func (m *PluginConfiguration) Validate() error
- func (m *PluginConfiguration) ValidateAll() error
- type PluginConfigurationMultiError
- type PluginConfigurationValidationError
- func (e PluginConfigurationValidationError) Cause() error
- func (e PluginConfigurationValidationError) Error() string
- func (e PluginConfigurationValidationError) ErrorName() string
- func (e PluginConfigurationValidationError) Field() string
- func (e PluginConfigurationValidationError) Key() bool
- func (e PluginConfigurationValidationError) Reason() string
- type PluginInfo
- func (in *PluginInfo) DeepCopy() *PluginInfo
- func (in *PluginInfo) DeepCopyInterface() interface{}
- func (in *PluginInfo) DeepCopyInto(out *PluginInfo)
- func (*PluginInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PluginInfo) GetCapabilities() []PluginInfo_PluginCapability
- func (x *PluginInfo) GetDescription() string
- func (x *PluginInfo) GetName() string
- func (x *PluginInfo) GetVersion() string
- func (*PluginInfo) ProtoMessage()
- func (x *PluginInfo) ProtoReflect() protoreflect.Message
- func (x *PluginInfo) Reset()
- func (x *PluginInfo) String() string
- func (m *PluginInfo) Validate() error
- func (m *PluginInfo) ValidateAll() error
- type PluginInfoMultiError
- type PluginInfoValidationError
- type PluginInfo_PluginCapability
- func (PluginInfo_PluginCapability) Descriptor() protoreflect.EnumDescriptor
- func (x PluginInfo_PluginCapability) Enum() *PluginInfo_PluginCapability
- func (PluginInfo_PluginCapability) EnumDescriptor() ([]byte, []int)deprecated
- func (x PluginInfo_PluginCapability) Number() protoreflect.EnumNumber
- func (x PluginInfo_PluginCapability) String() string
- func (PluginInfo_PluginCapability) Type() protoreflect.EnumType
- type PluginQuery
- func (in *PluginQuery) DeepCopy() *PluginQuery
- func (in *PluginQuery) DeepCopyInterface() interface{}
- func (in *PluginQuery) DeepCopyInto(out *PluginQuery)
- func (*PluginQuery) Descriptor() ([]byte, []int)deprecated
- func (x *PluginQuery) GetCommand() PluginQuery_QueryCommand
- func (x *PluginQuery) GetId() string
- func (x *PluginQuery) GetQuery() []byte
- func (*PluginQuery) ProtoMessage()
- func (x *PluginQuery) ProtoReflect() protoreflect.Message
- func (x *PluginQuery) Reset()
- func (x *PluginQuery) String() string
- func (m *PluginQuery) Validate() error
- func (m *PluginQuery) ValidateAll() error
- type PluginQueryMultiError
- type PluginQueryResult
- func (in *PluginQueryResult) DeepCopy() *PluginQueryResult
- func (in *PluginQueryResult) DeepCopyInterface() interface{}
- func (in *PluginQueryResult) DeepCopyInto(out *PluginQueryResult)
- func (*PluginQueryResult) Descriptor() ([]byte, []int)deprecated
- func (x *PluginQueryResult) GetError() string
- func (x *PluginQueryResult) GetId() string
- func (x *PluginQueryResult) GetKey() []byte
- func (x *PluginQueryResult) GetValue() [][]byte
- func (*PluginQueryResult) ProtoMessage()
- func (x *PluginQueryResult) ProtoReflect() protoreflect.Message
- func (x *PluginQueryResult) Reset()
- func (x *PluginQueryResult) String() string
- func (m *PluginQueryResult) Validate() error
- func (m *PluginQueryResult) ValidateAll() error
- type PluginQueryResultMultiError
- type PluginQueryResultValidationError
- func (e PluginQueryResultValidationError) Cause() error
- func (e PluginQueryResultValidationError) Error() string
- func (e PluginQueryResultValidationError) ErrorName() string
- func (e PluginQueryResultValidationError) Field() string
- func (e PluginQueryResultValidationError) Key() bool
- func (e PluginQueryResultValidationError) Reason() string
- type PluginQueryValidationError
- func (e PluginQueryValidationError) Cause() error
- func (e PluginQueryValidationError) Error() string
- func (e PluginQueryValidationError) ErrorName() string
- func (e PluginQueryValidationError) Field() string
- func (e PluginQueryValidationError) Key() bool
- func (e PluginQueryValidationError) Reason() string
- type PluginQuery_QueryCommand
- func (PluginQuery_QueryCommand) Descriptor() protoreflect.EnumDescriptor
- func (x PluginQuery_QueryCommand) Enum() *PluginQuery_QueryCommand
- func (PluginQuery_QueryCommand) EnumDescriptor() ([]byte, []int)deprecated
- func (x PluginQuery_QueryCommand) Number() protoreflect.EnumNumber
- func (x PluginQuery_QueryCommand) String() string
- func (PluginQuery_QueryCommand) Type() protoreflect.EnumType
- type PluginServer
- type PrefixEvent
- func (in *PrefixEvent) DeepCopy() *PrefixEvent
- func (in *PrefixEvent) DeepCopyInterface() interface{}
- func (in *PrefixEvent) DeepCopyInto(out *PrefixEvent)
- func (*PrefixEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PrefixEvent) GetEventType() PrefixEvent_EventType
- func (x *PrefixEvent) GetPrefix() []byte
- func (x *PrefixEvent) GetValue() *StorageValue
- func (*PrefixEvent) ProtoMessage()
- func (x *PrefixEvent) ProtoReflect() protoreflect.Message
- func (x *PrefixEvent) Reset()
- func (x *PrefixEvent) String() string
- func (m *PrefixEvent) Validate() error
- func (m *PrefixEvent) ValidateAll() error
- type PrefixEventMultiError
- type PrefixEventValidationError
- func (e PrefixEventValidationError) Cause() error
- func (e PrefixEventValidationError) Error() string
- func (e PrefixEventValidationError) ErrorName() string
- func (e PrefixEventValidationError) Field() string
- func (e PrefixEventValidationError) Key() bool
- func (e PrefixEventValidationError) Reason() string
- type PrefixEvent_EventType
- func (PrefixEvent_EventType) Descriptor() protoreflect.EnumDescriptor
- func (x PrefixEvent_EventType) Enum() *PrefixEvent_EventType
- func (PrefixEvent_EventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PrefixEvent_EventType) Number() protoreflect.EnumNumber
- func (x PrefixEvent_EventType) String() string
- func (PrefixEvent_EventType) Type() protoreflect.EnumType
- type PublishRequest
- func (in *PublishRequest) DeepCopy() *PublishRequest
- func (in *PublishRequest) DeepCopyInterface() interface{}
- func (in *PublishRequest) DeepCopyInto(out *PublishRequest)
- func (*PublishRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishRequest) GetKey() []byte
- func (x *PublishRequest) GetTtl() *durationpb.Duration
- func (x *PublishRequest) GetValue() []byte
- func (*PublishRequest) ProtoMessage()
- func (x *PublishRequest) ProtoReflect() protoreflect.Message
- func (x *PublishRequest) Reset()
- func (x *PublishRequest) String() string
- func (m *PublishRequest) Validate() error
- func (m *PublishRequest) ValidateAll() error
- type PublishRequestMultiError
- type PublishRequestValidationError
- func (e PublishRequestValidationError) Cause() error
- func (e PublishRequestValidationError) Error() string
- func (e PublishRequestValidationError) ErrorName() string
- func (e PublishRequestValidationError) Field() string
- func (e PublishRequestValidationError) Key() bool
- func (e PublishRequestValidationError) Reason() string
- type PublishResponse
- func (in *PublishResponse) DeepCopy() *PublishResponse
- func (in *PublishResponse) DeepCopyInterface() interface{}
- func (in *PublishResponse) DeepCopyInto(out *PublishResponse)
- func (*PublishResponse) Descriptor() ([]byte, []int)deprecated
- func (*PublishResponse) ProtoMessage()
- func (x *PublishResponse) ProtoReflect() protoreflect.Message
- func (x *PublishResponse) Reset()
- func (x *PublishResponse) String() string
- func (m *PublishResponse) Validate() error
- func (m *PublishResponse) ValidateAll() error
- type PublishResponseMultiError
- type PublishResponseValidationError
- func (e PublishResponseValidationError) Cause() error
- func (e PublishResponseValidationError) Error() string
- func (e PublishResponseValidationError) ErrorName() string
- func (e PublishResponseValidationError) Field() string
- func (e PublishResponseValidationError) Key() bool
- func (e PublishResponseValidationError) Reason() string
- type PutValueRequest
- func (in *PutValueRequest) DeepCopy() *PutValueRequest
- func (in *PutValueRequest) DeepCopyInterface() interface{}
- func (in *PutValueRequest) DeepCopyInto(out *PutValueRequest)
- func (*PutValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutValueRequest) GetTtl() *durationpb.Duration
- func (x *PutValueRequest) GetValue() *StorageValue
- func (*PutValueRequest) ProtoMessage()
- func (x *PutValueRequest) ProtoReflect() protoreflect.Message
- func (x *PutValueRequest) Reset()
- func (x *PutValueRequest) String() string
- func (m *PutValueRequest) Validate() error
- func (m *PutValueRequest) ValidateAll() error
- type PutValueRequestMultiError
- type PutValueRequestValidationError
- func (e PutValueRequestValidationError) Cause() error
- func (e PutValueRequestValidationError) Error() string
- func (e PutValueRequestValidationError) ErrorName() string
- func (e PutValueRequestValidationError) Field() string
- func (e PutValueRequestValidationError) Key() bool
- func (e PutValueRequestValidationError) Reason() string
- type PutValueResponse
- func (in *PutValueResponse) DeepCopy() *PutValueResponse
- func (in *PutValueResponse) DeepCopyInterface() interface{}
- func (in *PutValueResponse) DeepCopyInto(out *PutValueResponse)
- func (*PutValueResponse) Descriptor() ([]byte, []int)deprecated
- func (*PutValueResponse) ProtoMessage()
- func (x *PutValueResponse) ProtoReflect() protoreflect.Message
- func (x *PutValueResponse) Reset()
- func (x *PutValueResponse) String() string
- func (m *PutValueResponse) Validate() error
- func (m *PutValueResponse) ValidateAll() error
- type PutValueResponseMultiError
- type PutValueResponseValidationError
- func (e PutValueResponseValidationError) Cause() error
- func (e PutValueResponseValidationError) Error() string
- func (e PutValueResponseValidationError) ErrorName() string
- func (e PutValueResponseValidationError) Field() string
- func (e PutValueResponseValidationError) Key() bool
- func (e PutValueResponseValidationError) Reason() string
- type QueryRequest
- func (in *QueryRequest) DeepCopy() *QueryRequest
- func (in *QueryRequest) DeepCopyInterface() interface{}
- func (in *QueryRequest) DeepCopyInto(out *QueryRequest)
- func (*QueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequest) GetCommand() QueryRequest_QueryCommand
- func (x *QueryRequest) GetQuery() []byte
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (x *QueryRequest) String() string
- func (m *QueryRequest) Validate() error
- func (m *QueryRequest) ValidateAll() error
- type QueryRequestMultiError
- type QueryRequestValidationError
- func (e QueryRequestValidationError) Cause() error
- func (e QueryRequestValidationError) Error() string
- func (e QueryRequestValidationError) ErrorName() string
- func (e QueryRequestValidationError) Field() string
- func (e QueryRequestValidationError) Key() bool
- func (e QueryRequestValidationError) Reason() string
- type QueryRequest_QueryCommand
- func (QueryRequest_QueryCommand) Descriptor() protoreflect.EnumDescriptor
- func (x QueryRequest_QueryCommand) Enum() *QueryRequest_QueryCommand
- func (QueryRequest_QueryCommand) EnumDescriptor() ([]byte, []int)deprecated
- func (x QueryRequest_QueryCommand) Number() protoreflect.EnumNumber
- func (x QueryRequest_QueryCommand) String() string
- func (QueryRequest_QueryCommand) Type() protoreflect.EnumType
- type QueryResponse
- func (in *QueryResponse) DeepCopy() *QueryResponse
- func (in *QueryResponse) DeepCopyInterface() interface{}
- func (in *QueryResponse) DeepCopyInto(out *QueryResponse)
- func (*QueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponse) GetError() string
- func (x *QueryResponse) GetKey() []byte
- func (x *QueryResponse) GetValue() [][]byte
- func (*QueryResponse) ProtoMessage()
- func (x *QueryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponse) Reset()
- func (x *QueryResponse) String() string
- func (m *QueryResponse) Validate() error
- func (m *QueryResponse) ValidateAll() error
- type QueryResponseMultiError
- type QueryResponseValidationError
- func (e QueryResponseValidationError) Cause() error
- func (e QueryResponseValidationError) Error() string
- func (e QueryResponseValidationError) ErrorName() string
- func (e QueryResponseValidationError) Field() string
- func (e QueryResponseValidationError) Key() bool
- func (e QueryResponseValidationError) Reason() string
- type RBACAction
- func (in *RBACAction) DeepCopy() *RBACAction
- func (in *RBACAction) DeepCopyInterface() interface{}
- func (in *RBACAction) DeepCopyInto(out *RBACAction)
- func (*RBACAction) Descriptor() ([]byte, []int)deprecated
- func (x *RBACAction) GetResource() RuleResource
- func (x *RBACAction) GetResourceName() string
- func (x *RBACAction) GetVerb() RuleVerb
- func (*RBACAction) ProtoMessage()
- func (x *RBACAction) ProtoReflect() protoreflect.Message
- func (x *RBACAction) Reset()
- func (x *RBACAction) String() string
- func (m *RBACAction) Validate() error
- func (m *RBACAction) ValidateAll() error
- type RBACActionMultiError
- type RBACActionValidationError
- type RaftApplyResponse
- func (in *RaftApplyResponse) DeepCopy() *RaftApplyResponse
- func (in *RaftApplyResponse) DeepCopyInterface() interface{}
- func (in *RaftApplyResponse) DeepCopyInto(out *RaftApplyResponse)
- func (*RaftApplyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RaftApplyResponse) GetError() string
- func (x *RaftApplyResponse) GetTime() string
- func (*RaftApplyResponse) ProtoMessage()
- func (x *RaftApplyResponse) ProtoReflect() protoreflect.Message
- func (x *RaftApplyResponse) Reset()
- func (x *RaftApplyResponse) String() string
- func (m *RaftApplyResponse) Validate() error
- func (m *RaftApplyResponse) ValidateAll() error
- type RaftApplyResponseMultiError
- type RaftApplyResponseValidationError
- func (e RaftApplyResponseValidationError) Cause() error
- func (e RaftApplyResponseValidationError) Error() string
- func (e RaftApplyResponseValidationError) ErrorName() string
- func (e RaftApplyResponseValidationError) Field() string
- func (e RaftApplyResponseValidationError) Key() bool
- func (e RaftApplyResponseValidationError) Reason() string
- type RaftCommandType
- func (RaftCommandType) Descriptor() protoreflect.EnumDescriptor
- func (x RaftCommandType) Enum() *RaftCommandType
- func (RaftCommandType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RaftCommandType) Number() protoreflect.EnumNumber
- func (x RaftCommandType) String() string
- func (RaftCommandType) Type() protoreflect.EnumType
- type RaftDataItem
- func (in *RaftDataItem) DeepCopy() *RaftDataItem
- func (in *RaftDataItem) DeepCopyInterface() interface{}
- func (in *RaftDataItem) DeepCopyInto(out *RaftDataItem)
- func (*RaftDataItem) Descriptor() ([]byte, []int)deprecated
- func (x *RaftDataItem) GetKey() []byte
- func (x *RaftDataItem) GetTtl() *durationpb.Duration
- func (x *RaftDataItem) GetValue() []byte
- func (*RaftDataItem) ProtoMessage()
- func (x *RaftDataItem) ProtoReflect() protoreflect.Message
- func (x *RaftDataItem) Reset()
- func (x *RaftDataItem) String() string
- func (m *RaftDataItem) Validate() error
- func (m *RaftDataItem) ValidateAll() error
- type RaftDataItemMultiError
- type RaftDataItemValidationError
- func (e RaftDataItemValidationError) Cause() error
- func (e RaftDataItemValidationError) Error() string
- func (e RaftDataItemValidationError) ErrorName() string
- func (e RaftDataItemValidationError) Field() string
- func (e RaftDataItemValidationError) Key() bool
- func (e RaftDataItemValidationError) Reason() string
- type RaftLogEntry
- func (in *RaftLogEntry) DeepCopy() *RaftLogEntry
- func (in *RaftLogEntry) DeepCopyInterface() interface{}
- func (in *RaftLogEntry) DeepCopyInto(out *RaftLogEntry)
- func (*RaftLogEntry) Descriptor() ([]byte, []int)deprecated
- func (x *RaftLogEntry) GetKey() []byte
- func (x *RaftLogEntry) GetTtl() *durationpb.Duration
- func (x *RaftLogEntry) GetType() RaftCommandType
- func (x *RaftLogEntry) GetValue() []byte
- func (*RaftLogEntry) ProtoMessage()
- func (x *RaftLogEntry) ProtoReflect() protoreflect.Message
- func (x *RaftLogEntry) Reset()
- func (x *RaftLogEntry) String() string
- func (m *RaftLogEntry) Validate() error
- func (m *RaftLogEntry) ValidateAll() error
- type RaftLogEntryMultiError
- type RaftLogEntryValidationError
- func (e RaftLogEntryValidationError) Cause() error
- func (e RaftLogEntryValidationError) Error() string
- func (e RaftLogEntryValidationError) ErrorName() string
- func (e RaftLogEntryValidationError) Field() string
- func (e RaftLogEntryValidationError) Key() bool
- func (e RaftLogEntryValidationError) Reason() string
- type RaftSnapshot
- func (in *RaftSnapshot) DeepCopy() *RaftSnapshot
- func (in *RaftSnapshot) DeepCopyInterface() interface{}
- func (in *RaftSnapshot) DeepCopyInto(out *RaftSnapshot)
- func (*RaftSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *RaftSnapshot) GetKv() []*RaftDataItem
- func (*RaftSnapshot) ProtoMessage()
- func (x *RaftSnapshot) ProtoReflect() protoreflect.Message
- func (x *RaftSnapshot) Reset()
- func (x *RaftSnapshot) String() string
- func (m *RaftSnapshot) Validate() error
- func (m *RaftSnapshot) ValidateAll() error
- type RaftSnapshotMultiError
- type RaftSnapshotValidationError
- func (e RaftSnapshotValidationError) Cause() error
- func (e RaftSnapshotValidationError) Error() string
- func (e RaftSnapshotValidationError) ErrorName() string
- func (e RaftSnapshotValidationError) Field() string
- func (e RaftSnapshotValidationError) Key() bool
- func (e RaftSnapshotValidationError) Reason() string
- type ReleaseIPRequest
- func (in *ReleaseIPRequest) DeepCopy() *ReleaseIPRequest
- func (in *ReleaseIPRequest) DeepCopyInterface() interface{}
- func (in *ReleaseIPRequest) DeepCopyInto(out *ReleaseIPRequest)
- func (*ReleaseIPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseIPRequest) GetIp() string
- func (x *ReleaseIPRequest) GetNodeId() string
- func (*ReleaseIPRequest) ProtoMessage()
- func (x *ReleaseIPRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseIPRequest) Reset()
- func (x *ReleaseIPRequest) String() string
- func (m *ReleaseIPRequest) Validate() error
- func (m *ReleaseIPRequest) ValidateAll() error
- type ReleaseIPRequestMultiError
- type ReleaseIPRequestValidationError
- func (e ReleaseIPRequestValidationError) Cause() error
- func (e ReleaseIPRequestValidationError) Error() string
- func (e ReleaseIPRequestValidationError) ErrorName() string
- func (e ReleaseIPRequestValidationError) Field() string
- func (e ReleaseIPRequestValidationError) Key() bool
- func (e ReleaseIPRequestValidationError) Reason() string
- type RemoveServerResponse
- func (in *RemoveServerResponse) DeepCopy() *RemoveServerResponse
- func (in *RemoveServerResponse) DeepCopyInterface() interface{}
- func (in *RemoveServerResponse) DeepCopyInto(out *RemoveServerResponse)
- func (*RemoveServerResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveServerResponse) ProtoMessage()
- func (x *RemoveServerResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveServerResponse) Reset()
- func (x *RemoveServerResponse) String() string
- func (m *RemoveServerResponse) Validate() error
- func (m *RemoveServerResponse) ValidateAll() error
- type RemoveServerResponseMultiError
- type RemoveServerResponseValidationError
- func (e RemoveServerResponseValidationError) Cause() error
- func (e RemoveServerResponseValidationError) Error() string
- func (e RemoveServerResponseValidationError) ErrorName() string
- func (e RemoveServerResponseValidationError) Field() string
- func (e RemoveServerResponseValidationError) Key() bool
- func (e RemoveServerResponseValidationError) Reason() string
- type Role
- func (in *Role) DeepCopy() *Role
- func (in *Role) DeepCopyInterface() interface{}
- func (in *Role) DeepCopyInto(out *Role)
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetName() string
- func (x *Role) GetRules() []*Rule
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- func (m *Role) Validate() error
- func (m *Role) ValidateAll() error
- type RoleBinding
- func (in *RoleBinding) DeepCopy() *RoleBinding
- func (in *RoleBinding) DeepCopyInterface() interface{}
- func (in *RoleBinding) DeepCopyInto(out *RoleBinding)
- func (*RoleBinding) Descriptor() ([]byte, []int)deprecated
- func (x *RoleBinding) GetName() string
- func (x *RoleBinding) GetRole() string
- func (x *RoleBinding) GetSubjects() []*Subject
- func (*RoleBinding) ProtoMessage()
- func (x *RoleBinding) ProtoReflect() protoreflect.Message
- func (x *RoleBinding) Reset()
- func (x *RoleBinding) String() string
- func (m *RoleBinding) Validate() error
- func (m *RoleBinding) ValidateAll() error
- type RoleBindingMultiError
- type RoleBindingValidationError
- func (e RoleBindingValidationError) Cause() error
- func (e RoleBindingValidationError) Error() string
- func (e RoleBindingValidationError) ErrorName() string
- func (e RoleBindingValidationError) Field() string
- func (e RoleBindingValidationError) Key() bool
- func (e RoleBindingValidationError) Reason() string
- type RoleBindings
- func (in *RoleBindings) DeepCopy() *RoleBindings
- func (in *RoleBindings) DeepCopyInterface() interface{}
- func (in *RoleBindings) DeepCopyInto(out *RoleBindings)
- func (*RoleBindings) Descriptor() ([]byte, []int)deprecated
- func (x *RoleBindings) GetItems() []*RoleBinding
- func (*RoleBindings) ProtoMessage()
- func (x *RoleBindings) ProtoReflect() protoreflect.Message
- func (x *RoleBindings) Reset()
- func (x *RoleBindings) String() string
- func (m *RoleBindings) Validate() error
- func (m *RoleBindings) ValidateAll() error
- type RoleBindingsMultiError
- type RoleBindingsValidationError
- func (e RoleBindingsValidationError) Cause() error
- func (e RoleBindingsValidationError) Error() string
- func (e RoleBindingsValidationError) ErrorName() string
- func (e RoleBindingsValidationError) Field() string
- func (e RoleBindingsValidationError) Key() bool
- func (e RoleBindingsValidationError) Reason() string
- type RoleMultiError
- type RoleValidationError
- type Roles
- func (in *Roles) DeepCopy() *Roles
- func (in *Roles) DeepCopyInterface() interface{}
- func (in *Roles) DeepCopyInto(out *Roles)
- func (*Roles) Descriptor() ([]byte, []int)deprecated
- func (x *Roles) GetItems() []*Role
- func (*Roles) ProtoMessage()
- func (x *Roles) ProtoReflect() protoreflect.Message
- func (x *Roles) Reset()
- func (x *Roles) String() string
- func (m *Roles) Validate() error
- func (m *Roles) ValidateAll() error
- type RolesMultiError
- type RolesValidationError
- type Route
- func (in *Route) DeepCopy() *Route
- func (in *Route) DeepCopyInterface() interface{}
- func (in *Route) DeepCopyInto(out *Route)
- func (*Route) Descriptor() ([]byte, []int)deprecated
- func (x *Route) GetDestinationCidrs() []string
- func (x *Route) GetName() string
- func (x *Route) GetNextHopNode() string
- func (x *Route) GetNode() string
- func (*Route) ProtoMessage()
- func (x *Route) ProtoReflect() protoreflect.Message
- func (x *Route) Reset()
- func (x *Route) String() string
- func (m *Route) Validate() error
- func (m *Route) ValidateAll() error
- type RouteMultiError
- type RouteValidationError
- type Routes
- func (in *Routes) DeepCopy() *Routes
- func (in *Routes) DeepCopyInterface() interface{}
- func (in *Routes) DeepCopyInto(out *Routes)
- func (*Routes) Descriptor() ([]byte, []int)deprecated
- func (x *Routes) GetItems() []*Route
- func (*Routes) ProtoMessage()
- func (x *Routes) ProtoReflect() protoreflect.Message
- func (x *Routes) Reset()
- func (x *Routes) String() string
- func (m *Routes) Validate() error
- func (m *Routes) ValidateAll() error
- type RoutesMultiError
- type RoutesValidationError
- type Rule
- func (in *Rule) DeepCopy() *Rule
- func (in *Rule) DeepCopyInterface() interface{}
- func (in *Rule) DeepCopyInto(out *Rule)
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule) GetResourceNames() []string
- func (x *Rule) GetResources() []RuleResource
- func (x *Rule) GetVerbs() []RuleVerb
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (x *Rule) String() string
- func (m *Rule) Validate() error
- func (m *Rule) ValidateAll() error
- type RuleMultiError
- type RuleResource
- func (RuleResource) Descriptor() protoreflect.EnumDescriptor
- func (x RuleResource) Enum() *RuleResource
- func (RuleResource) EnumDescriptor() ([]byte, []int)deprecated
- func (x RuleResource) Number() protoreflect.EnumNumber
- func (x RuleResource) String() string
- func (RuleResource) Type() protoreflect.EnumType
- type RuleValidationError
- type RuleVerb
- type StartDataChannelRequest
- func (in *StartDataChannelRequest) DeepCopy() *StartDataChannelRequest
- func (in *StartDataChannelRequest) DeepCopyInterface() interface{}
- func (in *StartDataChannelRequest) DeepCopyInto(out *StartDataChannelRequest)
- func (*StartDataChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartDataChannelRequest) GetAnswer() string
- func (x *StartDataChannelRequest) GetCandidate() string
- func (x *StartDataChannelRequest) GetDst() string
- func (x *StartDataChannelRequest) GetNodeId() string
- func (x *StartDataChannelRequest) GetPort() uint32
- func (x *StartDataChannelRequest) GetProto() string
- func (*StartDataChannelRequest) ProtoMessage()
- func (x *StartDataChannelRequest) ProtoReflect() protoreflect.Message
- func (x *StartDataChannelRequest) Reset()
- func (x *StartDataChannelRequest) String() string
- func (m *StartDataChannelRequest) Validate() error
- func (m *StartDataChannelRequest) ValidateAll() error
- type StartDataChannelRequestMultiError
- type StartDataChannelRequestValidationError
- func (e StartDataChannelRequestValidationError) Cause() error
- func (e StartDataChannelRequestValidationError) Error() string
- func (e StartDataChannelRequestValidationError) ErrorName() string
- func (e StartDataChannelRequestValidationError) Field() string
- func (e StartDataChannelRequestValidationError) Key() bool
- func (e StartDataChannelRequestValidationError) Reason() string
- type Status
- func (in *Status) DeepCopy() *Status
- func (in *Status) DeepCopyInterface() interface{}
- func (in *Status) DeepCopyInto(out *Status)
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetBuildDate() string
- func (x *Status) GetClusterStatus() ClusterStatus
- func (x *Status) GetCommit() string
- func (x *Status) GetCurrentLeader() string
- func (x *Status) GetFeatures() []*FeaturePort
- func (x *Status) GetId() string
- func (x *Status) GetInterfaceMetrics() *InterfaceMetrics
- func (x *Status) GetStartedAt() *timestamppb.Timestamp
- func (x *Status) GetUptime() string
- func (x *Status) GetVersion() string
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- func (m *Status) Validate() error
- func (m *Status) ValidateAll() error
- type StatusMultiError
- type StatusRequest
- func (in *StatusRequest) DeepCopy() *StatusRequest
- func (in *StatusRequest) DeepCopyInterface() interface{}
- func (in *StatusRequest) DeepCopyInto(out *StatusRequest)
- func (*StatusRequest) Descriptor() ([]byte, []int)deprecated
- func (*StatusRequest) ProtoMessage()
- func (x *StatusRequest) ProtoReflect() protoreflect.Message
- func (x *StatusRequest) Reset()
- func (x *StatusRequest) String() string
- func (m *StatusRequest) Validate() error
- func (m *StatusRequest) ValidateAll() error
- type StatusRequestMultiError
- type StatusRequestValidationError
- func (e StatusRequestValidationError) Cause() error
- func (e StatusRequestValidationError) Error() string
- func (e StatusRequestValidationError) ErrorName() string
- func (e StatusRequestValidationError) Field() string
- func (e StatusRequestValidationError) Key() bool
- func (e StatusRequestValidationError) Reason() string
- type StatusResponse
- func (in *StatusResponse) DeepCopy() *StatusResponse
- func (in *StatusResponse) DeepCopyInterface() interface{}
- func (in *StatusResponse) DeepCopyInto(out *StatusResponse)
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetConnectionStatus() StatusResponse_ConnectionStatus
- func (x *StatusResponse) GetNode() *MeshNode
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- func (m *StatusResponse) Validate() error
- func (m *StatusResponse) ValidateAll() error
- type StatusResponseMultiError
- type StatusResponseValidationError
- func (e StatusResponseValidationError) Cause() error
- func (e StatusResponseValidationError) Error() string
- func (e StatusResponseValidationError) ErrorName() string
- func (e StatusResponseValidationError) Field() string
- func (e StatusResponseValidationError) Key() bool
- func (e StatusResponseValidationError) Reason() string
- type StatusResponse_ConnectionStatus
- func (StatusResponse_ConnectionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x StatusResponse_ConnectionStatus) Enum() *StatusResponse_ConnectionStatus
- func (StatusResponse_ConnectionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x StatusResponse_ConnectionStatus) Number() protoreflect.EnumNumber
- func (x StatusResponse_ConnectionStatus) String() string
- func (StatusResponse_ConnectionStatus) Type() protoreflect.EnumType
- type StatusValidationError
- type StorageConfigurationRequest
- func (in *StorageConfigurationRequest) DeepCopy() *StorageConfigurationRequest
- func (in *StorageConfigurationRequest) DeepCopyInterface() interface{}
- func (in *StorageConfigurationRequest) DeepCopyInto(out *StorageConfigurationRequest)
- func (*StorageConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (*StorageConfigurationRequest) ProtoMessage()
- func (x *StorageConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *StorageConfigurationRequest) Reset()
- func (x *StorageConfigurationRequest) String() string
- func (m *StorageConfigurationRequest) Validate() error
- func (m *StorageConfigurationRequest) ValidateAll() error
- type StorageConfigurationRequestMultiError
- type StorageConfigurationRequestValidationError
- func (e StorageConfigurationRequestValidationError) Cause() error
- func (e StorageConfigurationRequestValidationError) Error() string
- func (e StorageConfigurationRequestValidationError) ErrorName() string
- func (e StorageConfigurationRequestValidationError) Field() string
- func (e StorageConfigurationRequestValidationError) Key() bool
- func (e StorageConfigurationRequestValidationError) Reason() string
- type StorageConfigurationResponse
- func (in *StorageConfigurationResponse) DeepCopy() *StorageConfigurationResponse
- func (in *StorageConfigurationResponse) DeepCopyInterface() interface{}
- func (in *StorageConfigurationResponse) DeepCopyInto(out *StorageConfigurationResponse)
- func (*StorageConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StorageConfigurationResponse) GetServers() []*StorageServer
- func (*StorageConfigurationResponse) ProtoMessage()
- func (x *StorageConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *StorageConfigurationResponse) Reset()
- func (x *StorageConfigurationResponse) String() string
- func (m *StorageConfigurationResponse) Validate() error
- func (m *StorageConfigurationResponse) ValidateAll() error
- type StorageConfigurationResponseMultiError
- type StorageConfigurationResponseValidationError
- func (e StorageConfigurationResponseValidationError) Cause() error
- func (e StorageConfigurationResponseValidationError) Error() string
- func (e StorageConfigurationResponseValidationError) ErrorName() string
- func (e StorageConfigurationResponseValidationError) Field() string
- func (e StorageConfigurationResponseValidationError) Key() bool
- func (e StorageConfigurationResponseValidationError) Reason() string
- type StoragePeer
- func (in *StoragePeer) DeepCopy() *StoragePeer
- func (in *StoragePeer) DeepCopyInterface() interface{}
- func (in *StoragePeer) DeepCopyInto(out *StoragePeer)
- func (*StoragePeer) Descriptor() ([]byte, []int)deprecated
- func (x *StoragePeer) GetAddress() string
- func (x *StoragePeer) GetClusterStatus() ClusterStatus
- func (x *StoragePeer) GetId() string
- func (x *StoragePeer) GetPublicKey() string
- func (*StoragePeer) ProtoMessage()
- func (x *StoragePeer) ProtoReflect() protoreflect.Message
- func (x *StoragePeer) Reset()
- func (x *StoragePeer) String() string
- func (m *StoragePeer) Validate() error
- func (m *StoragePeer) ValidateAll() error
- type StoragePeerMultiError
- type StoragePeerValidationError
- func (e StoragePeerValidationError) Cause() error
- func (e StoragePeerValidationError) Error() string
- func (e StoragePeerValidationError) ErrorName() string
- func (e StoragePeerValidationError) Field() string
- func (e StoragePeerValidationError) Key() bool
- func (e StoragePeerValidationError) Reason() string
- type StoragePeers
- func (in *StoragePeers) DeepCopy() *StoragePeers
- func (in *StoragePeers) DeepCopyInterface() interface{}
- func (in *StoragePeers) DeepCopyInto(out *StoragePeers)
- func (*StoragePeers) Descriptor() ([]byte, []int)deprecated
- func (x *StoragePeers) GetPeers() []*StoragePeer
- func (*StoragePeers) ProtoMessage()
- func (x *StoragePeers) ProtoReflect() protoreflect.Message
- func (x *StoragePeers) Reset()
- func (x *StoragePeers) String() string
- func (m *StoragePeers) Validate() error
- func (m *StoragePeers) ValidateAll() error
- type StoragePeersMultiError
- type StoragePeersValidationError
- func (e StoragePeersValidationError) Cause() error
- func (e StoragePeersValidationError) Error() string
- func (e StoragePeersValidationError) ErrorName() string
- func (e StoragePeersValidationError) Field() string
- func (e StoragePeersValidationError) Key() bool
- func (e StoragePeersValidationError) Reason() string
- type StorageProviderPluginClient
- type StorageProviderPluginServer
- type StorageProviderPlugin_SubscribePrefixClient
- type StorageProviderPlugin_SubscribePrefixServer
- type StorageQuerierPluginClient
- type StorageQuerierPluginServer
- type StorageQuerierPlugin_InjectQuerierClient
- type StorageQuerierPlugin_InjectQuerierServer
- type StorageQueryServiceClient
- type StorageQueryServiceServer
- type StorageQueryService_QueryClient
- type StorageQueryService_QueryServer
- type StorageQueryService_SubscribeClient
- type StorageQueryService_SubscribeServer
- type StorageServer
- func (in *StorageServer) DeepCopy() *StorageServer
- func (in *StorageServer) DeepCopyInterface() interface{}
- func (in *StorageServer) DeepCopyInto(out *StorageServer)
- func (*StorageServer) Descriptor() ([]byte, []int)deprecated
- func (x *StorageServer) GetAddress() string
- func (x *StorageServer) GetId() string
- func (x *StorageServer) GetSuffrage() ClusterStatus
- func (*StorageServer) ProtoMessage()
- func (x *StorageServer) ProtoReflect() protoreflect.Message
- func (x *StorageServer) Reset()
- func (x *StorageServer) String() string
- func (m *StorageServer) Validate() error
- func (m *StorageServer) ValidateAll() error
- type StorageServerMultiError
- type StorageServerValidationError
- func (e StorageServerValidationError) Cause() error
- func (e StorageServerValidationError) Error() string
- func (e StorageServerValidationError) ErrorName() string
- func (e StorageServerValidationError) Field() string
- func (e StorageServerValidationError) Key() bool
- func (e StorageServerValidationError) Reason() string
- type StorageStatus
- func (in *StorageStatus) DeepCopy() *StorageStatus
- func (in *StorageStatus) DeepCopyInterface() interface{}
- func (in *StorageStatus) DeepCopyInto(out *StorageStatus)
- func (*StorageStatus) Descriptor() ([]byte, []int)deprecated
- func (x *StorageStatus) GetClusterStatus() ClusterStatus
- func (x *StorageStatus) GetIsWritable() bool
- func (x *StorageStatus) GetMessage() string
- func (x *StorageStatus) GetPeers() []*StoragePeer
- func (*StorageStatus) ProtoMessage()
- func (x *StorageStatus) ProtoReflect() protoreflect.Message
- func (x *StorageStatus) Reset()
- func (x *StorageStatus) String() string
- func (m *StorageStatus) Validate() error
- func (m *StorageStatus) ValidateAll() error
- type StorageStatusMultiError
- type StorageStatusRequest
- func (in *StorageStatusRequest) DeepCopy() *StorageStatusRequest
- func (in *StorageStatusRequest) DeepCopyInterface() interface{}
- func (in *StorageStatusRequest) DeepCopyInto(out *StorageStatusRequest)
- func (*StorageStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (*StorageStatusRequest) ProtoMessage()
- func (x *StorageStatusRequest) ProtoReflect() protoreflect.Message
- func (x *StorageStatusRequest) Reset()
- func (x *StorageStatusRequest) String() string
- func (m *StorageStatusRequest) Validate() error
- func (m *StorageStatusRequest) ValidateAll() error
- type StorageStatusRequestMultiError
- type StorageStatusRequestValidationError
- func (e StorageStatusRequestValidationError) Cause() error
- func (e StorageStatusRequestValidationError) Error() string
- func (e StorageStatusRequestValidationError) ErrorName() string
- func (e StorageStatusRequestValidationError) Field() string
- func (e StorageStatusRequestValidationError) Key() bool
- func (e StorageStatusRequestValidationError) Reason() string
- type StorageStatusValidationError
- func (e StorageStatusValidationError) Cause() error
- func (e StorageStatusValidationError) Error() string
- func (e StorageStatusValidationError) ErrorName() string
- func (e StorageStatusValidationError) Field() string
- func (e StorageStatusValidationError) Key() bool
- func (e StorageStatusValidationError) Reason() string
- type StorageValue
- func (in *StorageValue) DeepCopy() *StorageValue
- func (in *StorageValue) DeepCopyInterface() interface{}
- func (in *StorageValue) DeepCopyInto(out *StorageValue)
- func (*StorageValue) Descriptor() ([]byte, []int)deprecated
- func (x *StorageValue) GetKey() []byte
- func (x *StorageValue) GetValue() []byte
- func (*StorageValue) ProtoMessage()
- func (x *StorageValue) ProtoReflect() protoreflect.Message
- func (x *StorageValue) Reset()
- func (x *StorageValue) String() string
- func (m *StorageValue) Validate() error
- func (m *StorageValue) ValidateAll() error
- type StorageValueMultiError
- type StorageValueValidationError
- func (e StorageValueValidationError) Cause() error
- func (e StorageValueValidationError) Error() string
- func (e StorageValueValidationError) ErrorName() string
- func (e StorageValueValidationError) Field() string
- func (e StorageValueValidationError) Key() bool
- func (e StorageValueValidationError) Reason() string
- type Subject
- func (in *Subject) DeepCopy() *Subject
- func (in *Subject) DeepCopyInterface() interface{}
- func (in *Subject) DeepCopyInto(out *Subject)
- func (*Subject) Descriptor() ([]byte, []int)deprecated
- func (x *Subject) GetName() string
- func (x *Subject) GetType() SubjectType
- func (*Subject) ProtoMessage()
- func (x *Subject) ProtoReflect() protoreflect.Message
- func (x *Subject) Reset()
- func (x *Subject) String() string
- func (m *Subject) Validate() error
- func (m *Subject) ValidateAll() error
- type SubjectMultiError
- type SubjectType
- func (SubjectType) Descriptor() protoreflect.EnumDescriptor
- func (x SubjectType) Enum() *SubjectType
- func (SubjectType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubjectType) Number() protoreflect.EnumNumber
- func (x SubjectType) String() string
- func (SubjectType) Type() protoreflect.EnumType
- type SubjectValidationError
- type SubscribePeersRequest
- func (in *SubscribePeersRequest) DeepCopy() *SubscribePeersRequest
- func (in *SubscribePeersRequest) DeepCopyInterface() interface{}
- func (in *SubscribePeersRequest) DeepCopyInto(out *SubscribePeersRequest)
- func (*SubscribePeersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribePeersRequest) GetId() string
- func (*SubscribePeersRequest) ProtoMessage()
- func (x *SubscribePeersRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribePeersRequest) Reset()
- func (x *SubscribePeersRequest) String() string
- func (m *SubscribePeersRequest) Validate() error
- func (m *SubscribePeersRequest) ValidateAll() error
- type SubscribePeersRequestMultiError
- type SubscribePeersRequestValidationError
- func (e SubscribePeersRequestValidationError) Cause() error
- func (e SubscribePeersRequestValidationError) Error() string
- func (e SubscribePeersRequestValidationError) ErrorName() string
- func (e SubscribePeersRequestValidationError) Field() string
- func (e SubscribePeersRequestValidationError) Key() bool
- func (e SubscribePeersRequestValidationError) Reason() string
- type SubscribePrefixRequest
- func (in *SubscribePrefixRequest) DeepCopy() *SubscribePrefixRequest
- func (in *SubscribePrefixRequest) DeepCopyInterface() interface{}
- func (in *SubscribePrefixRequest) DeepCopyInto(out *SubscribePrefixRequest)
- func (*SubscribePrefixRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribePrefixRequest) GetPrefix() []byte
- func (*SubscribePrefixRequest) ProtoMessage()
- func (x *SubscribePrefixRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribePrefixRequest) Reset()
- func (x *SubscribePrefixRequest) String() string
- func (m *SubscribePrefixRequest) Validate() error
- func (m *SubscribePrefixRequest) ValidateAll() error
- type SubscribePrefixRequestMultiError
- type SubscribePrefixRequestValidationError
- func (e SubscribePrefixRequestValidationError) Cause() error
- func (e SubscribePrefixRequestValidationError) Error() string
- func (e SubscribePrefixRequestValidationError) ErrorName() string
- func (e SubscribePrefixRequestValidationError) Field() string
- func (e SubscribePrefixRequestValidationError) Key() bool
- func (e SubscribePrefixRequestValidationError) Reason() string
- type SubscribeRequest
- func (in *SubscribeRequest) DeepCopy() *SubscribeRequest
- func (in *SubscribeRequest) DeepCopyInterface() interface{}
- func (in *SubscribeRequest) DeepCopyInto(out *SubscribeRequest)
- func (*SubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeRequest) GetPrefix() []byte
- func (*SubscribeRequest) ProtoMessage()
- func (x *SubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeRequest) Reset()
- func (x *SubscribeRequest) String() string
- func (m *SubscribeRequest) Validate() error
- func (m *SubscribeRequest) ValidateAll() error
- type SubscribeRequestMultiError
- type SubscribeRequestValidationError
- func (e SubscribeRequestValidationError) Cause() error
- func (e SubscribeRequestValidationError) Error() string
- func (e SubscribeRequestValidationError) ErrorName() string
- func (e SubscribeRequestValidationError) Field() string
- func (e SubscribeRequestValidationError) Key() bool
- func (e SubscribeRequestValidationError) Reason() string
- type SubscriptionEvent
- func (in *SubscriptionEvent) DeepCopy() *SubscriptionEvent
- func (in *SubscriptionEvent) DeepCopyInterface() interface{}
- func (in *SubscriptionEvent) DeepCopyInto(out *SubscriptionEvent)
- func (*SubscriptionEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SubscriptionEvent) GetKey() []byte
- func (x *SubscriptionEvent) GetValue() []byte
- func (*SubscriptionEvent) ProtoMessage()
- func (x *SubscriptionEvent) ProtoReflect() protoreflect.Message
- func (x *SubscriptionEvent) Reset()
- func (x *SubscriptionEvent) String() string
- func (m *SubscriptionEvent) Validate() error
- func (m *SubscriptionEvent) ValidateAll() error
- type SubscriptionEventMultiError
- type SubscriptionEventValidationError
- func (e SubscriptionEventValidationError) Cause() error
- func (e SubscriptionEventValidationError) Error() string
- func (e SubscriptionEventValidationError) ErrorName() string
- func (e SubscriptionEventValidationError) Field() string
- func (e SubscriptionEventValidationError) Key() bool
- func (e SubscriptionEventValidationError) Reason() string
- type UnimplementedAdminServer
- func (UnimplementedAdminServer) DeleteEdge(context.Context, *MeshEdge) (*emptypb.Empty, error)
- func (UnimplementedAdminServer) DeleteGroup(context.Context, *Group) (*emptypb.Empty, error)
- func (UnimplementedAdminServer) DeleteNetworkACL(context.Context, *NetworkACL) (*emptypb.Empty, error)
- func (UnimplementedAdminServer) DeleteRole(context.Context, *Role) (*emptypb.Empty, error)
- func (UnimplementedAdminServer) DeleteRoleBinding(context.Context, *RoleBinding) (*emptypb.Empty, error)
- func (UnimplementedAdminServer) DeleteRoute(context.Context, *Route) (*emptypb.Empty, error)
- func (UnimplementedAdminServer) GetEdge(context.Context, *MeshEdge) (*MeshEdge, error)
- func (UnimplementedAdminServer) GetGroup(context.Context, *Group) (*Group, error)
- func (UnimplementedAdminServer) GetNetworkACL(context.Context, *NetworkACL) (*NetworkACL, error)
- func (UnimplementedAdminServer) GetRole(context.Context, *Role) (*Role, error)
- func (UnimplementedAdminServer) GetRoleBinding(context.Context, *RoleBinding) (*RoleBinding, error)
- func (UnimplementedAdminServer) GetRoute(context.Context, *Route) (*Route, error)
- func (UnimplementedAdminServer) ListEdges(context.Context, *emptypb.Empty) (*MeshEdges, error)
- func (UnimplementedAdminServer) ListGroups(context.Context, *emptypb.Empty) (*Groups, error)
- func (UnimplementedAdminServer) ListNetworkACLs(context.Context, *emptypb.Empty) (*NetworkACLs, error)
- func (UnimplementedAdminServer) ListRoleBindings(context.Context, *emptypb.Empty) (*RoleBindings, error)
- func (UnimplementedAdminServer) ListRoles(context.Context, *emptypb.Empty) (*Roles, error)
- func (UnimplementedAdminServer) ListRoutes(context.Context, *emptypb.Empty) (*Routes, error)
- func (UnimplementedAdminServer) PutEdge(context.Context, *MeshEdge) (*emptypb.Empty, error)
- func (UnimplementedAdminServer) PutGroup(context.Context, *Group) (*emptypb.Empty, error)
- func (UnimplementedAdminServer) PutNetworkACL(context.Context, *NetworkACL) (*emptypb.Empty, error)
- func (UnimplementedAdminServer) PutRole(context.Context, *Role) (*emptypb.Empty, error)
- func (UnimplementedAdminServer) PutRoleBinding(context.Context, *RoleBinding) (*emptypb.Empty, error)
- func (UnimplementedAdminServer) PutRoute(context.Context, *Route) (*emptypb.Empty, error)
- type UnimplementedAppDaemonServer
- func (UnimplementedAppDaemonServer) AnnounceDHT(context.Context, *AnnounceDHTRequest) (*AnnounceDHTResponse, error)
- func (UnimplementedAppDaemonServer) Connect(context.Context, *ConnectRequest) (*ConnectResponse, error)
- func (UnimplementedAppDaemonServer) Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error)
- func (UnimplementedAppDaemonServer) LeaveDHT(context.Context, *LeaveDHTRequest) (*LeaveDHTResponse, error)
- func (UnimplementedAppDaemonServer) Metrics(context.Context, *MetricsRequest) (*MetricsResponse, error)
- func (UnimplementedAppDaemonServer) Publish(context.Context, *PublishRequest) (*PublishResponse, error)
- func (UnimplementedAppDaemonServer) Query(*QueryRequest, AppDaemon_QueryServer) error
- func (UnimplementedAppDaemonServer) Status(context.Context, *StatusRequest) (*StatusResponse, error)
- func (UnimplementedAppDaemonServer) Subscribe(*SubscribeRequest, AppDaemon_SubscribeServer) error
- type UnimplementedAuthPluginServer
- type UnimplementedIPAMPluginServer
- type UnimplementedMembershipServer
- func (UnimplementedMembershipServer) Apply(context.Context, *RaftLogEntry) (*RaftApplyResponse, error)
- func (UnimplementedMembershipServer) GetStorageConfiguration(context.Context, *StorageConfigurationRequest) (*StorageConfigurationResponse, error)
- func (UnimplementedMembershipServer) Join(context.Context, *JoinRequest) (*JoinResponse, error)
- func (UnimplementedMembershipServer) Leave(context.Context, *LeaveRequest) (*LeaveResponse, error)
- func (UnimplementedMembershipServer) SubscribePeers(*SubscribePeersRequest, Membership_SubscribePeersServer) error
- func (UnimplementedMembershipServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnimplementedMeshServer
- type UnimplementedNodeServer
- type UnimplementedPluginServer
- type UnimplementedStorageProviderPluginServer
- func (UnimplementedStorageProviderPluginServer) AddObserver(context.Context, *StoragePeer) (*AddObserverResponse, error)
- func (UnimplementedStorageProviderPluginServer) AddVoter(context.Context, *StoragePeer) (*AddVoterResponse, error)
- func (UnimplementedStorageProviderPluginServer) Bootstrap(context.Context, *BootstrapRequest) (*BootstrapResponse, error)
- func (UnimplementedStorageProviderPluginServer) DeleteValue(context.Context, *DeleteValueRequest) (*DeleteValueResponse, error)
- func (UnimplementedStorageProviderPluginServer) DemoteVoter(context.Context, *StoragePeer) (*DemoteVoterResponse, error)
- func (UnimplementedStorageProviderPluginServer) GetLeader(context.Context, *GetLeaderRequest) (*StoragePeer, error)
- func (UnimplementedStorageProviderPluginServer) GetPeers(context.Context, *GetPeersRequest) (*StoragePeers, error)
- func (UnimplementedStorageProviderPluginServer) GetStatus(context.Context, *StorageStatusRequest) (*StorageStatus, error)
- func (UnimplementedStorageProviderPluginServer) GetValue(context.Context, *GetValueRequest) (*GetValueResponse, error)
- func (UnimplementedStorageProviderPluginServer) ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error)
- func (UnimplementedStorageProviderPluginServer) ListValues(context.Context, *ListValuesRequest) (*ListValuesResponse, error)
- func (UnimplementedStorageProviderPluginServer) PutValue(context.Context, *PutValueRequest) (*PutValueResponse, error)
- func (UnimplementedStorageProviderPluginServer) RemovePeer(context.Context, *StoragePeer) (*RemoveServerResponse, error)
- func (UnimplementedStorageProviderPluginServer) SubscribePrefix(*SubscribePrefixRequest, StorageProviderPlugin_SubscribePrefixServer) error
- type UnimplementedStorageQuerierPluginServer
- type UnimplementedStorageQueryServiceServer
- func (UnimplementedStorageQueryServiceServer) Publish(context.Context, *PublishRequest) (*PublishResponse, error)
- func (UnimplementedStorageQueryServiceServer) Query(*QueryRequest, StorageQueryService_QueryServer) error
- func (UnimplementedStorageQueryServiceServer) Subscribe(*SubscribeRequest, StorageQueryService_SubscribeServer) error
- type UnimplementedWatchPluginServer
- type UnimplementedWebRTCServer
- type UnsafeAdminServer
- type UnsafeAppDaemonServer
- type UnsafeAuthPluginServer
- type UnsafeIPAMPluginServer
- type UnsafeMembershipServer
- type UnsafeMeshServer
- type UnsafeNodeServer
- type UnsafePluginServer
- type UnsafeStorageProviderPluginServer
- type UnsafeStorageQuerierPluginServer
- type UnsafeStorageQueryServiceServer
- type UnsafeWatchPluginServer
- type UnsafeWebRTCServer
- type UpdateRequest
- func (in *UpdateRequest) DeepCopy() *UpdateRequest
- func (in *UpdateRequest) DeepCopyInterface() interface{}
- func (in *UpdateRequest) DeepCopyInto(out *UpdateRequest)
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetAsVoter() bool
- func (x *UpdateRequest) GetFeatures() []*FeaturePort
- func (x *UpdateRequest) GetId() string
- func (x *UpdateRequest) GetMultiaddrs() []string
- func (x *UpdateRequest) GetPrimaryEndpoint() string
- func (x *UpdateRequest) GetPublicKey() string
- func (x *UpdateRequest) GetRoutes() []string
- func (x *UpdateRequest) GetWireguardEndpoints() []string
- func (x *UpdateRequest) GetZoneAwarenessId() string
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- func (m *UpdateRequest) Validate() error
- func (m *UpdateRequest) ValidateAll() error
- type UpdateRequestMultiError
- type UpdateRequestValidationError
- func (e UpdateRequestValidationError) Cause() error
- func (e UpdateRequestValidationError) Error() string
- func (e UpdateRequestValidationError) ErrorName() string
- func (e UpdateRequestValidationError) Field() string
- func (e UpdateRequestValidationError) Key() bool
- func (e UpdateRequestValidationError) Reason() string
- type UpdateResponse
- func (in *UpdateResponse) DeepCopy() *UpdateResponse
- func (in *UpdateResponse) DeepCopyInterface() interface{}
- func (in *UpdateResponse) DeepCopyInto(out *UpdateResponse)
- func (*UpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateResponse) ProtoMessage()
- func (x *UpdateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResponse) Reset()
- func (x *UpdateResponse) String() string
- func (m *UpdateResponse) Validate() error
- func (m *UpdateResponse) ValidateAll() error
- type UpdateResponseMultiError
- type UpdateResponseValidationError
- func (e UpdateResponseValidationError) Cause() error
- func (e UpdateResponseValidationError) Error() string
- func (e UpdateResponseValidationError) ErrorName() string
- func (e UpdateResponseValidationError) Field() string
- func (e UpdateResponseValidationError) Key() bool
- func (e UpdateResponseValidationError) Reason() string
- type WatchPluginClient
- type WatchPluginServer
- type WebRTCClient
- type WebRTCServer
- type WebRTCSignal
- func (in *WebRTCSignal) DeepCopy() *WebRTCSignal
- func (in *WebRTCSignal) DeepCopyInterface() interface{}
- func (in *WebRTCSignal) DeepCopyInto(out *WebRTCSignal)
- func (*WebRTCSignal) Descriptor() ([]byte, []int)deprecated
- func (x *WebRTCSignal) GetCandidate() string
- func (x *WebRTCSignal) GetDescription() string
- func (x *WebRTCSignal) GetNodeId() string
- func (*WebRTCSignal) ProtoMessage()
- func (x *WebRTCSignal) ProtoReflect() protoreflect.Message
- func (x *WebRTCSignal) Reset()
- func (x *WebRTCSignal) String() string
- func (m *WebRTCSignal) Validate() error
- func (m *WebRTCSignal) ValidateAll() error
- type WebRTCSignalMultiError
- type WebRTCSignalValidationError
- func (e WebRTCSignalValidationError) Cause() error
- func (e WebRTCSignalValidationError) Error() string
- func (e WebRTCSignalValidationError) ErrorName() string
- func (e WebRTCSignalValidationError) Field() string
- func (e WebRTCSignalValidationError) Key() bool
- func (e WebRTCSignalValidationError) Reason() string
- type WebRTC_StartDataChannelClient
- type WebRTC_StartDataChannelServer
- type WebRTC_StartSignalChannelClient
- type WebRTC_StartSignalChannelServer
- type WireGuardPeer
- func (in *WireGuardPeer) DeepCopy() *WireGuardPeer
- func (in *WireGuardPeer) DeepCopyInterface() interface{}
- func (in *WireGuardPeer) DeepCopyInto(out *WireGuardPeer)
- func (*WireGuardPeer) Descriptor() ([]byte, []int)deprecated
- func (x *WireGuardPeer) GetAllowedIps() []string
- func (x *WireGuardPeer) GetAllowedRoutes() []string
- func (x *WireGuardPeer) GetNode() *MeshNode
- func (x *WireGuardPeer) GetProto() ConnectProtocol
- func (*WireGuardPeer) ProtoMessage()
- func (x *WireGuardPeer) ProtoReflect() protoreflect.Message
- func (x *WireGuardPeer) Reset()
- func (x *WireGuardPeer) String() string
- func (m *WireGuardPeer) Validate() error
- func (m *WireGuardPeer) ValidateAll() error
- type WireGuardPeerMultiError
- type WireGuardPeerValidationError
- func (e WireGuardPeerValidationError) Cause() error
- func (e WireGuardPeerValidationError) Error() string
- func (e WireGuardPeerValidationError) ErrorName() string
- func (e WireGuardPeerValidationError) Field() string
- func (e WireGuardPeerValidationError) Key() bool
- func (e WireGuardPeerValidationError) Reason() string
Constants ¶
const ( Admin_PutRole_FullMethodName = "/v1.Admin/PutRole" Admin_DeleteRole_FullMethodName = "/v1.Admin/DeleteRole" Admin_GetRole_FullMethodName = "/v1.Admin/GetRole" Admin_ListRoles_FullMethodName = "/v1.Admin/ListRoles" Admin_PutRoleBinding_FullMethodName = "/v1.Admin/PutRoleBinding" Admin_DeleteRoleBinding_FullMethodName = "/v1.Admin/DeleteRoleBinding" Admin_GetRoleBinding_FullMethodName = "/v1.Admin/GetRoleBinding" Admin_ListRoleBindings_FullMethodName = "/v1.Admin/ListRoleBindings" Admin_PutGroup_FullMethodName = "/v1.Admin/PutGroup" Admin_DeleteGroup_FullMethodName = "/v1.Admin/DeleteGroup" Admin_GetGroup_FullMethodName = "/v1.Admin/GetGroup" Admin_ListGroups_FullMethodName = "/v1.Admin/ListGroups" Admin_PutNetworkACL_FullMethodName = "/v1.Admin/PutNetworkACL" Admin_DeleteNetworkACL_FullMethodName = "/v1.Admin/DeleteNetworkACL" Admin_GetNetworkACL_FullMethodName = "/v1.Admin/GetNetworkACL" Admin_ListNetworkACLs_FullMethodName = "/v1.Admin/ListNetworkACLs" Admin_PutRoute_FullMethodName = "/v1.Admin/PutRoute" Admin_DeleteRoute_FullMethodName = "/v1.Admin/DeleteRoute" Admin_GetRoute_FullMethodName = "/v1.Admin/GetRoute" Admin_ListRoutes_FullMethodName = "/v1.Admin/ListRoutes" Admin_PutEdge_FullMethodName = "/v1.Admin/PutEdge" Admin_DeleteEdge_FullMethodName = "/v1.Admin/DeleteEdge" Admin_GetEdge_FullMethodName = "/v1.Admin/GetEdge" Admin_ListEdges_FullMethodName = "/v1.Admin/ListEdges" )
const ( AppDaemon_Connect_FullMethodName = "/v1.AppDaemon/Connect" AppDaemon_Disconnect_FullMethodName = "/v1.AppDaemon/Disconnect" AppDaemon_Query_FullMethodName = "/v1.AppDaemon/Query" AppDaemon_Metrics_FullMethodName = "/v1.AppDaemon/Metrics" AppDaemon_Status_FullMethodName = "/v1.AppDaemon/Status" AppDaemon_Subscribe_FullMethodName = "/v1.AppDaemon/Subscribe" AppDaemon_Publish_FullMethodName = "/v1.AppDaemon/Publish" AppDaemon_AnnounceDHT_FullMethodName = "/v1.AppDaemon/AnnounceDHT" AppDaemon_LeaveDHT_FullMethodName = "/v1.AppDaemon/LeaveDHT" )
const ( Membership_Join_FullMethodName = "/v1.Membership/Join" Membership_Update_FullMethodName = "/v1.Membership/Update" Membership_Leave_FullMethodName = "/v1.Membership/Leave" Membership_SubscribePeers_FullMethodName = "/v1.Membership/SubscribePeers" Membership_Apply_FullMethodName = "/v1.Membership/Apply" Membership_GetStorageConfiguration_FullMethodName = "/v1.Membership/GetStorageConfiguration" )
const ( Mesh_GetNode_FullMethodName = "/v1.Mesh/GetNode" Mesh_ListNodes_FullMethodName = "/v1.Mesh/ListNodes" Mesh_GetMeshGraph_FullMethodName = "/v1.Mesh/GetMeshGraph" )
const ( Node_GetStatus_FullMethodName = "/v1.Node/GetStatus" Node_NegotiateDataChannel_FullMethodName = "/v1.Node/NegotiateDataChannel" Node_ReceiveSignalChannel_FullMethodName = "/v1.Node/ReceiveSignalChannel" )
const ( Plugin_GetInfo_FullMethodName = "/v1.Plugin/GetInfo" Plugin_Configure_FullMethodName = "/v1.Plugin/Configure" Plugin_Close_FullMethodName = "/v1.Plugin/Close" )
const ( IPAMPlugin_Allocate_FullMethodName = "/v1.IPAMPlugin/Allocate" IPAMPlugin_Release_FullMethodName = "/v1.IPAMPlugin/Release" )
const ( StorageProviderPlugin_GetStatus_FullMethodName = "/v1.StorageProviderPlugin/GetStatus" StorageProviderPlugin_Bootstrap_FullMethodName = "/v1.StorageProviderPlugin/Bootstrap" StorageProviderPlugin_AddVoter_FullMethodName = "/v1.StorageProviderPlugin/AddVoter" StorageProviderPlugin_AddObserver_FullMethodName = "/v1.StorageProviderPlugin/AddObserver" StorageProviderPlugin_DemoteVoter_FullMethodName = "/v1.StorageProviderPlugin/DemoteVoter" StorageProviderPlugin_RemovePeer_FullMethodName = "/v1.StorageProviderPlugin/RemovePeer" StorageProviderPlugin_GetLeader_FullMethodName = "/v1.StorageProviderPlugin/GetLeader" StorageProviderPlugin_GetPeers_FullMethodName = "/v1.StorageProviderPlugin/GetPeers" StorageProviderPlugin_GetValue_FullMethodName = "/v1.StorageProviderPlugin/GetValue" StorageProviderPlugin_PutValue_FullMethodName = "/v1.StorageProviderPlugin/PutValue" StorageProviderPlugin_DeleteValue_FullMethodName = "/v1.StorageProviderPlugin/DeleteValue" StorageProviderPlugin_ListKeys_FullMethodName = "/v1.StorageProviderPlugin/ListKeys" StorageProviderPlugin_ListValues_FullMethodName = "/v1.StorageProviderPlugin/ListValues" StorageProviderPlugin_SubscribePrefix_FullMethodName = "/v1.StorageProviderPlugin/SubscribePrefix" )
const ( StorageQueryService_Query_FullMethodName = "/v1.StorageQueryService/Query" StorageQueryService_Publish_FullMethodName = "/v1.StorageQueryService/Publish" StorageQueryService_Subscribe_FullMethodName = "/v1.StorageQueryService/Subscribe" )
const ( WebRTC_StartDataChannel_FullMethodName = "/v1.WebRTC/StartDataChannel" WebRTC_StartSignalChannel_FullMethodName = "/v1.WebRTC/StartSignalChannel" )
const (
AuthPlugin_Authenticate_FullMethodName = "/v1.AuthPlugin/Authenticate"
)
const (
StorageQuerierPlugin_InjectQuerier_FullMethodName = "/v1.StorageQuerierPlugin/InjectQuerier"
)
const (
WatchPlugin_Emit_FullMethodName = "/v1.WatchPlugin/Emit"
)
Variables ¶
var ( StatusResponse_ConnectionStatus_name = map[int32]string{ 0: "DISCONNECTED", 1: "CONNECTING", 2: "CONNECTED", } StatusResponse_ConnectionStatus_value = map[string]int32{ "DISCONNECTED": 0, "CONNECTING": 1, "CONNECTED": 2, } )
Enum value maps for StatusResponse_ConnectionStatus.
var ( ConnectProtocol_name = map[int32]string{ 0: "CONNECT_NATIVE", 1: "CONNECT_ICE", 2: "CONNECT_LIBP2P", } ConnectProtocol_value = map[string]int32{ "CONNECT_NATIVE": 0, "CONNECT_ICE": 1, "CONNECT_LIBP2P": 2, } )
Enum value maps for ConnectProtocol.
var ( ACLAction_name = map[int32]string{ 0: "ACTION_UNKNOWN", 1: "ACTION_ACCEPT", 2: "ACTION_DENY", } ACLAction_value = map[string]int32{ "ACTION_UNKNOWN": 0, "ACTION_ACCEPT": 1, "ACTION_DENY": 2, } )
Enum value maps for ACLAction.
var ( ClusterStatus_name = map[int32]string{ 0: "CLUSTER_STATUS_UNKNOWN", 1: "CLUSTER_LEADER", 2: "CLUSTER_VOTER", 3: "CLUSTER_OBSERVER", 4: "CLUSTER_NODE", } ClusterStatus_value = map[string]int32{ "CLUSTER_STATUS_UNKNOWN": 0, "CLUSTER_LEADER": 1, "CLUSTER_VOTER": 2, "CLUSTER_OBSERVER": 3, "CLUSTER_NODE": 4, } )
Enum value maps for ClusterStatus.
var ( Feature_name = map[int32]string{ 0: "FEATURE_NONE", 1: "NODES", 2: "LEADER_PROXY", 3: "MESH_API", 4: "ADMIN_API", 5: "MEMBERSHIP", 6: "METRICS", 7: "ICE_NEGOTIATION", 8: "TURN_SERVER", 9: "MESH_DNS", 10: "FORWARD_MESH_DNS", 11: "STORAGE_QUERIER", 12: "STORAGE_PROVIDER", } Feature_value = map[string]int32{ "FEATURE_NONE": 0, "NODES": 1, "LEADER_PROXY": 2, "MESH_API": 3, "ADMIN_API": 4, "MEMBERSHIP": 5, "METRICS": 6, "ICE_NEGOTIATION": 7, "TURN_SERVER": 8, "MESH_DNS": 9, "FORWARD_MESH_DNS": 10, "STORAGE_QUERIER": 11, "STORAGE_PROVIDER": 12, } )
Enum value maps for Feature.
var ( EdgeAttribute_name = map[int32]string{ 0: "EDGE_ATTRIBUTE_UNKNOWN", 1: "EDGE_ATTRIBUTE_NATIVE", 2: "EDGE_ATTRIBUTE_ICE", 3: "EDGE_ATTRIBUTE_LIBP2P", } EdgeAttribute_value = map[string]int32{ "EDGE_ATTRIBUTE_UNKNOWN": 0, "EDGE_ATTRIBUTE_NATIVE": 1, "EDGE_ATTRIBUTE_ICE": 2, "EDGE_ATTRIBUTE_LIBP2P": 3, } )
Enum value maps for EdgeAttribute.
var ( DataChannel_name = map[int32]string{ 0: "CHANNELS", 1: "CONNECTIONS", } DataChannel_value = map[string]int32{ "CHANNELS": 0, "CONNECTIONS": 1, } )
Enum value maps for DataChannel.
var ( PluginInfo_PluginCapability_name = map[int32]string{ 0: "UNKNOWN", 1: "STORAGE_PROVIDER", 2: "AUTH", 3: "WATCH", 4: "IPAMV4", 5: "STORAGE_QUERIER", } PluginInfo_PluginCapability_value = map[string]int32{ "UNKNOWN": 0, "STORAGE_PROVIDER": 1, "AUTH": 2, "WATCH": 3, "IPAMV4": 4, "STORAGE_QUERIER": 5, } )
Enum value maps for PluginInfo_PluginCapability.
var ( Event_WatchEvent_name = map[int32]string{ 0: "UNKNOWN", 1: "NODE_JOIN", 2: "NODE_LEAVE", 3: "LEADER_CHANGE", } Event_WatchEvent_value = map[string]int32{ "UNKNOWN": 0, "NODE_JOIN": 1, "NODE_LEAVE": 2, "LEADER_CHANGE": 3, } )
Enum value maps for Event_WatchEvent.
var ( PluginQuery_QueryCommand_name = map[int32]string{ 0: "UNKNOWN", 1: "GET", 2: "LIST", 3: "ITER", 4: "PUT", 5: "DELETE", 6: "SUBSCRIBE", } PluginQuery_QueryCommand_value = map[string]int32{ "UNKNOWN": 0, "GET": 1, "LIST": 2, "ITER": 3, "PUT": 4, "DELETE": 5, "SUBSCRIBE": 6, } )
Enum value maps for PluginQuery_QueryCommand.
var ( RaftCommandType_name = map[int32]string{ 0: "UNKNOWN", 1: "PUT", 2: "DELETE", } RaftCommandType_value = map[string]int32{ "UNKNOWN": 0, "PUT": 1, "DELETE": 2, } )
Enum value maps for RaftCommandType.
var ( RuleResource_name = map[int32]string{ 0: "RESOURCE_UNKNOWN", 1: "RESOURCE_VOTES", 2: "RESOURCE_ROLES", 3: "RESOURCE_ROLE_BINDINGS", 4: "RESOURCE_GROUPS", 5: "RESOURCE_NETWORK_ACLS", 6: "RESOURCE_ROUTES", 7: "RESOURCE_DATA_CHANNELS", 8: "RESOURCE_EDGES", 9: "RESOURCE_OBSERVERS", 10: "RESOURCE_PUBSUB", 999: "RESOURCE_ALL", } RuleResource_value = map[string]int32{ "RESOURCE_UNKNOWN": 0, "RESOURCE_VOTES": 1, "RESOURCE_ROLES": 2, "RESOURCE_ROLE_BINDINGS": 3, "RESOURCE_GROUPS": 4, "RESOURCE_NETWORK_ACLS": 5, "RESOURCE_ROUTES": 6, "RESOURCE_DATA_CHANNELS": 7, "RESOURCE_EDGES": 8, "RESOURCE_OBSERVERS": 9, "RESOURCE_PUBSUB": 10, "RESOURCE_ALL": 999, } )
Enum value maps for RuleResource.
var ( RuleVerb_name = map[int32]string{ 0: "VERB_UNKNOWN", 1: "VERB_PUT", 2: "VERB_GET", 3: "VERB_DELETE", 999: "VERB_ALL", } RuleVerb_value = map[string]int32{ "VERB_UNKNOWN": 0, "VERB_PUT": 1, "VERB_GET": 2, "VERB_DELETE": 3, "VERB_ALL": 999, } )
Enum value maps for RuleVerb.
var ( SubjectType_name = map[int32]string{ 0: "SUBJECT_UNKNOWN", 1: "SUBJECT_NODE", 2: "SUBJECT_USER", 3: "SUBJECT_GROUP", 999: "SUBJECT_ALL", } SubjectType_value = map[string]int32{ "SUBJECT_UNKNOWN": 0, "SUBJECT_NODE": 1, "SUBJECT_USER": 2, "SUBJECT_GROUP": 3, "SUBJECT_ALL": 999, } )
Enum value maps for SubjectType.
var ( PrefixEvent_EventType_name = map[int32]string{ 0: "EventTypeUnknown", 1: "EventTypeUpdated", 2: "EventTypeRemoved", } PrefixEvent_EventType_value = map[string]int32{ "EventTypeUnknown": 0, "EventTypeUpdated": 1, "EventTypeRemoved": 2, } )
Enum value maps for PrefixEvent_EventType.
var ( QueryRequest_QueryCommand_name = map[int32]string{ 0: "UNKNOWN", 1: "GET", 2: "LIST", 3: "ITER", } QueryRequest_QueryCommand_value = map[string]int32{ "UNKNOWN": 0, "GET": 1, "LIST": 2, "ITER": 3, } )
Enum value maps for QueryRequest_QueryCommand.
var Admin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.Admin", HandlerType: (*AdminServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PutRole", Handler: _Admin_PutRole_Handler, }, { MethodName: "DeleteRole", Handler: _Admin_DeleteRole_Handler, }, { MethodName: "GetRole", Handler: _Admin_GetRole_Handler, }, { MethodName: "ListRoles", Handler: _Admin_ListRoles_Handler, }, { MethodName: "PutRoleBinding", Handler: _Admin_PutRoleBinding_Handler, }, { MethodName: "DeleteRoleBinding", Handler: _Admin_DeleteRoleBinding_Handler, }, { MethodName: "GetRoleBinding", Handler: _Admin_GetRoleBinding_Handler, }, { MethodName: "ListRoleBindings", Handler: _Admin_ListRoleBindings_Handler, }, { MethodName: "PutGroup", Handler: _Admin_PutGroup_Handler, }, { MethodName: "DeleteGroup", Handler: _Admin_DeleteGroup_Handler, }, { MethodName: "GetGroup", Handler: _Admin_GetGroup_Handler, }, { MethodName: "ListGroups", Handler: _Admin_ListGroups_Handler, }, { MethodName: "PutNetworkACL", Handler: _Admin_PutNetworkACL_Handler, }, { MethodName: "DeleteNetworkACL", Handler: _Admin_DeleteNetworkACL_Handler, }, { MethodName: "GetNetworkACL", Handler: _Admin_GetNetworkACL_Handler, }, { MethodName: "ListNetworkACLs", Handler: _Admin_ListNetworkACLs_Handler, }, { MethodName: "PutRoute", Handler: _Admin_PutRoute_Handler, }, { MethodName: "DeleteRoute", Handler: _Admin_DeleteRoute_Handler, }, { MethodName: "GetRoute", Handler: _Admin_GetRoute_Handler, }, { MethodName: "ListRoutes", Handler: _Admin_ListRoutes_Handler, }, { MethodName: "PutEdge", Handler: _Admin_PutEdge_Handler, }, { MethodName: "DeleteEdge", Handler: _Admin_DeleteEdge_Handler, }, { MethodName: "GetEdge", Handler: _Admin_GetEdge_Handler, }, { MethodName: "ListEdges", Handler: _Admin_ListEdges_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "v1/admin.proto", }
Admin_ServiceDesc is the grpc.ServiceDesc for Admin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AppDaemon_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.AppDaemon", HandlerType: (*AppDaemonServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Connect", Handler: _AppDaemon_Connect_Handler, }, { MethodName: "Disconnect", Handler: _AppDaemon_Disconnect_Handler, }, { MethodName: "Metrics", Handler: _AppDaemon_Metrics_Handler, }, { MethodName: "Status", Handler: _AppDaemon_Status_Handler, }, { MethodName: "Publish", Handler: _AppDaemon_Publish_Handler, }, { MethodName: "AnnounceDHT", Handler: _AppDaemon_AnnounceDHT_Handler, }, { MethodName: "LeaveDHT", Handler: _AppDaemon_LeaveDHT_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Query", Handler: _AppDaemon_Query_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _AppDaemon_Subscribe_Handler, ServerStreams: true, }, }, Metadata: "v1/app.proto", }
AppDaemon_ServiceDesc is the grpc.ServiceDesc for AppDaemon service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AuthPlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.AuthPlugin", HandlerType: (*AuthPluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Authenticate", Handler: _AuthPlugin_Authenticate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "v1/plugin.proto", }
AuthPlugin_ServiceDesc is the grpc.ServiceDesc for AuthPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_v1_admin_proto protoreflect.FileDescriptor
var File_v1_app_proto protoreflect.FileDescriptor
var File_v1_members_proto protoreflect.FileDescriptor
var File_v1_mesh_proto protoreflect.FileDescriptor
var File_v1_network_acls_proto protoreflect.FileDescriptor
var File_v1_node_proto protoreflect.FileDescriptor
var File_v1_plugin_proto protoreflect.FileDescriptor
var File_v1_raft_proto protoreflect.FileDescriptor
var File_v1_rbac_proto protoreflect.FileDescriptor
var File_v1_storage_provider_proto protoreflect.FileDescriptor
var File_v1_storage_query_proto protoreflect.FileDescriptor
var File_v1_webrtc_proto protoreflect.FileDescriptor
var IPAMPlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.IPAMPlugin", HandlerType: (*IPAMPluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Allocate", Handler: _IPAMPlugin_Allocate_Handler, }, { MethodName: "Release", Handler: _IPAMPlugin_Release_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "v1/plugin.proto", }
IPAMPlugin_ServiceDesc is the grpc.ServiceDesc for IPAMPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Membership_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.Membership", HandlerType: (*MembershipServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Join", Handler: _Membership_Join_Handler, }, { MethodName: "Update", Handler: _Membership_Update_Handler, }, { MethodName: "Leave", Handler: _Membership_Leave_Handler, }, { MethodName: "Apply", Handler: _Membership_Apply_Handler, }, { MethodName: "GetStorageConfiguration", Handler: _Membership_GetStorageConfiguration_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribePeers", Handler: _Membership_SubscribePeers_Handler, ServerStreams: true, }, }, Metadata: "v1/members.proto", }
Membership_ServiceDesc is the grpc.ServiceDesc for Membership service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Mesh_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.Mesh", HandlerType: (*MeshServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetNode", Handler: _Mesh_GetNode_Handler, }, { MethodName: "ListNodes", Handler: _Mesh_ListNodes_Handler, }, { MethodName: "GetMeshGraph", Handler: _Mesh_GetMeshGraph_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "v1/mesh.proto", }
Mesh_ServiceDesc is the grpc.ServiceDesc for Mesh service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Node_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.Node", HandlerType: (*NodeServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetStatus", Handler: _Node_GetStatus_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "NegotiateDataChannel", Handler: _Node_NegotiateDataChannel_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "ReceiveSignalChannel", Handler: _Node_ReceiveSignalChannel_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "v1/node.proto", }
Node_ServiceDesc is the grpc.ServiceDesc for Node service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Plugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.Plugin", HandlerType: (*PluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetInfo", Handler: _Plugin_GetInfo_Handler, }, { MethodName: "Configure", Handler: _Plugin_Configure_Handler, }, { MethodName: "Close", Handler: _Plugin_Close_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "v1/plugin.proto", }
Plugin_ServiceDesc is the grpc.ServiceDesc for Plugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var StorageProviderPlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.StorageProviderPlugin", HandlerType: (*StorageProviderPluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetStatus", Handler: _StorageProviderPlugin_GetStatus_Handler, }, { MethodName: "Bootstrap", Handler: _StorageProviderPlugin_Bootstrap_Handler, }, { MethodName: "AddVoter", Handler: _StorageProviderPlugin_AddVoter_Handler, }, { MethodName: "AddObserver", Handler: _StorageProviderPlugin_AddObserver_Handler, }, { MethodName: "DemoteVoter", Handler: _StorageProviderPlugin_DemoteVoter_Handler, }, { MethodName: "RemovePeer", Handler: _StorageProviderPlugin_RemovePeer_Handler, }, { MethodName: "GetLeader", Handler: _StorageProviderPlugin_GetLeader_Handler, }, { MethodName: "GetPeers", Handler: _StorageProviderPlugin_GetPeers_Handler, }, { MethodName: "GetValue", Handler: _StorageProviderPlugin_GetValue_Handler, }, { MethodName: "PutValue", Handler: _StorageProviderPlugin_PutValue_Handler, }, { MethodName: "DeleteValue", Handler: _StorageProviderPlugin_DeleteValue_Handler, }, { MethodName: "ListKeys", Handler: _StorageProviderPlugin_ListKeys_Handler, }, { MethodName: "ListValues", Handler: _StorageProviderPlugin_ListValues_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribePrefix", Handler: _StorageProviderPlugin_SubscribePrefix_Handler, ServerStreams: true, }, }, Metadata: "v1/storage_provider.proto", }
StorageProviderPlugin_ServiceDesc is the grpc.ServiceDesc for StorageProviderPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var StorageQuerierPlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.StorageQuerierPlugin", HandlerType: (*StorageQuerierPluginServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "InjectQuerier", Handler: _StorageQuerierPlugin_InjectQuerier_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "v1/plugin.proto", }
StorageQuerierPlugin_ServiceDesc is the grpc.ServiceDesc for StorageQuerierPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var StorageQueryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.StorageQueryService", HandlerType: (*StorageQueryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Publish", Handler: _StorageQueryService_Publish_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Query", Handler: _StorageQueryService_Query_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _StorageQueryService_Subscribe_Handler, ServerStreams: true, }, }, Metadata: "v1/storage_query.proto", }
StorageQueryService_ServiceDesc is the grpc.ServiceDesc for StorageQueryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WatchPlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.WatchPlugin", HandlerType: (*WatchPluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Emit", Handler: _WatchPlugin_Emit_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "v1/plugin.proto", }
WatchPlugin_ServiceDesc is the grpc.ServiceDesc for WatchPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WebRTC_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.WebRTC", HandlerType: (*WebRTCServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "StartDataChannel", Handler: _WebRTC_StartDataChannel_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "StartSignalChannel", Handler: _WebRTC_StartSignalChannel_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "v1/webrtc.proto", }
WebRTC_ServiceDesc is the grpc.ServiceDesc for WebRTC service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAdminServer ¶
func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)
func RegisterAppDaemonServer ¶ added in v0.2.2
func RegisterAppDaemonServer(s grpc.ServiceRegistrar, srv AppDaemonServer)
func RegisterAuthPluginServer ¶ added in v0.1.4
func RegisterAuthPluginServer(s grpc.ServiceRegistrar, srv AuthPluginServer)
func RegisterIPAMPluginServer ¶ added in v0.1.4
func RegisterIPAMPluginServer(s grpc.ServiceRegistrar, srv IPAMPluginServer)
func RegisterMembershipServer ¶ added in v0.2.2
func RegisterMembershipServer(s grpc.ServiceRegistrar, srv MembershipServer)
func RegisterMeshServer ¶
func RegisterMeshServer(s grpc.ServiceRegistrar, srv MeshServer)
func RegisterNodeServer ¶
func RegisterNodeServer(s grpc.ServiceRegistrar, srv NodeServer)
func RegisterPluginServer ¶
func RegisterPluginServer(s grpc.ServiceRegistrar, srv PluginServer)
func RegisterStorageProviderPluginServer ¶ added in v0.4.0
func RegisterStorageProviderPluginServer(s grpc.ServiceRegistrar, srv StorageProviderPluginServer)
func RegisterStorageQuerierPluginServer ¶ added in v0.4.0
func RegisterStorageQuerierPluginServer(s grpc.ServiceRegistrar, srv StorageQuerierPluginServer)
func RegisterStorageQueryServiceServer ¶ added in v0.4.0
func RegisterStorageQueryServiceServer(s grpc.ServiceRegistrar, srv StorageQueryServiceServer)
func RegisterWatchPluginServer ¶ added in v0.1.4
func RegisterWatchPluginServer(s grpc.ServiceRegistrar, srv WatchPluginServer)
func RegisterWebRTCServer ¶
func RegisterWebRTCServer(s grpc.ServiceRegistrar, srv WebRTCServer)
Types ¶
type ACLAction ¶
type ACLAction int32
ACLAction is the action to take when a request matches an ACL.
func (ACLAction) Descriptor ¶
func (ACLAction) Descriptor() protoreflect.EnumDescriptor
func (ACLAction) EnumDescriptor
deprecated
func (ACLAction) Number ¶
func (x ACLAction) Number() protoreflect.EnumNumber
func (ACLAction) Type ¶
func (ACLAction) Type() protoreflect.EnumType
type AddObserverResponse ¶ added in v0.4.0
type AddObserverResponse struct {
// contains filtered or unexported fields
}
AddObserverResponse is the response object for the AddObserver RPC.
func (*AddObserverResponse) DeepCopy ¶ added in v0.6.2
func (in *AddObserverResponse) DeepCopy() *AddObserverResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddObserverResponse. Required by controller-gen.
func (*AddObserverResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *AddObserverResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AddObserverResponse. Required by controller-gen.
func (*AddObserverResponse) DeepCopyInto ¶ added in v0.6.2
func (in *AddObserverResponse) DeepCopyInto(out *AddObserverResponse)
DeepCopyInto supports using AddObserverResponse within kubernetes types, where deepcopy-gen is used.
func (*AddObserverResponse) Descriptor
deprecated
added in
v0.4.0
func (*AddObserverResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddObserverResponse.ProtoReflect.Descriptor instead.
func (*AddObserverResponse) ProtoMessage ¶ added in v0.4.0
func (*AddObserverResponse) ProtoMessage()
func (*AddObserverResponse) ProtoReflect ¶ added in v0.4.0
func (x *AddObserverResponse) ProtoReflect() protoreflect.Message
func (*AddObserverResponse) Reset ¶ added in v0.4.0
func (x *AddObserverResponse) Reset()
func (*AddObserverResponse) String ¶ added in v0.4.0
func (x *AddObserverResponse) String() string
func (*AddObserverResponse) Validate ¶ added in v0.6.2
func (m *AddObserverResponse) Validate() error
Validate checks the field values on AddObserverResponse 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 (*AddObserverResponse) ValidateAll ¶ added in v0.6.2
func (m *AddObserverResponse) ValidateAll() error
ValidateAll checks the field values on AddObserverResponse 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 AddObserverResponseMultiError, or nil if none found.
type AddObserverResponseMultiError ¶ added in v0.6.2
type AddObserverResponseMultiError []error
AddObserverResponseMultiError is an error wrapping multiple validation errors returned by AddObserverResponse.ValidateAll() if the designated constraints aren't met.
func (AddObserverResponseMultiError) AllErrors ¶ added in v0.6.2
func (m AddObserverResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddObserverResponseMultiError) Error ¶ added in v0.6.2
func (m AddObserverResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddObserverResponseValidationError ¶ added in v0.6.2
type AddObserverResponseValidationError struct {
// contains filtered or unexported fields
}
AddObserverResponseValidationError is the validation error returned by AddObserverResponse.Validate if the designated constraints aren't met.
func (AddObserverResponseValidationError) Cause ¶ added in v0.6.2
func (e AddObserverResponseValidationError) Cause() error
Cause function returns cause value.
func (AddObserverResponseValidationError) Error ¶ added in v0.6.2
func (e AddObserverResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddObserverResponseValidationError) ErrorName ¶ added in v0.6.2
func (e AddObserverResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddObserverResponseValidationError) Field ¶ added in v0.6.2
func (e AddObserverResponseValidationError) Field() string
Field function returns field value.
func (AddObserverResponseValidationError) Key ¶ added in v0.6.2
func (e AddObserverResponseValidationError) Key() bool
Key function returns key value.
func (AddObserverResponseValidationError) Reason ¶ added in v0.6.2
func (e AddObserverResponseValidationError) Reason() string
Reason function returns reason value.
type AddVoterResponse ¶ added in v0.4.0
type AddVoterResponse struct {
// contains filtered or unexported fields
}
AddVoterResponse is the response object for the AddVoter RPC.
func (*AddVoterResponse) DeepCopy ¶ added in v0.6.2
func (in *AddVoterResponse) DeepCopy() *AddVoterResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddVoterResponse. Required by controller-gen.
func (*AddVoterResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *AddVoterResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AddVoterResponse. Required by controller-gen.
func (*AddVoterResponse) DeepCopyInto ¶ added in v0.6.2
func (in *AddVoterResponse) DeepCopyInto(out *AddVoterResponse)
DeepCopyInto supports using AddVoterResponse within kubernetes types, where deepcopy-gen is used.
func (*AddVoterResponse) Descriptor
deprecated
added in
v0.4.0
func (*AddVoterResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddVoterResponse.ProtoReflect.Descriptor instead.
func (*AddVoterResponse) ProtoMessage ¶ added in v0.4.0
func (*AddVoterResponse) ProtoMessage()
func (*AddVoterResponse) ProtoReflect ¶ added in v0.4.0
func (x *AddVoterResponse) ProtoReflect() protoreflect.Message
func (*AddVoterResponse) Reset ¶ added in v0.4.0
func (x *AddVoterResponse) Reset()
func (*AddVoterResponse) String ¶ added in v0.4.0
func (x *AddVoterResponse) String() string
func (*AddVoterResponse) Validate ¶ added in v0.6.2
func (m *AddVoterResponse) Validate() error
Validate checks the field values on AddVoterResponse 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 (*AddVoterResponse) ValidateAll ¶ added in v0.6.2
func (m *AddVoterResponse) ValidateAll() error
ValidateAll checks the field values on AddVoterResponse 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 AddVoterResponseMultiError, or nil if none found.
type AddVoterResponseMultiError ¶ added in v0.6.2
type AddVoterResponseMultiError []error
AddVoterResponseMultiError is an error wrapping multiple validation errors returned by AddVoterResponse.ValidateAll() if the designated constraints aren't met.
func (AddVoterResponseMultiError) AllErrors ¶ added in v0.6.2
func (m AddVoterResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddVoterResponseMultiError) Error ¶ added in v0.6.2
func (m AddVoterResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddVoterResponseValidationError ¶ added in v0.6.2
type AddVoterResponseValidationError struct {
// contains filtered or unexported fields
}
AddVoterResponseValidationError is the validation error returned by AddVoterResponse.Validate if the designated constraints aren't met.
func (AddVoterResponseValidationError) Cause ¶ added in v0.6.2
func (e AddVoterResponseValidationError) Cause() error
Cause function returns cause value.
func (AddVoterResponseValidationError) Error ¶ added in v0.6.2
func (e AddVoterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddVoterResponseValidationError) ErrorName ¶ added in v0.6.2
func (e AddVoterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddVoterResponseValidationError) Field ¶ added in v0.6.2
func (e AddVoterResponseValidationError) Field() string
Field function returns field value.
func (AddVoterResponseValidationError) Key ¶ added in v0.6.2
func (e AddVoterResponseValidationError) Key() bool
Key function returns key value.
func (AddVoterResponseValidationError) Reason ¶ added in v0.6.2
func (e AddVoterResponseValidationError) Reason() string
Reason function returns reason value.
type AdminClient ¶
type AdminClient interface { // PutRole creates or updates a role. PutRole(ctx context.Context, in *Role, opts ...grpc.CallOption) (*emptypb.Empty, error) // DeleteRole deletes a role. DeleteRole(ctx context.Context, in *Role, opts ...grpc.CallOption) (*emptypb.Empty, error) // GetRole gets a role. GetRole(ctx context.Context, in *Role, opts ...grpc.CallOption) (*Role, error) // ListRoles gets all roles. ListRoles(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Roles, error) // PutRoleBinding creates or updates a role binding. PutRoleBinding(ctx context.Context, in *RoleBinding, opts ...grpc.CallOption) (*emptypb.Empty, error) // DeleteRoleBinding deletes a role binding. DeleteRoleBinding(ctx context.Context, in *RoleBinding, opts ...grpc.CallOption) (*emptypb.Empty, error) // GetRoleBinding gets a role binding. GetRoleBinding(ctx context.Context, in *RoleBinding, opts ...grpc.CallOption) (*RoleBinding, error) // ListRoleBindings gets all role bindings. ListRoleBindings(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RoleBindings, error) // PutGroup creates or updates a group. PutGroup(ctx context.Context, in *Group, opts ...grpc.CallOption) (*emptypb.Empty, error) // DeleteGroup deletes a group. DeleteGroup(ctx context.Context, in *Group, opts ...grpc.CallOption) (*emptypb.Empty, error) // GetGroup gets a group. GetGroup(ctx context.Context, in *Group, opts ...grpc.CallOption) (*Group, error) // ListGroups gets all groups. ListGroups(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Groups, error) // PutNetworkACL creates or updates a network ACL. PutNetworkACL(ctx context.Context, in *NetworkACL, opts ...grpc.CallOption) (*emptypb.Empty, error) // DeleteNetworkACL deletes a network ACL. DeleteNetworkACL(ctx context.Context, in *NetworkACL, opts ...grpc.CallOption) (*emptypb.Empty, error) // GetNetworkACL gets a network ACL. GetNetworkACL(ctx context.Context, in *NetworkACL, opts ...grpc.CallOption) (*NetworkACL, error) // ListNetworkACLs gets all network ACLs. ListNetworkACLs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NetworkACLs, error) // PutRoute creates or updates a route. PutRoute(ctx context.Context, in *Route, opts ...grpc.CallOption) (*emptypb.Empty, error) // DeleteRoute deletes a route. DeleteRoute(ctx context.Context, in *Route, opts ...grpc.CallOption) (*emptypb.Empty, error) // GetRoute gets a route. GetRoute(ctx context.Context, in *Route, opts ...grpc.CallOption) (*Route, error) // ListRoutes gets all routes. ListRoutes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Routes, error) // PutEdge creates or updates an edge between two nodes. PutEdge(ctx context.Context, in *MeshEdge, opts ...grpc.CallOption) (*emptypb.Empty, error) // DeleteEdge deletes an edge between two nodes. DeleteEdge(ctx context.Context, in *MeshEdge, opts ...grpc.CallOption) (*emptypb.Empty, error) // GetEdge gets an edge between two nodes. GetEdge(ctx context.Context, in *MeshEdge, opts ...grpc.CallOption) (*MeshEdge, error) // ListEdges gets all current edges. ListEdges(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MeshEdges, error) }
AdminClient is the client API for Admin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAdminClient ¶
func NewAdminClient(cc grpc.ClientConnInterface) AdminClient
type AdminServer ¶
type AdminServer interface { // PutRole creates or updates a role. PutRole(context.Context, *Role) (*emptypb.Empty, error) // DeleteRole deletes a role. DeleteRole(context.Context, *Role) (*emptypb.Empty, error) // GetRole gets a role. GetRole(context.Context, *Role) (*Role, error) // ListRoles gets all roles. ListRoles(context.Context, *emptypb.Empty) (*Roles, error) // PutRoleBinding creates or updates a role binding. PutRoleBinding(context.Context, *RoleBinding) (*emptypb.Empty, error) // DeleteRoleBinding deletes a role binding. DeleteRoleBinding(context.Context, *RoleBinding) (*emptypb.Empty, error) // GetRoleBinding gets a role binding. GetRoleBinding(context.Context, *RoleBinding) (*RoleBinding, error) // ListRoleBindings gets all role bindings. ListRoleBindings(context.Context, *emptypb.Empty) (*RoleBindings, error) // PutGroup creates or updates a group. PutGroup(context.Context, *Group) (*emptypb.Empty, error) // DeleteGroup deletes a group. DeleteGroup(context.Context, *Group) (*emptypb.Empty, error) // GetGroup gets a group. GetGroup(context.Context, *Group) (*Group, error) // ListGroups gets all groups. ListGroups(context.Context, *emptypb.Empty) (*Groups, error) // PutNetworkACL creates or updates a network ACL. PutNetworkACL(context.Context, *NetworkACL) (*emptypb.Empty, error) // DeleteNetworkACL deletes a network ACL. DeleteNetworkACL(context.Context, *NetworkACL) (*emptypb.Empty, error) // GetNetworkACL gets a network ACL. GetNetworkACL(context.Context, *NetworkACL) (*NetworkACL, error) // ListNetworkACLs gets all network ACLs. ListNetworkACLs(context.Context, *emptypb.Empty) (*NetworkACLs, error) // PutRoute creates or updates a route. PutRoute(context.Context, *Route) (*emptypb.Empty, error) // DeleteRoute deletes a route. DeleteRoute(context.Context, *Route) (*emptypb.Empty, error) // GetRoute gets a route. GetRoute(context.Context, *Route) (*Route, error) // ListRoutes gets all routes. ListRoutes(context.Context, *emptypb.Empty) (*Routes, error) // PutEdge creates or updates an edge between two nodes. PutEdge(context.Context, *MeshEdge) (*emptypb.Empty, error) // DeleteEdge deletes an edge between two nodes. DeleteEdge(context.Context, *MeshEdge) (*emptypb.Empty, error) // GetEdge gets an edge between two nodes. GetEdge(context.Context, *MeshEdge) (*MeshEdge, error) // ListEdges gets all current edges. ListEdges(context.Context, *emptypb.Empty) (*MeshEdges, error) // contains filtered or unexported methods }
AdminServer is the server API for Admin service. All implementations must embed UnimplementedAdminServer for forward compatibility
type AllocateIPRequest ¶ added in v0.1.4
type AllocateIPRequest struct { // node_id is the node that the IP should be allocated for. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // subnet is the subnet that the IP should be allocated from. Subnet string `protobuf:"bytes,2,opt,name=subnet,proto3" json:"subnet,omitempty"` // contains filtered or unexported fields }
AllocateIPRequest is the message containing an IP allocation request.
func (*AllocateIPRequest) DeepCopy ¶ added in v0.6.2
func (in *AllocateIPRequest) DeepCopy() *AllocateIPRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocateIPRequest. Required by controller-gen.
func (*AllocateIPRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *AllocateIPRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AllocateIPRequest. Required by controller-gen.
func (*AllocateIPRequest) DeepCopyInto ¶ added in v0.6.2
func (in *AllocateIPRequest) DeepCopyInto(out *AllocateIPRequest)
DeepCopyInto supports using AllocateIPRequest within kubernetes types, where deepcopy-gen is used.
func (*AllocateIPRequest) Descriptor
deprecated
added in
v0.1.4
func (*AllocateIPRequest) Descriptor() ([]byte, []int)
Deprecated: Use AllocateIPRequest.ProtoReflect.Descriptor instead.
func (*AllocateIPRequest) GetNodeId ¶ added in v0.1.4
func (x *AllocateIPRequest) GetNodeId() string
func (*AllocateIPRequest) GetSubnet ¶ added in v0.1.4
func (x *AllocateIPRequest) GetSubnet() string
func (*AllocateIPRequest) ProtoMessage ¶ added in v0.1.4
func (*AllocateIPRequest) ProtoMessage()
func (*AllocateIPRequest) ProtoReflect ¶ added in v0.1.4
func (x *AllocateIPRequest) ProtoReflect() protoreflect.Message
func (*AllocateIPRequest) Reset ¶ added in v0.1.4
func (x *AllocateIPRequest) Reset()
func (*AllocateIPRequest) String ¶ added in v0.1.4
func (x *AllocateIPRequest) String() string
func (*AllocateIPRequest) Validate ¶ added in v0.6.2
func (m *AllocateIPRequest) Validate() error
Validate checks the field values on AllocateIPRequest 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 (*AllocateIPRequest) ValidateAll ¶ added in v0.6.2
func (m *AllocateIPRequest) ValidateAll() error
ValidateAll checks the field values on AllocateIPRequest 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 AllocateIPRequestMultiError, or nil if none found.
type AllocateIPRequestMultiError ¶ added in v0.6.2
type AllocateIPRequestMultiError []error
AllocateIPRequestMultiError is an error wrapping multiple validation errors returned by AllocateIPRequest.ValidateAll() if the designated constraints aren't met.
func (AllocateIPRequestMultiError) AllErrors ¶ added in v0.6.2
func (m AllocateIPRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllocateIPRequestMultiError) Error ¶ added in v0.6.2
func (m AllocateIPRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllocateIPRequestValidationError ¶ added in v0.6.2
type AllocateIPRequestValidationError struct {
// contains filtered or unexported fields
}
AllocateIPRequestValidationError is the validation error returned by AllocateIPRequest.Validate if the designated constraints aren't met.
func (AllocateIPRequestValidationError) Cause ¶ added in v0.6.2
func (e AllocateIPRequestValidationError) Cause() error
Cause function returns cause value.
func (AllocateIPRequestValidationError) Error ¶ added in v0.6.2
func (e AllocateIPRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AllocateIPRequestValidationError) ErrorName ¶ added in v0.6.2
func (e AllocateIPRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AllocateIPRequestValidationError) Field ¶ added in v0.6.2
func (e AllocateIPRequestValidationError) Field() string
Field function returns field value.
func (AllocateIPRequestValidationError) Key ¶ added in v0.6.2
func (e AllocateIPRequestValidationError) Key() bool
Key function returns key value.
func (AllocateIPRequestValidationError) Reason ¶ added in v0.6.2
func (e AllocateIPRequestValidationError) Reason() string
Reason function returns reason value.
type AllocatedIP ¶ added in v0.1.4
type AllocatedIP struct { // ip is the allocated IP. It should be returned in CIDR notation. Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
AllocatedIP is the message containing an allocated IP.
func (*AllocatedIP) DeepCopy ¶ added in v0.6.2
func (in *AllocatedIP) DeepCopy() *AllocatedIP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocatedIP. Required by controller-gen.
func (*AllocatedIP) DeepCopyInterface ¶ added in v0.6.2
func (in *AllocatedIP) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AllocatedIP. Required by controller-gen.
func (*AllocatedIP) DeepCopyInto ¶ added in v0.6.2
func (in *AllocatedIP) DeepCopyInto(out *AllocatedIP)
DeepCopyInto supports using AllocatedIP within kubernetes types, where deepcopy-gen is used.
func (*AllocatedIP) Descriptor
deprecated
added in
v0.1.4
func (*AllocatedIP) Descriptor() ([]byte, []int)
Deprecated: Use AllocatedIP.ProtoReflect.Descriptor instead.
func (*AllocatedIP) GetIp ¶ added in v0.1.4
func (x *AllocatedIP) GetIp() string
func (*AllocatedIP) ProtoMessage ¶ added in v0.1.4
func (*AllocatedIP) ProtoMessage()
func (*AllocatedIP) ProtoReflect ¶ added in v0.1.4
func (x *AllocatedIP) ProtoReflect() protoreflect.Message
func (*AllocatedIP) Reset ¶ added in v0.1.4
func (x *AllocatedIP) Reset()
func (*AllocatedIP) String ¶ added in v0.1.4
func (x *AllocatedIP) String() string
func (*AllocatedIP) Validate ¶ added in v0.6.2
func (m *AllocatedIP) Validate() error
Validate checks the field values on AllocatedIP 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 (*AllocatedIP) ValidateAll ¶ added in v0.6.2
func (m *AllocatedIP) ValidateAll() error
ValidateAll checks the field values on AllocatedIP 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 AllocatedIPMultiError, or nil if none found.
type AllocatedIPMultiError ¶ added in v0.6.2
type AllocatedIPMultiError []error
AllocatedIPMultiError is an error wrapping multiple validation errors returned by AllocatedIP.ValidateAll() if the designated constraints aren't met.
func (AllocatedIPMultiError) AllErrors ¶ added in v0.6.2
func (m AllocatedIPMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllocatedIPMultiError) Error ¶ added in v0.6.2
func (m AllocatedIPMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllocatedIPValidationError ¶ added in v0.6.2
type AllocatedIPValidationError struct {
// contains filtered or unexported fields
}
AllocatedIPValidationError is the validation error returned by AllocatedIP.Validate if the designated constraints aren't met.
func (AllocatedIPValidationError) Cause ¶ added in v0.6.2
func (e AllocatedIPValidationError) Cause() error
Cause function returns cause value.
func (AllocatedIPValidationError) Error ¶ added in v0.6.2
func (e AllocatedIPValidationError) Error() string
Error satisfies the builtin error interface
func (AllocatedIPValidationError) ErrorName ¶ added in v0.6.2
func (e AllocatedIPValidationError) ErrorName() string
ErrorName returns error name.
func (AllocatedIPValidationError) Field ¶ added in v0.6.2
func (e AllocatedIPValidationError) Field() string
Field function returns field value.
func (AllocatedIPValidationError) Key ¶ added in v0.6.2
func (e AllocatedIPValidationError) Key() bool
Key function returns key value.
func (AllocatedIPValidationError) Reason ¶ added in v0.6.2
func (e AllocatedIPValidationError) Reason() string
Reason function returns reason value.
type AnnounceDHTRequest ¶ added in v0.2.4
type AnnounceDHTRequest struct { // Bootstrap servers are optional bootstrap servers to use for bootstrapping // the DHT. If not provided, the node will use the default bootstrap servers. BootstrapServers []string `protobuf:"bytes,1,rep,name=bootstrap_servers,json=bootstrapServers,proto3" json:"bootstrap_servers,omitempty"` // PSK is the pre-shared key to use for the DHT. Psk string `protobuf:"bytes,2,opt,name=psk,proto3" json:"psk,omitempty"` // contains filtered or unexported fields }
AnnounceDHTRequest is sent by the application to the node to announce the node's presence on the Kademlia DHT for other nodes to discover.
func (*AnnounceDHTRequest) DeepCopy ¶ added in v0.6.2
func (in *AnnounceDHTRequest) DeepCopy() *AnnounceDHTRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnounceDHTRequest. Required by controller-gen.
func (*AnnounceDHTRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *AnnounceDHTRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AnnounceDHTRequest. Required by controller-gen.
func (*AnnounceDHTRequest) DeepCopyInto ¶ added in v0.6.2
func (in *AnnounceDHTRequest) DeepCopyInto(out *AnnounceDHTRequest)
DeepCopyInto supports using AnnounceDHTRequest within kubernetes types, where deepcopy-gen is used.
func (*AnnounceDHTRequest) Descriptor
deprecated
added in
v0.2.4
func (*AnnounceDHTRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnnounceDHTRequest.ProtoReflect.Descriptor instead.
func (*AnnounceDHTRequest) GetBootstrapServers ¶ added in v0.2.4
func (x *AnnounceDHTRequest) GetBootstrapServers() []string
func (*AnnounceDHTRequest) GetPsk ¶ added in v0.2.4
func (x *AnnounceDHTRequest) GetPsk() string
func (*AnnounceDHTRequest) ProtoMessage ¶ added in v0.2.4
func (*AnnounceDHTRequest) ProtoMessage()
func (*AnnounceDHTRequest) ProtoReflect ¶ added in v0.2.4
func (x *AnnounceDHTRequest) ProtoReflect() protoreflect.Message
func (*AnnounceDHTRequest) Reset ¶ added in v0.2.4
func (x *AnnounceDHTRequest) Reset()
func (*AnnounceDHTRequest) String ¶ added in v0.2.4
func (x *AnnounceDHTRequest) String() string
func (*AnnounceDHTRequest) Validate ¶ added in v0.6.2
func (m *AnnounceDHTRequest) Validate() error
Validate checks the field values on AnnounceDHTRequest 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 (*AnnounceDHTRequest) ValidateAll ¶ added in v0.6.2
func (m *AnnounceDHTRequest) ValidateAll() error
ValidateAll checks the field values on AnnounceDHTRequest 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 AnnounceDHTRequestMultiError, or nil if none found.
type AnnounceDHTRequestMultiError ¶ added in v0.6.2
type AnnounceDHTRequestMultiError []error
AnnounceDHTRequestMultiError is an error wrapping multiple validation errors returned by AnnounceDHTRequest.ValidateAll() if the designated constraints aren't met.
func (AnnounceDHTRequestMultiError) AllErrors ¶ added in v0.6.2
func (m AnnounceDHTRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnnounceDHTRequestMultiError) Error ¶ added in v0.6.2
func (m AnnounceDHTRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnnounceDHTRequestValidationError ¶ added in v0.6.2
type AnnounceDHTRequestValidationError struct {
// contains filtered or unexported fields
}
AnnounceDHTRequestValidationError is the validation error returned by AnnounceDHTRequest.Validate if the designated constraints aren't met.
func (AnnounceDHTRequestValidationError) Cause ¶ added in v0.6.2
func (e AnnounceDHTRequestValidationError) Cause() error
Cause function returns cause value.
func (AnnounceDHTRequestValidationError) Error ¶ added in v0.6.2
func (e AnnounceDHTRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AnnounceDHTRequestValidationError) ErrorName ¶ added in v0.6.2
func (e AnnounceDHTRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AnnounceDHTRequestValidationError) Field ¶ added in v0.6.2
func (e AnnounceDHTRequestValidationError) Field() string
Field function returns field value.
func (AnnounceDHTRequestValidationError) Key ¶ added in v0.6.2
func (e AnnounceDHTRequestValidationError) Key() bool
Key function returns key value.
func (AnnounceDHTRequestValidationError) Reason ¶ added in v0.6.2
func (e AnnounceDHTRequestValidationError) Reason() string
Reason function returns reason value.
type AnnounceDHTResponse ¶ added in v0.2.4
type AnnounceDHTResponse struct {
// contains filtered or unexported fields
}
AnnounceDHTResponse is returned by the AnnounceDHT RPC.
func (*AnnounceDHTResponse) DeepCopy ¶ added in v0.6.2
func (in *AnnounceDHTResponse) DeepCopy() *AnnounceDHTResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnounceDHTResponse. Required by controller-gen.
func (*AnnounceDHTResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *AnnounceDHTResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AnnounceDHTResponse. Required by controller-gen.
func (*AnnounceDHTResponse) DeepCopyInto ¶ added in v0.6.2
func (in *AnnounceDHTResponse) DeepCopyInto(out *AnnounceDHTResponse)
DeepCopyInto supports using AnnounceDHTResponse within kubernetes types, where deepcopy-gen is used.
func (*AnnounceDHTResponse) Descriptor
deprecated
added in
v0.2.4
func (*AnnounceDHTResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnnounceDHTResponse.ProtoReflect.Descriptor instead.
func (*AnnounceDHTResponse) ProtoMessage ¶ added in v0.2.4
func (*AnnounceDHTResponse) ProtoMessage()
func (*AnnounceDHTResponse) ProtoReflect ¶ added in v0.2.4
func (x *AnnounceDHTResponse) ProtoReflect() protoreflect.Message
func (*AnnounceDHTResponse) Reset ¶ added in v0.2.4
func (x *AnnounceDHTResponse) Reset()
func (*AnnounceDHTResponse) String ¶ added in v0.2.4
func (x *AnnounceDHTResponse) String() string
func (*AnnounceDHTResponse) Validate ¶ added in v0.6.2
func (m *AnnounceDHTResponse) Validate() error
Validate checks the field values on AnnounceDHTResponse 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 (*AnnounceDHTResponse) ValidateAll ¶ added in v0.6.2
func (m *AnnounceDHTResponse) ValidateAll() error
ValidateAll checks the field values on AnnounceDHTResponse 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 AnnounceDHTResponseMultiError, or nil if none found.
type AnnounceDHTResponseMultiError ¶ added in v0.6.2
type AnnounceDHTResponseMultiError []error
AnnounceDHTResponseMultiError is an error wrapping multiple validation errors returned by AnnounceDHTResponse.ValidateAll() if the designated constraints aren't met.
func (AnnounceDHTResponseMultiError) AllErrors ¶ added in v0.6.2
func (m AnnounceDHTResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnnounceDHTResponseMultiError) Error ¶ added in v0.6.2
func (m AnnounceDHTResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnnounceDHTResponseValidationError ¶ added in v0.6.2
type AnnounceDHTResponseValidationError struct {
// contains filtered or unexported fields
}
AnnounceDHTResponseValidationError is the validation error returned by AnnounceDHTResponse.Validate if the designated constraints aren't met.
func (AnnounceDHTResponseValidationError) Cause ¶ added in v0.6.2
func (e AnnounceDHTResponseValidationError) Cause() error
Cause function returns cause value.
func (AnnounceDHTResponseValidationError) Error ¶ added in v0.6.2
func (e AnnounceDHTResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AnnounceDHTResponseValidationError) ErrorName ¶ added in v0.6.2
func (e AnnounceDHTResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AnnounceDHTResponseValidationError) Field ¶ added in v0.6.2
func (e AnnounceDHTResponseValidationError) Field() string
Field function returns field value.
func (AnnounceDHTResponseValidationError) Key ¶ added in v0.6.2
func (e AnnounceDHTResponseValidationError) Key() bool
Key function returns key value.
func (AnnounceDHTResponseValidationError) Reason ¶ added in v0.6.2
func (e AnnounceDHTResponseValidationError) Reason() string
Reason function returns reason value.
type AppDaemonClient ¶ added in v0.2.2
type AppDaemonClient interface { // Connect is used to establish a connection between the node and a // mesh. The provided struct is used to override any defaults configured // on the node. Connect(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (*ConnectResponse, error) // Disconnect is used to disconnect the node from the mesh. Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*DisconnectResponse, error) // Query is used to query the mesh for information. Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (AppDaemon_QueryClient, error) // Metrics is used to retrieve interface metrics from the node. Metrics(ctx context.Context, in *MetricsRequest, opts ...grpc.CallOption) (*MetricsResponse, error) // Status is used to retrieve the status of the node. Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) // Subscribe is used to subscribe to events in the mesh database. Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (AppDaemon_SubscribeClient, error) // Publish is used to publish events to the mesh database. A restricted set // of keys are allowed to be published to. Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error) // AnnounceDHT is used to announce the node's presence on the Kademlia DHT // for other nodes to discover. AnnounceDHT(ctx context.Context, in *AnnounceDHTRequest, opts ...grpc.CallOption) (*AnnounceDHTResponse, error) // LeaveDHT is used to leave the Kademlia DHT. LeaveDHT(ctx context.Context, in *LeaveDHTRequest, opts ...grpc.CallOption) (*LeaveDHTResponse, error) }
AppDaemonClient is the client API for AppDaemon service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAppDaemonClient ¶ added in v0.2.2
func NewAppDaemonClient(cc grpc.ClientConnInterface) AppDaemonClient
type AppDaemonServer ¶ added in v0.2.2
type AppDaemonServer interface { // Connect is used to establish a connection between the node and a // mesh. The provided struct is used to override any defaults configured // on the node. Connect(context.Context, *ConnectRequest) (*ConnectResponse, error) // Disconnect is used to disconnect the node from the mesh. Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error) // Query is used to query the mesh for information. Query(*QueryRequest, AppDaemon_QueryServer) error // Metrics is used to retrieve interface metrics from the node. Metrics(context.Context, *MetricsRequest) (*MetricsResponse, error) // Status is used to retrieve the status of the node. Status(context.Context, *StatusRequest) (*StatusResponse, error) // Subscribe is used to subscribe to events in the mesh database. Subscribe(*SubscribeRequest, AppDaemon_SubscribeServer) error // Publish is used to publish events to the mesh database. A restricted set // of keys are allowed to be published to. Publish(context.Context, *PublishRequest) (*PublishResponse, error) // AnnounceDHT is used to announce the node's presence on the Kademlia DHT // for other nodes to discover. AnnounceDHT(context.Context, *AnnounceDHTRequest) (*AnnounceDHTResponse, error) // LeaveDHT is used to leave the Kademlia DHT. LeaveDHT(context.Context, *LeaveDHTRequest) (*LeaveDHTResponse, error) // contains filtered or unexported methods }
AppDaemonServer is the server API for AppDaemon service. All implementations must embed UnimplementedAppDaemonServer for forward compatibility
type AppDaemon_QueryClient ¶ added in v0.2.2
type AppDaemon_QueryClient interface { Recv() (*QueryResponse, error) grpc.ClientStream }
type AppDaemon_QueryServer ¶ added in v0.2.2
type AppDaemon_QueryServer interface { Send(*QueryResponse) error grpc.ServerStream }
type AppDaemon_SubscribeClient ¶ added in v0.2.2
type AppDaemon_SubscribeClient interface { Recv() (*SubscriptionEvent, error) grpc.ClientStream }
type AppDaemon_SubscribeServer ¶ added in v0.2.2
type AppDaemon_SubscribeServer interface { Send(*SubscriptionEvent) error grpc.ServerStream }
type AuthPluginClient ¶ added in v0.1.4
type AuthPluginClient interface { // Authenticate authenticates a request. Authenticate(ctx context.Context, in *AuthenticationRequest, opts ...grpc.CallOption) (*AuthenticationResponse, error) }
AuthPluginClient is the client API for AuthPlugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthPluginClient ¶ added in v0.1.4
func NewAuthPluginClient(cc grpc.ClientConnInterface) AuthPluginClient
type AuthPluginServer ¶ added in v0.1.4
type AuthPluginServer interface { // Authenticate authenticates a request. Authenticate(context.Context, *AuthenticationRequest) (*AuthenticationResponse, error) // contains filtered or unexported methods }
AuthPluginServer is the server API for AuthPlugin service. All implementations must embed UnimplementedAuthPluginServer for forward compatibility
type AuthenticationRequest ¶
type AuthenticationRequest struct { // headers are the headers of the request. Headers map[string]string `` /* 155-byte string literal not displayed */ // certificates are the DER encoded certificates of the request. Certificates [][]byte `protobuf:"bytes,2,rep,name=certificates,proto3" json:"certificates,omitempty"` // contains filtered or unexported fields }
AuthenticationRequest is the message containing an authentication request.
func (*AuthenticationRequest) DeepCopy ¶ added in v0.6.2
func (in *AuthenticationRequest) DeepCopy() *AuthenticationRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationRequest. Required by controller-gen.
func (*AuthenticationRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *AuthenticationRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationRequest. Required by controller-gen.
func (*AuthenticationRequest) DeepCopyInto ¶ added in v0.6.2
func (in *AuthenticationRequest) DeepCopyInto(out *AuthenticationRequest)
DeepCopyInto supports using AuthenticationRequest within kubernetes types, where deepcopy-gen is used.
func (*AuthenticationRequest) Descriptor
deprecated
func (*AuthenticationRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticationRequest.ProtoReflect.Descriptor instead.
func (*AuthenticationRequest) GetCertificates ¶
func (x *AuthenticationRequest) GetCertificates() [][]byte
func (*AuthenticationRequest) GetHeaders ¶
func (x *AuthenticationRequest) GetHeaders() map[string]string
func (*AuthenticationRequest) ProtoMessage ¶
func (*AuthenticationRequest) ProtoMessage()
func (*AuthenticationRequest) ProtoReflect ¶
func (x *AuthenticationRequest) ProtoReflect() protoreflect.Message
func (*AuthenticationRequest) Reset ¶
func (x *AuthenticationRequest) Reset()
func (*AuthenticationRequest) String ¶
func (x *AuthenticationRequest) String() string
func (*AuthenticationRequest) Validate ¶ added in v0.6.2
func (m *AuthenticationRequest) Validate() error
Validate checks the field values on AuthenticationRequest 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 (*AuthenticationRequest) ValidateAll ¶ added in v0.6.2
func (m *AuthenticationRequest) ValidateAll() error
ValidateAll checks the field values on AuthenticationRequest 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 AuthenticationRequestMultiError, or nil if none found.
type AuthenticationRequestMultiError ¶ added in v0.6.2
type AuthenticationRequestMultiError []error
AuthenticationRequestMultiError is an error wrapping multiple validation errors returned by AuthenticationRequest.ValidateAll() if the designated constraints aren't met.
func (AuthenticationRequestMultiError) AllErrors ¶ added in v0.6.2
func (m AuthenticationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthenticationRequestMultiError) Error ¶ added in v0.6.2
func (m AuthenticationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthenticationRequestValidationError ¶ added in v0.6.2
type AuthenticationRequestValidationError struct {
// contains filtered or unexported fields
}
AuthenticationRequestValidationError is the validation error returned by AuthenticationRequest.Validate if the designated constraints aren't met.
func (AuthenticationRequestValidationError) Cause ¶ added in v0.6.2
func (e AuthenticationRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthenticationRequestValidationError) Error ¶ added in v0.6.2
func (e AuthenticationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthenticationRequestValidationError) ErrorName ¶ added in v0.6.2
func (e AuthenticationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthenticationRequestValidationError) Field ¶ added in v0.6.2
func (e AuthenticationRequestValidationError) Field() string
Field function returns field value.
func (AuthenticationRequestValidationError) Key ¶ added in v0.6.2
func (e AuthenticationRequestValidationError) Key() bool
Key function returns key value.
func (AuthenticationRequestValidationError) Reason ¶ added in v0.6.2
func (e AuthenticationRequestValidationError) Reason() string
Reason function returns reason value.
type AuthenticationResponse ¶
type AuthenticationResponse struct { // id is the id of the authenticated user. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
AuthenticationResponse is the message containing an authentication response.
func (*AuthenticationResponse) DeepCopy ¶ added in v0.6.2
func (in *AuthenticationResponse) DeepCopy() *AuthenticationResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationResponse. Required by controller-gen.
func (*AuthenticationResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *AuthenticationResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationResponse. Required by controller-gen.
func (*AuthenticationResponse) DeepCopyInto ¶ added in v0.6.2
func (in *AuthenticationResponse) DeepCopyInto(out *AuthenticationResponse)
DeepCopyInto supports using AuthenticationResponse within kubernetes types, where deepcopy-gen is used.
func (*AuthenticationResponse) Descriptor
deprecated
func (*AuthenticationResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticationResponse.ProtoReflect.Descriptor instead.
func (*AuthenticationResponse) GetId ¶
func (x *AuthenticationResponse) GetId() string
func (*AuthenticationResponse) ProtoMessage ¶
func (*AuthenticationResponse) ProtoMessage()
func (*AuthenticationResponse) ProtoReflect ¶
func (x *AuthenticationResponse) ProtoReflect() protoreflect.Message
func (*AuthenticationResponse) Reset ¶
func (x *AuthenticationResponse) Reset()
func (*AuthenticationResponse) String ¶
func (x *AuthenticationResponse) String() string
func (*AuthenticationResponse) Validate ¶ added in v0.6.2
func (m *AuthenticationResponse) Validate() error
Validate checks the field values on AuthenticationResponse 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 (*AuthenticationResponse) ValidateAll ¶ added in v0.6.2
func (m *AuthenticationResponse) ValidateAll() error
ValidateAll checks the field values on AuthenticationResponse 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 AuthenticationResponseMultiError, or nil if none found.
type AuthenticationResponseMultiError ¶ added in v0.6.2
type AuthenticationResponseMultiError []error
AuthenticationResponseMultiError is an error wrapping multiple validation errors returned by AuthenticationResponse.ValidateAll() if the designated constraints aren't met.
func (AuthenticationResponseMultiError) AllErrors ¶ added in v0.6.2
func (m AuthenticationResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthenticationResponseMultiError) Error ¶ added in v0.6.2
func (m AuthenticationResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthenticationResponseValidationError ¶ added in v0.6.2
type AuthenticationResponseValidationError struct {
// contains filtered or unexported fields
}
AuthenticationResponseValidationError is the validation error returned by AuthenticationResponse.Validate if the designated constraints aren't met.
func (AuthenticationResponseValidationError) Cause ¶ added in v0.6.2
func (e AuthenticationResponseValidationError) Cause() error
Cause function returns cause value.
func (AuthenticationResponseValidationError) Error ¶ added in v0.6.2
func (e AuthenticationResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AuthenticationResponseValidationError) ErrorName ¶ added in v0.6.2
func (e AuthenticationResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AuthenticationResponseValidationError) Field ¶ added in v0.6.2
func (e AuthenticationResponseValidationError) Field() string
Field function returns field value.
func (AuthenticationResponseValidationError) Key ¶ added in v0.6.2
func (e AuthenticationResponseValidationError) Key() bool
Key function returns key value.
func (AuthenticationResponseValidationError) Reason ¶ added in v0.6.2
func (e AuthenticationResponseValidationError) Reason() string
Reason function returns reason value.
type BootstrapRequest ¶ added in v0.4.0
type BootstrapRequest struct {
// contains filtered or unexported fields
}
BootstrapRequest is the request object for the Bootstrap RPC.
func (*BootstrapRequest) DeepCopy ¶ added in v0.6.2
func (in *BootstrapRequest) DeepCopy() *BootstrapRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapRequest. Required by controller-gen.
func (*BootstrapRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *BootstrapRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapRequest. Required by controller-gen.
func (*BootstrapRequest) DeepCopyInto ¶ added in v0.6.2
func (in *BootstrapRequest) DeepCopyInto(out *BootstrapRequest)
DeepCopyInto supports using BootstrapRequest within kubernetes types, where deepcopy-gen is used.
func (*BootstrapRequest) Descriptor
deprecated
added in
v0.4.0
func (*BootstrapRequest) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapRequest.ProtoReflect.Descriptor instead.
func (*BootstrapRequest) ProtoMessage ¶ added in v0.4.0
func (*BootstrapRequest) ProtoMessage()
func (*BootstrapRequest) ProtoReflect ¶ added in v0.4.0
func (x *BootstrapRequest) ProtoReflect() protoreflect.Message
func (*BootstrapRequest) Reset ¶ added in v0.4.0
func (x *BootstrapRequest) Reset()
func (*BootstrapRequest) String ¶ added in v0.4.0
func (x *BootstrapRequest) String() string
func (*BootstrapRequest) Validate ¶ added in v0.6.2
func (m *BootstrapRequest) Validate() error
Validate checks the field values on BootstrapRequest 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 (*BootstrapRequest) ValidateAll ¶ added in v0.6.2
func (m *BootstrapRequest) ValidateAll() error
ValidateAll checks the field values on BootstrapRequest 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 BootstrapRequestMultiError, or nil if none found.
type BootstrapRequestMultiError ¶ added in v0.6.2
type BootstrapRequestMultiError []error
BootstrapRequestMultiError is an error wrapping multiple validation errors returned by BootstrapRequest.ValidateAll() if the designated constraints aren't met.
func (BootstrapRequestMultiError) AllErrors ¶ added in v0.6.2
func (m BootstrapRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BootstrapRequestMultiError) Error ¶ added in v0.6.2
func (m BootstrapRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BootstrapRequestValidationError ¶ added in v0.6.2
type BootstrapRequestValidationError struct {
// contains filtered or unexported fields
}
BootstrapRequestValidationError is the validation error returned by BootstrapRequest.Validate if the designated constraints aren't met.
func (BootstrapRequestValidationError) Cause ¶ added in v0.6.2
func (e BootstrapRequestValidationError) Cause() error
Cause function returns cause value.
func (BootstrapRequestValidationError) Error ¶ added in v0.6.2
func (e BootstrapRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BootstrapRequestValidationError) ErrorName ¶ added in v0.6.2
func (e BootstrapRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BootstrapRequestValidationError) Field ¶ added in v0.6.2
func (e BootstrapRequestValidationError) Field() string
Field function returns field value.
func (BootstrapRequestValidationError) Key ¶ added in v0.6.2
func (e BootstrapRequestValidationError) Key() bool
Key function returns key value.
func (BootstrapRequestValidationError) Reason ¶ added in v0.6.2
func (e BootstrapRequestValidationError) Reason() string
Reason function returns reason value.
type BootstrapResponse ¶ added in v0.4.0
type BootstrapResponse struct { // Status is the status of the storage after the bootstrap. Status *StorageStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
BootstrapResponse is the response object for the Bootstrap RPC.
func (*BootstrapResponse) DeepCopy ¶ added in v0.6.2
func (in *BootstrapResponse) DeepCopy() *BootstrapResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapResponse. Required by controller-gen.
func (*BootstrapResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *BootstrapResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapResponse. Required by controller-gen.
func (*BootstrapResponse) DeepCopyInto ¶ added in v0.6.2
func (in *BootstrapResponse) DeepCopyInto(out *BootstrapResponse)
DeepCopyInto supports using BootstrapResponse within kubernetes types, where deepcopy-gen is used.
func (*BootstrapResponse) Descriptor
deprecated
added in
v0.4.0
func (*BootstrapResponse) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapResponse.ProtoReflect.Descriptor instead.
func (*BootstrapResponse) GetStatus ¶ added in v0.4.0
func (x *BootstrapResponse) GetStatus() *StorageStatus
func (*BootstrapResponse) ProtoMessage ¶ added in v0.4.0
func (*BootstrapResponse) ProtoMessage()
func (*BootstrapResponse) ProtoReflect ¶ added in v0.4.0
func (x *BootstrapResponse) ProtoReflect() protoreflect.Message
func (*BootstrapResponse) Reset ¶ added in v0.4.0
func (x *BootstrapResponse) Reset()
func (*BootstrapResponse) String ¶ added in v0.4.0
func (x *BootstrapResponse) String() string
func (*BootstrapResponse) Validate ¶ added in v0.6.2
func (m *BootstrapResponse) Validate() error
Validate checks the field values on BootstrapResponse 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 (*BootstrapResponse) ValidateAll ¶ added in v0.6.2
func (m *BootstrapResponse) ValidateAll() error
ValidateAll checks the field values on BootstrapResponse 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 BootstrapResponseMultiError, or nil if none found.
type BootstrapResponseMultiError ¶ added in v0.6.2
type BootstrapResponseMultiError []error
BootstrapResponseMultiError is an error wrapping multiple validation errors returned by BootstrapResponse.ValidateAll() if the designated constraints aren't met.
func (BootstrapResponseMultiError) AllErrors ¶ added in v0.6.2
func (m BootstrapResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BootstrapResponseMultiError) Error ¶ added in v0.6.2
func (m BootstrapResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BootstrapResponseValidationError ¶ added in v0.6.2
type BootstrapResponseValidationError struct {
// contains filtered or unexported fields
}
BootstrapResponseValidationError is the validation error returned by BootstrapResponse.Validate if the designated constraints aren't met.
func (BootstrapResponseValidationError) Cause ¶ added in v0.6.2
func (e BootstrapResponseValidationError) Cause() error
Cause function returns cause value.
func (BootstrapResponseValidationError) Error ¶ added in v0.6.2
func (e BootstrapResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BootstrapResponseValidationError) ErrorName ¶ added in v0.6.2
func (e BootstrapResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BootstrapResponseValidationError) Field ¶ added in v0.6.2
func (e BootstrapResponseValidationError) Field() string
Field function returns field value.
func (BootstrapResponseValidationError) Key ¶ added in v0.6.2
func (e BootstrapResponseValidationError) Key() bool
Key function returns key value.
func (BootstrapResponseValidationError) Reason ¶ added in v0.6.2
func (e BootstrapResponseValidationError) Reason() string
Reason function returns reason value.
type ClusterStatus ¶
type ClusterStatus int32
ClusterStatus is the status of the node in the cluster.
const ( // CLUSTER_STATUS_UNKNOWN is the default status. ClusterStatus_CLUSTER_STATUS_UNKNOWN ClusterStatus = 0 // CLUSTER_LEADER is the status for the leader node. ClusterStatus_CLUSTER_LEADER ClusterStatus = 1 // CLUSTER_VOTER is the status for a voter node. ClusterStatus_CLUSTER_VOTER ClusterStatus = 2 // CLUSTER_OBSERVER is the status for a non-voter node. ClusterStatus_CLUSTER_OBSERVER ClusterStatus = 3 // CLUSTER_NODE is the status of a node that is not a part of the storage consensus. ClusterStatus_CLUSTER_NODE ClusterStatus = 4 )
func (ClusterStatus) Descriptor ¶
func (ClusterStatus) Descriptor() protoreflect.EnumDescriptor
func (ClusterStatus) Enum ¶
func (x ClusterStatus) Enum() *ClusterStatus
func (ClusterStatus) EnumDescriptor
deprecated
func (ClusterStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterStatus.Descriptor instead.
func (ClusterStatus) Number ¶
func (x ClusterStatus) Number() protoreflect.EnumNumber
func (ClusterStatus) String ¶
func (x ClusterStatus) String() string
func (ClusterStatus) Type ¶
func (ClusterStatus) Type() protoreflect.EnumType
type ConnectProtocol ¶ added in v0.4.0
type ConnectProtocol int32
ConnectProtocol is a type of protocol for establishing a connection into a mesh.
const ( // CONNECT_NATIVE indicates that the node should connect to other nodes via the native // webmesh mechanisms. ConnectProtocol_CONNECT_NATIVE ConnectProtocol = 0 // CONNECT_ICE indicates that the node should connect to other nodes via ICE. ConnectProtocol_CONNECT_ICE ConnectProtocol = 1 // CONNECT_LIBP2P indicates that the node should connect to other nodes via libp2p. ConnectProtocol_CONNECT_LIBP2P ConnectProtocol = 2 )
func (ConnectProtocol) Descriptor ¶ added in v0.4.0
func (ConnectProtocol) Descriptor() protoreflect.EnumDescriptor
func (ConnectProtocol) Enum ¶ added in v0.4.0
func (x ConnectProtocol) Enum() *ConnectProtocol
func (ConnectProtocol) EnumDescriptor
deprecated
added in
v0.4.0
func (ConnectProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectProtocol.Descriptor instead.
func (ConnectProtocol) Number ¶ added in v0.4.0
func (x ConnectProtocol) Number() protoreflect.EnumNumber
func (ConnectProtocol) String ¶ added in v0.4.0
func (x ConnectProtocol) String() string
func (ConnectProtocol) Type ¶ added in v0.4.0
func (ConnectProtocol) Type() protoreflect.EnumType
type ConnectRequest ¶ added in v0.2.2
type ConnectRequest struct { // Config is used to override any defaults configured on the node. Config *structpb.Struct `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Disable bootstrap tells a node that is otherwise configured to // bootstrap to not bootstrap for this connection. DisableBootstrap bool `protobuf:"varint,2,opt,name=disable_bootstrap,json=disableBootstrap,proto3" json:"disable_bootstrap,omitempty"` // Join PSK is the pre-shared key to use for joining the mesh. JoinPsk string `protobuf:"bytes,3,opt,name=join_psk,json=joinPsk,proto3" json:"join_psk,omitempty"` // contains filtered or unexported fields }
ConnectRequest is sent by the application to the node to establish a connection to a mesh. This message will eventually contain unique identifiers to allow creating connections to multiple meshes.
func (*ConnectRequest) DeepCopy ¶ added in v0.6.2
func (in *ConnectRequest) DeepCopy() *ConnectRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectRequest. Required by controller-gen.
func (*ConnectRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *ConnectRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ConnectRequest. Required by controller-gen.
func (*ConnectRequest) DeepCopyInto ¶ added in v0.6.2
func (in *ConnectRequest) DeepCopyInto(out *ConnectRequest)
DeepCopyInto supports using ConnectRequest within kubernetes types, where deepcopy-gen is used.
func (*ConnectRequest) Descriptor
deprecated
added in
v0.2.2
func (*ConnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead.
func (*ConnectRequest) GetConfig ¶ added in v0.2.2
func (x *ConnectRequest) GetConfig() *structpb.Struct
func (*ConnectRequest) GetDisableBootstrap ¶ added in v0.2.2
func (x *ConnectRequest) GetDisableBootstrap() bool
func (*ConnectRequest) GetJoinPsk ¶ added in v0.2.4
func (x *ConnectRequest) GetJoinPsk() string
func (*ConnectRequest) ProtoMessage ¶ added in v0.2.2
func (*ConnectRequest) ProtoMessage()
func (*ConnectRequest) ProtoReflect ¶ added in v0.2.2
func (x *ConnectRequest) ProtoReflect() protoreflect.Message
func (*ConnectRequest) Reset ¶ added in v0.2.2
func (x *ConnectRequest) Reset()
func (*ConnectRequest) String ¶ added in v0.2.2
func (x *ConnectRequest) String() string
func (*ConnectRequest) Validate ¶ added in v0.6.2
func (m *ConnectRequest) Validate() error
Validate checks the field values on ConnectRequest 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 (*ConnectRequest) ValidateAll ¶ added in v0.6.2
func (m *ConnectRequest) ValidateAll() error
ValidateAll checks the field values on ConnectRequest 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 ConnectRequestMultiError, or nil if none found.
type ConnectRequestMultiError ¶ added in v0.6.2
type ConnectRequestMultiError []error
ConnectRequestMultiError is an error wrapping multiple validation errors returned by ConnectRequest.ValidateAll() if the designated constraints aren't met.
func (ConnectRequestMultiError) AllErrors ¶ added in v0.6.2
func (m ConnectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConnectRequestMultiError) Error ¶ added in v0.6.2
func (m ConnectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConnectRequestValidationError ¶ added in v0.6.2
type ConnectRequestValidationError struct {
// contains filtered or unexported fields
}
ConnectRequestValidationError is the validation error returned by ConnectRequest.Validate if the designated constraints aren't met.
func (ConnectRequestValidationError) Cause ¶ added in v0.6.2
func (e ConnectRequestValidationError) Cause() error
Cause function returns cause value.
func (ConnectRequestValidationError) Error ¶ added in v0.6.2
func (e ConnectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ConnectRequestValidationError) ErrorName ¶ added in v0.6.2
func (e ConnectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ConnectRequestValidationError) Field ¶ added in v0.6.2
func (e ConnectRequestValidationError) Field() string
Field function returns field value.
func (ConnectRequestValidationError) Key ¶ added in v0.6.2
func (e ConnectRequestValidationError) Key() bool
Key function returns key value.
func (ConnectRequestValidationError) Reason ¶ added in v0.6.2
func (e ConnectRequestValidationError) Reason() string
Reason function returns reason value.
type ConnectResponse ¶ added in v0.2.2
type ConnectResponse struct { // node id is the unique identifier of the node. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // mesh domain is the domain of the mesh. MeshDomain string `protobuf:"bytes,2,opt,name=mesh_domain,json=meshDomain,proto3" json:"mesh_domain,omitempty"` // ipv4 is the IPv4 address of the node. Ipv4 string `protobuf:"bytes,3,opt,name=ipv4,proto3" json:"ipv4,omitempty"` // ipv6 is the IPv6 address of the node. Ipv6 string `protobuf:"bytes,4,opt,name=ipv6,proto3" json:"ipv6,omitempty"` // contains filtered or unexported fields }
ConnectResponse is returned by the Connect RPC.
func (*ConnectResponse) DeepCopy ¶ added in v0.6.2
func (in *ConnectResponse) DeepCopy() *ConnectResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectResponse. Required by controller-gen.
func (*ConnectResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *ConnectResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ConnectResponse. Required by controller-gen.
func (*ConnectResponse) DeepCopyInto ¶ added in v0.6.2
func (in *ConnectResponse) DeepCopyInto(out *ConnectResponse)
DeepCopyInto supports using ConnectResponse within kubernetes types, where deepcopy-gen is used.
func (*ConnectResponse) Descriptor
deprecated
added in
v0.2.2
func (*ConnectResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConnectResponse.ProtoReflect.Descriptor instead.
func (*ConnectResponse) GetIpv4 ¶ added in v0.2.2
func (x *ConnectResponse) GetIpv4() string
func (*ConnectResponse) GetIpv6 ¶ added in v0.2.2
func (x *ConnectResponse) GetIpv6() string
func (*ConnectResponse) GetMeshDomain ¶ added in v0.2.2
func (x *ConnectResponse) GetMeshDomain() string
func (*ConnectResponse) GetNodeId ¶ added in v0.2.2
func (x *ConnectResponse) GetNodeId() string
func (*ConnectResponse) ProtoMessage ¶ added in v0.2.2
func (*ConnectResponse) ProtoMessage()
func (*ConnectResponse) ProtoReflect ¶ added in v0.2.2
func (x *ConnectResponse) ProtoReflect() protoreflect.Message
func (*ConnectResponse) Reset ¶ added in v0.2.2
func (x *ConnectResponse) Reset()
func (*ConnectResponse) String ¶ added in v0.2.2
func (x *ConnectResponse) String() string
func (*ConnectResponse) Validate ¶ added in v0.6.2
func (m *ConnectResponse) Validate() error
Validate checks the field values on ConnectResponse 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 (*ConnectResponse) ValidateAll ¶ added in v0.6.2
func (m *ConnectResponse) ValidateAll() error
ValidateAll checks the field values on ConnectResponse 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 ConnectResponseMultiError, or nil if none found.
type ConnectResponseMultiError ¶ added in v0.6.2
type ConnectResponseMultiError []error
ConnectResponseMultiError is an error wrapping multiple validation errors returned by ConnectResponse.ValidateAll() if the designated constraints aren't met.
func (ConnectResponseMultiError) AllErrors ¶ added in v0.6.2
func (m ConnectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConnectResponseMultiError) Error ¶ added in v0.6.2
func (m ConnectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConnectResponseValidationError ¶ added in v0.6.2
type ConnectResponseValidationError struct {
// contains filtered or unexported fields
}
ConnectResponseValidationError is the validation error returned by ConnectResponse.Validate if the designated constraints aren't met.
func (ConnectResponseValidationError) Cause ¶ added in v0.6.2
func (e ConnectResponseValidationError) Cause() error
Cause function returns cause value.
func (ConnectResponseValidationError) Error ¶ added in v0.6.2
func (e ConnectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ConnectResponseValidationError) ErrorName ¶ added in v0.6.2
func (e ConnectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ConnectResponseValidationError) Field ¶ added in v0.6.2
func (e ConnectResponseValidationError) Field() string
Field function returns field value.
func (ConnectResponseValidationError) Key ¶ added in v0.6.2
func (e ConnectResponseValidationError) Key() bool
Key function returns key value.
func (ConnectResponseValidationError) Reason ¶ added in v0.6.2
func (e ConnectResponseValidationError) Reason() string
Reason function returns reason value.
type DataChannel ¶
type DataChannel int32
DataChannel are the data channels used when communicating over ICE with a node.
const ( // CHANNELS is the data channel used for negotiating new channels. // This is the first channel that is opened. The ID of the channel // should be 0. DataChannel_CHANNELS DataChannel = 0 // CONNECTIONS is the data channel used for negotiating new connections. // This is a channel that is opened for each incoming connection from a // client. The ID should start at 0 and be incremented for each new connection. DataChannel_CONNECTIONS DataChannel = 1 )
func (DataChannel) Descriptor ¶
func (DataChannel) Descriptor() protoreflect.EnumDescriptor
func (DataChannel) Enum ¶
func (x DataChannel) Enum() *DataChannel
func (DataChannel) EnumDescriptor
deprecated
func (DataChannel) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataChannel.Descriptor instead.
func (DataChannel) Number ¶
func (x DataChannel) Number() protoreflect.EnumNumber
func (DataChannel) String ¶
func (x DataChannel) String() string
func (DataChannel) Type ¶
func (DataChannel) Type() protoreflect.EnumType
type DataChannelNegotiation ¶
type DataChannelNegotiation struct { // proto is the protocol of the traffic. Proto string `protobuf:"bytes,1,opt,name=proto,proto3" json:"proto,omitempty"` // src is the address of the client that initiated the request. Src string `protobuf:"bytes,2,opt,name=src,proto3" json:"src,omitempty"` // dst is the destination address of the traffic. Dst string `protobuf:"bytes,3,opt,name=dst,proto3" json:"dst,omitempty"` // port is the destination port of the traffic. Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` // offer is the offer for the node to use as its local description. Offer string `protobuf:"bytes,5,opt,name=offer,proto3" json:"offer,omitempty"` // answer is the answer for the node to use as its remote description. Answer string `protobuf:"bytes,6,opt,name=answer,proto3" json:"answer,omitempty"` // candidate is an ICE candidate. Candidate string `protobuf:"bytes,7,opt,name=candidate,proto3" json:"candidate,omitempty"` // stun_servers is the list of STUN servers to use. StunServers []string `protobuf:"bytes,8,rep,name=stun_servers,json=stunServers,proto3" json:"stun_servers,omitempty"` // contains filtered or unexported fields }
DataChannelNegotiation is the message for communicating data channels to nodes.
func (*DataChannelNegotiation) DeepCopy ¶ added in v0.6.2
func (in *DataChannelNegotiation) DeepCopy() *DataChannelNegotiation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataChannelNegotiation. Required by controller-gen.
func (*DataChannelNegotiation) DeepCopyInterface ¶ added in v0.6.2
func (in *DataChannelNegotiation) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DataChannelNegotiation. Required by controller-gen.
func (*DataChannelNegotiation) DeepCopyInto ¶ added in v0.6.2
func (in *DataChannelNegotiation) DeepCopyInto(out *DataChannelNegotiation)
DeepCopyInto supports using DataChannelNegotiation within kubernetes types, where deepcopy-gen is used.
func (*DataChannelNegotiation) Descriptor
deprecated
func (*DataChannelNegotiation) Descriptor() ([]byte, []int)
Deprecated: Use DataChannelNegotiation.ProtoReflect.Descriptor instead.
func (*DataChannelNegotiation) GetAnswer ¶
func (x *DataChannelNegotiation) GetAnswer() string
func (*DataChannelNegotiation) GetCandidate ¶
func (x *DataChannelNegotiation) GetCandidate() string
func (*DataChannelNegotiation) GetDst ¶
func (x *DataChannelNegotiation) GetDst() string
func (*DataChannelNegotiation) GetOffer ¶
func (x *DataChannelNegotiation) GetOffer() string
func (*DataChannelNegotiation) GetPort ¶
func (x *DataChannelNegotiation) GetPort() uint32
func (*DataChannelNegotiation) GetProto ¶
func (x *DataChannelNegotiation) GetProto() string
func (*DataChannelNegotiation) GetSrc ¶
func (x *DataChannelNegotiation) GetSrc() string
func (*DataChannelNegotiation) GetStunServers ¶
func (x *DataChannelNegotiation) GetStunServers() []string
func (*DataChannelNegotiation) ProtoMessage ¶
func (*DataChannelNegotiation) ProtoMessage()
func (*DataChannelNegotiation) ProtoReflect ¶
func (x *DataChannelNegotiation) ProtoReflect() protoreflect.Message
func (*DataChannelNegotiation) Reset ¶
func (x *DataChannelNegotiation) Reset()
func (*DataChannelNegotiation) String ¶
func (x *DataChannelNegotiation) String() string
func (*DataChannelNegotiation) Validate ¶ added in v0.6.2
func (m *DataChannelNegotiation) Validate() error
Validate checks the field values on DataChannelNegotiation 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 (*DataChannelNegotiation) ValidateAll ¶ added in v0.6.2
func (m *DataChannelNegotiation) ValidateAll() error
ValidateAll checks the field values on DataChannelNegotiation 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 DataChannelNegotiationMultiError, or nil if none found.
type DataChannelNegotiationMultiError ¶ added in v0.6.2
type DataChannelNegotiationMultiError []error
DataChannelNegotiationMultiError is an error wrapping multiple validation errors returned by DataChannelNegotiation.ValidateAll() if the designated constraints aren't met.
func (DataChannelNegotiationMultiError) AllErrors ¶ added in v0.6.2
func (m DataChannelNegotiationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DataChannelNegotiationMultiError) Error ¶ added in v0.6.2
func (m DataChannelNegotiationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DataChannelNegotiationValidationError ¶ added in v0.6.2
type DataChannelNegotiationValidationError struct {
// contains filtered or unexported fields
}
DataChannelNegotiationValidationError is the validation error returned by DataChannelNegotiation.Validate if the designated constraints aren't met.
func (DataChannelNegotiationValidationError) Cause ¶ added in v0.6.2
func (e DataChannelNegotiationValidationError) Cause() error
Cause function returns cause value.
func (DataChannelNegotiationValidationError) Error ¶ added in v0.6.2
func (e DataChannelNegotiationValidationError) Error() string
Error satisfies the builtin error interface
func (DataChannelNegotiationValidationError) ErrorName ¶ added in v0.6.2
func (e DataChannelNegotiationValidationError) ErrorName() string
ErrorName returns error name.
func (DataChannelNegotiationValidationError) Field ¶ added in v0.6.2
func (e DataChannelNegotiationValidationError) Field() string
Field function returns field value.
func (DataChannelNegotiationValidationError) Key ¶ added in v0.6.2
func (e DataChannelNegotiationValidationError) Key() bool
Key function returns key value.
func (DataChannelNegotiationValidationError) Reason ¶ added in v0.6.2
func (e DataChannelNegotiationValidationError) Reason() string
Reason function returns reason value.
type DataChannelOffer ¶
type DataChannelOffer struct { // offer is the offer. Offer string `protobuf:"bytes,1,opt,name=offer,proto3" json:"offer,omitempty"` // stun_servers is the list of STUN servers to use. StunServers []string `protobuf:"bytes,2,rep,name=stun_servers,json=stunServers,proto3" json:"stun_servers,omitempty"` // candidate is an ICE candidate. Candidate string `protobuf:"bytes,3,opt,name=candidate,proto3" json:"candidate,omitempty"` // contains filtered or unexported fields }
DataChannelOffer is an offer for a data channel. Candidates are sent after the offer is sent.
func (*DataChannelOffer) DeepCopy ¶ added in v0.6.2
func (in *DataChannelOffer) DeepCopy() *DataChannelOffer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataChannelOffer. Required by controller-gen.
func (*DataChannelOffer) DeepCopyInterface ¶ added in v0.6.2
func (in *DataChannelOffer) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DataChannelOffer. Required by controller-gen.
func (*DataChannelOffer) DeepCopyInto ¶ added in v0.6.2
func (in *DataChannelOffer) DeepCopyInto(out *DataChannelOffer)
DeepCopyInto supports using DataChannelOffer within kubernetes types, where deepcopy-gen is used.
func (*DataChannelOffer) Descriptor
deprecated
func (*DataChannelOffer) Descriptor() ([]byte, []int)
Deprecated: Use DataChannelOffer.ProtoReflect.Descriptor instead.
func (*DataChannelOffer) GetCandidate ¶
func (x *DataChannelOffer) GetCandidate() string
func (*DataChannelOffer) GetOffer ¶
func (x *DataChannelOffer) GetOffer() string
func (*DataChannelOffer) GetStunServers ¶
func (x *DataChannelOffer) GetStunServers() []string
func (*DataChannelOffer) ProtoMessage ¶
func (*DataChannelOffer) ProtoMessage()
func (*DataChannelOffer) ProtoReflect ¶
func (x *DataChannelOffer) ProtoReflect() protoreflect.Message
func (*DataChannelOffer) Reset ¶
func (x *DataChannelOffer) Reset()
func (*DataChannelOffer) String ¶
func (x *DataChannelOffer) String() string
func (*DataChannelOffer) Validate ¶ added in v0.6.2
func (m *DataChannelOffer) Validate() error
Validate checks the field values on DataChannelOffer 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 (*DataChannelOffer) ValidateAll ¶ added in v0.6.2
func (m *DataChannelOffer) ValidateAll() error
ValidateAll checks the field values on DataChannelOffer 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 DataChannelOfferMultiError, or nil if none found.
type DataChannelOfferMultiError ¶ added in v0.6.2
type DataChannelOfferMultiError []error
DataChannelOfferMultiError is an error wrapping multiple validation errors returned by DataChannelOffer.ValidateAll() if the designated constraints aren't met.
func (DataChannelOfferMultiError) AllErrors ¶ added in v0.6.2
func (m DataChannelOfferMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DataChannelOfferMultiError) Error ¶ added in v0.6.2
func (m DataChannelOfferMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DataChannelOfferValidationError ¶ added in v0.6.2
type DataChannelOfferValidationError struct {
// contains filtered or unexported fields
}
DataChannelOfferValidationError is the validation error returned by DataChannelOffer.Validate if the designated constraints aren't met.
func (DataChannelOfferValidationError) Cause ¶ added in v0.6.2
func (e DataChannelOfferValidationError) Cause() error
Cause function returns cause value.
func (DataChannelOfferValidationError) Error ¶ added in v0.6.2
func (e DataChannelOfferValidationError) Error() string
Error satisfies the builtin error interface
func (DataChannelOfferValidationError) ErrorName ¶ added in v0.6.2
func (e DataChannelOfferValidationError) ErrorName() string
ErrorName returns error name.
func (DataChannelOfferValidationError) Field ¶ added in v0.6.2
func (e DataChannelOfferValidationError) Field() string
Field function returns field value.
func (DataChannelOfferValidationError) Key ¶ added in v0.6.2
func (e DataChannelOfferValidationError) Key() bool
Key function returns key value.
func (DataChannelOfferValidationError) Reason ¶ added in v0.6.2
func (e DataChannelOfferValidationError) Reason() string
Reason function returns reason value.
type DeleteValueRequest ¶ added in v0.4.0
type DeleteValueRequest struct { // Key is the key to delete. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
DeleteValueRequest is the request object for the DeleteValue RPC.
func (*DeleteValueRequest) DeepCopy ¶ added in v0.6.2
func (in *DeleteValueRequest) DeepCopy() *DeleteValueRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteValueRequest. Required by controller-gen.
func (*DeleteValueRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *DeleteValueRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DeleteValueRequest. Required by controller-gen.
func (*DeleteValueRequest) DeepCopyInto ¶ added in v0.6.2
func (in *DeleteValueRequest) DeepCopyInto(out *DeleteValueRequest)
DeepCopyInto supports using DeleteValueRequest within kubernetes types, where deepcopy-gen is used.
func (*DeleteValueRequest) Descriptor
deprecated
added in
v0.4.0
func (*DeleteValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteValueRequest.ProtoReflect.Descriptor instead.
func (*DeleteValueRequest) GetKey ¶ added in v0.4.0
func (x *DeleteValueRequest) GetKey() []byte
func (*DeleteValueRequest) ProtoMessage ¶ added in v0.4.0
func (*DeleteValueRequest) ProtoMessage()
func (*DeleteValueRequest) ProtoReflect ¶ added in v0.4.0
func (x *DeleteValueRequest) ProtoReflect() protoreflect.Message
func (*DeleteValueRequest) Reset ¶ added in v0.4.0
func (x *DeleteValueRequest) Reset()
func (*DeleteValueRequest) String ¶ added in v0.4.0
func (x *DeleteValueRequest) String() string
func (*DeleteValueRequest) Validate ¶ added in v0.6.2
func (m *DeleteValueRequest) Validate() error
Validate checks the field values on DeleteValueRequest 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 (*DeleteValueRequest) ValidateAll ¶ added in v0.6.2
func (m *DeleteValueRequest) ValidateAll() error
ValidateAll checks the field values on DeleteValueRequest 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 DeleteValueRequestMultiError, or nil if none found.
type DeleteValueRequestMultiError ¶ added in v0.6.2
type DeleteValueRequestMultiError []error
DeleteValueRequestMultiError is an error wrapping multiple validation errors returned by DeleteValueRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteValueRequestMultiError) AllErrors ¶ added in v0.6.2
func (m DeleteValueRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteValueRequestMultiError) Error ¶ added in v0.6.2
func (m DeleteValueRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteValueRequestValidationError ¶ added in v0.6.2
type DeleteValueRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteValueRequestValidationError is the validation error returned by DeleteValueRequest.Validate if the designated constraints aren't met.
func (DeleteValueRequestValidationError) Cause ¶ added in v0.6.2
func (e DeleteValueRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteValueRequestValidationError) Error ¶ added in v0.6.2
func (e DeleteValueRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteValueRequestValidationError) ErrorName ¶ added in v0.6.2
func (e DeleteValueRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteValueRequestValidationError) Field ¶ added in v0.6.2
func (e DeleteValueRequestValidationError) Field() string
Field function returns field value.
func (DeleteValueRequestValidationError) Key ¶ added in v0.6.2
func (e DeleteValueRequestValidationError) Key() bool
Key function returns key value.
func (DeleteValueRequestValidationError) Reason ¶ added in v0.6.2
func (e DeleteValueRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteValueResponse ¶ added in v0.4.0
type DeleteValueResponse struct {
// contains filtered or unexported fields
}
DeleteValueResponse is the response object for the DeleteValue RPC.
func (*DeleteValueResponse) DeepCopy ¶ added in v0.6.2
func (in *DeleteValueResponse) DeepCopy() *DeleteValueResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteValueResponse. Required by controller-gen.
func (*DeleteValueResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *DeleteValueResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DeleteValueResponse. Required by controller-gen.
func (*DeleteValueResponse) DeepCopyInto ¶ added in v0.6.2
func (in *DeleteValueResponse) DeepCopyInto(out *DeleteValueResponse)
DeepCopyInto supports using DeleteValueResponse within kubernetes types, where deepcopy-gen is used.
func (*DeleteValueResponse) Descriptor
deprecated
added in
v0.4.0
func (*DeleteValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteValueResponse.ProtoReflect.Descriptor instead.
func (*DeleteValueResponse) ProtoMessage ¶ added in v0.4.0
func (*DeleteValueResponse) ProtoMessage()
func (*DeleteValueResponse) ProtoReflect ¶ added in v0.4.0
func (x *DeleteValueResponse) ProtoReflect() protoreflect.Message
func (*DeleteValueResponse) Reset ¶ added in v0.4.0
func (x *DeleteValueResponse) Reset()
func (*DeleteValueResponse) String ¶ added in v0.4.0
func (x *DeleteValueResponse) String() string
func (*DeleteValueResponse) Validate ¶ added in v0.6.2
func (m *DeleteValueResponse) Validate() error
Validate checks the field values on DeleteValueResponse 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 (*DeleteValueResponse) ValidateAll ¶ added in v0.6.2
func (m *DeleteValueResponse) ValidateAll() error
ValidateAll checks the field values on DeleteValueResponse 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 DeleteValueResponseMultiError, or nil if none found.
type DeleteValueResponseMultiError ¶ added in v0.6.2
type DeleteValueResponseMultiError []error
DeleteValueResponseMultiError is an error wrapping multiple validation errors returned by DeleteValueResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteValueResponseMultiError) AllErrors ¶ added in v0.6.2
func (m DeleteValueResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteValueResponseMultiError) Error ¶ added in v0.6.2
func (m DeleteValueResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteValueResponseValidationError ¶ added in v0.6.2
type DeleteValueResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteValueResponseValidationError is the validation error returned by DeleteValueResponse.Validate if the designated constraints aren't met.
func (DeleteValueResponseValidationError) Cause ¶ added in v0.6.2
func (e DeleteValueResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteValueResponseValidationError) Error ¶ added in v0.6.2
func (e DeleteValueResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteValueResponseValidationError) ErrorName ¶ added in v0.6.2
func (e DeleteValueResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteValueResponseValidationError) Field ¶ added in v0.6.2
func (e DeleteValueResponseValidationError) Field() string
Field function returns field value.
func (DeleteValueResponseValidationError) Key ¶ added in v0.6.2
func (e DeleteValueResponseValidationError) Key() bool
Key function returns key value.
func (DeleteValueResponseValidationError) Reason ¶ added in v0.6.2
func (e DeleteValueResponseValidationError) Reason() string
Reason function returns reason value.
type DemoteVoterResponse ¶ added in v0.4.0
type DemoteVoterResponse struct {
// contains filtered or unexported fields
}
DemoteVoterResponse is the response object for the DemoteVoter RPC.
func (*DemoteVoterResponse) DeepCopy ¶ added in v0.6.2
func (in *DemoteVoterResponse) DeepCopy() *DemoteVoterResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoteVoterResponse. Required by controller-gen.
func (*DemoteVoterResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *DemoteVoterResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DemoteVoterResponse. Required by controller-gen.
func (*DemoteVoterResponse) DeepCopyInto ¶ added in v0.6.2
func (in *DemoteVoterResponse) DeepCopyInto(out *DemoteVoterResponse)
DeepCopyInto supports using DemoteVoterResponse within kubernetes types, where deepcopy-gen is used.
func (*DemoteVoterResponse) Descriptor
deprecated
added in
v0.4.0
func (*DemoteVoterResponse) Descriptor() ([]byte, []int)
Deprecated: Use DemoteVoterResponse.ProtoReflect.Descriptor instead.
func (*DemoteVoterResponse) ProtoMessage ¶ added in v0.4.0
func (*DemoteVoterResponse) ProtoMessage()
func (*DemoteVoterResponse) ProtoReflect ¶ added in v0.4.0
func (x *DemoteVoterResponse) ProtoReflect() protoreflect.Message
func (*DemoteVoterResponse) Reset ¶ added in v0.4.0
func (x *DemoteVoterResponse) Reset()
func (*DemoteVoterResponse) String ¶ added in v0.4.0
func (x *DemoteVoterResponse) String() string
func (*DemoteVoterResponse) Validate ¶ added in v0.6.2
func (m *DemoteVoterResponse) Validate() error
Validate checks the field values on DemoteVoterResponse 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 (*DemoteVoterResponse) ValidateAll ¶ added in v0.6.2
func (m *DemoteVoterResponse) ValidateAll() error
ValidateAll checks the field values on DemoteVoterResponse 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 DemoteVoterResponseMultiError, or nil if none found.
type DemoteVoterResponseMultiError ¶ added in v0.6.2
type DemoteVoterResponseMultiError []error
DemoteVoterResponseMultiError is an error wrapping multiple validation errors returned by DemoteVoterResponse.ValidateAll() if the designated constraints aren't met.
func (DemoteVoterResponseMultiError) AllErrors ¶ added in v0.6.2
func (m DemoteVoterResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DemoteVoterResponseMultiError) Error ¶ added in v0.6.2
func (m DemoteVoterResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DemoteVoterResponseValidationError ¶ added in v0.6.2
type DemoteVoterResponseValidationError struct {
// contains filtered or unexported fields
}
DemoteVoterResponseValidationError is the validation error returned by DemoteVoterResponse.Validate if the designated constraints aren't met.
func (DemoteVoterResponseValidationError) Cause ¶ added in v0.6.2
func (e DemoteVoterResponseValidationError) Cause() error
Cause function returns cause value.
func (DemoteVoterResponseValidationError) Error ¶ added in v0.6.2
func (e DemoteVoterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DemoteVoterResponseValidationError) ErrorName ¶ added in v0.6.2
func (e DemoteVoterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DemoteVoterResponseValidationError) Field ¶ added in v0.6.2
func (e DemoteVoterResponseValidationError) Field() string
Field function returns field value.
func (DemoteVoterResponseValidationError) Key ¶ added in v0.6.2
func (e DemoteVoterResponseValidationError) Key() bool
Key function returns key value.
func (DemoteVoterResponseValidationError) Reason ¶ added in v0.6.2
func (e DemoteVoterResponseValidationError) Reason() string
Reason function returns reason value.
type DisconnectRequest ¶ added in v0.2.2
type DisconnectRequest struct {
// contains filtered or unexported fields
}
DisconnectRequest is sent by the application to the node to disconnect from a mesh. This message will eventually contain unique identifiers for allowing the application to disconnect from a specific mesh.
func (*DisconnectRequest) DeepCopy ¶ added in v0.6.2
func (in *DisconnectRequest) DeepCopy() *DisconnectRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisconnectRequest. Required by controller-gen.
func (*DisconnectRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *DisconnectRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DisconnectRequest. Required by controller-gen.
func (*DisconnectRequest) DeepCopyInto ¶ added in v0.6.2
func (in *DisconnectRequest) DeepCopyInto(out *DisconnectRequest)
DeepCopyInto supports using DisconnectRequest within kubernetes types, where deepcopy-gen is used.
func (*DisconnectRequest) Descriptor
deprecated
added in
v0.2.2
func (*DisconnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectRequest.ProtoReflect.Descriptor instead.
func (*DisconnectRequest) ProtoMessage ¶ added in v0.2.2
func (*DisconnectRequest) ProtoMessage()
func (*DisconnectRequest) ProtoReflect ¶ added in v0.2.2
func (x *DisconnectRequest) ProtoReflect() protoreflect.Message
func (*DisconnectRequest) Reset ¶ added in v0.2.2
func (x *DisconnectRequest) Reset()
func (*DisconnectRequest) String ¶ added in v0.2.2
func (x *DisconnectRequest) String() string
func (*DisconnectRequest) Validate ¶ added in v0.6.2
func (m *DisconnectRequest) Validate() error
Validate checks the field values on DisconnectRequest 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 (*DisconnectRequest) ValidateAll ¶ added in v0.6.2
func (m *DisconnectRequest) ValidateAll() error
ValidateAll checks the field values on DisconnectRequest 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 DisconnectRequestMultiError, or nil if none found.
type DisconnectRequestMultiError ¶ added in v0.6.2
type DisconnectRequestMultiError []error
DisconnectRequestMultiError is an error wrapping multiple validation errors returned by DisconnectRequest.ValidateAll() if the designated constraints aren't met.
func (DisconnectRequestMultiError) AllErrors ¶ added in v0.6.2
func (m DisconnectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DisconnectRequestMultiError) Error ¶ added in v0.6.2
func (m DisconnectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DisconnectRequestValidationError ¶ added in v0.6.2
type DisconnectRequestValidationError struct {
// contains filtered or unexported fields
}
DisconnectRequestValidationError is the validation error returned by DisconnectRequest.Validate if the designated constraints aren't met.
func (DisconnectRequestValidationError) Cause ¶ added in v0.6.2
func (e DisconnectRequestValidationError) Cause() error
Cause function returns cause value.
func (DisconnectRequestValidationError) Error ¶ added in v0.6.2
func (e DisconnectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DisconnectRequestValidationError) ErrorName ¶ added in v0.6.2
func (e DisconnectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DisconnectRequestValidationError) Field ¶ added in v0.6.2
func (e DisconnectRequestValidationError) Field() string
Field function returns field value.
func (DisconnectRequestValidationError) Key ¶ added in v0.6.2
func (e DisconnectRequestValidationError) Key() bool
Key function returns key value.
func (DisconnectRequestValidationError) Reason ¶ added in v0.6.2
func (e DisconnectRequestValidationError) Reason() string
Reason function returns reason value.
type DisconnectResponse ¶ added in v0.2.2
type DisconnectResponse struct {
// contains filtered or unexported fields
}
DisconnectResponse is returned by the Disconnect RPC.
func (*DisconnectResponse) DeepCopy ¶ added in v0.6.2
func (in *DisconnectResponse) DeepCopy() *DisconnectResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisconnectResponse. Required by controller-gen.
func (*DisconnectResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *DisconnectResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DisconnectResponse. Required by controller-gen.
func (*DisconnectResponse) DeepCopyInto ¶ added in v0.6.2
func (in *DisconnectResponse) DeepCopyInto(out *DisconnectResponse)
DeepCopyInto supports using DisconnectResponse within kubernetes types, where deepcopy-gen is used.
func (*DisconnectResponse) Descriptor
deprecated
added in
v0.2.2
func (*DisconnectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectResponse.ProtoReflect.Descriptor instead.
func (*DisconnectResponse) ProtoMessage ¶ added in v0.2.2
func (*DisconnectResponse) ProtoMessage()
func (*DisconnectResponse) ProtoReflect ¶ added in v0.2.2
func (x *DisconnectResponse) ProtoReflect() protoreflect.Message
func (*DisconnectResponse) Reset ¶ added in v0.2.2
func (x *DisconnectResponse) Reset()
func (*DisconnectResponse) String ¶ added in v0.2.2
func (x *DisconnectResponse) String() string
func (*DisconnectResponse) Validate ¶ added in v0.6.2
func (m *DisconnectResponse) Validate() error
Validate checks the field values on DisconnectResponse 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 (*DisconnectResponse) ValidateAll ¶ added in v0.6.2
func (m *DisconnectResponse) ValidateAll() error
ValidateAll checks the field values on DisconnectResponse 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 DisconnectResponseMultiError, or nil if none found.
type DisconnectResponseMultiError ¶ added in v0.6.2
type DisconnectResponseMultiError []error
DisconnectResponseMultiError is an error wrapping multiple validation errors returned by DisconnectResponse.ValidateAll() if the designated constraints aren't met.
func (DisconnectResponseMultiError) AllErrors ¶ added in v0.6.2
func (m DisconnectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DisconnectResponseMultiError) Error ¶ added in v0.6.2
func (m DisconnectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DisconnectResponseValidationError ¶ added in v0.6.2
type DisconnectResponseValidationError struct {
// contains filtered or unexported fields
}
DisconnectResponseValidationError is the validation error returned by DisconnectResponse.Validate if the designated constraints aren't met.
func (DisconnectResponseValidationError) Cause ¶ added in v0.6.2
func (e DisconnectResponseValidationError) Cause() error
Cause function returns cause value.
func (DisconnectResponseValidationError) Error ¶ added in v0.6.2
func (e DisconnectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DisconnectResponseValidationError) ErrorName ¶ added in v0.6.2
func (e DisconnectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DisconnectResponseValidationError) Field ¶ added in v0.6.2
func (e DisconnectResponseValidationError) Field() string
Field function returns field value.
func (DisconnectResponseValidationError) Key ¶ added in v0.6.2
func (e DisconnectResponseValidationError) Key() bool
Key function returns key value.
func (DisconnectResponseValidationError) Reason ¶ added in v0.6.2
func (e DisconnectResponseValidationError) Reason() string
Reason function returns reason value.
type EdgeAttribute ¶ added in v0.4.0
type EdgeAttribute int32
EdgeAttribute are pre-defined edge attributes. They should be used as their string values.
const ( // EDGE_ATTRIBUTE_UNKNOWN is an unknown edge attribute. EdgeAttribute_EDGE_ATTRIBUTE_UNKNOWN EdgeAttribute = 0 // EDGE_ATTRIBUTE_NATIVE is a native edge attribute. EdgeAttribute_EDGE_ATTRIBUTE_NATIVE EdgeAttribute = 1 // EDGE_ATTRIBUTE_ICE is an ICE edge attribute. EdgeAttribute_EDGE_ATTRIBUTE_ICE EdgeAttribute = 2 // EDGE_ATTRIBUTE_LIBP2P is a libp2p edge attribute. EdgeAttribute_EDGE_ATTRIBUTE_LIBP2P EdgeAttribute = 3 )
func (EdgeAttribute) Descriptor ¶ added in v0.4.0
func (EdgeAttribute) Descriptor() protoreflect.EnumDescriptor
func (EdgeAttribute) Enum ¶ added in v0.4.0
func (x EdgeAttribute) Enum() *EdgeAttribute
func (EdgeAttribute) EnumDescriptor
deprecated
added in
v0.4.0
func (EdgeAttribute) EnumDescriptor() ([]byte, []int)
Deprecated: Use EdgeAttribute.Descriptor instead.
func (EdgeAttribute) Number ¶ added in v0.4.0
func (x EdgeAttribute) Number() protoreflect.EnumNumber
func (EdgeAttribute) String ¶ added in v0.4.0
func (x EdgeAttribute) String() string
func (EdgeAttribute) Type ¶ added in v0.4.0
func (EdgeAttribute) Type() protoreflect.EnumType
type Event ¶
type Event struct { // type is the type of the watch event. Type Event_WatchEvent `protobuf:"varint,1,opt,name=type,proto3,enum=v1.Event_WatchEvent" json:"type,omitempty"` // event is the data of the watch event. // // Types that are assignable to Event: // // *Event_Node Event isEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
Event is the message containing a watch event.
func (*Event) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event. Required by controller-gen.
func (*Event) DeepCopyInterface ¶ added in v0.6.2
func (in *Event) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Event. Required by controller-gen.
func (*Event) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using Event within kubernetes types, where deepcopy-gen is used.
func (*Event) Descriptor
deprecated
func (*Event) GetType ¶
func (x *Event) GetType() Event_WatchEvent
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) Validate ¶ added in v0.6.2
Validate checks the field values on Event 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 (*Event) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on Event 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 EventMultiError, or nil if none found.
type EventMultiError ¶ added in v0.6.2
type EventMultiError []error
EventMultiError is an error wrapping multiple validation errors returned by Event.ValidateAll() if the designated constraints aren't met.
func (EventMultiError) AllErrors ¶ added in v0.6.2
func (m EventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EventMultiError) Error ¶ added in v0.6.2
func (m EventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EventValidationError ¶ added in v0.6.2
type EventValidationError struct {
// contains filtered or unexported fields
}
EventValidationError is the validation error returned by Event.Validate if the designated constraints aren't met.
func (EventValidationError) Cause ¶ added in v0.6.2
func (e EventValidationError) Cause() error
Cause function returns cause value.
func (EventValidationError) Error ¶ added in v0.6.2
func (e EventValidationError) Error() string
Error satisfies the builtin error interface
func (EventValidationError) ErrorName ¶ added in v0.6.2
func (e EventValidationError) ErrorName() string
ErrorName returns error name.
func (EventValidationError) Field ¶ added in v0.6.2
func (e EventValidationError) Field() string
Field function returns field value.
func (EventValidationError) Key ¶ added in v0.6.2
func (e EventValidationError) Key() bool
Key function returns key value.
func (EventValidationError) Reason ¶ added in v0.6.2
func (e EventValidationError) Reason() string
Reason function returns reason value.
type Event_Node ¶
type Event_Node struct { // node is the node that the event is about. Node *MeshNode `protobuf:"bytes,2,opt,name=node,proto3,oneof"` }
type Event_WatchEvent ¶ added in v0.3.0
type Event_WatchEvent int32
WatchEvent is the type of a watch event.
const ( // UNKNOWN is the default value of WatchEvent. Event_UNKNOWN Event_WatchEvent = 0 // NODE_JOIN indicates that a node has joined the cluster. Event_NODE_JOIN Event_WatchEvent = 1 // NODE_LEAVE indicates that a node has left the cluster. Event_NODE_LEAVE Event_WatchEvent = 2 // LEADER_CHANGE indicates that the leader of the cluster has changed. Event_LEADER_CHANGE Event_WatchEvent = 3 )
func (Event_WatchEvent) Descriptor ¶ added in v0.3.0
func (Event_WatchEvent) Descriptor() protoreflect.EnumDescriptor
func (Event_WatchEvent) Enum ¶ added in v0.3.0
func (x Event_WatchEvent) Enum() *Event_WatchEvent
func (Event_WatchEvent) EnumDescriptor
deprecated
added in
v0.3.0
func (Event_WatchEvent) EnumDescriptor() ([]byte, []int)
Deprecated: Use Event_WatchEvent.Descriptor instead.
func (Event_WatchEvent) Number ¶ added in v0.3.0
func (x Event_WatchEvent) Number() protoreflect.EnumNumber
func (Event_WatchEvent) String ¶ added in v0.3.0
func (x Event_WatchEvent) String() string
func (Event_WatchEvent) Type ¶ added in v0.3.0
func (Event_WatchEvent) Type() protoreflect.EnumType
type Feature ¶
type Feature int32
Feature is a list of features supported by a node.
const ( // FEATURE_NONE is the default feature set. Feature_FEATURE_NONE Feature = 0 // NODES is the feature for nodes. This is always supported. Feature_NODES Feature = 1 // LEADER_PROXY is the feature for leader proxying. Feature_LEADER_PROXY Feature = 2 // MESH_API is the feature for the mesh API. // This will be deprecated in favor of the MEMBERSHIP feature. Feature_MESH_API Feature = 3 // ADMIN_API is the feature for the admin API. Feature_ADMIN_API Feature = 4 // MEMBERSHIP is the feature for membership. This is always supported on storage-providing members. Feature_MEMBERSHIP Feature = 5 // METRICS is the feature for exposing metrics. Feature_METRICS Feature = 6 // ICE_NEGOTIATION is the feature for ICE negotiation. Feature_ICE_NEGOTIATION Feature = 7 // TURN_SERVER is the feature for TURN server. Feature_TURN_SERVER Feature = 8 // MESH_DNS is the feature for mesh DNS. Feature_MESH_DNS Feature = 9 // FORWARD_MESH_DNS is the feature for forwarding mesh DNS lookups to other meshes. Feature_FORWARD_MESH_DNS Feature = 10 // STORAGE_QUERIER is the feature for querying, publishing, and subscribing to mesh state. Feature_STORAGE_QUERIER Feature = 11 // STORAGE_PROVIDER is the feature for being able to provide distributed storage. Feature_STORAGE_PROVIDER Feature = 12 )
func (Feature) Descriptor ¶
func (Feature) Descriptor() protoreflect.EnumDescriptor
func (Feature) EnumDescriptor
deprecated
func (Feature) Number ¶
func (x Feature) Number() protoreflect.EnumNumber
func (Feature) Type ¶
func (Feature) Type() protoreflect.EnumType
type FeaturePort ¶ added in v0.4.0
type FeaturePort struct { // feature is the feature. Feature Feature `protobuf:"varint,1,opt,name=feature,proto3,enum=v1.Feature" json:"feature,omitempty"` // port is the port the feature is advertised on. Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
FeaturePort describes a feature and the port it is advertised on.
func (*FeaturePort) DeepCopy ¶ added in v0.6.2
func (in *FeaturePort) DeepCopy() *FeaturePort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturePort. Required by controller-gen.
func (*FeaturePort) DeepCopyInterface ¶ added in v0.6.2
func (in *FeaturePort) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FeaturePort. Required by controller-gen.
func (*FeaturePort) DeepCopyInto ¶ added in v0.6.2
func (in *FeaturePort) DeepCopyInto(out *FeaturePort)
DeepCopyInto supports using FeaturePort within kubernetes types, where deepcopy-gen is used.
func (*FeaturePort) Descriptor
deprecated
added in
v0.4.0
func (*FeaturePort) Descriptor() ([]byte, []int)
Deprecated: Use FeaturePort.ProtoReflect.Descriptor instead.
func (*FeaturePort) GetFeature ¶ added in v0.4.0
func (x *FeaturePort) GetFeature() Feature
func (*FeaturePort) GetPort ¶ added in v0.4.0
func (x *FeaturePort) GetPort() int32
func (*FeaturePort) ProtoMessage ¶ added in v0.4.0
func (*FeaturePort) ProtoMessage()
func (*FeaturePort) ProtoReflect ¶ added in v0.4.0
func (x *FeaturePort) ProtoReflect() protoreflect.Message
func (*FeaturePort) Reset ¶ added in v0.4.0
func (x *FeaturePort) Reset()
func (*FeaturePort) String ¶ added in v0.4.0
func (x *FeaturePort) String() string
func (*FeaturePort) Validate ¶ added in v0.6.2
func (m *FeaturePort) Validate() error
Validate checks the field values on FeaturePort 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 (*FeaturePort) ValidateAll ¶ added in v0.6.2
func (m *FeaturePort) ValidateAll() error
ValidateAll checks the field values on FeaturePort 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 FeaturePortMultiError, or nil if none found.
type FeaturePortMultiError ¶ added in v0.6.2
type FeaturePortMultiError []error
FeaturePortMultiError is an error wrapping multiple validation errors returned by FeaturePort.ValidateAll() if the designated constraints aren't met.
func (FeaturePortMultiError) AllErrors ¶ added in v0.6.2
func (m FeaturePortMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeaturePortMultiError) Error ¶ added in v0.6.2
func (m FeaturePortMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeaturePortValidationError ¶ added in v0.6.2
type FeaturePortValidationError struct {
// contains filtered or unexported fields
}
FeaturePortValidationError is the validation error returned by FeaturePort.Validate if the designated constraints aren't met.
func (FeaturePortValidationError) Cause ¶ added in v0.6.2
func (e FeaturePortValidationError) Cause() error
Cause function returns cause value.
func (FeaturePortValidationError) Error ¶ added in v0.6.2
func (e FeaturePortValidationError) Error() string
Error satisfies the builtin error interface
func (FeaturePortValidationError) ErrorName ¶ added in v0.6.2
func (e FeaturePortValidationError) ErrorName() string
ErrorName returns error name.
func (FeaturePortValidationError) Field ¶ added in v0.6.2
func (e FeaturePortValidationError) Field() string
Field function returns field value.
func (FeaturePortValidationError) Key ¶ added in v0.6.2
func (e FeaturePortValidationError) Key() bool
Key function returns key value.
func (FeaturePortValidationError) Reason ¶ added in v0.6.2
func (e FeaturePortValidationError) Reason() string
Reason function returns reason value.
type GetLeaderRequest ¶ added in v0.4.0
type GetLeaderRequest struct {
// contains filtered or unexported fields
}
GetLeaderRequest is the request object for the GetLeader RPC.
func (*GetLeaderRequest) DeepCopy ¶ added in v0.6.2
func (in *GetLeaderRequest) DeepCopy() *GetLeaderRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetLeaderRequest. Required by controller-gen.
func (*GetLeaderRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *GetLeaderRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetLeaderRequest. Required by controller-gen.
func (*GetLeaderRequest) DeepCopyInto ¶ added in v0.6.2
func (in *GetLeaderRequest) DeepCopyInto(out *GetLeaderRequest)
DeepCopyInto supports using GetLeaderRequest within kubernetes types, where deepcopy-gen is used.
func (*GetLeaderRequest) Descriptor
deprecated
added in
v0.4.0
func (*GetLeaderRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLeaderRequest.ProtoReflect.Descriptor instead.
func (*GetLeaderRequest) ProtoMessage ¶ added in v0.4.0
func (*GetLeaderRequest) ProtoMessage()
func (*GetLeaderRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetLeaderRequest) ProtoReflect() protoreflect.Message
func (*GetLeaderRequest) Reset ¶ added in v0.4.0
func (x *GetLeaderRequest) Reset()
func (*GetLeaderRequest) String ¶ added in v0.4.0
func (x *GetLeaderRequest) String() string
func (*GetLeaderRequest) Validate ¶ added in v0.6.2
func (m *GetLeaderRequest) Validate() error
Validate checks the field values on GetLeaderRequest 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 (*GetLeaderRequest) ValidateAll ¶ added in v0.6.2
func (m *GetLeaderRequest) ValidateAll() error
ValidateAll checks the field values on GetLeaderRequest 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 GetLeaderRequestMultiError, or nil if none found.
type GetLeaderRequestMultiError ¶ added in v0.6.2
type GetLeaderRequestMultiError []error
GetLeaderRequestMultiError is an error wrapping multiple validation errors returned by GetLeaderRequest.ValidateAll() if the designated constraints aren't met.
func (GetLeaderRequestMultiError) AllErrors ¶ added in v0.6.2
func (m GetLeaderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLeaderRequestMultiError) Error ¶ added in v0.6.2
func (m GetLeaderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLeaderRequestValidationError ¶ added in v0.6.2
type GetLeaderRequestValidationError struct {
// contains filtered or unexported fields
}
GetLeaderRequestValidationError is the validation error returned by GetLeaderRequest.Validate if the designated constraints aren't met.
func (GetLeaderRequestValidationError) Cause ¶ added in v0.6.2
func (e GetLeaderRequestValidationError) Cause() error
Cause function returns cause value.
func (GetLeaderRequestValidationError) Error ¶ added in v0.6.2
func (e GetLeaderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetLeaderRequestValidationError) ErrorName ¶ added in v0.6.2
func (e GetLeaderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetLeaderRequestValidationError) Field ¶ added in v0.6.2
func (e GetLeaderRequestValidationError) Field() string
Field function returns field value.
func (GetLeaderRequestValidationError) Key ¶ added in v0.6.2
func (e GetLeaderRequestValidationError) Key() bool
Key function returns key value.
func (GetLeaderRequestValidationError) Reason ¶ added in v0.6.2
func (e GetLeaderRequestValidationError) Reason() string
Reason function returns reason value.
type GetNodeRequest ¶
type GetNodeRequest struct { // id is the ID of the node. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
GetNodeRequest is a request to get a node.
func (*GetNodeRequest) DeepCopy ¶ added in v0.6.2
func (in *GetNodeRequest) DeepCopy() *GetNodeRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetNodeRequest. Required by controller-gen.
func (*GetNodeRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *GetNodeRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetNodeRequest. Required by controller-gen.
func (*GetNodeRequest) DeepCopyInto ¶ added in v0.6.2
func (in *GetNodeRequest) DeepCopyInto(out *GetNodeRequest)
DeepCopyInto supports using GetNodeRequest within kubernetes types, where deepcopy-gen is used.
func (*GetNodeRequest) Descriptor
deprecated
func (*GetNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeRequest.ProtoReflect.Descriptor instead.
func (*GetNodeRequest) GetId ¶
func (x *GetNodeRequest) GetId() string
func (*GetNodeRequest) ProtoMessage ¶
func (*GetNodeRequest) ProtoMessage()
func (*GetNodeRequest) ProtoReflect ¶
func (x *GetNodeRequest) ProtoReflect() protoreflect.Message
func (*GetNodeRequest) Reset ¶
func (x *GetNodeRequest) Reset()
func (*GetNodeRequest) String ¶
func (x *GetNodeRequest) String() string
func (*GetNodeRequest) Validate ¶ added in v0.6.2
func (m *GetNodeRequest) Validate() error
Validate checks the field values on GetNodeRequest 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 (*GetNodeRequest) ValidateAll ¶ added in v0.6.2
func (m *GetNodeRequest) ValidateAll() error
ValidateAll checks the field values on GetNodeRequest 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 GetNodeRequestMultiError, or nil if none found.
type GetNodeRequestMultiError ¶ added in v0.6.2
type GetNodeRequestMultiError []error
GetNodeRequestMultiError is an error wrapping multiple validation errors returned by GetNodeRequest.ValidateAll() if the designated constraints aren't met.
func (GetNodeRequestMultiError) AllErrors ¶ added in v0.6.2
func (m GetNodeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeRequestMultiError) Error ¶ added in v0.6.2
func (m GetNodeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeRequestValidationError ¶ added in v0.6.2
type GetNodeRequestValidationError struct {
// contains filtered or unexported fields
}
GetNodeRequestValidationError is the validation error returned by GetNodeRequest.Validate if the designated constraints aren't met.
func (GetNodeRequestValidationError) Cause ¶ added in v0.6.2
func (e GetNodeRequestValidationError) Cause() error
Cause function returns cause value.
func (GetNodeRequestValidationError) Error ¶ added in v0.6.2
func (e GetNodeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeRequestValidationError) ErrorName ¶ added in v0.6.2
func (e GetNodeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeRequestValidationError) Field ¶ added in v0.6.2
func (e GetNodeRequestValidationError) Field() string
Field function returns field value.
func (GetNodeRequestValidationError) Key ¶ added in v0.6.2
func (e GetNodeRequestValidationError) Key() bool
Key function returns key value.
func (GetNodeRequestValidationError) Reason ¶ added in v0.6.2
func (e GetNodeRequestValidationError) Reason() string
Reason function returns reason value.
type GetPeersRequest ¶ added in v0.5.0
type GetPeersRequest struct {
// contains filtered or unexported fields
}
GetPeersRequest is the request object for the GetPeers RPC.
func (*GetPeersRequest) DeepCopy ¶ added in v0.6.2
func (in *GetPeersRequest) DeepCopy() *GetPeersRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetPeersRequest. Required by controller-gen.
func (*GetPeersRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *GetPeersRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetPeersRequest. Required by controller-gen.
func (*GetPeersRequest) DeepCopyInto ¶ added in v0.6.2
func (in *GetPeersRequest) DeepCopyInto(out *GetPeersRequest)
DeepCopyInto supports using GetPeersRequest within kubernetes types, where deepcopy-gen is used.
func (*GetPeersRequest) Descriptor
deprecated
added in
v0.5.0
func (*GetPeersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPeersRequest.ProtoReflect.Descriptor instead.
func (*GetPeersRequest) ProtoMessage ¶ added in v0.5.0
func (*GetPeersRequest) ProtoMessage()
func (*GetPeersRequest) ProtoReflect ¶ added in v0.5.0
func (x *GetPeersRequest) ProtoReflect() protoreflect.Message
func (*GetPeersRequest) Reset ¶ added in v0.5.0
func (x *GetPeersRequest) Reset()
func (*GetPeersRequest) String ¶ added in v0.5.0
func (x *GetPeersRequest) String() string
func (*GetPeersRequest) Validate ¶ added in v0.6.2
func (m *GetPeersRequest) Validate() error
Validate checks the field values on GetPeersRequest 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 (*GetPeersRequest) ValidateAll ¶ added in v0.6.2
func (m *GetPeersRequest) ValidateAll() error
ValidateAll checks the field values on GetPeersRequest 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 GetPeersRequestMultiError, or nil if none found.
type GetPeersRequestMultiError ¶ added in v0.6.2
type GetPeersRequestMultiError []error
GetPeersRequestMultiError is an error wrapping multiple validation errors returned by GetPeersRequest.ValidateAll() if the designated constraints aren't met.
func (GetPeersRequestMultiError) AllErrors ¶ added in v0.6.2
func (m GetPeersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPeersRequestMultiError) Error ¶ added in v0.6.2
func (m GetPeersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPeersRequestValidationError ¶ added in v0.6.2
type GetPeersRequestValidationError struct {
// contains filtered or unexported fields
}
GetPeersRequestValidationError is the validation error returned by GetPeersRequest.Validate if the designated constraints aren't met.
func (GetPeersRequestValidationError) Cause ¶ added in v0.6.2
func (e GetPeersRequestValidationError) Cause() error
Cause function returns cause value.
func (GetPeersRequestValidationError) Error ¶ added in v0.6.2
func (e GetPeersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetPeersRequestValidationError) ErrorName ¶ added in v0.6.2
func (e GetPeersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetPeersRequestValidationError) Field ¶ added in v0.6.2
func (e GetPeersRequestValidationError) Field() string
Field function returns field value.
func (GetPeersRequestValidationError) Key ¶ added in v0.6.2
func (e GetPeersRequestValidationError) Key() bool
Key function returns key value.
func (GetPeersRequestValidationError) Reason ¶ added in v0.6.2
func (e GetPeersRequestValidationError) Reason() string
Reason function returns reason value.
type GetStatusRequest ¶
type GetStatusRequest struct { // id is the ID of the node. If unset, the status of the // local node is returned. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
GetStatusRequest is a request to get the status of a node.
func (*GetStatusRequest) DeepCopy ¶ added in v0.6.2
func (in *GetStatusRequest) DeepCopy() *GetStatusRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetStatusRequest. Required by controller-gen.
func (*GetStatusRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *GetStatusRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetStatusRequest. Required by controller-gen.
func (*GetStatusRequest) DeepCopyInto ¶ added in v0.6.2
func (in *GetStatusRequest) DeepCopyInto(out *GetStatusRequest)
DeepCopyInto supports using GetStatusRequest within kubernetes types, where deepcopy-gen is used.
func (*GetStatusRequest) Descriptor
deprecated
func (*GetStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStatusRequest.ProtoReflect.Descriptor instead.
func (*GetStatusRequest) GetId ¶
func (x *GetStatusRequest) GetId() string
func (*GetStatusRequest) ProtoMessage ¶
func (*GetStatusRequest) ProtoMessage()
func (*GetStatusRequest) ProtoReflect ¶
func (x *GetStatusRequest) ProtoReflect() protoreflect.Message
func (*GetStatusRequest) Reset ¶
func (x *GetStatusRequest) Reset()
func (*GetStatusRequest) String ¶
func (x *GetStatusRequest) String() string
func (*GetStatusRequest) Validate ¶ added in v0.6.2
func (m *GetStatusRequest) Validate() error
Validate checks the field values on GetStatusRequest 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 (*GetStatusRequest) ValidateAll ¶ added in v0.6.2
func (m *GetStatusRequest) ValidateAll() error
ValidateAll checks the field values on GetStatusRequest 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 GetStatusRequestMultiError, or nil if none found.
type GetStatusRequestMultiError ¶ added in v0.6.2
type GetStatusRequestMultiError []error
GetStatusRequestMultiError is an error wrapping multiple validation errors returned by GetStatusRequest.ValidateAll() if the designated constraints aren't met.
func (GetStatusRequestMultiError) AllErrors ¶ added in v0.6.2
func (m GetStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetStatusRequestMultiError) Error ¶ added in v0.6.2
func (m GetStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetStatusRequestValidationError ¶ added in v0.6.2
type GetStatusRequestValidationError struct {
// contains filtered or unexported fields
}
GetStatusRequestValidationError is the validation error returned by GetStatusRequest.Validate if the designated constraints aren't met.
func (GetStatusRequestValidationError) Cause ¶ added in v0.6.2
func (e GetStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (GetStatusRequestValidationError) Error ¶ added in v0.6.2
func (e GetStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetStatusRequestValidationError) ErrorName ¶ added in v0.6.2
func (e GetStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetStatusRequestValidationError) Field ¶ added in v0.6.2
func (e GetStatusRequestValidationError) Field() string
Field function returns field value.
func (GetStatusRequestValidationError) Key ¶ added in v0.6.2
func (e GetStatusRequestValidationError) Key() bool
Key function returns key value.
func (GetStatusRequestValidationError) Reason ¶ added in v0.6.2
func (e GetStatusRequestValidationError) Reason() string
Reason function returns reason value.
type GetValueRequest ¶ added in v0.4.0
type GetValueRequest struct { // Key is the key to get the value for. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
GetValueRequest is the request object for the GetValue RPC.
func (*GetValueRequest) DeepCopy ¶ added in v0.6.2
func (in *GetValueRequest) DeepCopy() *GetValueRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetValueRequest. Required by controller-gen.
func (*GetValueRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *GetValueRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetValueRequest. Required by controller-gen.
func (*GetValueRequest) DeepCopyInto ¶ added in v0.6.2
func (in *GetValueRequest) DeepCopyInto(out *GetValueRequest)
DeepCopyInto supports using GetValueRequest within kubernetes types, where deepcopy-gen is used.
func (*GetValueRequest) Descriptor
deprecated
added in
v0.4.0
func (*GetValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetValueRequest.ProtoReflect.Descriptor instead.
func (*GetValueRequest) GetKey ¶ added in v0.4.0
func (x *GetValueRequest) GetKey() []byte
func (*GetValueRequest) ProtoMessage ¶ added in v0.4.0
func (*GetValueRequest) ProtoMessage()
func (*GetValueRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetValueRequest) ProtoReflect() protoreflect.Message
func (*GetValueRequest) Reset ¶ added in v0.4.0
func (x *GetValueRequest) Reset()
func (*GetValueRequest) String ¶ added in v0.4.0
func (x *GetValueRequest) String() string
func (*GetValueRequest) Validate ¶ added in v0.6.2
func (m *GetValueRequest) Validate() error
Validate checks the field values on GetValueRequest 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 (*GetValueRequest) ValidateAll ¶ added in v0.6.2
func (m *GetValueRequest) ValidateAll() error
ValidateAll checks the field values on GetValueRequest 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 GetValueRequestMultiError, or nil if none found.
type GetValueRequestMultiError ¶ added in v0.6.2
type GetValueRequestMultiError []error
GetValueRequestMultiError is an error wrapping multiple validation errors returned by GetValueRequest.ValidateAll() if the designated constraints aren't met.
func (GetValueRequestMultiError) AllErrors ¶ added in v0.6.2
func (m GetValueRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetValueRequestMultiError) Error ¶ added in v0.6.2
func (m GetValueRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetValueRequestValidationError ¶ added in v0.6.2
type GetValueRequestValidationError struct {
// contains filtered or unexported fields
}
GetValueRequestValidationError is the validation error returned by GetValueRequest.Validate if the designated constraints aren't met.
func (GetValueRequestValidationError) Cause ¶ added in v0.6.2
func (e GetValueRequestValidationError) Cause() error
Cause function returns cause value.
func (GetValueRequestValidationError) Error ¶ added in v0.6.2
func (e GetValueRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetValueRequestValidationError) ErrorName ¶ added in v0.6.2
func (e GetValueRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetValueRequestValidationError) Field ¶ added in v0.6.2
func (e GetValueRequestValidationError) Field() string
Field function returns field value.
func (GetValueRequestValidationError) Key ¶ added in v0.6.2
func (e GetValueRequestValidationError) Key() bool
Key function returns key value.
func (GetValueRequestValidationError) Reason ¶ added in v0.6.2
func (e GetValueRequestValidationError) Reason() string
Reason function returns reason value.
type GetValueResponse ¶ added in v0.4.0
type GetValueResponse struct { // Value is the value of the key. Value *StorageValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetValueResponse is the response object for the GetValue RPC.
func (*GetValueResponse) DeepCopy ¶ added in v0.6.2
func (in *GetValueResponse) DeepCopy() *GetValueResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetValueResponse. Required by controller-gen.
func (*GetValueResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *GetValueResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetValueResponse. Required by controller-gen.
func (*GetValueResponse) DeepCopyInto ¶ added in v0.6.2
func (in *GetValueResponse) DeepCopyInto(out *GetValueResponse)
DeepCopyInto supports using GetValueResponse within kubernetes types, where deepcopy-gen is used.
func (*GetValueResponse) Descriptor
deprecated
added in
v0.4.0
func (*GetValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetValueResponse.ProtoReflect.Descriptor instead.
func (*GetValueResponse) GetValue ¶ added in v0.4.0
func (x *GetValueResponse) GetValue() *StorageValue
func (*GetValueResponse) ProtoMessage ¶ added in v0.4.0
func (*GetValueResponse) ProtoMessage()
func (*GetValueResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetValueResponse) ProtoReflect() protoreflect.Message
func (*GetValueResponse) Reset ¶ added in v0.4.0
func (x *GetValueResponse) Reset()
func (*GetValueResponse) String ¶ added in v0.4.0
func (x *GetValueResponse) String() string
func (*GetValueResponse) Validate ¶ added in v0.6.2
func (m *GetValueResponse) Validate() error
Validate checks the field values on GetValueResponse 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 (*GetValueResponse) ValidateAll ¶ added in v0.6.2
func (m *GetValueResponse) ValidateAll() error
ValidateAll checks the field values on GetValueResponse 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 GetValueResponseMultiError, or nil if none found.
type GetValueResponseMultiError ¶ added in v0.6.2
type GetValueResponseMultiError []error
GetValueResponseMultiError is an error wrapping multiple validation errors returned by GetValueResponse.ValidateAll() if the designated constraints aren't met.
func (GetValueResponseMultiError) AllErrors ¶ added in v0.6.2
func (m GetValueResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetValueResponseMultiError) Error ¶ added in v0.6.2
func (m GetValueResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetValueResponseValidationError ¶ added in v0.6.2
type GetValueResponseValidationError struct {
// contains filtered or unexported fields
}
GetValueResponseValidationError is the validation error returned by GetValueResponse.Validate if the designated constraints aren't met.
func (GetValueResponseValidationError) Cause ¶ added in v0.6.2
func (e GetValueResponseValidationError) Cause() error
Cause function returns cause value.
func (GetValueResponseValidationError) Error ¶ added in v0.6.2
func (e GetValueResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetValueResponseValidationError) ErrorName ¶ added in v0.6.2
func (e GetValueResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetValueResponseValidationError) Field ¶ added in v0.6.2
func (e GetValueResponseValidationError) Field() string
Field function returns field value.
func (GetValueResponseValidationError) Key ¶ added in v0.6.2
func (e GetValueResponseValidationError) Key() bool
Key function returns key value.
func (GetValueResponseValidationError) Reason ¶ added in v0.6.2
func (e GetValueResponseValidationError) Reason() string
Reason function returns reason value.
type Group ¶
type Group struct { // name is the name of the group. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // subjects is the list of subjects in the group. Subjects []*Subject `protobuf:"bytes,2,rep,name=subjects,proto3" json:"subjects,omitempty"` // contains filtered or unexported fields }
Group is a group of subjects.
func (*Group) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group. Required by controller-gen.
func (*Group) DeepCopyInterface ¶ added in v0.6.2
func (in *Group) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Group. Required by controller-gen.
func (*Group) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using Group within kubernetes types, where deepcopy-gen is used.
func (*Group) Descriptor
deprecated
func (*Group) GetSubjects ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
func (*Group) Validate ¶ added in v0.6.2
Validate checks the field values on Group 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 (*Group) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on Group 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 GroupMultiError, or nil if none found.
type GroupMultiError ¶ added in v0.6.2
type GroupMultiError []error
GroupMultiError is an error wrapping multiple validation errors returned by Group.ValidateAll() if the designated constraints aren't met.
func (GroupMultiError) AllErrors ¶ added in v0.6.2
func (m GroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GroupMultiError) Error ¶ added in v0.6.2
func (m GroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GroupValidationError ¶ added in v0.6.2
type GroupValidationError struct {
// contains filtered or unexported fields
}
GroupValidationError is the validation error returned by Group.Validate if the designated constraints aren't met.
func (GroupValidationError) Cause ¶ added in v0.6.2
func (e GroupValidationError) Cause() error
Cause function returns cause value.
func (GroupValidationError) Error ¶ added in v0.6.2
func (e GroupValidationError) Error() string
Error satisfies the builtin error interface
func (GroupValidationError) ErrorName ¶ added in v0.6.2
func (e GroupValidationError) ErrorName() string
ErrorName returns error name.
func (GroupValidationError) Field ¶ added in v0.6.2
func (e GroupValidationError) Field() string
Field function returns field value.
func (GroupValidationError) Key ¶ added in v0.6.2
func (e GroupValidationError) Key() bool
Key function returns key value.
func (GroupValidationError) Reason ¶ added in v0.6.2
func (e GroupValidationError) Reason() string
Reason function returns reason value.
type Groups ¶
type Groups struct { // items is the list of groups. Items []*Group `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
Groups is a list of groups.
func (*Groups) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Groups. Required by controller-gen.
func (*Groups) DeepCopyInterface ¶ added in v0.6.2
func (in *Groups) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Groups. Required by controller-gen.
func (*Groups) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using Groups within kubernetes types, where deepcopy-gen is used.
func (*Groups) Descriptor
deprecated
func (*Groups) ProtoMessage ¶
func (*Groups) ProtoMessage()
func (*Groups) ProtoReflect ¶
func (x *Groups) ProtoReflect() protoreflect.Message
func (*Groups) Validate ¶ added in v0.6.2
Validate checks the field values on Groups 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 (*Groups) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on Groups 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 GroupsMultiError, or nil if none found.
type GroupsMultiError ¶ added in v0.6.2
type GroupsMultiError []error
GroupsMultiError is an error wrapping multiple validation errors returned by Groups.ValidateAll() if the designated constraints aren't met.
func (GroupsMultiError) AllErrors ¶ added in v0.6.2
func (m GroupsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GroupsMultiError) Error ¶ added in v0.6.2
func (m GroupsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GroupsValidationError ¶ added in v0.6.2
type GroupsValidationError struct {
// contains filtered or unexported fields
}
GroupsValidationError is the validation error returned by Groups.Validate if the designated constraints aren't met.
func (GroupsValidationError) Cause ¶ added in v0.6.2
func (e GroupsValidationError) Cause() error
Cause function returns cause value.
func (GroupsValidationError) Error ¶ added in v0.6.2
func (e GroupsValidationError) Error() string
Error satisfies the builtin error interface
func (GroupsValidationError) ErrorName ¶ added in v0.6.2
func (e GroupsValidationError) ErrorName() string
ErrorName returns error name.
func (GroupsValidationError) Field ¶ added in v0.6.2
func (e GroupsValidationError) Field() string
Field function returns field value.
func (GroupsValidationError) Key ¶ added in v0.6.2
func (e GroupsValidationError) Key() bool
Key function returns key value.
func (GroupsValidationError) Reason ¶ added in v0.6.2
func (e GroupsValidationError) Reason() string
Reason function returns reason value.
type IPAMPluginClient ¶ added in v0.1.4
type IPAMPluginClient interface { // Allocate allocates an IP for a node. Allocate(ctx context.Context, in *AllocateIPRequest, opts ...grpc.CallOption) (*AllocatedIP, error) // Release releases an IP for a node. Release(ctx context.Context, in *ReleaseIPRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
IPAMPluginClient is the client API for IPAMPlugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIPAMPluginClient ¶ added in v0.1.4
func NewIPAMPluginClient(cc grpc.ClientConnInterface) IPAMPluginClient
type IPAMPluginServer ¶ added in v0.1.4
type IPAMPluginServer interface { // Allocate allocates an IP for a node. Allocate(context.Context, *AllocateIPRequest) (*AllocatedIP, error) // Release releases an IP for a node. Release(context.Context, *ReleaseIPRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
IPAMPluginServer is the server API for IPAMPlugin service. All implementations must embed UnimplementedIPAMPluginServer for forward compatibility
type InterfaceMetrics ¶
type InterfaceMetrics struct { // device_name is the name of the device. DeviceName string `protobuf:"bytes,1,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` // public_key is the public key of the node. PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // address_v4 is the IPv4 address of the node. AddressV4 string `protobuf:"bytes,3,opt,name=address_v4,json=addressV4,proto3" json:"address_v4,omitempty"` // address_v6 is the IPv6 address of the node. AddressV6 string `protobuf:"bytes,4,opt,name=address_v6,json=addressV6,proto3" json:"address_v6,omitempty"` // type is the type of interface being used for wireguard. Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` // listen_port is the port wireguard is listening on. ListenPort int32 `protobuf:"varint,6,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"` // total_receive_bytes is the total number of bytes received. TotalReceiveBytes uint64 `protobuf:"varint,7,opt,name=total_receive_bytes,json=totalReceiveBytes,proto3" json:"total_receive_bytes,omitempty"` // total_transmit_bytes is the total number of bytes transmitted. TotalTransmitBytes uint64 `protobuf:"varint,8,opt,name=total_transmit_bytes,json=totalTransmitBytes,proto3" json:"total_transmit_bytes,omitempty"` // num_peers is the number of peers connected to the node. NumPeers int32 `protobuf:"varint,9,opt,name=num_peers,json=numPeers,proto3" json:"num_peers,omitempty"` // peers are the per-peer statistics. Peers []*PeerMetrics `protobuf:"bytes,10,rep,name=peers,proto3" json:"peers,omitempty"` // contains filtered or unexported fields }
InterfaceMetrics is the metrics for the WireGuard interface on a node.
func (*InterfaceMetrics) DeepCopy ¶ added in v0.6.2
func (in *InterfaceMetrics) DeepCopy() *InterfaceMetrics
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceMetrics. Required by controller-gen.
func (*InterfaceMetrics) DeepCopyInterface ¶ added in v0.6.2
func (in *InterfaceMetrics) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceMetrics. Required by controller-gen.
func (*InterfaceMetrics) DeepCopyInto ¶ added in v0.6.2
func (in *InterfaceMetrics) DeepCopyInto(out *InterfaceMetrics)
DeepCopyInto supports using InterfaceMetrics within kubernetes types, where deepcopy-gen is used.
func (*InterfaceMetrics) Descriptor
deprecated
func (*InterfaceMetrics) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceMetrics.ProtoReflect.Descriptor instead.
func (*InterfaceMetrics) GetAddressV4 ¶
func (x *InterfaceMetrics) GetAddressV4() string
func (*InterfaceMetrics) GetAddressV6 ¶
func (x *InterfaceMetrics) GetAddressV6() string
func (*InterfaceMetrics) GetDeviceName ¶
func (x *InterfaceMetrics) GetDeviceName() string
func (*InterfaceMetrics) GetListenPort ¶
func (x *InterfaceMetrics) GetListenPort() int32
func (*InterfaceMetrics) GetNumPeers ¶
func (x *InterfaceMetrics) GetNumPeers() int32
func (*InterfaceMetrics) GetPeers ¶
func (x *InterfaceMetrics) GetPeers() []*PeerMetrics
func (*InterfaceMetrics) GetPublicKey ¶
func (x *InterfaceMetrics) GetPublicKey() string
func (*InterfaceMetrics) GetTotalReceiveBytes ¶
func (x *InterfaceMetrics) GetTotalReceiveBytes() uint64
func (*InterfaceMetrics) GetTotalTransmitBytes ¶
func (x *InterfaceMetrics) GetTotalTransmitBytes() uint64
func (*InterfaceMetrics) GetType ¶
func (x *InterfaceMetrics) GetType() string
func (*InterfaceMetrics) ProtoMessage ¶
func (*InterfaceMetrics) ProtoMessage()
func (*InterfaceMetrics) ProtoReflect ¶
func (x *InterfaceMetrics) ProtoReflect() protoreflect.Message
func (*InterfaceMetrics) Reset ¶
func (x *InterfaceMetrics) Reset()
func (*InterfaceMetrics) String ¶
func (x *InterfaceMetrics) String() string
func (*InterfaceMetrics) Validate ¶ added in v0.6.2
func (m *InterfaceMetrics) Validate() error
Validate checks the field values on InterfaceMetrics 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 (*InterfaceMetrics) ValidateAll ¶ added in v0.6.2
func (m *InterfaceMetrics) ValidateAll() error
ValidateAll checks the field values on InterfaceMetrics 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 InterfaceMetricsMultiError, or nil if none found.
type InterfaceMetricsMultiError ¶ added in v0.6.2
type InterfaceMetricsMultiError []error
InterfaceMetricsMultiError is an error wrapping multiple validation errors returned by InterfaceMetrics.ValidateAll() if the designated constraints aren't met.
func (InterfaceMetricsMultiError) AllErrors ¶ added in v0.6.2
func (m InterfaceMetricsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InterfaceMetricsMultiError) Error ¶ added in v0.6.2
func (m InterfaceMetricsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InterfaceMetricsValidationError ¶ added in v0.6.2
type InterfaceMetricsValidationError struct {
// contains filtered or unexported fields
}
InterfaceMetricsValidationError is the validation error returned by InterfaceMetrics.Validate if the designated constraints aren't met.
func (InterfaceMetricsValidationError) Cause ¶ added in v0.6.2
func (e InterfaceMetricsValidationError) Cause() error
Cause function returns cause value.
func (InterfaceMetricsValidationError) Error ¶ added in v0.6.2
func (e InterfaceMetricsValidationError) Error() string
Error satisfies the builtin error interface
func (InterfaceMetricsValidationError) ErrorName ¶ added in v0.6.2
func (e InterfaceMetricsValidationError) ErrorName() string
ErrorName returns error name.
func (InterfaceMetricsValidationError) Field ¶ added in v0.6.2
func (e InterfaceMetricsValidationError) Field() string
Field function returns field value.
func (InterfaceMetricsValidationError) Key ¶ added in v0.6.2
func (e InterfaceMetricsValidationError) Key() bool
Key function returns key value.
func (InterfaceMetricsValidationError) Reason ¶ added in v0.6.2
func (e InterfaceMetricsValidationError) Reason() string
Reason function returns reason value.
type JoinRequest ¶
type JoinRequest struct { // id is the ID of the node. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // public_key is the public key of the node to broadcast to peers. PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // primary_endpoint is a routable address for the node. If left unset, // the node is assumed to be behind a NAT and not directly accessible. PrimaryEndpoint string `protobuf:"bytes,4,opt,name=primary_endpoint,json=primaryEndpoint,proto3" json:"primary_endpoint,omitempty"` // wireguard_endpoints is a list of WireGuard endpoints for the node. WireguardEndpoints []string `protobuf:"bytes,5,rep,name=wireguard_endpoints,json=wireguardEndpoints,proto3" json:"wireguard_endpoints,omitempty"` // zone_awareness_id is the zone awareness ID of the node. ZoneAwarenessId string `protobuf:"bytes,6,opt,name=zone_awareness_id,json=zoneAwarenessId,proto3" json:"zone_awareness_id,omitempty"` // assign_ipv4 is whether an IPv4 address should be assigned to the node. AssignIpv4 bool `protobuf:"varint,7,opt,name=assign_ipv4,json=assignIpv4,proto3" json:"assign_ipv4,omitempty"` // prefer_storage_ipv6 is whether IPv6 should be preferred over IPv4 for storage communication. // This is only used if assign_ipv4 is true. PreferStorageIpv6 bool `protobuf:"varint,8,opt,name=prefer_storage_ipv6,json=preferStorageIpv6,proto3" json:"prefer_storage_ipv6,omitempty"` // as_voter is whether the node should receive a vote in elections. The request // will be denied if the node is not allowed to vote. AsVoter bool `protobuf:"varint,9,opt,name=as_voter,json=asVoter,proto3" json:"as_voter,omitempty"` // as_observer is whether the node should be added as an observer. They will receive // updates to the storage, but not be able to vote in elections. AsObserver bool `protobuf:"varint,10,opt,name=as_observer,json=asObserver,proto3" json:"as_observer,omitempty"` // routes is a list of routes to advertise to peers. The request will be denied // if the node is not allowed to put routes. Routes []string `protobuf:"bytes,11,rep,name=routes,proto3" json:"routes,omitempty"` // direct_peers is a map of extra peers that should be connected to directly over relays. // The provided edge attribute is the callers preference of how the relay should be created. // The request will be denied if the node is not allowed to put data channels or edges. // The default joining behavior creates direct links between the caller and the joiner. // If the caller has a primary endpoint, the joiner will link the caller to all // other nodes with a primary endpoint. If the caller has a zone awareness ID, // the joiner will link the caller to all other nodes with the same zone awareness ID // that also have a primary endpoint. DirectPeers map[string]ConnectProtocol `` /* 208-byte string literal not displayed */ // features is a list of features supported by the node that should be advertised to peers // and the port they are available on. Features []*FeaturePort `protobuf:"bytes,13,rep,name=features,proto3" json:"features,omitempty"` // multiaddrs are libp2p multiaddresses this node is listening on. Multiaddrs []string `protobuf:"bytes,14,rep,name=multiaddrs,proto3" json:"multiaddrs,omitempty"` // contains filtered or unexported fields }
JoinRequest is a request to join the cluster.
func (*JoinRequest) DeepCopy ¶ added in v0.6.2
func (in *JoinRequest) DeepCopy() *JoinRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinRequest. Required by controller-gen.
func (*JoinRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *JoinRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new JoinRequest. Required by controller-gen.
func (*JoinRequest) DeepCopyInto ¶ added in v0.6.2
func (in *JoinRequest) DeepCopyInto(out *JoinRequest)
DeepCopyInto supports using JoinRequest within kubernetes types, where deepcopy-gen is used.
func (*JoinRequest) Descriptor
deprecated
func (*JoinRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinRequest.ProtoReflect.Descriptor instead.
func (*JoinRequest) GetAsObserver ¶ added in v0.2.2
func (x *JoinRequest) GetAsObserver() bool
func (*JoinRequest) GetAsVoter ¶
func (x *JoinRequest) GetAsVoter() bool
func (*JoinRequest) GetAssignIpv4 ¶
func (x *JoinRequest) GetAssignIpv4() bool
func (*JoinRequest) GetDirectPeers ¶ added in v0.1.3
func (x *JoinRequest) GetDirectPeers() map[string]ConnectProtocol
func (*JoinRequest) GetFeatures ¶ added in v0.2.1
func (x *JoinRequest) GetFeatures() []*FeaturePort
func (*JoinRequest) GetId ¶
func (x *JoinRequest) GetId() string
func (*JoinRequest) GetMultiaddrs ¶ added in v0.4.0
func (x *JoinRequest) GetMultiaddrs() []string
func (*JoinRequest) GetPreferStorageIpv6 ¶ added in v0.4.0
func (x *JoinRequest) GetPreferStorageIpv6() bool
func (*JoinRequest) GetPrimaryEndpoint ¶
func (x *JoinRequest) GetPrimaryEndpoint() string
func (*JoinRequest) GetPublicKey ¶
func (x *JoinRequest) GetPublicKey() string
func (*JoinRequest) GetRoutes ¶
func (x *JoinRequest) GetRoutes() []string
func (*JoinRequest) GetWireguardEndpoints ¶
func (x *JoinRequest) GetWireguardEndpoints() []string
func (*JoinRequest) GetZoneAwarenessId ¶
func (x *JoinRequest) GetZoneAwarenessId() string
func (*JoinRequest) ProtoMessage ¶
func (*JoinRequest) ProtoMessage()
func (*JoinRequest) ProtoReflect ¶
func (x *JoinRequest) ProtoReflect() protoreflect.Message
func (*JoinRequest) Reset ¶
func (x *JoinRequest) Reset()
func (*JoinRequest) String ¶
func (x *JoinRequest) String() string
func (*JoinRequest) Validate ¶ added in v0.6.2
func (m *JoinRequest) Validate() error
Validate checks the field values on JoinRequest 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 (*JoinRequest) ValidateAll ¶ added in v0.6.2
func (m *JoinRequest) ValidateAll() error
ValidateAll checks the field values on JoinRequest 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 JoinRequestMultiError, or nil if none found.
type JoinRequestMultiError ¶ added in v0.6.2
type JoinRequestMultiError []error
JoinRequestMultiError is an error wrapping multiple validation errors returned by JoinRequest.ValidateAll() if the designated constraints aren't met.
func (JoinRequestMultiError) AllErrors ¶ added in v0.6.2
func (m JoinRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JoinRequestMultiError) Error ¶ added in v0.6.2
func (m JoinRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JoinRequestValidationError ¶ added in v0.6.2
type JoinRequestValidationError struct {
// contains filtered or unexported fields
}
JoinRequestValidationError is the validation error returned by JoinRequest.Validate if the designated constraints aren't met.
func (JoinRequestValidationError) Cause ¶ added in v0.6.2
func (e JoinRequestValidationError) Cause() error
Cause function returns cause value.
func (JoinRequestValidationError) Error ¶ added in v0.6.2
func (e JoinRequestValidationError) Error() string
Error satisfies the builtin error interface
func (JoinRequestValidationError) ErrorName ¶ added in v0.6.2
func (e JoinRequestValidationError) ErrorName() string
ErrorName returns error name.
func (JoinRequestValidationError) Field ¶ added in v0.6.2
func (e JoinRequestValidationError) Field() string
Field function returns field value.
func (JoinRequestValidationError) Key ¶ added in v0.6.2
func (e JoinRequestValidationError) Key() bool
Key function returns key value.
func (JoinRequestValidationError) Reason ¶ added in v0.6.2
func (e JoinRequestValidationError) Reason() string
Reason function returns reason value.
type JoinResponse ¶
type JoinResponse struct { // address_ipv4 is the private IPv4 wireguard address of the node // in CIDR format representing the network. This is only set if // assign_ipv4 was set in the request or no network_ipv6 was provided. // The bits are set to the network bits of the Mesh IPv4 network. AddressIpv4 string `protobuf:"bytes,1,opt,name=address_ipv4,json=addressIpv4,proto3" json:"address_ipv4,omitempty"` // address_ipv6 is the IPv6 network assigned to the node. AddressIpv6 string `protobuf:"bytes,2,opt,name=address_ipv6,json=addressIpv6,proto3" json:"address_ipv6,omitempty"` // network_ipv4 is the IPv4 network of the Mesh. NetworkIpv4 string `protobuf:"bytes,3,opt,name=network_ipv4,json=networkIpv4,proto3" json:"network_ipv4,omitempty"` // network_ipv6 is the IPv6 network of the Mesh. NetworkIpv6 string `protobuf:"bytes,4,opt,name=network_ipv6,json=networkIpv6,proto3" json:"network_ipv6,omitempty"` // peers is a list of wireguard peers to connect to. Peers []*WireGuardPeer `protobuf:"bytes,5,rep,name=peers,proto3" json:"peers,omitempty"` // ice_servers is a list of public nodes that can be used to negotiate // ICE connections if required. This may only be populated when one of // the peers has the ICE flag set. This must be set if the requestor // specifies direct_peers. IceServers []string `protobuf:"bytes,6,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` // dns_servers is a list of peers offering DNS services. DnsServers []string `protobuf:"bytes,7,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"` // mesh_domain is the domain of the mesh. MeshDomain string `protobuf:"bytes,8,opt,name=mesh_domain,json=meshDomain,proto3" json:"mesh_domain,omitempty"` // contains filtered or unexported fields }
JoinResponse is a response to a join request.
func (*JoinResponse) DeepCopy ¶ added in v0.6.2
func (in *JoinResponse) DeepCopy() *JoinResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinResponse. Required by controller-gen.
func (*JoinResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *JoinResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new JoinResponse. Required by controller-gen.
func (*JoinResponse) DeepCopyInto ¶ added in v0.6.2
func (in *JoinResponse) DeepCopyInto(out *JoinResponse)
DeepCopyInto supports using JoinResponse within kubernetes types, where deepcopy-gen is used.
func (*JoinResponse) Descriptor
deprecated
func (*JoinResponse) Descriptor() ([]byte, []int)
Deprecated: Use JoinResponse.ProtoReflect.Descriptor instead.
func (*JoinResponse) GetAddressIpv4 ¶
func (x *JoinResponse) GetAddressIpv4() string
func (*JoinResponse) GetAddressIpv6 ¶
func (x *JoinResponse) GetAddressIpv6() string
func (*JoinResponse) GetDnsServers ¶ added in v0.2.1
func (x *JoinResponse) GetDnsServers() []string
func (*JoinResponse) GetIceServers ¶ added in v0.1.3
func (x *JoinResponse) GetIceServers() []string
func (*JoinResponse) GetMeshDomain ¶ added in v0.2.0
func (x *JoinResponse) GetMeshDomain() string
func (*JoinResponse) GetNetworkIpv4 ¶ added in v0.1.4
func (x *JoinResponse) GetNetworkIpv4() string
func (*JoinResponse) GetNetworkIpv6 ¶
func (x *JoinResponse) GetNetworkIpv6() string
func (*JoinResponse) GetPeers ¶
func (x *JoinResponse) GetPeers() []*WireGuardPeer
func (*JoinResponse) ProtoMessage ¶
func (*JoinResponse) ProtoMessage()
func (*JoinResponse) ProtoReflect ¶
func (x *JoinResponse) ProtoReflect() protoreflect.Message
func (*JoinResponse) Reset ¶
func (x *JoinResponse) Reset()
func (*JoinResponse) String ¶
func (x *JoinResponse) String() string
func (*JoinResponse) Validate ¶ added in v0.6.2
func (m *JoinResponse) Validate() error
Validate checks the field values on JoinResponse 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 (*JoinResponse) ValidateAll ¶ added in v0.6.2
func (m *JoinResponse) ValidateAll() error
ValidateAll checks the field values on JoinResponse 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 JoinResponseMultiError, or nil if none found.
type JoinResponseMultiError ¶ added in v0.6.2
type JoinResponseMultiError []error
JoinResponseMultiError is an error wrapping multiple validation errors returned by JoinResponse.ValidateAll() if the designated constraints aren't met.
func (JoinResponseMultiError) AllErrors ¶ added in v0.6.2
func (m JoinResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JoinResponseMultiError) Error ¶ added in v0.6.2
func (m JoinResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JoinResponseValidationError ¶ added in v0.6.2
type JoinResponseValidationError struct {
// contains filtered or unexported fields
}
JoinResponseValidationError is the validation error returned by JoinResponse.Validate if the designated constraints aren't met.
func (JoinResponseValidationError) Cause ¶ added in v0.6.2
func (e JoinResponseValidationError) Cause() error
Cause function returns cause value.
func (JoinResponseValidationError) Error ¶ added in v0.6.2
func (e JoinResponseValidationError) Error() string
Error satisfies the builtin error interface
func (JoinResponseValidationError) ErrorName ¶ added in v0.6.2
func (e JoinResponseValidationError) ErrorName() string
ErrorName returns error name.
func (JoinResponseValidationError) Field ¶ added in v0.6.2
func (e JoinResponseValidationError) Field() string
Field function returns field value.
func (JoinResponseValidationError) Key ¶ added in v0.6.2
func (e JoinResponseValidationError) Key() bool
Key function returns key value.
func (JoinResponseValidationError) Reason ¶ added in v0.6.2
func (e JoinResponseValidationError) Reason() string
Reason function returns reason value.
type LeaveDHTRequest ¶ added in v0.2.4
type LeaveDHTRequest struct { // PSK is the pre-shared key that was used to join the DHT. Psk string `protobuf:"bytes,1,opt,name=psk,proto3" json:"psk,omitempty"` // contains filtered or unexported fields }
LeaveDHTRequest is sent by the application to the node to leave the Kademlia DHT.
func (*LeaveDHTRequest) DeepCopy ¶ added in v0.6.2
func (in *LeaveDHTRequest) DeepCopy() *LeaveDHTRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaveDHTRequest. Required by controller-gen.
func (*LeaveDHTRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *LeaveDHTRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LeaveDHTRequest. Required by controller-gen.
func (*LeaveDHTRequest) DeepCopyInto ¶ added in v0.6.2
func (in *LeaveDHTRequest) DeepCopyInto(out *LeaveDHTRequest)
DeepCopyInto supports using LeaveDHTRequest within kubernetes types, where deepcopy-gen is used.
func (*LeaveDHTRequest) Descriptor
deprecated
added in
v0.2.4
func (*LeaveDHTRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaveDHTRequest.ProtoReflect.Descriptor instead.
func (*LeaveDHTRequest) GetPsk ¶ added in v0.2.4
func (x *LeaveDHTRequest) GetPsk() string
func (*LeaveDHTRequest) ProtoMessage ¶ added in v0.2.4
func (*LeaveDHTRequest) ProtoMessage()
func (*LeaveDHTRequest) ProtoReflect ¶ added in v0.2.4
func (x *LeaveDHTRequest) ProtoReflect() protoreflect.Message
func (*LeaveDHTRequest) Reset ¶ added in v0.2.4
func (x *LeaveDHTRequest) Reset()
func (*LeaveDHTRequest) String ¶ added in v0.2.4
func (x *LeaveDHTRequest) String() string
func (*LeaveDHTRequest) Validate ¶ added in v0.6.2
func (m *LeaveDHTRequest) Validate() error
Validate checks the field values on LeaveDHTRequest 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 (*LeaveDHTRequest) ValidateAll ¶ added in v0.6.2
func (m *LeaveDHTRequest) ValidateAll() error
ValidateAll checks the field values on LeaveDHTRequest 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 LeaveDHTRequestMultiError, or nil if none found.
type LeaveDHTRequestMultiError ¶ added in v0.6.2
type LeaveDHTRequestMultiError []error
LeaveDHTRequestMultiError is an error wrapping multiple validation errors returned by LeaveDHTRequest.ValidateAll() if the designated constraints aren't met.
func (LeaveDHTRequestMultiError) AllErrors ¶ added in v0.6.2
func (m LeaveDHTRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LeaveDHTRequestMultiError) Error ¶ added in v0.6.2
func (m LeaveDHTRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LeaveDHTRequestValidationError ¶ added in v0.6.2
type LeaveDHTRequestValidationError struct {
// contains filtered or unexported fields
}
LeaveDHTRequestValidationError is the validation error returned by LeaveDHTRequest.Validate if the designated constraints aren't met.
func (LeaveDHTRequestValidationError) Cause ¶ added in v0.6.2
func (e LeaveDHTRequestValidationError) Cause() error
Cause function returns cause value.
func (LeaveDHTRequestValidationError) Error ¶ added in v0.6.2
func (e LeaveDHTRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LeaveDHTRequestValidationError) ErrorName ¶ added in v0.6.2
func (e LeaveDHTRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LeaveDHTRequestValidationError) Field ¶ added in v0.6.2
func (e LeaveDHTRequestValidationError) Field() string
Field function returns field value.
func (LeaveDHTRequestValidationError) Key ¶ added in v0.6.2
func (e LeaveDHTRequestValidationError) Key() bool
Key function returns key value.
func (LeaveDHTRequestValidationError) Reason ¶ added in v0.6.2
func (e LeaveDHTRequestValidationError) Reason() string
Reason function returns reason value.
type LeaveDHTResponse ¶ added in v0.2.4
type LeaveDHTResponse struct {
// contains filtered or unexported fields
}
LeaveDHTResponse is returned by the LeaveDHT RPC.
func (*LeaveDHTResponse) DeepCopy ¶ added in v0.6.2
func (in *LeaveDHTResponse) DeepCopy() *LeaveDHTResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaveDHTResponse. Required by controller-gen.
func (*LeaveDHTResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *LeaveDHTResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LeaveDHTResponse. Required by controller-gen.
func (*LeaveDHTResponse) DeepCopyInto ¶ added in v0.6.2
func (in *LeaveDHTResponse) DeepCopyInto(out *LeaveDHTResponse)
DeepCopyInto supports using LeaveDHTResponse within kubernetes types, where deepcopy-gen is used.
func (*LeaveDHTResponse) Descriptor
deprecated
added in
v0.2.4
func (*LeaveDHTResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeaveDHTResponse.ProtoReflect.Descriptor instead.
func (*LeaveDHTResponse) ProtoMessage ¶ added in v0.2.4
func (*LeaveDHTResponse) ProtoMessage()
func (*LeaveDHTResponse) ProtoReflect ¶ added in v0.2.4
func (x *LeaveDHTResponse) ProtoReflect() protoreflect.Message
func (*LeaveDHTResponse) Reset ¶ added in v0.2.4
func (x *LeaveDHTResponse) Reset()
func (*LeaveDHTResponse) String ¶ added in v0.2.4
func (x *LeaveDHTResponse) String() string
func (*LeaveDHTResponse) Validate ¶ added in v0.6.2
func (m *LeaveDHTResponse) Validate() error
Validate checks the field values on LeaveDHTResponse 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 (*LeaveDHTResponse) ValidateAll ¶ added in v0.6.2
func (m *LeaveDHTResponse) ValidateAll() error
ValidateAll checks the field values on LeaveDHTResponse 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 LeaveDHTResponseMultiError, or nil if none found.
type LeaveDHTResponseMultiError ¶ added in v0.6.2
type LeaveDHTResponseMultiError []error
LeaveDHTResponseMultiError is an error wrapping multiple validation errors returned by LeaveDHTResponse.ValidateAll() if the designated constraints aren't met.
func (LeaveDHTResponseMultiError) AllErrors ¶ added in v0.6.2
func (m LeaveDHTResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LeaveDHTResponseMultiError) Error ¶ added in v0.6.2
func (m LeaveDHTResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LeaveDHTResponseValidationError ¶ added in v0.6.2
type LeaveDHTResponseValidationError struct {
// contains filtered or unexported fields
}
LeaveDHTResponseValidationError is the validation error returned by LeaveDHTResponse.Validate if the designated constraints aren't met.
func (LeaveDHTResponseValidationError) Cause ¶ added in v0.6.2
func (e LeaveDHTResponseValidationError) Cause() error
Cause function returns cause value.
func (LeaveDHTResponseValidationError) Error ¶ added in v0.6.2
func (e LeaveDHTResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LeaveDHTResponseValidationError) ErrorName ¶ added in v0.6.2
func (e LeaveDHTResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LeaveDHTResponseValidationError) Field ¶ added in v0.6.2
func (e LeaveDHTResponseValidationError) Field() string
Field function returns field value.
func (LeaveDHTResponseValidationError) Key ¶ added in v0.6.2
func (e LeaveDHTResponseValidationError) Key() bool
Key function returns key value.
func (LeaveDHTResponseValidationError) Reason ¶ added in v0.6.2
func (e LeaveDHTResponseValidationError) Reason() string
Reason function returns reason value.
type LeaveRequest ¶
type LeaveRequest struct { // id is the ID of the node. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
LeaveRequest is a request to leave the cluster.
func (*LeaveRequest) DeepCopy ¶ added in v0.6.2
func (in *LeaveRequest) DeepCopy() *LeaveRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaveRequest. Required by controller-gen.
func (*LeaveRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *LeaveRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LeaveRequest. Required by controller-gen.
func (*LeaveRequest) DeepCopyInto ¶ added in v0.6.2
func (in *LeaveRequest) DeepCopyInto(out *LeaveRequest)
DeepCopyInto supports using LeaveRequest within kubernetes types, where deepcopy-gen is used.
func (*LeaveRequest) Descriptor
deprecated
func (*LeaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaveRequest.ProtoReflect.Descriptor instead.
func (*LeaveRequest) GetId ¶
func (x *LeaveRequest) GetId() string
func (*LeaveRequest) ProtoMessage ¶
func (*LeaveRequest) ProtoMessage()
func (*LeaveRequest) ProtoReflect ¶
func (x *LeaveRequest) ProtoReflect() protoreflect.Message
func (*LeaveRequest) Reset ¶
func (x *LeaveRequest) Reset()
func (*LeaveRequest) String ¶
func (x *LeaveRequest) String() string
func (*LeaveRequest) Validate ¶ added in v0.6.2
func (m *LeaveRequest) Validate() error
Validate checks the field values on LeaveRequest 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 (*LeaveRequest) ValidateAll ¶ added in v0.6.2
func (m *LeaveRequest) ValidateAll() error
ValidateAll checks the field values on LeaveRequest 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 LeaveRequestMultiError, or nil if none found.
type LeaveRequestMultiError ¶ added in v0.6.2
type LeaveRequestMultiError []error
LeaveRequestMultiError is an error wrapping multiple validation errors returned by LeaveRequest.ValidateAll() if the designated constraints aren't met.
func (LeaveRequestMultiError) AllErrors ¶ added in v0.6.2
func (m LeaveRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LeaveRequestMultiError) Error ¶ added in v0.6.2
func (m LeaveRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LeaveRequestValidationError ¶ added in v0.6.2
type LeaveRequestValidationError struct {
// contains filtered or unexported fields
}
LeaveRequestValidationError is the validation error returned by LeaveRequest.Validate if the designated constraints aren't met.
func (LeaveRequestValidationError) Cause ¶ added in v0.6.2
func (e LeaveRequestValidationError) Cause() error
Cause function returns cause value.
func (LeaveRequestValidationError) Error ¶ added in v0.6.2
func (e LeaveRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LeaveRequestValidationError) ErrorName ¶ added in v0.6.2
func (e LeaveRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LeaveRequestValidationError) Field ¶ added in v0.6.2
func (e LeaveRequestValidationError) Field() string
Field function returns field value.
func (LeaveRequestValidationError) Key ¶ added in v0.6.2
func (e LeaveRequestValidationError) Key() bool
Key function returns key value.
func (LeaveRequestValidationError) Reason ¶ added in v0.6.2
func (e LeaveRequestValidationError) Reason() string
Reason function returns reason value.
type LeaveResponse ¶ added in v0.2.2
type LeaveResponse struct {
// contains filtered or unexported fields
}
LeaveResponse is a response to a leave request. It is currently empty.
func (*LeaveResponse) DeepCopy ¶ added in v0.6.2
func (in *LeaveResponse) DeepCopy() *LeaveResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaveResponse. Required by controller-gen.
func (*LeaveResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *LeaveResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LeaveResponse. Required by controller-gen.
func (*LeaveResponse) DeepCopyInto ¶ added in v0.6.2
func (in *LeaveResponse) DeepCopyInto(out *LeaveResponse)
DeepCopyInto supports using LeaveResponse within kubernetes types, where deepcopy-gen is used.
func (*LeaveResponse) Descriptor
deprecated
added in
v0.2.2
func (*LeaveResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeaveResponse.ProtoReflect.Descriptor instead.
func (*LeaveResponse) ProtoMessage ¶ added in v0.2.2
func (*LeaveResponse) ProtoMessage()
func (*LeaveResponse) ProtoReflect ¶ added in v0.2.2
func (x *LeaveResponse) ProtoReflect() protoreflect.Message
func (*LeaveResponse) Reset ¶ added in v0.2.2
func (x *LeaveResponse) Reset()
func (*LeaveResponse) String ¶ added in v0.2.2
func (x *LeaveResponse) String() string
func (*LeaveResponse) Validate ¶ added in v0.6.2
func (m *LeaveResponse) Validate() error
Validate checks the field values on LeaveResponse 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 (*LeaveResponse) ValidateAll ¶ added in v0.6.2
func (m *LeaveResponse) ValidateAll() error
ValidateAll checks the field values on LeaveResponse 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 LeaveResponseMultiError, or nil if none found.
type LeaveResponseMultiError ¶ added in v0.6.2
type LeaveResponseMultiError []error
LeaveResponseMultiError is an error wrapping multiple validation errors returned by LeaveResponse.ValidateAll() if the designated constraints aren't met.
func (LeaveResponseMultiError) AllErrors ¶ added in v0.6.2
func (m LeaveResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LeaveResponseMultiError) Error ¶ added in v0.6.2
func (m LeaveResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LeaveResponseValidationError ¶ added in v0.6.2
type LeaveResponseValidationError struct {
// contains filtered or unexported fields
}
LeaveResponseValidationError is the validation error returned by LeaveResponse.Validate if the designated constraints aren't met.
func (LeaveResponseValidationError) Cause ¶ added in v0.6.2
func (e LeaveResponseValidationError) Cause() error
Cause function returns cause value.
func (LeaveResponseValidationError) Error ¶ added in v0.6.2
func (e LeaveResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LeaveResponseValidationError) ErrorName ¶ added in v0.6.2
func (e LeaveResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LeaveResponseValidationError) Field ¶ added in v0.6.2
func (e LeaveResponseValidationError) Field() string
Field function returns field value.
func (LeaveResponseValidationError) Key ¶ added in v0.6.2
func (e LeaveResponseValidationError) Key() bool
Key function returns key value.
func (LeaveResponseValidationError) Reason ¶ added in v0.6.2
func (e LeaveResponseValidationError) Reason() string
Reason function returns reason value.
type ListKeysRequest ¶ added in v0.4.0
type ListKeysRequest struct { // Prefix is the prefix to list values for. Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
ListKeysRequest is the request object for the ListValues RPC.
func (*ListKeysRequest) DeepCopy ¶ added in v0.6.2
func (in *ListKeysRequest) DeepCopy() *ListKeysRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListKeysRequest. Required by controller-gen.
func (*ListKeysRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *ListKeysRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListKeysRequest. Required by controller-gen.
func (*ListKeysRequest) DeepCopyInto ¶ added in v0.6.2
func (in *ListKeysRequest) DeepCopyInto(out *ListKeysRequest)
DeepCopyInto supports using ListKeysRequest within kubernetes types, where deepcopy-gen is used.
func (*ListKeysRequest) Descriptor
deprecated
added in
v0.4.0
func (*ListKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListKeysRequest.ProtoReflect.Descriptor instead.
func (*ListKeysRequest) GetPrefix ¶ added in v0.4.0
func (x *ListKeysRequest) GetPrefix() []byte
func (*ListKeysRequest) ProtoMessage ¶ added in v0.4.0
func (*ListKeysRequest) ProtoMessage()
func (*ListKeysRequest) ProtoReflect ¶ added in v0.4.0
func (x *ListKeysRequest) ProtoReflect() protoreflect.Message
func (*ListKeysRequest) Reset ¶ added in v0.4.0
func (x *ListKeysRequest) Reset()
func (*ListKeysRequest) String ¶ added in v0.4.0
func (x *ListKeysRequest) String() string
func (*ListKeysRequest) Validate ¶ added in v0.6.2
func (m *ListKeysRequest) Validate() error
Validate checks the field values on ListKeysRequest 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 (*ListKeysRequest) ValidateAll ¶ added in v0.6.2
func (m *ListKeysRequest) ValidateAll() error
ValidateAll checks the field values on ListKeysRequest 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 ListKeysRequestMultiError, or nil if none found.
type ListKeysRequestMultiError ¶ added in v0.6.2
type ListKeysRequestMultiError []error
ListKeysRequestMultiError is an error wrapping multiple validation errors returned by ListKeysRequest.ValidateAll() if the designated constraints aren't met.
func (ListKeysRequestMultiError) AllErrors ¶ added in v0.6.2
func (m ListKeysRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListKeysRequestMultiError) Error ¶ added in v0.6.2
func (m ListKeysRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListKeysRequestValidationError ¶ added in v0.6.2
type ListKeysRequestValidationError struct {
// contains filtered or unexported fields
}
ListKeysRequestValidationError is the validation error returned by ListKeysRequest.Validate if the designated constraints aren't met.
func (ListKeysRequestValidationError) Cause ¶ added in v0.6.2
func (e ListKeysRequestValidationError) Cause() error
Cause function returns cause value.
func (ListKeysRequestValidationError) Error ¶ added in v0.6.2
func (e ListKeysRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListKeysRequestValidationError) ErrorName ¶ added in v0.6.2
func (e ListKeysRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListKeysRequestValidationError) Field ¶ added in v0.6.2
func (e ListKeysRequestValidationError) Field() string
Field function returns field value.
func (ListKeysRequestValidationError) Key ¶ added in v0.6.2
func (e ListKeysRequestValidationError) Key() bool
Key function returns key value.
func (ListKeysRequestValidationError) Reason ¶ added in v0.6.2
func (e ListKeysRequestValidationError) Reason() string
Reason function returns reason value.
type ListKeysResponse ¶ added in v0.4.0
type ListKeysResponse struct { // Keys is the list of value keys for the prefix. Keys [][]byte `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
ListKeysResponse is the response object for the ListValues RPC.
func (*ListKeysResponse) DeepCopy ¶ added in v0.6.2
func (in *ListKeysResponse) DeepCopy() *ListKeysResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListKeysResponse. Required by controller-gen.
func (*ListKeysResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *ListKeysResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListKeysResponse. Required by controller-gen.
func (*ListKeysResponse) DeepCopyInto ¶ added in v0.6.2
func (in *ListKeysResponse) DeepCopyInto(out *ListKeysResponse)
DeepCopyInto supports using ListKeysResponse within kubernetes types, where deepcopy-gen is used.
func (*ListKeysResponse) Descriptor
deprecated
added in
v0.4.0
func (*ListKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListKeysResponse.ProtoReflect.Descriptor instead.
func (*ListKeysResponse) GetKeys ¶ added in v0.4.0
func (x *ListKeysResponse) GetKeys() [][]byte
func (*ListKeysResponse) ProtoMessage ¶ added in v0.4.0
func (*ListKeysResponse) ProtoMessage()
func (*ListKeysResponse) ProtoReflect ¶ added in v0.4.0
func (x *ListKeysResponse) ProtoReflect() protoreflect.Message
func (*ListKeysResponse) Reset ¶ added in v0.4.0
func (x *ListKeysResponse) Reset()
func (*ListKeysResponse) String ¶ added in v0.4.0
func (x *ListKeysResponse) String() string
func (*ListKeysResponse) Validate ¶ added in v0.6.2
func (m *ListKeysResponse) Validate() error
Validate checks the field values on ListKeysResponse 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 (*ListKeysResponse) ValidateAll ¶ added in v0.6.2
func (m *ListKeysResponse) ValidateAll() error
ValidateAll checks the field values on ListKeysResponse 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 ListKeysResponseMultiError, or nil if none found.
type ListKeysResponseMultiError ¶ added in v0.6.2
type ListKeysResponseMultiError []error
ListKeysResponseMultiError is an error wrapping multiple validation errors returned by ListKeysResponse.ValidateAll() if the designated constraints aren't met.
func (ListKeysResponseMultiError) AllErrors ¶ added in v0.6.2
func (m ListKeysResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListKeysResponseMultiError) Error ¶ added in v0.6.2
func (m ListKeysResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListKeysResponseValidationError ¶ added in v0.6.2
type ListKeysResponseValidationError struct {
// contains filtered or unexported fields
}
ListKeysResponseValidationError is the validation error returned by ListKeysResponse.Validate if the designated constraints aren't met.
func (ListKeysResponseValidationError) Cause ¶ added in v0.6.2
func (e ListKeysResponseValidationError) Cause() error
Cause function returns cause value.
func (ListKeysResponseValidationError) Error ¶ added in v0.6.2
func (e ListKeysResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListKeysResponseValidationError) ErrorName ¶ added in v0.6.2
func (e ListKeysResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListKeysResponseValidationError) Field ¶ added in v0.6.2
func (e ListKeysResponseValidationError) Field() string
Field function returns field value.
func (ListKeysResponseValidationError) Key ¶ added in v0.6.2
func (e ListKeysResponseValidationError) Key() bool
Key function returns key value.
func (ListKeysResponseValidationError) Reason ¶ added in v0.6.2
func (e ListKeysResponseValidationError) Reason() string
Reason function returns reason value.
type ListValuesRequest ¶ added in v0.4.0
type ListValuesRequest struct { // Prefix is the prefix to list values for. Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
ListValuesRequest is the request object for the ListValues RPC.
func (*ListValuesRequest) DeepCopy ¶ added in v0.6.2
func (in *ListValuesRequest) DeepCopy() *ListValuesRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListValuesRequest. Required by controller-gen.
func (*ListValuesRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *ListValuesRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListValuesRequest. Required by controller-gen.
func (*ListValuesRequest) DeepCopyInto ¶ added in v0.6.2
func (in *ListValuesRequest) DeepCopyInto(out *ListValuesRequest)
DeepCopyInto supports using ListValuesRequest within kubernetes types, where deepcopy-gen is used.
func (*ListValuesRequest) Descriptor
deprecated
added in
v0.4.0
func (*ListValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListValuesRequest.ProtoReflect.Descriptor instead.
func (*ListValuesRequest) GetPrefix ¶ added in v0.4.0
func (x *ListValuesRequest) GetPrefix() []byte
func (*ListValuesRequest) ProtoMessage ¶ added in v0.4.0
func (*ListValuesRequest) ProtoMessage()
func (*ListValuesRequest) ProtoReflect ¶ added in v0.4.0
func (x *ListValuesRequest) ProtoReflect() protoreflect.Message
func (*ListValuesRequest) Reset ¶ added in v0.4.0
func (x *ListValuesRequest) Reset()
func (*ListValuesRequest) String ¶ added in v0.4.0
func (x *ListValuesRequest) String() string
func (*ListValuesRequest) Validate ¶ added in v0.6.2
func (m *ListValuesRequest) Validate() error
Validate checks the field values on ListValuesRequest 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 (*ListValuesRequest) ValidateAll ¶ added in v0.6.2
func (m *ListValuesRequest) ValidateAll() error
ValidateAll checks the field values on ListValuesRequest 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 ListValuesRequestMultiError, or nil if none found.
type ListValuesRequestMultiError ¶ added in v0.6.2
type ListValuesRequestMultiError []error
ListValuesRequestMultiError is an error wrapping multiple validation errors returned by ListValuesRequest.ValidateAll() if the designated constraints aren't met.
func (ListValuesRequestMultiError) AllErrors ¶ added in v0.6.2
func (m ListValuesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListValuesRequestMultiError) Error ¶ added in v0.6.2
func (m ListValuesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListValuesRequestValidationError ¶ added in v0.6.2
type ListValuesRequestValidationError struct {
// contains filtered or unexported fields
}
ListValuesRequestValidationError is the validation error returned by ListValuesRequest.Validate if the designated constraints aren't met.
func (ListValuesRequestValidationError) Cause ¶ added in v0.6.2
func (e ListValuesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListValuesRequestValidationError) Error ¶ added in v0.6.2
func (e ListValuesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListValuesRequestValidationError) ErrorName ¶ added in v0.6.2
func (e ListValuesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListValuesRequestValidationError) Field ¶ added in v0.6.2
func (e ListValuesRequestValidationError) Field() string
Field function returns field value.
func (ListValuesRequestValidationError) Key ¶ added in v0.6.2
func (e ListValuesRequestValidationError) Key() bool
Key function returns key value.
func (ListValuesRequestValidationError) Reason ¶ added in v0.6.2
func (e ListValuesRequestValidationError) Reason() string
Reason function returns reason value.
type ListValuesResponse ¶ added in v0.4.0
type ListValuesResponse struct { // Values is the list of values for the prefix. Values []*StorageValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
ListValuesResponse is the response object for the ListValues RPC.
func (*ListValuesResponse) DeepCopy ¶ added in v0.6.2
func (in *ListValuesResponse) DeepCopy() *ListValuesResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListValuesResponse. Required by controller-gen.
func (*ListValuesResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *ListValuesResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListValuesResponse. Required by controller-gen.
func (*ListValuesResponse) DeepCopyInto ¶ added in v0.6.2
func (in *ListValuesResponse) DeepCopyInto(out *ListValuesResponse)
DeepCopyInto supports using ListValuesResponse within kubernetes types, where deepcopy-gen is used.
func (*ListValuesResponse) Descriptor
deprecated
added in
v0.4.0
func (*ListValuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListValuesResponse.ProtoReflect.Descriptor instead.
func (*ListValuesResponse) GetValues ¶ added in v0.4.0
func (x *ListValuesResponse) GetValues() []*StorageValue
func (*ListValuesResponse) ProtoMessage ¶ added in v0.4.0
func (*ListValuesResponse) ProtoMessage()
func (*ListValuesResponse) ProtoReflect ¶ added in v0.4.0
func (x *ListValuesResponse) ProtoReflect() protoreflect.Message
func (*ListValuesResponse) Reset ¶ added in v0.4.0
func (x *ListValuesResponse) Reset()
func (*ListValuesResponse) String ¶ added in v0.4.0
func (x *ListValuesResponse) String() string
func (*ListValuesResponse) Validate ¶ added in v0.6.2
func (m *ListValuesResponse) Validate() error
Validate checks the field values on ListValuesResponse 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 (*ListValuesResponse) ValidateAll ¶ added in v0.6.2
func (m *ListValuesResponse) ValidateAll() error
ValidateAll checks the field values on ListValuesResponse 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 ListValuesResponseMultiError, or nil if none found.
type ListValuesResponseMultiError ¶ added in v0.6.2
type ListValuesResponseMultiError []error
ListValuesResponseMultiError is an error wrapping multiple validation errors returned by ListValuesResponse.ValidateAll() if the designated constraints aren't met.
func (ListValuesResponseMultiError) AllErrors ¶ added in v0.6.2
func (m ListValuesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListValuesResponseMultiError) Error ¶ added in v0.6.2
func (m ListValuesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListValuesResponseValidationError ¶ added in v0.6.2
type ListValuesResponseValidationError struct {
// contains filtered or unexported fields
}
ListValuesResponseValidationError is the validation error returned by ListValuesResponse.Validate if the designated constraints aren't met.
func (ListValuesResponseValidationError) Cause ¶ added in v0.6.2
func (e ListValuesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListValuesResponseValidationError) Error ¶ added in v0.6.2
func (e ListValuesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListValuesResponseValidationError) ErrorName ¶ added in v0.6.2
func (e ListValuesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListValuesResponseValidationError) Field ¶ added in v0.6.2
func (e ListValuesResponseValidationError) Field() string
Field function returns field value.
func (ListValuesResponseValidationError) Key ¶ added in v0.6.2
func (e ListValuesResponseValidationError) Key() bool
Key function returns key value.
func (ListValuesResponseValidationError) Reason ¶ added in v0.6.2
func (e ListValuesResponseValidationError) Reason() string
Reason function returns reason value.
type MembershipClient ¶ added in v0.2.2
type MembershipClient interface { // Join is used to join a node to the mesh. Join(ctx context.Context, in *JoinRequest, opts ...grpc.CallOption) (*JoinResponse, error) // Update is used by a node to update its state in the mesh. The node will be updated // in the mesh and will be able to query the mesh state or vote in elections. Only // non-empty fields will be updated. It is almost semantically equivalent to a join request // with the same ID, but redefined to avoid confusion and to allow for expansion. Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) // Leave is used to remove a node from the mesh. The node will be removed from the mesh // and will no longer be able to query the mesh state or vote in elections. Leave(ctx context.Context, in *LeaveRequest, opts ...grpc.CallOption) (*LeaveResponse, error) // SubscribePeers subscribes to the peer configuration for the given node. The node // will receive updates to the peer configuration as it changes. SubscribePeers(ctx context.Context, in *SubscribePeersRequest, opts ...grpc.CallOption) (Membership_SubscribePeersClient, error) // Apply is used by voting nodes to request a log entry be applied to the state machine. // This is only available on the leader, and can only be called by nodes that are allowed // to vote. This is only used by the built-in raft storage implementation. Apply(ctx context.Context, in *RaftLogEntry, opts ...grpc.CallOption) (*RaftApplyResponse, error) // GetStorageConfiguration returns the current Storage configuration. GetStorageConfiguration(ctx context.Context, in *StorageConfigurationRequest, opts ...grpc.CallOption) (*StorageConfigurationResponse, error) }
MembershipClient is the client API for Membership service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMembershipClient ¶ added in v0.2.2
func NewMembershipClient(cc grpc.ClientConnInterface) MembershipClient
type MembershipServer ¶ added in v0.2.2
type MembershipServer interface { // Join is used to join a node to the mesh. Join(context.Context, *JoinRequest) (*JoinResponse, error) // Update is used by a node to update its state in the mesh. The node will be updated // in the mesh and will be able to query the mesh state or vote in elections. Only // non-empty fields will be updated. It is almost semantically equivalent to a join request // with the same ID, but redefined to avoid confusion and to allow for expansion. Update(context.Context, *UpdateRequest) (*UpdateResponse, error) // Leave is used to remove a node from the mesh. The node will be removed from the mesh // and will no longer be able to query the mesh state or vote in elections. Leave(context.Context, *LeaveRequest) (*LeaveResponse, error) // SubscribePeers subscribes to the peer configuration for the given node. The node // will receive updates to the peer configuration as it changes. SubscribePeers(*SubscribePeersRequest, Membership_SubscribePeersServer) error // Apply is used by voting nodes to request a log entry be applied to the state machine. // This is only available on the leader, and can only be called by nodes that are allowed // to vote. This is only used by the built-in raft storage implementation. Apply(context.Context, *RaftLogEntry) (*RaftApplyResponse, error) // GetStorageConfiguration returns the current Storage configuration. GetStorageConfiguration(context.Context, *StorageConfigurationRequest) (*StorageConfigurationResponse, error) // contains filtered or unexported methods }
MembershipServer is the server API for Membership service. All implementations must embed UnimplementedMembershipServer for forward compatibility
type Membership_SubscribePeersClient ¶ added in v0.3.0
type Membership_SubscribePeersClient interface { Recv() (*PeerConfigurations, error) grpc.ClientStream }
type Membership_SubscribePeersServer ¶ added in v0.3.0
type Membership_SubscribePeersServer interface { Send(*PeerConfigurations) error grpc.ServerStream }
type MeshClient ¶
type MeshClient interface { // GetNode gets a node by ID. GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*MeshNode, error) // ListNodes lists all nodes. ListNodes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NodeList, error) // GetMeshGraph fetches the mesh graph. It returns a list of nodes, // edges, and a rendering in the dot format. GetMeshGraph(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MeshGraph, error) }
MeshClient is the client API for Mesh service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMeshClient ¶
func NewMeshClient(cc grpc.ClientConnInterface) MeshClient
type MeshEdge ¶
type MeshEdge struct { // source is the source node. Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // target is the target node. Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // weight is the weight of the edge. Weight int32 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"` // attributes is a list of attributes for the edge. Attributes map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
MeshEdge is an edge between two nodes.
func (*MeshEdge) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshEdge. Required by controller-gen.
func (*MeshEdge) DeepCopyInterface ¶ added in v0.6.2
func (in *MeshEdge) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshEdge. Required by controller-gen.
func (*MeshEdge) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using MeshEdge within kubernetes types, where deepcopy-gen is used.
func (*MeshEdge) Descriptor
deprecated
func (*MeshEdge) GetAttributes ¶ added in v0.1.3
func (*MeshEdge) ProtoMessage ¶
func (*MeshEdge) ProtoMessage()
func (*MeshEdge) ProtoReflect ¶
func (x *MeshEdge) ProtoReflect() protoreflect.Message
func (*MeshEdge) Validate ¶ added in v0.6.2
Validate checks the field values on MeshEdge 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 (*MeshEdge) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on MeshEdge 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 MeshEdgeMultiError, or nil if none found.
type MeshEdgeMultiError ¶ added in v0.6.2
type MeshEdgeMultiError []error
MeshEdgeMultiError is an error wrapping multiple validation errors returned by MeshEdge.ValidateAll() if the designated constraints aren't met.
func (MeshEdgeMultiError) AllErrors ¶ added in v0.6.2
func (m MeshEdgeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MeshEdgeMultiError) Error ¶ added in v0.6.2
func (m MeshEdgeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MeshEdgeValidationError ¶ added in v0.6.2
type MeshEdgeValidationError struct {
// contains filtered or unexported fields
}
MeshEdgeValidationError is the validation error returned by MeshEdge.Validate if the designated constraints aren't met.
func (MeshEdgeValidationError) Cause ¶ added in v0.6.2
func (e MeshEdgeValidationError) Cause() error
Cause function returns cause value.
func (MeshEdgeValidationError) Error ¶ added in v0.6.2
func (e MeshEdgeValidationError) Error() string
Error satisfies the builtin error interface
func (MeshEdgeValidationError) ErrorName ¶ added in v0.6.2
func (e MeshEdgeValidationError) ErrorName() string
ErrorName returns error name.
func (MeshEdgeValidationError) Field ¶ added in v0.6.2
func (e MeshEdgeValidationError) Field() string
Field function returns field value.
func (MeshEdgeValidationError) Key ¶ added in v0.6.2
func (e MeshEdgeValidationError) Key() bool
Key function returns key value.
func (MeshEdgeValidationError) Reason ¶ added in v0.6.2
func (e MeshEdgeValidationError) Reason() string
Reason function returns reason value.
type MeshEdges ¶ added in v0.1.3
type MeshEdges struct { // items is the list of edges. Items []*MeshEdge `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
MeshEdges is a list of edges.
func (*MeshEdges) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshEdges. Required by controller-gen.
func (*MeshEdges) DeepCopyInterface ¶ added in v0.6.2
func (in *MeshEdges) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshEdges. Required by controller-gen.
func (*MeshEdges) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using MeshEdges within kubernetes types, where deepcopy-gen is used.
func (*MeshEdges) Descriptor
deprecated
added in
v0.1.3
func (*MeshEdges) ProtoMessage ¶ added in v0.1.3
func (*MeshEdges) ProtoMessage()
func (*MeshEdges) ProtoReflect ¶ added in v0.1.3
func (x *MeshEdges) ProtoReflect() protoreflect.Message
func (*MeshEdges) Validate ¶ added in v0.6.2
Validate checks the field values on MeshEdges 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 (*MeshEdges) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on MeshEdges 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 MeshEdgesMultiError, or nil if none found.
type MeshEdgesMultiError ¶ added in v0.6.2
type MeshEdgesMultiError []error
MeshEdgesMultiError is an error wrapping multiple validation errors returned by MeshEdges.ValidateAll() if the designated constraints aren't met.
func (MeshEdgesMultiError) AllErrors ¶ added in v0.6.2
func (m MeshEdgesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MeshEdgesMultiError) Error ¶ added in v0.6.2
func (m MeshEdgesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MeshEdgesValidationError ¶ added in v0.6.2
type MeshEdgesValidationError struct {
// contains filtered or unexported fields
}
MeshEdgesValidationError is the validation error returned by MeshEdges.Validate if the designated constraints aren't met.
func (MeshEdgesValidationError) Cause ¶ added in v0.6.2
func (e MeshEdgesValidationError) Cause() error
Cause function returns cause value.
func (MeshEdgesValidationError) Error ¶ added in v0.6.2
func (e MeshEdgesValidationError) Error() string
Error satisfies the builtin error interface
func (MeshEdgesValidationError) ErrorName ¶ added in v0.6.2
func (e MeshEdgesValidationError) ErrorName() string
ErrorName returns error name.
func (MeshEdgesValidationError) Field ¶ added in v0.6.2
func (e MeshEdgesValidationError) Field() string
Field function returns field value.
func (MeshEdgesValidationError) Key ¶ added in v0.6.2
func (e MeshEdgesValidationError) Key() bool
Key function returns key value.
func (MeshEdgesValidationError) Reason ¶ added in v0.6.2
func (e MeshEdgesValidationError) Reason() string
Reason function returns reason value.
type MeshGraph ¶
type MeshGraph struct { // nodes is the list of nodes. Nodes []string `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // edges is the list of edges. Edges []*MeshEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"` // dot is the DOT representation of the graph. Dot string `protobuf:"bytes,3,opt,name=dot,proto3" json:"dot,omitempty"` // contains filtered or unexported fields }
MeshGraph is a graph of nodes.
func (*MeshGraph) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshGraph. Required by controller-gen.
func (*MeshGraph) DeepCopyInterface ¶ added in v0.6.2
func (in *MeshGraph) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshGraph. Required by controller-gen.
func (*MeshGraph) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using MeshGraph within kubernetes types, where deepcopy-gen is used.
func (*MeshGraph) Descriptor
deprecated
func (*MeshGraph) ProtoMessage ¶
func (*MeshGraph) ProtoMessage()
func (*MeshGraph) ProtoReflect ¶
func (x *MeshGraph) ProtoReflect() protoreflect.Message
func (*MeshGraph) Validate ¶ added in v0.6.2
Validate checks the field values on MeshGraph 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 (*MeshGraph) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on MeshGraph 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 MeshGraphMultiError, or nil if none found.
type MeshGraphMultiError ¶ added in v0.6.2
type MeshGraphMultiError []error
MeshGraphMultiError is an error wrapping multiple validation errors returned by MeshGraph.ValidateAll() if the designated constraints aren't met.
func (MeshGraphMultiError) AllErrors ¶ added in v0.6.2
func (m MeshGraphMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MeshGraphMultiError) Error ¶ added in v0.6.2
func (m MeshGraphMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MeshGraphValidationError ¶ added in v0.6.2
type MeshGraphValidationError struct {
// contains filtered or unexported fields
}
MeshGraphValidationError is the validation error returned by MeshGraph.Validate if the designated constraints aren't met.
func (MeshGraphValidationError) Cause ¶ added in v0.6.2
func (e MeshGraphValidationError) Cause() error
Cause function returns cause value.
func (MeshGraphValidationError) Error ¶ added in v0.6.2
func (e MeshGraphValidationError) Error() string
Error satisfies the builtin error interface
func (MeshGraphValidationError) ErrorName ¶ added in v0.6.2
func (e MeshGraphValidationError) ErrorName() string
ErrorName returns error name.
func (MeshGraphValidationError) Field ¶ added in v0.6.2
func (e MeshGraphValidationError) Field() string
Field function returns field value.
func (MeshGraphValidationError) Key ¶ added in v0.6.2
func (e MeshGraphValidationError) Key() bool
Key function returns key value.
func (MeshGraphValidationError) Reason ¶ added in v0.6.2
func (e MeshGraphValidationError) Reason() string
Reason function returns reason value.
type MeshNode ¶
type MeshNode struct { // id is the ID of the node. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // public_key is the public key of the node. PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // primary_endpoint is the primary endpoint of the node. PrimaryEndpoint string `protobuf:"bytes,4,opt,name=primary_endpoint,json=primaryEndpoint,proto3" json:"primary_endpoint,omitempty"` // wireguard_endpoints is a list of WireGuard endpoints for the node. WireguardEndpoints []string `protobuf:"bytes,5,rep,name=wireguard_endpoints,json=wireguardEndpoints,proto3" json:"wireguard_endpoints,omitempty"` // zone_awareness_id is the zone awareness ID of the node. ZoneAwarenessId string `protobuf:"bytes,6,opt,name=zone_awareness_id,json=zoneAwarenessId,proto3" json:"zone_awareness_id,omitempty"` // private_ipv4 is the private IPv4 address of the node. PrivateIpv4 string `protobuf:"bytes,7,opt,name=private_ipv4,json=privateIpv4,proto3" json:"private_ipv4,omitempty"` // private_ipv6 is the private IPv6 address of the node. PrivateIpv6 string `protobuf:"bytes,8,opt,name=private_ipv6,json=privateIpv6,proto3" json:"private_ipv6,omitempty"` // features are a list of features and the ports they are advertised on. Features []*FeaturePort `protobuf:"bytes,9,rep,name=features,proto3" json:"features,omitempty"` // multiaddrs are the multiaddrs of the node. Multiaddrs []string `protobuf:"bytes,10,rep,name=multiaddrs,proto3" json:"multiaddrs,omitempty"` // joined_at is the time the node joined the cluster. JoinedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` // contains filtered or unexported fields }
MeshNode is a node that has been registered with the mesh.
func (*MeshNode) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshNode. Required by controller-gen.
func (*MeshNode) DeepCopyInterface ¶ added in v0.6.2
func (in *MeshNode) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MeshNode. Required by controller-gen.
func (*MeshNode) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using MeshNode within kubernetes types, where deepcopy-gen is used.
func (*MeshNode) Descriptor
deprecated
func (*MeshNode) GetFeatures ¶ added in v0.2.1
func (x *MeshNode) GetFeatures() []*FeaturePort
func (*MeshNode) GetJoinedAt ¶ added in v0.4.0
func (x *MeshNode) GetJoinedAt() *timestamppb.Timestamp
func (*MeshNode) GetMultiaddrs ¶ added in v0.4.0
func (*MeshNode) GetPrimaryEndpoint ¶
func (*MeshNode) GetPrivateIpv4 ¶
func (*MeshNode) GetPrivateIpv6 ¶
func (*MeshNode) GetPublicKey ¶
func (*MeshNode) GetWireguardEndpoints ¶
func (*MeshNode) GetZoneAwarenessId ¶
func (*MeshNode) ProtoMessage ¶
func (*MeshNode) ProtoMessage()
func (*MeshNode) ProtoReflect ¶
func (x *MeshNode) ProtoReflect() protoreflect.Message
func (*MeshNode) Validate ¶ added in v0.6.2
Validate checks the field values on MeshNode 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 (*MeshNode) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on MeshNode 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 MeshNodeMultiError, or nil if none found.
type MeshNodeMultiError ¶ added in v0.6.2
type MeshNodeMultiError []error
MeshNodeMultiError is an error wrapping multiple validation errors returned by MeshNode.ValidateAll() if the designated constraints aren't met.
func (MeshNodeMultiError) AllErrors ¶ added in v0.6.2
func (m MeshNodeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MeshNodeMultiError) Error ¶ added in v0.6.2
func (m MeshNodeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MeshNodeValidationError ¶ added in v0.6.2
type MeshNodeValidationError struct {
// contains filtered or unexported fields
}
MeshNodeValidationError is the validation error returned by MeshNode.Validate if the designated constraints aren't met.
func (MeshNodeValidationError) Cause ¶ added in v0.6.2
func (e MeshNodeValidationError) Cause() error
Cause function returns cause value.
func (MeshNodeValidationError) Error ¶ added in v0.6.2
func (e MeshNodeValidationError) Error() string
Error satisfies the builtin error interface
func (MeshNodeValidationError) ErrorName ¶ added in v0.6.2
func (e MeshNodeValidationError) ErrorName() string
ErrorName returns error name.
func (MeshNodeValidationError) Field ¶ added in v0.6.2
func (e MeshNodeValidationError) Field() string
Field function returns field value.
func (MeshNodeValidationError) Key ¶ added in v0.6.2
func (e MeshNodeValidationError) Key() bool
Key function returns key value.
func (MeshNodeValidationError) Reason ¶ added in v0.6.2
func (e MeshNodeValidationError) Reason() string
Reason function returns reason value.
type MeshServer ¶
type MeshServer interface { // GetNode gets a node by ID. GetNode(context.Context, *GetNodeRequest) (*MeshNode, error) // ListNodes lists all nodes. ListNodes(context.Context, *emptypb.Empty) (*NodeList, error) // GetMeshGraph fetches the mesh graph. It returns a list of nodes, // edges, and a rendering in the dot format. GetMeshGraph(context.Context, *emptypb.Empty) (*MeshGraph, error) // contains filtered or unexported methods }
MeshServer is the server API for Mesh service. All implementations must embed UnimplementedMeshServer for forward compatibility
type MetricsRequest ¶ added in v0.2.2
type MetricsRequest struct {
// contains filtered or unexported fields
}
MetricsRequest is sent by the application to the node to retrieve interface metrics. It is intentionally empty for now, but can eventually be used to query specific interfaces/metrics.
func (*MetricsRequest) DeepCopy ¶ added in v0.6.2
func (in *MetricsRequest) DeepCopy() *MetricsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsRequest. Required by controller-gen.
func (*MetricsRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *MetricsRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MetricsRequest. Required by controller-gen.
func (*MetricsRequest) DeepCopyInto ¶ added in v0.6.2
func (in *MetricsRequest) DeepCopyInto(out *MetricsRequest)
DeepCopyInto supports using MetricsRequest within kubernetes types, where deepcopy-gen is used.
func (*MetricsRequest) Descriptor
deprecated
added in
v0.2.2
func (*MetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MetricsRequest.ProtoReflect.Descriptor instead.
func (*MetricsRequest) ProtoMessage ¶ added in v0.2.2
func (*MetricsRequest) ProtoMessage()
func (*MetricsRequest) ProtoReflect ¶ added in v0.2.2
func (x *MetricsRequest) ProtoReflect() protoreflect.Message
func (*MetricsRequest) Reset ¶ added in v0.2.2
func (x *MetricsRequest) Reset()
func (*MetricsRequest) String ¶ added in v0.2.2
func (x *MetricsRequest) String() string
func (*MetricsRequest) Validate ¶ added in v0.6.2
func (m *MetricsRequest) Validate() error
Validate checks the field values on MetricsRequest 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 (*MetricsRequest) ValidateAll ¶ added in v0.6.2
func (m *MetricsRequest) ValidateAll() error
ValidateAll checks the field values on MetricsRequest 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 MetricsRequestMultiError, or nil if none found.
type MetricsRequestMultiError ¶ added in v0.6.2
type MetricsRequestMultiError []error
MetricsRequestMultiError is an error wrapping multiple validation errors returned by MetricsRequest.ValidateAll() if the designated constraints aren't met.
func (MetricsRequestMultiError) AllErrors ¶ added in v0.6.2
func (m MetricsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MetricsRequestMultiError) Error ¶ added in v0.6.2
func (m MetricsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MetricsRequestValidationError ¶ added in v0.6.2
type MetricsRequestValidationError struct {
// contains filtered or unexported fields
}
MetricsRequestValidationError is the validation error returned by MetricsRequest.Validate if the designated constraints aren't met.
func (MetricsRequestValidationError) Cause ¶ added in v0.6.2
func (e MetricsRequestValidationError) Cause() error
Cause function returns cause value.
func (MetricsRequestValidationError) Error ¶ added in v0.6.2
func (e MetricsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (MetricsRequestValidationError) ErrorName ¶ added in v0.6.2
func (e MetricsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (MetricsRequestValidationError) Field ¶ added in v0.6.2
func (e MetricsRequestValidationError) Field() string
Field function returns field value.
func (MetricsRequestValidationError) Key ¶ added in v0.6.2
func (e MetricsRequestValidationError) Key() bool
Key function returns key value.
func (MetricsRequestValidationError) Reason ¶ added in v0.6.2
func (e MetricsRequestValidationError) Reason() string
Reason function returns reason value.
type MetricsResponse ¶ added in v0.2.2
type MetricsResponse struct { // interfaces is a map of interface names to metrics. Interfaces map[string]*InterfaceMetrics `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
MetricsResponse is a message containing interface metrics.
func (*MetricsResponse) DeepCopy ¶ added in v0.6.2
func (in *MetricsResponse) DeepCopy() *MetricsResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsResponse. Required by controller-gen.
func (*MetricsResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *MetricsResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MetricsResponse. Required by controller-gen.
func (*MetricsResponse) DeepCopyInto ¶ added in v0.6.2
func (in *MetricsResponse) DeepCopyInto(out *MetricsResponse)
DeepCopyInto supports using MetricsResponse within kubernetes types, where deepcopy-gen is used.
func (*MetricsResponse) Descriptor
deprecated
added in
v0.2.2
func (*MetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MetricsResponse.ProtoReflect.Descriptor instead.
func (*MetricsResponse) GetInterfaces ¶ added in v0.2.2
func (x *MetricsResponse) GetInterfaces() map[string]*InterfaceMetrics
func (*MetricsResponse) ProtoMessage ¶ added in v0.2.2
func (*MetricsResponse) ProtoMessage()
func (*MetricsResponse) ProtoReflect ¶ added in v0.2.2
func (x *MetricsResponse) ProtoReflect() protoreflect.Message
func (*MetricsResponse) Reset ¶ added in v0.2.2
func (x *MetricsResponse) Reset()
func (*MetricsResponse) String ¶ added in v0.2.2
func (x *MetricsResponse) String() string
func (*MetricsResponse) Validate ¶ added in v0.6.2
func (m *MetricsResponse) Validate() error
Validate checks the field values on MetricsResponse 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 (*MetricsResponse) ValidateAll ¶ added in v0.6.2
func (m *MetricsResponse) ValidateAll() error
ValidateAll checks the field values on MetricsResponse 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 MetricsResponseMultiError, or nil if none found.
type MetricsResponseMultiError ¶ added in v0.6.2
type MetricsResponseMultiError []error
MetricsResponseMultiError is an error wrapping multiple validation errors returned by MetricsResponse.ValidateAll() if the designated constraints aren't met.
func (MetricsResponseMultiError) AllErrors ¶ added in v0.6.2
func (m MetricsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MetricsResponseMultiError) Error ¶ added in v0.6.2
func (m MetricsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MetricsResponseValidationError ¶ added in v0.6.2
type MetricsResponseValidationError struct {
// contains filtered or unexported fields
}
MetricsResponseValidationError is the validation error returned by MetricsResponse.Validate if the designated constraints aren't met.
func (MetricsResponseValidationError) Cause ¶ added in v0.6.2
func (e MetricsResponseValidationError) Cause() error
Cause function returns cause value.
func (MetricsResponseValidationError) Error ¶ added in v0.6.2
func (e MetricsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (MetricsResponseValidationError) ErrorName ¶ added in v0.6.2
func (e MetricsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (MetricsResponseValidationError) Field ¶ added in v0.6.2
func (e MetricsResponseValidationError) Field() string
Field function returns field value.
func (MetricsResponseValidationError) Key ¶ added in v0.6.2
func (e MetricsResponseValidationError) Key() bool
Key function returns key value.
func (MetricsResponseValidationError) Reason ¶ added in v0.6.2
func (e MetricsResponseValidationError) Reason() string
Reason function returns reason value.
type NetworkACL ¶
type NetworkACL struct { // name is the name of the ACL. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // priority is the priority of the ACL. ACLs with higher priority are evaluated first. Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` // action is the action to take when a request matches the ACL. Action ACLAction `protobuf:"varint,3,opt,name=action,proto3,enum=v1.ACLAction" json:"action,omitempty"` // source_nodes is a list of source nodes to match against. If empty, all nodes are matched. Groups // can be specified with the prefix "group:". If one or more of the nodes is '*', all nodes are matched. SourceNodes []string `protobuf:"bytes,4,rep,name=source_nodes,json=sourceNodes,proto3" json:"source_nodes,omitempty"` // destination_nodes is a list of destination nodes to match against. If empty, all nodes are matched. // Groups can be specified with the prefix "group:". If one or more of the nodes is '*', all nodes are matched. DestinationNodes []string `protobuf:"bytes,5,rep,name=destination_nodes,json=destinationNodes,proto3" json:"destination_nodes,omitempty"` // source_cidrs is a list of source CIDRs to match against. If empty, all CIDRs are matched. // If one or more of the CIDRs is '*', all CIDRs are matched. SourceCidrs []string `protobuf:"bytes,6,rep,name=source_cidrs,json=sourceCidrs,proto3" json:"source_cidrs,omitempty"` // destination_cidrs is a list of destination CIDRs to match against. If empty, all CIDRs are matched. // If one or more of the CIDRs is '*', all CIDRs are matched. DestinationCidrs []string `protobuf:"bytes,7,rep,name=destination_cidrs,json=destinationCidrs,proto3" json:"destination_cidrs,omitempty"` // contains filtered or unexported fields }
NetworkACL is a network ACL.
func (*NetworkACL) DeepCopy ¶ added in v0.6.2
func (in *NetworkACL) DeepCopy() *NetworkACL
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACL. Required by controller-gen.
func (*NetworkACL) DeepCopyInterface ¶ added in v0.6.2
func (in *NetworkACL) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACL. Required by controller-gen.
func (*NetworkACL) DeepCopyInto ¶ added in v0.6.2
func (in *NetworkACL) DeepCopyInto(out *NetworkACL)
DeepCopyInto supports using NetworkACL within kubernetes types, where deepcopy-gen is used.
func (*NetworkACL) Descriptor
deprecated
func (*NetworkACL) Descriptor() ([]byte, []int)
Deprecated: Use NetworkACL.ProtoReflect.Descriptor instead.
func (*NetworkACL) GetAction ¶
func (x *NetworkACL) GetAction() ACLAction
func (*NetworkACL) GetDestinationCidrs ¶
func (x *NetworkACL) GetDestinationCidrs() []string
func (*NetworkACL) GetDestinationNodes ¶
func (x *NetworkACL) GetDestinationNodes() []string
func (*NetworkACL) GetName ¶
func (x *NetworkACL) GetName() string
func (*NetworkACL) GetPriority ¶
func (x *NetworkACL) GetPriority() int32
func (*NetworkACL) GetSourceCidrs ¶
func (x *NetworkACL) GetSourceCidrs() []string
func (*NetworkACL) GetSourceNodes ¶
func (x *NetworkACL) GetSourceNodes() []string
func (*NetworkACL) ProtoMessage ¶
func (*NetworkACL) ProtoMessage()
func (*NetworkACL) ProtoReflect ¶
func (x *NetworkACL) ProtoReflect() protoreflect.Message
func (*NetworkACL) Reset ¶
func (x *NetworkACL) Reset()
func (*NetworkACL) String ¶
func (x *NetworkACL) String() string
func (*NetworkACL) Validate ¶ added in v0.6.2
func (m *NetworkACL) Validate() error
Validate checks the field values on NetworkACL 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 (*NetworkACL) ValidateAll ¶ added in v0.6.2
func (m *NetworkACL) ValidateAll() error
ValidateAll checks the field values on NetworkACL 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 NetworkACLMultiError, or nil if none found.
type NetworkACLMultiError ¶ added in v0.6.2
type NetworkACLMultiError []error
NetworkACLMultiError is an error wrapping multiple validation errors returned by NetworkACL.ValidateAll() if the designated constraints aren't met.
func (NetworkACLMultiError) AllErrors ¶ added in v0.6.2
func (m NetworkACLMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NetworkACLMultiError) Error ¶ added in v0.6.2
func (m NetworkACLMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NetworkACLValidationError ¶ added in v0.6.2
type NetworkACLValidationError struct {
// contains filtered or unexported fields
}
NetworkACLValidationError is the validation error returned by NetworkACL.Validate if the designated constraints aren't met.
func (NetworkACLValidationError) Cause ¶ added in v0.6.2
func (e NetworkACLValidationError) Cause() error
Cause function returns cause value.
func (NetworkACLValidationError) Error ¶ added in v0.6.2
func (e NetworkACLValidationError) Error() string
Error satisfies the builtin error interface
func (NetworkACLValidationError) ErrorName ¶ added in v0.6.2
func (e NetworkACLValidationError) ErrorName() string
ErrorName returns error name.
func (NetworkACLValidationError) Field ¶ added in v0.6.2
func (e NetworkACLValidationError) Field() string
Field function returns field value.
func (NetworkACLValidationError) Key ¶ added in v0.6.2
func (e NetworkACLValidationError) Key() bool
Key function returns key value.
func (NetworkACLValidationError) Reason ¶ added in v0.6.2
func (e NetworkACLValidationError) Reason() string
Reason function returns reason value.
type NetworkACLs ¶
type NetworkACLs struct { // items is the list of network ACLs. Items []*NetworkACL `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
NetworkACLs is a list of network ACLs.
func (*NetworkACLs) DeepCopy ¶ added in v0.6.2
func (in *NetworkACLs) DeepCopy() *NetworkACLs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLs. Required by controller-gen.
func (*NetworkACLs) DeepCopyInterface ¶ added in v0.6.2
func (in *NetworkACLs) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLs. Required by controller-gen.
func (*NetworkACLs) DeepCopyInto ¶ added in v0.6.2
func (in *NetworkACLs) DeepCopyInto(out *NetworkACLs)
DeepCopyInto supports using NetworkACLs within kubernetes types, where deepcopy-gen is used.
func (*NetworkACLs) Descriptor
deprecated
func (*NetworkACLs) Descriptor() ([]byte, []int)
Deprecated: Use NetworkACLs.ProtoReflect.Descriptor instead.
func (*NetworkACLs) GetItems ¶
func (x *NetworkACLs) GetItems() []*NetworkACL
func (*NetworkACLs) ProtoMessage ¶
func (*NetworkACLs) ProtoMessage()
func (*NetworkACLs) ProtoReflect ¶
func (x *NetworkACLs) ProtoReflect() protoreflect.Message
func (*NetworkACLs) Reset ¶
func (x *NetworkACLs) Reset()
func (*NetworkACLs) String ¶
func (x *NetworkACLs) String() string
func (*NetworkACLs) Validate ¶ added in v0.6.2
func (m *NetworkACLs) Validate() error
Validate checks the field values on NetworkACLs 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 (*NetworkACLs) ValidateAll ¶ added in v0.6.2
func (m *NetworkACLs) ValidateAll() error
ValidateAll checks the field values on NetworkACLs 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 NetworkACLsMultiError, or nil if none found.
type NetworkACLsMultiError ¶ added in v0.6.2
type NetworkACLsMultiError []error
NetworkACLsMultiError is an error wrapping multiple validation errors returned by NetworkACLs.ValidateAll() if the designated constraints aren't met.
func (NetworkACLsMultiError) AllErrors ¶ added in v0.6.2
func (m NetworkACLsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NetworkACLsMultiError) Error ¶ added in v0.6.2
func (m NetworkACLsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NetworkACLsValidationError ¶ added in v0.6.2
type NetworkACLsValidationError struct {
// contains filtered or unexported fields
}
NetworkACLsValidationError is the validation error returned by NetworkACLs.Validate if the designated constraints aren't met.
func (NetworkACLsValidationError) Cause ¶ added in v0.6.2
func (e NetworkACLsValidationError) Cause() error
Cause function returns cause value.
func (NetworkACLsValidationError) Error ¶ added in v0.6.2
func (e NetworkACLsValidationError) Error() string
Error satisfies the builtin error interface
func (NetworkACLsValidationError) ErrorName ¶ added in v0.6.2
func (e NetworkACLsValidationError) ErrorName() string
ErrorName returns error name.
func (NetworkACLsValidationError) Field ¶ added in v0.6.2
func (e NetworkACLsValidationError) Field() string
Field function returns field value.
func (NetworkACLsValidationError) Key ¶ added in v0.6.2
func (e NetworkACLsValidationError) Key() bool
Key function returns key value.
func (NetworkACLsValidationError) Reason ¶ added in v0.6.2
func (e NetworkACLsValidationError) Reason() string
Reason function returns reason value.
type NetworkAction ¶
type NetworkAction struct { // src_node is the source node of the action. SrcNode string `protobuf:"bytes,1,opt,name=src_node,json=srcNode,proto3" json:"src_node,omitempty"` // src_cidr is the source CIDR of the action. SrcCidr string `protobuf:"bytes,2,opt,name=src_cidr,json=srcCidr,proto3" json:"src_cidr,omitempty"` // dst_node is the destination node of the action. DstNode string `protobuf:"bytes,3,opt,name=dst_node,json=dstNode,proto3" json:"dst_node,omitempty"` // dst_cidr is the destination CIDR of the action. DstCidr string `protobuf:"bytes,4,opt,name=dst_cidr,json=dstCidr,proto3" json:"dst_cidr,omitempty"` // contains filtered or unexported fields }
NetworkAction is an action that can be performed on a network resource. It is used by implementations to evaluate network ACLs.
func (*NetworkAction) DeepCopy ¶ added in v0.6.2
func (in *NetworkAction) DeepCopy() *NetworkAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAction. Required by controller-gen.
func (*NetworkAction) DeepCopyInterface ¶ added in v0.6.2
func (in *NetworkAction) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAction. Required by controller-gen.
func (*NetworkAction) DeepCopyInto ¶ added in v0.6.2
func (in *NetworkAction) DeepCopyInto(out *NetworkAction)
DeepCopyInto supports using NetworkAction within kubernetes types, where deepcopy-gen is used.
func (*NetworkAction) Descriptor
deprecated
func (*NetworkAction) Descriptor() ([]byte, []int)
Deprecated: Use NetworkAction.ProtoReflect.Descriptor instead.
func (*NetworkAction) GetDstCidr ¶
func (x *NetworkAction) GetDstCidr() string
func (*NetworkAction) GetDstNode ¶
func (x *NetworkAction) GetDstNode() string
func (*NetworkAction) GetSrcCidr ¶
func (x *NetworkAction) GetSrcCidr() string
func (*NetworkAction) GetSrcNode ¶
func (x *NetworkAction) GetSrcNode() string
func (*NetworkAction) ProtoMessage ¶
func (*NetworkAction) ProtoMessage()
func (*NetworkAction) ProtoReflect ¶
func (x *NetworkAction) ProtoReflect() protoreflect.Message
func (*NetworkAction) Reset ¶
func (x *NetworkAction) Reset()
func (*NetworkAction) String ¶
func (x *NetworkAction) String() string
func (*NetworkAction) Validate ¶ added in v0.6.2
func (m *NetworkAction) Validate() error
Validate checks the field values on NetworkAction 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 (*NetworkAction) ValidateAll ¶ added in v0.6.2
func (m *NetworkAction) ValidateAll() error
ValidateAll checks the field values on NetworkAction 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 NetworkActionMultiError, or nil if none found.
type NetworkActionMultiError ¶ added in v0.6.2
type NetworkActionMultiError []error
NetworkActionMultiError is an error wrapping multiple validation errors returned by NetworkAction.ValidateAll() if the designated constraints aren't met.
func (NetworkActionMultiError) AllErrors ¶ added in v0.6.2
func (m NetworkActionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NetworkActionMultiError) Error ¶ added in v0.6.2
func (m NetworkActionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NetworkActionValidationError ¶ added in v0.6.2
type NetworkActionValidationError struct {
// contains filtered or unexported fields
}
NetworkActionValidationError is the validation error returned by NetworkAction.Validate if the designated constraints aren't met.
func (NetworkActionValidationError) Cause ¶ added in v0.6.2
func (e NetworkActionValidationError) Cause() error
Cause function returns cause value.
func (NetworkActionValidationError) Error ¶ added in v0.6.2
func (e NetworkActionValidationError) Error() string
Error satisfies the builtin error interface
func (NetworkActionValidationError) ErrorName ¶ added in v0.6.2
func (e NetworkActionValidationError) ErrorName() string
ErrorName returns error name.
func (NetworkActionValidationError) Field ¶ added in v0.6.2
func (e NetworkActionValidationError) Field() string
Field function returns field value.
func (NetworkActionValidationError) Key ¶ added in v0.6.2
func (e NetworkActionValidationError) Key() bool
Key function returns key value.
func (NetworkActionValidationError) Reason ¶ added in v0.6.2
func (e NetworkActionValidationError) Reason() string
Reason function returns reason value.
type NodeClient ¶
type NodeClient interface { // GetStatus gets the status of a node in the cluster. If the node is not able // to return the status of the ID requested, it should return an error. GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*Status, error) // NegotiateDataChannel is used to negotiate a WebRTC connection between a webmesh client // and a node in the cluster. The handling server will send the target node the source address, // the destination for traffic, and STUN/TURN servers to use for the negotiation. The node // responds with an offer to be forwarded to the client. When the handler receives an answer // from the client, it forwards it to the node. Once the node receives the answer, the stream // can optionally be used to exchange ICE candidates. NegotiateDataChannel(ctx context.Context, opts ...grpc.CallOption) (Node_NegotiateDataChannelClient, error) // ReceiveSignalChannel is used to receive a request to start a WebRTC connection between a remote // node and this node. The node should wait for the client to send an offer, and then respond with // an answer. Once the node receives the answer, the stream can optionally be used to exchange ICE // candidates. ReceiveSignalChannel(ctx context.Context, opts ...grpc.CallOption) (Node_ReceiveSignalChannelClient, error) }
NodeClient is the client API for Node service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNodeClient ¶
func NewNodeClient(cc grpc.ClientConnInterface) NodeClient
type NodeList ¶
type NodeList struct { // nodes is the list of nodes. Nodes []*MeshNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
NodeList is a list of nodes.
func (*NodeList) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList. Required by controller-gen.
func (*NodeList) DeepCopyInterface ¶ added in v0.6.2
func (in *NodeList) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NodeList. Required by controller-gen.
func (*NodeList) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using NodeList within kubernetes types, where deepcopy-gen is used.
func (*NodeList) Descriptor
deprecated
func (*NodeList) ProtoMessage ¶
func (*NodeList) ProtoMessage()
func (*NodeList) ProtoReflect ¶
func (x *NodeList) ProtoReflect() protoreflect.Message
func (*NodeList) Validate ¶ added in v0.6.2
Validate checks the field values on NodeList 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 (*NodeList) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on NodeList 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 NodeListMultiError, or nil if none found.
type NodeListMultiError ¶ added in v0.6.2
type NodeListMultiError []error
NodeListMultiError is an error wrapping multiple validation errors returned by NodeList.ValidateAll() if the designated constraints aren't met.
func (NodeListMultiError) AllErrors ¶ added in v0.6.2
func (m NodeListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NodeListMultiError) Error ¶ added in v0.6.2
func (m NodeListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NodeListValidationError ¶ added in v0.6.2
type NodeListValidationError struct {
// contains filtered or unexported fields
}
NodeListValidationError is the validation error returned by NodeList.Validate if the designated constraints aren't met.
func (NodeListValidationError) Cause ¶ added in v0.6.2
func (e NodeListValidationError) Cause() error
Cause function returns cause value.
func (NodeListValidationError) Error ¶ added in v0.6.2
func (e NodeListValidationError) Error() string
Error satisfies the builtin error interface
func (NodeListValidationError) ErrorName ¶ added in v0.6.2
func (e NodeListValidationError) ErrorName() string
ErrorName returns error name.
func (NodeListValidationError) Field ¶ added in v0.6.2
func (e NodeListValidationError) Field() string
Field function returns field value.
func (NodeListValidationError) Key ¶ added in v0.6.2
func (e NodeListValidationError) Key() bool
Key function returns key value.
func (NodeListValidationError) Reason ¶ added in v0.6.2
func (e NodeListValidationError) Reason() string
Reason function returns reason value.
type NodeServer ¶
type NodeServer interface { // GetStatus gets the status of a node in the cluster. If the node is not able // to return the status of the ID requested, it should return an error. GetStatus(context.Context, *GetStatusRequest) (*Status, error) // NegotiateDataChannel is used to negotiate a WebRTC connection between a webmesh client // and a node in the cluster. The handling server will send the target node the source address, // the destination for traffic, and STUN/TURN servers to use for the negotiation. The node // responds with an offer to be forwarded to the client. When the handler receives an answer // from the client, it forwards it to the node. Once the node receives the answer, the stream // can optionally be used to exchange ICE candidates. NegotiateDataChannel(Node_NegotiateDataChannelServer) error // ReceiveSignalChannel is used to receive a request to start a WebRTC connection between a remote // node and this node. The node should wait for the client to send an offer, and then respond with // an answer. Once the node receives the answer, the stream can optionally be used to exchange ICE // candidates. ReceiveSignalChannel(Node_ReceiveSignalChannelServer) error // contains filtered or unexported methods }
NodeServer is the server API for Node service. All implementations must embed UnimplementedNodeServer for forward compatibility
type Node_NegotiateDataChannelClient ¶
type Node_NegotiateDataChannelClient interface { Send(*DataChannelNegotiation) error Recv() (*DataChannelNegotiation, error) grpc.ClientStream }
type Node_NegotiateDataChannelServer ¶
type Node_NegotiateDataChannelServer interface { Send(*DataChannelNegotiation) error Recv() (*DataChannelNegotiation, error) grpc.ServerStream }
type Node_ReceiveSignalChannelClient ¶ added in v0.4.0
type Node_ReceiveSignalChannelClient interface { Send(*WebRTCSignal) error Recv() (*WebRTCSignal, error) grpc.ClientStream }
type Node_ReceiveSignalChannelServer ¶ added in v0.4.0
type Node_ReceiveSignalChannelServer interface { Send(*WebRTCSignal) error Recv() (*WebRTCSignal, error) grpc.ServerStream }
type PeerConfigurations ¶ added in v0.3.0
type PeerConfigurations struct { // peers is a list of wireguard peers to connect to. Peers []*WireGuardPeer `protobuf:"bytes,5,rep,name=peers,proto3" json:"peers,omitempty"` // ice_servers is a list of public nodes that can be used to negotiate // ICE connections if required. This may only be populated when one of // the peers has the ICE flag set. IceServers []string `protobuf:"bytes,6,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` // dns_servers is a list of peers offering DNS services. DnsServers []string `protobuf:"bytes,7,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"` // contains filtered or unexported fields }
PeerConfigurations is a stream of peer configurations.
func (*PeerConfigurations) DeepCopy ¶ added in v0.6.2
func (in *PeerConfigurations) DeepCopy() *PeerConfigurations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerConfigurations. Required by controller-gen.
func (*PeerConfigurations) DeepCopyInterface ¶ added in v0.6.2
func (in *PeerConfigurations) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PeerConfigurations. Required by controller-gen.
func (*PeerConfigurations) DeepCopyInto ¶ added in v0.6.2
func (in *PeerConfigurations) DeepCopyInto(out *PeerConfigurations)
DeepCopyInto supports using PeerConfigurations within kubernetes types, where deepcopy-gen is used.
func (*PeerConfigurations) Descriptor
deprecated
added in
v0.3.0
func (*PeerConfigurations) Descriptor() ([]byte, []int)
Deprecated: Use PeerConfigurations.ProtoReflect.Descriptor instead.
func (*PeerConfigurations) GetDnsServers ¶ added in v0.3.0
func (x *PeerConfigurations) GetDnsServers() []string
func (*PeerConfigurations) GetIceServers ¶ added in v0.3.0
func (x *PeerConfigurations) GetIceServers() []string
func (*PeerConfigurations) GetPeers ¶ added in v0.3.0
func (x *PeerConfigurations) GetPeers() []*WireGuardPeer
func (*PeerConfigurations) ProtoMessage ¶ added in v0.3.0
func (*PeerConfigurations) ProtoMessage()
func (*PeerConfigurations) ProtoReflect ¶ added in v0.3.0
func (x *PeerConfigurations) ProtoReflect() protoreflect.Message
func (*PeerConfigurations) Reset ¶ added in v0.3.0
func (x *PeerConfigurations) Reset()
func (*PeerConfigurations) String ¶ added in v0.3.0
func (x *PeerConfigurations) String() string
func (*PeerConfigurations) Validate ¶ added in v0.6.2
func (m *PeerConfigurations) Validate() error
Validate checks the field values on PeerConfigurations 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 (*PeerConfigurations) ValidateAll ¶ added in v0.6.2
func (m *PeerConfigurations) ValidateAll() error
ValidateAll checks the field values on PeerConfigurations 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 PeerConfigurationsMultiError, or nil if none found.
type PeerConfigurationsMultiError ¶ added in v0.6.2
type PeerConfigurationsMultiError []error
PeerConfigurationsMultiError is an error wrapping multiple validation errors returned by PeerConfigurations.ValidateAll() if the designated constraints aren't met.
func (PeerConfigurationsMultiError) AllErrors ¶ added in v0.6.2
func (m PeerConfigurationsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PeerConfigurationsMultiError) Error ¶ added in v0.6.2
func (m PeerConfigurationsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PeerConfigurationsValidationError ¶ added in v0.6.2
type PeerConfigurationsValidationError struct {
// contains filtered or unexported fields
}
PeerConfigurationsValidationError is the validation error returned by PeerConfigurations.Validate if the designated constraints aren't met.
func (PeerConfigurationsValidationError) Cause ¶ added in v0.6.2
func (e PeerConfigurationsValidationError) Cause() error
Cause function returns cause value.
func (PeerConfigurationsValidationError) Error ¶ added in v0.6.2
func (e PeerConfigurationsValidationError) Error() string
Error satisfies the builtin error interface
func (PeerConfigurationsValidationError) ErrorName ¶ added in v0.6.2
func (e PeerConfigurationsValidationError) ErrorName() string
ErrorName returns error name.
func (PeerConfigurationsValidationError) Field ¶ added in v0.6.2
func (e PeerConfigurationsValidationError) Field() string
Field function returns field value.
func (PeerConfigurationsValidationError) Key ¶ added in v0.6.2
func (e PeerConfigurationsValidationError) Key() bool
Key function returns key value.
func (PeerConfigurationsValidationError) Reason ¶ added in v0.6.2
func (e PeerConfigurationsValidationError) Reason() string
Reason function returns reason value.
type PeerMetrics ¶
type PeerMetrics struct { // public_key is the public key of the peer. PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // endpoint is the connected endpoint of the peer. Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // persistent_keep_alive is the persistent keep alive interval for the peer. PersistentKeepAlive string `protobuf:"bytes,3,opt,name=persistent_keep_alive,json=persistentKeepAlive,proto3" json:"persistent_keep_alive,omitempty"` // last_handshake_time is the last handshake time for the peer. LastHandshakeTime string `protobuf:"bytes,4,opt,name=last_handshake_time,json=lastHandshakeTime,proto3" json:"last_handshake_time,omitempty"` // allowed_ips is the list of allowed IPs for the peer. AllowedIps []string `protobuf:"bytes,5,rep,name=allowed_ips,json=allowedIps,proto3" json:"allowed_ips,omitempty"` // protocol_version is the version of the wireguard protocol negotiated with the peer. ProtocolVersion int64 `protobuf:"varint,6,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` // receive_bytes is the bytes received from the peer. ReceiveBytes uint64 `protobuf:"varint,7,opt,name=receive_bytes,json=receiveBytes,proto3" json:"receive_bytes,omitempty"` // transmit_bytes is the bytes transmitted to the peer. TransmitBytes uint64 `protobuf:"varint,8,opt,name=transmit_bytes,json=transmitBytes,proto3" json:"transmit_bytes,omitempty"` // contains filtered or unexported fields }
PeerMetrics are the metrics for a node's peer.
func (*PeerMetrics) DeepCopy ¶ added in v0.6.2
func (in *PeerMetrics) DeepCopy() *PeerMetrics
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerMetrics. Required by controller-gen.
func (*PeerMetrics) DeepCopyInterface ¶ added in v0.6.2
func (in *PeerMetrics) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PeerMetrics. Required by controller-gen.
func (*PeerMetrics) DeepCopyInto ¶ added in v0.6.2
func (in *PeerMetrics) DeepCopyInto(out *PeerMetrics)
DeepCopyInto supports using PeerMetrics within kubernetes types, where deepcopy-gen is used.
func (*PeerMetrics) Descriptor
deprecated
func (*PeerMetrics) Descriptor() ([]byte, []int)
Deprecated: Use PeerMetrics.ProtoReflect.Descriptor instead.
func (*PeerMetrics) GetAllowedIps ¶
func (x *PeerMetrics) GetAllowedIps() []string
func (*PeerMetrics) GetEndpoint ¶
func (x *PeerMetrics) GetEndpoint() string
func (*PeerMetrics) GetLastHandshakeTime ¶
func (x *PeerMetrics) GetLastHandshakeTime() string
func (*PeerMetrics) GetPersistentKeepAlive ¶
func (x *PeerMetrics) GetPersistentKeepAlive() string
func (*PeerMetrics) GetProtocolVersion ¶
func (x *PeerMetrics) GetProtocolVersion() int64
func (*PeerMetrics) GetPublicKey ¶
func (x *PeerMetrics) GetPublicKey() string
func (*PeerMetrics) GetReceiveBytes ¶
func (x *PeerMetrics) GetReceiveBytes() uint64
func (*PeerMetrics) GetTransmitBytes ¶
func (x *PeerMetrics) GetTransmitBytes() uint64
func (*PeerMetrics) ProtoMessage ¶
func (*PeerMetrics) ProtoMessage()
func (*PeerMetrics) ProtoReflect ¶
func (x *PeerMetrics) ProtoReflect() protoreflect.Message
func (*PeerMetrics) Reset ¶
func (x *PeerMetrics) Reset()
func (*PeerMetrics) String ¶
func (x *PeerMetrics) String() string
func (*PeerMetrics) Validate ¶ added in v0.6.2
func (m *PeerMetrics) Validate() error
Validate checks the field values on PeerMetrics 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 (*PeerMetrics) ValidateAll ¶ added in v0.6.2
func (m *PeerMetrics) ValidateAll() error
ValidateAll checks the field values on PeerMetrics 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 PeerMetricsMultiError, or nil if none found.
type PeerMetricsMultiError ¶ added in v0.6.2
type PeerMetricsMultiError []error
PeerMetricsMultiError is an error wrapping multiple validation errors returned by PeerMetrics.ValidateAll() if the designated constraints aren't met.
func (PeerMetricsMultiError) AllErrors ¶ added in v0.6.2
func (m PeerMetricsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PeerMetricsMultiError) Error ¶ added in v0.6.2
func (m PeerMetricsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PeerMetricsValidationError ¶ added in v0.6.2
type PeerMetricsValidationError struct {
// contains filtered or unexported fields
}
PeerMetricsValidationError is the validation error returned by PeerMetrics.Validate if the designated constraints aren't met.
func (PeerMetricsValidationError) Cause ¶ added in v0.6.2
func (e PeerMetricsValidationError) Cause() error
Cause function returns cause value.
func (PeerMetricsValidationError) Error ¶ added in v0.6.2
func (e PeerMetricsValidationError) Error() string
Error satisfies the builtin error interface
func (PeerMetricsValidationError) ErrorName ¶ added in v0.6.2
func (e PeerMetricsValidationError) ErrorName() string
ErrorName returns error name.
func (PeerMetricsValidationError) Field ¶ added in v0.6.2
func (e PeerMetricsValidationError) Field() string
Field function returns field value.
func (PeerMetricsValidationError) Key ¶ added in v0.6.2
func (e PeerMetricsValidationError) Key() bool
Key function returns key value.
func (PeerMetricsValidationError) Reason ¶ added in v0.6.2
func (e PeerMetricsValidationError) Reason() string
Reason function returns reason value.
type PluginClient ¶
type PluginClient interface { // GetInfo returns the information for the plugin. GetInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PluginInfo, error) // Configure starts and configures the plugin. Configure(ctx context.Context, in *PluginConfiguration, opts ...grpc.CallOption) (*emptypb.Empty, error) // Close closes the plugin. It is called when the node is shutting down. Close(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) }
PluginClient is the client API for Plugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPluginClient ¶
func NewPluginClient(cc grpc.ClientConnInterface) PluginClient
type PluginConfiguration ¶
type PluginConfiguration struct { // Config is the configuration of the plugin. Config *structpb.Struct `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
PluginConfiguration is the message containing the configuration of a plugin.
func (*PluginConfiguration) DeepCopy ¶ added in v0.6.2
func (in *PluginConfiguration) DeepCopy() *PluginConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginConfiguration. Required by controller-gen.
func (*PluginConfiguration) DeepCopyInterface ¶ added in v0.6.2
func (in *PluginConfiguration) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PluginConfiguration. Required by controller-gen.
func (*PluginConfiguration) DeepCopyInto ¶ added in v0.6.2
func (in *PluginConfiguration) DeepCopyInto(out *PluginConfiguration)
DeepCopyInto supports using PluginConfiguration within kubernetes types, where deepcopy-gen is used.
func (*PluginConfiguration) Descriptor
deprecated
func (*PluginConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use PluginConfiguration.ProtoReflect.Descriptor instead.
func (*PluginConfiguration) GetConfig ¶
func (x *PluginConfiguration) GetConfig() *structpb.Struct
func (*PluginConfiguration) ProtoMessage ¶
func (*PluginConfiguration) ProtoMessage()
func (*PluginConfiguration) ProtoReflect ¶
func (x *PluginConfiguration) ProtoReflect() protoreflect.Message
func (*PluginConfiguration) Reset ¶
func (x *PluginConfiguration) Reset()
func (*PluginConfiguration) String ¶
func (x *PluginConfiguration) String() string
func (*PluginConfiguration) Validate ¶ added in v0.6.2
func (m *PluginConfiguration) Validate() error
Validate checks the field values on PluginConfiguration 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 (*PluginConfiguration) ValidateAll ¶ added in v0.6.2
func (m *PluginConfiguration) ValidateAll() error
ValidateAll checks the field values on PluginConfiguration 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 PluginConfigurationMultiError, or nil if none found.
type PluginConfigurationMultiError ¶ added in v0.6.2
type PluginConfigurationMultiError []error
PluginConfigurationMultiError is an error wrapping multiple validation errors returned by PluginConfiguration.ValidateAll() if the designated constraints aren't met.
func (PluginConfigurationMultiError) AllErrors ¶ added in v0.6.2
func (m PluginConfigurationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PluginConfigurationMultiError) Error ¶ added in v0.6.2
func (m PluginConfigurationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PluginConfigurationValidationError ¶ added in v0.6.2
type PluginConfigurationValidationError struct {
// contains filtered or unexported fields
}
PluginConfigurationValidationError is the validation error returned by PluginConfiguration.Validate if the designated constraints aren't met.
func (PluginConfigurationValidationError) Cause ¶ added in v0.6.2
func (e PluginConfigurationValidationError) Cause() error
Cause function returns cause value.
func (PluginConfigurationValidationError) Error ¶ added in v0.6.2
func (e PluginConfigurationValidationError) Error() string
Error satisfies the builtin error interface
func (PluginConfigurationValidationError) ErrorName ¶ added in v0.6.2
func (e PluginConfigurationValidationError) ErrorName() string
ErrorName returns error name.
func (PluginConfigurationValidationError) Field ¶ added in v0.6.2
func (e PluginConfigurationValidationError) Field() string
Field function returns field value.
func (PluginConfigurationValidationError) Key ¶ added in v0.6.2
func (e PluginConfigurationValidationError) Key() bool
Key function returns key value.
func (PluginConfigurationValidationError) Reason ¶ added in v0.6.2
func (e PluginConfigurationValidationError) Reason() string
Reason function returns reason value.
type PluginInfo ¶
type PluginInfo struct { // Name is the name of the plugin. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Version is the version of the plugin. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Description is the description of the plugin. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Capabilities is the capabilities of the plugin. Capabilities []PluginInfo_PluginCapability `protobuf:"varint,5,rep,packed,name=capabilities,proto3,enum=v1.PluginInfo_PluginCapability" json:"capabilities,omitempty"` // contains filtered or unexported fields }
PluginInfo is the information of a plugin.
func (*PluginInfo) DeepCopy ¶ added in v0.6.2
func (in *PluginInfo) DeepCopy() *PluginInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginInfo. Required by controller-gen.
func (*PluginInfo) DeepCopyInterface ¶ added in v0.6.2
func (in *PluginInfo) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PluginInfo. Required by controller-gen.
func (*PluginInfo) DeepCopyInto ¶ added in v0.6.2
func (in *PluginInfo) DeepCopyInto(out *PluginInfo)
DeepCopyInto supports using PluginInfo within kubernetes types, where deepcopy-gen is used.
func (*PluginInfo) Descriptor
deprecated
func (*PluginInfo) Descriptor() ([]byte, []int)
Deprecated: Use PluginInfo.ProtoReflect.Descriptor instead.
func (*PluginInfo) GetCapabilities ¶
func (x *PluginInfo) GetCapabilities() []PluginInfo_PluginCapability
func (*PluginInfo) GetDescription ¶
func (x *PluginInfo) GetDescription() string
func (*PluginInfo) GetName ¶
func (x *PluginInfo) GetName() string
func (*PluginInfo) GetVersion ¶
func (x *PluginInfo) GetVersion() string
func (*PluginInfo) ProtoMessage ¶
func (*PluginInfo) ProtoMessage()
func (*PluginInfo) ProtoReflect ¶
func (x *PluginInfo) ProtoReflect() protoreflect.Message
func (*PluginInfo) Reset ¶
func (x *PluginInfo) Reset()
func (*PluginInfo) String ¶
func (x *PluginInfo) String() string
func (*PluginInfo) Validate ¶ added in v0.6.2
func (m *PluginInfo) Validate() error
Validate checks the field values on PluginInfo 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 (*PluginInfo) ValidateAll ¶ added in v0.6.2
func (m *PluginInfo) ValidateAll() error
ValidateAll checks the field values on PluginInfo 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 PluginInfoMultiError, or nil if none found.
type PluginInfoMultiError ¶ added in v0.6.2
type PluginInfoMultiError []error
PluginInfoMultiError is an error wrapping multiple validation errors returned by PluginInfo.ValidateAll() if the designated constraints aren't met.
func (PluginInfoMultiError) AllErrors ¶ added in v0.6.2
func (m PluginInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PluginInfoMultiError) Error ¶ added in v0.6.2
func (m PluginInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PluginInfoValidationError ¶ added in v0.6.2
type PluginInfoValidationError struct {
// contains filtered or unexported fields
}
PluginInfoValidationError is the validation error returned by PluginInfo.Validate if the designated constraints aren't met.
func (PluginInfoValidationError) Cause ¶ added in v0.6.2
func (e PluginInfoValidationError) Cause() error
Cause function returns cause value.
func (PluginInfoValidationError) Error ¶ added in v0.6.2
func (e PluginInfoValidationError) Error() string
Error satisfies the builtin error interface
func (PluginInfoValidationError) ErrorName ¶ added in v0.6.2
func (e PluginInfoValidationError) ErrorName() string
ErrorName returns error name.
func (PluginInfoValidationError) Field ¶ added in v0.6.2
func (e PluginInfoValidationError) Field() string
Field function returns field value.
func (PluginInfoValidationError) Key ¶ added in v0.6.2
func (e PluginInfoValidationError) Key() bool
Key function returns key value.
func (PluginInfoValidationError) Reason ¶ added in v0.6.2
func (e PluginInfoValidationError) Reason() string
Reason function returns reason value.
type PluginInfo_PluginCapability ¶ added in v0.3.0
type PluginInfo_PluginCapability int32
PluginCapability is the capabilities of a plugin.
const ( // UNKNOWN is the default value of PluginCapability. PluginInfo_UNKNOWN PluginInfo_PluginCapability = 0 // STORAGE_PROVIDER indicates that the plugin can provide storage and underlying consistency. PluginInfo_STORAGE_PROVIDER PluginInfo_PluginCapability = 1 // AUTH indicates that the plugin is an auth plugin. PluginInfo_AUTH PluginInfo_PluginCapability = 2 // WATCH indicates that the plugin wants to receive watch events. PluginInfo_WATCH PluginInfo_PluginCapability = 3 // IPAMV4 indicates that the plugin is an IPv4 IPAM plugin. PluginInfo_IPAMV4 PluginInfo_PluginCapability = 4 // STORAGE_QUERIER indicates a plugin that wants to interact with storage. PluginInfo_STORAGE_QUERIER PluginInfo_PluginCapability = 5 )
func (PluginInfo_PluginCapability) Descriptor ¶ added in v0.3.0
func (PluginInfo_PluginCapability) Descriptor() protoreflect.EnumDescriptor
func (PluginInfo_PluginCapability) Enum ¶ added in v0.3.0
func (x PluginInfo_PluginCapability) Enum() *PluginInfo_PluginCapability
func (PluginInfo_PluginCapability) EnumDescriptor
deprecated
added in
v0.3.0
func (PluginInfo_PluginCapability) EnumDescriptor() ([]byte, []int)
Deprecated: Use PluginInfo_PluginCapability.Descriptor instead.
func (PluginInfo_PluginCapability) Number ¶ added in v0.3.0
func (x PluginInfo_PluginCapability) Number() protoreflect.EnumNumber
func (PluginInfo_PluginCapability) String ¶ added in v0.3.0
func (x PluginInfo_PluginCapability) String() string
func (PluginInfo_PluginCapability) Type ¶ added in v0.3.0
func (PluginInfo_PluginCapability) Type() protoreflect.EnumType
type PluginQuery ¶ added in v0.2.0
type PluginQuery struct { // id is the ID of the query. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // command is the command of the query. Command PluginQuery_QueryCommand `protobuf:"varint,2,opt,name=command,proto3,enum=v1.PluginQuery_QueryCommand" json:"command,omitempty"` // query is the key or prefix of the query. Query []byte `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
PluginQuery is the message containing a storage query. It contains a request ID that is used to correlate the query with the result.
func (*PluginQuery) DeepCopy ¶ added in v0.6.2
func (in *PluginQuery) DeepCopy() *PluginQuery
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginQuery. Required by controller-gen.
func (*PluginQuery) DeepCopyInterface ¶ added in v0.6.2
func (in *PluginQuery) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PluginQuery. Required by controller-gen.
func (*PluginQuery) DeepCopyInto ¶ added in v0.6.2
func (in *PluginQuery) DeepCopyInto(out *PluginQuery)
DeepCopyInto supports using PluginQuery within kubernetes types, where deepcopy-gen is used.
func (*PluginQuery) Descriptor
deprecated
added in
v0.2.0
func (*PluginQuery) Descriptor() ([]byte, []int)
Deprecated: Use PluginQuery.ProtoReflect.Descriptor instead.
func (*PluginQuery) GetCommand ¶ added in v0.2.0
func (x *PluginQuery) GetCommand() PluginQuery_QueryCommand
func (*PluginQuery) GetId ¶ added in v0.2.0
func (x *PluginQuery) GetId() string
func (*PluginQuery) GetQuery ¶ added in v0.2.0
func (x *PluginQuery) GetQuery() []byte
func (*PluginQuery) ProtoMessage ¶ added in v0.2.0
func (*PluginQuery) ProtoMessage()
func (*PluginQuery) ProtoReflect ¶ added in v0.2.0
func (x *PluginQuery) ProtoReflect() protoreflect.Message
func (*PluginQuery) Reset ¶ added in v0.2.0
func (x *PluginQuery) Reset()
func (*PluginQuery) String ¶ added in v0.2.0
func (x *PluginQuery) String() string
func (*PluginQuery) Validate ¶ added in v0.6.2
func (m *PluginQuery) Validate() error
Validate checks the field values on PluginQuery 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 (*PluginQuery) ValidateAll ¶ added in v0.6.2
func (m *PluginQuery) ValidateAll() error
ValidateAll checks the field values on PluginQuery 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 PluginQueryMultiError, or nil if none found.
type PluginQueryMultiError ¶ added in v0.6.2
type PluginQueryMultiError []error
PluginQueryMultiError is an error wrapping multiple validation errors returned by PluginQuery.ValidateAll() if the designated constraints aren't met.
func (PluginQueryMultiError) AllErrors ¶ added in v0.6.2
func (m PluginQueryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PluginQueryMultiError) Error ¶ added in v0.6.2
func (m PluginQueryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PluginQueryResult ¶ added in v0.2.0
type PluginQueryResult struct { // id is the ID of the query. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // key is the key of the query. For GET and ITER queries it will be the current key. // For LIST queries it will be the prefix. Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // value is the value of the query. For GET and ITER queries it will be the value of the current key. // For LIST queries it will be the list of keys that match the prefix. Value [][]byte `protobuf:"bytes,3,rep,name=value,proto3" json:"value,omitempty"` // error is an error that occurred during the query. At the end of an ITER query it will be set to // "EOF" to indicate that the iteration is complete. Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
PluginQueryResult is the message containing a storage query result. It contains a request ID that is used to correlate the query with the result.
func (*PluginQueryResult) DeepCopy ¶ added in v0.6.2
func (in *PluginQueryResult) DeepCopy() *PluginQueryResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginQueryResult. Required by controller-gen.
func (*PluginQueryResult) DeepCopyInterface ¶ added in v0.6.2
func (in *PluginQueryResult) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PluginQueryResult. Required by controller-gen.
func (*PluginQueryResult) DeepCopyInto ¶ added in v0.6.2
func (in *PluginQueryResult) DeepCopyInto(out *PluginQueryResult)
DeepCopyInto supports using PluginQueryResult within kubernetes types, where deepcopy-gen is used.
func (*PluginQueryResult) Descriptor
deprecated
added in
v0.2.0
func (*PluginQueryResult) Descriptor() ([]byte, []int)
Deprecated: Use PluginQueryResult.ProtoReflect.Descriptor instead.
func (*PluginQueryResult) GetError ¶ added in v0.2.0
func (x *PluginQueryResult) GetError() string
func (*PluginQueryResult) GetId ¶ added in v0.2.0
func (x *PluginQueryResult) GetId() string
func (*PluginQueryResult) GetKey ¶ added in v0.2.0
func (x *PluginQueryResult) GetKey() []byte
func (*PluginQueryResult) GetValue ¶ added in v0.2.0
func (x *PluginQueryResult) GetValue() [][]byte
func (*PluginQueryResult) ProtoMessage ¶ added in v0.2.0
func (*PluginQueryResult) ProtoMessage()
func (*PluginQueryResult) ProtoReflect ¶ added in v0.2.0
func (x *PluginQueryResult) ProtoReflect() protoreflect.Message
func (*PluginQueryResult) Reset ¶ added in v0.2.0
func (x *PluginQueryResult) Reset()
func (*PluginQueryResult) String ¶ added in v0.2.0
func (x *PluginQueryResult) String() string
func (*PluginQueryResult) Validate ¶ added in v0.6.2
func (m *PluginQueryResult) Validate() error
Validate checks the field values on PluginQueryResult 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 (*PluginQueryResult) ValidateAll ¶ added in v0.6.2
func (m *PluginQueryResult) ValidateAll() error
ValidateAll checks the field values on PluginQueryResult 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 PluginQueryResultMultiError, or nil if none found.
type PluginQueryResultMultiError ¶ added in v0.6.2
type PluginQueryResultMultiError []error
PluginQueryResultMultiError is an error wrapping multiple validation errors returned by PluginQueryResult.ValidateAll() if the designated constraints aren't met.
func (PluginQueryResultMultiError) AllErrors ¶ added in v0.6.2
func (m PluginQueryResultMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PluginQueryResultMultiError) Error ¶ added in v0.6.2
func (m PluginQueryResultMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PluginQueryResultValidationError ¶ added in v0.6.2
type PluginQueryResultValidationError struct {
// contains filtered or unexported fields
}
PluginQueryResultValidationError is the validation error returned by PluginQueryResult.Validate if the designated constraints aren't met.
func (PluginQueryResultValidationError) Cause ¶ added in v0.6.2
func (e PluginQueryResultValidationError) Cause() error
Cause function returns cause value.
func (PluginQueryResultValidationError) Error ¶ added in v0.6.2
func (e PluginQueryResultValidationError) Error() string
Error satisfies the builtin error interface
func (PluginQueryResultValidationError) ErrorName ¶ added in v0.6.2
func (e PluginQueryResultValidationError) ErrorName() string
ErrorName returns error name.
func (PluginQueryResultValidationError) Field ¶ added in v0.6.2
func (e PluginQueryResultValidationError) Field() string
Field function returns field value.
func (PluginQueryResultValidationError) Key ¶ added in v0.6.2
func (e PluginQueryResultValidationError) Key() bool
Key function returns key value.
func (PluginQueryResultValidationError) Reason ¶ added in v0.6.2
func (e PluginQueryResultValidationError) Reason() string
Reason function returns reason value.
type PluginQueryValidationError ¶ added in v0.6.2
type PluginQueryValidationError struct {
// contains filtered or unexported fields
}
PluginQueryValidationError is the validation error returned by PluginQuery.Validate if the designated constraints aren't met.
func (PluginQueryValidationError) Cause ¶ added in v0.6.2
func (e PluginQueryValidationError) Cause() error
Cause function returns cause value.
func (PluginQueryValidationError) Error ¶ added in v0.6.2
func (e PluginQueryValidationError) Error() string
Error satisfies the builtin error interface
func (PluginQueryValidationError) ErrorName ¶ added in v0.6.2
func (e PluginQueryValidationError) ErrorName() string
ErrorName returns error name.
func (PluginQueryValidationError) Field ¶ added in v0.6.2
func (e PluginQueryValidationError) Field() string
Field function returns field value.
func (PluginQueryValidationError) Key ¶ added in v0.6.2
func (e PluginQueryValidationError) Key() bool
Key function returns key value.
func (PluginQueryValidationError) Reason ¶ added in v0.6.2
func (e PluginQueryValidationError) Reason() string
Reason function returns reason value.
type PluginQuery_QueryCommand ¶ added in v0.2.0
type PluginQuery_QueryCommand int32
QueryCommand is the type of the query.
const ( // UNKNOWN is the default value of QueryCommand. PluginQuery_UNKNOWN PluginQuery_QueryCommand = 0 // GET is the command to get a value. PluginQuery_GET PluginQuery_QueryCommand = 1 // LIST is the command to list keys with an optional prefix. PluginQuery_LIST PluginQuery_QueryCommand = 2 // ITER is the command to iterate over keys with an optional prefix. PluginQuery_ITER PluginQuery_QueryCommand = 3 // PUT is the command to put a value. PluginQuery_PUT PluginQuery_QueryCommand = 4 // DELETE is the command to delete a value. PluginQuery_DELETE PluginQuery_QueryCommand = 5 // SUBSCRIBE is the command to subscribe to a prefix. PluginQuery_SUBSCRIBE PluginQuery_QueryCommand = 6 )
func (PluginQuery_QueryCommand) Descriptor ¶ added in v0.2.0
func (PluginQuery_QueryCommand) Descriptor() protoreflect.EnumDescriptor
func (PluginQuery_QueryCommand) Enum ¶ added in v0.2.0
func (x PluginQuery_QueryCommand) Enum() *PluginQuery_QueryCommand
func (PluginQuery_QueryCommand) EnumDescriptor
deprecated
added in
v0.2.0
func (PluginQuery_QueryCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use PluginQuery_QueryCommand.Descriptor instead.
func (PluginQuery_QueryCommand) Number ¶ added in v0.2.0
func (x PluginQuery_QueryCommand) Number() protoreflect.EnumNumber
func (PluginQuery_QueryCommand) String ¶ added in v0.2.0
func (x PluginQuery_QueryCommand) String() string
func (PluginQuery_QueryCommand) Type ¶ added in v0.2.0
func (PluginQuery_QueryCommand) Type() protoreflect.EnumType
type PluginServer ¶
type PluginServer interface { // GetInfo returns the information for the plugin. GetInfo(context.Context, *emptypb.Empty) (*PluginInfo, error) // Configure starts and configures the plugin. Configure(context.Context, *PluginConfiguration) (*emptypb.Empty, error) // Close closes the plugin. It is called when the node is shutting down. Close(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // contains filtered or unexported methods }
PluginServer is the server API for Plugin service. All implementations must embed UnimplementedPluginServer for forward compatibility
type PrefixEvent ¶ added in v0.4.0
type PrefixEvent struct { // Prefix is the prefix that the event is for. Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // Value is the value that was added or removed. Value *StorageValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // EventType is the type of event. EventType PrefixEvent_EventType `protobuf:"varint,3,opt,name=event_type,json=eventType,proto3,enum=v1.PrefixEvent_EventType" json:"event_type,omitempty"` // contains filtered or unexported fields }
PrefixEvent is an event that is emitted when a value is added or removed from the storage for a prefix.
func (*PrefixEvent) DeepCopy ¶ added in v0.6.2
func (in *PrefixEvent) DeepCopy() *PrefixEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixEvent. Required by controller-gen.
func (*PrefixEvent) DeepCopyInterface ¶ added in v0.6.2
func (in *PrefixEvent) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PrefixEvent. Required by controller-gen.
func (*PrefixEvent) DeepCopyInto ¶ added in v0.6.2
func (in *PrefixEvent) DeepCopyInto(out *PrefixEvent)
DeepCopyInto supports using PrefixEvent within kubernetes types, where deepcopy-gen is used.
func (*PrefixEvent) Descriptor
deprecated
added in
v0.4.0
func (*PrefixEvent) Descriptor() ([]byte, []int)
Deprecated: Use PrefixEvent.ProtoReflect.Descriptor instead.
func (*PrefixEvent) GetEventType ¶ added in v0.4.0
func (x *PrefixEvent) GetEventType() PrefixEvent_EventType
func (*PrefixEvent) GetPrefix ¶ added in v0.4.0
func (x *PrefixEvent) GetPrefix() []byte
func (*PrefixEvent) GetValue ¶ added in v0.4.0
func (x *PrefixEvent) GetValue() *StorageValue
func (*PrefixEvent) ProtoMessage ¶ added in v0.4.0
func (*PrefixEvent) ProtoMessage()
func (*PrefixEvent) ProtoReflect ¶ added in v0.4.0
func (x *PrefixEvent) ProtoReflect() protoreflect.Message
func (*PrefixEvent) Reset ¶ added in v0.4.0
func (x *PrefixEvent) Reset()
func (*PrefixEvent) String ¶ added in v0.4.0
func (x *PrefixEvent) String() string
func (*PrefixEvent) Validate ¶ added in v0.6.2
func (m *PrefixEvent) Validate() error
Validate checks the field values on PrefixEvent 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 (*PrefixEvent) ValidateAll ¶ added in v0.6.2
func (m *PrefixEvent) ValidateAll() error
ValidateAll checks the field values on PrefixEvent 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 PrefixEventMultiError, or nil if none found.
type PrefixEventMultiError ¶ added in v0.6.2
type PrefixEventMultiError []error
PrefixEventMultiError is an error wrapping multiple validation errors returned by PrefixEvent.ValidateAll() if the designated constraints aren't met.
func (PrefixEventMultiError) AllErrors ¶ added in v0.6.2
func (m PrefixEventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrefixEventMultiError) Error ¶ added in v0.6.2
func (m PrefixEventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrefixEventValidationError ¶ added in v0.6.2
type PrefixEventValidationError struct {
// contains filtered or unexported fields
}
PrefixEventValidationError is the validation error returned by PrefixEvent.Validate if the designated constraints aren't met.
func (PrefixEventValidationError) Cause ¶ added in v0.6.2
func (e PrefixEventValidationError) Cause() error
Cause function returns cause value.
func (PrefixEventValidationError) Error ¶ added in v0.6.2
func (e PrefixEventValidationError) Error() string
Error satisfies the builtin error interface
func (PrefixEventValidationError) ErrorName ¶ added in v0.6.2
func (e PrefixEventValidationError) ErrorName() string
ErrorName returns error name.
func (PrefixEventValidationError) Field ¶ added in v0.6.2
func (e PrefixEventValidationError) Field() string
Field function returns field value.
func (PrefixEventValidationError) Key ¶ added in v0.6.2
func (e PrefixEventValidationError) Key() bool
Key function returns key value.
func (PrefixEventValidationError) Reason ¶ added in v0.6.2
func (e PrefixEventValidationError) Reason() string
Reason function returns reason value.
type PrefixEvent_EventType ¶ added in v0.4.0
type PrefixEvent_EventType int32
const ( // EventTypeUnknown is an unknown event type. PrefixEvent_EventTypeUnknown PrefixEvent_EventType = 0 // EventTypeUpdated is an event for when a value is added or updated. PrefixEvent_EventTypeUpdated PrefixEvent_EventType = 1 // EventTypeRemoved is an event for when a value is removed. PrefixEvent_EventTypeRemoved PrefixEvent_EventType = 2 )
func (PrefixEvent_EventType) Descriptor ¶ added in v0.4.0
func (PrefixEvent_EventType) Descriptor() protoreflect.EnumDescriptor
func (PrefixEvent_EventType) Enum ¶ added in v0.4.0
func (x PrefixEvent_EventType) Enum() *PrefixEvent_EventType
func (PrefixEvent_EventType) EnumDescriptor
deprecated
added in
v0.4.0
func (PrefixEvent_EventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PrefixEvent_EventType.Descriptor instead.
func (PrefixEvent_EventType) Number ¶ added in v0.4.0
func (x PrefixEvent_EventType) Number() protoreflect.EnumNumber
func (PrefixEvent_EventType) String ¶ added in v0.4.0
func (x PrefixEvent_EventType) String() string
func (PrefixEvent_EventType) Type ¶ added in v0.4.0
func (PrefixEvent_EventType) Type() protoreflect.EnumType
type PublishRequest ¶ added in v0.2.2
type PublishRequest struct { // key is the key of the event. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // value is the value of the event. This will be the raw value of the key. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // ttl is the time for the event to live in the database. Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
PublishRequest is sent by the application to the node to publish events. This currently only supports database events.
func (*PublishRequest) DeepCopy ¶ added in v0.6.2
func (in *PublishRequest) DeepCopy() *PublishRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishRequest. Required by controller-gen.
func (*PublishRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *PublishRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PublishRequest. Required by controller-gen.
func (*PublishRequest) DeepCopyInto ¶ added in v0.6.2
func (in *PublishRequest) DeepCopyInto(out *PublishRequest)
DeepCopyInto supports using PublishRequest within kubernetes types, where deepcopy-gen is used.
func (*PublishRequest) Descriptor
deprecated
added in
v0.2.2
func (*PublishRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.
func (*PublishRequest) GetKey ¶ added in v0.2.2
func (x *PublishRequest) GetKey() []byte
func (*PublishRequest) GetTtl ¶ added in v0.2.2
func (x *PublishRequest) GetTtl() *durationpb.Duration
func (*PublishRequest) GetValue ¶ added in v0.2.2
func (x *PublishRequest) GetValue() []byte
func (*PublishRequest) ProtoMessage ¶ added in v0.2.2
func (*PublishRequest) ProtoMessage()
func (*PublishRequest) ProtoReflect ¶ added in v0.2.2
func (x *PublishRequest) ProtoReflect() protoreflect.Message
func (*PublishRequest) Reset ¶ added in v0.2.2
func (x *PublishRequest) Reset()
func (*PublishRequest) String ¶ added in v0.2.2
func (x *PublishRequest) String() string
func (*PublishRequest) Validate ¶ added in v0.6.2
func (m *PublishRequest) Validate() error
Validate checks the field values on PublishRequest 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 (*PublishRequest) ValidateAll ¶ added in v0.6.2
func (m *PublishRequest) ValidateAll() error
ValidateAll checks the field values on PublishRequest 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 PublishRequestMultiError, or nil if none found.
type PublishRequestMultiError ¶ added in v0.6.2
type PublishRequestMultiError []error
PublishRequestMultiError is an error wrapping multiple validation errors returned by PublishRequest.ValidateAll() if the designated constraints aren't met.
func (PublishRequestMultiError) AllErrors ¶ added in v0.6.2
func (m PublishRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PublishRequestMultiError) Error ¶ added in v0.6.2
func (m PublishRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PublishRequestValidationError ¶ added in v0.6.2
type PublishRequestValidationError struct {
// contains filtered or unexported fields
}
PublishRequestValidationError is the validation error returned by PublishRequest.Validate if the designated constraints aren't met.
func (PublishRequestValidationError) Cause ¶ added in v0.6.2
func (e PublishRequestValidationError) Cause() error
Cause function returns cause value.
func (PublishRequestValidationError) Error ¶ added in v0.6.2
func (e PublishRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PublishRequestValidationError) ErrorName ¶ added in v0.6.2
func (e PublishRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PublishRequestValidationError) Field ¶ added in v0.6.2
func (e PublishRequestValidationError) Field() string
Field function returns field value.
func (PublishRequestValidationError) Key ¶ added in v0.6.2
func (e PublishRequestValidationError) Key() bool
Key function returns key value.
func (PublishRequestValidationError) Reason ¶ added in v0.6.2
func (e PublishRequestValidationError) Reason() string
Reason function returns reason value.
type PublishResponse ¶ added in v0.2.2
type PublishResponse struct {
// contains filtered or unexported fields
}
PublishResponse is the response to a publish request. This is currently empty.
func (*PublishResponse) DeepCopy ¶ added in v0.6.2
func (in *PublishResponse) DeepCopy() *PublishResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishResponse. Required by controller-gen.
func (*PublishResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *PublishResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PublishResponse. Required by controller-gen.
func (*PublishResponse) DeepCopyInto ¶ added in v0.6.2
func (in *PublishResponse) DeepCopyInto(out *PublishResponse)
DeepCopyInto supports using PublishResponse within kubernetes types, where deepcopy-gen is used.
func (*PublishResponse) Descriptor
deprecated
added in
v0.2.2
func (*PublishResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.
func (*PublishResponse) ProtoMessage ¶ added in v0.2.2
func (*PublishResponse) ProtoMessage()
func (*PublishResponse) ProtoReflect ¶ added in v0.2.2
func (x *PublishResponse) ProtoReflect() protoreflect.Message
func (*PublishResponse) Reset ¶ added in v0.2.2
func (x *PublishResponse) Reset()
func (*PublishResponse) String ¶ added in v0.2.2
func (x *PublishResponse) String() string
func (*PublishResponse) Validate ¶ added in v0.6.2
func (m *PublishResponse) Validate() error
Validate checks the field values on PublishResponse 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 (*PublishResponse) ValidateAll ¶ added in v0.6.2
func (m *PublishResponse) ValidateAll() error
ValidateAll checks the field values on PublishResponse 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 PublishResponseMultiError, or nil if none found.
type PublishResponseMultiError ¶ added in v0.6.2
type PublishResponseMultiError []error
PublishResponseMultiError is an error wrapping multiple validation errors returned by PublishResponse.ValidateAll() if the designated constraints aren't met.
func (PublishResponseMultiError) AllErrors ¶ added in v0.6.2
func (m PublishResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PublishResponseMultiError) Error ¶ added in v0.6.2
func (m PublishResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PublishResponseValidationError ¶ added in v0.6.2
type PublishResponseValidationError struct {
// contains filtered or unexported fields
}
PublishResponseValidationError is the validation error returned by PublishResponse.Validate if the designated constraints aren't met.
func (PublishResponseValidationError) Cause ¶ added in v0.6.2
func (e PublishResponseValidationError) Cause() error
Cause function returns cause value.
func (PublishResponseValidationError) Error ¶ added in v0.6.2
func (e PublishResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PublishResponseValidationError) ErrorName ¶ added in v0.6.2
func (e PublishResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PublishResponseValidationError) Field ¶ added in v0.6.2
func (e PublishResponseValidationError) Field() string
Field function returns field value.
func (PublishResponseValidationError) Key ¶ added in v0.6.2
func (e PublishResponseValidationError) Key() bool
Key function returns key value.
func (PublishResponseValidationError) Reason ¶ added in v0.6.2
func (e PublishResponseValidationError) Reason() string
Reason function returns reason value.
type PutValueRequest ¶ added in v0.4.0
type PutValueRequest struct { // Value is the value to put. Value *StorageValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // TTL is the time to live for the value. Ttl *durationpb.Duration `protobuf:"bytes,2,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
PutValueRequest is the request object for the PutValue RPC.
func (*PutValueRequest) DeepCopy ¶ added in v0.6.2
func (in *PutValueRequest) DeepCopy() *PutValueRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PutValueRequest. Required by controller-gen.
func (*PutValueRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *PutValueRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PutValueRequest. Required by controller-gen.
func (*PutValueRequest) DeepCopyInto ¶ added in v0.6.2
func (in *PutValueRequest) DeepCopyInto(out *PutValueRequest)
DeepCopyInto supports using PutValueRequest within kubernetes types, where deepcopy-gen is used.
func (*PutValueRequest) Descriptor
deprecated
added in
v0.4.0
func (*PutValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutValueRequest.ProtoReflect.Descriptor instead.
func (*PutValueRequest) GetTtl ¶ added in v0.4.0
func (x *PutValueRequest) GetTtl() *durationpb.Duration
func (*PutValueRequest) GetValue ¶ added in v0.4.0
func (x *PutValueRequest) GetValue() *StorageValue
func (*PutValueRequest) ProtoMessage ¶ added in v0.4.0
func (*PutValueRequest) ProtoMessage()
func (*PutValueRequest) ProtoReflect ¶ added in v0.4.0
func (x *PutValueRequest) ProtoReflect() protoreflect.Message
func (*PutValueRequest) Reset ¶ added in v0.4.0
func (x *PutValueRequest) Reset()
func (*PutValueRequest) String ¶ added in v0.4.0
func (x *PutValueRequest) String() string
func (*PutValueRequest) Validate ¶ added in v0.6.2
func (m *PutValueRequest) Validate() error
Validate checks the field values on PutValueRequest 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 (*PutValueRequest) ValidateAll ¶ added in v0.6.2
func (m *PutValueRequest) ValidateAll() error
ValidateAll checks the field values on PutValueRequest 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 PutValueRequestMultiError, or nil if none found.
type PutValueRequestMultiError ¶ added in v0.6.2
type PutValueRequestMultiError []error
PutValueRequestMultiError is an error wrapping multiple validation errors returned by PutValueRequest.ValidateAll() if the designated constraints aren't met.
func (PutValueRequestMultiError) AllErrors ¶ added in v0.6.2
func (m PutValueRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PutValueRequestMultiError) Error ¶ added in v0.6.2
func (m PutValueRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PutValueRequestValidationError ¶ added in v0.6.2
type PutValueRequestValidationError struct {
// contains filtered or unexported fields
}
PutValueRequestValidationError is the validation error returned by PutValueRequest.Validate if the designated constraints aren't met.
func (PutValueRequestValidationError) Cause ¶ added in v0.6.2
func (e PutValueRequestValidationError) Cause() error
Cause function returns cause value.
func (PutValueRequestValidationError) Error ¶ added in v0.6.2
func (e PutValueRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PutValueRequestValidationError) ErrorName ¶ added in v0.6.2
func (e PutValueRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PutValueRequestValidationError) Field ¶ added in v0.6.2
func (e PutValueRequestValidationError) Field() string
Field function returns field value.
func (PutValueRequestValidationError) Key ¶ added in v0.6.2
func (e PutValueRequestValidationError) Key() bool
Key function returns key value.
func (PutValueRequestValidationError) Reason ¶ added in v0.6.2
func (e PutValueRequestValidationError) Reason() string
Reason function returns reason value.
type PutValueResponse ¶ added in v0.4.0
type PutValueResponse struct {
// contains filtered or unexported fields
}
PutValueResponse is the response object for the PutValue RPC.
func (*PutValueResponse) DeepCopy ¶ added in v0.6.2
func (in *PutValueResponse) DeepCopy() *PutValueResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PutValueResponse. Required by controller-gen.
func (*PutValueResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *PutValueResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PutValueResponse. Required by controller-gen.
func (*PutValueResponse) DeepCopyInto ¶ added in v0.6.2
func (in *PutValueResponse) DeepCopyInto(out *PutValueResponse)
DeepCopyInto supports using PutValueResponse within kubernetes types, where deepcopy-gen is used.
func (*PutValueResponse) Descriptor
deprecated
added in
v0.4.0
func (*PutValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutValueResponse.ProtoReflect.Descriptor instead.
func (*PutValueResponse) ProtoMessage ¶ added in v0.4.0
func (*PutValueResponse) ProtoMessage()
func (*PutValueResponse) ProtoReflect ¶ added in v0.4.0
func (x *PutValueResponse) ProtoReflect() protoreflect.Message
func (*PutValueResponse) Reset ¶ added in v0.4.0
func (x *PutValueResponse) Reset()
func (*PutValueResponse) String ¶ added in v0.4.0
func (x *PutValueResponse) String() string
func (*PutValueResponse) Validate ¶ added in v0.6.2
func (m *PutValueResponse) Validate() error
Validate checks the field values on PutValueResponse 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 (*PutValueResponse) ValidateAll ¶ added in v0.6.2
func (m *PutValueResponse) ValidateAll() error
ValidateAll checks the field values on PutValueResponse 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 PutValueResponseMultiError, or nil if none found.
type PutValueResponseMultiError ¶ added in v0.6.2
type PutValueResponseMultiError []error
PutValueResponseMultiError is an error wrapping multiple validation errors returned by PutValueResponse.ValidateAll() if the designated constraints aren't met.
func (PutValueResponseMultiError) AllErrors ¶ added in v0.6.2
func (m PutValueResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PutValueResponseMultiError) Error ¶ added in v0.6.2
func (m PutValueResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PutValueResponseValidationError ¶ added in v0.6.2
type PutValueResponseValidationError struct {
// contains filtered or unexported fields
}
PutValueResponseValidationError is the validation error returned by PutValueResponse.Validate if the designated constraints aren't met.
func (PutValueResponseValidationError) Cause ¶ added in v0.6.2
func (e PutValueResponseValidationError) Cause() error
Cause function returns cause value.
func (PutValueResponseValidationError) Error ¶ added in v0.6.2
func (e PutValueResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PutValueResponseValidationError) ErrorName ¶ added in v0.6.2
func (e PutValueResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PutValueResponseValidationError) Field ¶ added in v0.6.2
func (e PutValueResponseValidationError) Field() string
Field function returns field value.
func (PutValueResponseValidationError) Key ¶ added in v0.6.2
func (e PutValueResponseValidationError) Key() bool
Key function returns key value.
func (PutValueResponseValidationError) Reason ¶ added in v0.6.2
func (e PutValueResponseValidationError) Reason() string
Reason function returns reason value.
type QueryRequest ¶ added in v0.2.2
type QueryRequest struct { // command is the command of the query. Command QueryRequest_QueryCommand `protobuf:"varint,2,opt,name=command,proto3,enum=v1.QueryRequest_QueryCommand" json:"command,omitempty"` // query is the key or prefix of the query. Query []byte `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
QueryRequest is sent by the application to the node to query the mesh for information.
func (*QueryRequest) DeepCopy ¶ added in v0.6.2
func (in *QueryRequest) DeepCopy() *QueryRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryRequest. Required by controller-gen.
func (*QueryRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *QueryRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new QueryRequest. Required by controller-gen.
func (*QueryRequest) DeepCopyInto ¶ added in v0.6.2
func (in *QueryRequest) DeepCopyInto(out *QueryRequest)
DeepCopyInto supports using QueryRequest within kubernetes types, where deepcopy-gen is used.
func (*QueryRequest) Descriptor
deprecated
added in
v0.2.2
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetCommand ¶ added in v0.2.2
func (x *QueryRequest) GetCommand() QueryRequest_QueryCommand
func (*QueryRequest) GetQuery ¶ added in v0.2.2
func (x *QueryRequest) GetQuery() []byte
func (*QueryRequest) ProtoMessage ¶ added in v0.2.2
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶ added in v0.2.2
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶ added in v0.2.2
func (x *QueryRequest) Reset()
func (*QueryRequest) String ¶ added in v0.2.2
func (x *QueryRequest) String() string
func (*QueryRequest) Validate ¶ added in v0.6.2
func (m *QueryRequest) Validate() error
Validate checks the field values on QueryRequest 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 (*QueryRequest) ValidateAll ¶ added in v0.6.2
func (m *QueryRequest) ValidateAll() error
ValidateAll checks the field values on QueryRequest 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 QueryRequestMultiError, or nil if none found.
type QueryRequestMultiError ¶ added in v0.6.2
type QueryRequestMultiError []error
QueryRequestMultiError is an error wrapping multiple validation errors returned by QueryRequest.ValidateAll() if the designated constraints aren't met.
func (QueryRequestMultiError) AllErrors ¶ added in v0.6.2
func (m QueryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryRequestMultiError) Error ¶ added in v0.6.2
func (m QueryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryRequestValidationError ¶ added in v0.6.2
type QueryRequestValidationError struct {
// contains filtered or unexported fields
}
QueryRequestValidationError is the validation error returned by QueryRequest.Validate if the designated constraints aren't met.
func (QueryRequestValidationError) Cause ¶ added in v0.6.2
func (e QueryRequestValidationError) Cause() error
Cause function returns cause value.
func (QueryRequestValidationError) Error ¶ added in v0.6.2
func (e QueryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QueryRequestValidationError) ErrorName ¶ added in v0.6.2
func (e QueryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QueryRequestValidationError) Field ¶ added in v0.6.2
func (e QueryRequestValidationError) Field() string
Field function returns field value.
func (QueryRequestValidationError) Key ¶ added in v0.6.2
func (e QueryRequestValidationError) Key() bool
Key function returns key value.
func (QueryRequestValidationError) Reason ¶ added in v0.6.2
func (e QueryRequestValidationError) Reason() string
Reason function returns reason value.
type QueryRequest_QueryCommand ¶ added in v0.2.2
type QueryRequest_QueryCommand int32
QueryCommand is the type of the query.
const ( // UNKNOWN is the default command. QueryRequest_UNKNOWN QueryRequest_QueryCommand = 0 // GET is the command to get a value. QueryRequest_GET QueryRequest_QueryCommand = 1 // LIST is the command to list keys with an optional prefix. QueryRequest_LIST QueryRequest_QueryCommand = 2 // ITER is the command to iterate over keys with an optional prefix. QueryRequest_ITER QueryRequest_QueryCommand = 3 )
func (QueryRequest_QueryCommand) Descriptor ¶ added in v0.2.2
func (QueryRequest_QueryCommand) Descriptor() protoreflect.EnumDescriptor
func (QueryRequest_QueryCommand) Enum ¶ added in v0.2.2
func (x QueryRequest_QueryCommand) Enum() *QueryRequest_QueryCommand
func (QueryRequest_QueryCommand) EnumDescriptor
deprecated
added in
v0.2.2
func (QueryRequest_QueryCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use QueryRequest_QueryCommand.Descriptor instead.
func (QueryRequest_QueryCommand) Number ¶ added in v0.2.2
func (x QueryRequest_QueryCommand) Number() protoreflect.EnumNumber
func (QueryRequest_QueryCommand) String ¶ added in v0.2.2
func (x QueryRequest_QueryCommand) String() string
func (QueryRequest_QueryCommand) Type ¶ added in v0.2.2
func (QueryRequest_QueryCommand) Type() protoreflect.EnumType
type QueryResponse ¶ added in v0.2.2
type QueryResponse struct { // key is the key of the query. For GET and ITER queries it will be the current key. // For LIST queries it will be the prefix. Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // value is the value of the query. For GET and ITER queries it will be the value of the current key. // For LIST queries it will be the list of keys that match the prefix. Value [][]byte `protobuf:"bytes,3,rep,name=value,proto3" json:"value,omitempty"` // error is an error that occurred during the query. At the end of an ITER query it will be set to // "EOF" to indicate that the iteration is complete. Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
QueryResponse is the message containing a mesh query result.
func (*QueryResponse) DeepCopy ¶ added in v0.6.2
func (in *QueryResponse) DeepCopy() *QueryResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryResponse. Required by controller-gen.
func (*QueryResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *QueryResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new QueryResponse. Required by controller-gen.
func (*QueryResponse) DeepCopyInto ¶ added in v0.6.2
func (in *QueryResponse) DeepCopyInto(out *QueryResponse)
DeepCopyInto supports using QueryResponse within kubernetes types, where deepcopy-gen is used.
func (*QueryResponse) Descriptor
deprecated
added in
v0.2.2
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetError ¶ added in v0.2.2
func (x *QueryResponse) GetError() string
func (*QueryResponse) GetKey ¶ added in v0.2.2
func (x *QueryResponse) GetKey() []byte
func (*QueryResponse) GetValue ¶ added in v0.2.2
func (x *QueryResponse) GetValue() [][]byte
func (*QueryResponse) ProtoMessage ¶ added in v0.2.2
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶ added in v0.2.2
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶ added in v0.2.2
func (x *QueryResponse) Reset()
func (*QueryResponse) String ¶ added in v0.2.2
func (x *QueryResponse) String() string
func (*QueryResponse) Validate ¶ added in v0.6.2
func (m *QueryResponse) Validate() error
Validate checks the field values on QueryResponse 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 (*QueryResponse) ValidateAll ¶ added in v0.6.2
func (m *QueryResponse) ValidateAll() error
ValidateAll checks the field values on QueryResponse 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 QueryResponseMultiError, or nil if none found.
type QueryResponseMultiError ¶ added in v0.6.2
type QueryResponseMultiError []error
QueryResponseMultiError is an error wrapping multiple validation errors returned by QueryResponse.ValidateAll() if the designated constraints aren't met.
func (QueryResponseMultiError) AllErrors ¶ added in v0.6.2
func (m QueryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryResponseMultiError) Error ¶ added in v0.6.2
func (m QueryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryResponseValidationError ¶ added in v0.6.2
type QueryResponseValidationError struct {
// contains filtered or unexported fields
}
QueryResponseValidationError is the validation error returned by QueryResponse.Validate if the designated constraints aren't met.
func (QueryResponseValidationError) Cause ¶ added in v0.6.2
func (e QueryResponseValidationError) Cause() error
Cause function returns cause value.
func (QueryResponseValidationError) Error ¶ added in v0.6.2
func (e QueryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (QueryResponseValidationError) ErrorName ¶ added in v0.6.2
func (e QueryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (QueryResponseValidationError) Field ¶ added in v0.6.2
func (e QueryResponseValidationError) Field() string
Field function returns field value.
func (QueryResponseValidationError) Key ¶ added in v0.6.2
func (e QueryResponseValidationError) Key() bool
Key function returns key value.
func (QueryResponseValidationError) Reason ¶ added in v0.6.2
func (e QueryResponseValidationError) Reason() string
Reason function returns reason value.
type RBACAction ¶
type RBACAction struct { // resource is the resource on which the action is performed. Resource RuleResource `protobuf:"varint,1,opt,name=resource,proto3,enum=v1.RuleResource" json:"resource,omitempty"` // resource_name is the name of the resource on which the action is // performed. ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // verb is the verb that is performed on the resource. Verb RuleVerb `protobuf:"varint,3,opt,name=verb,proto3,enum=v1.RuleVerb" json:"verb,omitempty"` // contains filtered or unexported fields }
RBACAction is an action that can be performed on a resource. It is used by implementations to evaluate rules.
func (*RBACAction) DeepCopy ¶ added in v0.6.2
func (in *RBACAction) DeepCopy() *RBACAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBACAction. Required by controller-gen.
func (*RBACAction) DeepCopyInterface ¶ added in v0.6.2
func (in *RBACAction) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RBACAction. Required by controller-gen.
func (*RBACAction) DeepCopyInto ¶ added in v0.6.2
func (in *RBACAction) DeepCopyInto(out *RBACAction)
DeepCopyInto supports using RBACAction within kubernetes types, where deepcopy-gen is used.
func (*RBACAction) Descriptor
deprecated
func (*RBACAction) Descriptor() ([]byte, []int)
Deprecated: Use RBACAction.ProtoReflect.Descriptor instead.
func (*RBACAction) GetResource ¶
func (x *RBACAction) GetResource() RuleResource
func (*RBACAction) GetResourceName ¶
func (x *RBACAction) GetResourceName() string
func (*RBACAction) GetVerb ¶
func (x *RBACAction) GetVerb() RuleVerb
func (*RBACAction) ProtoMessage ¶
func (*RBACAction) ProtoMessage()
func (*RBACAction) ProtoReflect ¶
func (x *RBACAction) ProtoReflect() protoreflect.Message
func (*RBACAction) Reset ¶
func (x *RBACAction) Reset()
func (*RBACAction) String ¶
func (x *RBACAction) String() string
func (*RBACAction) Validate ¶ added in v0.6.2
func (m *RBACAction) Validate() error
Validate checks the field values on RBACAction 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 (*RBACAction) ValidateAll ¶ added in v0.6.2
func (m *RBACAction) ValidateAll() error
ValidateAll checks the field values on RBACAction 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 RBACActionMultiError, or nil if none found.
type RBACActionMultiError ¶ added in v0.6.2
type RBACActionMultiError []error
RBACActionMultiError is an error wrapping multiple validation errors returned by RBACAction.ValidateAll() if the designated constraints aren't met.
func (RBACActionMultiError) AllErrors ¶ added in v0.6.2
func (m RBACActionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RBACActionMultiError) Error ¶ added in v0.6.2
func (m RBACActionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RBACActionValidationError ¶ added in v0.6.2
type RBACActionValidationError struct {
// contains filtered or unexported fields
}
RBACActionValidationError is the validation error returned by RBACAction.Validate if the designated constraints aren't met.
func (RBACActionValidationError) Cause ¶ added in v0.6.2
func (e RBACActionValidationError) Cause() error
Cause function returns cause value.
func (RBACActionValidationError) Error ¶ added in v0.6.2
func (e RBACActionValidationError) Error() string
Error satisfies the builtin error interface
func (RBACActionValidationError) ErrorName ¶ added in v0.6.2
func (e RBACActionValidationError) ErrorName() string
ErrorName returns error name.
func (RBACActionValidationError) Field ¶ added in v0.6.2
func (e RBACActionValidationError) Field() string
Field function returns field value.
func (RBACActionValidationError) Key ¶ added in v0.6.2
func (e RBACActionValidationError) Key() bool
Key function returns key value.
func (RBACActionValidationError) Reason ¶ added in v0.6.2
func (e RBACActionValidationError) Reason() string
Reason function returns reason value.
type RaftApplyResponse ¶
type RaftApplyResponse struct { // time is the total time it took to apply the log entry. Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // error is an error that occurred during the apply. Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
RaftApplyResponse is the response to an apply request. It contains the result of applying the log entry.
func (*RaftApplyResponse) DeepCopy ¶ added in v0.6.2
func (in *RaftApplyResponse) DeepCopy() *RaftApplyResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RaftApplyResponse. Required by controller-gen.
func (*RaftApplyResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *RaftApplyResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RaftApplyResponse. Required by controller-gen.
func (*RaftApplyResponse) DeepCopyInto ¶ added in v0.6.2
func (in *RaftApplyResponse) DeepCopyInto(out *RaftApplyResponse)
DeepCopyInto supports using RaftApplyResponse within kubernetes types, where deepcopy-gen is used.
func (*RaftApplyResponse) Descriptor
deprecated
func (*RaftApplyResponse) Descriptor() ([]byte, []int)
Deprecated: Use RaftApplyResponse.ProtoReflect.Descriptor instead.
func (*RaftApplyResponse) GetError ¶
func (x *RaftApplyResponse) GetError() string
func (*RaftApplyResponse) GetTime ¶
func (x *RaftApplyResponse) GetTime() string
func (*RaftApplyResponse) ProtoMessage ¶
func (*RaftApplyResponse) ProtoMessage()
func (*RaftApplyResponse) ProtoReflect ¶
func (x *RaftApplyResponse) ProtoReflect() protoreflect.Message
func (*RaftApplyResponse) Reset ¶
func (x *RaftApplyResponse) Reset()
func (*RaftApplyResponse) String ¶
func (x *RaftApplyResponse) String() string
func (*RaftApplyResponse) Validate ¶ added in v0.6.2
func (m *RaftApplyResponse) Validate() error
Validate checks the field values on RaftApplyResponse 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 (*RaftApplyResponse) ValidateAll ¶ added in v0.6.2
func (m *RaftApplyResponse) ValidateAll() error
ValidateAll checks the field values on RaftApplyResponse 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 RaftApplyResponseMultiError, or nil if none found.
type RaftApplyResponseMultiError ¶ added in v0.6.2
type RaftApplyResponseMultiError []error
RaftApplyResponseMultiError is an error wrapping multiple validation errors returned by RaftApplyResponse.ValidateAll() if the designated constraints aren't met.
func (RaftApplyResponseMultiError) AllErrors ¶ added in v0.6.2
func (m RaftApplyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RaftApplyResponseMultiError) Error ¶ added in v0.6.2
func (m RaftApplyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RaftApplyResponseValidationError ¶ added in v0.6.2
type RaftApplyResponseValidationError struct {
// contains filtered or unexported fields
}
RaftApplyResponseValidationError is the validation error returned by RaftApplyResponse.Validate if the designated constraints aren't met.
func (RaftApplyResponseValidationError) Cause ¶ added in v0.6.2
func (e RaftApplyResponseValidationError) Cause() error
Cause function returns cause value.
func (RaftApplyResponseValidationError) Error ¶ added in v0.6.2
func (e RaftApplyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RaftApplyResponseValidationError) ErrorName ¶ added in v0.6.2
func (e RaftApplyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RaftApplyResponseValidationError) Field ¶ added in v0.6.2
func (e RaftApplyResponseValidationError) Field() string
Field function returns field value.
func (RaftApplyResponseValidationError) Key ¶ added in v0.6.2
func (e RaftApplyResponseValidationError) Key() bool
Key function returns key value.
func (RaftApplyResponseValidationError) Reason ¶ added in v0.6.2
func (e RaftApplyResponseValidationError) Reason() string
Reason function returns reason value.
type RaftCommandType ¶
type RaftCommandType int32
RaftCommandType is the type of command being sent to the Raft log.
const ( // UNKNOWN is the unknown command type. RaftCommandType_UNKNOWN RaftCommandType = 0 // PUT is the command for putting a key/value pair. RaftCommandType_PUT RaftCommandType = 1 // DELETE is the command for deleting a key/value pair. RaftCommandType_DELETE RaftCommandType = 2 )
func (RaftCommandType) Descriptor ¶
func (RaftCommandType) Descriptor() protoreflect.EnumDescriptor
func (RaftCommandType) Enum ¶
func (x RaftCommandType) Enum() *RaftCommandType
func (RaftCommandType) EnumDescriptor
deprecated
func (RaftCommandType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RaftCommandType.Descriptor instead.
func (RaftCommandType) Number ¶
func (x RaftCommandType) Number() protoreflect.EnumNumber
func (RaftCommandType) String ¶
func (x RaftCommandType) String() string
func (RaftCommandType) Type ¶
func (RaftCommandType) Type() protoreflect.EnumType
type RaftDataItem ¶ added in v0.3.0
type RaftDataItem struct { // key is the key of the data item. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // value is the value of the data item. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // ttl is the time to live of the data item. Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
RaftDataItem represents a value in the Raft data store.
func (*RaftDataItem) DeepCopy ¶ added in v0.6.2
func (in *RaftDataItem) DeepCopy() *RaftDataItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RaftDataItem. Required by controller-gen.
func (*RaftDataItem) DeepCopyInterface ¶ added in v0.6.2
func (in *RaftDataItem) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RaftDataItem. Required by controller-gen.
func (*RaftDataItem) DeepCopyInto ¶ added in v0.6.2
func (in *RaftDataItem) DeepCopyInto(out *RaftDataItem)
DeepCopyInto supports using RaftDataItem within kubernetes types, where deepcopy-gen is used.
func (*RaftDataItem) Descriptor
deprecated
added in
v0.3.0
func (*RaftDataItem) Descriptor() ([]byte, []int)
Deprecated: Use RaftDataItem.ProtoReflect.Descriptor instead.
func (*RaftDataItem) GetKey ¶ added in v0.3.0
func (x *RaftDataItem) GetKey() []byte
func (*RaftDataItem) GetTtl ¶ added in v0.3.0
func (x *RaftDataItem) GetTtl() *durationpb.Duration
func (*RaftDataItem) GetValue ¶ added in v0.3.0
func (x *RaftDataItem) GetValue() []byte
func (*RaftDataItem) ProtoMessage ¶ added in v0.3.0
func (*RaftDataItem) ProtoMessage()
func (*RaftDataItem) ProtoReflect ¶ added in v0.3.0
func (x *RaftDataItem) ProtoReflect() protoreflect.Message
func (*RaftDataItem) Reset ¶ added in v0.3.0
func (x *RaftDataItem) Reset()
func (*RaftDataItem) String ¶ added in v0.3.0
func (x *RaftDataItem) String() string
func (*RaftDataItem) Validate ¶ added in v0.6.2
func (m *RaftDataItem) Validate() error
Validate checks the field values on RaftDataItem 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 (*RaftDataItem) ValidateAll ¶ added in v0.6.2
func (m *RaftDataItem) ValidateAll() error
ValidateAll checks the field values on RaftDataItem 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 RaftDataItemMultiError, or nil if none found.
type RaftDataItemMultiError ¶ added in v0.6.2
type RaftDataItemMultiError []error
RaftDataItemMultiError is an error wrapping multiple validation errors returned by RaftDataItem.ValidateAll() if the designated constraints aren't met.
func (RaftDataItemMultiError) AllErrors ¶ added in v0.6.2
func (m RaftDataItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RaftDataItemMultiError) Error ¶ added in v0.6.2
func (m RaftDataItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RaftDataItemValidationError ¶ added in v0.6.2
type RaftDataItemValidationError struct {
// contains filtered or unexported fields
}
RaftDataItemValidationError is the validation error returned by RaftDataItem.Validate if the designated constraints aren't met.
func (RaftDataItemValidationError) Cause ¶ added in v0.6.2
func (e RaftDataItemValidationError) Cause() error
Cause function returns cause value.
func (RaftDataItemValidationError) Error ¶ added in v0.6.2
func (e RaftDataItemValidationError) Error() string
Error satisfies the builtin error interface
func (RaftDataItemValidationError) ErrorName ¶ added in v0.6.2
func (e RaftDataItemValidationError) ErrorName() string
ErrorName returns error name.
func (RaftDataItemValidationError) Field ¶ added in v0.6.2
func (e RaftDataItemValidationError) Field() string
Field function returns field value.
func (RaftDataItemValidationError) Key ¶ added in v0.6.2
func (e RaftDataItemValidationError) Key() bool
Key function returns key value.
func (RaftDataItemValidationError) Reason ¶ added in v0.6.2
func (e RaftDataItemValidationError) Reason() string
Reason function returns reason value.
type RaftLogEntry ¶
type RaftLogEntry struct { // type is the type of the log entry. Type RaftCommandType `protobuf:"varint,1,opt,name=type,proto3,enum=v1.RaftCommandType" json:"type,omitempty"` // key is the key of the log entry. Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // value is the value of the log entry. Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // ttl is the time to live of the log entry. Ttl *durationpb.Duration `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
RaftLogEntry is the data of an entry in the Raft log.
func (*RaftLogEntry) DeepCopy ¶ added in v0.6.2
func (in *RaftLogEntry) DeepCopy() *RaftLogEntry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RaftLogEntry. Required by controller-gen.
func (*RaftLogEntry) DeepCopyInterface ¶ added in v0.6.2
func (in *RaftLogEntry) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RaftLogEntry. Required by controller-gen.
func (*RaftLogEntry) DeepCopyInto ¶ added in v0.6.2
func (in *RaftLogEntry) DeepCopyInto(out *RaftLogEntry)
DeepCopyInto supports using RaftLogEntry within kubernetes types, where deepcopy-gen is used.
func (*RaftLogEntry) Descriptor
deprecated
func (*RaftLogEntry) Descriptor() ([]byte, []int)
Deprecated: Use RaftLogEntry.ProtoReflect.Descriptor instead.
func (*RaftLogEntry) GetKey ¶ added in v0.2.0
func (x *RaftLogEntry) GetKey() []byte
func (*RaftLogEntry) GetTtl ¶ added in v0.2.2
func (x *RaftLogEntry) GetTtl() *durationpb.Duration
func (*RaftLogEntry) GetType ¶
func (x *RaftLogEntry) GetType() RaftCommandType
func (*RaftLogEntry) GetValue ¶ added in v0.2.0
func (x *RaftLogEntry) GetValue() []byte
func (*RaftLogEntry) ProtoMessage ¶
func (*RaftLogEntry) ProtoMessage()
func (*RaftLogEntry) ProtoReflect ¶
func (x *RaftLogEntry) ProtoReflect() protoreflect.Message
func (*RaftLogEntry) Reset ¶
func (x *RaftLogEntry) Reset()
func (*RaftLogEntry) String ¶
func (x *RaftLogEntry) String() string
func (*RaftLogEntry) Validate ¶ added in v0.6.2
func (m *RaftLogEntry) Validate() error
Validate checks the field values on RaftLogEntry 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 (*RaftLogEntry) ValidateAll ¶ added in v0.6.2
func (m *RaftLogEntry) ValidateAll() error
ValidateAll checks the field values on RaftLogEntry 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 RaftLogEntryMultiError, or nil if none found.
type RaftLogEntryMultiError ¶ added in v0.6.2
type RaftLogEntryMultiError []error
RaftLogEntryMultiError is an error wrapping multiple validation errors returned by RaftLogEntry.ValidateAll() if the designated constraints aren't met.
func (RaftLogEntryMultiError) AllErrors ¶ added in v0.6.2
func (m RaftLogEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RaftLogEntryMultiError) Error ¶ added in v0.6.2
func (m RaftLogEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RaftLogEntryValidationError ¶ added in v0.6.2
type RaftLogEntryValidationError struct {
// contains filtered or unexported fields
}
RaftLogEntryValidationError is the validation error returned by RaftLogEntry.Validate if the designated constraints aren't met.
func (RaftLogEntryValidationError) Cause ¶ added in v0.6.2
func (e RaftLogEntryValidationError) Cause() error
Cause function returns cause value.
func (RaftLogEntryValidationError) Error ¶ added in v0.6.2
func (e RaftLogEntryValidationError) Error() string
Error satisfies the builtin error interface
func (RaftLogEntryValidationError) ErrorName ¶ added in v0.6.2
func (e RaftLogEntryValidationError) ErrorName() string
ErrorName returns error name.
func (RaftLogEntryValidationError) Field ¶ added in v0.6.2
func (e RaftLogEntryValidationError) Field() string
Field function returns field value.
func (RaftLogEntryValidationError) Key ¶ added in v0.6.2
func (e RaftLogEntryValidationError) Key() bool
Key function returns key value.
func (RaftLogEntryValidationError) Reason ¶ added in v0.6.2
func (e RaftLogEntryValidationError) Reason() string
Reason function returns reason value.
type RaftSnapshot ¶ added in v0.3.0
type RaftSnapshot struct { Kv []*RaftDataItem `protobuf:"bytes,1,rep,name=kv,proto3" json:"kv,omitempty"` // contains filtered or unexported fields }
RaftSnapshot is the data of a snapshot.
func (*RaftSnapshot) DeepCopy ¶ added in v0.6.2
func (in *RaftSnapshot) DeepCopy() *RaftSnapshot
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RaftSnapshot. Required by controller-gen.
func (*RaftSnapshot) DeepCopyInterface ¶ added in v0.6.2
func (in *RaftSnapshot) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RaftSnapshot. Required by controller-gen.
func (*RaftSnapshot) DeepCopyInto ¶ added in v0.6.2
func (in *RaftSnapshot) DeepCopyInto(out *RaftSnapshot)
DeepCopyInto supports using RaftSnapshot within kubernetes types, where deepcopy-gen is used.
func (*RaftSnapshot) Descriptor
deprecated
added in
v0.3.0
func (*RaftSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use RaftSnapshot.ProtoReflect.Descriptor instead.
func (*RaftSnapshot) GetKv ¶ added in v0.3.0
func (x *RaftSnapshot) GetKv() []*RaftDataItem
func (*RaftSnapshot) ProtoMessage ¶ added in v0.3.0
func (*RaftSnapshot) ProtoMessage()
func (*RaftSnapshot) ProtoReflect ¶ added in v0.3.0
func (x *RaftSnapshot) ProtoReflect() protoreflect.Message
func (*RaftSnapshot) Reset ¶ added in v0.3.0
func (x *RaftSnapshot) Reset()
func (*RaftSnapshot) String ¶ added in v0.3.0
func (x *RaftSnapshot) String() string
func (*RaftSnapshot) Validate ¶ added in v0.6.2
func (m *RaftSnapshot) Validate() error
Validate checks the field values on RaftSnapshot 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 (*RaftSnapshot) ValidateAll ¶ added in v0.6.2
func (m *RaftSnapshot) ValidateAll() error
ValidateAll checks the field values on RaftSnapshot 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 RaftSnapshotMultiError, or nil if none found.
type RaftSnapshotMultiError ¶ added in v0.6.2
type RaftSnapshotMultiError []error
RaftSnapshotMultiError is an error wrapping multiple validation errors returned by RaftSnapshot.ValidateAll() if the designated constraints aren't met.
func (RaftSnapshotMultiError) AllErrors ¶ added in v0.6.2
func (m RaftSnapshotMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RaftSnapshotMultiError) Error ¶ added in v0.6.2
func (m RaftSnapshotMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RaftSnapshotValidationError ¶ added in v0.6.2
type RaftSnapshotValidationError struct {
// contains filtered or unexported fields
}
RaftSnapshotValidationError is the validation error returned by RaftSnapshot.Validate if the designated constraints aren't met.
func (RaftSnapshotValidationError) Cause ¶ added in v0.6.2
func (e RaftSnapshotValidationError) Cause() error
Cause function returns cause value.
func (RaftSnapshotValidationError) Error ¶ added in v0.6.2
func (e RaftSnapshotValidationError) Error() string
Error satisfies the builtin error interface
func (RaftSnapshotValidationError) ErrorName ¶ added in v0.6.2
func (e RaftSnapshotValidationError) ErrorName() string
ErrorName returns error name.
func (RaftSnapshotValidationError) Field ¶ added in v0.6.2
func (e RaftSnapshotValidationError) Field() string
Field function returns field value.
func (RaftSnapshotValidationError) Key ¶ added in v0.6.2
func (e RaftSnapshotValidationError) Key() bool
Key function returns key value.
func (RaftSnapshotValidationError) Reason ¶ added in v0.6.2
func (e RaftSnapshotValidationError) Reason() string
Reason function returns reason value.
type ReleaseIPRequest ¶ added in v0.1.4
type ReleaseIPRequest struct { // node_id is the node that the IP should be released for. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // ip is the IP that should be released. Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
ReleaseIPRequest is the message containing an IP release request.
func (*ReleaseIPRequest) DeepCopy ¶ added in v0.6.2
func (in *ReleaseIPRequest) DeepCopy() *ReleaseIPRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseIPRequest. Required by controller-gen.
func (*ReleaseIPRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *ReleaseIPRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseIPRequest. Required by controller-gen.
func (*ReleaseIPRequest) DeepCopyInto ¶ added in v0.6.2
func (in *ReleaseIPRequest) DeepCopyInto(out *ReleaseIPRequest)
DeepCopyInto supports using ReleaseIPRequest within kubernetes types, where deepcopy-gen is used.
func (*ReleaseIPRequest) Descriptor
deprecated
added in
v0.1.4
func (*ReleaseIPRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseIPRequest.ProtoReflect.Descriptor instead.
func (*ReleaseIPRequest) GetIp ¶ added in v0.1.4
func (x *ReleaseIPRequest) GetIp() string
func (*ReleaseIPRequest) GetNodeId ¶ added in v0.1.4
func (x *ReleaseIPRequest) GetNodeId() string
func (*ReleaseIPRequest) ProtoMessage ¶ added in v0.1.4
func (*ReleaseIPRequest) ProtoMessage()
func (*ReleaseIPRequest) ProtoReflect ¶ added in v0.1.4
func (x *ReleaseIPRequest) ProtoReflect() protoreflect.Message
func (*ReleaseIPRequest) Reset ¶ added in v0.1.4
func (x *ReleaseIPRequest) Reset()
func (*ReleaseIPRequest) String ¶ added in v0.1.4
func (x *ReleaseIPRequest) String() string
func (*ReleaseIPRequest) Validate ¶ added in v0.6.2
func (m *ReleaseIPRequest) Validate() error
Validate checks the field values on ReleaseIPRequest 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 (*ReleaseIPRequest) ValidateAll ¶ added in v0.6.2
func (m *ReleaseIPRequest) ValidateAll() error
ValidateAll checks the field values on ReleaseIPRequest 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 ReleaseIPRequestMultiError, or nil if none found.
type ReleaseIPRequestMultiError ¶ added in v0.6.2
type ReleaseIPRequestMultiError []error
ReleaseIPRequestMultiError is an error wrapping multiple validation errors returned by ReleaseIPRequest.ValidateAll() if the designated constraints aren't met.
func (ReleaseIPRequestMultiError) AllErrors ¶ added in v0.6.2
func (m ReleaseIPRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReleaseIPRequestMultiError) Error ¶ added in v0.6.2
func (m ReleaseIPRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReleaseIPRequestValidationError ¶ added in v0.6.2
type ReleaseIPRequestValidationError struct {
// contains filtered or unexported fields
}
ReleaseIPRequestValidationError is the validation error returned by ReleaseIPRequest.Validate if the designated constraints aren't met.
func (ReleaseIPRequestValidationError) Cause ¶ added in v0.6.2
func (e ReleaseIPRequestValidationError) Cause() error
Cause function returns cause value.
func (ReleaseIPRequestValidationError) Error ¶ added in v0.6.2
func (e ReleaseIPRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReleaseIPRequestValidationError) ErrorName ¶ added in v0.6.2
func (e ReleaseIPRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReleaseIPRequestValidationError) Field ¶ added in v0.6.2
func (e ReleaseIPRequestValidationError) Field() string
Field function returns field value.
func (ReleaseIPRequestValidationError) Key ¶ added in v0.6.2
func (e ReleaseIPRequestValidationError) Key() bool
Key function returns key value.
func (ReleaseIPRequestValidationError) Reason ¶ added in v0.6.2
func (e ReleaseIPRequestValidationError) Reason() string
Reason function returns reason value.
type RemoveServerResponse ¶ added in v0.4.0
type RemoveServerResponse struct {
// contains filtered or unexported fields
}
RemoveServerResponse is the response object for the RemoveServer RPC.
func (*RemoveServerResponse) DeepCopy ¶ added in v0.6.2
func (in *RemoveServerResponse) DeepCopy() *RemoveServerResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoveServerResponse. Required by controller-gen.
func (*RemoveServerResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *RemoveServerResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RemoveServerResponse. Required by controller-gen.
func (*RemoveServerResponse) DeepCopyInto ¶ added in v0.6.2
func (in *RemoveServerResponse) DeepCopyInto(out *RemoveServerResponse)
DeepCopyInto supports using RemoveServerResponse within kubernetes types, where deepcopy-gen is used.
func (*RemoveServerResponse) Descriptor
deprecated
added in
v0.4.0
func (*RemoveServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveServerResponse.ProtoReflect.Descriptor instead.
func (*RemoveServerResponse) ProtoMessage ¶ added in v0.4.0
func (*RemoveServerResponse) ProtoMessage()
func (*RemoveServerResponse) ProtoReflect ¶ added in v0.4.0
func (x *RemoveServerResponse) ProtoReflect() protoreflect.Message
func (*RemoveServerResponse) Reset ¶ added in v0.4.0
func (x *RemoveServerResponse) Reset()
func (*RemoveServerResponse) String ¶ added in v0.4.0
func (x *RemoveServerResponse) String() string
func (*RemoveServerResponse) Validate ¶ added in v0.6.2
func (m *RemoveServerResponse) Validate() error
Validate checks the field values on RemoveServerResponse 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 (*RemoveServerResponse) ValidateAll ¶ added in v0.6.2
func (m *RemoveServerResponse) ValidateAll() error
ValidateAll checks the field values on RemoveServerResponse 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 RemoveServerResponseMultiError, or nil if none found.
type RemoveServerResponseMultiError ¶ added in v0.6.2
type RemoveServerResponseMultiError []error
RemoveServerResponseMultiError is an error wrapping multiple validation errors returned by RemoveServerResponse.ValidateAll() if the designated constraints aren't met.
func (RemoveServerResponseMultiError) AllErrors ¶ added in v0.6.2
func (m RemoveServerResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveServerResponseMultiError) Error ¶ added in v0.6.2
func (m RemoveServerResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemoveServerResponseValidationError ¶ added in v0.6.2
type RemoveServerResponseValidationError struct {
// contains filtered or unexported fields
}
RemoveServerResponseValidationError is the validation error returned by RemoveServerResponse.Validate if the designated constraints aren't met.
func (RemoveServerResponseValidationError) Cause ¶ added in v0.6.2
func (e RemoveServerResponseValidationError) Cause() error
Cause function returns cause value.
func (RemoveServerResponseValidationError) Error ¶ added in v0.6.2
func (e RemoveServerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveServerResponseValidationError) ErrorName ¶ added in v0.6.2
func (e RemoveServerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveServerResponseValidationError) Field ¶ added in v0.6.2
func (e RemoveServerResponseValidationError) Field() string
Field function returns field value.
func (RemoveServerResponseValidationError) Key ¶ added in v0.6.2
func (e RemoveServerResponseValidationError) Key() bool
Key function returns key value.
func (RemoveServerResponseValidationError) Reason ¶ added in v0.6.2
func (e RemoveServerResponseValidationError) Reason() string
Reason function returns reason value.
type Role ¶
type Role struct { // name is the name of the role. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // rules is the list of rules that apply to the role. Rules []*Rule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
Role is a role that can be assigned to a subject.
func (*Role) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role. Required by controller-gen.
func (*Role) DeepCopyInterface ¶ added in v0.6.2
func (in *Role) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Role. Required by controller-gen.
func (*Role) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using Role within kubernetes types, where deepcopy-gen is used.
func (*Role) Descriptor
deprecated
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
func (*Role) Validate ¶ added in v0.6.2
Validate checks the field values on Role 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 (*Role) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on Role 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 RoleMultiError, or nil if none found.
type RoleBinding ¶
type RoleBinding struct { // name is the name of the role binding. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // role is the name of the role to which the binding applies. Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // subjects is the list of subjects to which the binding applies. Subjects []*Subject `protobuf:"bytes,3,rep,name=subjects,proto3" json:"subjects,omitempty"` // contains filtered or unexported fields }
RoleBinding is a binding of a role to one or more subjects.
func (*RoleBinding) DeepCopy ¶ added in v0.6.2
func (in *RoleBinding) DeepCopy() *RoleBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. Required by controller-gen.
func (*RoleBinding) DeepCopyInterface ¶ added in v0.6.2
func (in *RoleBinding) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. Required by controller-gen.
func (*RoleBinding) DeepCopyInto ¶ added in v0.6.2
func (in *RoleBinding) DeepCopyInto(out *RoleBinding)
DeepCopyInto supports using RoleBinding within kubernetes types, where deepcopy-gen is used.
func (*RoleBinding) Descriptor
deprecated
func (*RoleBinding) Descriptor() ([]byte, []int)
Deprecated: Use RoleBinding.ProtoReflect.Descriptor instead.
func (*RoleBinding) GetName ¶
func (x *RoleBinding) GetName() string
func (*RoleBinding) GetRole ¶
func (x *RoleBinding) GetRole() string
func (*RoleBinding) GetSubjects ¶
func (x *RoleBinding) GetSubjects() []*Subject
func (*RoleBinding) ProtoMessage ¶
func (*RoleBinding) ProtoMessage()
func (*RoleBinding) ProtoReflect ¶
func (x *RoleBinding) ProtoReflect() protoreflect.Message
func (*RoleBinding) Reset ¶
func (x *RoleBinding) Reset()
func (*RoleBinding) String ¶
func (x *RoleBinding) String() string
func (*RoleBinding) Validate ¶ added in v0.6.2
func (m *RoleBinding) Validate() error
Validate checks the field values on RoleBinding 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 (*RoleBinding) ValidateAll ¶ added in v0.6.2
func (m *RoleBinding) ValidateAll() error
ValidateAll checks the field values on RoleBinding 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 RoleBindingMultiError, or nil if none found.
type RoleBindingMultiError ¶ added in v0.6.2
type RoleBindingMultiError []error
RoleBindingMultiError is an error wrapping multiple validation errors returned by RoleBinding.ValidateAll() if the designated constraints aren't met.
func (RoleBindingMultiError) AllErrors ¶ added in v0.6.2
func (m RoleBindingMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleBindingMultiError) Error ¶ added in v0.6.2
func (m RoleBindingMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleBindingValidationError ¶ added in v0.6.2
type RoleBindingValidationError struct {
// contains filtered or unexported fields
}
RoleBindingValidationError is the validation error returned by RoleBinding.Validate if the designated constraints aren't met.
func (RoleBindingValidationError) Cause ¶ added in v0.6.2
func (e RoleBindingValidationError) Cause() error
Cause function returns cause value.
func (RoleBindingValidationError) Error ¶ added in v0.6.2
func (e RoleBindingValidationError) Error() string
Error satisfies the builtin error interface
func (RoleBindingValidationError) ErrorName ¶ added in v0.6.2
func (e RoleBindingValidationError) ErrorName() string
ErrorName returns error name.
func (RoleBindingValidationError) Field ¶ added in v0.6.2
func (e RoleBindingValidationError) Field() string
Field function returns field value.
func (RoleBindingValidationError) Key ¶ added in v0.6.2
func (e RoleBindingValidationError) Key() bool
Key function returns key value.
func (RoleBindingValidationError) Reason ¶ added in v0.6.2
func (e RoleBindingValidationError) Reason() string
Reason function returns reason value.
type RoleBindings ¶
type RoleBindings struct { // items is the list of role bindings. Items []*RoleBinding `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
RoleBindings is a list of role bindings.
func (*RoleBindings) DeepCopy ¶ added in v0.6.2
func (in *RoleBindings) DeepCopy() *RoleBindings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindings. Required by controller-gen.
func (*RoleBindings) DeepCopyInterface ¶ added in v0.6.2
func (in *RoleBindings) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindings. Required by controller-gen.
func (*RoleBindings) DeepCopyInto ¶ added in v0.6.2
func (in *RoleBindings) DeepCopyInto(out *RoleBindings)
DeepCopyInto supports using RoleBindings within kubernetes types, where deepcopy-gen is used.
func (*RoleBindings) Descriptor
deprecated
func (*RoleBindings) Descriptor() ([]byte, []int)
Deprecated: Use RoleBindings.ProtoReflect.Descriptor instead.
func (*RoleBindings) GetItems ¶
func (x *RoleBindings) GetItems() []*RoleBinding
func (*RoleBindings) ProtoMessage ¶
func (*RoleBindings) ProtoMessage()
func (*RoleBindings) ProtoReflect ¶
func (x *RoleBindings) ProtoReflect() protoreflect.Message
func (*RoleBindings) Reset ¶
func (x *RoleBindings) Reset()
func (*RoleBindings) String ¶
func (x *RoleBindings) String() string
func (*RoleBindings) Validate ¶ added in v0.6.2
func (m *RoleBindings) Validate() error
Validate checks the field values on RoleBindings 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 (*RoleBindings) ValidateAll ¶ added in v0.6.2
func (m *RoleBindings) ValidateAll() error
ValidateAll checks the field values on RoleBindings 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 RoleBindingsMultiError, or nil if none found.
type RoleBindingsMultiError ¶ added in v0.6.2
type RoleBindingsMultiError []error
RoleBindingsMultiError is an error wrapping multiple validation errors returned by RoleBindings.ValidateAll() if the designated constraints aren't met.
func (RoleBindingsMultiError) AllErrors ¶ added in v0.6.2
func (m RoleBindingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleBindingsMultiError) Error ¶ added in v0.6.2
func (m RoleBindingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleBindingsValidationError ¶ added in v0.6.2
type RoleBindingsValidationError struct {
// contains filtered or unexported fields
}
RoleBindingsValidationError is the validation error returned by RoleBindings.Validate if the designated constraints aren't met.
func (RoleBindingsValidationError) Cause ¶ added in v0.6.2
func (e RoleBindingsValidationError) Cause() error
Cause function returns cause value.
func (RoleBindingsValidationError) Error ¶ added in v0.6.2
func (e RoleBindingsValidationError) Error() string
Error satisfies the builtin error interface
func (RoleBindingsValidationError) ErrorName ¶ added in v0.6.2
func (e RoleBindingsValidationError) ErrorName() string
ErrorName returns error name.
func (RoleBindingsValidationError) Field ¶ added in v0.6.2
func (e RoleBindingsValidationError) Field() string
Field function returns field value.
func (RoleBindingsValidationError) Key ¶ added in v0.6.2
func (e RoleBindingsValidationError) Key() bool
Key function returns key value.
func (RoleBindingsValidationError) Reason ¶ added in v0.6.2
func (e RoleBindingsValidationError) Reason() string
Reason function returns reason value.
type RoleMultiError ¶ added in v0.6.2
type RoleMultiError []error
RoleMultiError is an error wrapping multiple validation errors returned by Role.ValidateAll() if the designated constraints aren't met.
func (RoleMultiError) AllErrors ¶ added in v0.6.2
func (m RoleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleMultiError) Error ¶ added in v0.6.2
func (m RoleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleValidationError ¶ added in v0.6.2
type RoleValidationError struct {
// contains filtered or unexported fields
}
RoleValidationError is the validation error returned by Role.Validate if the designated constraints aren't met.
func (RoleValidationError) Cause ¶ added in v0.6.2
func (e RoleValidationError) Cause() error
Cause function returns cause value.
func (RoleValidationError) Error ¶ added in v0.6.2
func (e RoleValidationError) Error() string
Error satisfies the builtin error interface
func (RoleValidationError) ErrorName ¶ added in v0.6.2
func (e RoleValidationError) ErrorName() string
ErrorName returns error name.
func (RoleValidationError) Field ¶ added in v0.6.2
func (e RoleValidationError) Field() string
Field function returns field value.
func (RoleValidationError) Key ¶ added in v0.6.2
func (e RoleValidationError) Key() bool
Key function returns key value.
func (RoleValidationError) Reason ¶ added in v0.6.2
func (e RoleValidationError) Reason() string
Reason function returns reason value.
type Roles ¶
type Roles struct { // items is the list of roles. Items []*Role `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
Roles is a list of roles.
func (*Roles) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Roles. Required by controller-gen.
func (*Roles) DeepCopyInterface ¶ added in v0.6.2
func (in *Roles) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Roles. Required by controller-gen.
func (*Roles) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using Roles within kubernetes types, where deepcopy-gen is used.
func (*Roles) Descriptor
deprecated
func (*Roles) ProtoMessage ¶
func (*Roles) ProtoMessage()
func (*Roles) ProtoReflect ¶
func (x *Roles) ProtoReflect() protoreflect.Message
func (*Roles) Validate ¶ added in v0.6.2
Validate checks the field values on Roles 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 (*Roles) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on Roles 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 RolesMultiError, or nil if none found.
type RolesMultiError ¶ added in v0.6.2
type RolesMultiError []error
RolesMultiError is an error wrapping multiple validation errors returned by Roles.ValidateAll() if the designated constraints aren't met.
func (RolesMultiError) AllErrors ¶ added in v0.6.2
func (m RolesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RolesMultiError) Error ¶ added in v0.6.2
func (m RolesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RolesValidationError ¶ added in v0.6.2
type RolesValidationError struct {
// contains filtered or unexported fields
}
RolesValidationError is the validation error returned by Roles.Validate if the designated constraints aren't met.
func (RolesValidationError) Cause ¶ added in v0.6.2
func (e RolesValidationError) Cause() error
Cause function returns cause value.
func (RolesValidationError) Error ¶ added in v0.6.2
func (e RolesValidationError) Error() string
Error satisfies the builtin error interface
func (RolesValidationError) ErrorName ¶ added in v0.6.2
func (e RolesValidationError) ErrorName() string
ErrorName returns error name.
func (RolesValidationError) Field ¶ added in v0.6.2
func (e RolesValidationError) Field() string
Field function returns field value.
func (RolesValidationError) Key ¶ added in v0.6.2
func (e RolesValidationError) Key() bool
Key function returns key value.
func (RolesValidationError) Reason ¶ added in v0.6.2
func (e RolesValidationError) Reason() string
Reason function returns reason value.
type Route ¶
type Route struct { // name is the name of the route. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // node is the node that broadcasts the route. A group can be specified with the prefix "group:". Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` // destination_cidrs are the destination CIDRs of the route. DestinationCidrs []string `protobuf:"bytes,3,rep,name=destination_cidrs,json=destinationCidrs,proto3" json:"destination_cidrs,omitempty"` // next_hop_node is an optional node that is used as the next hop for the route. NextHopNode string `protobuf:"bytes,4,opt,name=next_hop_node,json=nextHopNode,proto3" json:"next_hop_node,omitempty"` // contains filtered or unexported fields }
Route is a route that is broadcasted by one or more nodes.
func (*Route) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route. Required by controller-gen.
func (*Route) DeepCopyInterface ¶ added in v0.6.2
func (in *Route) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Route. Required by controller-gen.
func (*Route) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using Route within kubernetes types, where deepcopy-gen is used.
func (*Route) Descriptor
deprecated
func (*Route) GetDestinationCidrs ¶
func (*Route) GetNextHopNode ¶
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶
func (x *Route) ProtoReflect() protoreflect.Message
func (*Route) Validate ¶ added in v0.6.2
Validate checks the field values on Route 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 (*Route) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on Route 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 RouteMultiError, or nil if none found.
type RouteMultiError ¶ added in v0.6.2
type RouteMultiError []error
RouteMultiError is an error wrapping multiple validation errors returned by Route.ValidateAll() if the designated constraints aren't met.
func (RouteMultiError) AllErrors ¶ added in v0.6.2
func (m RouteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RouteMultiError) Error ¶ added in v0.6.2
func (m RouteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RouteValidationError ¶ added in v0.6.2
type RouteValidationError struct {
// contains filtered or unexported fields
}
RouteValidationError is the validation error returned by Route.Validate if the designated constraints aren't met.
func (RouteValidationError) Cause ¶ added in v0.6.2
func (e RouteValidationError) Cause() error
Cause function returns cause value.
func (RouteValidationError) Error ¶ added in v0.6.2
func (e RouteValidationError) Error() string
Error satisfies the builtin error interface
func (RouteValidationError) ErrorName ¶ added in v0.6.2
func (e RouteValidationError) ErrorName() string
ErrorName returns error name.
func (RouteValidationError) Field ¶ added in v0.6.2
func (e RouteValidationError) Field() string
Field function returns field value.
func (RouteValidationError) Key ¶ added in v0.6.2
func (e RouteValidationError) Key() bool
Key function returns key value.
func (RouteValidationError) Reason ¶ added in v0.6.2
func (e RouteValidationError) Reason() string
Reason function returns reason value.
type Routes ¶
type Routes struct { // items is the list of routes. Items []*Route `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
Routes is a list of routes.
func (*Routes) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Routes. Required by controller-gen.
func (*Routes) DeepCopyInterface ¶ added in v0.6.2
func (in *Routes) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Routes. Required by controller-gen.
func (*Routes) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using Routes within kubernetes types, where deepcopy-gen is used.
func (*Routes) Descriptor
deprecated
func (*Routes) ProtoMessage ¶
func (*Routes) ProtoMessage()
func (*Routes) ProtoReflect ¶
func (x *Routes) ProtoReflect() protoreflect.Message
func (*Routes) Validate ¶ added in v0.6.2
Validate checks the field values on Routes 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 (*Routes) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on Routes 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 RoutesMultiError, or nil if none found.
type RoutesMultiError ¶ added in v0.6.2
type RoutesMultiError []error
RoutesMultiError is an error wrapping multiple validation errors returned by Routes.ValidateAll() if the designated constraints aren't met.
func (RoutesMultiError) AllErrors ¶ added in v0.6.2
func (m RoutesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoutesMultiError) Error ¶ added in v0.6.2
func (m RoutesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoutesValidationError ¶ added in v0.6.2
type RoutesValidationError struct {
// contains filtered or unexported fields
}
RoutesValidationError is the validation error returned by Routes.Validate if the designated constraints aren't met.
func (RoutesValidationError) Cause ¶ added in v0.6.2
func (e RoutesValidationError) Cause() error
Cause function returns cause value.
func (RoutesValidationError) Error ¶ added in v0.6.2
func (e RoutesValidationError) Error() string
Error satisfies the builtin error interface
func (RoutesValidationError) ErrorName ¶ added in v0.6.2
func (e RoutesValidationError) ErrorName() string
ErrorName returns error name.
func (RoutesValidationError) Field ¶ added in v0.6.2
func (e RoutesValidationError) Field() string
Field function returns field value.
func (RoutesValidationError) Key ¶ added in v0.6.2
func (e RoutesValidationError) Key() bool
Key function returns key value.
func (RoutesValidationError) Reason ¶ added in v0.6.2
func (e RoutesValidationError) Reason() string
Reason function returns reason value.
type Rule ¶
type Rule struct { // resources is the resources to which the rule applies. Resources []RuleResource `protobuf:"varint,1,rep,packed,name=resources,proto3,enum=v1.RuleResource" json:"resources,omitempty"` // resource_names is the list of resource names to which the rule applies. ResourceNames []string `protobuf:"bytes,2,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"` // verbs is the list of verbs that apply to the resource. Verbs []RuleVerb `protobuf:"varint,3,rep,packed,name=verbs,proto3,enum=v1.RuleVerb" json:"verbs,omitempty"` // contains filtered or unexported fields }
Rule is a rule that applies to a resource.
func (*Rule) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule. Required by controller-gen.
func (*Rule) DeepCopyInterface ¶ added in v0.6.2
func (in *Rule) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Rule. Required by controller-gen.
func (*Rule) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using Rule within kubernetes types, where deepcopy-gen is used.
func (*Rule) Descriptor
deprecated
func (*Rule) GetResourceNames ¶
func (*Rule) GetResources ¶
func (x *Rule) GetResources() []RuleResource
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶
func (x *Rule) ProtoReflect() protoreflect.Message
func (*Rule) Validate ¶ added in v0.6.2
Validate checks the field values on Rule 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 (*Rule) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on Rule 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 RuleMultiError, or nil if none found.
type RuleMultiError ¶ added in v0.6.2
type RuleMultiError []error
RuleMultiError is an error wrapping multiple validation errors returned by Rule.ValidateAll() if the designated constraints aren't met.
func (RuleMultiError) AllErrors ¶ added in v0.6.2
func (m RuleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RuleMultiError) Error ¶ added in v0.6.2
func (m RuleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RuleResource ¶
type RuleResource int32
RuleResource is the resource type for a rule.
const ( // RESOURCE_UNKNOWN is an unknown resource. RuleResource_RESOURCE_UNKNOWN RuleResource = 0 // RESOURCE_VOTES is the resource for voting in storage elections. The only // verb evaluated for this resource is PUT. RuleResource_RESOURCE_VOTES RuleResource = 1 // RESOURCE_ROLES is the resource for managing roles. RuleResource_RESOURCE_ROLES RuleResource = 2 // RESOURCE_ROLE_BINDINGS is the resource for managing role bindings. RuleResource_RESOURCE_ROLE_BINDINGS RuleResource = 3 // RESOURCE_GROUPS is the resource for managing groups. RuleResource_RESOURCE_GROUPS RuleResource = 4 // RESOURCE_NETWORK_ACLS is the resource for managing network ACLs. RuleResource_RESOURCE_NETWORK_ACLS RuleResource = 5 // RESOURCE_ROUTES is the resource for managing routes. RuleResource_RESOURCE_ROUTES RuleResource = 6 // RESOURCE_DATA_CHANNELS is the resource for creating data channels. RuleResource_RESOURCE_DATA_CHANNELS RuleResource = 7 // RESOURCE_EDGES is the resource for managing edges between nodes. RuleResource_RESOURCE_EDGES RuleResource = 8 // RESOURCE_OBSERVERS is the resource for managing observers. The only // verb evaluated for this resource is PUT. RuleResource_RESOURCE_OBSERVERS RuleResource = 9 // RESOURCE_PUBSUB is the resource for managing pubsub topics. RuleResource_RESOURCE_PUBSUB RuleResource = 10 // RESOURCE_ALL is a wildcard resource that matches all resources. RuleResource_RESOURCE_ALL RuleResource = 999 )
func (RuleResource) Descriptor ¶
func (RuleResource) Descriptor() protoreflect.EnumDescriptor
func (RuleResource) Enum ¶
func (x RuleResource) Enum() *RuleResource
func (RuleResource) EnumDescriptor
deprecated
func (RuleResource) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleResource.Descriptor instead.
func (RuleResource) Number ¶
func (x RuleResource) Number() protoreflect.EnumNumber
func (RuleResource) String ¶
func (x RuleResource) String() string
func (RuleResource) Type ¶
func (RuleResource) Type() protoreflect.EnumType
type RuleValidationError ¶ added in v0.6.2
type RuleValidationError struct {
// contains filtered or unexported fields
}
RuleValidationError is the validation error returned by Rule.Validate if the designated constraints aren't met.
func (RuleValidationError) Cause ¶ added in v0.6.2
func (e RuleValidationError) Cause() error
Cause function returns cause value.
func (RuleValidationError) Error ¶ added in v0.6.2
func (e RuleValidationError) Error() string
Error satisfies the builtin error interface
func (RuleValidationError) ErrorName ¶ added in v0.6.2
func (e RuleValidationError) ErrorName() string
ErrorName returns error name.
func (RuleValidationError) Field ¶ added in v0.6.2
func (e RuleValidationError) Field() string
Field function returns field value.
func (RuleValidationError) Key ¶ added in v0.6.2
func (e RuleValidationError) Key() bool
Key function returns key value.
func (RuleValidationError) Reason ¶ added in v0.6.2
func (e RuleValidationError) Reason() string
Reason function returns reason value.
type RuleVerb ¶ added in v0.1.3
type RuleVerb int32
RuleVerb is the verb type for a rule.
const ( // VERB_UNKNOWN is an unknown verb. RuleVerb_VERB_UNKNOWN RuleVerb = 0 // VERB_PUT is the verb for creating or updating a resource. RuleVerb_VERB_PUT RuleVerb = 1 // VERB_GET is the verb for getting a resource. RuleVerb_VERB_GET RuleVerb = 2 // VERB_DELETE is the verb for deleting a resource. RuleVerb_VERB_DELETE RuleVerb = 3 // VERB_ALL is a wildcard verb that matches all verbs. RuleVerb_VERB_ALL RuleVerb = 999 )
func (RuleVerb) Descriptor ¶ added in v0.1.3
func (RuleVerb) Descriptor() protoreflect.EnumDescriptor
func (RuleVerb) EnumDescriptor
deprecated
added in
v0.1.3
func (RuleVerb) Number ¶ added in v0.1.3
func (x RuleVerb) Number() protoreflect.EnumNumber
func (RuleVerb) Type ¶ added in v0.1.3
func (RuleVerb) Type() protoreflect.EnumType
type StartDataChannelRequest ¶
type StartDataChannelRequest struct { // node_id is the ID of the node to send the data to. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // proto is the protocol of the traffic. Proto string `protobuf:"bytes,2,opt,name=proto,proto3" json:"proto,omitempty"` // dst is the destination address of the traffic. Dst string `protobuf:"bytes,3,opt,name=dst,proto3" json:"dst,omitempty"` // port is the destination port of the traffic. A port of 0 coupled // with the udp protocol indicates forwarding to the WireGuard interface. Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` // answer is the answer to the offer. Answer string `protobuf:"bytes,5,opt,name=answer,proto3" json:"answer,omitempty"` // candidate is an ICE candidate. Candidate string `protobuf:"bytes,6,opt,name=candidate,proto3" json:"candidate,omitempty"` // contains filtered or unexported fields }
StartDataChannelRequest is a request to start a data channel. The answer and candidate fields are populated after the offer is received.
func (*StartDataChannelRequest) DeepCopy ¶ added in v0.6.2
func (in *StartDataChannelRequest) DeepCopy() *StartDataChannelRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartDataChannelRequest. Required by controller-gen.
func (*StartDataChannelRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *StartDataChannelRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StartDataChannelRequest. Required by controller-gen.
func (*StartDataChannelRequest) DeepCopyInto ¶ added in v0.6.2
func (in *StartDataChannelRequest) DeepCopyInto(out *StartDataChannelRequest)
DeepCopyInto supports using StartDataChannelRequest within kubernetes types, where deepcopy-gen is used.
func (*StartDataChannelRequest) Descriptor
deprecated
func (*StartDataChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartDataChannelRequest.ProtoReflect.Descriptor instead.
func (*StartDataChannelRequest) GetAnswer ¶
func (x *StartDataChannelRequest) GetAnswer() string
func (*StartDataChannelRequest) GetCandidate ¶
func (x *StartDataChannelRequest) GetCandidate() string
func (*StartDataChannelRequest) GetDst ¶
func (x *StartDataChannelRequest) GetDst() string
func (*StartDataChannelRequest) GetNodeId ¶
func (x *StartDataChannelRequest) GetNodeId() string
func (*StartDataChannelRequest) GetPort ¶
func (x *StartDataChannelRequest) GetPort() uint32
func (*StartDataChannelRequest) GetProto ¶
func (x *StartDataChannelRequest) GetProto() string
func (*StartDataChannelRequest) ProtoMessage ¶
func (*StartDataChannelRequest) ProtoMessage()
func (*StartDataChannelRequest) ProtoReflect ¶
func (x *StartDataChannelRequest) ProtoReflect() protoreflect.Message
func (*StartDataChannelRequest) Reset ¶
func (x *StartDataChannelRequest) Reset()
func (*StartDataChannelRequest) String ¶
func (x *StartDataChannelRequest) String() string
func (*StartDataChannelRequest) Validate ¶ added in v0.6.2
func (m *StartDataChannelRequest) Validate() error
Validate checks the field values on StartDataChannelRequest 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 (*StartDataChannelRequest) ValidateAll ¶ added in v0.6.2
func (m *StartDataChannelRequest) ValidateAll() error
ValidateAll checks the field values on StartDataChannelRequest 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 StartDataChannelRequestMultiError, or nil if none found.
type StartDataChannelRequestMultiError ¶ added in v0.6.2
type StartDataChannelRequestMultiError []error
StartDataChannelRequestMultiError is an error wrapping multiple validation errors returned by StartDataChannelRequest.ValidateAll() if the designated constraints aren't met.
func (StartDataChannelRequestMultiError) AllErrors ¶ added in v0.6.2
func (m StartDataChannelRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StartDataChannelRequestMultiError) Error ¶ added in v0.6.2
func (m StartDataChannelRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StartDataChannelRequestValidationError ¶ added in v0.6.2
type StartDataChannelRequestValidationError struct {
// contains filtered or unexported fields
}
StartDataChannelRequestValidationError is the validation error returned by StartDataChannelRequest.Validate if the designated constraints aren't met.
func (StartDataChannelRequestValidationError) Cause ¶ added in v0.6.2
func (e StartDataChannelRequestValidationError) Cause() error
Cause function returns cause value.
func (StartDataChannelRequestValidationError) Error ¶ added in v0.6.2
func (e StartDataChannelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StartDataChannelRequestValidationError) ErrorName ¶ added in v0.6.2
func (e StartDataChannelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StartDataChannelRequestValidationError) Field ¶ added in v0.6.2
func (e StartDataChannelRequestValidationError) Field() string
Field function returns field value.
func (StartDataChannelRequestValidationError) Key ¶ added in v0.6.2
func (e StartDataChannelRequestValidationError) Key() bool
Key function returns key value.
func (StartDataChannelRequestValidationError) Reason ¶ added in v0.6.2
func (e StartDataChannelRequestValidationError) Reason() string
Reason function returns reason value.
type Status ¶
type Status struct { // id is the ID of the node. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // version is the version of the node. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // commit is the commit of the node. Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // build_date is the build date of the node. BuildDate string `protobuf:"bytes,4,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"` // uptime is the uptime of the node. Uptime string `protobuf:"bytes,5,opt,name=uptime,proto3" json:"uptime,omitempty"` // started_at is the time the node started. StartedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // features is the list of features currently enabled. Features []*FeaturePort `protobuf:"bytes,7,rep,name=features,proto3" json:"features,omitempty"` // cluster_status is the status of the node in the cluster. ClusterStatus ClusterStatus `protobuf:"varint,8,opt,name=cluster_status,json=clusterStatus,proto3,enum=v1.ClusterStatus" json:"cluster_status,omitempty"` // current_leader is the current leader of the cluster. CurrentLeader string `protobuf:"bytes,9,opt,name=current_leader,json=currentLeader,proto3" json:"current_leader,omitempty"` // interface_metrics are the metrics for the node's interfaces. InterfaceMetrics *InterfaceMetrics `protobuf:"bytes,10,opt,name=interface_metrics,json=interfaceMetrics,proto3" json:"interface_metrics,omitempty"` // contains filtered or unexported fields }
Status represents the status of a node.
func (*Status) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status. Required by controller-gen.
func (*Status) DeepCopyInterface ¶ added in v0.6.2
func (in *Status) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Status. Required by controller-gen.
func (*Status) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using Status within kubernetes types, where deepcopy-gen is used.
func (*Status) Descriptor
deprecated
func (*Status) GetBuildDate ¶
func (*Status) GetClusterStatus ¶
func (x *Status) GetClusterStatus() ClusterStatus
func (*Status) GetCurrentLeader ¶
func (*Status) GetFeatures ¶
func (x *Status) GetFeatures() []*FeaturePort
func (*Status) GetInterfaceMetrics ¶
func (x *Status) GetInterfaceMetrics() *InterfaceMetrics
func (*Status) GetStartedAt ¶
func (x *Status) GetStartedAt() *timestamppb.Timestamp
func (*Status) GetVersion ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
func (*Status) Validate ¶ added in v0.6.2
Validate checks the field values on Status 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 (*Status) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on Status 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 StatusMultiError, or nil if none found.
type StatusMultiError ¶ added in v0.6.2
type StatusMultiError []error
StatusMultiError is an error wrapping multiple validation errors returned by Status.ValidateAll() if the designated constraints aren't met.
func (StatusMultiError) AllErrors ¶ added in v0.6.2
func (m StatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatusMultiError) Error ¶ added in v0.6.2
func (m StatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatusRequest ¶ added in v0.2.2
type StatusRequest struct {
// contains filtered or unexported fields
}
StatusRequest is sent by the application to the node to retrieve the status of the node.
func (*StatusRequest) DeepCopy ¶ added in v0.6.2
func (in *StatusRequest) DeepCopy() *StatusRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusRequest. Required by controller-gen.
func (*StatusRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *StatusRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StatusRequest. Required by controller-gen.
func (*StatusRequest) DeepCopyInto ¶ added in v0.6.2
func (in *StatusRequest) DeepCopyInto(out *StatusRequest)
DeepCopyInto supports using StatusRequest within kubernetes types, where deepcopy-gen is used.
func (*StatusRequest) Descriptor
deprecated
added in
v0.2.2
func (*StatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) ProtoMessage ¶ added in v0.2.2
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) ProtoReflect ¶ added in v0.2.2
func (x *StatusRequest) ProtoReflect() protoreflect.Message
func (*StatusRequest) Reset ¶ added in v0.2.2
func (x *StatusRequest) Reset()
func (*StatusRequest) String ¶ added in v0.2.2
func (x *StatusRequest) String() string
func (*StatusRequest) Validate ¶ added in v0.6.2
func (m *StatusRequest) Validate() error
Validate checks the field values on StatusRequest 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 (*StatusRequest) ValidateAll ¶ added in v0.6.2
func (m *StatusRequest) ValidateAll() error
ValidateAll checks the field values on StatusRequest 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 StatusRequestMultiError, or nil if none found.
type StatusRequestMultiError ¶ added in v0.6.2
type StatusRequestMultiError []error
StatusRequestMultiError is an error wrapping multiple validation errors returned by StatusRequest.ValidateAll() if the designated constraints aren't met.
func (StatusRequestMultiError) AllErrors ¶ added in v0.6.2
func (m StatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatusRequestMultiError) Error ¶ added in v0.6.2
func (m StatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatusRequestValidationError ¶ added in v0.6.2
type StatusRequestValidationError struct {
// contains filtered or unexported fields
}
StatusRequestValidationError is the validation error returned by StatusRequest.Validate if the designated constraints aren't met.
func (StatusRequestValidationError) Cause ¶ added in v0.6.2
func (e StatusRequestValidationError) Cause() error
Cause function returns cause value.
func (StatusRequestValidationError) Error ¶ added in v0.6.2
func (e StatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatusRequestValidationError) ErrorName ¶ added in v0.6.2
func (e StatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatusRequestValidationError) Field ¶ added in v0.6.2
func (e StatusRequestValidationError) Field() string
Field function returns field value.
func (StatusRequestValidationError) Key ¶ added in v0.6.2
func (e StatusRequestValidationError) Key() bool
Key function returns key value.
func (StatusRequestValidationError) Reason ¶ added in v0.6.2
func (e StatusRequestValidationError) Reason() string
Reason function returns reason value.
type StatusResponse ¶ added in v0.2.2
type StatusResponse struct { // connection status is the status of the connection. ConnectionStatus StatusResponse_ConnectionStatus `` /* 150-byte string literal not displayed */ // node is the node status. This is only populated if the node is connected. Node *MeshNode `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
StatusResponse is a message containing the status of the node.
func (*StatusResponse) DeepCopy ¶ added in v0.6.2
func (in *StatusResponse) DeepCopy() *StatusResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusResponse. Required by controller-gen.
func (*StatusResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *StatusResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StatusResponse. Required by controller-gen.
func (*StatusResponse) DeepCopyInto ¶ added in v0.6.2
func (in *StatusResponse) DeepCopyInto(out *StatusResponse)
DeepCopyInto supports using StatusResponse within kubernetes types, where deepcopy-gen is used.
func (*StatusResponse) Descriptor
deprecated
added in
v0.2.2
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetConnectionStatus ¶ added in v0.2.2
func (x *StatusResponse) GetConnectionStatus() StatusResponse_ConnectionStatus
func (*StatusResponse) GetNode ¶ added in v0.2.2
func (x *StatusResponse) GetNode() *MeshNode
func (*StatusResponse) ProtoMessage ¶ added in v0.2.2
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶ added in v0.2.2
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶ added in v0.2.2
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶ added in v0.2.2
func (x *StatusResponse) String() string
func (*StatusResponse) Validate ¶ added in v0.6.2
func (m *StatusResponse) Validate() error
Validate checks the field values on StatusResponse 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 (*StatusResponse) ValidateAll ¶ added in v0.6.2
func (m *StatusResponse) ValidateAll() error
ValidateAll checks the field values on StatusResponse 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 StatusResponseMultiError, or nil if none found.
type StatusResponseMultiError ¶ added in v0.6.2
type StatusResponseMultiError []error
StatusResponseMultiError is an error wrapping multiple validation errors returned by StatusResponse.ValidateAll() if the designated constraints aren't met.
func (StatusResponseMultiError) AllErrors ¶ added in v0.6.2
func (m StatusResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatusResponseMultiError) Error ¶ added in v0.6.2
func (m StatusResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatusResponseValidationError ¶ added in v0.6.2
type StatusResponseValidationError struct {
// contains filtered or unexported fields
}
StatusResponseValidationError is the validation error returned by StatusResponse.Validate if the designated constraints aren't met.
func (StatusResponseValidationError) Cause ¶ added in v0.6.2
func (e StatusResponseValidationError) Cause() error
Cause function returns cause value.
func (StatusResponseValidationError) Error ¶ added in v0.6.2
func (e StatusResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StatusResponseValidationError) ErrorName ¶ added in v0.6.2
func (e StatusResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StatusResponseValidationError) Field ¶ added in v0.6.2
func (e StatusResponseValidationError) Field() string
Field function returns field value.
func (StatusResponseValidationError) Key ¶ added in v0.6.2
func (e StatusResponseValidationError) Key() bool
Key function returns key value.
func (StatusResponseValidationError) Reason ¶ added in v0.6.2
func (e StatusResponseValidationError) Reason() string
Reason function returns reason value.
type StatusResponse_ConnectionStatus ¶ added in v0.2.2
type StatusResponse_ConnectionStatus int32
const ( // DISCONNECTED indicates that the node is not connected to a mesh. StatusResponse_DISCONNECTED StatusResponse_ConnectionStatus = 0 // CONNECTING indicates that the node is in the process of connecting to a mesh. StatusResponse_CONNECTING StatusResponse_ConnectionStatus = 1 // CONNECTED indicates that the node is connected to a mesh. StatusResponse_CONNECTED StatusResponse_ConnectionStatus = 2 )
func (StatusResponse_ConnectionStatus) Descriptor ¶ added in v0.2.2
func (StatusResponse_ConnectionStatus) Descriptor() protoreflect.EnumDescriptor
func (StatusResponse_ConnectionStatus) Enum ¶ added in v0.2.2
func (x StatusResponse_ConnectionStatus) Enum() *StatusResponse_ConnectionStatus
func (StatusResponse_ConnectionStatus) EnumDescriptor
deprecated
added in
v0.2.2
func (StatusResponse_ConnectionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatusResponse_ConnectionStatus.Descriptor instead.
func (StatusResponse_ConnectionStatus) Number ¶ added in v0.2.2
func (x StatusResponse_ConnectionStatus) Number() protoreflect.EnumNumber
func (StatusResponse_ConnectionStatus) String ¶ added in v0.2.2
func (x StatusResponse_ConnectionStatus) String() string
func (StatusResponse_ConnectionStatus) Type ¶ added in v0.2.2
func (StatusResponse_ConnectionStatus) Type() protoreflect.EnumType
type StatusValidationError ¶ added in v0.6.2
type StatusValidationError struct {
// contains filtered or unexported fields
}
StatusValidationError is the validation error returned by Status.Validate if the designated constraints aren't met.
func (StatusValidationError) Cause ¶ added in v0.6.2
func (e StatusValidationError) Cause() error
Cause function returns cause value.
func (StatusValidationError) Error ¶ added in v0.6.2
func (e StatusValidationError) Error() string
Error satisfies the builtin error interface
func (StatusValidationError) ErrorName ¶ added in v0.6.2
func (e StatusValidationError) ErrorName() string
ErrorName returns error name.
func (StatusValidationError) Field ¶ added in v0.6.2
func (e StatusValidationError) Field() string
Field function returns field value.
func (StatusValidationError) Key ¶ added in v0.6.2
func (e StatusValidationError) Key() bool
Key function returns key value.
func (StatusValidationError) Reason ¶ added in v0.6.2
func (e StatusValidationError) Reason() string
Reason function returns reason value.
type StorageConfigurationRequest ¶ added in v0.4.0
type StorageConfigurationRequest struct {
// contains filtered or unexported fields
}
StorageConfigurationRequest is a request to get the current Storage configuration.
func (*StorageConfigurationRequest) DeepCopy ¶ added in v0.6.2
func (in *StorageConfigurationRequest) DeepCopy() *StorageConfigurationRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageConfigurationRequest. Required by controller-gen.
func (*StorageConfigurationRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *StorageConfigurationRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StorageConfigurationRequest. Required by controller-gen.
func (*StorageConfigurationRequest) DeepCopyInto ¶ added in v0.6.2
func (in *StorageConfigurationRequest) DeepCopyInto(out *StorageConfigurationRequest)
DeepCopyInto supports using StorageConfigurationRequest within kubernetes types, where deepcopy-gen is used.
func (*StorageConfigurationRequest) Descriptor
deprecated
added in
v0.4.0
func (*StorageConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use StorageConfigurationRequest.ProtoReflect.Descriptor instead.
func (*StorageConfigurationRequest) ProtoMessage ¶ added in v0.4.0
func (*StorageConfigurationRequest) ProtoMessage()
func (*StorageConfigurationRequest) ProtoReflect ¶ added in v0.4.0
func (x *StorageConfigurationRequest) ProtoReflect() protoreflect.Message
func (*StorageConfigurationRequest) Reset ¶ added in v0.4.0
func (x *StorageConfigurationRequest) Reset()
func (*StorageConfigurationRequest) String ¶ added in v0.4.0
func (x *StorageConfigurationRequest) String() string
func (*StorageConfigurationRequest) Validate ¶ added in v0.6.2
func (m *StorageConfigurationRequest) Validate() error
Validate checks the field values on StorageConfigurationRequest 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 (*StorageConfigurationRequest) ValidateAll ¶ added in v0.6.2
func (m *StorageConfigurationRequest) ValidateAll() error
ValidateAll checks the field values on StorageConfigurationRequest 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 StorageConfigurationRequestMultiError, or nil if none found.
type StorageConfigurationRequestMultiError ¶ added in v0.6.2
type StorageConfigurationRequestMultiError []error
StorageConfigurationRequestMultiError is an error wrapping multiple validation errors returned by StorageConfigurationRequest.ValidateAll() if the designated constraints aren't met.
func (StorageConfigurationRequestMultiError) AllErrors ¶ added in v0.6.2
func (m StorageConfigurationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StorageConfigurationRequestMultiError) Error ¶ added in v0.6.2
func (m StorageConfigurationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StorageConfigurationRequestValidationError ¶ added in v0.6.2
type StorageConfigurationRequestValidationError struct {
// contains filtered or unexported fields
}
StorageConfigurationRequestValidationError is the validation error returned by StorageConfigurationRequest.Validate if the designated constraints aren't met.
func (StorageConfigurationRequestValidationError) Cause ¶ added in v0.6.2
func (e StorageConfigurationRequestValidationError) Cause() error
Cause function returns cause value.
func (StorageConfigurationRequestValidationError) Error ¶ added in v0.6.2
func (e StorageConfigurationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StorageConfigurationRequestValidationError) ErrorName ¶ added in v0.6.2
func (e StorageConfigurationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StorageConfigurationRequestValidationError) Field ¶ added in v0.6.2
func (e StorageConfigurationRequestValidationError) Field() string
Field function returns field value.
func (StorageConfigurationRequestValidationError) Key ¶ added in v0.6.2
func (e StorageConfigurationRequestValidationError) Key() bool
Key function returns key value.
func (StorageConfigurationRequestValidationError) Reason ¶ added in v0.6.2
func (e StorageConfigurationRequestValidationError) Reason() string
Reason function returns reason value.
type StorageConfigurationResponse ¶ added in v0.4.0
type StorageConfigurationResponse struct { // servers is the list of servers in the storage configuration. Servers []*StorageServer `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` // contains filtered or unexported fields }
StorageConfigurationResponse is a response to a Storage configuration request.
func (*StorageConfigurationResponse) DeepCopy ¶ added in v0.6.2
func (in *StorageConfigurationResponse) DeepCopy() *StorageConfigurationResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageConfigurationResponse. Required by controller-gen.
func (*StorageConfigurationResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *StorageConfigurationResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StorageConfigurationResponse. Required by controller-gen.
func (*StorageConfigurationResponse) DeepCopyInto ¶ added in v0.6.2
func (in *StorageConfigurationResponse) DeepCopyInto(out *StorageConfigurationResponse)
DeepCopyInto supports using StorageConfigurationResponse within kubernetes types, where deepcopy-gen is used.
func (*StorageConfigurationResponse) Descriptor
deprecated
added in
v0.4.0
func (*StorageConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use StorageConfigurationResponse.ProtoReflect.Descriptor instead.
func (*StorageConfigurationResponse) GetServers ¶ added in v0.4.0
func (x *StorageConfigurationResponse) GetServers() []*StorageServer
func (*StorageConfigurationResponse) ProtoMessage ¶ added in v0.4.0
func (*StorageConfigurationResponse) ProtoMessage()
func (*StorageConfigurationResponse) ProtoReflect ¶ added in v0.4.0
func (x *StorageConfigurationResponse) ProtoReflect() protoreflect.Message
func (*StorageConfigurationResponse) Reset ¶ added in v0.4.0
func (x *StorageConfigurationResponse) Reset()
func (*StorageConfigurationResponse) String ¶ added in v0.4.0
func (x *StorageConfigurationResponse) String() string
func (*StorageConfigurationResponse) Validate ¶ added in v0.6.2
func (m *StorageConfigurationResponse) Validate() error
Validate checks the field values on StorageConfigurationResponse 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 (*StorageConfigurationResponse) ValidateAll ¶ added in v0.6.2
func (m *StorageConfigurationResponse) ValidateAll() error
ValidateAll checks the field values on StorageConfigurationResponse 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 StorageConfigurationResponseMultiError, or nil if none found.
type StorageConfigurationResponseMultiError ¶ added in v0.6.2
type StorageConfigurationResponseMultiError []error
StorageConfigurationResponseMultiError is an error wrapping multiple validation errors returned by StorageConfigurationResponse.ValidateAll() if the designated constraints aren't met.
func (StorageConfigurationResponseMultiError) AllErrors ¶ added in v0.6.2
func (m StorageConfigurationResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StorageConfigurationResponseMultiError) Error ¶ added in v0.6.2
func (m StorageConfigurationResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StorageConfigurationResponseValidationError ¶ added in v0.6.2
type StorageConfigurationResponseValidationError struct {
// contains filtered or unexported fields
}
StorageConfigurationResponseValidationError is the validation error returned by StorageConfigurationResponse.Validate if the designated constraints aren't met.
func (StorageConfigurationResponseValidationError) Cause ¶ added in v0.6.2
func (e StorageConfigurationResponseValidationError) Cause() error
Cause function returns cause value.
func (StorageConfigurationResponseValidationError) Error ¶ added in v0.6.2
func (e StorageConfigurationResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StorageConfigurationResponseValidationError) ErrorName ¶ added in v0.6.2
func (e StorageConfigurationResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StorageConfigurationResponseValidationError) Field ¶ added in v0.6.2
func (e StorageConfigurationResponseValidationError) Field() string
Field function returns field value.
func (StorageConfigurationResponseValidationError) Key ¶ added in v0.6.2
func (e StorageConfigurationResponseValidationError) Key() bool
Key function returns key value.
func (StorageConfigurationResponseValidationError) Reason ¶ added in v0.6.2
func (e StorageConfigurationResponseValidationError) Reason() string
Reason function returns reason value.
type StoragePeer ¶ added in v0.4.0
type StoragePeer struct { // ID is the id of the server. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // public_key is the encoded public key of the server. This is not required // for demotion or removal RPCs. Not all implementations need to support this. PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // Address is the address of the server. This is not required // for demotion or removal RPCs. Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // ClusterStatus is the status of the server. This is only // applicable during a GetStatus RPC. ClusterStatus ClusterStatus `protobuf:"varint,4,opt,name=cluster_status,json=clusterStatus,proto3,enum=v1.ClusterStatus" json:"cluster_status,omitempty"` // contains filtered or unexported fields }
StoragePeer is a server that is currently recognized by the storage plugin.
func (*StoragePeer) DeepCopy ¶ added in v0.6.2
func (in *StoragePeer) DeepCopy() *StoragePeer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoragePeer. Required by controller-gen.
func (*StoragePeer) DeepCopyInterface ¶ added in v0.6.2
func (in *StoragePeer) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StoragePeer. Required by controller-gen.
func (*StoragePeer) DeepCopyInto ¶ added in v0.6.2
func (in *StoragePeer) DeepCopyInto(out *StoragePeer)
DeepCopyInto supports using StoragePeer within kubernetes types, where deepcopy-gen is used.
func (*StoragePeer) Descriptor
deprecated
added in
v0.4.0
func (*StoragePeer) Descriptor() ([]byte, []int)
Deprecated: Use StoragePeer.ProtoReflect.Descriptor instead.
func (*StoragePeer) GetAddress ¶ added in v0.4.0
func (x *StoragePeer) GetAddress() string
func (*StoragePeer) GetClusterStatus ¶ added in v0.4.0
func (x *StoragePeer) GetClusterStatus() ClusterStatus
func (*StoragePeer) GetId ¶ added in v0.4.0
func (x *StoragePeer) GetId() string
func (*StoragePeer) GetPublicKey ¶ added in v0.4.0
func (x *StoragePeer) GetPublicKey() string
func (*StoragePeer) ProtoMessage ¶ added in v0.4.0
func (*StoragePeer) ProtoMessage()
func (*StoragePeer) ProtoReflect ¶ added in v0.4.0
func (x *StoragePeer) ProtoReflect() protoreflect.Message
func (*StoragePeer) Reset ¶ added in v0.4.0
func (x *StoragePeer) Reset()
func (*StoragePeer) String ¶ added in v0.4.0
func (x *StoragePeer) String() string
func (*StoragePeer) Validate ¶ added in v0.6.2
func (m *StoragePeer) Validate() error
Validate checks the field values on StoragePeer 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 (*StoragePeer) ValidateAll ¶ added in v0.6.2
func (m *StoragePeer) ValidateAll() error
ValidateAll checks the field values on StoragePeer 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 StoragePeerMultiError, or nil if none found.
type StoragePeerMultiError ¶ added in v0.6.2
type StoragePeerMultiError []error
StoragePeerMultiError is an error wrapping multiple validation errors returned by StoragePeer.ValidateAll() if the designated constraints aren't met.
func (StoragePeerMultiError) AllErrors ¶ added in v0.6.2
func (m StoragePeerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StoragePeerMultiError) Error ¶ added in v0.6.2
func (m StoragePeerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StoragePeerValidationError ¶ added in v0.6.2
type StoragePeerValidationError struct {
// contains filtered or unexported fields
}
StoragePeerValidationError is the validation error returned by StoragePeer.Validate if the designated constraints aren't met.
func (StoragePeerValidationError) Cause ¶ added in v0.6.2
func (e StoragePeerValidationError) Cause() error
Cause function returns cause value.
func (StoragePeerValidationError) Error ¶ added in v0.6.2
func (e StoragePeerValidationError) Error() string
Error satisfies the builtin error interface
func (StoragePeerValidationError) ErrorName ¶ added in v0.6.2
func (e StoragePeerValidationError) ErrorName() string
ErrorName returns error name.
func (StoragePeerValidationError) Field ¶ added in v0.6.2
func (e StoragePeerValidationError) Field() string
Field function returns field value.
func (StoragePeerValidationError) Key ¶ added in v0.6.2
func (e StoragePeerValidationError) Key() bool
Key function returns key value.
func (StoragePeerValidationError) Reason ¶ added in v0.6.2
func (e StoragePeerValidationError) Reason() string
Reason function returns reason value.
type StoragePeers ¶ added in v0.5.0
type StoragePeers struct { // Peers is the list of servers that are currently recognized as peers // by the storage plugin. Peers []*StoragePeer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` // contains filtered or unexported fields }
StoragePeers is a list of servers that are currently recognized by the storage plugin.
func (*StoragePeers) DeepCopy ¶ added in v0.6.2
func (in *StoragePeers) DeepCopy() *StoragePeers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoragePeers. Required by controller-gen.
func (*StoragePeers) DeepCopyInterface ¶ added in v0.6.2
func (in *StoragePeers) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StoragePeers. Required by controller-gen.
func (*StoragePeers) DeepCopyInto ¶ added in v0.6.2
func (in *StoragePeers) DeepCopyInto(out *StoragePeers)
DeepCopyInto supports using StoragePeers within kubernetes types, where deepcopy-gen is used.
func (*StoragePeers) Descriptor
deprecated
added in
v0.5.0
func (*StoragePeers) Descriptor() ([]byte, []int)
Deprecated: Use StoragePeers.ProtoReflect.Descriptor instead.
func (*StoragePeers) GetPeers ¶ added in v0.5.0
func (x *StoragePeers) GetPeers() []*StoragePeer
func (*StoragePeers) ProtoMessage ¶ added in v0.5.0
func (*StoragePeers) ProtoMessage()
func (*StoragePeers) ProtoReflect ¶ added in v0.5.0
func (x *StoragePeers) ProtoReflect() protoreflect.Message
func (*StoragePeers) Reset ¶ added in v0.5.0
func (x *StoragePeers) Reset()
func (*StoragePeers) String ¶ added in v0.5.0
func (x *StoragePeers) String() string
func (*StoragePeers) Validate ¶ added in v0.6.2
func (m *StoragePeers) Validate() error
Validate checks the field values on StoragePeers 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 (*StoragePeers) ValidateAll ¶ added in v0.6.2
func (m *StoragePeers) ValidateAll() error
ValidateAll checks the field values on StoragePeers 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 StoragePeersMultiError, or nil if none found.
type StoragePeersMultiError ¶ added in v0.6.2
type StoragePeersMultiError []error
StoragePeersMultiError is an error wrapping multiple validation errors returned by StoragePeers.ValidateAll() if the designated constraints aren't met.
func (StoragePeersMultiError) AllErrors ¶ added in v0.6.2
func (m StoragePeersMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StoragePeersMultiError) Error ¶ added in v0.6.2
func (m StoragePeersMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StoragePeersValidationError ¶ added in v0.6.2
type StoragePeersValidationError struct {
// contains filtered or unexported fields
}
StoragePeersValidationError is the validation error returned by StoragePeers.Validate if the designated constraints aren't met.
func (StoragePeersValidationError) Cause ¶ added in v0.6.2
func (e StoragePeersValidationError) Cause() error
Cause function returns cause value.
func (StoragePeersValidationError) Error ¶ added in v0.6.2
func (e StoragePeersValidationError) Error() string
Error satisfies the builtin error interface
func (StoragePeersValidationError) ErrorName ¶ added in v0.6.2
func (e StoragePeersValidationError) ErrorName() string
ErrorName returns error name.
func (StoragePeersValidationError) Field ¶ added in v0.6.2
func (e StoragePeersValidationError) Field() string
Field function returns field value.
func (StoragePeersValidationError) Key ¶ added in v0.6.2
func (e StoragePeersValidationError) Key() bool
Key function returns key value.
func (StoragePeersValidationError) Reason ¶ added in v0.6.2
func (e StoragePeersValidationError) Reason() string
Reason function returns reason value.
type StorageProviderPluginClient ¶ added in v0.4.0
type StorageProviderPluginClient interface { // GetStatus returns the status of the storage. GetStatus(ctx context.Context, in *StorageStatusRequest, opts ...grpc.CallOption) (*StorageStatus, error) // Bootstrap is called when the storage is created for the first time. // It is assumed that this node has been elected as the leader of the cluster. // FailedPrecondition should be returned if the storage is already bootstrapped. Bootstrap(ctx context.Context, in *BootstrapRequest, opts ...grpc.CallOption) (*BootstrapResponse, error) // AddVoter adds a voter to the storage. The underlying implementation // should ensure that the voter is added to the storage and that the // storage is in a consistent state before returning. AddVoter(ctx context.Context, in *StoragePeer, opts ...grpc.CallOption) (*AddVoterResponse, error) // AddObserver adds an observer to the storage. The underlying implementation // should ensure that the observer is added to the storage and that the // storage is in a consistent state before returning. If observers are not // supported the underlying implementation can silently ignore this RPC, but // it should keep track of the observer in the GetStatus RPC if possible. AddObserver(ctx context.Context, in *StoragePeer, opts ...grpc.CallOption) (*AddObserverResponse, error) // DemoteVoter demotes a voter to an observer. The underlying implementation // should ensure that the voter is demoted and that the storage is in a // consistent state before returning. If observers are not supported the // underlying implementation can silently ignore this RPC, but it should keep // track of the observer in the GetStatus RPC if possible. DemoteVoter(ctx context.Context, in *StoragePeer, opts ...grpc.CallOption) (*DemoteVoterResponse, error) // RemovePeer removes a peer from the storage. The underlying implementation // should ensure that the server is removed and that the storage is in a // consistent state before returning. RemovePeer(ctx context.Context, in *StoragePeer, opts ...grpc.CallOption) (*RemoveServerResponse, error) // GetLeader returns the leader of the storage. Leader may be loosely defined // by the implementation, but must be a node that can reliably be used to // mutate the storage. GetLeader(ctx context.Context, in *GetLeaderRequest, opts ...grpc.CallOption) (*StoragePeer, error) // GetPeers returns all peers of the storage. Peer status may be loosely defined // by the implementation, but must correlate to nodes that can reliably be used to // mutate the storage. GetPeers(ctx context.Context, in *GetPeersRequest, opts ...grpc.CallOption) (*StoragePeers, error) // GetValue returns the value for a key. GetValue(ctx context.Context, in *GetValueRequest, opts ...grpc.CallOption) (*GetValueResponse, error) // PutValue puts a value for a key. PutValue(ctx context.Context, in *PutValueRequest, opts ...grpc.CallOption) (*PutValueResponse, error) // DeleteValue deletes a value for a key. DeleteValue(ctx context.Context, in *DeleteValueRequest, opts ...grpc.CallOption) (*DeleteValueResponse, error) // ListKeys lists all keys for a prefix. ListKeys(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListKeysResponse, error) // ListValues lists all values for a prefix. ListValues(ctx context.Context, in *ListValuesRequest, opts ...grpc.CallOption) (*ListValuesResponse, error) // SubscribePrefix subscribes to events for a prefix. SubscribePrefix(ctx context.Context, in *SubscribePrefixRequest, opts ...grpc.CallOption) (StorageProviderPlugin_SubscribePrefixClient, error) }
StorageProviderPluginClient is the client API for StorageProviderPlugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewStorageProviderPluginClient ¶ added in v0.4.0
func NewStorageProviderPluginClient(cc grpc.ClientConnInterface) StorageProviderPluginClient
type StorageProviderPluginServer ¶ added in v0.4.0
type StorageProviderPluginServer interface { // GetStatus returns the status of the storage. GetStatus(context.Context, *StorageStatusRequest) (*StorageStatus, error) // Bootstrap is called when the storage is created for the first time. // It is assumed that this node has been elected as the leader of the cluster. // FailedPrecondition should be returned if the storage is already bootstrapped. Bootstrap(context.Context, *BootstrapRequest) (*BootstrapResponse, error) // AddVoter adds a voter to the storage. The underlying implementation // should ensure that the voter is added to the storage and that the // storage is in a consistent state before returning. AddVoter(context.Context, *StoragePeer) (*AddVoterResponse, error) // AddObserver adds an observer to the storage. The underlying implementation // should ensure that the observer is added to the storage and that the // storage is in a consistent state before returning. If observers are not // supported the underlying implementation can silently ignore this RPC, but // it should keep track of the observer in the GetStatus RPC if possible. AddObserver(context.Context, *StoragePeer) (*AddObserverResponse, error) // DemoteVoter demotes a voter to an observer. The underlying implementation // should ensure that the voter is demoted and that the storage is in a // consistent state before returning. If observers are not supported the // underlying implementation can silently ignore this RPC, but it should keep // track of the observer in the GetStatus RPC if possible. DemoteVoter(context.Context, *StoragePeer) (*DemoteVoterResponse, error) // RemovePeer removes a peer from the storage. The underlying implementation // should ensure that the server is removed and that the storage is in a // consistent state before returning. RemovePeer(context.Context, *StoragePeer) (*RemoveServerResponse, error) // GetLeader returns the leader of the storage. Leader may be loosely defined // by the implementation, but must be a node that can reliably be used to // mutate the storage. GetLeader(context.Context, *GetLeaderRequest) (*StoragePeer, error) // GetPeers returns all peers of the storage. Peer status may be loosely defined // by the implementation, but must correlate to nodes that can reliably be used to // mutate the storage. GetPeers(context.Context, *GetPeersRequest) (*StoragePeers, error) // GetValue returns the value for a key. GetValue(context.Context, *GetValueRequest) (*GetValueResponse, error) // PutValue puts a value for a key. PutValue(context.Context, *PutValueRequest) (*PutValueResponse, error) // DeleteValue deletes a value for a key. DeleteValue(context.Context, *DeleteValueRequest) (*DeleteValueResponse, error) // ListKeys lists all keys for a prefix. ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error) // ListValues lists all values for a prefix. ListValues(context.Context, *ListValuesRequest) (*ListValuesResponse, error) // SubscribePrefix subscribes to events for a prefix. SubscribePrefix(*SubscribePrefixRequest, StorageProviderPlugin_SubscribePrefixServer) error // contains filtered or unexported methods }
StorageProviderPluginServer is the server API for StorageProviderPlugin service. All implementations must embed UnimplementedStorageProviderPluginServer for forward compatibility
type StorageProviderPlugin_SubscribePrefixClient ¶ added in v0.4.0
type StorageProviderPlugin_SubscribePrefixClient interface { Recv() (*PrefixEvent, error) grpc.ClientStream }
type StorageProviderPlugin_SubscribePrefixServer ¶ added in v0.4.0
type StorageProviderPlugin_SubscribePrefixServer interface { Send(*PrefixEvent) error grpc.ServerStream }
type StorageQuerierPluginClient ¶ added in v0.4.0
type StorageQuerierPluginClient interface { // InjectQuerier is a stream opened by the node to faciliate read-write operations // against the mesh state. The signature is misleading, but it is required to be // able to stream the query results back to the node. The node will open a stream // to the plugin and send a PluginSQLQueryResult message for every query that is // received. InjectQuerier(ctx context.Context, opts ...grpc.CallOption) (StorageQuerierPlugin_InjectQuerierClient, error) }
StorageQuerierPluginClient is the client API for StorageQuerierPlugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewStorageQuerierPluginClient ¶ added in v0.4.0
func NewStorageQuerierPluginClient(cc grpc.ClientConnInterface) StorageQuerierPluginClient
type StorageQuerierPluginServer ¶ added in v0.4.0
type StorageQuerierPluginServer interface { // InjectQuerier is a stream opened by the node to faciliate read-write operations // against the mesh state. The signature is misleading, but it is required to be // able to stream the query results back to the node. The node will open a stream // to the plugin and send a PluginSQLQueryResult message for every query that is // received. InjectQuerier(StorageQuerierPlugin_InjectQuerierServer) error // contains filtered or unexported methods }
StorageQuerierPluginServer is the server API for StorageQuerierPlugin service. All implementations must embed UnimplementedStorageQuerierPluginServer for forward compatibility
type StorageQuerierPlugin_InjectQuerierClient ¶ added in v0.4.0
type StorageQuerierPlugin_InjectQuerierClient interface { Send(*PluginQueryResult) error Recv() (*PluginQuery, error) grpc.ClientStream }
type StorageQuerierPlugin_InjectQuerierServer ¶ added in v0.4.0
type StorageQuerierPlugin_InjectQuerierServer interface { Send(*PluginQuery) error Recv() (*PluginQueryResult, error) grpc.ServerStream }
type StorageQueryServiceClient ¶ added in v0.4.0
type StorageQueryServiceClient interface { // Query is used to query the mesh for information. Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (StorageQueryService_QueryClient, error) // Publish is used to publish events to the mesh database. A restricted set // of keys are allowed to be published to. This is only available on nodes // that are able to provide storage. Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error) // Subscribe is used by non-storage-providing nodes to receive updates to the mesh state. This is only // available on nodes that are able to provide storage. Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (StorageQueryService_SubscribeClient, error) }
StorageQueryServiceClient is the client API for StorageQueryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewStorageQueryServiceClient ¶ added in v0.4.0
func NewStorageQueryServiceClient(cc grpc.ClientConnInterface) StorageQueryServiceClient
type StorageQueryServiceServer ¶ added in v0.4.0
type StorageQueryServiceServer interface { // Query is used to query the mesh for information. Query(*QueryRequest, StorageQueryService_QueryServer) error // Publish is used to publish events to the mesh database. A restricted set // of keys are allowed to be published to. This is only available on nodes // that are able to provide storage. Publish(context.Context, *PublishRequest) (*PublishResponse, error) // Subscribe is used by non-storage-providing nodes to receive updates to the mesh state. This is only // available on nodes that are able to provide storage. Subscribe(*SubscribeRequest, StorageQueryService_SubscribeServer) error // contains filtered or unexported methods }
StorageQueryServiceServer is the server API for StorageQueryService service. All implementations must embed UnimplementedStorageQueryServiceServer for forward compatibility
type StorageQueryService_QueryClient ¶ added in v0.4.0
type StorageQueryService_QueryClient interface { Recv() (*QueryResponse, error) grpc.ClientStream }
type StorageQueryService_QueryServer ¶ added in v0.4.0
type StorageQueryService_QueryServer interface { Send(*QueryResponse) error grpc.ServerStream }
type StorageQueryService_SubscribeClient ¶ added in v0.4.0
type StorageQueryService_SubscribeClient interface { Recv() (*SubscriptionEvent, error) grpc.ClientStream }
type StorageQueryService_SubscribeServer ¶ added in v0.4.0
type StorageQueryService_SubscribeServer interface { Send(*SubscriptionEvent) error grpc.ServerStream }
type StorageServer ¶ added in v0.3.0
type StorageServer struct { // ID is the ID of the server. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Suffrage is the suffrage of the server. Suffrage ClusterStatus `protobuf:"varint,2,opt,name=suffrage,proto3,enum=v1.ClusterStatus" json:"suffrage,omitempty"` // Address is the mesh address of the server. Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
StorageServer is a server in the Storage configuration.
func (*StorageServer) DeepCopy ¶ added in v0.6.2
func (in *StorageServer) DeepCopy() *StorageServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageServer. Required by controller-gen.
func (*StorageServer) DeepCopyInterface ¶ added in v0.6.2
func (in *StorageServer) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StorageServer. Required by controller-gen.
func (*StorageServer) DeepCopyInto ¶ added in v0.6.2
func (in *StorageServer) DeepCopyInto(out *StorageServer)
DeepCopyInto supports using StorageServer within kubernetes types, where deepcopy-gen is used.
func (*StorageServer) Descriptor
deprecated
added in
v0.4.0
func (*StorageServer) Descriptor() ([]byte, []int)
Deprecated: Use StorageServer.ProtoReflect.Descriptor instead.
func (*StorageServer) GetAddress ¶ added in v0.4.0
func (x *StorageServer) GetAddress() string
func (*StorageServer) GetId ¶ added in v0.4.0
func (x *StorageServer) GetId() string
func (*StorageServer) GetSuffrage ¶ added in v0.4.0
func (x *StorageServer) GetSuffrage() ClusterStatus
func (*StorageServer) ProtoMessage ¶ added in v0.4.0
func (*StorageServer) ProtoMessage()
func (*StorageServer) ProtoReflect ¶ added in v0.4.0
func (x *StorageServer) ProtoReflect() protoreflect.Message
func (*StorageServer) Reset ¶ added in v0.4.0
func (x *StorageServer) Reset()
func (*StorageServer) String ¶ added in v0.4.0
func (x *StorageServer) String() string
func (*StorageServer) Validate ¶ added in v0.6.2
func (m *StorageServer) Validate() error
Validate checks the field values on StorageServer 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 (*StorageServer) ValidateAll ¶ added in v0.6.2
func (m *StorageServer) ValidateAll() error
ValidateAll checks the field values on StorageServer 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 StorageServerMultiError, or nil if none found.
type StorageServerMultiError ¶ added in v0.6.2
type StorageServerMultiError []error
StorageServerMultiError is an error wrapping multiple validation errors returned by StorageServer.ValidateAll() if the designated constraints aren't met.
func (StorageServerMultiError) AllErrors ¶ added in v0.6.2
func (m StorageServerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StorageServerMultiError) Error ¶ added in v0.6.2
func (m StorageServerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StorageServerValidationError ¶ added in v0.6.2
type StorageServerValidationError struct {
// contains filtered or unexported fields
}
StorageServerValidationError is the validation error returned by StorageServer.Validate if the designated constraints aren't met.
func (StorageServerValidationError) Cause ¶ added in v0.6.2
func (e StorageServerValidationError) Cause() error
Cause function returns cause value.
func (StorageServerValidationError) Error ¶ added in v0.6.2
func (e StorageServerValidationError) Error() string
Error satisfies the builtin error interface
func (StorageServerValidationError) ErrorName ¶ added in v0.6.2
func (e StorageServerValidationError) ErrorName() string
ErrorName returns error name.
func (StorageServerValidationError) Field ¶ added in v0.6.2
func (e StorageServerValidationError) Field() string
Field function returns field value.
func (StorageServerValidationError) Key ¶ added in v0.6.2
func (e StorageServerValidationError) Key() bool
Key function returns key value.
func (StorageServerValidationError) Reason ¶ added in v0.6.2
func (e StorageServerValidationError) Reason() string
Reason function returns reason value.
type StorageStatus ¶ added in v0.4.0
type StorageStatus struct { // IsWritable is true if the storage can currently be written to. IsWritable bool `protobuf:"varint,1,opt,name=is_writable,json=isWritable,proto3" json:"is_writable,omitempty"` // ClusterStatus is the status of the storage. The definitions applied // to each status are implementation specific. ClusterStatus ClusterStatus `protobuf:"varint,2,opt,name=cluster_status,json=clusterStatus,proto3,enum=v1.ClusterStatus" json:"cluster_status,omitempty"` // Peers is the list of servers that are currently recognized as peers // by the storage plugin. This should include the current server. Peers []*StoragePeer `protobuf:"bytes,3,rep,name=peers,proto3" json:"peers,omitempty"` // message is an implementation specific message that can be used to provide // additional information about the storage status. Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
StorageStatus is the response object for the StorageStatus RPC.
func (*StorageStatus) DeepCopy ¶ added in v0.6.2
func (in *StorageStatus) DeepCopy() *StorageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageStatus. Required by controller-gen.
func (*StorageStatus) DeepCopyInterface ¶ added in v0.6.2
func (in *StorageStatus) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StorageStatus. Required by controller-gen.
func (*StorageStatus) DeepCopyInto ¶ added in v0.6.2
func (in *StorageStatus) DeepCopyInto(out *StorageStatus)
DeepCopyInto supports using StorageStatus within kubernetes types, where deepcopy-gen is used.
func (*StorageStatus) Descriptor
deprecated
added in
v0.4.0
func (*StorageStatus) Descriptor() ([]byte, []int)
Deprecated: Use StorageStatus.ProtoReflect.Descriptor instead.
func (*StorageStatus) GetClusterStatus ¶ added in v0.4.0
func (x *StorageStatus) GetClusterStatus() ClusterStatus
func (*StorageStatus) GetIsWritable ¶ added in v0.4.0
func (x *StorageStatus) GetIsWritable() bool
func (*StorageStatus) GetMessage ¶ added in v0.4.0
func (x *StorageStatus) GetMessage() string
func (*StorageStatus) GetPeers ¶ added in v0.4.0
func (x *StorageStatus) GetPeers() []*StoragePeer
func (*StorageStatus) ProtoMessage ¶ added in v0.4.0
func (*StorageStatus) ProtoMessage()
func (*StorageStatus) ProtoReflect ¶ added in v0.4.0
func (x *StorageStatus) ProtoReflect() protoreflect.Message
func (*StorageStatus) Reset ¶ added in v0.4.0
func (x *StorageStatus) Reset()
func (*StorageStatus) String ¶ added in v0.4.0
func (x *StorageStatus) String() string
func (*StorageStatus) Validate ¶ added in v0.6.2
func (m *StorageStatus) Validate() error
Validate checks the field values on StorageStatus 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 (*StorageStatus) ValidateAll ¶ added in v0.6.2
func (m *StorageStatus) ValidateAll() error
ValidateAll checks the field values on StorageStatus 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 StorageStatusMultiError, or nil if none found.
type StorageStatusMultiError ¶ added in v0.6.2
type StorageStatusMultiError []error
StorageStatusMultiError is an error wrapping multiple validation errors returned by StorageStatus.ValidateAll() if the designated constraints aren't met.
func (StorageStatusMultiError) AllErrors ¶ added in v0.6.2
func (m StorageStatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StorageStatusMultiError) Error ¶ added in v0.6.2
func (m StorageStatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StorageStatusRequest ¶ added in v0.4.0
type StorageStatusRequest struct {
// contains filtered or unexported fields
}
StorageStatusRequest is the request object for the StorageStatus RPC.
func (*StorageStatusRequest) DeepCopy ¶ added in v0.6.2
func (in *StorageStatusRequest) DeepCopy() *StorageStatusRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageStatusRequest. Required by controller-gen.
func (*StorageStatusRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *StorageStatusRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StorageStatusRequest. Required by controller-gen.
func (*StorageStatusRequest) DeepCopyInto ¶ added in v0.6.2
func (in *StorageStatusRequest) DeepCopyInto(out *StorageStatusRequest)
DeepCopyInto supports using StorageStatusRequest within kubernetes types, where deepcopy-gen is used.
func (*StorageStatusRequest) Descriptor
deprecated
added in
v0.4.0
func (*StorageStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StorageStatusRequest.ProtoReflect.Descriptor instead.
func (*StorageStatusRequest) ProtoMessage ¶ added in v0.4.0
func (*StorageStatusRequest) ProtoMessage()
func (*StorageStatusRequest) ProtoReflect ¶ added in v0.4.0
func (x *StorageStatusRequest) ProtoReflect() protoreflect.Message
func (*StorageStatusRequest) Reset ¶ added in v0.4.0
func (x *StorageStatusRequest) Reset()
func (*StorageStatusRequest) String ¶ added in v0.4.0
func (x *StorageStatusRequest) String() string
func (*StorageStatusRequest) Validate ¶ added in v0.6.2
func (m *StorageStatusRequest) Validate() error
Validate checks the field values on StorageStatusRequest 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 (*StorageStatusRequest) ValidateAll ¶ added in v0.6.2
func (m *StorageStatusRequest) ValidateAll() error
ValidateAll checks the field values on StorageStatusRequest 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 StorageStatusRequestMultiError, or nil if none found.
type StorageStatusRequestMultiError ¶ added in v0.6.2
type StorageStatusRequestMultiError []error
StorageStatusRequestMultiError is an error wrapping multiple validation errors returned by StorageStatusRequest.ValidateAll() if the designated constraints aren't met.
func (StorageStatusRequestMultiError) AllErrors ¶ added in v0.6.2
func (m StorageStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StorageStatusRequestMultiError) Error ¶ added in v0.6.2
func (m StorageStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StorageStatusRequestValidationError ¶ added in v0.6.2
type StorageStatusRequestValidationError struct {
// contains filtered or unexported fields
}
StorageStatusRequestValidationError is the validation error returned by StorageStatusRequest.Validate if the designated constraints aren't met.
func (StorageStatusRequestValidationError) Cause ¶ added in v0.6.2
func (e StorageStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (StorageStatusRequestValidationError) Error ¶ added in v0.6.2
func (e StorageStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StorageStatusRequestValidationError) ErrorName ¶ added in v0.6.2
func (e StorageStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StorageStatusRequestValidationError) Field ¶ added in v0.6.2
func (e StorageStatusRequestValidationError) Field() string
Field function returns field value.
func (StorageStatusRequestValidationError) Key ¶ added in v0.6.2
func (e StorageStatusRequestValidationError) Key() bool
Key function returns key value.
func (StorageStatusRequestValidationError) Reason ¶ added in v0.6.2
func (e StorageStatusRequestValidationError) Reason() string
Reason function returns reason value.
type StorageStatusValidationError ¶ added in v0.6.2
type StorageStatusValidationError struct {
// contains filtered or unexported fields
}
StorageStatusValidationError is the validation error returned by StorageStatus.Validate if the designated constraints aren't met.
func (StorageStatusValidationError) Cause ¶ added in v0.6.2
func (e StorageStatusValidationError) Cause() error
Cause function returns cause value.
func (StorageStatusValidationError) Error ¶ added in v0.6.2
func (e StorageStatusValidationError) Error() string
Error satisfies the builtin error interface
func (StorageStatusValidationError) ErrorName ¶ added in v0.6.2
func (e StorageStatusValidationError) ErrorName() string
ErrorName returns error name.
func (StorageStatusValidationError) Field ¶ added in v0.6.2
func (e StorageStatusValidationError) Field() string
Field function returns field value.
func (StorageStatusValidationError) Key ¶ added in v0.6.2
func (e StorageStatusValidationError) Key() bool
Key function returns key value.
func (StorageStatusValidationError) Reason ¶ added in v0.6.2
func (e StorageStatusValidationError) Reason() string
Reason function returns reason value.
type StorageValue ¶ added in v0.4.0
type StorageValue struct { // Key is the key of the value. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Value is the value of the key. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
StorageValue is a value stored in the storage.
func (*StorageValue) DeepCopy ¶ added in v0.6.2
func (in *StorageValue) DeepCopy() *StorageValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageValue. Required by controller-gen.
func (*StorageValue) DeepCopyInterface ¶ added in v0.6.2
func (in *StorageValue) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new StorageValue. Required by controller-gen.
func (*StorageValue) DeepCopyInto ¶ added in v0.6.2
func (in *StorageValue) DeepCopyInto(out *StorageValue)
DeepCopyInto supports using StorageValue within kubernetes types, where deepcopy-gen is used.
func (*StorageValue) Descriptor
deprecated
added in
v0.4.0
func (*StorageValue) Descriptor() ([]byte, []int)
Deprecated: Use StorageValue.ProtoReflect.Descriptor instead.
func (*StorageValue) GetKey ¶ added in v0.4.0
func (x *StorageValue) GetKey() []byte
func (*StorageValue) GetValue ¶ added in v0.4.0
func (x *StorageValue) GetValue() []byte
func (*StorageValue) ProtoMessage ¶ added in v0.4.0
func (*StorageValue) ProtoMessage()
func (*StorageValue) ProtoReflect ¶ added in v0.4.0
func (x *StorageValue) ProtoReflect() protoreflect.Message
func (*StorageValue) Reset ¶ added in v0.4.0
func (x *StorageValue) Reset()
func (*StorageValue) String ¶ added in v0.4.0
func (x *StorageValue) String() string
func (*StorageValue) Validate ¶ added in v0.6.2
func (m *StorageValue) Validate() error
Validate checks the field values on StorageValue 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 (*StorageValue) ValidateAll ¶ added in v0.6.2
func (m *StorageValue) ValidateAll() error
ValidateAll checks the field values on StorageValue 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 StorageValueMultiError, or nil if none found.
type StorageValueMultiError ¶ added in v0.6.2
type StorageValueMultiError []error
StorageValueMultiError is an error wrapping multiple validation errors returned by StorageValue.ValidateAll() if the designated constraints aren't met.
func (StorageValueMultiError) AllErrors ¶ added in v0.6.2
func (m StorageValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StorageValueMultiError) Error ¶ added in v0.6.2
func (m StorageValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StorageValueValidationError ¶ added in v0.6.2
type StorageValueValidationError struct {
// contains filtered or unexported fields
}
StorageValueValidationError is the validation error returned by StorageValue.Validate if the designated constraints aren't met.
func (StorageValueValidationError) Cause ¶ added in v0.6.2
func (e StorageValueValidationError) Cause() error
Cause function returns cause value.
func (StorageValueValidationError) Error ¶ added in v0.6.2
func (e StorageValueValidationError) Error() string
Error satisfies the builtin error interface
func (StorageValueValidationError) ErrorName ¶ added in v0.6.2
func (e StorageValueValidationError) ErrorName() string
ErrorName returns error name.
func (StorageValueValidationError) Field ¶ added in v0.6.2
func (e StorageValueValidationError) Field() string
Field function returns field value.
func (StorageValueValidationError) Key ¶ added in v0.6.2
func (e StorageValueValidationError) Key() bool
Key function returns key value.
func (StorageValueValidationError) Reason ¶ added in v0.6.2
func (e StorageValueValidationError) Reason() string
Reason function returns reason value.
type Subject ¶
type Subject struct { // name is the name of the subject. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // type is the type of the subject. Type SubjectType `protobuf:"varint,2,opt,name=type,proto3,enum=v1.SubjectType" json:"type,omitempty"` // contains filtered or unexported fields }
Subject is a subject to which a role can be bound.
func (*Subject) DeepCopy ¶ added in v0.6.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject. Required by controller-gen.
func (*Subject) DeepCopyInterface ¶ added in v0.6.2
func (in *Subject) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Subject. Required by controller-gen.
func (*Subject) DeepCopyInto ¶ added in v0.6.2
DeepCopyInto supports using Subject within kubernetes types, where deepcopy-gen is used.
func (*Subject) Descriptor
deprecated
func (*Subject) GetType ¶
func (x *Subject) GetType() SubjectType
func (*Subject) ProtoMessage ¶
func (*Subject) ProtoMessage()
func (*Subject) ProtoReflect ¶
func (x *Subject) ProtoReflect() protoreflect.Message
func (*Subject) Validate ¶ added in v0.6.2
Validate checks the field values on Subject 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 (*Subject) ValidateAll ¶ added in v0.6.2
ValidateAll checks the field values on Subject 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 SubjectMultiError, or nil if none found.
type SubjectMultiError ¶ added in v0.6.2
type SubjectMultiError []error
SubjectMultiError is an error wrapping multiple validation errors returned by Subject.ValidateAll() if the designated constraints aren't met.
func (SubjectMultiError) AllErrors ¶ added in v0.6.2
func (m SubjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubjectMultiError) Error ¶ added in v0.6.2
func (m SubjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubjectType ¶
type SubjectType int32
SubjectType is the type of a subject.
const ( // SUBJECT_UNKNOWN is an unknown subject type. SubjectType_SUBJECT_UNKNOWN SubjectType = 0 // SUBJECT_NODE is a subject type for a node. SubjectType_SUBJECT_NODE SubjectType = 1 // SUBJECT_USER is a subject type for a user. SubjectType_SUBJECT_USER SubjectType = 2 // SUBJECT_GROUP is a subject type for a group. SubjectType_SUBJECT_GROUP SubjectType = 3 // SUBJECT_ALL is a wildcard subject type that matches all subject types. // It can be used with a subject named '*' to match all subjects. SubjectType_SUBJECT_ALL SubjectType = 999 )
func (SubjectType) Descriptor ¶
func (SubjectType) Descriptor() protoreflect.EnumDescriptor
func (SubjectType) Enum ¶
func (x SubjectType) Enum() *SubjectType
func (SubjectType) EnumDescriptor
deprecated
func (SubjectType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubjectType.Descriptor instead.
func (SubjectType) Number ¶
func (x SubjectType) Number() protoreflect.EnumNumber
func (SubjectType) String ¶
func (x SubjectType) String() string
func (SubjectType) Type ¶
func (SubjectType) Type() protoreflect.EnumType
type SubjectValidationError ¶ added in v0.6.2
type SubjectValidationError struct {
// contains filtered or unexported fields
}
SubjectValidationError is the validation error returned by Subject.Validate if the designated constraints aren't met.
func (SubjectValidationError) Cause ¶ added in v0.6.2
func (e SubjectValidationError) Cause() error
Cause function returns cause value.
func (SubjectValidationError) Error ¶ added in v0.6.2
func (e SubjectValidationError) Error() string
Error satisfies the builtin error interface
func (SubjectValidationError) ErrorName ¶ added in v0.6.2
func (e SubjectValidationError) ErrorName() string
ErrorName returns error name.
func (SubjectValidationError) Field ¶ added in v0.6.2
func (e SubjectValidationError) Field() string
Field function returns field value.
func (SubjectValidationError) Key ¶ added in v0.6.2
func (e SubjectValidationError) Key() bool
Key function returns key value.
func (SubjectValidationError) Reason ¶ added in v0.6.2
func (e SubjectValidationError) Reason() string
Reason function returns reason value.
type SubscribePeersRequest ¶ added in v0.3.0
type SubscribePeersRequest struct { // id is the ID of the node. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
SubscribePeersRequest is a request to subscribe to peer updates.
func (*SubscribePeersRequest) DeepCopy ¶ added in v0.6.2
func (in *SubscribePeersRequest) DeepCopy() *SubscribePeersRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscribePeersRequest. Required by controller-gen.
func (*SubscribePeersRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *SubscribePeersRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SubscribePeersRequest. Required by controller-gen.
func (*SubscribePeersRequest) DeepCopyInto ¶ added in v0.6.2
func (in *SubscribePeersRequest) DeepCopyInto(out *SubscribePeersRequest)
DeepCopyInto supports using SubscribePeersRequest within kubernetes types, where deepcopy-gen is used.
func (*SubscribePeersRequest) Descriptor
deprecated
added in
v0.3.0
func (*SubscribePeersRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribePeersRequest.ProtoReflect.Descriptor instead.
func (*SubscribePeersRequest) GetId ¶ added in v0.3.0
func (x *SubscribePeersRequest) GetId() string
func (*SubscribePeersRequest) ProtoMessage ¶ added in v0.3.0
func (*SubscribePeersRequest) ProtoMessage()
func (*SubscribePeersRequest) ProtoReflect ¶ added in v0.3.0
func (x *SubscribePeersRequest) ProtoReflect() protoreflect.Message
func (*SubscribePeersRequest) Reset ¶ added in v0.3.0
func (x *SubscribePeersRequest) Reset()
func (*SubscribePeersRequest) String ¶ added in v0.3.0
func (x *SubscribePeersRequest) String() string
func (*SubscribePeersRequest) Validate ¶ added in v0.6.2
func (m *SubscribePeersRequest) Validate() error
Validate checks the field values on SubscribePeersRequest 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 (*SubscribePeersRequest) ValidateAll ¶ added in v0.6.2
func (m *SubscribePeersRequest) ValidateAll() error
ValidateAll checks the field values on SubscribePeersRequest 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 SubscribePeersRequestMultiError, or nil if none found.
type SubscribePeersRequestMultiError ¶ added in v0.6.2
type SubscribePeersRequestMultiError []error
SubscribePeersRequestMultiError is an error wrapping multiple validation errors returned by SubscribePeersRequest.ValidateAll() if the designated constraints aren't met.
func (SubscribePeersRequestMultiError) AllErrors ¶ added in v0.6.2
func (m SubscribePeersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribePeersRequestMultiError) Error ¶ added in v0.6.2
func (m SubscribePeersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribePeersRequestValidationError ¶ added in v0.6.2
type SubscribePeersRequestValidationError struct {
// contains filtered or unexported fields
}
SubscribePeersRequestValidationError is the validation error returned by SubscribePeersRequest.Validate if the designated constraints aren't met.
func (SubscribePeersRequestValidationError) Cause ¶ added in v0.6.2
func (e SubscribePeersRequestValidationError) Cause() error
Cause function returns cause value.
func (SubscribePeersRequestValidationError) Error ¶ added in v0.6.2
func (e SubscribePeersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribePeersRequestValidationError) ErrorName ¶ added in v0.6.2
func (e SubscribePeersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribePeersRequestValidationError) Field ¶ added in v0.6.2
func (e SubscribePeersRequestValidationError) Field() string
Field function returns field value.
func (SubscribePeersRequestValidationError) Key ¶ added in v0.6.2
func (e SubscribePeersRequestValidationError) Key() bool
Key function returns key value.
func (SubscribePeersRequestValidationError) Reason ¶ added in v0.6.2
func (e SubscribePeersRequestValidationError) Reason() string
Reason function returns reason value.
type SubscribePrefixRequest ¶ added in v0.4.0
type SubscribePrefixRequest struct { // Prefix is the prefix to subscribe to. Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
SubscribePrefixRequest is the request object for the SubscribePrefix RPC.
func (*SubscribePrefixRequest) DeepCopy ¶ added in v0.6.2
func (in *SubscribePrefixRequest) DeepCopy() *SubscribePrefixRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscribePrefixRequest. Required by controller-gen.
func (*SubscribePrefixRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *SubscribePrefixRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SubscribePrefixRequest. Required by controller-gen.
func (*SubscribePrefixRequest) DeepCopyInto ¶ added in v0.6.2
func (in *SubscribePrefixRequest) DeepCopyInto(out *SubscribePrefixRequest)
DeepCopyInto supports using SubscribePrefixRequest within kubernetes types, where deepcopy-gen is used.
func (*SubscribePrefixRequest) Descriptor
deprecated
added in
v0.4.0
func (*SubscribePrefixRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribePrefixRequest.ProtoReflect.Descriptor instead.
func (*SubscribePrefixRequest) GetPrefix ¶ added in v0.4.0
func (x *SubscribePrefixRequest) GetPrefix() []byte
func (*SubscribePrefixRequest) ProtoMessage ¶ added in v0.4.0
func (*SubscribePrefixRequest) ProtoMessage()
func (*SubscribePrefixRequest) ProtoReflect ¶ added in v0.4.0
func (x *SubscribePrefixRequest) ProtoReflect() protoreflect.Message
func (*SubscribePrefixRequest) Reset ¶ added in v0.4.0
func (x *SubscribePrefixRequest) Reset()
func (*SubscribePrefixRequest) String ¶ added in v0.4.0
func (x *SubscribePrefixRequest) String() string
func (*SubscribePrefixRequest) Validate ¶ added in v0.6.2
func (m *SubscribePrefixRequest) Validate() error
Validate checks the field values on SubscribePrefixRequest 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 (*SubscribePrefixRequest) ValidateAll ¶ added in v0.6.2
func (m *SubscribePrefixRequest) ValidateAll() error
ValidateAll checks the field values on SubscribePrefixRequest 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 SubscribePrefixRequestMultiError, or nil if none found.
type SubscribePrefixRequestMultiError ¶ added in v0.6.2
type SubscribePrefixRequestMultiError []error
SubscribePrefixRequestMultiError is an error wrapping multiple validation errors returned by SubscribePrefixRequest.ValidateAll() if the designated constraints aren't met.
func (SubscribePrefixRequestMultiError) AllErrors ¶ added in v0.6.2
func (m SubscribePrefixRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribePrefixRequestMultiError) Error ¶ added in v0.6.2
func (m SubscribePrefixRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribePrefixRequestValidationError ¶ added in v0.6.2
type SubscribePrefixRequestValidationError struct {
// contains filtered or unexported fields
}
SubscribePrefixRequestValidationError is the validation error returned by SubscribePrefixRequest.Validate if the designated constraints aren't met.
func (SubscribePrefixRequestValidationError) Cause ¶ added in v0.6.2
func (e SubscribePrefixRequestValidationError) Cause() error
Cause function returns cause value.
func (SubscribePrefixRequestValidationError) Error ¶ added in v0.6.2
func (e SubscribePrefixRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribePrefixRequestValidationError) ErrorName ¶ added in v0.6.2
func (e SubscribePrefixRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribePrefixRequestValidationError) Field ¶ added in v0.6.2
func (e SubscribePrefixRequestValidationError) Field() string
Field function returns field value.
func (SubscribePrefixRequestValidationError) Key ¶ added in v0.6.2
func (e SubscribePrefixRequestValidationError) Key() bool
Key function returns key value.
func (SubscribePrefixRequestValidationError) Reason ¶ added in v0.6.2
func (e SubscribePrefixRequestValidationError) Reason() string
Reason function returns reason value.
type SubscribeRequest ¶ added in v0.2.2
type SubscribeRequest struct { // prefix is the prefix of the events to subscribe to. Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
SubscribeRequest is sent by the application to the node to subscribe to events. This currently only supports database events.
func (*SubscribeRequest) DeepCopy ¶ added in v0.6.2
func (in *SubscribeRequest) DeepCopy() *SubscribeRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscribeRequest. Required by controller-gen.
func (*SubscribeRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *SubscribeRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SubscribeRequest. Required by controller-gen.
func (*SubscribeRequest) DeepCopyInto ¶ added in v0.6.2
func (in *SubscribeRequest) DeepCopyInto(out *SubscribeRequest)
DeepCopyInto supports using SubscribeRequest within kubernetes types, where deepcopy-gen is used.
func (*SubscribeRequest) Descriptor
deprecated
added in
v0.2.2
func (*SubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
func (*SubscribeRequest) GetPrefix ¶ added in v0.2.2
func (x *SubscribeRequest) GetPrefix() []byte
func (*SubscribeRequest) ProtoMessage ¶ added in v0.2.2
func (*SubscribeRequest) ProtoMessage()
func (*SubscribeRequest) ProtoReflect ¶ added in v0.2.2
func (x *SubscribeRequest) ProtoReflect() protoreflect.Message
func (*SubscribeRequest) Reset ¶ added in v0.2.2
func (x *SubscribeRequest) Reset()
func (*SubscribeRequest) String ¶ added in v0.2.2
func (x *SubscribeRequest) String() string
func (*SubscribeRequest) Validate ¶ added in v0.6.2
func (m *SubscribeRequest) Validate() error
Validate checks the field values on SubscribeRequest 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 (*SubscribeRequest) ValidateAll ¶ added in v0.6.2
func (m *SubscribeRequest) ValidateAll() error
ValidateAll checks the field values on SubscribeRequest 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 SubscribeRequestMultiError, or nil if none found.
type SubscribeRequestMultiError ¶ added in v0.6.2
type SubscribeRequestMultiError []error
SubscribeRequestMultiError is an error wrapping multiple validation errors returned by SubscribeRequest.ValidateAll() if the designated constraints aren't met.
func (SubscribeRequestMultiError) AllErrors ¶ added in v0.6.2
func (m SubscribeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeRequestMultiError) Error ¶ added in v0.6.2
func (m SubscribeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeRequestValidationError ¶ added in v0.6.2
type SubscribeRequestValidationError struct {
// contains filtered or unexported fields
}
SubscribeRequestValidationError is the validation error returned by SubscribeRequest.Validate if the designated constraints aren't met.
func (SubscribeRequestValidationError) Cause ¶ added in v0.6.2
func (e SubscribeRequestValidationError) Cause() error
Cause function returns cause value.
func (SubscribeRequestValidationError) Error ¶ added in v0.6.2
func (e SubscribeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeRequestValidationError) ErrorName ¶ added in v0.6.2
func (e SubscribeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeRequestValidationError) Field ¶ added in v0.6.2
func (e SubscribeRequestValidationError) Field() string
Field function returns field value.
func (SubscribeRequestValidationError) Key ¶ added in v0.6.2
func (e SubscribeRequestValidationError) Key() bool
Key function returns key value.
func (SubscribeRequestValidationError) Reason ¶ added in v0.6.2
func (e SubscribeRequestValidationError) Reason() string
Reason function returns reason value.
type SubscriptionEvent ¶ added in v0.2.2
type SubscriptionEvent struct { // key is the key of the event. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // value is the value of the event. This will be the raw value of the key. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
SubscriptionEvent is a message containing a subscription event.
func (*SubscriptionEvent) DeepCopy ¶ added in v0.6.2
func (in *SubscriptionEvent) DeepCopy() *SubscriptionEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionEvent. Required by controller-gen.
func (*SubscriptionEvent) DeepCopyInterface ¶ added in v0.6.2
func (in *SubscriptionEvent) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionEvent. Required by controller-gen.
func (*SubscriptionEvent) DeepCopyInto ¶ added in v0.6.2
func (in *SubscriptionEvent) DeepCopyInto(out *SubscriptionEvent)
DeepCopyInto supports using SubscriptionEvent within kubernetes types, where deepcopy-gen is used.
func (*SubscriptionEvent) Descriptor
deprecated
added in
v0.2.2
func (*SubscriptionEvent) Descriptor() ([]byte, []int)
Deprecated: Use SubscriptionEvent.ProtoReflect.Descriptor instead.
func (*SubscriptionEvent) GetKey ¶ added in v0.2.2
func (x *SubscriptionEvent) GetKey() []byte
func (*SubscriptionEvent) GetValue ¶ added in v0.2.2
func (x *SubscriptionEvent) GetValue() []byte
func (*SubscriptionEvent) ProtoMessage ¶ added in v0.2.2
func (*SubscriptionEvent) ProtoMessage()
func (*SubscriptionEvent) ProtoReflect ¶ added in v0.2.2
func (x *SubscriptionEvent) ProtoReflect() protoreflect.Message
func (*SubscriptionEvent) Reset ¶ added in v0.2.2
func (x *SubscriptionEvent) Reset()
func (*SubscriptionEvent) String ¶ added in v0.2.2
func (x *SubscriptionEvent) String() string
func (*SubscriptionEvent) Validate ¶ added in v0.6.2
func (m *SubscriptionEvent) Validate() error
Validate checks the field values on SubscriptionEvent 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 (*SubscriptionEvent) ValidateAll ¶ added in v0.6.2
func (m *SubscriptionEvent) ValidateAll() error
ValidateAll checks the field values on SubscriptionEvent 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 SubscriptionEventMultiError, or nil if none found.
type SubscriptionEventMultiError ¶ added in v0.6.2
type SubscriptionEventMultiError []error
SubscriptionEventMultiError is an error wrapping multiple validation errors returned by SubscriptionEvent.ValidateAll() if the designated constraints aren't met.
func (SubscriptionEventMultiError) AllErrors ¶ added in v0.6.2
func (m SubscriptionEventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscriptionEventMultiError) Error ¶ added in v0.6.2
func (m SubscriptionEventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscriptionEventValidationError ¶ added in v0.6.2
type SubscriptionEventValidationError struct {
// contains filtered or unexported fields
}
SubscriptionEventValidationError is the validation error returned by SubscriptionEvent.Validate if the designated constraints aren't met.
func (SubscriptionEventValidationError) Cause ¶ added in v0.6.2
func (e SubscriptionEventValidationError) Cause() error
Cause function returns cause value.
func (SubscriptionEventValidationError) Error ¶ added in v0.6.2
func (e SubscriptionEventValidationError) Error() string
Error satisfies the builtin error interface
func (SubscriptionEventValidationError) ErrorName ¶ added in v0.6.2
func (e SubscriptionEventValidationError) ErrorName() string
ErrorName returns error name.
func (SubscriptionEventValidationError) Field ¶ added in v0.6.2
func (e SubscriptionEventValidationError) Field() string
Field function returns field value.
func (SubscriptionEventValidationError) Key ¶ added in v0.6.2
func (e SubscriptionEventValidationError) Key() bool
Key function returns key value.
func (SubscriptionEventValidationError) Reason ¶ added in v0.6.2
func (e SubscriptionEventValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAdminServer ¶
type UnimplementedAdminServer struct { }
UnimplementedAdminServer must be embedded to have forward compatible implementations.
func (UnimplementedAdminServer) DeleteEdge ¶ added in v0.1.3
func (UnimplementedAdminServer) DeleteGroup ¶
func (UnimplementedAdminServer) DeleteNetworkACL ¶
func (UnimplementedAdminServer) DeleteNetworkACL(context.Context, *NetworkACL) (*emptypb.Empty, error)
func (UnimplementedAdminServer) DeleteRole ¶
func (UnimplementedAdminServer) DeleteRoleBinding ¶
func (UnimplementedAdminServer) DeleteRoleBinding(context.Context, *RoleBinding) (*emptypb.Empty, error)
func (UnimplementedAdminServer) DeleteRoute ¶
func (UnimplementedAdminServer) GetNetworkACL ¶
func (UnimplementedAdminServer) GetNetworkACL(context.Context, *NetworkACL) (*NetworkACL, error)
func (UnimplementedAdminServer) GetRoleBinding ¶
func (UnimplementedAdminServer) GetRoleBinding(context.Context, *RoleBinding) (*RoleBinding, error)
func (UnimplementedAdminServer) ListGroups ¶
func (UnimplementedAdminServer) ListNetworkACLs ¶
func (UnimplementedAdminServer) ListNetworkACLs(context.Context, *emptypb.Empty) (*NetworkACLs, error)
func (UnimplementedAdminServer) ListRoleBindings ¶
func (UnimplementedAdminServer) ListRoleBindings(context.Context, *emptypb.Empty) (*RoleBindings, error)
func (UnimplementedAdminServer) ListRoutes ¶
func (UnimplementedAdminServer) PutNetworkACL ¶
func (UnimplementedAdminServer) PutNetworkACL(context.Context, *NetworkACL) (*emptypb.Empty, error)
func (UnimplementedAdminServer) PutRoleBinding ¶
func (UnimplementedAdminServer) PutRoleBinding(context.Context, *RoleBinding) (*emptypb.Empty, error)
type UnimplementedAppDaemonServer ¶ added in v0.2.2
type UnimplementedAppDaemonServer struct { }
UnimplementedAppDaemonServer must be embedded to have forward compatible implementations.
func (UnimplementedAppDaemonServer) AnnounceDHT ¶ added in v0.2.4
func (UnimplementedAppDaemonServer) AnnounceDHT(context.Context, *AnnounceDHTRequest) (*AnnounceDHTResponse, error)
func (UnimplementedAppDaemonServer) Connect ¶ added in v0.2.2
func (UnimplementedAppDaemonServer) Connect(context.Context, *ConnectRequest) (*ConnectResponse, error)
func (UnimplementedAppDaemonServer) Disconnect ¶ added in v0.2.2
func (UnimplementedAppDaemonServer) Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error)
func (UnimplementedAppDaemonServer) LeaveDHT ¶ added in v0.2.4
func (UnimplementedAppDaemonServer) LeaveDHT(context.Context, *LeaveDHTRequest) (*LeaveDHTResponse, error)
func (UnimplementedAppDaemonServer) Metrics ¶ added in v0.2.2
func (UnimplementedAppDaemonServer) Metrics(context.Context, *MetricsRequest) (*MetricsResponse, error)
func (UnimplementedAppDaemonServer) Publish ¶ added in v0.2.2
func (UnimplementedAppDaemonServer) Publish(context.Context, *PublishRequest) (*PublishResponse, error)
func (UnimplementedAppDaemonServer) Query ¶ added in v0.2.2
func (UnimplementedAppDaemonServer) Query(*QueryRequest, AppDaemon_QueryServer) error
func (UnimplementedAppDaemonServer) Status ¶ added in v0.2.2
func (UnimplementedAppDaemonServer) Status(context.Context, *StatusRequest) (*StatusResponse, error)
func (UnimplementedAppDaemonServer) Subscribe ¶ added in v0.2.2
func (UnimplementedAppDaemonServer) Subscribe(*SubscribeRequest, AppDaemon_SubscribeServer) error
type UnimplementedAuthPluginServer ¶ added in v0.1.4
type UnimplementedAuthPluginServer struct { }
UnimplementedAuthPluginServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthPluginServer) Authenticate ¶ added in v0.1.4
func (UnimplementedAuthPluginServer) Authenticate(context.Context, *AuthenticationRequest) (*AuthenticationResponse, error)
type UnimplementedIPAMPluginServer ¶ added in v0.1.4
type UnimplementedIPAMPluginServer struct { }
UnimplementedIPAMPluginServer must be embedded to have forward compatible implementations.
func (UnimplementedIPAMPluginServer) Allocate ¶ added in v0.1.4
func (UnimplementedIPAMPluginServer) Allocate(context.Context, *AllocateIPRequest) (*AllocatedIP, error)
func (UnimplementedIPAMPluginServer) Release ¶ added in v0.1.4
func (UnimplementedIPAMPluginServer) Release(context.Context, *ReleaseIPRequest) (*emptypb.Empty, error)
type UnimplementedMembershipServer ¶ added in v0.2.2
type UnimplementedMembershipServer struct { }
UnimplementedMembershipServer must be embedded to have forward compatible implementations.
func (UnimplementedMembershipServer) Apply ¶ added in v0.2.2
func (UnimplementedMembershipServer) Apply(context.Context, *RaftLogEntry) (*RaftApplyResponse, error)
func (UnimplementedMembershipServer) GetStorageConfiguration ¶ added in v0.4.0
func (UnimplementedMembershipServer) GetStorageConfiguration(context.Context, *StorageConfigurationRequest) (*StorageConfigurationResponse, error)
func (UnimplementedMembershipServer) Join ¶ added in v0.2.2
func (UnimplementedMembershipServer) Join(context.Context, *JoinRequest) (*JoinResponse, error)
func (UnimplementedMembershipServer) Leave ¶ added in v0.2.2
func (UnimplementedMembershipServer) Leave(context.Context, *LeaveRequest) (*LeaveResponse, error)
func (UnimplementedMembershipServer) SubscribePeers ¶ added in v0.3.0
func (UnimplementedMembershipServer) SubscribePeers(*SubscribePeersRequest, Membership_SubscribePeersServer) error
func (UnimplementedMembershipServer) Update ¶ added in v0.2.2
func (UnimplementedMembershipServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnimplementedMeshServer ¶
type UnimplementedMeshServer struct { }
UnimplementedMeshServer must be embedded to have forward compatible implementations.
func (UnimplementedMeshServer) GetMeshGraph ¶
func (UnimplementedMeshServer) GetNode ¶
func (UnimplementedMeshServer) GetNode(context.Context, *GetNodeRequest) (*MeshNode, error)
type UnimplementedNodeServer ¶
type UnimplementedNodeServer struct { }
UnimplementedNodeServer must be embedded to have forward compatible implementations.
func (UnimplementedNodeServer) GetStatus ¶
func (UnimplementedNodeServer) GetStatus(context.Context, *GetStatusRequest) (*Status, error)
func (UnimplementedNodeServer) NegotiateDataChannel ¶
func (UnimplementedNodeServer) NegotiateDataChannel(Node_NegotiateDataChannelServer) error
func (UnimplementedNodeServer) ReceiveSignalChannel ¶ added in v0.4.0
func (UnimplementedNodeServer) ReceiveSignalChannel(Node_ReceiveSignalChannelServer) error
type UnimplementedPluginServer ¶
type UnimplementedPluginServer struct { }
UnimplementedPluginServer must be embedded to have forward compatible implementations.
func (UnimplementedPluginServer) Configure ¶
func (UnimplementedPluginServer) Configure(context.Context, *PluginConfiguration) (*emptypb.Empty, error)
func (UnimplementedPluginServer) GetInfo ¶
func (UnimplementedPluginServer) GetInfo(context.Context, *emptypb.Empty) (*PluginInfo, error)
type UnimplementedStorageProviderPluginServer ¶ added in v0.4.0
type UnimplementedStorageProviderPluginServer struct { }
UnimplementedStorageProviderPluginServer must be embedded to have forward compatible implementations.
func (UnimplementedStorageProviderPluginServer) AddObserver ¶ added in v0.4.0
func (UnimplementedStorageProviderPluginServer) AddObserver(context.Context, *StoragePeer) (*AddObserverResponse, error)
func (UnimplementedStorageProviderPluginServer) AddVoter ¶ added in v0.4.0
func (UnimplementedStorageProviderPluginServer) AddVoter(context.Context, *StoragePeer) (*AddVoterResponse, error)
func (UnimplementedStorageProviderPluginServer) Bootstrap ¶ added in v0.4.0
func (UnimplementedStorageProviderPluginServer) Bootstrap(context.Context, *BootstrapRequest) (*BootstrapResponse, error)
func (UnimplementedStorageProviderPluginServer) DeleteValue ¶ added in v0.4.0
func (UnimplementedStorageProviderPluginServer) DeleteValue(context.Context, *DeleteValueRequest) (*DeleteValueResponse, error)
func (UnimplementedStorageProviderPluginServer) DemoteVoter ¶ added in v0.4.0
func (UnimplementedStorageProviderPluginServer) DemoteVoter(context.Context, *StoragePeer) (*DemoteVoterResponse, error)
func (UnimplementedStorageProviderPluginServer) GetLeader ¶ added in v0.4.0
func (UnimplementedStorageProviderPluginServer) GetLeader(context.Context, *GetLeaderRequest) (*StoragePeer, error)
func (UnimplementedStorageProviderPluginServer) GetPeers ¶ added in v0.5.0
func (UnimplementedStorageProviderPluginServer) GetPeers(context.Context, *GetPeersRequest) (*StoragePeers, error)
func (UnimplementedStorageProviderPluginServer) GetStatus ¶ added in v0.4.0
func (UnimplementedStorageProviderPluginServer) GetStatus(context.Context, *StorageStatusRequest) (*StorageStatus, error)
func (UnimplementedStorageProviderPluginServer) GetValue ¶ added in v0.4.0
func (UnimplementedStorageProviderPluginServer) GetValue(context.Context, *GetValueRequest) (*GetValueResponse, error)
func (UnimplementedStorageProviderPluginServer) ListKeys ¶ added in v0.4.0
func (UnimplementedStorageProviderPluginServer) ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error)
func (UnimplementedStorageProviderPluginServer) ListValues ¶ added in v0.4.0
func (UnimplementedStorageProviderPluginServer) ListValues(context.Context, *ListValuesRequest) (*ListValuesResponse, error)
func (UnimplementedStorageProviderPluginServer) PutValue ¶ added in v0.4.0
func (UnimplementedStorageProviderPluginServer) PutValue(context.Context, *PutValueRequest) (*PutValueResponse, error)
func (UnimplementedStorageProviderPluginServer) RemovePeer ¶ added in v0.4.0
func (UnimplementedStorageProviderPluginServer) RemovePeer(context.Context, *StoragePeer) (*RemoveServerResponse, error)
func (UnimplementedStorageProviderPluginServer) SubscribePrefix ¶ added in v0.4.0
func (UnimplementedStorageProviderPluginServer) SubscribePrefix(*SubscribePrefixRequest, StorageProviderPlugin_SubscribePrefixServer) error
type UnimplementedStorageQuerierPluginServer ¶ added in v0.4.0
type UnimplementedStorageQuerierPluginServer struct { }
UnimplementedStorageQuerierPluginServer must be embedded to have forward compatible implementations.
func (UnimplementedStorageQuerierPluginServer) InjectQuerier ¶ added in v0.4.0
func (UnimplementedStorageQuerierPluginServer) InjectQuerier(StorageQuerierPlugin_InjectQuerierServer) error
type UnimplementedStorageQueryServiceServer ¶ added in v0.4.0
type UnimplementedStorageQueryServiceServer struct { }
UnimplementedStorageQueryServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedStorageQueryServiceServer) Publish ¶ added in v0.4.0
func (UnimplementedStorageQueryServiceServer) Publish(context.Context, *PublishRequest) (*PublishResponse, error)
type UnimplementedWatchPluginServer ¶ added in v0.1.4
type UnimplementedWatchPluginServer struct { }
UnimplementedWatchPluginServer must be embedded to have forward compatible implementations.
type UnimplementedWebRTCServer ¶
type UnimplementedWebRTCServer struct { }
UnimplementedWebRTCServer must be embedded to have forward compatible implementations.
func (UnimplementedWebRTCServer) StartDataChannel ¶
func (UnimplementedWebRTCServer) StartDataChannel(WebRTC_StartDataChannelServer) error
func (UnimplementedWebRTCServer) StartSignalChannel ¶ added in v0.4.0
func (UnimplementedWebRTCServer) StartSignalChannel(WebRTC_StartSignalChannelServer) error
type UnsafeAdminServer ¶
type UnsafeAdminServer interface {
// contains filtered or unexported methods
}
UnsafeAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServer will result in compilation errors.
type UnsafeAppDaemonServer ¶ added in v0.2.2
type UnsafeAppDaemonServer interface {
// contains filtered or unexported methods
}
UnsafeAppDaemonServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppDaemonServer will result in compilation errors.
type UnsafeAuthPluginServer ¶ added in v0.1.4
type UnsafeAuthPluginServer interface {
// contains filtered or unexported methods
}
UnsafeAuthPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthPluginServer will result in compilation errors.
type UnsafeIPAMPluginServer ¶ added in v0.1.4
type UnsafeIPAMPluginServer interface {
// contains filtered or unexported methods
}
UnsafeIPAMPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IPAMPluginServer will result in compilation errors.
type UnsafeMembershipServer ¶ added in v0.2.2
type UnsafeMembershipServer interface {
// contains filtered or unexported methods
}
UnsafeMembershipServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MembershipServer will result in compilation errors.
type UnsafeMeshServer ¶
type UnsafeMeshServer interface {
// contains filtered or unexported methods
}
UnsafeMeshServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MeshServer will result in compilation errors.
type UnsafeNodeServer ¶
type UnsafeNodeServer interface {
// contains filtered or unexported methods
}
UnsafeNodeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodeServer will result in compilation errors.
type UnsafePluginServer ¶
type UnsafePluginServer interface {
// contains filtered or unexported methods
}
UnsafePluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginServer will result in compilation errors.
type UnsafeStorageProviderPluginServer ¶ added in v0.4.0
type UnsafeStorageProviderPluginServer interface {
// contains filtered or unexported methods
}
UnsafeStorageProviderPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageProviderPluginServer will result in compilation errors.
type UnsafeStorageQuerierPluginServer ¶ added in v0.4.0
type UnsafeStorageQuerierPluginServer interface {
// contains filtered or unexported methods
}
UnsafeStorageQuerierPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageQuerierPluginServer will result in compilation errors.
type UnsafeStorageQueryServiceServer ¶ added in v0.4.0
type UnsafeStorageQueryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeStorageQueryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageQueryServiceServer will result in compilation errors.
type UnsafeWatchPluginServer ¶ added in v0.1.4
type UnsafeWatchPluginServer interface {
// contains filtered or unexported methods
}
UnsafeWatchPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WatchPluginServer will result in compilation errors.
type UnsafeWebRTCServer ¶
type UnsafeWebRTCServer interface {
// contains filtered or unexported methods
}
UnsafeWebRTCServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WebRTCServer will result in compilation errors.
type UpdateRequest ¶ added in v0.2.2
type UpdateRequest struct { // id is the ID of the node. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // public_key is the public key of the node to broadcast to peers. PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // primary_endpoint is a routable address for the node. If left unset, // the node is assumed to be behind a NAT and not directly accessible. PrimaryEndpoint string `protobuf:"bytes,3,opt,name=primary_endpoint,json=primaryEndpoint,proto3" json:"primary_endpoint,omitempty"` // wireguard_endpoints is a list of WireGuard endpoints for the node. WireguardEndpoints []string `protobuf:"bytes,4,rep,name=wireguard_endpoints,json=wireguardEndpoints,proto3" json:"wireguard_endpoints,omitempty"` // zone_awareness_id is the zone awareness ID of the node. ZoneAwarenessId string `protobuf:"bytes,5,opt,name=zone_awareness_id,json=zoneAwarenessId,proto3" json:"zone_awareness_id,omitempty"` // as_voter is whether the node should receive a vote in elections. The request // will be denied if the node is not allowed to vote. AsVoter bool `protobuf:"varint,6,opt,name=as_voter,json=asVoter,proto3" json:"as_voter,omitempty"` // routes is a list of routes to advertise to peers. The request will be denied // if the node is not allowed to put routes. Routes []string `protobuf:"bytes,7,rep,name=routes,proto3" json:"routes,omitempty"` // features is a list of features supported by the node that should be advertised to peers // and the port they are available on. Features []*FeaturePort `protobuf:"bytes,8,rep,name=features,proto3" json:"features,omitempty"` // multiaddrs are libp2p multiaddresses this node is listening on. Multiaddrs []string `protobuf:"bytes,9,rep,name=multiaddrs,proto3" json:"multiaddrs,omitempty"` // contains filtered or unexported fields }
UpdateRequest contains most of the same fields as JoinRequest, but is used to update the state of a node in the cluster.
func (*UpdateRequest) DeepCopy ¶ added in v0.6.2
func (in *UpdateRequest) DeepCopy() *UpdateRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateRequest. Required by controller-gen.
func (*UpdateRequest) DeepCopyInterface ¶ added in v0.6.2
func (in *UpdateRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UpdateRequest. Required by controller-gen.
func (*UpdateRequest) DeepCopyInto ¶ added in v0.6.2
func (in *UpdateRequest) DeepCopyInto(out *UpdateRequest)
DeepCopyInto supports using UpdateRequest within kubernetes types, where deepcopy-gen is used.
func (*UpdateRequest) Descriptor
deprecated
added in
v0.2.2
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetAsVoter ¶ added in v0.2.2
func (x *UpdateRequest) GetAsVoter() bool
func (*UpdateRequest) GetFeatures ¶ added in v0.2.2
func (x *UpdateRequest) GetFeatures() []*FeaturePort
func (*UpdateRequest) GetId ¶ added in v0.2.2
func (x *UpdateRequest) GetId() string
func (*UpdateRequest) GetMultiaddrs ¶ added in v0.4.0
func (x *UpdateRequest) GetMultiaddrs() []string
func (*UpdateRequest) GetPrimaryEndpoint ¶ added in v0.2.2
func (x *UpdateRequest) GetPrimaryEndpoint() string
func (*UpdateRequest) GetPublicKey ¶ added in v0.2.2
func (x *UpdateRequest) GetPublicKey() string
func (*UpdateRequest) GetRoutes ¶ added in v0.2.2
func (x *UpdateRequest) GetRoutes() []string
func (*UpdateRequest) GetWireguardEndpoints ¶ added in v0.2.2
func (x *UpdateRequest) GetWireguardEndpoints() []string
func (*UpdateRequest) GetZoneAwarenessId ¶ added in v0.2.2
func (x *UpdateRequest) GetZoneAwarenessId() string
func (*UpdateRequest) ProtoMessage ¶ added in v0.2.2
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶ added in v0.2.2
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶ added in v0.2.2
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶ added in v0.2.2
func (x *UpdateRequest) String() string
func (*UpdateRequest) Validate ¶ added in v0.6.2
func (m *UpdateRequest) Validate() error
Validate checks the field values on UpdateRequest 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 (*UpdateRequest) ValidateAll ¶ added in v0.6.2
func (m *UpdateRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRequest 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 UpdateRequestMultiError, or nil if none found.
type UpdateRequestMultiError ¶ added in v0.6.2
type UpdateRequestMultiError []error
UpdateRequestMultiError is an error wrapping multiple validation errors returned by UpdateRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRequestMultiError) AllErrors ¶ added in v0.6.2
func (m UpdateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRequestMultiError) Error ¶ added in v0.6.2
func (m UpdateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRequestValidationError ¶ added in v0.6.2
type UpdateRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateRequestValidationError is the validation error returned by UpdateRequest.Validate if the designated constraints aren't met.
func (UpdateRequestValidationError) Cause ¶ added in v0.6.2
func (e UpdateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRequestValidationError) Error ¶ added in v0.6.2
func (e UpdateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRequestValidationError) ErrorName ¶ added in v0.6.2
func (e UpdateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRequestValidationError) Field ¶ added in v0.6.2
func (e UpdateRequestValidationError) Field() string
Field function returns field value.
func (UpdateRequestValidationError) Key ¶ added in v0.6.2
func (e UpdateRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRequestValidationError) Reason ¶ added in v0.6.2
func (e UpdateRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateResponse ¶ added in v0.2.2
type UpdateResponse struct {
// contains filtered or unexported fields
}
UpdateResponse is a response to an update request. It is currently empty.
func (*UpdateResponse) DeepCopy ¶ added in v0.6.2
func (in *UpdateResponse) DeepCopy() *UpdateResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateResponse. Required by controller-gen.
func (*UpdateResponse) DeepCopyInterface ¶ added in v0.6.2
func (in *UpdateResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UpdateResponse. Required by controller-gen.
func (*UpdateResponse) DeepCopyInto ¶ added in v0.6.2
func (in *UpdateResponse) DeepCopyInto(out *UpdateResponse)
DeepCopyInto supports using UpdateResponse within kubernetes types, where deepcopy-gen is used.
func (*UpdateResponse) Descriptor
deprecated
added in
v0.2.2
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) ProtoMessage ¶ added in v0.2.2
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶ added in v0.2.2
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶ added in v0.2.2
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶ added in v0.2.2
func (x *UpdateResponse) String() string
func (*UpdateResponse) Validate ¶ added in v0.6.2
func (m *UpdateResponse) Validate() error
Validate checks the field values on UpdateResponse 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 (*UpdateResponse) ValidateAll ¶ added in v0.6.2
func (m *UpdateResponse) ValidateAll() error
ValidateAll checks the field values on UpdateResponse 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 UpdateResponseMultiError, or nil if none found.
type UpdateResponseMultiError ¶ added in v0.6.2
type UpdateResponseMultiError []error
UpdateResponseMultiError is an error wrapping multiple validation errors returned by UpdateResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateResponseMultiError) AllErrors ¶ added in v0.6.2
func (m UpdateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateResponseMultiError) Error ¶ added in v0.6.2
func (m UpdateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateResponseValidationError ¶ added in v0.6.2
type UpdateResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateResponseValidationError is the validation error returned by UpdateResponse.Validate if the designated constraints aren't met.
func (UpdateResponseValidationError) Cause ¶ added in v0.6.2
func (e UpdateResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateResponseValidationError) Error ¶ added in v0.6.2
func (e UpdateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateResponseValidationError) ErrorName ¶ added in v0.6.2
func (e UpdateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateResponseValidationError) Field ¶ added in v0.6.2
func (e UpdateResponseValidationError) Field() string
Field function returns field value.
func (UpdateResponseValidationError) Key ¶ added in v0.6.2
func (e UpdateResponseValidationError) Key() bool
Key function returns key value.
func (UpdateResponseValidationError) Reason ¶ added in v0.6.2
func (e UpdateResponseValidationError) Reason() string
Reason function returns reason value.
type WatchPluginClient ¶ added in v0.1.4
type WatchPluginClient interface { // Emit handles a watch event. Emit(ctx context.Context, in *Event, opts ...grpc.CallOption) (*emptypb.Empty, error) }
WatchPluginClient is the client API for WatchPlugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWatchPluginClient ¶ added in v0.1.4
func NewWatchPluginClient(cc grpc.ClientConnInterface) WatchPluginClient
type WatchPluginServer ¶ added in v0.1.4
type WatchPluginServer interface { // Emit handles a watch event. Emit(context.Context, *Event) (*emptypb.Empty, error) // contains filtered or unexported methods }
WatchPluginServer is the server API for WatchPlugin service. All implementations must embed UnimplementedWatchPluginServer for forward compatibility
type WebRTCClient ¶
type WebRTCClient interface { // StartDataChannel requests a new WebRTC connection to a node. // The client speaks first with the request containing the node ID // and where forwarded packets should be sent. The server responds // with an offer and STUN servers to be used to establish a WebRTC connection. // The client should then respond with an answer to the offer that matches the // spec of the DataChannel.CHANNELS enum value. // // After the offer is accepted, the stream can be used to exchange ICE candidates // to speed up the connection process. StartDataChannel(ctx context.Context, opts ...grpc.CallOption) (WebRTC_StartDataChannelClient, error) // StartSignalChannel starts a signaling channel to a remote node. This can be used to // negotiate WebRTC connections both inside and outside of the mesh. Messages on the wire // are proxied to the remote node. StartSignalChannel(ctx context.Context, opts ...grpc.CallOption) (WebRTC_StartSignalChannelClient, error) }
WebRTCClient is the client API for WebRTC service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWebRTCClient ¶
func NewWebRTCClient(cc grpc.ClientConnInterface) WebRTCClient
type WebRTCServer ¶
type WebRTCServer interface { // StartDataChannel requests a new WebRTC connection to a node. // The client speaks first with the request containing the node ID // and where forwarded packets should be sent. The server responds // with an offer and STUN servers to be used to establish a WebRTC connection. // The client should then respond with an answer to the offer that matches the // spec of the DataChannel.CHANNELS enum value. // // After the offer is accepted, the stream can be used to exchange ICE candidates // to speed up the connection process. StartDataChannel(WebRTC_StartDataChannelServer) error // StartSignalChannel starts a signaling channel to a remote node. This can be used to // negotiate WebRTC connections both inside and outside of the mesh. Messages on the wire // are proxied to the remote node. StartSignalChannel(WebRTC_StartSignalChannelServer) error // contains filtered or unexported methods }
WebRTCServer is the server API for WebRTC service. All implementations must embed UnimplementedWebRTCServer for forward compatibility
type WebRTCSignal ¶ added in v0.4.0
type WebRTCSignal struct { // node_id is the ID of the node to send the signal to. // This is set by the original sender. On the node that // receives the ReceiveSignalChannel request, this will // be set to the ID of the node that sent the request. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // candidate is an ICE candidate. Candidate string `protobuf:"bytes,2,opt,name=candidate,proto3" json:"candidate,omitempty"` // description is a session description. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
WebRTCSignal is a signal sent to a remote peer over the WebRTC API.
func (*WebRTCSignal) DeepCopy ¶ added in v0.6.2
func (in *WebRTCSignal) DeepCopy() *WebRTCSignal
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebRTCSignal. Required by controller-gen.
func (*WebRTCSignal) DeepCopyInterface ¶ added in v0.6.2
func (in *WebRTCSignal) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new WebRTCSignal. Required by controller-gen.
func (*WebRTCSignal) DeepCopyInto ¶ added in v0.6.2
func (in *WebRTCSignal) DeepCopyInto(out *WebRTCSignal)
DeepCopyInto supports using WebRTCSignal within kubernetes types, where deepcopy-gen is used.
func (*WebRTCSignal) Descriptor
deprecated
added in
v0.4.0
func (*WebRTCSignal) Descriptor() ([]byte, []int)
Deprecated: Use WebRTCSignal.ProtoReflect.Descriptor instead.
func (*WebRTCSignal) GetCandidate ¶ added in v0.4.0
func (x *WebRTCSignal) GetCandidate() string
func (*WebRTCSignal) GetDescription ¶ added in v0.4.0
func (x *WebRTCSignal) GetDescription() string
func (*WebRTCSignal) GetNodeId ¶ added in v0.4.0
func (x *WebRTCSignal) GetNodeId() string
func (*WebRTCSignal) ProtoMessage ¶ added in v0.4.0
func (*WebRTCSignal) ProtoMessage()
func (*WebRTCSignal) ProtoReflect ¶ added in v0.4.0
func (x *WebRTCSignal) ProtoReflect() protoreflect.Message
func (*WebRTCSignal) Reset ¶ added in v0.4.0
func (x *WebRTCSignal) Reset()
func (*WebRTCSignal) String ¶ added in v0.4.0
func (x *WebRTCSignal) String() string
func (*WebRTCSignal) Validate ¶ added in v0.6.2
func (m *WebRTCSignal) Validate() error
Validate checks the field values on WebRTCSignal 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 (*WebRTCSignal) ValidateAll ¶ added in v0.6.2
func (m *WebRTCSignal) ValidateAll() error
ValidateAll checks the field values on WebRTCSignal 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 WebRTCSignalMultiError, or nil if none found.
type WebRTCSignalMultiError ¶ added in v0.6.2
type WebRTCSignalMultiError []error
WebRTCSignalMultiError is an error wrapping multiple validation errors returned by WebRTCSignal.ValidateAll() if the designated constraints aren't met.
func (WebRTCSignalMultiError) AllErrors ¶ added in v0.6.2
func (m WebRTCSignalMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WebRTCSignalMultiError) Error ¶ added in v0.6.2
func (m WebRTCSignalMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WebRTCSignalValidationError ¶ added in v0.6.2
type WebRTCSignalValidationError struct {
// contains filtered or unexported fields
}
WebRTCSignalValidationError is the validation error returned by WebRTCSignal.Validate if the designated constraints aren't met.
func (WebRTCSignalValidationError) Cause ¶ added in v0.6.2
func (e WebRTCSignalValidationError) Cause() error
Cause function returns cause value.
func (WebRTCSignalValidationError) Error ¶ added in v0.6.2
func (e WebRTCSignalValidationError) Error() string
Error satisfies the builtin error interface
func (WebRTCSignalValidationError) ErrorName ¶ added in v0.6.2
func (e WebRTCSignalValidationError) ErrorName() string
ErrorName returns error name.
func (WebRTCSignalValidationError) Field ¶ added in v0.6.2
func (e WebRTCSignalValidationError) Field() string
Field function returns field value.
func (WebRTCSignalValidationError) Key ¶ added in v0.6.2
func (e WebRTCSignalValidationError) Key() bool
Key function returns key value.
func (WebRTCSignalValidationError) Reason ¶ added in v0.6.2
func (e WebRTCSignalValidationError) Reason() string
Reason function returns reason value.
type WebRTC_StartDataChannelClient ¶
type WebRTC_StartDataChannelClient interface { Send(*StartDataChannelRequest) error Recv() (*DataChannelOffer, error) grpc.ClientStream }
type WebRTC_StartDataChannelServer ¶
type WebRTC_StartDataChannelServer interface { Send(*DataChannelOffer) error Recv() (*StartDataChannelRequest, error) grpc.ServerStream }
type WebRTC_StartSignalChannelClient ¶ added in v0.4.0
type WebRTC_StartSignalChannelClient interface { Send(*WebRTCSignal) error Recv() (*WebRTCSignal, error) grpc.ClientStream }
type WebRTC_StartSignalChannelServer ¶ added in v0.4.0
type WebRTC_StartSignalChannelServer interface { Send(*WebRTCSignal) error Recv() (*WebRTCSignal, error) grpc.ServerStream }
type WireGuardPeer ¶
type WireGuardPeer struct { // Node is information about this node. Node *MeshNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // allowed_ips is the list of allowed IPs for the peer. AllowedIps []string `protobuf:"bytes,2,rep,name=allowed_ips,json=allowedIps,proto3" json:"allowed_ips,omitempty"` // allowed_routes is the list of allowed routes for the peer. AllowedRoutes []string `protobuf:"bytes,3,rep,name=allowed_routes,json=allowedRoutes,proto3" json:"allowed_routes,omitempty"` // proto indicates the protocol to use to connect to the peer. Proto ConnectProtocol `protobuf:"varint,4,opt,name=proto,proto3,enum=v1.ConnectProtocol" json:"proto,omitempty"` // contains filtered or unexported fields }
WireGuardPeer is a peer in the Wireguard network.
func (*WireGuardPeer) DeepCopy ¶ added in v0.6.2
func (in *WireGuardPeer) DeepCopy() *WireGuardPeer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireGuardPeer. Required by controller-gen.
func (*WireGuardPeer) DeepCopyInterface ¶ added in v0.6.2
func (in *WireGuardPeer) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new WireGuardPeer. Required by controller-gen.
func (*WireGuardPeer) DeepCopyInto ¶ added in v0.6.2
func (in *WireGuardPeer) DeepCopyInto(out *WireGuardPeer)
DeepCopyInto supports using WireGuardPeer within kubernetes types, where deepcopy-gen is used.
func (*WireGuardPeer) Descriptor
deprecated
func (*WireGuardPeer) Descriptor() ([]byte, []int)
Deprecated: Use WireGuardPeer.ProtoReflect.Descriptor instead.
func (*WireGuardPeer) GetAllowedIps ¶
func (x *WireGuardPeer) GetAllowedIps() []string
func (*WireGuardPeer) GetAllowedRoutes ¶
func (x *WireGuardPeer) GetAllowedRoutes() []string
func (*WireGuardPeer) GetNode ¶ added in v0.4.0
func (x *WireGuardPeer) GetNode() *MeshNode
func (*WireGuardPeer) GetProto ¶ added in v0.4.0
func (x *WireGuardPeer) GetProto() ConnectProtocol
func (*WireGuardPeer) ProtoMessage ¶
func (*WireGuardPeer) ProtoMessage()
func (*WireGuardPeer) ProtoReflect ¶
func (x *WireGuardPeer) ProtoReflect() protoreflect.Message
func (*WireGuardPeer) Reset ¶
func (x *WireGuardPeer) Reset()
func (*WireGuardPeer) String ¶
func (x *WireGuardPeer) String() string
func (*WireGuardPeer) Validate ¶ added in v0.6.2
func (m *WireGuardPeer) Validate() error
Validate checks the field values on WireGuardPeer 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 (*WireGuardPeer) ValidateAll ¶ added in v0.6.2
func (m *WireGuardPeer) ValidateAll() error
ValidateAll checks the field values on WireGuardPeer 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 WireGuardPeerMultiError, or nil if none found.
type WireGuardPeerMultiError ¶ added in v0.6.2
type WireGuardPeerMultiError []error
WireGuardPeerMultiError is an error wrapping multiple validation errors returned by WireGuardPeer.ValidateAll() if the designated constraints aren't met.
func (WireGuardPeerMultiError) AllErrors ¶ added in v0.6.2
func (m WireGuardPeerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WireGuardPeerMultiError) Error ¶ added in v0.6.2
func (m WireGuardPeerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WireGuardPeerValidationError ¶ added in v0.6.2
type WireGuardPeerValidationError struct {
// contains filtered or unexported fields
}
WireGuardPeerValidationError is the validation error returned by WireGuardPeer.Validate if the designated constraints aren't met.
func (WireGuardPeerValidationError) Cause ¶ added in v0.6.2
func (e WireGuardPeerValidationError) Cause() error
Cause function returns cause value.
func (WireGuardPeerValidationError) Error ¶ added in v0.6.2
func (e WireGuardPeerValidationError) Error() string
Error satisfies the builtin error interface
func (WireGuardPeerValidationError) ErrorName ¶ added in v0.6.2
func (e WireGuardPeerValidationError) ErrorName() string
ErrorName returns error name.
func (WireGuardPeerValidationError) Field ¶ added in v0.6.2
func (e WireGuardPeerValidationError) Field() string
Field function returns field value.
func (WireGuardPeerValidationError) Key ¶ added in v0.6.2
func (e WireGuardPeerValidationError) Key() bool
Key function returns key value.
func (WireGuardPeerValidationError) Reason ¶ added in v0.6.2
func (e WireGuardPeerValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
- admin.pb.go
- admin.pb.validate.go
- admin_grpc.pb.go
- app.pb.go
- app.pb.validate.go
- app_deepcopy.pb.go
- app_grpc.pb.go
- members.pb.go
- members.pb.validate.go
- members_deepcopy.pb.go
- members_grpc.pb.go
- mesh.pb.go
- mesh.pb.validate.go
- mesh_deepcopy.pb.go
- mesh_grpc.pb.go
- network_acls.pb.go
- network_acls.pb.validate.go
- network_acls_deepcopy.pb.go
- node.pb.go
- node.pb.validate.go
- node_deepcopy.pb.go
- node_grpc.pb.go
- plugin.pb.go
- plugin.pb.validate.go
- plugin_deepcopy.pb.go
- plugin_grpc.pb.go
- raft.pb.go
- raft.pb.validate.go
- raft_deepcopy.pb.go
- rbac.pb.go
- rbac.pb.validate.go
- rbac_deepcopy.pb.go
- storage_provider.pb.go
- storage_provider.pb.validate.go
- storage_provider_deepcopy.pb.go
- storage_provider_grpc.pb.go
- storage_query.pb.go
- storage_query.pb.validate.go
- storage_query_deepcopy.pb.go
- storage_query_grpc.pb.go
- webrtc.pb.go
- webrtc.pb.validate.go
- webrtc_deepcopy.pb.go
- webrtc_grpc.pb.go