Versions in this module Expand all Collapse all v0 v0.0.1 Mar 13, 2022 Changes in this version + var File_pkg_apis_widgets_widgets_proto protoreflect.FileDescriptor + var ListRequest_OrderBy_name = map[int32]string + var ListRequest_OrderBy_value = map[string]int32 + var Widgets_ServiceDesc = grpc.ServiceDesc + func RegisterWidgetsServer(s grpc.ServiceRegistrar, srv WidgetsServer) + type CreateRequest struct + Name string + func (*CreateRequest) Descriptor() ([]byte, []int) + func (*CreateRequest) ProtoMessage() + func (m *CreateRequest) Validate() error + func (m *CreateRequest) ValidateAll() error + func (x *CreateRequest) GetName() string + func (x *CreateRequest) ProtoReflect() protoreflect.Message + func (x *CreateRequest) Reset() + func (x *CreateRequest) String() string + type CreateRequestMultiError []error + func (m CreateRequestMultiError) AllErrors() []error + func (m CreateRequestMultiError) Error() string + type CreateRequestValidationError struct + func (e CreateRequestValidationError) Cause() error + func (e CreateRequestValidationError) Error() string + func (e CreateRequestValidationError) ErrorName() string + func (e CreateRequestValidationError) Field() string + func (e CreateRequestValidationError) Key() bool + func (e CreateRequestValidationError) Reason() string + type DeleteRequest struct + Uuid string + func (*DeleteRequest) Descriptor() ([]byte, []int) + func (*DeleteRequest) ProtoMessage() + func (m *DeleteRequest) Validate() error + func (m *DeleteRequest) ValidateAll() error + func (x *DeleteRequest) GetUuid() string + func (x *DeleteRequest) ProtoReflect() protoreflect.Message + func (x *DeleteRequest) Reset() + func (x *DeleteRequest) String() string + type DeleteRequestMultiError []error + func (m DeleteRequestMultiError) AllErrors() []error + func (m DeleteRequestMultiError) Error() string + type DeleteRequestValidationError struct + func (e DeleteRequestValidationError) Cause() error + func (e DeleteRequestValidationError) Error() string + func (e DeleteRequestValidationError) ErrorName() string + func (e DeleteRequestValidationError) Field() string + func (e DeleteRequestValidationError) Key() bool + func (e DeleteRequestValidationError) Reason() string + type FindRequest struct + Uuid string + func (*FindRequest) Descriptor() ([]byte, []int) + func (*FindRequest) ProtoMessage() + func (m *FindRequest) Validate() error + func (m *FindRequest) ValidateAll() error + func (x *FindRequest) GetUuid() string + func (x *FindRequest) ProtoReflect() protoreflect.Message + func (x *FindRequest) Reset() + func (x *FindRequest) String() string + type FindRequestMultiError []error + func (m FindRequestMultiError) AllErrors() []error + func (m FindRequestMultiError) Error() string + type FindRequestValidationError struct + func (e FindRequestValidationError) Cause() error + func (e FindRequestValidationError) Error() string + func (e FindRequestValidationError) ErrorName() string + func (e FindRequestValidationError) Field() string + func (e FindRequestValidationError) Key() bool + func (e FindRequestValidationError) Reason() string + type ListRequest struct + Name string + OrderBy ListRequest_OrderBy + PageSize int32 + PageToken string + func (*ListRequest) Descriptor() ([]byte, []int) + func (*ListRequest) ProtoMessage() + func (m *ListRequest) Validate() error + func (m *ListRequest) ValidateAll() error + func (x *ListRequest) GetName() string + func (x *ListRequest) GetOrderBy() ListRequest_OrderBy + func (x *ListRequest) GetPageSize() int32 + func (x *ListRequest) GetPageToken() string + func (x *ListRequest) ProtoReflect() protoreflect.Message + func (x *ListRequest) Reset() + func (x *ListRequest) String() string + type ListRequestMultiError []error + func (m ListRequestMultiError) AllErrors() []error + func (m ListRequestMultiError) Error() string + type ListRequestValidationError struct + func (e ListRequestValidationError) Cause() error + func (e ListRequestValidationError) Error() string + func (e ListRequestValidationError) ErrorName() string + func (e ListRequestValidationError) Field() string + func (e ListRequestValidationError) Key() bool + func (e ListRequestValidationError) Reason() string + type ListRequest_OrderBy int32 + const ListRequest_DEFAULT + const ListRequest_NAME + func (ListRequest_OrderBy) Descriptor() protoreflect.EnumDescriptor + func (ListRequest_OrderBy) EnumDescriptor() ([]byte, []int) + func (ListRequest_OrderBy) Type() protoreflect.EnumType + func (x ListRequest_OrderBy) Enum() *ListRequest_OrderBy + func (x ListRequest_OrderBy) Number() protoreflect.EnumNumber + func (x ListRequest_OrderBy) String() string + type ListResponse struct + NextPageToken string + Widgets []*Widget + func (*ListResponse) Descriptor() ([]byte, []int) + func (*ListResponse) ProtoMessage() + func (m *ListResponse) Validate() error + func (m *ListResponse) ValidateAll() error + func (x *ListResponse) GetNextPageToken() string + func (x *ListResponse) GetWidgets() []*Widget + func (x *ListResponse) ProtoReflect() protoreflect.Message + func (x *ListResponse) Reset() + func (x *ListResponse) String() string + type ListResponseMultiError []error + func (m ListResponseMultiError) AllErrors() []error + func (m ListResponseMultiError) Error() string + type ListResponseValidationError struct + func (e ListResponseValidationError) Cause() error + func (e ListResponseValidationError) Error() string + func (e ListResponseValidationError) ErrorName() string + func (e ListResponseValidationError) Field() string + func (e ListResponseValidationError) Key() bool + func (e ListResponseValidationError) Reason() string + type UnimplementedWidgetsServer struct + func (UnimplementedWidgetsServer) Create(context.Context, *CreateRequest) (*Widget, error) + func (UnimplementedWidgetsServer) Delete(context.Context, *DeleteRequest) (*emptypb.Empty, error) + func (UnimplementedWidgetsServer) FindByID(context.Context, *FindRequest) (*Widget, error) + func (UnimplementedWidgetsServer) List(context.Context, *ListRequest) (*ListResponse, error) + func (UnimplementedWidgetsServer) Update(context.Context, *UpdateRequest) (*Widget, error) + type UnsafeWidgetsServer interface + type UpdateRequest struct + Mask *fieldmaskpb.FieldMask + Uuid string + Widget *Widget + func (*UpdateRequest) Descriptor() ([]byte, []int) + func (*UpdateRequest) ProtoMessage() + func (m *UpdateRequest) Validate() error + func (m *UpdateRequest) ValidateAll() error + func (x *UpdateRequest) GetMask() *fieldmaskpb.FieldMask + func (x *UpdateRequest) GetUuid() string + func (x *UpdateRequest) GetWidget() *Widget + func (x *UpdateRequest) ProtoReflect() protoreflect.Message + func (x *UpdateRequest) Reset() + func (x *UpdateRequest) String() string + type UpdateRequestMultiError []error + func (m UpdateRequestMultiError) AllErrors() []error + func (m UpdateRequestMultiError) Error() string + type UpdateRequestValidationError struct + func (e UpdateRequestValidationError) Cause() error + func (e UpdateRequestValidationError) Error() string + func (e UpdateRequestValidationError) ErrorName() string + func (e UpdateRequestValidationError) Field() string + func (e UpdateRequestValidationError) Key() bool + func (e UpdateRequestValidationError) Reason() string + type Widget struct + Name string + Uuid string + func WidgetFromExternal(w *WidgetExternal) Widget + func (*Widget) Descriptor() ([]byte, []int) + func (*Widget) ProtoMessage() + func (m *Widget) Validate() error + func (m *Widget) ValidateAll() error + func (x *Widget) GetName() string + func (x *Widget) GetUuid() string + func (x *Widget) ProtoReflect() protoreflect.Message + func (x *Widget) Reset() + func (x *Widget) String() string + type WidgetExternal struct + Name string + Uuid string + func WidgetToExternal(w *Widget) WidgetExternal + type WidgetMultiError []error + func (m WidgetMultiError) AllErrors() []error + func (m WidgetMultiError) Error() string + type WidgetValidationError struct + func (e WidgetValidationError) Cause() error + func (e WidgetValidationError) Error() string + func (e WidgetValidationError) ErrorName() string + func (e WidgetValidationError) Field() string + func (e WidgetValidationError) Key() bool + func (e WidgetValidationError) Reason() string + type WidgetsClient interface + Create func(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*Widget, error) + Delete func(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + FindByID func(ctx context.Context, in *FindRequest, opts ...grpc.CallOption) (*Widget, error) + List func(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) + Update func(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*Widget, error) + func NewWidgetsClient(cc grpc.ClientConnInterface) WidgetsClient + type WidgetsServer interface + Create func(context.Context, *CreateRequest) (*Widget, error) + Delete func(context.Context, *DeleteRequest) (*emptypb.Empty, error) + FindByID func(context.Context, *FindRequest) (*Widget, error) + List func(context.Context, *ListRequest) (*ListResponse, error) + Update func(context.Context, *UpdateRequest) (*Widget, error)