Documentation
¶
Index ¶
- func RegisterTagdServiceServer(s *grpc.Server, srv TagdServiceServer)
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetId() *wrappers.StringValue
- func (m *GetRequest) GetNamespace() *wrappers.StringValue
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- func (m *GetRequest) Validate() error
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetRequestValidationError
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) GetId() string
- func (m *GetResponse) GetNamespace() string
- func (m *GetResponse) GetTags() []string
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) String() string
- func (m *GetResponse) Validate() error
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type GetResponseValidationError
- func (e GetResponseValidationError) Cause() error
- func (e GetResponseValidationError) Error() string
- func (e GetResponseValidationError) ErrorName() string
- func (e GetResponseValidationError) Field() string
- func (e GetResponseValidationError) Key() bool
- func (e GetResponseValidationError) Reason() string
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)
- func (m *QueryRequest) GetNamespace() *wrappers.StringValue
- func (m *QueryRequest) GetTags() []*wrappers.StringValue
- func (*QueryRequest) ProtoMessage()
- func (m *QueryRequest) Reset()
- func (m *QueryRequest) String() string
- func (m *QueryRequest) Validate() error
- func (m *QueryRequest) XXX_DiscardUnknown()
- func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRequest) XXX_Merge(src proto.Message)
- func (m *QueryRequest) XXX_Size() int
- func (m *QueryRequest) XXX_Unmarshal(b []byte) error
- type QueryRequestValidationError
- func (e QueryRequestValidationError) Cause() error
- func (e QueryRequestValidationError) Error() string
- func (e QueryRequestValidationError) ErrorName() string
- func (e QueryRequestValidationError) Field() string
- func (e QueryRequestValidationError) Key() bool
- func (e QueryRequestValidationError) Reason() string
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)
- func (m *QueryResponse) GetIds() []string
- func (m *QueryResponse) GetTags() []string
- func (*QueryResponse) ProtoMessage()
- func (m *QueryResponse) Reset()
- func (m *QueryResponse) String() string
- func (m *QueryResponse) Validate() error
- func (m *QueryResponse) XXX_DiscardUnknown()
- func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResponse) XXX_Merge(src proto.Message)
- func (m *QueryResponse) XXX_Size() int
- func (m *QueryResponse) XXX_Unmarshal(b []byte) error
- type QueryResponseValidationError
- func (e QueryResponseValidationError) Cause() error
- func (e QueryResponseValidationError) Error() string
- func (e QueryResponseValidationError) ErrorName() string
- func (e QueryResponseValidationError) Field() string
- func (e QueryResponseValidationError) Key() bool
- func (e QueryResponseValidationError) Reason() string
- type RemoveRequest
- func (*RemoveRequest) Descriptor() ([]byte, []int)
- func (m *RemoveRequest) GetId() *wrappers.StringValue
- func (m *RemoveRequest) GetNamespace() *wrappers.StringValue
- func (*RemoveRequest) ProtoMessage()
- func (m *RemoveRequest) Reset()
- func (m *RemoveRequest) String() string
- func (m *RemoveRequest) Validate() error
- func (m *RemoveRequest) XXX_DiscardUnknown()
- func (m *RemoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveRequest) XXX_Merge(src proto.Message)
- func (m *RemoveRequest) XXX_Size() int
- func (m *RemoveRequest) XXX_Unmarshal(b []byte) error
- type RemoveRequestValidationError
- func (e RemoveRequestValidationError) Cause() error
- func (e RemoveRequestValidationError) Error() string
- func (e RemoveRequestValidationError) ErrorName() string
- func (e RemoveRequestValidationError) Field() string
- func (e RemoveRequestValidationError) Key() bool
- func (e RemoveRequestValidationError) Reason() string
- type TagRequest
- func (*TagRequest) Descriptor() ([]byte, []int)
- func (m *TagRequest) GetId() *wrappers.StringValue
- func (m *TagRequest) GetNamespace() *wrappers.StringValue
- func (m *TagRequest) GetTags() []*wrappers.StringValue
- func (*TagRequest) ProtoMessage()
- func (m *TagRequest) Reset()
- func (m *TagRequest) String() string
- func (m *TagRequest) Validate() error
- func (m *TagRequest) XXX_DiscardUnknown()
- func (m *TagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TagRequest) XXX_Merge(src proto.Message)
- func (m *TagRequest) XXX_Size() int
- func (m *TagRequest) XXX_Unmarshal(b []byte) error
- type TagRequestValidationError
- type TagdServiceClient
- type TagdServiceServer
- type UntagRequest
- func (*UntagRequest) Descriptor() ([]byte, []int)
- func (m *UntagRequest) GetId() *wrappers.StringValue
- func (m *UntagRequest) GetNamespace() *wrappers.StringValue
- func (m *UntagRequest) GetTags() []*wrappers.StringValue
- func (*UntagRequest) ProtoMessage()
- func (m *UntagRequest) Reset()
- func (m *UntagRequest) String() string
- func (m *UntagRequest) Validate() error
- func (m *UntagRequest) XXX_DiscardUnknown()
- func (m *UntagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UntagRequest) XXX_Merge(src proto.Message)
- func (m *UntagRequest) XXX_Size() int
- func (m *UntagRequest) XXX_Unmarshal(b []byte) error
- type UntagRequestValidationError
- func (e UntagRequestValidationError) Cause() error
- func (e UntagRequestValidationError) Error() string
- func (e UntagRequestValidationError) ErrorName() string
- func (e UntagRequestValidationError) Field() string
- func (e UntagRequestValidationError) Key() bool
- func (e UntagRequestValidationError) Reason() string
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 ¶
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 (m *GetRequest) Validate() error
Validate checks the field values on GetRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 GetRequestValidationError ¶
type GetRequestValidationError struct {
// contains filtered or unexported fields
}
GetRequestValidationError is the validation error returned by GetRequest.Validate if the designated constraints aren't met.
func (GetRequestValidationError) Cause ¶
func (e GetRequestValidationError) Cause() error
Cause function returns cause value.
func (GetRequestValidationError) Error ¶
func (e GetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetRequestValidationError) ErrorName ¶
func (e GetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetRequestValidationError) Field ¶
func (e GetRequestValidationError) Field() string
Field function returns field value.
func (GetRequestValidationError) Key ¶
func (e GetRequestValidationError) Key() bool
Key function returns key value.
func (GetRequestValidationError) Reason ¶
func (e GetRequestValidationError) Reason() string
Reason function returns reason value.
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 ¶
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 (m *GetResponse) Validate() error
Validate checks the field values on GetResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 GetResponseValidationError ¶
type GetResponseValidationError struct {
// contains filtered or unexported fields
}
GetResponseValidationError is the validation error returned by GetResponse.Validate if the designated constraints aren't met.
func (GetResponseValidationError) Cause ¶
func (e GetResponseValidationError) Cause() error
Cause function returns cause value.
func (GetResponseValidationError) Error ¶
func (e GetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetResponseValidationError) ErrorName ¶
func (e GetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetResponseValidationError) Field ¶
func (e GetResponseValidationError) Field() string
Field function returns field value.
func (GetResponseValidationError) Key ¶
func (e GetResponseValidationError) Key() bool
Key function returns key value.
func (GetResponseValidationError) Reason ¶
func (e GetResponseValidationError) Reason() string
Reason function returns reason value.
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 ¶
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 (m *QueryRequest) Validate() error
Validate checks the field values on QueryRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 QueryRequestValidationError ¶
type QueryRequestValidationError struct {
// contains filtered or unexported fields
}
QueryRequestValidationError is the validation error returned by QueryRequest.Validate if the designated constraints aren't met.
func (QueryRequestValidationError) Cause ¶
func (e QueryRequestValidationError) Cause() error
Cause function returns cause value.
func (QueryRequestValidationError) Error ¶
func (e QueryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QueryRequestValidationError) ErrorName ¶
func (e QueryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QueryRequestValidationError) Field ¶
func (e QueryRequestValidationError) Field() string
Field function returns field value.
func (QueryRequestValidationError) Key ¶
func (e QueryRequestValidationError) Key() bool
Key function returns key value.
func (QueryRequestValidationError) Reason ¶
func (e QueryRequestValidationError) Reason() string
Reason function returns reason value.
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 (m *QueryResponse) Validate() error
Validate checks the field values on QueryResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 QueryResponseValidationError ¶
type QueryResponseValidationError struct {
// contains filtered or unexported fields
}
QueryResponseValidationError is the validation error returned by QueryResponse.Validate if the designated constraints aren't met.
func (QueryResponseValidationError) Cause ¶
func (e QueryResponseValidationError) Cause() error
Cause function returns cause value.
func (QueryResponseValidationError) Error ¶
func (e QueryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (QueryResponseValidationError) ErrorName ¶
func (e QueryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (QueryResponseValidationError) Field ¶
func (e QueryResponseValidationError) Field() string
Field function returns field value.
func (QueryResponseValidationError) Key ¶
func (e QueryResponseValidationError) Key() bool
Key function returns key value.
func (QueryResponseValidationError) Reason ¶
func (e QueryResponseValidationError) Reason() string
Reason function returns reason value.
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 ¶
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 (m *RemoveRequest) Validate() error
Validate checks the field values on RemoveRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 RemoveRequestValidationError ¶
type RemoveRequestValidationError struct {
// contains filtered or unexported fields
}
RemoveRequestValidationError is the validation error returned by RemoveRequest.Validate if the designated constraints aren't met.
func (RemoveRequestValidationError) Cause ¶
func (e RemoveRequestValidationError) Cause() error
Cause function returns cause value.
func (RemoveRequestValidationError) Error ¶
func (e RemoveRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveRequestValidationError) ErrorName ¶
func (e RemoveRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveRequestValidationError) Field ¶
func (e RemoveRequestValidationError) Field() string
Field function returns field value.
func (RemoveRequestValidationError) Key ¶
func (e RemoveRequestValidationError) Key() bool
Key function returns key value.
func (RemoveRequestValidationError) Reason ¶
func (e RemoveRequestValidationError) Reason() string
Reason function returns reason value.
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 ¶
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 (m *TagRequest) Validate() error
Validate checks the field values on TagRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 TagRequestValidationError ¶
type TagRequestValidationError struct {
// contains filtered or unexported fields
}
TagRequestValidationError is the validation error returned by TagRequest.Validate if the designated constraints aren't met.
func (TagRequestValidationError) Cause ¶
func (e TagRequestValidationError) Cause() error
Cause function returns cause value.
func (TagRequestValidationError) Error ¶
func (e TagRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TagRequestValidationError) ErrorName ¶
func (e TagRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TagRequestValidationError) Field ¶
func (e TagRequestValidationError) Field() string
Field function returns field value.
func (TagRequestValidationError) Key ¶
func (e TagRequestValidationError) Key() bool
Key function returns key value.
func (TagRequestValidationError) Reason ¶
func (e TagRequestValidationError) Reason() string
Reason function returns reason value.
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 ¶
type TagdServiceServer interface { Tag(context.Context, *TagRequest) (*empty.Empty, error) Untag(context.Context, *UntagRequest) (*empty.Empty, error) Remove(context.Context, *RemoveRequest) (*empty.Empty, error) Get(context.Context, *GetRequest) (*GetResponse, error) Query(context.Context, *QueryRequest) (*QueryResponse, error) }
TagdServiceServer is the server API for TagdService service.
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 ¶
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 (m *UntagRequest) Validate() error
Validate checks the field values on UntagRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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
type UntagRequestValidationError ¶
type UntagRequestValidationError struct {
// contains filtered or unexported fields
}
UntagRequestValidationError is the validation error returned by UntagRequest.Validate if the designated constraints aren't met.
func (UntagRequestValidationError) Cause ¶
func (e UntagRequestValidationError) Cause() error
Cause function returns cause value.
func (UntagRequestValidationError) Error ¶
func (e UntagRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UntagRequestValidationError) ErrorName ¶
func (e UntagRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UntagRequestValidationError) Field ¶
func (e UntagRequestValidationError) Field() string
Field function returns field value.
func (UntagRequestValidationError) Key ¶
func (e UntagRequestValidationError) Key() bool
Key function returns key value.
func (UntagRequestValidationError) Reason ¶
func (e UntagRequestValidationError) Reason() string
Reason function returns reason value.