tagd

package
v1.2.13-alpha6 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_query_proto protoreflect.FileDescriptor
View Source
var File_remove_proto protoreflect.FileDescriptor
View Source
var File_service_proto protoreflect.FileDescriptor
View Source
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.

type TagdServiceServer

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) Query added in v1.2.14

func (*UnimplementedTagdServiceServer) Remove added in v1.2.14

func (*UnimplementedTagdServiceServer) Tag added in v1.2.14

func (*UnimplementedTagdServiceServer) Untag added in v1.2.14

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

Jump to

Keyboard shortcuts

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