entity

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: BSD-2-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JobStatusVisible = 128
)

Variables

View Source
var (
	CopyStatus_name = map[int32]string{
		0:   "DRAFT",
		1:   "PENDING",
		2:   "RUNNING",
		3:   "STAGED",
		4:   "SUBMITED",
		255: "FAILED",
	}
	CopyStatus_value = map[string]int32{
		"DRAFT":    0,
		"PENDING":  1,
		"RUNNING":  2,
		"STAGED":   3,
		"SUBMITED": 4,
		"FAILED":   255,
	}
)

Enum value maps for CopyStatus.

View Source
var (
	JobStatus_name = map[int32]string{
		0:   "DRAFT",
		1:   "NOT_READY",
		2:   "PENDING",
		3:   "PROCESSING",
		4:   "COMPLETED",
		127: "FAILED",
		255: "DELETED",
	}
	JobStatus_value = map[string]int32{
		"DRAFT":      0,
		"NOT_READY":  1,
		"PENDING":    2,
		"PROCESSING": 3,
		"COMPLETED":  4,
		"FAILED":     127,
		"DELETED":    255,
	}
)

Enum value maps for JobStatus.

View Source
var (
	JobArchiveStep_name = map[int32]string{
		0:   "PENDING",
		1:   "WAIT_FOR_TAPE",
		2:   "COPYING",
		255: "FINISHED",
	}
	JobArchiveStep_value = map[string]int32{
		"PENDING":       0,
		"WAIT_FOR_TAPE": 1,
		"COPYING":       2,
		"FINISHED":      255,
	}
)

Enum value maps for JobArchiveStep.

View Source
var (
	JobRestoreStep_name = map[int32]string{
		0:   "PENDING",
		1:   "WAIT_FOR_TAPE",
		2:   "COPYING",
		255: "FINISHED",
	}
	JobRestoreStep_value = map[string]int32{
		"PENDING":       0,
		"WAIT_FOR_TAPE": 1,
		"COPYING":       2,
		"FINISHED":      255,
	}
)

Enum value maps for JobRestoreStep.

View Source
var (
	LibraryEntityType_name = map[int32]string{
		0: "NONE",
		1: "FILE",
		2: "TAPE",
		3: "POSITION",
	}
	LibraryEntityType_value = map[string]int32{
		"NONE":     0,
		"FILE":     1,
		"TAPE":     2,
		"POSITION": 3,
	}
)

Enum value maps for LibraryEntityType.

View Source
var File_copy_status_proto protoreflect.FileDescriptor
View Source
var File_job_archive_proto protoreflect.FileDescriptor
View Source
var File_job_restore_proto protoreflect.FileDescriptor
View Source
var File_library_entity_type_proto protoreflect.FileDescriptor
View Source
var File_position_proto protoreflect.FileDescriptor
View Source
var File_service_proto protoreflect.FileDescriptor
View Source
var File_source_proto protoreflect.FileDescriptor
View Source
var Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "service.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FileGet",
			Handler:    _Service_FileGet_Handler,
		},
		{
			MethodName: "FileEdit",
			Handler:    _Service_FileEdit_Handler,
		},
		{
			MethodName: "FileMkdir",
			Handler:    _Service_FileMkdir_Handler,
		},
		{
			MethodName: "FileDelete",
			Handler:    _Service_FileDelete_Handler,
		},
		{
			MethodName: "FileListParents",
			Handler:    _Service_FileListParents_Handler,
		},
		{
			MethodName: "TapeList",
			Handler:    _Service_TapeList_Handler,
		},
		{
			MethodName: "TapeDelete",
			Handler:    _Service_TapeDelete_Handler,
		},
		{
			MethodName: "TapeGetPositions",
			Handler:    _Service_TapeGetPositions_Handler,
		},
		{
			MethodName: "JobList",
			Handler:    _Service_JobList_Handler,
		},
		{
			MethodName: "JobCreate",
			Handler:    _Service_JobCreate_Handler,
		},
		{
			MethodName: "JobEditState",
			Handler:    _Service_JobEditState_Handler,
		},
		{
			MethodName: "JobDelete",
			Handler:    _Service_JobDelete_Handler,
		},
		{
			MethodName: "JobDispatch",
			Handler:    _Service_JobDispatch_Handler,
		},
		{
			MethodName: "JobDisplay",
			Handler:    _Service_JobDisplay_Handler,
		},
		{
			MethodName: "JobGetLog",
			Handler:    _Service_JobGetLog_Handler,
		},
		{
			MethodName: "SourceList",
			Handler:    _Service_SourceList_Handler,
		},
		{
			MethodName: "SourceGetSize",
			Handler:    _Service_SourceGetSize_Handler,
		},
		{
			MethodName: "DeviceList",
			Handler:    _Service_DeviceList_Handler,
		},
		{
			MethodName: "LibraryExport",
			Handler:    _Service_LibraryExport_Handler,
		},
		{
			MethodName: "LibraryTrim",
			Handler:    _Service_LibraryTrim_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service.proto",
}

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

Functions

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

func Scan

func Scan(dst proto.Message, src interface{}) error

Scan implement database/sql.Scanner

func ToEnum added in v0.1.13

func ToEnum[T ~int32](pbmap map[string]int32, default_ T) func(str string) T

func Value

func Value(src proto.Message) (driver.Value, error)

Value implement database/sql/driver.Valuer

Types

type CopyStatus

type CopyStatus int32
const (
	CopyStatus_DRAFT    CopyStatus = 0
	CopyStatus_PENDING  CopyStatus = 1 // waiting in queue
	CopyStatus_RUNNING  CopyStatus = 2
	CopyStatus_STAGED   CopyStatus = 3
	CopyStatus_SUBMITED CopyStatus = 4
	CopyStatus_FAILED   CopyStatus = 255
)

func (CopyStatus) Descriptor

func (CopyStatus) Descriptor() protoreflect.EnumDescriptor

func (CopyStatus) Enum

func (x CopyStatus) Enum() *CopyStatus

func (CopyStatus) EnumDescriptor deprecated

func (CopyStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use CopyStatus.Descriptor instead.

func (CopyStatus) Number

func (x CopyStatus) Number() protoreflect.EnumNumber

func (CopyStatus) String

func (x CopyStatus) String() string

func (CopyStatus) Type

type CreatableJob

type CreatableJob struct {
	Priority int64     `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`
	Param    *JobParam `protobuf:"bytes,17,opt,name=param,proto3" json:"param,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatableJob) Descriptor deprecated

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

Deprecated: Use CreatableJob.ProtoReflect.Descriptor instead.

func (*CreatableJob) GetParam

func (x *CreatableJob) GetParam() *JobParam

func (*CreatableJob) GetPriority

func (x *CreatableJob) GetPriority() int64

func (*CreatableJob) ProtoMessage

func (*CreatableJob) ProtoMessage()

func (*CreatableJob) ProtoReflect

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

func (*CreatableJob) Reset

func (x *CreatableJob) Reset()

func (*CreatableJob) String

func (x *CreatableJob) String() string

type DeviceListReply

type DeviceListReply struct {
	Devices []string `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceListReply) Descriptor deprecated

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

Deprecated: Use DeviceListReply.ProtoReflect.Descriptor instead.

func (*DeviceListReply) GetDevices

func (x *DeviceListReply) GetDevices() []string

func (*DeviceListReply) ProtoMessage

func (*DeviceListReply) ProtoMessage()

func (*DeviceListReply) ProtoReflect

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

func (*DeviceListReply) Reset

func (x *DeviceListReply) Reset()

func (*DeviceListReply) String

func (x *DeviceListReply) String() string

type DeviceListRequest

type DeviceListRequest struct {
	// contains filtered or unexported fields
}

func (*DeviceListRequest) Descriptor deprecated

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

Deprecated: Use DeviceListRequest.ProtoReflect.Descriptor instead.

func (*DeviceListRequest) ProtoMessage

func (*DeviceListRequest) ProtoMessage()

func (*DeviceListRequest) ProtoReflect

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

func (*DeviceListRequest) Reset

func (x *DeviceListRequest) Reset()

func (*DeviceListRequest) String

func (x *DeviceListRequest) String() string

type EditedFile

type EditedFile struct {
	ParentId *int64  `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"`
	Name     *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*EditedFile) Descriptor deprecated

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

Deprecated: Use EditedFile.ProtoReflect.Descriptor instead.

func (*EditedFile) GetName

func (x *EditedFile) GetName() string

func (*EditedFile) GetParentId

func (x *EditedFile) GetParentId() int64

func (*EditedFile) ProtoMessage

func (*EditedFile) ProtoMessage()

func (*EditedFile) ProtoReflect

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

func (*EditedFile) Reset

func (x *EditedFile) Reset()

func (*EditedFile) String

func (x *EditedFile) String() string

type File

type File struct {
	Id       int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ParentId int64  `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Mode     int64  `protobuf:"varint,17,opt,name=mode,proto3" json:"mode,omitempty"`
	ModTime  int64  `protobuf:"varint,18,opt,name=mod_time,json=modTime,proto3" json:"mod_time,omitempty"`
	Size     int64  `protobuf:"varint,19,opt,name=size,proto3" json:"size,omitempty"`
	Hash     []byte `protobuf:"bytes,20,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*File) Descriptor deprecated

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

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetHash

func (x *File) GetHash() []byte

func (*File) GetId

func (x *File) GetId() int64

func (*File) GetModTime

func (x *File) GetModTime() int64

func (*File) GetMode

func (x *File) GetMode() int64

func (*File) GetName

func (x *File) GetName() string

func (*File) GetParentId

func (x *File) GetParentId() int64

func (*File) GetSize

func (x *File) GetSize() int64

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) ProtoReflect

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

func (*File) Reset

func (x *File) Reset()

func (*File) String

func (x *File) String() string

type FileDeleteReply

type FileDeleteReply struct {
	// contains filtered or unexported fields
}

func (*FileDeleteReply) Descriptor deprecated

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

Deprecated: Use FileDeleteReply.ProtoReflect.Descriptor instead.

func (*FileDeleteReply) ProtoMessage

func (*FileDeleteReply) ProtoMessage()

func (*FileDeleteReply) ProtoReflect

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

func (*FileDeleteReply) Reset

func (x *FileDeleteReply) Reset()

func (*FileDeleteReply) String

func (x *FileDeleteReply) String() string

type FileDeleteRequest

type FileDeleteRequest struct {
	Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*FileDeleteRequest) Descriptor deprecated

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

Deprecated: Use FileDeleteRequest.ProtoReflect.Descriptor instead.

func (*FileDeleteRequest) GetIds

func (x *FileDeleteRequest) GetIds() []int64

func (*FileDeleteRequest) ProtoMessage

func (*FileDeleteRequest) ProtoMessage()

func (*FileDeleteRequest) ProtoReflect

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

func (*FileDeleteRequest) Reset

func (x *FileDeleteRequest) Reset()

func (*FileDeleteRequest) String

func (x *FileDeleteRequest) String() string

type FileEditReply

type FileEditReply struct {
	File *File `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*FileEditReply) Descriptor deprecated

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

Deprecated: Use FileEditReply.ProtoReflect.Descriptor instead.

func (*FileEditReply) GetFile

func (x *FileEditReply) GetFile() *File

func (*FileEditReply) ProtoMessage

func (*FileEditReply) ProtoMessage()

func (*FileEditReply) ProtoReflect

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

func (*FileEditReply) Reset

func (x *FileEditReply) Reset()

func (*FileEditReply) String

func (x *FileEditReply) String() string

type FileEditRequest

type FileEditRequest struct {
	Id   int64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	File *EditedFile `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*FileEditRequest) Descriptor deprecated

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

Deprecated: Use FileEditRequest.ProtoReflect.Descriptor instead.

func (*FileEditRequest) GetFile

func (x *FileEditRequest) GetFile() *EditedFile

func (*FileEditRequest) GetId

func (x *FileEditRequest) GetId() int64

func (*FileEditRequest) ProtoMessage

func (*FileEditRequest) ProtoMessage()

func (*FileEditRequest) ProtoReflect

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

func (*FileEditRequest) Reset

func (x *FileEditRequest) Reset()

func (*FileEditRequest) String

func (x *FileEditRequest) String() string

type FileGetReply

type FileGetReply struct {
	File      *File       `protobuf:"bytes,1,opt,name=file,proto3,oneof" json:"file,omitempty"`
	Positions []*Position `protobuf:"bytes,2,rep,name=positions,proto3" json:"positions,omitempty"`
	Children  []*File     `protobuf:"bytes,17,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*FileGetReply) Descriptor deprecated

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

Deprecated: Use FileGetReply.ProtoReflect.Descriptor instead.

func (*FileGetReply) GetChildren

func (x *FileGetReply) GetChildren() []*File

func (*FileGetReply) GetFile

func (x *FileGetReply) GetFile() *File

func (*FileGetReply) GetPositions

func (x *FileGetReply) GetPositions() []*Position

func (*FileGetReply) ProtoMessage

func (*FileGetReply) ProtoMessage()

func (*FileGetReply) ProtoReflect

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

func (*FileGetReply) Reset

func (x *FileGetReply) Reset()

func (*FileGetReply) String

func (x *FileGetReply) String() string

type FileGetRequest

type FileGetRequest struct {
	Id       int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	NeedSize *bool `protobuf:"varint,17,opt,name=needSize,proto3,oneof" json:"needSize,omitempty"`
	// contains filtered or unexported fields
}

func (*FileGetRequest) Descriptor deprecated

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

Deprecated: Use FileGetRequest.ProtoReflect.Descriptor instead.

func (*FileGetRequest) GetId

func (x *FileGetRequest) GetId() int64

func (*FileGetRequest) GetNeedSize added in v0.1.17

func (x *FileGetRequest) GetNeedSize() bool

func (*FileGetRequest) ProtoMessage

func (*FileGetRequest) ProtoMessage()

func (*FileGetRequest) ProtoReflect

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

func (*FileGetRequest) Reset

func (x *FileGetRequest) Reset()

func (*FileGetRequest) String

func (x *FileGetRequest) String() string

type FileListParentsReply

type FileListParentsReply struct {
	Parents []*File `protobuf:"bytes,1,rep,name=parents,proto3" json:"parents,omitempty"`
	// contains filtered or unexported fields
}

func (*FileListParentsReply) Descriptor deprecated

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

Deprecated: Use FileListParentsReply.ProtoReflect.Descriptor instead.

func (*FileListParentsReply) GetParents

func (x *FileListParentsReply) GetParents() []*File

func (*FileListParentsReply) ProtoMessage

func (*FileListParentsReply) ProtoMessage()

func (*FileListParentsReply) ProtoReflect

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

func (*FileListParentsReply) Reset

func (x *FileListParentsReply) Reset()

func (*FileListParentsReply) String

func (x *FileListParentsReply) String() string

type FileListParentsRequest

type FileListParentsRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*FileListParentsRequest) Descriptor deprecated

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

Deprecated: Use FileListParentsRequest.ProtoReflect.Descriptor instead.

func (*FileListParentsRequest) GetId

func (x *FileListParentsRequest) GetId() int64

func (*FileListParentsRequest) ProtoMessage

func (*FileListParentsRequest) ProtoMessage()

func (*FileListParentsRequest) ProtoReflect

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

func (*FileListParentsRequest) Reset

func (x *FileListParentsRequest) Reset()

func (*FileListParentsRequest) String

func (x *FileListParentsRequest) String() string

type FileMkdirReply

type FileMkdirReply struct {
	File *File `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*FileMkdirReply) Descriptor deprecated

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

Deprecated: Use FileMkdirReply.ProtoReflect.Descriptor instead.

func (*FileMkdirReply) GetFile

func (x *FileMkdirReply) GetFile() *File

func (*FileMkdirReply) ProtoMessage

func (*FileMkdirReply) ProtoMessage()

func (*FileMkdirReply) ProtoReflect

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

func (*FileMkdirReply) Reset

func (x *FileMkdirReply) Reset()

func (*FileMkdirReply) String

func (x *FileMkdirReply) String() string

type FileMkdirRequest

type FileMkdirRequest struct {
	ParentId int64  `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Path     string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*FileMkdirRequest) Descriptor deprecated

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

Deprecated: Use FileMkdirRequest.ProtoReflect.Descriptor instead.

func (*FileMkdirRequest) GetParentId

func (x *FileMkdirRequest) GetParentId() int64

func (*FileMkdirRequest) GetPath

func (x *FileMkdirRequest) GetPath() string

func (*FileMkdirRequest) ProtoMessage

func (*FileMkdirRequest) ProtoMessage()

func (*FileMkdirRequest) ProtoReflect

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

func (*FileMkdirRequest) Reset

func (x *FileMkdirRequest) Reset()

func (*FileMkdirRequest) String

func (x *FileMkdirRequest) String() string

type Job

type Job struct {
	Id           int64     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Status       JobStatus `protobuf:"varint,2,opt,name=status,proto3,enum=job.JobStatus" json:"status,omitempty"`
	Priority     int64     `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`
	CreateTimeNs int64     `protobuf:"varint,4,opt,name=create_time_ns,json=createTimeNs,proto3" json:"create_time_ns,omitempty"`
	UpdateTimeNs int64     `protobuf:"varint,5,opt,name=update_time_ns,json=updateTimeNs,proto3" json:"update_time_ns,omitempty"`
	State        *JobState `protobuf:"bytes,17,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*Job) Descriptor deprecated

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetCreateTimeNs added in v0.1.12

func (x *Job) GetCreateTimeNs() int64

func (*Job) GetId

func (x *Job) GetId() int64

func (*Job) GetPriority

func (x *Job) GetPriority() int64

func (*Job) GetState

func (x *Job) GetState() *JobState

func (*Job) GetStatus

func (x *Job) GetStatus() JobStatus

func (*Job) GetUpdateTimeNs added in v0.1.12

func (x *Job) GetUpdateTimeNs() int64

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) ProtoReflect

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

func (*Job) Reset

func (x *Job) Reset()

func (*Job) String

func (x *Job) String() string

type JobArchiveCopyingParam

type JobArchiveCopyingParam struct {
	Device  string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Barcode string `protobuf:"bytes,2,opt,name=barcode,proto3" json:"barcode,omitempty"`
	Name    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*JobArchiveCopyingParam) Descriptor deprecated

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

Deprecated: Use JobArchiveCopyingParam.ProtoReflect.Descriptor instead.

func (*JobArchiveCopyingParam) GetBarcode

func (x *JobArchiveCopyingParam) GetBarcode() string

func (*JobArchiveCopyingParam) GetDevice

func (x *JobArchiveCopyingParam) GetDevice() string

func (*JobArchiveCopyingParam) GetName

func (x *JobArchiveCopyingParam) GetName() string

func (*JobArchiveCopyingParam) ProtoMessage

func (*JobArchiveCopyingParam) ProtoMessage()

func (*JobArchiveCopyingParam) ProtoReflect

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

func (*JobArchiveCopyingParam) Reset

func (x *JobArchiveCopyingParam) Reset()

func (*JobArchiveCopyingParam) String

func (x *JobArchiveCopyingParam) String() string

type JobArchiveDispatchParam added in v0.1.14

type JobArchiveDispatchParam struct {

	// Types that are assignable to Param:
	//	*JobArchiveDispatchParam_WaitForTape
	//	*JobArchiveDispatchParam_Copying
	//	*JobArchiveDispatchParam_Finished
	Param isJobArchiveDispatchParam_Param `protobuf_oneof:"param"`
	// contains filtered or unexported fields
}

func (*JobArchiveDispatchParam) Descriptor deprecated added in v0.1.14

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

Deprecated: Use JobArchiveDispatchParam.ProtoReflect.Descriptor instead.

func (*JobArchiveDispatchParam) GetCopying added in v0.1.14

func (*JobArchiveDispatchParam) GetFinished added in v0.1.14

func (*JobArchiveDispatchParam) GetParam added in v0.1.14

func (m *JobArchiveDispatchParam) GetParam() isJobArchiveDispatchParam_Param

func (*JobArchiveDispatchParam) GetWaitForTape added in v0.1.14

func (*JobArchiveDispatchParam) ProtoMessage added in v0.1.14

func (*JobArchiveDispatchParam) ProtoMessage()

func (*JobArchiveDispatchParam) ProtoReflect added in v0.1.14

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

func (*JobArchiveDispatchParam) Reset added in v0.1.14

func (x *JobArchiveDispatchParam) Reset()

func (*JobArchiveDispatchParam) String added in v0.1.14

func (x *JobArchiveDispatchParam) String() string

type JobArchiveDispatchParam_Copying added in v0.1.14

type JobArchiveDispatchParam_Copying struct {
	Copying *JobArchiveCopyingParam `protobuf:"bytes,2,opt,name=copying,proto3,oneof"`
}

type JobArchiveDispatchParam_Finished added in v0.1.14

type JobArchiveDispatchParam_Finished struct {
	Finished *JobArchiveFinishedParam `protobuf:"bytes,255,opt,name=finished,proto3,oneof"`
}

type JobArchiveDispatchParam_WaitForTape added in v0.1.14

type JobArchiveDispatchParam_WaitForTape struct {
	WaitForTape *JobArchiveWaitForTapeParam `protobuf:"bytes,1,opt,name=wait_for_tape,json=waitForTape,proto3,oneof"`
}

type JobArchiveDisplay

type JobArchiveDisplay struct {
	CopiedBytes int64  `protobuf:"varint,1,opt,name=copied_bytes,json=copiedBytes,proto3" json:"copied_bytes,omitempty"`
	CopiedFiles int64  `protobuf:"varint,2,opt,name=copied_files,json=copiedFiles,proto3" json:"copied_files,omitempty"`
	TotalBytes  int64  `protobuf:"varint,3,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	TotalFiles  int64  `protobuf:"varint,4,opt,name=total_files,json=totalFiles,proto3" json:"total_files,omitempty"`
	Speed       *int64 `protobuf:"varint,5,opt,name=speed,proto3,oneof" json:"speed,omitempty"`
	StartTime   int64  `protobuf:"varint,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// contains filtered or unexported fields
}

func (*JobArchiveDisplay) Descriptor deprecated

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

Deprecated: Use JobArchiveDisplay.ProtoReflect.Descriptor instead.

func (*JobArchiveDisplay) GetCopiedBytes added in v0.1.2

func (x *JobArchiveDisplay) GetCopiedBytes() int64

func (*JobArchiveDisplay) GetCopiedFiles added in v0.1.2

func (x *JobArchiveDisplay) GetCopiedFiles() int64

func (*JobArchiveDisplay) GetSpeed

func (x *JobArchiveDisplay) GetSpeed() int64

func (*JobArchiveDisplay) GetStartTime

func (x *JobArchiveDisplay) GetStartTime() int64

func (*JobArchiveDisplay) GetTotalBytes

func (x *JobArchiveDisplay) GetTotalBytes() int64

func (*JobArchiveDisplay) GetTotalFiles

func (x *JobArchiveDisplay) GetTotalFiles() int64

func (*JobArchiveDisplay) ProtoMessage

func (*JobArchiveDisplay) ProtoMessage()

func (*JobArchiveDisplay) ProtoReflect

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

func (*JobArchiveDisplay) Reset

func (x *JobArchiveDisplay) Reset()

func (*JobArchiveDisplay) String

func (x *JobArchiveDisplay) String() string

type JobArchiveFinishedParam

type JobArchiveFinishedParam struct {
	// contains filtered or unexported fields
}

func (*JobArchiveFinishedParam) Descriptor deprecated

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

Deprecated: Use JobArchiveFinishedParam.ProtoReflect.Descriptor instead.

func (*JobArchiveFinishedParam) ProtoMessage

func (*JobArchiveFinishedParam) ProtoMessage()

func (*JobArchiveFinishedParam) ProtoReflect

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

func (*JobArchiveFinishedParam) Reset

func (x *JobArchiveFinishedParam) Reset()

func (*JobArchiveFinishedParam) String

func (x *JobArchiveFinishedParam) String() string

type JobArchiveParam

type JobArchiveParam struct {
	Sources []*Source `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
	// contains filtered or unexported fields
}

func (*JobArchiveParam) Descriptor deprecated

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

Deprecated: Use JobArchiveParam.ProtoReflect.Descriptor instead.

func (*JobArchiveParam) GetSources

func (x *JobArchiveParam) GetSources() []*Source

func (*JobArchiveParam) ProtoMessage

func (*JobArchiveParam) ProtoMessage()

func (*JobArchiveParam) ProtoReflect

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

func (*JobArchiveParam) Reset

func (x *JobArchiveParam) Reset()

func (*JobArchiveParam) String

func (x *JobArchiveParam) String() string

type JobArchiveState

type JobArchiveState struct {
	Step    JobArchiveStep `protobuf:"varint,1,opt,name=step,proto3,enum=job_archive.JobArchiveStep" json:"step,omitempty"`
	Sources []*SourceState `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"`
	// contains filtered or unexported fields
}

func (*JobArchiveState) Descriptor deprecated

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

Deprecated: Use JobArchiveState.ProtoReflect.Descriptor instead.

func (*JobArchiveState) GetSources

func (x *JobArchiveState) GetSources() []*SourceState

func (*JobArchiveState) GetStep

func (x *JobArchiveState) GetStep() JobArchiveStep

func (*JobArchiveState) ProtoMessage

func (*JobArchiveState) ProtoMessage()

func (*JobArchiveState) ProtoReflect

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

func (*JobArchiveState) Reset

func (x *JobArchiveState) Reset()

func (*JobArchiveState) String

func (x *JobArchiveState) String() string

type JobArchiveStep

type JobArchiveStep int32
const (
	JobArchiveStep_PENDING       JobArchiveStep = 0
	JobArchiveStep_WAIT_FOR_TAPE JobArchiveStep = 1
	JobArchiveStep_COPYING       JobArchiveStep = 2
	JobArchiveStep_FINISHED      JobArchiveStep = 255
)

func (JobArchiveStep) Descriptor

func (JobArchiveStep) Enum

func (x JobArchiveStep) Enum() *JobArchiveStep

func (JobArchiveStep) EnumDescriptor deprecated

func (JobArchiveStep) EnumDescriptor() ([]byte, []int)

Deprecated: Use JobArchiveStep.Descriptor instead.

func (JobArchiveStep) Number

func (JobArchiveStep) String

func (x JobArchiveStep) String() string

func (JobArchiveStep) Type

type JobArchiveWaitForTapeParam

type JobArchiveWaitForTapeParam struct {
	// contains filtered or unexported fields
}

func (*JobArchiveWaitForTapeParam) Descriptor deprecated

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

Deprecated: Use JobArchiveWaitForTapeParam.ProtoReflect.Descriptor instead.

func (*JobArchiveWaitForTapeParam) ProtoMessage

func (*JobArchiveWaitForTapeParam) ProtoMessage()

func (*JobArchiveWaitForTapeParam) ProtoReflect

func (*JobArchiveWaitForTapeParam) Reset

func (x *JobArchiveWaitForTapeParam) Reset()

func (*JobArchiveWaitForTapeParam) String

func (x *JobArchiveWaitForTapeParam) String() string

type JobCreateReply

type JobCreateReply struct {
	Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

func (*JobCreateReply) Descriptor deprecated

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

Deprecated: Use JobCreateReply.ProtoReflect.Descriptor instead.

func (*JobCreateReply) GetJob

func (x *JobCreateReply) GetJob() *Job

func (*JobCreateReply) ProtoMessage

func (*JobCreateReply) ProtoMessage()

func (*JobCreateReply) ProtoReflect

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

func (*JobCreateReply) Reset

func (x *JobCreateReply) Reset()

func (*JobCreateReply) String

func (x *JobCreateReply) String() string

type JobCreateRequest

type JobCreateRequest struct {
	Job *CreatableJob `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

func (*JobCreateRequest) Descriptor deprecated

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

Deprecated: Use JobCreateRequest.ProtoReflect.Descriptor instead.

func (*JobCreateRequest) GetJob

func (x *JobCreateRequest) GetJob() *CreatableJob

func (*JobCreateRequest) ProtoMessage

func (*JobCreateRequest) ProtoMessage()

func (*JobCreateRequest) ProtoReflect

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

func (*JobCreateRequest) Reset

func (x *JobCreateRequest) Reset()

func (*JobCreateRequest) String

func (x *JobCreateRequest) String() string

type JobDeleteReply

type JobDeleteReply struct {
	// contains filtered or unexported fields
}

func (*JobDeleteReply) Descriptor deprecated

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

Deprecated: Use JobDeleteReply.ProtoReflect.Descriptor instead.

func (*JobDeleteReply) ProtoMessage

func (*JobDeleteReply) ProtoMessage()

func (*JobDeleteReply) ProtoReflect

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

func (*JobDeleteReply) Reset

func (x *JobDeleteReply) Reset()

func (*JobDeleteReply) String

func (x *JobDeleteReply) String() string

type JobDeleteRequest

type JobDeleteRequest struct {
	Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*JobDeleteRequest) Descriptor deprecated

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

Deprecated: Use JobDeleteRequest.ProtoReflect.Descriptor instead.

func (*JobDeleteRequest) GetIds

func (x *JobDeleteRequest) GetIds() []int64

func (*JobDeleteRequest) ProtoMessage

func (*JobDeleteRequest) ProtoMessage()

func (*JobDeleteRequest) ProtoReflect

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

func (*JobDeleteRequest) Reset

func (x *JobDeleteRequest) Reset()

func (*JobDeleteRequest) String

func (x *JobDeleteRequest) String() string

type JobDispatchParam added in v0.1.14

type JobDispatchParam struct {

	// Types that are assignable to Param:
	//	*JobDispatchParam_Archive
	//	*JobDispatchParam_Restore
	Param isJobDispatchParam_Param `protobuf_oneof:"param"`
	// contains filtered or unexported fields
}

func (*JobDispatchParam) Descriptor deprecated added in v0.1.14

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

Deprecated: Use JobDispatchParam.ProtoReflect.Descriptor instead.

func (*JobDispatchParam) GetArchive added in v0.1.14

func (x *JobDispatchParam) GetArchive() *JobArchiveDispatchParam

func (*JobDispatchParam) GetParam added in v0.1.14

func (m *JobDispatchParam) GetParam() isJobDispatchParam_Param

func (*JobDispatchParam) GetRestore added in v0.1.14

func (x *JobDispatchParam) GetRestore() *JobRestoreDispatchParam

func (*JobDispatchParam) ProtoMessage added in v0.1.14

func (*JobDispatchParam) ProtoMessage()

func (*JobDispatchParam) ProtoReflect added in v0.1.14

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

func (*JobDispatchParam) Reset added in v0.1.14

func (x *JobDispatchParam) Reset()

func (*JobDispatchParam) String added in v0.1.14

func (x *JobDispatchParam) String() string

type JobDispatchParam_Archive added in v0.1.14

type JobDispatchParam_Archive struct {
	Archive *JobArchiveDispatchParam `protobuf:"bytes,1,opt,name=archive,proto3,oneof"`
}

type JobDispatchParam_Restore added in v0.1.14

type JobDispatchParam_Restore struct {
	Restore *JobRestoreDispatchParam `protobuf:"bytes,2,opt,name=restore,proto3,oneof"`
}

type JobDispatchReply added in v0.1.14

type JobDispatchReply struct {
	// contains filtered or unexported fields
}

func (*JobDispatchReply) Descriptor deprecated added in v0.1.14

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

Deprecated: Use JobDispatchReply.ProtoReflect.Descriptor instead.

func (*JobDispatchReply) ProtoMessage added in v0.1.14

func (*JobDispatchReply) ProtoMessage()

func (*JobDispatchReply) ProtoReflect added in v0.1.14

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

func (*JobDispatchReply) Reset added in v0.1.14

func (x *JobDispatchReply) Reset()

func (*JobDispatchReply) String added in v0.1.14

func (x *JobDispatchReply) String() string

type JobDispatchRequest added in v0.1.14

type JobDispatchRequest struct {
	Id    int64             `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Param *JobDispatchParam `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"`
	// contains filtered or unexported fields
}

func (*JobDispatchRequest) Descriptor deprecated added in v0.1.14

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

Deprecated: Use JobDispatchRequest.ProtoReflect.Descriptor instead.

func (*JobDispatchRequest) GetId added in v0.1.14

func (x *JobDispatchRequest) GetId() int64

func (*JobDispatchRequest) GetParam added in v0.1.14

func (x *JobDispatchRequest) GetParam() *JobDispatchParam

func (*JobDispatchRequest) ProtoMessage added in v0.1.14

func (*JobDispatchRequest) ProtoMessage()

func (*JobDispatchRequest) ProtoReflect added in v0.1.14

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

func (*JobDispatchRequest) Reset added in v0.1.14

func (x *JobDispatchRequest) Reset()

func (*JobDispatchRequest) String added in v0.1.14

func (x *JobDispatchRequest) String() string

type JobDisplay

type JobDisplay struct {

	// Types that are assignable to Display:
	//	*JobDisplay_Archive
	//	*JobDisplay_Restore
	Display isJobDisplay_Display `protobuf_oneof:"display"`
	// contains filtered or unexported fields
}

func (*JobDisplay) Descriptor deprecated

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

Deprecated: Use JobDisplay.ProtoReflect.Descriptor instead.

func (*JobDisplay) GetArchive

func (x *JobDisplay) GetArchive() *JobArchiveDisplay

func (*JobDisplay) GetDisplay

func (m *JobDisplay) GetDisplay() isJobDisplay_Display

func (*JobDisplay) GetRestore

func (x *JobDisplay) GetRestore() *JobRestoreDisplay

func (*JobDisplay) ProtoMessage

func (*JobDisplay) ProtoMessage()

func (*JobDisplay) ProtoReflect

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

func (*JobDisplay) Reset

func (x *JobDisplay) Reset()

func (*JobDisplay) String

func (x *JobDisplay) String() string

type JobDisplayReply

type JobDisplayReply struct {
	Display *JobDisplay `protobuf:"bytes,1,opt,name=display,proto3" json:"display,omitempty"`
	// contains filtered or unexported fields
}

func (*JobDisplayReply) Descriptor deprecated

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

Deprecated: Use JobDisplayReply.ProtoReflect.Descriptor instead.

func (*JobDisplayReply) GetDisplay

func (x *JobDisplayReply) GetDisplay() *JobDisplay

func (*JobDisplayReply) ProtoMessage

func (*JobDisplayReply) ProtoMessage()

func (*JobDisplayReply) ProtoReflect

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

func (*JobDisplayReply) Reset

func (x *JobDisplayReply) Reset()

func (*JobDisplayReply) String

func (x *JobDisplayReply) String() string

type JobDisplayRequest

type JobDisplayRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*JobDisplayRequest) Descriptor deprecated

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

Deprecated: Use JobDisplayRequest.ProtoReflect.Descriptor instead.

func (*JobDisplayRequest) GetId

func (x *JobDisplayRequest) GetId() int64

func (*JobDisplayRequest) ProtoMessage

func (*JobDisplayRequest) ProtoMessage()

func (*JobDisplayRequest) ProtoReflect

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

func (*JobDisplayRequest) Reset

func (x *JobDisplayRequest) Reset()

func (*JobDisplayRequest) String

func (x *JobDisplayRequest) String() string

type JobDisplay_Archive

type JobDisplay_Archive struct {
	Archive *JobArchiveDisplay `protobuf:"bytes,1,opt,name=archive,proto3,oneof"`
}

type JobDisplay_Restore

type JobDisplay_Restore struct {
	Restore *JobRestoreDisplay `protobuf:"bytes,2,opt,name=restore,proto3,oneof"`
}

type JobEditStateReply added in v0.1.14

type JobEditStateReply struct {
	// contains filtered or unexported fields
}

func (*JobEditStateReply) Descriptor deprecated added in v0.1.14

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

Deprecated: Use JobEditStateReply.ProtoReflect.Descriptor instead.

func (*JobEditStateReply) ProtoMessage added in v0.1.14

func (*JobEditStateReply) ProtoMessage()

func (*JobEditStateReply) ProtoReflect added in v0.1.14

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

func (*JobEditStateReply) Reset added in v0.1.14

func (x *JobEditStateReply) Reset()

func (*JobEditStateReply) String added in v0.1.14

func (x *JobEditStateReply) String() string

type JobEditStateRequest added in v0.1.14

type JobEditStateRequest struct {
	Id     int64      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Status *JobStatus `protobuf:"varint,2,opt,name=status,proto3,enum=job.JobStatus,oneof" json:"status,omitempty"`
	State  *JobState  `protobuf:"bytes,3,opt,name=state,proto3,oneof" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*JobEditStateRequest) Descriptor deprecated added in v0.1.14

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

Deprecated: Use JobEditStateRequest.ProtoReflect.Descriptor instead.

func (*JobEditStateRequest) GetId added in v0.1.14

func (x *JobEditStateRequest) GetId() int64

func (*JobEditStateRequest) GetState added in v0.1.14

func (x *JobEditStateRequest) GetState() *JobState

func (*JobEditStateRequest) GetStatus added in v0.1.14

func (x *JobEditStateRequest) GetStatus() JobStatus

func (*JobEditStateRequest) ProtoMessage added in v0.1.14

func (*JobEditStateRequest) ProtoMessage()

func (*JobEditStateRequest) ProtoReflect added in v0.1.14

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

func (*JobEditStateRequest) Reset added in v0.1.14

func (x *JobEditStateRequest) Reset()

func (*JobEditStateRequest) String added in v0.1.14

func (x *JobEditStateRequest) String() string

type JobFilter

type JobFilter struct {
	Status *JobStatus `protobuf:"varint,1,opt,name=status,proto3,enum=job.JobStatus,oneof" json:"status,omitempty"`
	Limit  *int64     `protobuf:"varint,33,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
	Offset *int64     `protobuf:"varint,34,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*JobFilter) Descriptor deprecated

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

Deprecated: Use JobFilter.ProtoReflect.Descriptor instead.

func (*JobFilter) GetLimit

func (x *JobFilter) GetLimit() int64

func (*JobFilter) GetOffset

func (x *JobFilter) GetOffset() int64

func (*JobFilter) GetStatus

func (x *JobFilter) GetStatus() JobStatus

func (*JobFilter) ProtoMessage

func (*JobFilter) ProtoMessage()

func (*JobFilter) ProtoReflect

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

func (*JobFilter) Reset

func (x *JobFilter) Reset()

func (*JobFilter) String

func (x *JobFilter) String() string

type JobGetLogReply

type JobGetLogReply struct {
	Logs   []byte `protobuf:"bytes,1,opt,name=logs,proto3" json:"logs,omitempty"`
	Offset int64  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*JobGetLogReply) Descriptor deprecated

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

Deprecated: Use JobGetLogReply.ProtoReflect.Descriptor instead.

func (*JobGetLogReply) GetLogs

func (x *JobGetLogReply) GetLogs() []byte

func (*JobGetLogReply) GetOffset added in v0.1.12

func (x *JobGetLogReply) GetOffset() int64

func (*JobGetLogReply) ProtoMessage

func (*JobGetLogReply) ProtoMessage()

func (*JobGetLogReply) ProtoReflect

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

func (*JobGetLogReply) Reset

func (x *JobGetLogReply) Reset()

func (*JobGetLogReply) String

func (x *JobGetLogReply) String() string

type JobGetLogRequest

type JobGetLogRequest struct {
	JobId  int64  `protobuf:"varint,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Offset *int64 `protobuf:"varint,2,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*JobGetLogRequest) Descriptor deprecated

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

Deprecated: Use JobGetLogRequest.ProtoReflect.Descriptor instead.

func (*JobGetLogRequest) GetJobId

func (x *JobGetLogRequest) GetJobId() int64

func (*JobGetLogRequest) GetOffset

func (x *JobGetLogRequest) GetOffset() int64

func (*JobGetLogRequest) ProtoMessage

func (*JobGetLogRequest) ProtoMessage()

func (*JobGetLogRequest) ProtoReflect

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

func (*JobGetLogRequest) Reset

func (x *JobGetLogRequest) Reset()

func (*JobGetLogRequest) String

func (x *JobGetLogRequest) String() string

type JobListReply

type JobListReply struct {
	Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

func (*JobListReply) Descriptor deprecated

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

Deprecated: Use JobListReply.ProtoReflect.Descriptor instead.

func (*JobListReply) GetJobs

func (x *JobListReply) GetJobs() []*Job

func (*JobListReply) ProtoMessage

func (*JobListReply) ProtoMessage()

func (*JobListReply) ProtoReflect

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

func (*JobListReply) Reset

func (x *JobListReply) Reset()

func (*JobListReply) String

func (x *JobListReply) String() string

type JobListRequest

type JobListRequest struct {

	// Types that are assignable to Param:
	//	*JobListRequest_Mget
	//	*JobListRequest_List
	//	*JobListRequest_RecentlyUpdate
	Param isJobListRequest_Param `protobuf_oneof:"param"`
	// contains filtered or unexported fields
}

func (*JobListRequest) Descriptor deprecated

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

Deprecated: Use JobListRequest.ProtoReflect.Descriptor instead.

func (*JobListRequest) GetList

func (x *JobListRequest) GetList() *JobFilter

func (*JobListRequest) GetMget

func (x *JobListRequest) GetMget() *JobMGetRequest

func (*JobListRequest) GetParam

func (m *JobListRequest) GetParam() isJobListRequest_Param

func (*JobListRequest) GetRecentlyUpdate added in v0.1.12

func (x *JobListRequest) GetRecentlyUpdate() *JobRecentlyUpdateFilter

func (*JobListRequest) ProtoMessage

func (*JobListRequest) ProtoMessage()

func (*JobListRequest) ProtoReflect

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

func (*JobListRequest) Reset

func (x *JobListRequest) Reset()

func (*JobListRequest) String

func (x *JobListRequest) String() string

type JobListRequest_List

type JobListRequest_List struct {
	List *JobFilter `protobuf:"bytes,2,opt,name=list,proto3,oneof"`
}

type JobListRequest_Mget

type JobListRequest_Mget struct {
	Mget *JobMGetRequest `protobuf:"bytes,1,opt,name=mget,proto3,oneof"`
}

type JobListRequest_RecentlyUpdate added in v0.1.12

type JobListRequest_RecentlyUpdate struct {
	RecentlyUpdate *JobRecentlyUpdateFilter `protobuf:"bytes,3,opt,name=recently_update,json=recentlyUpdate,proto3,oneof"`
}

type JobMGetRequest

type JobMGetRequest struct {
	Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*JobMGetRequest) Descriptor deprecated

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

Deprecated: Use JobMGetRequest.ProtoReflect.Descriptor instead.

func (*JobMGetRequest) GetIds

func (x *JobMGetRequest) GetIds() []int64

func (*JobMGetRequest) ProtoMessage

func (*JobMGetRequest) ProtoMessage()

func (*JobMGetRequest) ProtoReflect

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

func (*JobMGetRequest) Reset

func (x *JobMGetRequest) Reset()

func (*JobMGetRequest) String

func (x *JobMGetRequest) String() string

type JobParam

type JobParam struct {

	// Types that are assignable to Param:
	//	*JobParam_Archive
	//	*JobParam_Restore
	Param isJobParam_Param `protobuf_oneof:"param"`
	// contains filtered or unexported fields
}

func (*JobParam) Descriptor deprecated

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

Deprecated: Use JobParam.ProtoReflect.Descriptor instead.

func (*JobParam) GetArchive

func (x *JobParam) GetArchive() *JobArchiveParam

func (*JobParam) GetParam

func (m *JobParam) GetParam() isJobParam_Param

func (*JobParam) GetRestore

func (x *JobParam) GetRestore() *JobRestoreParam

func (*JobParam) ProtoMessage

func (*JobParam) ProtoMessage()

func (*JobParam) ProtoReflect

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

func (*JobParam) Reset

func (x *JobParam) Reset()

func (*JobParam) Scan

func (x *JobParam) Scan(src any) error

func (*JobParam) String

func (x *JobParam) String() string

func (*JobParam) Value

func (x *JobParam) Value() (driver.Value, error)

type JobParam_Archive

type JobParam_Archive struct {
	Archive *JobArchiveParam `protobuf:"bytes,1,opt,name=archive,proto3,oneof"`
}

type JobParam_Restore

type JobParam_Restore struct {
	Restore *JobRestoreParam `protobuf:"bytes,2,opt,name=restore,proto3,oneof"`
}

type JobRecentlyUpdateFilter added in v0.1.12

type JobRecentlyUpdateFilter struct {
	UpdateSinceNs *int64 `protobuf:"varint,1,opt,name=update_since_ns,json=updateSinceNs,proto3,oneof" json:"update_since_ns,omitempty"`
	Limit         *int64 `protobuf:"varint,33,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*JobRecentlyUpdateFilter) Descriptor deprecated added in v0.1.12

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

Deprecated: Use JobRecentlyUpdateFilter.ProtoReflect.Descriptor instead.

func (*JobRecentlyUpdateFilter) GetLimit added in v0.1.12

func (x *JobRecentlyUpdateFilter) GetLimit() int64

func (*JobRecentlyUpdateFilter) GetUpdateSinceNs added in v0.1.12

func (x *JobRecentlyUpdateFilter) GetUpdateSinceNs() int64

func (*JobRecentlyUpdateFilter) ProtoMessage added in v0.1.12

func (*JobRecentlyUpdateFilter) ProtoMessage()

func (*JobRecentlyUpdateFilter) ProtoReflect added in v0.1.12

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

func (*JobRecentlyUpdateFilter) Reset added in v0.1.12

func (x *JobRecentlyUpdateFilter) Reset()

func (*JobRecentlyUpdateFilter) String added in v0.1.12

func (x *JobRecentlyUpdateFilter) String() string

type JobRestoreCopyingParam

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

func (*JobRestoreCopyingParam) Descriptor deprecated

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

Deprecated: Use JobRestoreCopyingParam.ProtoReflect.Descriptor instead.

func (*JobRestoreCopyingParam) GetDevice

func (x *JobRestoreCopyingParam) GetDevice() string

func (*JobRestoreCopyingParam) ProtoMessage

func (*JobRestoreCopyingParam) ProtoMessage()

func (*JobRestoreCopyingParam) ProtoReflect

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

func (*JobRestoreCopyingParam) Reset

func (x *JobRestoreCopyingParam) Reset()

func (*JobRestoreCopyingParam) String

func (x *JobRestoreCopyingParam) String() string

type JobRestoreDispatchParam added in v0.1.14

type JobRestoreDispatchParam struct {

	// Types that are assignable to Param:
	//	*JobRestoreDispatchParam_WaitForTape
	//	*JobRestoreDispatchParam_Copying
	//	*JobRestoreDispatchParam_Finished
	Param isJobRestoreDispatchParam_Param `protobuf_oneof:"param"`
	// contains filtered or unexported fields
}

func (*JobRestoreDispatchParam) Descriptor deprecated added in v0.1.14

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

Deprecated: Use JobRestoreDispatchParam.ProtoReflect.Descriptor instead.

func (*JobRestoreDispatchParam) GetCopying added in v0.1.14

func (*JobRestoreDispatchParam) GetFinished added in v0.1.14

func (*JobRestoreDispatchParam) GetParam added in v0.1.14

func (m *JobRestoreDispatchParam) GetParam() isJobRestoreDispatchParam_Param

func (*JobRestoreDispatchParam) GetWaitForTape added in v0.1.14

func (*JobRestoreDispatchParam) ProtoMessage added in v0.1.14

func (*JobRestoreDispatchParam) ProtoMessage()

func (*JobRestoreDispatchParam) ProtoReflect added in v0.1.14

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

func (*JobRestoreDispatchParam) Reset added in v0.1.14

func (x *JobRestoreDispatchParam) Reset()

func (*JobRestoreDispatchParam) String added in v0.1.14

func (x *JobRestoreDispatchParam) String() string

type JobRestoreDispatchParam_Copying added in v0.1.14

type JobRestoreDispatchParam_Copying struct {
	Copying *JobRestoreCopyingParam `protobuf:"bytes,2,opt,name=copying,proto3,oneof"`
}

type JobRestoreDispatchParam_Finished added in v0.1.14

type JobRestoreDispatchParam_Finished struct {
	Finished *JobRestoreFinishedParam `protobuf:"bytes,255,opt,name=finished,proto3,oneof"`
}

type JobRestoreDispatchParam_WaitForTape added in v0.1.14

type JobRestoreDispatchParam_WaitForTape struct {
	WaitForTape *JobRestoreWaitForTapeParam `protobuf:"bytes,1,opt,name=wait_for_tape,json=waitForTape,proto3,oneof"`
}

type JobRestoreDisplay

type JobRestoreDisplay struct {
	CopiedBytes int64  `protobuf:"varint,1,opt,name=copied_bytes,json=copiedBytes,proto3" json:"copied_bytes,omitempty"`
	CopiedFiles int64  `protobuf:"varint,2,opt,name=copied_files,json=copiedFiles,proto3" json:"copied_files,omitempty"`
	TotalBytes  int64  `protobuf:"varint,3,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	TotalFiles  int64  `protobuf:"varint,4,opt,name=total_files,json=totalFiles,proto3" json:"total_files,omitempty"`
	Speed       *int64 `protobuf:"varint,5,opt,name=speed,proto3,oneof" json:"speed,omitempty"`
	StartTime   int64  `protobuf:"varint,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// contains filtered or unexported fields
}

func (*JobRestoreDisplay) Descriptor deprecated

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

Deprecated: Use JobRestoreDisplay.ProtoReflect.Descriptor instead.

func (*JobRestoreDisplay) GetCopiedBytes added in v0.1.2

func (x *JobRestoreDisplay) GetCopiedBytes() int64

func (*JobRestoreDisplay) GetCopiedFiles added in v0.1.2

func (x *JobRestoreDisplay) GetCopiedFiles() int64

func (*JobRestoreDisplay) GetSpeed

func (x *JobRestoreDisplay) GetSpeed() int64

func (*JobRestoreDisplay) GetStartTime

func (x *JobRestoreDisplay) GetStartTime() int64

func (*JobRestoreDisplay) GetTotalBytes

func (x *JobRestoreDisplay) GetTotalBytes() int64

func (*JobRestoreDisplay) GetTotalFiles

func (x *JobRestoreDisplay) GetTotalFiles() int64

func (*JobRestoreDisplay) ProtoMessage

func (*JobRestoreDisplay) ProtoMessage()

func (*JobRestoreDisplay) ProtoReflect

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

func (*JobRestoreDisplay) Reset

func (x *JobRestoreDisplay) Reset()

func (*JobRestoreDisplay) String

func (x *JobRestoreDisplay) String() string

type JobRestoreFinishedParam

type JobRestoreFinishedParam struct {
	// contains filtered or unexported fields
}

func (*JobRestoreFinishedParam) Descriptor deprecated

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

Deprecated: Use JobRestoreFinishedParam.ProtoReflect.Descriptor instead.

func (*JobRestoreFinishedParam) ProtoMessage

func (*JobRestoreFinishedParam) ProtoMessage()

func (*JobRestoreFinishedParam) ProtoReflect

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

func (*JobRestoreFinishedParam) Reset

func (x *JobRestoreFinishedParam) Reset()

func (*JobRestoreFinishedParam) String

func (x *JobRestoreFinishedParam) String() string

type JobRestoreParam

type JobRestoreParam struct {
	FileIds []int64 `protobuf:"varint,1,rep,packed,name=file_ids,json=fileIds,proto3" json:"file_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*JobRestoreParam) Descriptor deprecated

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

Deprecated: Use JobRestoreParam.ProtoReflect.Descriptor instead.

func (*JobRestoreParam) GetFileIds

func (x *JobRestoreParam) GetFileIds() []int64

func (*JobRestoreParam) ProtoMessage

func (*JobRestoreParam) ProtoMessage()

func (*JobRestoreParam) ProtoReflect

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

func (*JobRestoreParam) Reset

func (x *JobRestoreParam) Reset()

func (*JobRestoreParam) String

func (x *JobRestoreParam) String() string

type JobRestoreState

type JobRestoreState struct {
	Step  JobRestoreStep `protobuf:"varint,1,opt,name=step,proto3,enum=job_restore.JobRestoreStep" json:"step,omitempty"`
	Tapes []*RestoreTape `protobuf:"bytes,2,rep,name=tapes,proto3" json:"tapes,omitempty"`
	// contains filtered or unexported fields
}

func (*JobRestoreState) Descriptor deprecated

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

Deprecated: Use JobRestoreState.ProtoReflect.Descriptor instead.

func (*JobRestoreState) GetStep

func (x *JobRestoreState) GetStep() JobRestoreStep

func (*JobRestoreState) GetTapes

func (x *JobRestoreState) GetTapes() []*RestoreTape

func (*JobRestoreState) ProtoMessage

func (*JobRestoreState) ProtoMessage()

func (*JobRestoreState) ProtoReflect

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

func (*JobRestoreState) Reset

func (x *JobRestoreState) Reset()

func (*JobRestoreState) String

func (x *JobRestoreState) String() string

type JobRestoreStep

type JobRestoreStep int32
const (
	JobRestoreStep_PENDING       JobRestoreStep = 0
	JobRestoreStep_WAIT_FOR_TAPE JobRestoreStep = 1
	JobRestoreStep_COPYING       JobRestoreStep = 2
	JobRestoreStep_FINISHED      JobRestoreStep = 255
)

func (JobRestoreStep) Descriptor

func (JobRestoreStep) Enum

func (x JobRestoreStep) Enum() *JobRestoreStep

func (JobRestoreStep) EnumDescriptor deprecated

func (JobRestoreStep) EnumDescriptor() ([]byte, []int)

Deprecated: Use JobRestoreStep.Descriptor instead.

func (JobRestoreStep) Number

func (JobRestoreStep) String

func (x JobRestoreStep) String() string

func (JobRestoreStep) Type

type JobRestoreWaitForTapeParam

type JobRestoreWaitForTapeParam struct {
	// contains filtered or unexported fields
}

func (*JobRestoreWaitForTapeParam) Descriptor deprecated

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

Deprecated: Use JobRestoreWaitForTapeParam.ProtoReflect.Descriptor instead.

func (*JobRestoreWaitForTapeParam) ProtoMessage

func (*JobRestoreWaitForTapeParam) ProtoMessage()

func (*JobRestoreWaitForTapeParam) ProtoReflect

func (*JobRestoreWaitForTapeParam) Reset

func (x *JobRestoreWaitForTapeParam) Reset()

func (*JobRestoreWaitForTapeParam) String

func (x *JobRestoreWaitForTapeParam) String() string

type JobState

type JobState struct {

	// Types that are assignable to State:
	//	*JobState_Archive
	//	*JobState_Restore
	State isJobState_State `protobuf_oneof:"state"`
	// contains filtered or unexported fields
}

func (*JobState) Descriptor deprecated

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

Deprecated: Use JobState.ProtoReflect.Descriptor instead.

func (*JobState) GetArchive

func (x *JobState) GetArchive() *JobArchiveState

func (*JobState) GetRestore

func (x *JobState) GetRestore() *JobRestoreState

func (*JobState) GetState

func (m *JobState) GetState() isJobState_State

func (*JobState) ProtoMessage

func (*JobState) ProtoMessage()

func (*JobState) ProtoReflect

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

func (*JobState) Reset

func (x *JobState) Reset()

func (*JobState) Scan

func (x *JobState) Scan(src any) error

func (*JobState) String

func (x *JobState) String() string

func (*JobState) Value

func (x *JobState) Value() (driver.Value, error)

type JobState_Archive

type JobState_Archive struct {
	Archive *JobArchiveState `protobuf:"bytes,1,opt,name=archive,proto3,oneof"`
}

type JobState_Restore

type JobState_Restore struct {
	Restore *JobRestoreState `protobuf:"bytes,2,opt,name=restore,proto3,oneof"`
}

type JobStatus

type JobStatus int32
const (
	JobStatus_DRAFT      JobStatus = 0
	JobStatus_NOT_READY  JobStatus = 1 // dependencies not satisfied
	JobStatus_PENDING    JobStatus = 2 // waiting in queue
	JobStatus_PROCESSING JobStatus = 3
	JobStatus_COMPLETED  JobStatus = 4
	JobStatus_FAILED     JobStatus = 127
	JobStatus_DELETED    JobStatus = 255
)

func (JobStatus) Descriptor

func (JobStatus) Descriptor() protoreflect.EnumDescriptor

func (JobStatus) Enum

func (x JobStatus) Enum() *JobStatus

func (JobStatus) EnumDescriptor deprecated

func (JobStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use JobStatus.Descriptor instead.

func (JobStatus) Number

func (x JobStatus) Number() protoreflect.EnumNumber

func (JobStatus) String

func (x JobStatus) String() string

func (JobStatus) Type

type LibraryEntityType

type LibraryEntityType int32
const (
	LibraryEntityType_NONE     LibraryEntityType = 0
	LibraryEntityType_FILE     LibraryEntityType = 1
	LibraryEntityType_TAPE     LibraryEntityType = 2
	LibraryEntityType_POSITION LibraryEntityType = 3
)

func (LibraryEntityType) Descriptor

func (LibraryEntityType) Enum

func (LibraryEntityType) EnumDescriptor deprecated

func (LibraryEntityType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LibraryEntityType.Descriptor instead.

func (LibraryEntityType) Number

func (LibraryEntityType) String

func (x LibraryEntityType) String() string

func (LibraryEntityType) Type

type LibraryExportReply

type LibraryExportReply struct {
	Json []byte `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"`
	// contains filtered or unexported fields
}

func (*LibraryExportReply) Descriptor deprecated

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

Deprecated: Use LibraryExportReply.ProtoReflect.Descriptor instead.

func (*LibraryExportReply) GetJson

func (x *LibraryExportReply) GetJson() []byte

func (*LibraryExportReply) ProtoMessage

func (*LibraryExportReply) ProtoMessage()

func (*LibraryExportReply) ProtoReflect

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

func (*LibraryExportReply) Reset

func (x *LibraryExportReply) Reset()

func (*LibraryExportReply) String

func (x *LibraryExportReply) String() string

type LibraryExportRequest

type LibraryExportRequest struct {
	Types []LibraryEntityType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=library_entity_type.LibraryEntityType" json:"types,omitempty"`
	// contains filtered or unexported fields
}

func (*LibraryExportRequest) Descriptor deprecated

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

Deprecated: Use LibraryExportRequest.ProtoReflect.Descriptor instead.

func (*LibraryExportRequest) GetTypes

func (x *LibraryExportRequest) GetTypes() []LibraryEntityType

func (*LibraryExportRequest) ProtoMessage

func (*LibraryExportRequest) ProtoMessage()

func (*LibraryExportRequest) ProtoReflect

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

func (*LibraryExportRequest) Reset

func (x *LibraryExportRequest) Reset()

func (*LibraryExportRequest) String

func (x *LibraryExportRequest) String() string

type LibraryTrimReply added in v0.1.8

type LibraryTrimReply struct {
	// contains filtered or unexported fields
}

func (*LibraryTrimReply) Descriptor deprecated added in v0.1.8

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

Deprecated: Use LibraryTrimReply.ProtoReflect.Descriptor instead.

func (*LibraryTrimReply) ProtoMessage added in v0.1.8

func (*LibraryTrimReply) ProtoMessage()

func (*LibraryTrimReply) ProtoReflect added in v0.1.8

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

func (*LibraryTrimReply) Reset added in v0.1.8

func (x *LibraryTrimReply) Reset()

func (*LibraryTrimReply) String added in v0.1.8

func (x *LibraryTrimReply) String() string

type LibraryTrimRequest added in v0.1.8

type LibraryTrimRequest struct {
	TrimPosition bool `protobuf:"varint,1,opt,name=trim_position,json=trimPosition,proto3" json:"trim_position,omitempty"`
	TrimFile     bool `protobuf:"varint,2,opt,name=trim_file,json=trimFile,proto3" json:"trim_file,omitempty"`
	// contains filtered or unexported fields
}

func (*LibraryTrimRequest) Descriptor deprecated added in v0.1.8

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

Deprecated: Use LibraryTrimRequest.ProtoReflect.Descriptor instead.

func (*LibraryTrimRequest) GetTrimFile added in v0.1.8

func (x *LibraryTrimRequest) GetTrimFile() bool

func (*LibraryTrimRequest) GetTrimPosition added in v0.1.8

func (x *LibraryTrimRequest) GetTrimPosition() bool

func (*LibraryTrimRequest) ProtoMessage added in v0.1.8

func (*LibraryTrimRequest) ProtoMessage()

func (*LibraryTrimRequest) ProtoReflect added in v0.1.8

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

func (*LibraryTrimRequest) Reset added in v0.1.8

func (x *LibraryTrimRequest) Reset()

func (*LibraryTrimRequest) String added in v0.1.8

func (x *LibraryTrimRequest) String() string

type Position

type Position struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	FileId    int64  `protobuf:"varint,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
	TapeId    int64  `protobuf:"varint,3,opt,name=tape_id,json=tapeId,proto3" json:"tape_id,omitempty"`
	Path      string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Mode      int64  `protobuf:"varint,17,opt,name=mode,proto3" json:"mode,omitempty"`
	ModTime   int64  `protobuf:"varint,18,opt,name=mod_time,json=modTime,proto3" json:"mod_time,omitempty"`
	WriteTime int64  `protobuf:"varint,19,opt,name=write_time,json=writeTime,proto3" json:"write_time,omitempty"`
	Size      int64  `protobuf:"varint,20,opt,name=size,proto3" json:"size,omitempty"`
	Hash      []byte `protobuf:"bytes,21,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Position) Descriptor deprecated

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

Deprecated: Use Position.ProtoReflect.Descriptor instead.

func (*Position) GetFileId

func (x *Position) GetFileId() int64

func (*Position) GetHash

func (x *Position) GetHash() []byte

func (*Position) GetId

func (x *Position) GetId() int64

func (*Position) GetModTime

func (x *Position) GetModTime() int64

func (*Position) GetMode

func (x *Position) GetMode() int64

func (*Position) GetPath

func (x *Position) GetPath() string

func (*Position) GetSize

func (x *Position) GetSize() int64

func (*Position) GetTapeId

func (x *Position) GetTapeId() int64

func (*Position) GetWriteTime

func (x *Position) GetWriteTime() int64

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) ProtoReflect

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

func (*Position) Reset

func (x *Position) Reset()

func (*Position) String

func (x *Position) String() string

type RestoreFile

type RestoreFile struct {
	FileId     int64      `protobuf:"varint,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
	TapeId     int64      `protobuf:"varint,2,opt,name=tape_id,json=tapeId,proto3" json:"tape_id,omitempty"`
	PositionId int64      `protobuf:"varint,3,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"`
	Status     CopyStatus `protobuf:"varint,17,opt,name=status,proto3,enum=copy_status.CopyStatus" json:"status,omitempty"`
	Size       int64      `protobuf:"varint,18,opt,name=size,proto3" json:"size,omitempty"`
	Hash       []byte     `protobuf:"bytes,19,opt,name=hash,proto3" json:"hash,omitempty"`
	TapePath   string     `protobuf:"bytes,33,opt,name=tape_path,json=tapePath,proto3" json:"tape_path,omitempty"`
	TargetPath string     `protobuf:"bytes,34,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreFile) Descriptor deprecated

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

Deprecated: Use RestoreFile.ProtoReflect.Descriptor instead.

func (*RestoreFile) GetFileId

func (x *RestoreFile) GetFileId() int64

func (*RestoreFile) GetHash

func (x *RestoreFile) GetHash() []byte

func (*RestoreFile) GetPositionId

func (x *RestoreFile) GetPositionId() int64

func (*RestoreFile) GetSize

func (x *RestoreFile) GetSize() int64

func (*RestoreFile) GetStatus

func (x *RestoreFile) GetStatus() CopyStatus

func (*RestoreFile) GetTapeId

func (x *RestoreFile) GetTapeId() int64

func (*RestoreFile) GetTapePath

func (x *RestoreFile) GetTapePath() string

func (*RestoreFile) GetTargetPath

func (x *RestoreFile) GetTargetPath() string

func (*RestoreFile) ProtoMessage

func (*RestoreFile) ProtoMessage()

func (*RestoreFile) ProtoReflect

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

func (*RestoreFile) Reset

func (x *RestoreFile) Reset()

func (*RestoreFile) String

func (x *RestoreFile) String() string

type RestoreTape

type RestoreTape struct {
	TapeId  int64          `protobuf:"varint,1,opt,name=tape_id,json=tapeId,proto3" json:"tape_id,omitempty"`
	Barcode string         `protobuf:"bytes,2,opt,name=barcode,proto3" json:"barcode,omitempty"`
	Status  CopyStatus     `protobuf:"varint,17,opt,name=status,proto3,enum=copy_status.CopyStatus" json:"status,omitempty"`
	Files   []*RestoreFile `protobuf:"bytes,18,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreTape) Descriptor deprecated

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

Deprecated: Use RestoreTape.ProtoReflect.Descriptor instead.

func (*RestoreTape) GetBarcode

func (x *RestoreTape) GetBarcode() string

func (*RestoreTape) GetFiles

func (x *RestoreTape) GetFiles() []*RestoreFile

func (*RestoreTape) GetStatus

func (x *RestoreTape) GetStatus() CopyStatus

func (*RestoreTape) GetTapeId

func (x *RestoreTape) GetTapeId() int64

func (*RestoreTape) ProtoMessage

func (*RestoreTape) ProtoMessage()

func (*RestoreTape) ProtoReflect

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

func (*RestoreTape) Reset

func (x *RestoreTape) Reset()

func (*RestoreTape) String

func (x *RestoreTape) String() string

type ServiceClient

type ServiceClient interface {
	FileGet(ctx context.Context, in *FileGetRequest, opts ...grpc.CallOption) (*FileGetReply, error)
	FileEdit(ctx context.Context, in *FileEditRequest, opts ...grpc.CallOption) (*FileEditReply, error)
	FileMkdir(ctx context.Context, in *FileMkdirRequest, opts ...grpc.CallOption) (*FileMkdirReply, error)
	FileDelete(ctx context.Context, in *FileDeleteRequest, opts ...grpc.CallOption) (*FileDeleteReply, error)
	FileListParents(ctx context.Context, in *FileListParentsRequest, opts ...grpc.CallOption) (*FileListParentsReply, error)
	TapeList(ctx context.Context, in *TapeListRequest, opts ...grpc.CallOption) (*TapeListReply, error)
	TapeDelete(ctx context.Context, in *TapeDeleteRequest, opts ...grpc.CallOption) (*TapeDeleteReply, error)
	TapeGetPositions(ctx context.Context, in *TapeGetPositionsRequest, opts ...grpc.CallOption) (*TapeGetPositionsReply, error)
	JobList(ctx context.Context, in *JobListRequest, opts ...grpc.CallOption) (*JobListReply, error)
	JobCreate(ctx context.Context, in *JobCreateRequest, opts ...grpc.CallOption) (*JobCreateReply, error)
	JobEditState(ctx context.Context, in *JobEditStateRequest, opts ...grpc.CallOption) (*JobEditStateReply, error)
	JobDelete(ctx context.Context, in *JobDeleteRequest, opts ...grpc.CallOption) (*JobDeleteReply, error)
	JobDispatch(ctx context.Context, in *JobDispatchRequest, opts ...grpc.CallOption) (*JobDispatchReply, error)
	JobDisplay(ctx context.Context, in *JobDisplayRequest, opts ...grpc.CallOption) (*JobDisplayReply, error)
	JobGetLog(ctx context.Context, in *JobGetLogRequest, opts ...grpc.CallOption) (*JobGetLogReply, error)
	SourceList(ctx context.Context, in *SourceListRequest, opts ...grpc.CallOption) (*SourceListReply, error)
	SourceGetSize(ctx context.Context, in *SourceGetSizeRequest, opts ...grpc.CallOption) (*SourceGetSizeReply, error)
	DeviceList(ctx context.Context, in *DeviceListRequest, opts ...grpc.CallOption) (*DeviceListReply, error)
	LibraryExport(ctx context.Context, in *LibraryExportRequest, opts ...grpc.CallOption) (*LibraryExportReply, error)
	LibraryTrim(ctx context.Context, in *LibraryTrimRequest, opts ...grpc.CallOption) (*LibraryTrimReply, error)
}

ServiceClient is the client API for Service 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 NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceServer

type ServiceServer interface {
	FileGet(context.Context, *FileGetRequest) (*FileGetReply, error)
	FileEdit(context.Context, *FileEditRequest) (*FileEditReply, error)
	FileMkdir(context.Context, *FileMkdirRequest) (*FileMkdirReply, error)
	FileDelete(context.Context, *FileDeleteRequest) (*FileDeleteReply, error)
	FileListParents(context.Context, *FileListParentsRequest) (*FileListParentsReply, error)
	TapeList(context.Context, *TapeListRequest) (*TapeListReply, error)
	TapeDelete(context.Context, *TapeDeleteRequest) (*TapeDeleteReply, error)
	TapeGetPositions(context.Context, *TapeGetPositionsRequest) (*TapeGetPositionsReply, error)
	JobList(context.Context, *JobListRequest) (*JobListReply, error)
	JobCreate(context.Context, *JobCreateRequest) (*JobCreateReply, error)
	JobEditState(context.Context, *JobEditStateRequest) (*JobEditStateReply, error)
	JobDelete(context.Context, *JobDeleteRequest) (*JobDeleteReply, error)
	JobDispatch(context.Context, *JobDispatchRequest) (*JobDispatchReply, error)
	JobDisplay(context.Context, *JobDisplayRequest) (*JobDisplayReply, error)
	JobGetLog(context.Context, *JobGetLogRequest) (*JobGetLogReply, error)
	SourceList(context.Context, *SourceListRequest) (*SourceListReply, error)
	SourceGetSize(context.Context, *SourceGetSizeRequest) (*SourceGetSizeReply, error)
	DeviceList(context.Context, *DeviceListRequest) (*DeviceListReply, error)
	LibraryExport(context.Context, *LibraryExportRequest) (*LibraryExportReply, error)
	LibraryTrim(context.Context, *LibraryTrimRequest) (*LibraryTrimReply, error)
	// contains filtered or unexported methods
}

ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility

type Source

type Source struct {
	Base string   `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Path []string `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func NewSourceFromACPJob

func NewSourceFromACPJob(job *acp.Job) *Source

func (*Source) Append

func (x *Source) Append(more ...string) *Source

func (*Source) Compare

func (x *Source) Compare(xx *Source) int

func (*Source) Descriptor deprecated

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

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) Equal

func (x *Source) Equal(xx *Source) bool

func (*Source) GetBase

func (x *Source) GetBase() string

func (*Source) GetPath

func (x *Source) GetPath() []string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

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

func (*Source) RealPath

func (x *Source) RealPath() string

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

type SourceFile

type SourceFile struct {
	Path       string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	ParentPath string `protobuf:"bytes,2,opt,name=parent_path,json=parentPath,proto3" json:"parent_path,omitempty"`
	Name       string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Mode       int64  `protobuf:"varint,17,opt,name=mode,proto3" json:"mode,omitempty"`
	ModTime    int64  `protobuf:"varint,18,opt,name=mod_time,json=modTime,proto3" json:"mod_time,omitempty"`
	Size       int64  `protobuf:"varint,19,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceFile) Descriptor deprecated

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

Deprecated: Use SourceFile.ProtoReflect.Descriptor instead.

func (*SourceFile) GetModTime

func (x *SourceFile) GetModTime() int64

func (*SourceFile) GetMode

func (x *SourceFile) GetMode() int64

func (*SourceFile) GetName

func (x *SourceFile) GetName() string

func (*SourceFile) GetParentPath

func (x *SourceFile) GetParentPath() string

func (*SourceFile) GetPath

func (x *SourceFile) GetPath() string

func (*SourceFile) GetSize

func (x *SourceFile) GetSize() int64

func (*SourceFile) ProtoMessage

func (*SourceFile) ProtoMessage()

func (*SourceFile) ProtoReflect

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

func (*SourceFile) Reset

func (x *SourceFile) Reset()

func (*SourceFile) String

func (x *SourceFile) String() string

type SourceGetSizeReply added in v0.1.17

type SourceGetSizeReply struct {
	Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceGetSizeReply) Descriptor deprecated added in v0.1.17

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

Deprecated: Use SourceGetSizeReply.ProtoReflect.Descriptor instead.

func (*SourceGetSizeReply) GetSize added in v0.1.17

func (x *SourceGetSizeReply) GetSize() int64

func (*SourceGetSizeReply) ProtoMessage added in v0.1.17

func (*SourceGetSizeReply) ProtoMessage()

func (*SourceGetSizeReply) ProtoReflect added in v0.1.17

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

func (*SourceGetSizeReply) Reset added in v0.1.17

func (x *SourceGetSizeReply) Reset()

func (*SourceGetSizeReply) String added in v0.1.17

func (x *SourceGetSizeReply) String() string

type SourceGetSizeRequest added in v0.1.17

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

func (*SourceGetSizeRequest) Descriptor deprecated added in v0.1.17

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

Deprecated: Use SourceGetSizeRequest.ProtoReflect.Descriptor instead.

func (*SourceGetSizeRequest) GetPath added in v0.1.17

func (x *SourceGetSizeRequest) GetPath() string

func (*SourceGetSizeRequest) ProtoMessage added in v0.1.17

func (*SourceGetSizeRequest) ProtoMessage()

func (*SourceGetSizeRequest) ProtoReflect added in v0.1.17

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

func (*SourceGetSizeRequest) Reset added in v0.1.17

func (x *SourceGetSizeRequest) Reset()

func (*SourceGetSizeRequest) String added in v0.1.17

func (x *SourceGetSizeRequest) String() string

type SourceListReply

type SourceListReply struct {
	File     *SourceFile   `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	Chain    []*SourceFile `protobuf:"bytes,2,rep,name=chain,proto3" json:"chain,omitempty"`
	Children []*SourceFile `protobuf:"bytes,17,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceListReply) Descriptor deprecated

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

Deprecated: Use SourceListReply.ProtoReflect.Descriptor instead.

func (*SourceListReply) GetChain

func (x *SourceListReply) GetChain() []*SourceFile

func (*SourceListReply) GetChildren

func (x *SourceListReply) GetChildren() []*SourceFile

func (*SourceListReply) GetFile

func (x *SourceListReply) GetFile() *SourceFile

func (*SourceListReply) ProtoMessage

func (*SourceListReply) ProtoMessage()

func (*SourceListReply) ProtoReflect

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

func (*SourceListReply) Reset

func (x *SourceListReply) Reset()

func (*SourceListReply) String

func (x *SourceListReply) String() string

type SourceListRequest

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

func (*SourceListRequest) Descriptor deprecated

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

Deprecated: Use SourceListRequest.ProtoReflect.Descriptor instead.

func (*SourceListRequest) GetPath

func (x *SourceListRequest) GetPath() string

func (*SourceListRequest) ProtoMessage

func (*SourceListRequest) ProtoMessage()

func (*SourceListRequest) ProtoReflect

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

func (*SourceListRequest) Reset

func (x *SourceListRequest) Reset()

func (*SourceListRequest) String

func (x *SourceListRequest) String() string

type SourceState

type SourceState struct {
	Source  *Source    `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Size    int64      `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Status  CopyStatus `protobuf:"varint,3,opt,name=status,proto3,enum=copy_status.CopyStatus" json:"status,omitempty"`
	Message *string    `protobuf:"bytes,4,opt,name=message,proto3,oneof" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceState) Descriptor deprecated

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

Deprecated: Use SourceState.ProtoReflect.Descriptor instead.

func (*SourceState) GetMessage

func (x *SourceState) GetMessage() string

func (*SourceState) GetSize

func (x *SourceState) GetSize() int64

func (*SourceState) GetSource

func (x *SourceState) GetSource() *Source

func (*SourceState) GetStatus

func (x *SourceState) GetStatus() CopyStatus

func (*SourceState) ProtoMessage

func (*SourceState) ProtoMessage()

func (*SourceState) ProtoReflect

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

func (*SourceState) Reset

func (x *SourceState) Reset()

func (*SourceState) String

func (x *SourceState) String() string

type Tape

type Tape struct {
	Id            int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Barcode       string `protobuf:"bytes,2,opt,name=barcode,proto3" json:"barcode,omitempty"`
	Name          string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Encryption    string `protobuf:"bytes,4,opt,name=encryption,proto3" json:"encryption,omitempty"`
	CreateTime    int64  `protobuf:"varint,17,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	DestroyTime   *int64 `protobuf:"varint,18,opt,name=destroy_time,json=destroyTime,proto3,oneof" json:"destroy_time,omitempty"`
	CapacityBytes int64  `protobuf:"varint,19,opt,name=capacity_bytes,json=capacityBytes,proto3" json:"capacity_bytes,omitempty"`
	WritenBytes   int64  `protobuf:"varint,20,opt,name=writen_bytes,json=writenBytes,proto3" json:"writen_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*Tape) Descriptor deprecated

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

Deprecated: Use Tape.ProtoReflect.Descriptor instead.

func (*Tape) GetBarcode

func (x *Tape) GetBarcode() string

func (*Tape) GetCapacityBytes

func (x *Tape) GetCapacityBytes() int64

func (*Tape) GetCreateTime

func (x *Tape) GetCreateTime() int64

func (*Tape) GetDestroyTime

func (x *Tape) GetDestroyTime() int64

func (*Tape) GetEncryption

func (x *Tape) GetEncryption() string

func (*Tape) GetId

func (x *Tape) GetId() int64

func (*Tape) GetName

func (x *Tape) GetName() string

func (*Tape) GetWritenBytes

func (x *Tape) GetWritenBytes() int64

func (*Tape) ProtoMessage

func (*Tape) ProtoMessage()

func (*Tape) ProtoReflect

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

func (*Tape) Reset

func (x *Tape) Reset()

func (*Tape) String

func (x *Tape) String() string

type TapeDeleteReply

type TapeDeleteReply struct {
	// contains filtered or unexported fields
}

func (*TapeDeleteReply) Descriptor deprecated

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

Deprecated: Use TapeDeleteReply.ProtoReflect.Descriptor instead.

func (*TapeDeleteReply) ProtoMessage

func (*TapeDeleteReply) ProtoMessage()

func (*TapeDeleteReply) ProtoReflect

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

func (*TapeDeleteReply) Reset

func (x *TapeDeleteReply) Reset()

func (*TapeDeleteReply) String

func (x *TapeDeleteReply) String() string

type TapeDeleteRequest

type TapeDeleteRequest struct {
	Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*TapeDeleteRequest) Descriptor deprecated

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

Deprecated: Use TapeDeleteRequest.ProtoReflect.Descriptor instead.

func (*TapeDeleteRequest) GetIds

func (x *TapeDeleteRequest) GetIds() []int64

func (*TapeDeleteRequest) ProtoMessage

func (*TapeDeleteRequest) ProtoMessage()

func (*TapeDeleteRequest) ProtoReflect

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

func (*TapeDeleteRequest) Reset

func (x *TapeDeleteRequest) Reset()

func (*TapeDeleteRequest) String

func (x *TapeDeleteRequest) String() string

type TapeFilter

type TapeFilter struct {
	Limit  *int64 `protobuf:"varint,33,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
	Offset *int64 `protobuf:"varint,34,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*TapeFilter) Descriptor deprecated

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

Deprecated: Use TapeFilter.ProtoReflect.Descriptor instead.

func (*TapeFilter) GetLimit

func (x *TapeFilter) GetLimit() int64

func (*TapeFilter) GetOffset

func (x *TapeFilter) GetOffset() int64

func (*TapeFilter) ProtoMessage

func (*TapeFilter) ProtoMessage()

func (*TapeFilter) ProtoReflect

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

func (*TapeFilter) Reset

func (x *TapeFilter) Reset()

func (*TapeFilter) String

func (x *TapeFilter) String() string

type TapeGetPositionsReply added in v0.1.8

type TapeGetPositionsReply struct {
	Positions []*Position `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions,omitempty"`
	// contains filtered or unexported fields
}

func (*TapeGetPositionsReply) Descriptor deprecated added in v0.1.8

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

Deprecated: Use TapeGetPositionsReply.ProtoReflect.Descriptor instead.

func (*TapeGetPositionsReply) GetPositions added in v0.1.8

func (x *TapeGetPositionsReply) GetPositions() []*Position

func (*TapeGetPositionsReply) ProtoMessage added in v0.1.8

func (*TapeGetPositionsReply) ProtoMessage()

func (*TapeGetPositionsReply) ProtoReflect added in v0.1.8

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

func (*TapeGetPositionsReply) Reset added in v0.1.8

func (x *TapeGetPositionsReply) Reset()

func (*TapeGetPositionsReply) String added in v0.1.8

func (x *TapeGetPositionsReply) String() string

type TapeGetPositionsRequest added in v0.1.8

type TapeGetPositionsRequest struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Directory string `protobuf:"bytes,2,opt,name=directory,proto3" json:"directory,omitempty"`
	// contains filtered or unexported fields
}

func (*TapeGetPositionsRequest) Descriptor deprecated added in v0.1.8

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

Deprecated: Use TapeGetPositionsRequest.ProtoReflect.Descriptor instead.

func (*TapeGetPositionsRequest) GetDirectory added in v0.1.8

func (x *TapeGetPositionsRequest) GetDirectory() string

func (*TapeGetPositionsRequest) GetId added in v0.1.8

func (x *TapeGetPositionsRequest) GetId() int64

func (*TapeGetPositionsRequest) ProtoMessage added in v0.1.8

func (*TapeGetPositionsRequest) ProtoMessage()

func (*TapeGetPositionsRequest) ProtoReflect added in v0.1.8

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

func (*TapeGetPositionsRequest) Reset added in v0.1.8

func (x *TapeGetPositionsRequest) Reset()

func (*TapeGetPositionsRequest) String added in v0.1.8

func (x *TapeGetPositionsRequest) String() string

type TapeListReply

type TapeListReply struct {
	Tapes []*Tape `protobuf:"bytes,1,rep,name=tapes,proto3" json:"tapes,omitempty"`
	// contains filtered or unexported fields
}

func (*TapeListReply) Descriptor deprecated

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

Deprecated: Use TapeListReply.ProtoReflect.Descriptor instead.

func (*TapeListReply) GetTapes

func (x *TapeListReply) GetTapes() []*Tape

func (*TapeListReply) ProtoMessage

func (*TapeListReply) ProtoMessage()

func (*TapeListReply) ProtoReflect

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

func (*TapeListReply) Reset

func (x *TapeListReply) Reset()

func (*TapeListReply) String

func (x *TapeListReply) String() string

type TapeListRequest

type TapeListRequest struct {

	// Types that are assignable to Param:
	//	*TapeListRequest_Mget
	//	*TapeListRequest_List
	Param isTapeListRequest_Param `protobuf_oneof:"param"`
	// contains filtered or unexported fields
}

func (*TapeListRequest) Descriptor deprecated

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

Deprecated: Use TapeListRequest.ProtoReflect.Descriptor instead.

func (*TapeListRequest) GetList

func (x *TapeListRequest) GetList() *TapeFilter

func (*TapeListRequest) GetMget

func (x *TapeListRequest) GetMget() *TapeMGetRequest

func (*TapeListRequest) GetParam

func (m *TapeListRequest) GetParam() isTapeListRequest_Param

func (*TapeListRequest) ProtoMessage

func (*TapeListRequest) ProtoMessage()

func (*TapeListRequest) ProtoReflect

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

func (*TapeListRequest) Reset

func (x *TapeListRequest) Reset()

func (*TapeListRequest) String

func (x *TapeListRequest) String() string

type TapeListRequest_List

type TapeListRequest_List struct {
	List *TapeFilter `protobuf:"bytes,2,opt,name=list,proto3,oneof"`
}

type TapeListRequest_Mget

type TapeListRequest_Mget struct {
	Mget *TapeMGetRequest `protobuf:"bytes,1,opt,name=mget,proto3,oneof"`
}

type TapeMGetRequest

type TapeMGetRequest struct {
	Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*TapeMGetRequest) Descriptor deprecated

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

Deprecated: Use TapeMGetRequest.ProtoReflect.Descriptor instead.

func (*TapeMGetRequest) GetIds

func (x *TapeMGetRequest) GetIds() []int64

func (*TapeMGetRequest) ProtoMessage

func (*TapeMGetRequest) ProtoMessage()

func (*TapeMGetRequest) ProtoReflect

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

func (*TapeMGetRequest) Reset

func (x *TapeMGetRequest) Reset()

func (*TapeMGetRequest) String

func (x *TapeMGetRequest) String() string

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) DeviceList

func (UnimplementedServiceServer) FileDelete

func (UnimplementedServiceServer) FileEdit

func (UnimplementedServiceServer) FileGet

func (UnimplementedServiceServer) FileListParents

func (UnimplementedServiceServer) FileMkdir

func (UnimplementedServiceServer) JobCreate

func (UnimplementedServiceServer) JobDelete

func (UnimplementedServiceServer) JobDispatch added in v0.1.14

func (UnimplementedServiceServer) JobDisplay

func (UnimplementedServiceServer) JobEditState added in v0.1.14

func (UnimplementedServiceServer) JobGetLog

func (UnimplementedServiceServer) JobList

func (UnimplementedServiceServer) LibraryExport

func (UnimplementedServiceServer) LibraryTrim added in v0.1.8

func (UnimplementedServiceServer) SourceGetSize added in v0.1.17

func (UnimplementedServiceServer) SourceList

func (UnimplementedServiceServer) TapeDelete

func (UnimplementedServiceServer) TapeGetPositions added in v0.1.8

func (UnimplementedServiceServer) TapeList

type UnsafeServiceServer

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

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

Jump to

Keyboard shortcuts

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