Documentation ¶
Index ¶
- Variables
- func DeregisterConfigEnhancedServer(s grpc.ServiceRegistrar, name string)
- func RegisterConfigEnhancedServer(s grpc.ServiceRegistrar, srv NamedConfigServer)
- func RegisterConfigServer(s grpc.ServiceRegistrar, srv ConfigServer)
- type ConfigClient
- type ConfigEnhancedServer
- func (m ConfigEnhancedServer) Delete(ctx context.Context, r *DeleteRequest) (*DeleteResponse, error)
- func (m ConfigEnhancedServer) Get(ctx context.Context, r *GetRequest) (*GetResponse, error)
- func (m ConfigEnhancedServer) NewLocker(s Config_NewLockerServer) error
- func (m ConfigEnhancedServer) Save(ctx context.Context, r *SaveRequest) (*SaveResponse, error)
- func (m ConfigEnhancedServer) Set(ctx context.Context, r *SetRequest) (*SetResponse, error)
- func (m ConfigEnhancedServer) Watch(r *WatchRequest, s Config_WatchServer) error
- type ConfigServer
- type ConfigStub
- type ConfigStub_NewLockerStreamer
- type ConfigStub_WatchStreamer
- type Config_NewLockerClient
- type Config_NewLockerServer
- type Config_WatchClient
- type Config_WatchServer
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetNamespace() string
- func (x *DeleteRequest) GetPath() string
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- func (this *DeleteRequest) Validate() error
- type DeleteResponse
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequest) GetNamespace() string
- func (x *GetRequest) GetOptions() *Options
- func (x *GetRequest) GetPath() string
- func (*GetRequest) ProtoMessage()
- func (x *GetRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequest) Reset()
- func (x *GetRequest) String() string
- func (this *GetRequest) Validate() error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponse) GetValue() *Value
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- func (this *GetResponse) Validate() error
- type LockType
- type NamedConfigServer
- type NewLockerRequest
- func (*NewLockerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewLockerRequest) GetPrefix() string
- func (x *NewLockerRequest) GetType() LockType
- func (*NewLockerRequest) ProtoMessage()
- func (x *NewLockerRequest) ProtoReflect() protoreflect.Message
- func (x *NewLockerRequest) Reset()
- func (x *NewLockerRequest) String() string
- func (this *NewLockerRequest) Validate() error
- type NewLockerResponse
- type Options
- type SaveRequest
- func (*SaveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveRequest) GetMessage() string
- func (x *SaveRequest) GetUser() string
- func (*SaveRequest) ProtoMessage()
- func (x *SaveRequest) ProtoReflect() protoreflect.Message
- func (x *SaveRequest) Reset()
- func (x *SaveRequest) String() string
- func (this *SaveRequest) Validate() error
- type SaveResponse
- type SetRequest
- func (*SetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetRequest) GetNamespace() string
- func (x *SetRequest) GetOptions() *Options
- func (x *SetRequest) GetPath() string
- func (x *SetRequest) GetValue() *Value
- func (*SetRequest) ProtoMessage()
- func (x *SetRequest) ProtoReflect() protoreflect.Message
- func (x *SetRequest) Reset()
- func (x *SetRequest) String() string
- func (this *SetRequest) Validate() error
- type SetResponse
- type UnimplementedConfigServer
- func (UnimplementedConfigServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedConfigServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (UnimplementedConfigServer) NewLocker(Config_NewLockerServer) error
- func (UnimplementedConfigServer) Save(context.Context, *SaveRequest) (*SaveResponse, error)
- func (UnimplementedConfigServer) Set(context.Context, *SetRequest) (*SetResponse, error)
- func (UnimplementedConfigServer) Watch(*WatchRequest, Config_WatchServer) error
- type UnsafeConfigServer
- type Value
- type WatchRequest
- func (*WatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WatchRequest) GetNamespace() string
- func (x *WatchRequest) GetOptions() *Options
- func (x *WatchRequest) GetPath() string
- func (*WatchRequest) ProtoMessage()
- func (x *WatchRequest) ProtoReflect() protoreflect.Message
- func (x *WatchRequest) Reset()
- func (x *WatchRequest) String() string
- func (this *WatchRequest) Validate() error
- type WatchResponse
- func (*WatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WatchResponse) GetValue() *Value
- func (*WatchResponse) ProtoMessage()
- func (x *WatchResponse) ProtoReflect() protoreflect.Message
- func (x *WatchResponse) Reset()
- func (x *WatchResponse) String() string
- func (this *WatchResponse) Validate() error
Constants ¶
This section is empty.
Variables ¶
var ( LockType_name = map[int32]string{ 0: "Lock", 1: "Unlock", } LockType_value = map[string]int32{ "Lock": 0, "Unlock": 1, } )
Enum value maps for LockType.
var Config_ServiceDesc = grpc.ServiceDesc{ ServiceName: "config.Config", HandlerType: (*ConfigServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _Config_Get_Handler, }, { MethodName: "Set", Handler: _Config_Set_Handler, }, { MethodName: "Delete", Handler: _Config_Delete_Handler, }, { MethodName: "Save", Handler: _Config_Save_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Watch", Handler: _Config_Watch_Handler, ServerStreams: true, }, { StreamName: "NewLocker", Handler: _Config_NewLocker_Handler, ClientStreams: true, }, }, Metadata: "cells-config.proto", }
Config_ServiceDesc is the grpc.ServiceDesc for Config service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_cells_config_proto protoreflect.FileDescriptor
Functions ¶
func DeregisterConfigEnhancedServer ¶
func DeregisterConfigEnhancedServer(s grpc.ServiceRegistrar, name string)
func RegisterConfigEnhancedServer ¶
func RegisterConfigEnhancedServer(s grpc.ServiceRegistrar, srv NamedConfigServer)
func RegisterConfigServer ¶
func RegisterConfigServer(s grpc.ServiceRegistrar, srv ConfigServer)
Types ¶
type ConfigClient ¶
type ConfigClient interface { Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (Config_WatchClient, error) Save(ctx context.Context, in *SaveRequest, opts ...grpc.CallOption) (*SaveResponse, error) NewLocker(ctx context.Context, opts ...grpc.CallOption) (Config_NewLockerClient, error) }
ConfigClient is the client API for Config 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 NewConfigClient ¶
func NewConfigClient(cc grpc.ClientConnInterface) ConfigClient
type ConfigEnhancedServer ¶
type ConfigEnhancedServer map[string]NamedConfigServer
func (ConfigEnhancedServer) Delete ¶
func (m ConfigEnhancedServer) Delete(ctx context.Context, r *DeleteRequest) (*DeleteResponse, error)
func (ConfigEnhancedServer) Get ¶
func (m ConfigEnhancedServer) Get(ctx context.Context, r *GetRequest) (*GetResponse, error)
func (ConfigEnhancedServer) NewLocker ¶ added in v4.0.4
func (m ConfigEnhancedServer) NewLocker(s Config_NewLockerServer) error
func (ConfigEnhancedServer) Save ¶ added in v4.0.1
func (m ConfigEnhancedServer) Save(ctx context.Context, r *SaveRequest) (*SaveResponse, error)
func (ConfigEnhancedServer) Set ¶
func (m ConfigEnhancedServer) Set(ctx context.Context, r *SetRequest) (*SetResponse, error)
func (ConfigEnhancedServer) Watch ¶
func (m ConfigEnhancedServer) Watch(r *WatchRequest, s Config_WatchServer) error
type ConfigServer ¶
type ConfigServer interface { Get(context.Context, *GetRequest) (*GetResponse, error) Set(context.Context, *SetRequest) (*SetResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) Watch(*WatchRequest, Config_WatchServer) error Save(context.Context, *SaveRequest) (*SaveResponse, error) NewLocker(Config_NewLockerServer) error // contains filtered or unexported methods }
ConfigServer is the server API for Config service. All implementations must embed UnimplementedConfigServer for forward compatibility
type ConfigStub ¶ added in v4.0.1
type ConfigStub struct {
ConfigServer
}
func (*ConfigStub) Invoke ¶ added in v4.0.1
func (s *ConfigStub) Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...grpc.CallOption) error
func (*ConfigStub) NewStream ¶ added in v4.0.1
func (s *ConfigStub) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error)
type ConfigStub_NewLockerStreamer ¶ added in v4.0.4
type ConfigStub_NewLockerStreamer struct {
stubs.BidirServerStreamerCore
}
func (*ConfigStub_NewLockerStreamer) Recv ¶ added in v4.0.4
func (s *ConfigStub_NewLockerStreamer) Recv() (*NewLockerRequest, error)
func (*ConfigStub_NewLockerStreamer) Send ¶ added in v4.0.4
func (s *ConfigStub_NewLockerStreamer) Send(response *NewLockerResponse) error
func (*ConfigStub_NewLockerStreamer) SendAndClose ¶ added in v4.0.4
func (s *ConfigStub_NewLockerStreamer) SendAndClose(*NewLockerResponse) error
type ConfigStub_WatchStreamer ¶ added in v4.0.1
type ConfigStub_WatchStreamer struct {
stubs.ClientServerStreamerCore
}
func (*ConfigStub_WatchStreamer) Send ¶ added in v4.0.1
func (s *ConfigStub_WatchStreamer) Send(response *WatchResponse) error
type Config_NewLockerClient ¶ added in v4.0.4
type Config_NewLockerClient interface { Send(*NewLockerRequest) error CloseAndRecv() (*NewLockerResponse, error) grpc.ClientStream }
type Config_NewLockerServer ¶ added in v4.0.4
type Config_NewLockerServer interface { SendAndClose(*NewLockerResponse) error Recv() (*NewLockerRequest, error) grpc.ServerStream }
type Config_WatchClient ¶
type Config_WatchClient interface { Recv() (*WatchResponse, error) grpc.ClientStream }
type Config_WatchServer ¶
type Config_WatchServer interface { Send(*WatchResponse) error grpc.ServerStream }
type DeleteRequest ¶
type DeleteRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetNamespace ¶
func (x *DeleteRequest) GetNamespace() string
func (*DeleteRequest) GetPath ¶
func (x *DeleteRequest) GetPath() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
func (*DeleteRequest) Validate ¶
func (this *DeleteRequest) Validate() error
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
func (*DeleteResponse) Validate ¶
func (this *DeleteResponse) Validate() error
type GetRequest ¶
type GetRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Options *Options `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetNamespace ¶
func (x *GetRequest) GetNamespace() string
func (*GetRequest) GetOptions ¶
func (x *GetRequest) GetOptions() *Options
func (*GetRequest) GetPath ¶
func (x *GetRequest) GetPath() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
func (*GetRequest) Validate ¶
func (this *GetRequest) Validate() error
type GetResponse ¶
type GetResponse struct { Value *Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetValue ¶
func (x *GetResponse) GetValue() *Value
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
func (*GetResponse) Validate ¶
func (this *GetResponse) Validate() error
type LockType ¶ added in v4.0.4
type LockType int32
func (LockType) Descriptor ¶ added in v4.0.4
func (LockType) Descriptor() protoreflect.EnumDescriptor
func (LockType) EnumDescriptor
deprecated
added in
v4.0.4
func (LockType) Number ¶ added in v4.0.4
func (x LockType) Number() protoreflect.EnumNumber
func (LockType) Type ¶ added in v4.0.4
func (LockType) Type() protoreflect.EnumType
type NamedConfigServer ¶
type NamedConfigServer interface { ConfigServer Name() string }
type NewLockerRequest ¶ added in v4.0.4
type NewLockerRequest struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Type LockType `protobuf:"varint,2,opt,name=type,proto3,enum=config.LockType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*NewLockerRequest) Descriptor
deprecated
added in
v4.0.4
func (*NewLockerRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewLockerRequest.ProtoReflect.Descriptor instead.
func (*NewLockerRequest) GetPrefix ¶ added in v4.0.4
func (x *NewLockerRequest) GetPrefix() string
func (*NewLockerRequest) GetType ¶ added in v4.0.4
func (x *NewLockerRequest) GetType() LockType
func (*NewLockerRequest) ProtoMessage ¶ added in v4.0.4
func (*NewLockerRequest) ProtoMessage()
func (*NewLockerRequest) ProtoReflect ¶ added in v4.0.4
func (x *NewLockerRequest) ProtoReflect() protoreflect.Message
func (*NewLockerRequest) Reset ¶ added in v4.0.4
func (x *NewLockerRequest) Reset()
func (*NewLockerRequest) String ¶ added in v4.0.4
func (x *NewLockerRequest) String() string
func (*NewLockerRequest) Validate ¶ added in v4.0.4
func (this *NewLockerRequest) Validate() error
type NewLockerResponse ¶ added in v4.0.4
type NewLockerResponse struct {
// contains filtered or unexported fields
}
func (*NewLockerResponse) Descriptor
deprecated
added in
v4.0.4
func (*NewLockerResponse) Descriptor() ([]byte, []int)
Deprecated: Use NewLockerResponse.ProtoReflect.Descriptor instead.
func (*NewLockerResponse) ProtoMessage ¶ added in v4.0.4
func (*NewLockerResponse) ProtoMessage()
func (*NewLockerResponse) ProtoReflect ¶ added in v4.0.4
func (x *NewLockerResponse) ProtoReflect() protoreflect.Message
func (*NewLockerResponse) Reset ¶ added in v4.0.4
func (x *NewLockerResponse) Reset()
func (*NewLockerResponse) String ¶ added in v4.0.4
func (x *NewLockerResponse) String() string
func (*NewLockerResponse) Validate ¶ added in v4.0.4
func (this *NewLockerResponse) Validate() error
type Options ¶
type Options struct { // Is it an encrypted value? Secret bool `protobuf:"varint,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*Options) Descriptor
deprecated
func (*Options) ProtoMessage ¶
func (*Options) ProtoMessage()
func (*Options) ProtoReflect ¶
func (x *Options) ProtoReflect() protoreflect.Message
type SaveRequest ¶ added in v4.0.1
type SaveRequest struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*SaveRequest) Descriptor
deprecated
added in
v4.0.1
func (*SaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveRequest.ProtoReflect.Descriptor instead.
func (*SaveRequest) GetMessage ¶ added in v4.0.1
func (x *SaveRequest) GetMessage() string
func (*SaveRequest) GetUser ¶ added in v4.0.1
func (x *SaveRequest) GetUser() string
func (*SaveRequest) ProtoMessage ¶ added in v4.0.1
func (*SaveRequest) ProtoMessage()
func (*SaveRequest) ProtoReflect ¶ added in v4.0.1
func (x *SaveRequest) ProtoReflect() protoreflect.Message
func (*SaveRequest) Reset ¶ added in v4.0.1
func (x *SaveRequest) Reset()
func (*SaveRequest) String ¶ added in v4.0.1
func (x *SaveRequest) String() string
func (*SaveRequest) Validate ¶ added in v4.0.1
func (this *SaveRequest) Validate() error
type SaveResponse ¶ added in v4.0.1
type SaveResponse struct {
// contains filtered or unexported fields
}
func (*SaveResponse) Descriptor
deprecated
added in
v4.0.1
func (*SaveResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveResponse.ProtoReflect.Descriptor instead.
func (*SaveResponse) ProtoMessage ¶ added in v4.0.1
func (*SaveResponse) ProtoMessage()
func (*SaveResponse) ProtoReflect ¶ added in v4.0.1
func (x *SaveResponse) ProtoReflect() protoreflect.Message
func (*SaveResponse) Reset ¶ added in v4.0.1
func (x *SaveResponse) Reset()
func (*SaveResponse) String ¶ added in v4.0.1
func (x *SaveResponse) String() string
func (*SaveResponse) Validate ¶ added in v4.0.1
func (this *SaveResponse) Validate() error
type SetRequest ¶
type SetRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Value *Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Options *Options `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*SetRequest) Descriptor
deprecated
func (*SetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetRequest.ProtoReflect.Descriptor instead.
func (*SetRequest) GetNamespace ¶
func (x *SetRequest) GetNamespace() string
func (*SetRequest) GetOptions ¶
func (x *SetRequest) GetOptions() *Options
func (*SetRequest) GetPath ¶
func (x *SetRequest) GetPath() string
func (*SetRequest) GetValue ¶
func (x *SetRequest) GetValue() *Value
func (*SetRequest) ProtoMessage ¶
func (*SetRequest) ProtoMessage()
func (*SetRequest) ProtoReflect ¶
func (x *SetRequest) ProtoReflect() protoreflect.Message
func (*SetRequest) Reset ¶
func (x *SetRequest) Reset()
func (*SetRequest) String ¶
func (x *SetRequest) String() string
func (*SetRequest) Validate ¶
func (this *SetRequest) Validate() error
type SetResponse ¶
type SetResponse struct {
// contains filtered or unexported fields
}
func (*SetResponse) Descriptor
deprecated
func (*SetResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetResponse.ProtoReflect.Descriptor instead.
func (*SetResponse) ProtoMessage ¶
func (*SetResponse) ProtoMessage()
func (*SetResponse) ProtoReflect ¶
func (x *SetResponse) ProtoReflect() protoreflect.Message
func (*SetResponse) Reset ¶
func (x *SetResponse) Reset()
func (*SetResponse) String ¶
func (x *SetResponse) String() string
func (*SetResponse) Validate ¶
func (this *SetResponse) Validate() error
type UnimplementedConfigServer ¶
type UnimplementedConfigServer struct { }
UnimplementedConfigServer must be embedded to have forward compatible implementations.
func (UnimplementedConfigServer) Delete ¶
func (UnimplementedConfigServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedConfigServer) Get ¶
func (UnimplementedConfigServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedConfigServer) NewLocker ¶ added in v4.0.4
func (UnimplementedConfigServer) NewLocker(Config_NewLockerServer) error
func (UnimplementedConfigServer) Save ¶ added in v4.0.1
func (UnimplementedConfigServer) Save(context.Context, *SaveRequest) (*SaveResponse, error)
func (UnimplementedConfigServer) Set ¶
func (UnimplementedConfigServer) Set(context.Context, *SetRequest) (*SetResponse, error)
func (UnimplementedConfigServer) Watch ¶
func (UnimplementedConfigServer) Watch(*WatchRequest, Config_WatchServer) error
type UnsafeConfigServer ¶
type UnsafeConfigServer interface {
// contains filtered or unexported methods
}
UnsafeConfigServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConfigServer will result in compilation errors.
type Value ¶
type Value struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` // contains filtered or unexported fields }
func (*Value) Descriptor
deprecated
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type WatchRequest ¶
type WatchRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Options *Options `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*WatchRequest) Descriptor
deprecated
func (*WatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.
func (*WatchRequest) GetNamespace ¶
func (x *WatchRequest) GetNamespace() string
func (*WatchRequest) GetOptions ¶
func (x *WatchRequest) GetOptions() *Options
func (*WatchRequest) GetPath ¶
func (x *WatchRequest) GetPath() string
func (*WatchRequest) ProtoMessage ¶
func (*WatchRequest) ProtoMessage()
func (*WatchRequest) ProtoReflect ¶
func (x *WatchRequest) ProtoReflect() protoreflect.Message
func (*WatchRequest) Reset ¶
func (x *WatchRequest) Reset()
func (*WatchRequest) String ¶
func (x *WatchRequest) String() string
func (*WatchRequest) Validate ¶
func (this *WatchRequest) Validate() error
type WatchResponse ¶
type WatchResponse struct { Value *Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*WatchResponse) Descriptor
deprecated
func (*WatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.
func (*WatchResponse) GetValue ¶
func (x *WatchResponse) GetValue() *Value
func (*WatchResponse) ProtoMessage ¶
func (*WatchResponse) ProtoMessage()
func (*WatchResponse) ProtoReflect ¶
func (x *WatchResponse) ProtoReflect() protoreflect.Message
func (*WatchResponse) Reset ¶
func (x *WatchResponse) Reset()
func (*WatchResponse) String ¶
func (x *WatchResponse) String() string
func (*WatchResponse) Validate ¶
func (this *WatchResponse) Validate() error