Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterItemBlockActionServer(s grpc.ServiceRegistrar, srv ItemBlockActionServer)
- type ItemBlockActionAppliesToRequest
- func (*ItemBlockActionAppliesToRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ItemBlockActionAppliesToRequest) GetPlugin() string
- func (*ItemBlockActionAppliesToRequest) ProtoMessage()
- func (x *ItemBlockActionAppliesToRequest) ProtoReflect() protoreflect.Message
- func (x *ItemBlockActionAppliesToRequest) Reset()
- func (x *ItemBlockActionAppliesToRequest) String() string
- type ItemBlockActionAppliesToResponse
- func (*ItemBlockActionAppliesToResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ItemBlockActionAppliesToResponse) GetResourceSelector() *generated.ResourceSelector
- func (*ItemBlockActionAppliesToResponse) ProtoMessage()
- func (x *ItemBlockActionAppliesToResponse) ProtoReflect() protoreflect.Message
- func (x *ItemBlockActionAppliesToResponse) Reset()
- func (x *ItemBlockActionAppliesToResponse) String() string
- type ItemBlockActionClient
- type ItemBlockActionGetRelatedItemsRequest
- func (*ItemBlockActionGetRelatedItemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ItemBlockActionGetRelatedItemsRequest) GetBackup() []byte
- func (x *ItemBlockActionGetRelatedItemsRequest) GetItem() []byte
- func (x *ItemBlockActionGetRelatedItemsRequest) GetPlugin() string
- func (*ItemBlockActionGetRelatedItemsRequest) ProtoMessage()
- func (x *ItemBlockActionGetRelatedItemsRequest) ProtoReflect() protoreflect.Message
- func (x *ItemBlockActionGetRelatedItemsRequest) Reset()
- func (x *ItemBlockActionGetRelatedItemsRequest) String() string
- type ItemBlockActionGetRelatedItemsResponse
- func (*ItemBlockActionGetRelatedItemsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ItemBlockActionGetRelatedItemsResponse) GetRelatedItems() []*generated.ResourceIdentifier
- func (*ItemBlockActionGetRelatedItemsResponse) ProtoMessage()
- func (x *ItemBlockActionGetRelatedItemsResponse) ProtoReflect() protoreflect.Message
- func (x *ItemBlockActionGetRelatedItemsResponse) Reset()
- func (x *ItemBlockActionGetRelatedItemsResponse) String() string
- type ItemBlockActionServer
- type UnimplementedItemBlockActionServer
- func (UnimplementedItemBlockActionServer) AppliesTo(context.Context, *ItemBlockActionAppliesToRequest) (*ItemBlockActionAppliesToResponse, error)
- func (UnimplementedItemBlockActionServer) GetRelatedItems(context.Context, *ItemBlockActionGetRelatedItemsRequest) (*ItemBlockActionGetRelatedItemsResponse, error)
- type UnsafeItemBlockActionServer
Constants ¶
const ( ItemBlockAction_AppliesTo_FullMethodName = "/v1.ItemBlockAction/AppliesTo" ItemBlockAction_GetRelatedItems_FullMethodName = "/v1.ItemBlockAction/GetRelatedItems" )
Variables ¶
var File_itemblockaction_v1_ItemBlockAction_proto protoreflect.FileDescriptor
var ItemBlockAction_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.ItemBlockAction", HandlerType: (*ItemBlockActionServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AppliesTo", Handler: _ItemBlockAction_AppliesTo_Handler, }, { MethodName: "GetRelatedItems", Handler: _ItemBlockAction_GetRelatedItems_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "itemblockaction/v1/ItemBlockAction.proto", }
ItemBlockAction_ServiceDesc is the grpc.ServiceDesc for ItemBlockAction service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterItemBlockActionServer ¶
func RegisterItemBlockActionServer(s grpc.ServiceRegistrar, srv ItemBlockActionServer)
Types ¶
type ItemBlockActionAppliesToRequest ¶
type ItemBlockActionAppliesToRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` // contains filtered or unexported fields }
func (*ItemBlockActionAppliesToRequest) Descriptor
deprecated
func (*ItemBlockActionAppliesToRequest) Descriptor() ([]byte, []int)
Deprecated: Use ItemBlockActionAppliesToRequest.ProtoReflect.Descriptor instead.
func (*ItemBlockActionAppliesToRequest) GetPlugin ¶
func (x *ItemBlockActionAppliesToRequest) GetPlugin() string
func (*ItemBlockActionAppliesToRequest) ProtoMessage ¶
func (*ItemBlockActionAppliesToRequest) ProtoMessage()
func (*ItemBlockActionAppliesToRequest) ProtoReflect ¶
func (x *ItemBlockActionAppliesToRequest) ProtoReflect() protoreflect.Message
func (*ItemBlockActionAppliesToRequest) Reset ¶
func (x *ItemBlockActionAppliesToRequest) Reset()
func (*ItemBlockActionAppliesToRequest) String ¶
func (x *ItemBlockActionAppliesToRequest) String() string
type ItemBlockActionAppliesToResponse ¶
type ItemBlockActionAppliesToResponse struct { ResourceSelector *generated.ResourceSelector `protobuf:"bytes,1,opt,name=ResourceSelector,proto3" json:"ResourceSelector,omitempty"` // contains filtered or unexported fields }
func (*ItemBlockActionAppliesToResponse) Descriptor
deprecated
func (*ItemBlockActionAppliesToResponse) Descriptor() ([]byte, []int)
Deprecated: Use ItemBlockActionAppliesToResponse.ProtoReflect.Descriptor instead.
func (*ItemBlockActionAppliesToResponse) GetResourceSelector ¶
func (x *ItemBlockActionAppliesToResponse) GetResourceSelector() *generated.ResourceSelector
func (*ItemBlockActionAppliesToResponse) ProtoMessage ¶
func (*ItemBlockActionAppliesToResponse) ProtoMessage()
func (*ItemBlockActionAppliesToResponse) ProtoReflect ¶
func (x *ItemBlockActionAppliesToResponse) ProtoReflect() protoreflect.Message
func (*ItemBlockActionAppliesToResponse) Reset ¶
func (x *ItemBlockActionAppliesToResponse) Reset()
func (*ItemBlockActionAppliesToResponse) String ¶
func (x *ItemBlockActionAppliesToResponse) String() string
type ItemBlockActionClient ¶
type ItemBlockActionClient interface { AppliesTo(ctx context.Context, in *ItemBlockActionAppliesToRequest, opts ...grpc.CallOption) (*ItemBlockActionAppliesToResponse, error) GetRelatedItems(ctx context.Context, in *ItemBlockActionGetRelatedItemsRequest, opts ...grpc.CallOption) (*ItemBlockActionGetRelatedItemsResponse, error) }
ItemBlockActionClient is the client API for ItemBlockAction 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 NewItemBlockActionClient ¶
func NewItemBlockActionClient(cc grpc.ClientConnInterface) ItemBlockActionClient
type ItemBlockActionGetRelatedItemsRequest ¶
type ItemBlockActionGetRelatedItemsRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` Item []byte `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"` Backup []byte `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"` // contains filtered or unexported fields }
func (*ItemBlockActionGetRelatedItemsRequest) Descriptor
deprecated
func (*ItemBlockActionGetRelatedItemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ItemBlockActionGetRelatedItemsRequest.ProtoReflect.Descriptor instead.
func (*ItemBlockActionGetRelatedItemsRequest) GetBackup ¶
func (x *ItemBlockActionGetRelatedItemsRequest) GetBackup() []byte
func (*ItemBlockActionGetRelatedItemsRequest) GetItem ¶
func (x *ItemBlockActionGetRelatedItemsRequest) GetItem() []byte
func (*ItemBlockActionGetRelatedItemsRequest) GetPlugin ¶
func (x *ItemBlockActionGetRelatedItemsRequest) GetPlugin() string
func (*ItemBlockActionGetRelatedItemsRequest) ProtoMessage ¶
func (*ItemBlockActionGetRelatedItemsRequest) ProtoMessage()
func (*ItemBlockActionGetRelatedItemsRequest) ProtoReflect ¶
func (x *ItemBlockActionGetRelatedItemsRequest) ProtoReflect() protoreflect.Message
func (*ItemBlockActionGetRelatedItemsRequest) Reset ¶
func (x *ItemBlockActionGetRelatedItemsRequest) Reset()
func (*ItemBlockActionGetRelatedItemsRequest) String ¶
func (x *ItemBlockActionGetRelatedItemsRequest) String() string
type ItemBlockActionGetRelatedItemsResponse ¶
type ItemBlockActionGetRelatedItemsResponse struct { RelatedItems []*generated.ResourceIdentifier `protobuf:"bytes,1,rep,name=relatedItems,proto3" json:"relatedItems,omitempty"` // contains filtered or unexported fields }
func (*ItemBlockActionGetRelatedItemsResponse) Descriptor
deprecated
func (*ItemBlockActionGetRelatedItemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ItemBlockActionGetRelatedItemsResponse.ProtoReflect.Descriptor instead.
func (*ItemBlockActionGetRelatedItemsResponse) GetRelatedItems ¶
func (x *ItemBlockActionGetRelatedItemsResponse) GetRelatedItems() []*generated.ResourceIdentifier
func (*ItemBlockActionGetRelatedItemsResponse) ProtoMessage ¶
func (*ItemBlockActionGetRelatedItemsResponse) ProtoMessage()
func (*ItemBlockActionGetRelatedItemsResponse) ProtoReflect ¶
func (x *ItemBlockActionGetRelatedItemsResponse) ProtoReflect() protoreflect.Message
func (*ItemBlockActionGetRelatedItemsResponse) Reset ¶
func (x *ItemBlockActionGetRelatedItemsResponse) Reset()
func (*ItemBlockActionGetRelatedItemsResponse) String ¶
func (x *ItemBlockActionGetRelatedItemsResponse) String() string
type ItemBlockActionServer ¶
type ItemBlockActionServer interface { AppliesTo(context.Context, *ItemBlockActionAppliesToRequest) (*ItemBlockActionAppliesToResponse, error) GetRelatedItems(context.Context, *ItemBlockActionGetRelatedItemsRequest) (*ItemBlockActionGetRelatedItemsResponse, error) }
ItemBlockActionServer is the server API for ItemBlockAction service. All implementations should embed UnimplementedItemBlockActionServer for forward compatibility
type UnimplementedItemBlockActionServer ¶
type UnimplementedItemBlockActionServer struct { }
UnimplementedItemBlockActionServer should be embedded to have forward compatible implementations.
func (UnimplementedItemBlockActionServer) AppliesTo ¶
func (UnimplementedItemBlockActionServer) AppliesTo(context.Context, *ItemBlockActionAppliesToRequest) (*ItemBlockActionAppliesToResponse, error)
func (UnimplementedItemBlockActionServer) GetRelatedItems ¶
func (UnimplementedItemBlockActionServer) GetRelatedItems(context.Context, *ItemBlockActionGetRelatedItemsRequest) (*ItemBlockActionGetRelatedItemsResponse, error)
type UnsafeItemBlockActionServer ¶
type UnsafeItemBlockActionServer interface {
// contains filtered or unexported methods
}
UnsafeItemBlockActionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ItemBlockActionServer will result in compilation errors.