v2

package
v1.15.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	BackupItemAction_AppliesTo_FullMethodName = "/v2.BackupItemAction/AppliesTo"
	BackupItemAction_Execute_FullMethodName   = "/v2.BackupItemAction/Execute"
	BackupItemAction_Progress_FullMethodName  = "/v2.BackupItemAction/Progress"
	BackupItemAction_Cancel_FullMethodName    = "/v2.BackupItemAction/Cancel"
)

Variables

View Source
var BackupItemAction_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v2.BackupItemAction",
	HandlerType: (*BackupItemActionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AppliesTo",
			Handler:    _BackupItemAction_AppliesTo_Handler,
		},
		{
			MethodName: "Execute",
			Handler:    _BackupItemAction_Execute_Handler,
		},
		{
			MethodName: "Progress",
			Handler:    _BackupItemAction_Progress_Handler,
		},
		{
			MethodName: "Cancel",
			Handler:    _BackupItemAction_Cancel_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "backupitemaction/v2/BackupItemAction.proto",
}

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

View Source
var File_backupitemaction_v2_BackupItemAction_proto protoreflect.FileDescriptor

Functions

func RegisterBackupItemActionServer

func RegisterBackupItemActionServer(s grpc.ServiceRegistrar, srv BackupItemActionServer)

Types

type BackupItemActionAppliesToRequest

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

func (*BackupItemActionAppliesToRequest) Descriptor deprecated

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

Deprecated: Use BackupItemActionAppliesToRequest.ProtoReflect.Descriptor instead.

func (*BackupItemActionAppliesToRequest) GetPlugin

func (*BackupItemActionAppliesToRequest) ProtoMessage

func (*BackupItemActionAppliesToRequest) ProtoMessage()

func (*BackupItemActionAppliesToRequest) ProtoReflect

func (*BackupItemActionAppliesToRequest) Reset

func (*BackupItemActionAppliesToRequest) String

type BackupItemActionAppliesToResponse

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

func (*BackupItemActionAppliesToResponse) Descriptor deprecated

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

Deprecated: Use BackupItemActionAppliesToResponse.ProtoReflect.Descriptor instead.

func (*BackupItemActionAppliesToResponse) GetResourceSelector

func (*BackupItemActionAppliesToResponse) ProtoMessage

func (*BackupItemActionAppliesToResponse) ProtoMessage()

func (*BackupItemActionAppliesToResponse) ProtoReflect

func (*BackupItemActionAppliesToResponse) Reset

func (*BackupItemActionAppliesToResponse) String

type BackupItemActionCancelRequest

type BackupItemActionCancelRequest 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"`
	Backup      []byte `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupItemActionCancelRequest) Descriptor deprecated

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

Deprecated: Use BackupItemActionCancelRequest.ProtoReflect.Descriptor instead.

func (*BackupItemActionCancelRequest) GetBackup

func (x *BackupItemActionCancelRequest) GetBackup() []byte

func (*BackupItemActionCancelRequest) GetOperationID

func (x *BackupItemActionCancelRequest) GetOperationID() string

func (*BackupItemActionCancelRequest) GetPlugin

func (x *BackupItemActionCancelRequest) GetPlugin() string

func (*BackupItemActionCancelRequest) ProtoMessage

func (*BackupItemActionCancelRequest) ProtoMessage()

func (*BackupItemActionCancelRequest) ProtoReflect

func (*BackupItemActionCancelRequest) Reset

func (x *BackupItemActionCancelRequest) Reset()

func (*BackupItemActionCancelRequest) String

type BackupItemActionClient

BackupItemActionClient is the client API for BackupItemAction 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 BackupItemActionProgressRequest

type BackupItemActionProgressRequest 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"`
	Backup      []byte `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupItemActionProgressRequest) Descriptor deprecated

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

Deprecated: Use BackupItemActionProgressRequest.ProtoReflect.Descriptor instead.

func (*BackupItemActionProgressRequest) GetBackup

func (x *BackupItemActionProgressRequest) GetBackup() []byte

func (*BackupItemActionProgressRequest) GetOperationID

func (x *BackupItemActionProgressRequest) GetOperationID() string

func (*BackupItemActionProgressRequest) GetPlugin

func (x *BackupItemActionProgressRequest) GetPlugin() string

func (*BackupItemActionProgressRequest) ProtoMessage

func (*BackupItemActionProgressRequest) ProtoMessage()

func (*BackupItemActionProgressRequest) ProtoReflect

func (*BackupItemActionProgressRequest) Reset

func (*BackupItemActionProgressRequest) String

type BackupItemActionProgressResponse

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

func (*BackupItemActionProgressResponse) Descriptor deprecated

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

Deprecated: Use BackupItemActionProgressResponse.ProtoReflect.Descriptor instead.

func (*BackupItemActionProgressResponse) GetProgress

func (*BackupItemActionProgressResponse) ProtoMessage

func (*BackupItemActionProgressResponse) ProtoMessage()

func (*BackupItemActionProgressResponse) ProtoReflect

func (*BackupItemActionProgressResponse) Reset

func (*BackupItemActionProgressResponse) String

type BackupItemActionServer

BackupItemActionServer is the server API for BackupItemAction service. All implementations should embed UnimplementedBackupItemActionServer for forward compatibility

type ExecuteRequest

type ExecuteRequest 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 (*ExecuteRequest) Descriptor deprecated

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

Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.

func (*ExecuteRequest) GetBackup

func (x *ExecuteRequest) GetBackup() []byte

func (*ExecuteRequest) GetItem

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

func (*ExecuteRequest) GetPlugin

func (x *ExecuteRequest) GetPlugin() string

func (*ExecuteRequest) ProtoMessage

func (*ExecuteRequest) ProtoMessage()

func (*ExecuteRequest) ProtoReflect

func (x *ExecuteRequest) ProtoReflect() protoreflect.Message

func (*ExecuteRequest) Reset

func (x *ExecuteRequest) Reset()

func (*ExecuteRequest) String

func (x *ExecuteRequest) String() string

type ExecuteResponse

type ExecuteResponse 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"`
	OperationID        string                          `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"`
	PostOperationItems []*generated.ResourceIdentifier `protobuf:"bytes,4,rep,name=postOperationItems,proto3" json:"postOperationItems,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteResponse) Descriptor deprecated

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

Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead.

func (*ExecuteResponse) GetAdditionalItems

func (x *ExecuteResponse) GetAdditionalItems() []*generated.ResourceIdentifier

func (*ExecuteResponse) GetItem

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

func (*ExecuteResponse) GetOperationID

func (x *ExecuteResponse) GetOperationID() string

func (*ExecuteResponse) GetPostOperationItems

func (x *ExecuteResponse) GetPostOperationItems() []*generated.ResourceIdentifier

func (*ExecuteResponse) ProtoMessage

func (*ExecuteResponse) ProtoMessage()

func (*ExecuteResponse) ProtoReflect

func (x *ExecuteResponse) ProtoReflect() protoreflect.Message

func (*ExecuteResponse) Reset

func (x *ExecuteResponse) Reset()

func (*ExecuteResponse) String

func (x *ExecuteResponse) String() string

type UnimplementedBackupItemActionServer

type UnimplementedBackupItemActionServer struct {
}

UnimplementedBackupItemActionServer should be embedded to have forward compatible implementations.

func (UnimplementedBackupItemActionServer) Cancel

func (UnimplementedBackupItemActionServer) Execute

type UnsafeBackupItemActionServer added in v1.15.0

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

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

Jump to

Keyboard shortcuts

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