Documentation ¶
Index ¶
- Variables
- func RegisterProtoconfServiceServer(s *grpc.Server, srv ProtoconfServiceServer)
- type ConfigSubscriptionRequest
- func (*ConfigSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigSubscriptionRequest) GetPath() string
- func (*ConfigSubscriptionRequest) ProtoMessage()
- func (x *ConfigSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigSubscriptionRequest) Reset()
- func (x *ConfigSubscriptionRequest) String() string
- type ConfigUpdate
- type ProtoconfServiceClient
- type ProtoconfServiceServer
- type ProtoconfService_SubscribeForConfigClient
- type ProtoconfService_SubscribeForConfigServer
- type UnimplementedProtoconfServiceServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_agent_api_proto_v1_protoconf_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterProtoconfServiceServer ¶
func RegisterProtoconfServiceServer(s *grpc.Server, srv ProtoconfServiceServer)
Types ¶
type ConfigSubscriptionRequest ¶
type ConfigSubscriptionRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*ConfigSubscriptionRequest) Descriptor
deprecated
func (*ConfigSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*ConfigSubscriptionRequest) GetPath ¶
func (x *ConfigSubscriptionRequest) GetPath() string
func (*ConfigSubscriptionRequest) ProtoMessage ¶
func (*ConfigSubscriptionRequest) ProtoMessage()
func (*ConfigSubscriptionRequest) ProtoReflect ¶
func (x *ConfigSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*ConfigSubscriptionRequest) Reset ¶
func (x *ConfigSubscriptionRequest) Reset()
func (*ConfigSubscriptionRequest) String ¶
func (x *ConfigSubscriptionRequest) String() string
type ConfigUpdate ¶
type ConfigUpdate struct { Value *any.Any `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ConfigUpdate) Descriptor
deprecated
func (*ConfigUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ConfigUpdate.ProtoReflect.Descriptor instead.
func (*ConfigUpdate) GetValue ¶
func (x *ConfigUpdate) GetValue() *any.Any
func (*ConfigUpdate) ProtoMessage ¶
func (*ConfigUpdate) ProtoMessage()
func (*ConfigUpdate) ProtoReflect ¶
func (x *ConfigUpdate) ProtoReflect() protoreflect.Message
func (*ConfigUpdate) Reset ¶
func (x *ConfigUpdate) Reset()
func (*ConfigUpdate) String ¶
func (x *ConfigUpdate) String() string
type ProtoconfServiceClient ¶
type ProtoconfServiceClient interface {
SubscribeForConfig(ctx context.Context, in *ConfigSubscriptionRequest, opts ...grpc.CallOption) (ProtoconfService_SubscribeForConfigClient, error)
}
ProtoconfServiceClient is the client API for ProtoconfService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProtoconfServiceClient ¶
func NewProtoconfServiceClient(cc grpc.ClientConnInterface) ProtoconfServiceClient
type ProtoconfServiceServer ¶
type ProtoconfServiceServer interface {
SubscribeForConfig(*ConfigSubscriptionRequest, ProtoconfService_SubscribeForConfigServer) error
}
ProtoconfServiceServer is the server API for ProtoconfService service.
type ProtoconfService_SubscribeForConfigClient ¶
type ProtoconfService_SubscribeForConfigClient interface { Recv() (*ConfigUpdate, error) grpc.ClientStream }
type ProtoconfService_SubscribeForConfigServer ¶
type ProtoconfService_SubscribeForConfigServer interface { Send(*ConfigUpdate) error grpc.ServerStream }
type UnimplementedProtoconfServiceServer ¶
type UnimplementedProtoconfServiceServer struct { }
UnimplementedProtoconfServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProtoconfServiceServer) SubscribeForConfig ¶
func (*UnimplementedProtoconfServiceServer) SubscribeForConfig(*ConfigSubscriptionRequest, ProtoconfService_SubscribeForConfigServer) error
Click to show internal directories.
Click to hide internal directories.