v1

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 10 Imported by: 2

Documentation

Index

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL