Documentation ¶
Index ¶
- Variables
- func RegisterTagdServiceServer(s *grpc.Server, srv TagdServiceServer)
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequest) GetId() *wrapperspb.StringValue
- func (x *GetRequest) GetNamespace() *wrapperspb.StringValue
- func (*GetRequest) ProtoMessage()
- func (x *GetRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequest) Reset()
- func (x *GetRequest) String() string
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponse) GetId() string
- func (x *GetResponse) GetNamespace() string
- func (x *GetResponse) GetTags() []string
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequest) GetNamespace() *wrapperspb.StringValue
- func (x *QueryRequest) GetTags() []*wrapperspb.StringValue
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (x *QueryRequest) String() string
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponse) GetIds() []string
- func (x *QueryResponse) GetTags() []string
- func (*QueryResponse) ProtoMessage()
- func (x *QueryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponse) Reset()
- func (x *QueryResponse) String() string
- type RemoveRequest
- func (*RemoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRequest) GetId() *wrapperspb.StringValue
- func (x *RemoveRequest) GetNamespace() *wrapperspb.StringValue
- func (*RemoveRequest) ProtoMessage()
- func (x *RemoveRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRequest) Reset()
- func (x *RemoveRequest) String() string
- type TagRequest
- func (*TagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TagRequest) GetId() *wrapperspb.StringValue
- func (x *TagRequest) GetNamespace() *wrapperspb.StringValue
- func (x *TagRequest) GetTags() []*wrapperspb.StringValue
- func (*TagRequest) ProtoMessage()
- func (x *TagRequest) ProtoReflect() protoreflect.Message
- func (x *TagRequest) Reset()
- func (x *TagRequest) String() string
- type TagdServiceClient
- type TagdServiceServer
- type UnimplementedTagdServiceServer
- func (*UnimplementedTagdServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (*UnimplementedTagdServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
- func (*UnimplementedTagdServiceServer) Remove(context.Context, *RemoveRequest) (*emptypb.Empty, error)
- func (*UnimplementedTagdServiceServer) Tag(context.Context, *TagRequest) (*emptypb.Empty, error)
- func (*UnimplementedTagdServiceServer) Untag(context.Context, *UntagRequest) (*emptypb.Empty, error)
- type UntagRequest
- func (*UntagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UntagRequest) GetId() *wrapperspb.StringValue
- func (x *UntagRequest) GetNamespace() *wrapperspb.StringValue
- func (x *UntagRequest) GetTags() []*wrapperspb.StringValue
- func (*UntagRequest) ProtoMessage()
- func (x *UntagRequest) ProtoReflect() protoreflect.Message
- func (x *UntagRequest) Reset()
- func (x *UntagRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_get_proto protoreflect.FileDescriptor
var File_query_proto protoreflect.FileDescriptor
var File_remove_proto protoreflect.FileDescriptor
var File_service_proto protoreflect.FileDescriptor
var File_tag_proto protoreflect.FileDescriptor
var File_untag_proto protoreflect.FileDescriptor
Functions ¶
func RegisterTagdServiceServer ¶
func RegisterTagdServiceServer(s *grpc.Server, srv TagdServiceServer)
Types ¶
type GetRequest ¶
type GetRequest struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetId ¶
func (x *GetRequest) GetId() *wrapperspb.StringValue
func (*GetRequest) GetNamespace ¶
func (x *GetRequest) GetNamespace() *wrapperspb.StringValue
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶ added in v1.2.14
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetId ¶
func (x *GetResponse) GetId() string
func (*GetResponse) GetNamespace ¶
func (x *GetResponse) GetNamespace() string
func (*GetResponse) GetTags ¶
func (x *GetResponse) GetTags() []string
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶ added in v1.2.14
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type QueryRequest ¶
type QueryRequest struct { Tags []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetNamespace ¶
func (x *QueryRequest) GetNamespace() *wrapperspb.StringValue
func (*QueryRequest) GetTags ¶
func (x *QueryRequest) GetTags() []*wrapperspb.StringValue
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶ added in v1.2.14
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
type QueryResponse ¶
type QueryResponse struct { Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` Ids []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetIds ¶
func (x *QueryResponse) GetIds() []string
func (*QueryResponse) GetTags ¶
func (x *QueryResponse) GetTags() []string
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶ added in v1.2.14
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
type RemoveRequest ¶
type RemoveRequest struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*RemoveRequest) Descriptor
deprecated
func (*RemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead.
func (*RemoveRequest) GetId ¶
func (x *RemoveRequest) GetId() *wrapperspb.StringValue
func (*RemoveRequest) GetNamespace ¶
func (x *RemoveRequest) GetNamespace() *wrapperspb.StringValue
func (*RemoveRequest) ProtoMessage ¶
func (*RemoveRequest) ProtoMessage()
func (*RemoveRequest) ProtoReflect ¶ added in v1.2.14
func (x *RemoveRequest) ProtoReflect() protoreflect.Message
func (*RemoveRequest) Reset ¶
func (x *RemoveRequest) Reset()
func (*RemoveRequest) String ¶
func (x *RemoveRequest) String() string
type TagRequest ¶
type TagRequest struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Tags []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*TagRequest) Descriptor
deprecated
func (*TagRequest) Descriptor() ([]byte, []int)
Deprecated: Use TagRequest.ProtoReflect.Descriptor instead.
func (*TagRequest) GetId ¶
func (x *TagRequest) GetId() *wrapperspb.StringValue
func (*TagRequest) GetNamespace ¶
func (x *TagRequest) GetNamespace() *wrapperspb.StringValue
func (*TagRequest) GetTags ¶
func (x *TagRequest) GetTags() []*wrapperspb.StringValue
func (*TagRequest) ProtoMessage ¶
func (*TagRequest) ProtoMessage()
func (*TagRequest) ProtoReflect ¶ added in v1.2.14
func (x *TagRequest) ProtoReflect() protoreflect.Message
func (*TagRequest) Reset ¶
func (x *TagRequest) Reset()
func (*TagRequest) String ¶
func (x *TagRequest) String() string
type TagdServiceClient ¶
type TagdServiceClient interface { Tag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Untag(ctx context.Context, in *UntagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) }
TagdServiceClient is the client API for TagdService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTagdServiceClient ¶
func NewTagdServiceClient(cc grpc.ClientConnInterface) TagdServiceClient
type TagdServiceServer ¶
type TagdServiceServer interface { Tag(context.Context, *TagRequest) (*emptypb.Empty, error) Untag(context.Context, *UntagRequest) (*emptypb.Empty, error) Remove(context.Context, *RemoveRequest) (*emptypb.Empty, error) Get(context.Context, *GetRequest) (*GetResponse, error) Query(context.Context, *QueryRequest) (*QueryResponse, error) }
TagdServiceServer is the server API for TagdService service.
type UnimplementedTagdServiceServer ¶ added in v1.2.14
type UnimplementedTagdServiceServer struct { }
UnimplementedTagdServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTagdServiceServer) Get ¶ added in v1.2.14
func (*UnimplementedTagdServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (*UnimplementedTagdServiceServer) Query ¶ added in v1.2.14
func (*UnimplementedTagdServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
func (*UnimplementedTagdServiceServer) Remove ¶ added in v1.2.14
func (*UnimplementedTagdServiceServer) Remove(context.Context, *RemoveRequest) (*emptypb.Empty, error)
func (*UnimplementedTagdServiceServer) Tag ¶ added in v1.2.14
func (*UnimplementedTagdServiceServer) Tag(context.Context, *TagRequest) (*emptypb.Empty, error)
func (*UnimplementedTagdServiceServer) Untag ¶ added in v1.2.14
func (*UnimplementedTagdServiceServer) Untag(context.Context, *UntagRequest) (*emptypb.Empty, error)
type UntagRequest ¶
type UntagRequest struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Tags []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*UntagRequest) Descriptor
deprecated
func (*UntagRequest) Descriptor() ([]byte, []int)
Deprecated: Use UntagRequest.ProtoReflect.Descriptor instead.
func (*UntagRequest) GetId ¶
func (x *UntagRequest) GetId() *wrapperspb.StringValue
func (*UntagRequest) GetNamespace ¶
func (x *UntagRequest) GetNamespace() *wrapperspb.StringValue
func (*UntagRequest) GetTags ¶
func (x *UntagRequest) GetTags() []*wrapperspb.StringValue
func (*UntagRequest) ProtoMessage ¶
func (*UntagRequest) ProtoMessage()
func (*UntagRequest) ProtoReflect ¶ added in v1.2.14
func (x *UntagRequest) ProtoReflect() protoreflect.Message
func (*UntagRequest) Reset ¶
func (x *UntagRequest) Reset()
func (*UntagRequest) String ¶
func (x *UntagRequest) String() string