tagd

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTagdServiceServer

func RegisterTagdServiceServer(s *grpc.Server, srv TagdServiceServer)

Types

type GetRequest

type GetRequest struct {
	Id                   *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Namespace            *wrappers.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*GetRequest) Descriptor

func (*GetRequest) Descriptor() ([]byte, []int)

func (*GetRequest) GetId

func (m *GetRequest) GetId() *wrappers.StringValue

func (*GetRequest) GetNamespace added in v1.1.0

func (m *GetRequest) GetNamespace() *wrappers.StringValue

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset

func (m *GetRequest) Reset()

func (*GetRequest) String

func (m *GetRequest) String() string

func (*GetRequest) Validate

func (this *GetRequest) Validate() error

func (*GetRequest) XXX_DiscardUnknown

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal

func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRequest) XXX_Merge

func (m *GetRequest) XXX_Merge(src proto.Message)

func (*GetRequest) XXX_Size

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal

func (m *GetRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetResponse) Descriptor

func (*GetResponse) Descriptor() ([]byte, []int)

func (*GetResponse) GetId

func (m *GetResponse) GetId() string

func (*GetResponse) GetNamespace added in v1.1.0

func (m *GetResponse) GetNamespace() string

func (*GetResponse) GetTags

func (m *GetResponse) GetTags() []string

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) Reset

func (m *GetResponse) Reset()

func (*GetResponse) String

func (m *GetResponse) String() string

func (*GetResponse) Validate

func (this *GetResponse) Validate() error

func (*GetResponse) XXX_DiscardUnknown

func (m *GetResponse) XXX_DiscardUnknown()

func (*GetResponse) XXX_Marshal

func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetResponse) XXX_Merge

func (m *GetResponse) XXX_Merge(src proto.Message)

func (*GetResponse) XXX_Size

func (m *GetResponse) XXX_Size() int

func (*GetResponse) XXX_Unmarshal

func (m *GetResponse) XXX_Unmarshal(b []byte) error

type QueryRequest

type QueryRequest struct {
	Tags                 []*wrappers.StringValue `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	Namespace            *wrappers.StringValue   `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*QueryRequest) Descriptor

func (*QueryRequest) Descriptor() ([]byte, []int)

func (*QueryRequest) GetNamespace added in v1.1.0

func (m *QueryRequest) GetNamespace() *wrappers.StringValue

func (*QueryRequest) GetTags

func (m *QueryRequest) GetTags() []*wrappers.StringValue

func (*QueryRequest) ProtoMessage

func (*QueryRequest) ProtoMessage()

func (*QueryRequest) Reset

func (m *QueryRequest) Reset()

func (*QueryRequest) String

func (m *QueryRequest) String() string

func (*QueryRequest) Validate

func (this *QueryRequest) Validate() error

func (*QueryRequest) XXX_DiscardUnknown

func (m *QueryRequest) XXX_DiscardUnknown()

func (*QueryRequest) XXX_Marshal

func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRequest) XXX_Merge

func (m *QueryRequest) XXX_Merge(src proto.Message)

func (*QueryRequest) XXX_Size

func (m *QueryRequest) XXX_Size() int

func (*QueryRequest) XXX_Unmarshal

func (m *QueryRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QueryResponse) Descriptor

func (*QueryResponse) Descriptor() ([]byte, []int)

func (*QueryResponse) GetIds

func (m *QueryResponse) GetIds() []string

func (*QueryResponse) GetTags

func (m *QueryResponse) GetTags() []string

func (*QueryResponse) ProtoMessage

func (*QueryResponse) ProtoMessage()

func (*QueryResponse) Reset

func (m *QueryResponse) Reset()

func (*QueryResponse) String

func (m *QueryResponse) String() string

func (*QueryResponse) Validate

func (this *QueryResponse) Validate() error

func (*QueryResponse) XXX_DiscardUnknown

func (m *QueryResponse) XXX_DiscardUnknown()

func (*QueryResponse) XXX_Marshal

func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryResponse) XXX_Merge

func (m *QueryResponse) XXX_Merge(src proto.Message)

func (*QueryResponse) XXX_Size

func (m *QueryResponse) XXX_Size() int

func (*QueryResponse) XXX_Unmarshal

func (m *QueryResponse) XXX_Unmarshal(b []byte) error

type RemoveRequest

type RemoveRequest struct {
	Id                   *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Namespace            *wrappers.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*RemoveRequest) Descriptor

func (*RemoveRequest) Descriptor() ([]byte, []int)

func (*RemoveRequest) GetId

func (m *RemoveRequest) GetId() *wrappers.StringValue

func (*RemoveRequest) GetNamespace added in v1.1.0

func (m *RemoveRequest) GetNamespace() *wrappers.StringValue

func (*RemoveRequest) ProtoMessage

func (*RemoveRequest) ProtoMessage()

func (*RemoveRequest) Reset

func (m *RemoveRequest) Reset()

func (*RemoveRequest) String

func (m *RemoveRequest) String() string

func (*RemoveRequest) Validate

func (this *RemoveRequest) Validate() error

func (*RemoveRequest) XXX_DiscardUnknown

func (m *RemoveRequest) XXX_DiscardUnknown()

func (*RemoveRequest) XXX_Marshal

func (m *RemoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveRequest) XXX_Merge

func (m *RemoveRequest) XXX_Merge(src proto.Message)

func (*RemoveRequest) XXX_Size

func (m *RemoveRequest) XXX_Size() int

func (*RemoveRequest) XXX_Unmarshal

func (m *RemoveRequest) XXX_Unmarshal(b []byte) error

type TagRequest

type TagRequest struct {
	Id                   *wrappers.StringValue   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Tags                 []*wrappers.StringValue `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	Namespace            *wrappers.StringValue   `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*TagRequest) Descriptor

func (*TagRequest) Descriptor() ([]byte, []int)

func (*TagRequest) GetId

func (m *TagRequest) GetId() *wrappers.StringValue

func (*TagRequest) GetNamespace added in v1.1.0

func (m *TagRequest) GetNamespace() *wrappers.StringValue

func (*TagRequest) GetTags

func (m *TagRequest) GetTags() []*wrappers.StringValue

func (*TagRequest) ProtoMessage

func (*TagRequest) ProtoMessage()

func (*TagRequest) Reset

func (m *TagRequest) Reset()

func (*TagRequest) String

func (m *TagRequest) String() string

func (*TagRequest) Validate

func (this *TagRequest) Validate() error

func (*TagRequest) XXX_DiscardUnknown

func (m *TagRequest) XXX_DiscardUnknown()

func (*TagRequest) XXX_Marshal

func (m *TagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TagRequest) XXX_Merge

func (m *TagRequest) XXX_Merge(src proto.Message)

func (*TagRequest) XXX_Size

func (m *TagRequest) XXX_Size() int

func (*TagRequest) XXX_Unmarshal

func (m *TagRequest) XXX_Unmarshal(b []byte) error

type TagdServiceClient

type TagdServiceClient interface {
	Tag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Untag(ctx context.Context, in *UntagRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*empty.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.ClientConn) TagdServiceClient

type TagdServiceServer

TagdServiceServer is the server API for TagdService service.

type UnimplementedTagdServiceServer added in v1.0.0

type UnimplementedTagdServiceServer struct {
}

UnimplementedTagdServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTagdServiceServer) Get added in v1.0.0

func (*UnimplementedTagdServiceServer) Query added in v1.0.0

func (*UnimplementedTagdServiceServer) Remove added in v1.0.0

func (*UnimplementedTagdServiceServer) Tag added in v1.0.0

func (*UnimplementedTagdServiceServer) Untag added in v1.0.0

type UntagRequest

type UntagRequest struct {
	Id                   *wrappers.StringValue   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Tags                 []*wrappers.StringValue `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	Namespace            *wrappers.StringValue   `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*UntagRequest) Descriptor

func (*UntagRequest) Descriptor() ([]byte, []int)

func (*UntagRequest) GetId

func (m *UntagRequest) GetId() *wrappers.StringValue

func (*UntagRequest) GetNamespace added in v1.1.0

func (m *UntagRequest) GetNamespace() *wrappers.StringValue

func (*UntagRequest) GetTags

func (m *UntagRequest) GetTags() []*wrappers.StringValue

func (*UntagRequest) ProtoMessage

func (*UntagRequest) ProtoMessage()

func (*UntagRequest) Reset

func (m *UntagRequest) Reset()

func (*UntagRequest) String

func (m *UntagRequest) String() string

func (*UntagRequest) Validate

func (this *UntagRequest) Validate() error

func (*UntagRequest) XXX_DiscardUnknown

func (m *UntagRequest) XXX_DiscardUnknown()

func (*UntagRequest) XXX_Marshal

func (m *UntagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UntagRequest) XXX_Merge

func (m *UntagRequest) XXX_Merge(src proto.Message)

func (*UntagRequest) XXX_Size

func (m *UntagRequest) XXX_Size() int

func (*UntagRequest) XXX_Unmarshal

func (m *UntagRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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