tagd

package
v1.2.11 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: MIT Imports: 18 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

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

Error satisfies the builtin error interface

func (GetRequestValidationError) ErrorName

func (e GetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRequestValidationError) Field

Field function returns field value.

func (GetRequestValidationError) Key

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

Cause function returns cause value.

func (GetResponseValidationError) Error

Error satisfies the builtin error interface

func (GetResponseValidationError) ErrorName

func (e GetResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetResponseValidationError) Field

Field function returns field value.

func (GetResponseValidationError) Key

Key function returns key value.

func (GetResponseValidationError) Reason

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

Cause function returns cause value.

func (QueryRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryRequestValidationError) ErrorName

func (e QueryRequestValidationError) ErrorName() string

ErrorName returns error name.

func (QueryRequestValidationError) Field

Field function returns field value.

func (QueryRequestValidationError) Key

Key function returns key value.

func (QueryRequestValidationError) Reason

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

Cause function returns cause value.

func (QueryResponseValidationError) Error

Error satisfies the builtin error interface

func (QueryResponseValidationError) ErrorName

func (e QueryResponseValidationError) ErrorName() string

ErrorName returns error name.

func (QueryResponseValidationError) Field

Field function returns field value.

func (QueryResponseValidationError) Key

Key function returns key value.

func (QueryResponseValidationError) Reason

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

Cause function returns cause value.

func (RemoveRequestValidationError) Error

Error satisfies the builtin error interface

func (RemoveRequestValidationError) ErrorName

func (e RemoveRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RemoveRequestValidationError) Field

Field function returns field value.

func (RemoveRequestValidationError) Key

Key function returns key value.

func (RemoveRequestValidationError) Reason

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

Error satisfies the builtin error interface

func (TagRequestValidationError) ErrorName

func (e TagRequestValidationError) ErrorName() string

ErrorName returns error name.

func (TagRequestValidationError) Field

Field function returns field value.

func (TagRequestValidationError) Key

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

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

Cause function returns cause value.

func (UntagRequestValidationError) Error

Error satisfies the builtin error interface

func (UntagRequestValidationError) ErrorName

func (e UntagRequestValidationError) ErrorName() string

ErrorName returns error name.

func (UntagRequestValidationError) Field

Field function returns field value.

func (UntagRequestValidationError) Key

Key function returns key value.

func (UntagRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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