v2

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	RestoreItemAction_AppliesTo_FullMethodName               = "/v2.RestoreItemAction/AppliesTo"
	RestoreItemAction_Execute_FullMethodName                 = "/v2.RestoreItemAction/Execute"
	RestoreItemAction_Progress_FullMethodName                = "/v2.RestoreItemAction/Progress"
	RestoreItemAction_Cancel_FullMethodName                  = "/v2.RestoreItemAction/Cancel"
	RestoreItemAction_AreAdditionalItemsReady_FullMethodName = "/v2.RestoreItemAction/AreAdditionalItemsReady"
)

Variables

View Source
var File_restoreitemaction_v2_RestoreItemAction_proto protoreflect.FileDescriptor
View Source
var RestoreItemAction_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v2.RestoreItemAction",
	HandlerType: (*RestoreItemActionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AppliesTo",
			Handler:    _RestoreItemAction_AppliesTo_Handler,
		},
		{
			MethodName: "Execute",
			Handler:    _RestoreItemAction_Execute_Handler,
		},
		{
			MethodName: "Progress",
			Handler:    _RestoreItemAction_Progress_Handler,
		},
		{
			MethodName: "Cancel",
			Handler:    _RestoreItemAction_Cancel_Handler,
		},
		{
			MethodName: "AreAdditionalItemsReady",
			Handler:    _RestoreItemAction_AreAdditionalItemsReady_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "restoreitemaction/v2/RestoreItemAction.proto",
}

RestoreItemAction_ServiceDesc is the grpc.ServiceDesc for RestoreItemAction service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRestoreItemActionServer

func RegisterRestoreItemActionServer(s grpc.ServiceRegistrar, srv RestoreItemActionServer)

Types

type RestoreItemActionAppliesToRequest

type RestoreItemActionAppliesToRequest struct {
	Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreItemActionAppliesToRequest) Descriptor deprecated

func (*RestoreItemActionAppliesToRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestoreItemActionAppliesToRequest.ProtoReflect.Descriptor instead.

func (*RestoreItemActionAppliesToRequest) GetPlugin

func (*RestoreItemActionAppliesToRequest) ProtoMessage

func (*RestoreItemActionAppliesToRequest) ProtoMessage()

func (*RestoreItemActionAppliesToRequest) ProtoReflect

func (*RestoreItemActionAppliesToRequest) Reset

func (*RestoreItemActionAppliesToRequest) String

type RestoreItemActionAppliesToResponse

type RestoreItemActionAppliesToResponse struct {
	ResourceSelector *generated.ResourceSelector `protobuf:"bytes,1,opt,name=ResourceSelector,proto3" json:"ResourceSelector,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreItemActionAppliesToResponse) Descriptor deprecated

func (*RestoreItemActionAppliesToResponse) Descriptor() ([]byte, []int)

Deprecated: Use RestoreItemActionAppliesToResponse.ProtoReflect.Descriptor instead.

func (*RestoreItemActionAppliesToResponse) GetResourceSelector

func (*RestoreItemActionAppliesToResponse) ProtoMessage

func (*RestoreItemActionAppliesToResponse) ProtoMessage()

func (*RestoreItemActionAppliesToResponse) ProtoReflect

func (*RestoreItemActionAppliesToResponse) Reset

func (*RestoreItemActionAppliesToResponse) String

type RestoreItemActionCancelRequest

type RestoreItemActionCancelRequest struct {
	Plugin      string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
	OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
	Restore     []byte `protobuf:"bytes,3,opt,name=restore,proto3" json:"restore,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreItemActionCancelRequest) Descriptor deprecated

func (*RestoreItemActionCancelRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestoreItemActionCancelRequest.ProtoReflect.Descriptor instead.

func (*RestoreItemActionCancelRequest) GetOperationID

func (x *RestoreItemActionCancelRequest) GetOperationID() string

func (*RestoreItemActionCancelRequest) GetPlugin

func (x *RestoreItemActionCancelRequest) GetPlugin() string

func (*RestoreItemActionCancelRequest) GetRestore

func (x *RestoreItemActionCancelRequest) GetRestore() []byte

func (*RestoreItemActionCancelRequest) ProtoMessage

func (*RestoreItemActionCancelRequest) ProtoMessage()

func (*RestoreItemActionCancelRequest) ProtoReflect

func (*RestoreItemActionCancelRequest) Reset

func (x *RestoreItemActionCancelRequest) Reset()

func (*RestoreItemActionCancelRequest) String

type RestoreItemActionClient

RestoreItemActionClient is the client API for RestoreItemAction 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.

type RestoreItemActionExecuteRequest

type RestoreItemActionExecuteRequest 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"`
	Restore        []byte `protobuf:"bytes,3,opt,name=restore,proto3" json:"restore,omitempty"`
	ItemFromBackup []byte `protobuf:"bytes,4,opt,name=itemFromBackup,proto3" json:"itemFromBackup,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreItemActionExecuteRequest) Descriptor deprecated

func (*RestoreItemActionExecuteRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestoreItemActionExecuteRequest.ProtoReflect.Descriptor instead.

func (*RestoreItemActionExecuteRequest) GetItem

func (x *RestoreItemActionExecuteRequest) GetItem() []byte

func (*RestoreItemActionExecuteRequest) GetItemFromBackup

func (x *RestoreItemActionExecuteRequest) GetItemFromBackup() []byte

func (*RestoreItemActionExecuteRequest) GetPlugin

func (x *RestoreItemActionExecuteRequest) GetPlugin() string

func (*RestoreItemActionExecuteRequest) GetRestore

func (x *RestoreItemActionExecuteRequest) GetRestore() []byte

func (*RestoreItemActionExecuteRequest) ProtoMessage

func (*RestoreItemActionExecuteRequest) ProtoMessage()

func (*RestoreItemActionExecuteRequest) ProtoReflect

func (*RestoreItemActionExecuteRequest) Reset

func (*RestoreItemActionExecuteRequest) String

type RestoreItemActionExecuteResponse

type RestoreItemActionExecuteResponse struct {
	Item                        []byte                          `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	AdditionalItems             []*generated.ResourceIdentifier `protobuf:"bytes,2,rep,name=additionalItems,proto3" json:"additionalItems,omitempty"`
	SkipRestore                 bool                            `protobuf:"varint,3,opt,name=skipRestore,proto3" json:"skipRestore,omitempty"`
	OperationID                 string                          `protobuf:"bytes,4,opt,name=operationID,proto3" json:"operationID,omitempty"`
	WaitForAdditionalItems      bool                            `protobuf:"varint,5,opt,name=waitForAdditionalItems,proto3" json:"waitForAdditionalItems,omitempty"`
	AdditionalItemsReadyTimeout *durationpb.Duration            `protobuf:"bytes,6,opt,name=additionalItemsReadyTimeout,proto3" json:"additionalItemsReadyTimeout,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreItemActionExecuteResponse) Descriptor deprecated

func (*RestoreItemActionExecuteResponse) Descriptor() ([]byte, []int)

Deprecated: Use RestoreItemActionExecuteResponse.ProtoReflect.Descriptor instead.

func (*RestoreItemActionExecuteResponse) GetAdditionalItems

func (*RestoreItemActionExecuteResponse) GetAdditionalItemsReadyTimeout

func (x *RestoreItemActionExecuteResponse) GetAdditionalItemsReadyTimeout() *durationpb.Duration

func (*RestoreItemActionExecuteResponse) GetItem

func (x *RestoreItemActionExecuteResponse) GetItem() []byte

func (*RestoreItemActionExecuteResponse) GetOperationID

func (x *RestoreItemActionExecuteResponse) GetOperationID() string

func (*RestoreItemActionExecuteResponse) GetSkipRestore

func (x *RestoreItemActionExecuteResponse) GetSkipRestore() bool

func (*RestoreItemActionExecuteResponse) GetWaitForAdditionalItems

func (x *RestoreItemActionExecuteResponse) GetWaitForAdditionalItems() bool

func (*RestoreItemActionExecuteResponse) ProtoMessage

func (*RestoreItemActionExecuteResponse) ProtoMessage()

func (*RestoreItemActionExecuteResponse) ProtoReflect

func (*RestoreItemActionExecuteResponse) Reset

func (*RestoreItemActionExecuteResponse) String

type RestoreItemActionItemsReadyRequest

type RestoreItemActionItemsReadyRequest struct {
	Plugin          string                          `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
	Restore         []byte                          `protobuf:"bytes,2,opt,name=restore,proto3" json:"restore,omitempty"`
	AdditionalItems []*generated.ResourceIdentifier `protobuf:"bytes,3,rep,name=additionalItems,proto3" json:"additionalItems,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreItemActionItemsReadyRequest) Descriptor deprecated

func (*RestoreItemActionItemsReadyRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestoreItemActionItemsReadyRequest.ProtoReflect.Descriptor instead.

func (*RestoreItemActionItemsReadyRequest) GetAdditionalItems

func (*RestoreItemActionItemsReadyRequest) GetPlugin

func (*RestoreItemActionItemsReadyRequest) GetRestore

func (x *RestoreItemActionItemsReadyRequest) GetRestore() []byte

func (*RestoreItemActionItemsReadyRequest) ProtoMessage

func (*RestoreItemActionItemsReadyRequest) ProtoMessage()

func (*RestoreItemActionItemsReadyRequest) ProtoReflect

func (*RestoreItemActionItemsReadyRequest) Reset

func (*RestoreItemActionItemsReadyRequest) String

type RestoreItemActionItemsReadyResponse

type RestoreItemActionItemsReadyResponse struct {
	Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreItemActionItemsReadyResponse) Descriptor deprecated

func (*RestoreItemActionItemsReadyResponse) Descriptor() ([]byte, []int)

Deprecated: Use RestoreItemActionItemsReadyResponse.ProtoReflect.Descriptor instead.

func (*RestoreItemActionItemsReadyResponse) GetReady

func (*RestoreItemActionItemsReadyResponse) ProtoMessage

func (*RestoreItemActionItemsReadyResponse) ProtoMessage()

func (*RestoreItemActionItemsReadyResponse) ProtoReflect

func (*RestoreItemActionItemsReadyResponse) Reset

func (*RestoreItemActionItemsReadyResponse) String

type RestoreItemActionProgressRequest

type RestoreItemActionProgressRequest struct {
	Plugin      string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
	OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
	Restore     []byte `protobuf:"bytes,3,opt,name=restore,proto3" json:"restore,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreItemActionProgressRequest) Descriptor deprecated

func (*RestoreItemActionProgressRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestoreItemActionProgressRequest.ProtoReflect.Descriptor instead.

func (*RestoreItemActionProgressRequest) GetOperationID

func (x *RestoreItemActionProgressRequest) GetOperationID() string

func (*RestoreItemActionProgressRequest) GetPlugin

func (*RestoreItemActionProgressRequest) GetRestore

func (x *RestoreItemActionProgressRequest) GetRestore() []byte

func (*RestoreItemActionProgressRequest) ProtoMessage

func (*RestoreItemActionProgressRequest) ProtoMessage()

func (*RestoreItemActionProgressRequest) ProtoReflect

func (*RestoreItemActionProgressRequest) Reset

func (*RestoreItemActionProgressRequest) String

type RestoreItemActionProgressResponse

type RestoreItemActionProgressResponse struct {
	Progress *generated.OperationProgress `protobuf:"bytes,1,opt,name=progress,proto3" json:"progress,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreItemActionProgressResponse) Descriptor deprecated

func (*RestoreItemActionProgressResponse) Descriptor() ([]byte, []int)

Deprecated: Use RestoreItemActionProgressResponse.ProtoReflect.Descriptor instead.

func (*RestoreItemActionProgressResponse) GetProgress

func (*RestoreItemActionProgressResponse) ProtoMessage

func (*RestoreItemActionProgressResponse) ProtoMessage()

func (*RestoreItemActionProgressResponse) ProtoReflect

func (*RestoreItemActionProgressResponse) Reset

func (*RestoreItemActionProgressResponse) String

type RestoreItemActionServer

RestoreItemActionServer is the server API for RestoreItemAction service. All implementations should embed UnimplementedRestoreItemActionServer for forward compatibility

type UnimplementedRestoreItemActionServer

type UnimplementedRestoreItemActionServer struct {
}

UnimplementedRestoreItemActionServer should be embedded to have forward compatible implementations.

func (UnimplementedRestoreItemActionServer) Cancel

type UnsafeRestoreItemActionServer added in v1.15.0

type UnsafeRestoreItemActionServer interface {
	// contains filtered or unexported methods
}

UnsafeRestoreItemActionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RestoreItemActionServer will result in compilation errors.

Jump to

Keyboard shortcuts

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