Documentation ¶
Index ¶
- Variables
- func RegisterLabelServiceServer(s grpc.ServiceRegistrar, srv LabelServiceServer)
- type CreateLabelRequest
- func (*CreateLabelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLabelRequest) GetLabel() *Label
- func (*CreateLabelRequest) ProtoMessage()
- func (x *CreateLabelRequest) ProtoReflect() protoreflect.Message
- func (x *CreateLabelRequest) Reset()
- func (x *CreateLabelRequest) String() string
- type CreateLabelResponse
- func (*CreateLabelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLabelResponse) GetLabel() *Label
- func (*CreateLabelResponse) ProtoMessage()
- func (x *CreateLabelResponse) ProtoReflect() protoreflect.Message
- func (x *CreateLabelResponse) Reset()
- func (x *CreateLabelResponse) String() string
- type DeleteLabelRequest
- type DeleteLabelResponse
- type Label
- func (*Label) Descriptor() ([]byte, []int)deprecated
- func (x *Label) GetCdate() *timestamppb.Timestamp
- func (x *Label) GetColor() string
- func (x *Label) GetDescription() string
- func (x *Label) GetEdate() *timestamppb.Timestamp
- func (x *Label) GetId() string
- func (x *Label) GetName() string
- func (*Label) ProtoMessage()
- func (x *Label) ProtoReflect() protoreflect.Message
- func (x *Label) Reset()
- func (x *Label) String() string
- type LabelServiceClient
- type LabelServiceServer
- type ListLabelsRequest
- type ListLabelsResponse
- func (*ListLabelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListLabelsResponse) GetInvalidCount() int32
- func (x *ListLabelsResponse) GetLabels() []*Label
- func (*ListLabelsResponse) ProtoMessage()
- func (x *ListLabelsResponse) ProtoReflect() protoreflect.Message
- func (x *ListLabelsResponse) Reset()
- func (x *ListLabelsResponse) String() string
- type UnimplementedLabelServiceServer
- func (UnimplementedLabelServiceServer) CreateLabel(context.Context, *CreateLabelRequest) (*CreateLabelResponse, error)
- func (UnimplementedLabelServiceServer) DeleteLabel(context.Context, *DeleteLabelRequest) (*DeleteLabelResponse, error)
- func (UnimplementedLabelServiceServer) ListLabels(context.Context, *ListLabelsRequest) (*ListLabelsResponse, error)
- func (UnimplementedLabelServiceServer) UpdateLabel(context.Context, *UpdateLabelRequest) (*UpdateLabelResponse, error)
- type UnsafeLabelServiceServer
- type UpdateLabelRequest
- func (*UpdateLabelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLabelRequest) GetLabel() *Label
- func (*UpdateLabelRequest) ProtoMessage()
- func (x *UpdateLabelRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLabelRequest) Reset()
- func (x *UpdateLabelRequest) String() string
- type UpdateLabelResponse
- func (*UpdateLabelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLabelResponse) GetLabel() *Label
- func (*UpdateLabelResponse) ProtoMessage()
- func (x *UpdateLabelResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateLabelResponse) Reset()
- func (x *UpdateLabelResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_kentik_label_v202210_label_proto protoreflect.FileDescriptor
var LabelService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kentik.label.v202210.LabelService", HandlerType: (*LabelServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListLabels", Handler: _LabelService_ListLabels_Handler, }, { MethodName: "CreateLabel", Handler: _LabelService_CreateLabel_Handler, }, { MethodName: "UpdateLabel", Handler: _LabelService_UpdateLabel_Handler, }, { MethodName: "DeleteLabel", Handler: _LabelService_DeleteLabel_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "kentik/label/v202210/label.proto", }
LabelService_ServiceDesc is the grpc.ServiceDesc for LabelService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLabelServiceServer ¶
func RegisterLabelServiceServer(s grpc.ServiceRegistrar, srv LabelServiceServer)
Types ¶
type CreateLabelRequest ¶
type CreateLabelRequest struct { Label *Label `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
{{.Name}}
func (*CreateLabelRequest) Descriptor
deprecated
func (*CreateLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLabelRequest.ProtoReflect.Descriptor instead.
func (*CreateLabelRequest) GetLabel ¶
func (x *CreateLabelRequest) GetLabel() *Label
func (*CreateLabelRequest) ProtoMessage ¶
func (*CreateLabelRequest) ProtoMessage()
func (*CreateLabelRequest) ProtoReflect ¶
func (x *CreateLabelRequest) ProtoReflect() protoreflect.Message
func (*CreateLabelRequest) Reset ¶
func (x *CreateLabelRequest) Reset()
func (*CreateLabelRequest) String ¶
func (x *CreateLabelRequest) String() string
type CreateLabelResponse ¶
type CreateLabelResponse struct { Label *Label `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
{{.Name}}
func (*CreateLabelResponse) Descriptor
deprecated
func (*CreateLabelResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateLabelResponse.ProtoReflect.Descriptor instead.
func (*CreateLabelResponse) GetLabel ¶
func (x *CreateLabelResponse) GetLabel() *Label
func (*CreateLabelResponse) ProtoMessage ¶
func (*CreateLabelResponse) ProtoMessage()
func (*CreateLabelResponse) ProtoReflect ¶
func (x *CreateLabelResponse) ProtoReflect() protoreflect.Message
func (*CreateLabelResponse) Reset ¶
func (x *CreateLabelResponse) Reset()
func (*CreateLabelResponse) String ¶
func (x *CreateLabelResponse) String() string
type DeleteLabelRequest ¶
type DeleteLabelRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
{{.Name}}
func (*DeleteLabelRequest) Descriptor
deprecated
func (*DeleteLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLabelRequest.ProtoReflect.Descriptor instead.
func (*DeleteLabelRequest) GetId ¶
func (x *DeleteLabelRequest) GetId() string
func (*DeleteLabelRequest) ProtoMessage ¶
func (*DeleteLabelRequest) ProtoMessage()
func (*DeleteLabelRequest) ProtoReflect ¶
func (x *DeleteLabelRequest) ProtoReflect() protoreflect.Message
func (*DeleteLabelRequest) Reset ¶
func (x *DeleteLabelRequest) Reset()
func (*DeleteLabelRequest) String ¶
func (x *DeleteLabelRequest) String() string
type DeleteLabelResponse ¶
type DeleteLabelResponse struct {
// contains filtered or unexported fields
}
{{.Name}}
func (*DeleteLabelResponse) Descriptor
deprecated
func (*DeleteLabelResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLabelResponse.ProtoReflect.Descriptor instead.
func (*DeleteLabelResponse) ProtoMessage ¶
func (*DeleteLabelResponse) ProtoMessage()
func (*DeleteLabelResponse) ProtoReflect ¶
func (x *DeleteLabelResponse) ProtoReflect() protoreflect.Message
func (*DeleteLabelResponse) Reset ¶
func (x *DeleteLabelResponse) Reset()
func (*DeleteLabelResponse) String ¶
func (x *DeleteLabelResponse) String() string
type Label ¶
type Label struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` Cdate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=cdate,proto3" json:"cdate,omitempty"` Edate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=edate,proto3" json:"edate,omitempty"` // contains filtered or unexported fields }
{{.Name}}
func (*Label) Descriptor
deprecated
func (*Label) GetCdate ¶
func (x *Label) GetCdate() *timestamppb.Timestamp
func (*Label) GetDescription ¶
func (*Label) GetEdate ¶
func (x *Label) GetEdate() *timestamppb.Timestamp
func (*Label) ProtoMessage ¶
func (*Label) ProtoMessage()
func (*Label) ProtoReflect ¶
func (x *Label) ProtoReflect() protoreflect.Message
type LabelServiceClient ¶
type LabelServiceClient interface { ListLabels(ctx context.Context, in *ListLabelsRequest, opts ...grpc.CallOption) (*ListLabelsResponse, error) CreateLabel(ctx context.Context, in *CreateLabelRequest, opts ...grpc.CallOption) (*CreateLabelResponse, error) UpdateLabel(ctx context.Context, in *UpdateLabelRequest, opts ...grpc.CallOption) (*UpdateLabelResponse, error) DeleteLabel(ctx context.Context, in *DeleteLabelRequest, opts ...grpc.CallOption) (*DeleteLabelResponse, error) }
LabelServiceClient is the client API for LabelService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLabelServiceClient ¶
func NewLabelServiceClient(cc grpc.ClientConnInterface) LabelServiceClient
type LabelServiceServer ¶
type LabelServiceServer interface { ListLabels(context.Context, *ListLabelsRequest) (*ListLabelsResponse, error) CreateLabel(context.Context, *CreateLabelRequest) (*CreateLabelResponse, error) UpdateLabel(context.Context, *UpdateLabelRequest) (*UpdateLabelResponse, error) DeleteLabel(context.Context, *DeleteLabelRequest) (*DeleteLabelResponse, error) }
LabelServiceServer is the server API for LabelService service. All implementations should embed UnimplementedLabelServiceServer for forward compatibility
type ListLabelsRequest ¶
type ListLabelsRequest struct {
// contains filtered or unexported fields
}
{{.Name}}
func (*ListLabelsRequest) Descriptor
deprecated
func (*ListLabelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLabelsRequest.ProtoReflect.Descriptor instead.
func (*ListLabelsRequest) ProtoMessage ¶
func (*ListLabelsRequest) ProtoMessage()
func (*ListLabelsRequest) ProtoReflect ¶
func (x *ListLabelsRequest) ProtoReflect() protoreflect.Message
func (*ListLabelsRequest) Reset ¶
func (x *ListLabelsRequest) Reset()
func (*ListLabelsRequest) String ¶
func (x *ListLabelsRequest) String() string
type ListLabelsResponse ¶
type ListLabelsResponse struct { Labels []*Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` InvalidCount int32 `protobuf:"varint,2,opt,name=invalid_count,json=invalidCount,proto3" json:"invalid_count,omitempty"` // contains filtered or unexported fields }
{{.Name}}
func (*ListLabelsResponse) Descriptor
deprecated
func (*ListLabelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListLabelsResponse.ProtoReflect.Descriptor instead.
func (*ListLabelsResponse) GetInvalidCount ¶
func (x *ListLabelsResponse) GetInvalidCount() int32
func (*ListLabelsResponse) GetLabels ¶
func (x *ListLabelsResponse) GetLabels() []*Label
func (*ListLabelsResponse) ProtoMessage ¶
func (*ListLabelsResponse) ProtoMessage()
func (*ListLabelsResponse) ProtoReflect ¶
func (x *ListLabelsResponse) ProtoReflect() protoreflect.Message
func (*ListLabelsResponse) Reset ¶
func (x *ListLabelsResponse) Reset()
func (*ListLabelsResponse) String ¶
func (x *ListLabelsResponse) String() string
type UnimplementedLabelServiceServer ¶
type UnimplementedLabelServiceServer struct { }
UnimplementedLabelServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedLabelServiceServer) CreateLabel ¶
func (UnimplementedLabelServiceServer) CreateLabel(context.Context, *CreateLabelRequest) (*CreateLabelResponse, error)
func (UnimplementedLabelServiceServer) DeleteLabel ¶
func (UnimplementedLabelServiceServer) DeleteLabel(context.Context, *DeleteLabelRequest) (*DeleteLabelResponse, error)
func (UnimplementedLabelServiceServer) ListLabels ¶
func (UnimplementedLabelServiceServer) ListLabels(context.Context, *ListLabelsRequest) (*ListLabelsResponse, error)
func (UnimplementedLabelServiceServer) UpdateLabel ¶
func (UnimplementedLabelServiceServer) UpdateLabel(context.Context, *UpdateLabelRequest) (*UpdateLabelResponse, error)
type UnsafeLabelServiceServer ¶
type UnsafeLabelServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLabelServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LabelServiceServer will result in compilation errors.
type UpdateLabelRequest ¶
type UpdateLabelRequest struct { Label *Label `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
{{.Name}}
func (*UpdateLabelRequest) Descriptor
deprecated
func (*UpdateLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLabelRequest.ProtoReflect.Descriptor instead.
func (*UpdateLabelRequest) GetLabel ¶
func (x *UpdateLabelRequest) GetLabel() *Label
func (*UpdateLabelRequest) ProtoMessage ¶
func (*UpdateLabelRequest) ProtoMessage()
func (*UpdateLabelRequest) ProtoReflect ¶
func (x *UpdateLabelRequest) ProtoReflect() protoreflect.Message
func (*UpdateLabelRequest) Reset ¶
func (x *UpdateLabelRequest) Reset()
func (*UpdateLabelRequest) String ¶
func (x *UpdateLabelRequest) String() string
type UpdateLabelResponse ¶
type UpdateLabelResponse struct { Label *Label `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
{{.Name}}
func (*UpdateLabelResponse) Descriptor
deprecated
func (*UpdateLabelResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLabelResponse.ProtoReflect.Descriptor instead.
func (*UpdateLabelResponse) GetLabel ¶
func (x *UpdateLabelResponse) GetLabel() *Label
func (*UpdateLabelResponse) ProtoMessage ¶
func (*UpdateLabelResponse) ProtoMessage()
func (*UpdateLabelResponse) ProtoReflect ¶
func (x *UpdateLabelResponse) ProtoReflect() protoreflect.Message
func (*UpdateLabelResponse) Reset ¶
func (x *UpdateLabelResponse) Reset()
func (*UpdateLabelResponse) String ¶
func (x *UpdateLabelResponse) String() string