spdkrpc

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReplicaMode_name = map[int32]string{
		0: "WO",
		1: "RW",
		2: "ERR",
	}
	ReplicaMode_value = map[string]int32{
		"WO":  0,
		"RW":  1,
		"ERR": 2,
	}
)

Enum value maps for ReplicaMode.

View Source
var File_github_com_longhorn_longhorn_spdk_engine_proto_spdkrpc_spdk_proto protoreflect.FileDescriptor

Functions

func GRPCReplicaModeToReplicaMode

func GRPCReplicaModeToReplicaMode(replicaMode ReplicaMode) types.Mode

func RegisterSPDKServiceServer

func RegisterSPDKServiceServer(s *grpc.Server, srv SPDKServiceServer)

Types

type BackupCreateRequest

type BackupCreateRequest struct {
	SnapshotName         string            `protobuf:"bytes,1,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
	BackupTarget         string            `protobuf:"bytes,2,opt,name=backup_target,json=backupTarget,proto3" json:"backup_target,omitempty"`
	VolumeName           string            `protobuf:"bytes,3,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
	Size                 int64             `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	EngineName           string            `protobuf:"bytes,5,opt,name=engine_name,json=engineName,proto3" json:"engine_name,omitempty"`
	ReplicaName          string            `protobuf:"bytes,6,opt,name=replica_name,json=replicaName,proto3" json:"replica_name,omitempty"`
	Labels               []string          `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty"`
	Credential           map[string]string `` /* 161-byte string literal not displayed */
	BackingImageName     string            `protobuf:"bytes,9,opt,name=backing_image_name,json=backingImageName,proto3" json:"backing_image_name,omitempty"`
	BackingImageChecksum string            `protobuf:"bytes,10,opt,name=backing_image_checksum,json=backingImageChecksum,proto3" json:"backing_image_checksum,omitempty"`
	BackupName           string            `protobuf:"bytes,11,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"`
	CompressionMethod    string            `protobuf:"bytes,12,opt,name=compression_method,json=compressionMethod,proto3" json:"compression_method,omitempty"`
	ConcurrentLimit      int32             `protobuf:"varint,13,opt,name=concurrent_limit,json=concurrentLimit,proto3" json:"concurrent_limit,omitempty"`
	StorageClassName     string            `protobuf:"bytes,14,opt,name=storage_class_name,json=storageClassName,proto3" json:"storage_class_name,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupCreateRequest) Descriptor deprecated

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

Deprecated: Use BackupCreateRequest.ProtoReflect.Descriptor instead.

func (*BackupCreateRequest) GetBackingImageChecksum

func (x *BackupCreateRequest) GetBackingImageChecksum() string

func (*BackupCreateRequest) GetBackingImageName

func (x *BackupCreateRequest) GetBackingImageName() string

func (*BackupCreateRequest) GetBackupName

func (x *BackupCreateRequest) GetBackupName() string

func (*BackupCreateRequest) GetBackupTarget

func (x *BackupCreateRequest) GetBackupTarget() string

func (*BackupCreateRequest) GetCompressionMethod

func (x *BackupCreateRequest) GetCompressionMethod() string

func (*BackupCreateRequest) GetConcurrentLimit

func (x *BackupCreateRequest) GetConcurrentLimit() int32

func (*BackupCreateRequest) GetCredential

func (x *BackupCreateRequest) GetCredential() map[string]string

func (*BackupCreateRequest) GetEngineName

func (x *BackupCreateRequest) GetEngineName() string

func (*BackupCreateRequest) GetLabels

func (x *BackupCreateRequest) GetLabels() []string

func (*BackupCreateRequest) GetReplicaName

func (x *BackupCreateRequest) GetReplicaName() string

func (*BackupCreateRequest) GetSize

func (x *BackupCreateRequest) GetSize() int64

func (*BackupCreateRequest) GetSnapshotName

func (x *BackupCreateRequest) GetSnapshotName() string

func (*BackupCreateRequest) GetStorageClassName

func (x *BackupCreateRequest) GetStorageClassName() string

func (*BackupCreateRequest) GetVolumeName

func (x *BackupCreateRequest) GetVolumeName() string

func (*BackupCreateRequest) ProtoMessage

func (*BackupCreateRequest) ProtoMessage()

func (*BackupCreateRequest) ProtoReflect

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

func (*BackupCreateRequest) Reset

func (x *BackupCreateRequest) Reset()

func (*BackupCreateRequest) String

func (x *BackupCreateRequest) String() string

type BackupCreateResponse

type BackupCreateResponse struct {
	Backup         string `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"`
	IsIncremental  bool   `protobuf:"varint,2,opt,name=is_incremental,json=isIncremental,proto3" json:"is_incremental,omitempty"`
	ReplicaAddress string `protobuf:"bytes,3,opt,name=replica_address,json=replicaAddress,proto3" json:"replica_address,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupCreateResponse) Descriptor deprecated

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

Deprecated: Use BackupCreateResponse.ProtoReflect.Descriptor instead.

func (*BackupCreateResponse) GetBackup

func (x *BackupCreateResponse) GetBackup() string

func (*BackupCreateResponse) GetIsIncremental

func (x *BackupCreateResponse) GetIsIncremental() bool

func (*BackupCreateResponse) GetReplicaAddress

func (x *BackupCreateResponse) GetReplicaAddress() string

func (*BackupCreateResponse) ProtoMessage

func (*BackupCreateResponse) ProtoMessage()

func (*BackupCreateResponse) ProtoReflect

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

func (*BackupCreateResponse) Reset

func (x *BackupCreateResponse) Reset()

func (*BackupCreateResponse) String

func (x *BackupCreateResponse) String() string

type BackupStatusRequest

type BackupStatusRequest struct {
	Backup         string `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"`
	EngineName     string `protobuf:"bytes,2,opt,name=engine_name,json=engineName,proto3" json:"engine_name,omitempty"`
	ReplicaAddress string `protobuf:"bytes,3,opt,name=replica_address,json=replicaAddress,proto3" json:"replica_address,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupStatusRequest) Descriptor deprecated

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

Deprecated: Use BackupStatusRequest.ProtoReflect.Descriptor instead.

func (*BackupStatusRequest) GetBackup

func (x *BackupStatusRequest) GetBackup() string

func (*BackupStatusRequest) GetEngineName

func (x *BackupStatusRequest) GetEngineName() string

func (*BackupStatusRequest) GetReplicaAddress

func (x *BackupStatusRequest) GetReplicaAddress() string

func (*BackupStatusRequest) ProtoMessage

func (*BackupStatusRequest) ProtoMessage()

func (*BackupStatusRequest) ProtoReflect

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

func (*BackupStatusRequest) Reset

func (x *BackupStatusRequest) Reset()

func (*BackupStatusRequest) String

func (x *BackupStatusRequest) String() string

type BackupStatusResponse

type BackupStatusResponse struct {
	Progress       int32  `protobuf:"varint,1,opt,name=progress,proto3" json:"progress,omitempty"`
	BackupUrl      string `protobuf:"bytes,2,opt,name=backup_url,json=backupUrl,proto3" json:"backup_url,omitempty"`
	Error          string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	SnapshotName   string `protobuf:"bytes,4,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
	State          string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	ReplicaAddress string `protobuf:"bytes,6,opt,name=replica_address,json=replicaAddress,proto3" json:"replica_address,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupStatusResponse) Descriptor deprecated

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

Deprecated: Use BackupStatusResponse.ProtoReflect.Descriptor instead.

func (*BackupStatusResponse) GetBackupUrl

func (x *BackupStatusResponse) GetBackupUrl() string

func (*BackupStatusResponse) GetError

func (x *BackupStatusResponse) GetError() string

func (*BackupStatusResponse) GetProgress

func (x *BackupStatusResponse) GetProgress() int32

func (*BackupStatusResponse) GetReplicaAddress

func (x *BackupStatusResponse) GetReplicaAddress() string

func (*BackupStatusResponse) GetSnapshotName

func (x *BackupStatusResponse) GetSnapshotName() string

func (*BackupStatusResponse) GetState

func (x *BackupStatusResponse) GetState() string

func (*BackupStatusResponse) ProtoMessage

func (*BackupStatusResponse) ProtoMessage()

func (*BackupStatusResponse) ProtoReflect

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

func (*BackupStatusResponse) Reset

func (x *BackupStatusResponse) Reset()

func (*BackupStatusResponse) String

func (x *BackupStatusResponse) String() string

type Disk

type Disk struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid        string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Path        string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Type        string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	TotalSize   int64  `protobuf:"varint,5,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	FreeSize    int64  `protobuf:"varint,6,opt,name=free_size,json=freeSize,proto3" json:"free_size,omitempty"`
	TotalBlocks int64  `protobuf:"varint,7,opt,name=total_blocks,json=totalBlocks,proto3" json:"total_blocks,omitempty"`
	FreeBlocks  int64  `protobuf:"varint,8,opt,name=free_blocks,json=freeBlocks,proto3" json:"free_blocks,omitempty"`
	BlockSize   int64  `protobuf:"varint,9,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
	ClusterSize int64  `protobuf:"varint,10,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"`
	// contains filtered or unexported fields
}

func (*Disk) Descriptor deprecated

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

Deprecated: Use Disk.ProtoReflect.Descriptor instead.

func (*Disk) GetBlockSize

func (x *Disk) GetBlockSize() int64

func (*Disk) GetClusterSize

func (x *Disk) GetClusterSize() int64

func (*Disk) GetFreeBlocks

func (x *Disk) GetFreeBlocks() int64

func (*Disk) GetFreeSize

func (x *Disk) GetFreeSize() int64

func (*Disk) GetId

func (x *Disk) GetId() string

func (*Disk) GetPath

func (x *Disk) GetPath() string

func (*Disk) GetTotalBlocks

func (x *Disk) GetTotalBlocks() int64

func (*Disk) GetTotalSize

func (x *Disk) GetTotalSize() int64

func (*Disk) GetType

func (x *Disk) GetType() string

func (*Disk) GetUuid

func (x *Disk) GetUuid() string

func (*Disk) ProtoMessage

func (*Disk) ProtoMessage()

func (*Disk) ProtoReflect

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

func (*Disk) Reset

func (x *Disk) Reset()

func (*Disk) String

func (x *Disk) String() string

type DiskCreateRequest

type DiskCreateRequest struct {
	DiskName  string `protobuf:"bytes,1,opt,name=disk_name,json=diskName,proto3" json:"disk_name,omitempty"`
	DiskUuid  string `protobuf:"bytes,2,opt,name=disk_uuid,json=diskUuid,proto3" json:"disk_uuid,omitempty"`
	DiskPath  string `protobuf:"bytes,3,opt,name=disk_path,json=diskPath,proto3" json:"disk_path,omitempty"`
	BlockSize int64  `protobuf:"varint,4,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskCreateRequest) Descriptor deprecated

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

Deprecated: Use DiskCreateRequest.ProtoReflect.Descriptor instead.

func (*DiskCreateRequest) GetBlockSize

func (x *DiskCreateRequest) GetBlockSize() int64

func (*DiskCreateRequest) GetDiskName

func (x *DiskCreateRequest) GetDiskName() string

func (*DiskCreateRequest) GetDiskPath

func (x *DiskCreateRequest) GetDiskPath() string

func (*DiskCreateRequest) GetDiskUuid

func (x *DiskCreateRequest) GetDiskUuid() string

func (*DiskCreateRequest) ProtoMessage

func (*DiskCreateRequest) ProtoMessage()

func (*DiskCreateRequest) ProtoReflect

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

func (*DiskCreateRequest) Reset

func (x *DiskCreateRequest) Reset()

func (*DiskCreateRequest) String

func (x *DiskCreateRequest) String() string

type DiskDeleteRequest

type DiskDeleteRequest struct {
	DiskName string `protobuf:"bytes,1,opt,name=disk_name,json=diskName,proto3" json:"disk_name,omitempty"`
	DiskUuid string `protobuf:"bytes,2,opt,name=disk_uuid,json=diskUuid,proto3" json:"disk_uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskDeleteRequest) Descriptor deprecated

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

Deprecated: Use DiskDeleteRequest.ProtoReflect.Descriptor instead.

func (*DiskDeleteRequest) GetDiskName

func (x *DiskDeleteRequest) GetDiskName() string

func (*DiskDeleteRequest) GetDiskUuid

func (x *DiskDeleteRequest) GetDiskUuid() string

func (*DiskDeleteRequest) ProtoMessage

func (*DiskDeleteRequest) ProtoMessage()

func (*DiskDeleteRequest) ProtoReflect

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

func (*DiskDeleteRequest) Reset

func (x *DiskDeleteRequest) Reset()

func (*DiskDeleteRequest) String

func (x *DiskDeleteRequest) String() string

type DiskGetRequest

type DiskGetRequest struct {
	DiskName string `protobuf:"bytes,1,opt,name=disk_name,json=diskName,proto3" json:"disk_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskGetRequest) Descriptor deprecated

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

Deprecated: Use DiskGetRequest.ProtoReflect.Descriptor instead.

func (*DiskGetRequest) GetDiskName

func (x *DiskGetRequest) GetDiskName() string

func (*DiskGetRequest) ProtoMessage

func (*DiskGetRequest) ProtoMessage()

func (*DiskGetRequest) ProtoReflect

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

func (*DiskGetRequest) Reset

func (x *DiskGetRequest) Reset()

func (*DiskGetRequest) String

func (x *DiskGetRequest) String() string

type Engine

type Engine struct {
	Name              string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	VolumeName        string                 `protobuf:"bytes,2,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
	SpecSize          uint64                 `protobuf:"varint,3,opt,name=spec_size,json=specSize,proto3" json:"spec_size,omitempty"`
	ActualSize        uint64                 `protobuf:"varint,4,opt,name=actual_size,json=actualSize,proto3" json:"actual_size,omitempty"`
	Ip                string                 `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"`
	Port              int32                  `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"`
	ReplicaAddressMap map[string]string      `` /* 202-byte string literal not displayed */
	ReplicaModeMap    map[string]ReplicaMode `` /* 219-byte string literal not displayed */
	Head              *Lvol                  `protobuf:"bytes,9,opt,name=head,proto3" json:"head,omitempty"`
	Snapshots         map[string]*Lvol       `` /* 160-byte string literal not displayed */
	Frontend          string                 `protobuf:"bytes,11,opt,name=frontend,proto3" json:"frontend,omitempty"`
	Endpoint          string                 `protobuf:"bytes,12,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	State             string                 `protobuf:"bytes,13,opt,name=state,proto3" json:"state,omitempty"`
	ErrorMsg          string                 `protobuf:"bytes,14,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
	// contains filtered or unexported fields
}

func (*Engine) Descriptor deprecated

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

Deprecated: Use Engine.ProtoReflect.Descriptor instead.

func (*Engine) GetActualSize

func (x *Engine) GetActualSize() uint64

func (*Engine) GetEndpoint

func (x *Engine) GetEndpoint() string

func (*Engine) GetErrorMsg

func (x *Engine) GetErrorMsg() string

func (*Engine) GetFrontend

func (x *Engine) GetFrontend() string

func (*Engine) GetHead

func (x *Engine) GetHead() *Lvol

func (*Engine) GetIp

func (x *Engine) GetIp() string

func (*Engine) GetName

func (x *Engine) GetName() string

func (*Engine) GetPort

func (x *Engine) GetPort() int32

func (*Engine) GetReplicaAddressMap

func (x *Engine) GetReplicaAddressMap() map[string]string

func (*Engine) GetReplicaModeMap

func (x *Engine) GetReplicaModeMap() map[string]ReplicaMode

func (*Engine) GetSnapshots

func (x *Engine) GetSnapshots() map[string]*Lvol

func (*Engine) GetSpecSize

func (x *Engine) GetSpecSize() uint64

func (*Engine) GetState

func (x *Engine) GetState() string

func (*Engine) GetVolumeName

func (x *Engine) GetVolumeName() string

func (*Engine) ProtoMessage

func (*Engine) ProtoMessage()

func (*Engine) ProtoReflect

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

func (*Engine) Reset

func (x *Engine) Reset()

func (*Engine) String

func (x *Engine) String() string

type EngineBackupRestoreFinishRequest

type EngineBackupRestoreFinishRequest struct {
	EngineName string `protobuf:"bytes,1,opt,name=engine_name,json=engineName,proto3" json:"engine_name,omitempty"`
	// contains filtered or unexported fields
}

func (*EngineBackupRestoreFinishRequest) Descriptor deprecated

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

Deprecated: Use EngineBackupRestoreFinishRequest.ProtoReflect.Descriptor instead.

func (*EngineBackupRestoreFinishRequest) GetEngineName

func (x *EngineBackupRestoreFinishRequest) GetEngineName() string

func (*EngineBackupRestoreFinishRequest) ProtoMessage

func (*EngineBackupRestoreFinishRequest) ProtoMessage()

func (*EngineBackupRestoreFinishRequest) ProtoReflect

func (*EngineBackupRestoreFinishRequest) Reset

func (*EngineBackupRestoreFinishRequest) String

type EngineBackupRestoreRequest

type EngineBackupRestoreRequest struct {
	BackupUrl       string            `protobuf:"bytes,1,opt,name=backup_url,json=backupUrl,proto3" json:"backup_url,omitempty"`
	EngineName      string            `protobuf:"bytes,2,opt,name=engine_name,json=engineName,proto3" json:"engine_name,omitempty"`
	SnapshotName    string            `protobuf:"bytes,3,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
	Credential      map[string]string `` /* 161-byte string literal not displayed */
	ConcurrentLimit int32             `protobuf:"varint,5,opt,name=concurrent_limit,json=concurrentLimit,proto3" json:"concurrent_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*EngineBackupRestoreRequest) Descriptor deprecated

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

Deprecated: Use EngineBackupRestoreRequest.ProtoReflect.Descriptor instead.

func (*EngineBackupRestoreRequest) GetBackupUrl

func (x *EngineBackupRestoreRequest) GetBackupUrl() string

func (*EngineBackupRestoreRequest) GetConcurrentLimit

func (x *EngineBackupRestoreRequest) GetConcurrentLimit() int32

func (*EngineBackupRestoreRequest) GetCredential

func (x *EngineBackupRestoreRequest) GetCredential() map[string]string

func (*EngineBackupRestoreRequest) GetEngineName

func (x *EngineBackupRestoreRequest) GetEngineName() string

func (*EngineBackupRestoreRequest) GetSnapshotName

func (x *EngineBackupRestoreRequest) GetSnapshotName() string

func (*EngineBackupRestoreRequest) ProtoMessage

func (*EngineBackupRestoreRequest) ProtoMessage()

func (*EngineBackupRestoreRequest) ProtoReflect

func (*EngineBackupRestoreRequest) Reset

func (x *EngineBackupRestoreRequest) Reset()

func (*EngineBackupRestoreRequest) String

func (x *EngineBackupRestoreRequest) String() string

type EngineBackupRestoreResponse

type EngineBackupRestoreResponse struct {
	Errors map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EngineBackupRestoreResponse) Descriptor deprecated

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

Deprecated: Use EngineBackupRestoreResponse.ProtoReflect.Descriptor instead.

func (*EngineBackupRestoreResponse) GetErrors

func (x *EngineBackupRestoreResponse) GetErrors() map[string]string

func (*EngineBackupRestoreResponse) ProtoMessage

func (*EngineBackupRestoreResponse) ProtoMessage()

func (*EngineBackupRestoreResponse) ProtoReflect

func (*EngineBackupRestoreResponse) Reset

func (x *EngineBackupRestoreResponse) Reset()

func (*EngineBackupRestoreResponse) String

func (x *EngineBackupRestoreResponse) String() string

type EngineCreateRequest

type EngineCreateRequest struct {
	Name              string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	VolumeName        string            `protobuf:"bytes,2,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
	SpecSize          uint64            `protobuf:"varint,3,opt,name=spec_size,json=specSize,proto3" json:"spec_size,omitempty"`
	ReplicaAddressMap map[string]string `` /* 202-byte string literal not displayed */
	Frontend          string            `protobuf:"bytes,5,opt,name=frontend,proto3" json:"frontend,omitempty"`
	PortCount         int32             `protobuf:"varint,6,opt,name=port_count,json=portCount,proto3" json:"port_count,omitempty"`
	// contains filtered or unexported fields
}

func (*EngineCreateRequest) Descriptor deprecated

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

Deprecated: Use EngineCreateRequest.ProtoReflect.Descriptor instead.

func (*EngineCreateRequest) GetFrontend

func (x *EngineCreateRequest) GetFrontend() string

func (*EngineCreateRequest) GetName

func (x *EngineCreateRequest) GetName() string

func (*EngineCreateRequest) GetPortCount

func (x *EngineCreateRequest) GetPortCount() int32

func (*EngineCreateRequest) GetReplicaAddressMap

func (x *EngineCreateRequest) GetReplicaAddressMap() map[string]string

func (*EngineCreateRequest) GetSpecSize

func (x *EngineCreateRequest) GetSpecSize() uint64

func (*EngineCreateRequest) GetVolumeName

func (x *EngineCreateRequest) GetVolumeName() string

func (*EngineCreateRequest) ProtoMessage

func (*EngineCreateRequest) ProtoMessage()

func (*EngineCreateRequest) ProtoReflect

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

func (*EngineCreateRequest) Reset

func (x *EngineCreateRequest) Reset()

func (*EngineCreateRequest) String

func (x *EngineCreateRequest) String() string

type EngineDeleteRequest

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

func (*EngineDeleteRequest) Descriptor deprecated

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

Deprecated: Use EngineDeleteRequest.ProtoReflect.Descriptor instead.

func (*EngineDeleteRequest) GetName

func (x *EngineDeleteRequest) GetName() string

func (*EngineDeleteRequest) ProtoMessage

func (*EngineDeleteRequest) ProtoMessage()

func (*EngineDeleteRequest) ProtoReflect

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

func (*EngineDeleteRequest) Reset

func (x *EngineDeleteRequest) Reset()

func (*EngineDeleteRequest) String

func (x *EngineDeleteRequest) String() string

type EngineGetRequest

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

func (*EngineGetRequest) Descriptor deprecated

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

Deprecated: Use EngineGetRequest.ProtoReflect.Descriptor instead.

func (*EngineGetRequest) GetName

func (x *EngineGetRequest) GetName() string

func (*EngineGetRequest) ProtoMessage

func (*EngineGetRequest) ProtoMessage()

func (*EngineGetRequest) ProtoReflect

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

func (*EngineGetRequest) Reset

func (x *EngineGetRequest) Reset()

func (*EngineGetRequest) String

func (x *EngineGetRequest) String() string

type EngineListResponse

type EngineListResponse struct {
	Engines map[string]*Engine `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EngineListResponse) Descriptor deprecated

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

Deprecated: Use EngineListResponse.ProtoReflect.Descriptor instead.

func (*EngineListResponse) GetEngines

func (x *EngineListResponse) GetEngines() map[string]*Engine

func (*EngineListResponse) ProtoMessage

func (*EngineListResponse) ProtoMessage()

func (*EngineListResponse) ProtoReflect

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

func (*EngineListResponse) Reset

func (x *EngineListResponse) Reset()

func (*EngineListResponse) String

func (x *EngineListResponse) String() string

type EngineReplicaAddRequest

type EngineReplicaAddRequest struct {
	EngineName     string `protobuf:"bytes,1,opt,name=engine_name,json=engineName,proto3" json:"engine_name,omitempty"`
	ReplicaName    string `protobuf:"bytes,2,opt,name=replica_name,json=replicaName,proto3" json:"replica_name,omitempty"`
	ReplicaAddress string `protobuf:"bytes,3,opt,name=replica_address,json=replicaAddress,proto3" json:"replica_address,omitempty"`
	// contains filtered or unexported fields
}

func (*EngineReplicaAddRequest) Descriptor deprecated

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

Deprecated: Use EngineReplicaAddRequest.ProtoReflect.Descriptor instead.

func (*EngineReplicaAddRequest) GetEngineName

func (x *EngineReplicaAddRequest) GetEngineName() string

func (*EngineReplicaAddRequest) GetReplicaAddress

func (x *EngineReplicaAddRequest) GetReplicaAddress() string

func (*EngineReplicaAddRequest) GetReplicaName

func (x *EngineReplicaAddRequest) GetReplicaName() string

func (*EngineReplicaAddRequest) ProtoMessage

func (*EngineReplicaAddRequest) ProtoMessage()

func (*EngineReplicaAddRequest) ProtoReflect

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

func (*EngineReplicaAddRequest) Reset

func (x *EngineReplicaAddRequest) Reset()

func (*EngineReplicaAddRequest) String

func (x *EngineReplicaAddRequest) String() string

type EngineReplicaDeleteRequest

type EngineReplicaDeleteRequest struct {
	EngineName     string `protobuf:"bytes,1,opt,name=engine_name,json=engineName,proto3" json:"engine_name,omitempty"`
	ReplicaName    string `protobuf:"bytes,2,opt,name=replica_name,json=replicaName,proto3" json:"replica_name,omitempty"`
	ReplicaAddress string `protobuf:"bytes,3,opt,name=replica_address,json=replicaAddress,proto3" json:"replica_address,omitempty"`
	// contains filtered or unexported fields
}

func (*EngineReplicaDeleteRequest) Descriptor deprecated

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

Deprecated: Use EngineReplicaDeleteRequest.ProtoReflect.Descriptor instead.

func (*EngineReplicaDeleteRequest) GetEngineName

func (x *EngineReplicaDeleteRequest) GetEngineName() string

func (*EngineReplicaDeleteRequest) GetReplicaAddress

func (x *EngineReplicaDeleteRequest) GetReplicaAddress() string

func (*EngineReplicaDeleteRequest) GetReplicaName

func (x *EngineReplicaDeleteRequest) GetReplicaName() string

func (*EngineReplicaDeleteRequest) ProtoMessage

func (*EngineReplicaDeleteRequest) ProtoMessage()

func (*EngineReplicaDeleteRequest) ProtoReflect

func (*EngineReplicaDeleteRequest) Reset

func (x *EngineReplicaDeleteRequest) Reset()

func (*EngineReplicaDeleteRequest) String

func (x *EngineReplicaDeleteRequest) String() string

type EngineReplicaListRequest

type EngineReplicaListRequest struct {
	EngineName string `protobuf:"bytes,1,opt,name=engine_name,json=engineName,proto3" json:"engine_name,omitempty"`
	// contains filtered or unexported fields
}

func (*EngineReplicaListRequest) Descriptor deprecated

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

Deprecated: Use EngineReplicaListRequest.ProtoReflect.Descriptor instead.

func (*EngineReplicaListRequest) GetEngineName

func (x *EngineReplicaListRequest) GetEngineName() string

func (*EngineReplicaListRequest) ProtoMessage

func (*EngineReplicaListRequest) ProtoMessage()

func (*EngineReplicaListRequest) ProtoReflect

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

func (*EngineReplicaListRequest) Reset

func (x *EngineReplicaListRequest) Reset()

func (*EngineReplicaListRequest) String

func (x *EngineReplicaListRequest) String() string

type EngineReplicaListResponse

type EngineReplicaListResponse struct {
	Replicas map[string]*Replica `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EngineReplicaListResponse) Descriptor deprecated

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

Deprecated: Use EngineReplicaListResponse.ProtoReflect.Descriptor instead.

func (*EngineReplicaListResponse) GetReplicas

func (x *EngineReplicaListResponse) GetReplicas() map[string]*Replica

func (*EngineReplicaListResponse) ProtoMessage

func (*EngineReplicaListResponse) ProtoMessage()

func (*EngineReplicaListResponse) ProtoReflect

func (*EngineReplicaListResponse) Reset

func (x *EngineReplicaListResponse) Reset()

func (*EngineReplicaListResponse) String

func (x *EngineReplicaListResponse) String() string

type LogGetFlagsResponse

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

func (*LogGetFlagsResponse) Descriptor deprecated

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

Deprecated: Use LogGetFlagsResponse.ProtoReflect.Descriptor instead.

func (*LogGetFlagsResponse) GetFlags

func (x *LogGetFlagsResponse) GetFlags() string

func (*LogGetFlagsResponse) ProtoMessage

func (*LogGetFlagsResponse) ProtoMessage()

func (*LogGetFlagsResponse) ProtoReflect

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

func (*LogGetFlagsResponse) Reset

func (x *LogGetFlagsResponse) Reset()

func (*LogGetFlagsResponse) String

func (x *LogGetFlagsResponse) String() string

type LogGetLevelResponse

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

func (*LogGetLevelResponse) Descriptor deprecated

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

Deprecated: Use LogGetLevelResponse.ProtoReflect.Descriptor instead.

func (*LogGetLevelResponse) GetLevel

func (x *LogGetLevelResponse) GetLevel() string

func (*LogGetLevelResponse) ProtoMessage

func (*LogGetLevelResponse) ProtoMessage()

func (*LogGetLevelResponse) ProtoReflect

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

func (*LogGetLevelResponse) Reset

func (x *LogGetLevelResponse) Reset()

func (*LogGetLevelResponse) String

func (x *LogGetLevelResponse) String() string

type LogSetFlagsRequest

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

func (*LogSetFlagsRequest) Descriptor deprecated

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

Deprecated: Use LogSetFlagsRequest.ProtoReflect.Descriptor instead.

func (*LogSetFlagsRequest) GetFlags

func (x *LogSetFlagsRequest) GetFlags() string

func (*LogSetFlagsRequest) ProtoMessage

func (*LogSetFlagsRequest) ProtoMessage()

func (*LogSetFlagsRequest) ProtoReflect

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

func (*LogSetFlagsRequest) Reset

func (x *LogSetFlagsRequest) Reset()

func (*LogSetFlagsRequest) String

func (x *LogSetFlagsRequest) String() string

type LogSetLevelRequest

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

func (*LogSetLevelRequest) Descriptor deprecated

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

Deprecated: Use LogSetLevelRequest.ProtoReflect.Descriptor instead.

func (*LogSetLevelRequest) GetLevel

func (x *LogSetLevelRequest) GetLevel() string

func (*LogSetLevelRequest) ProtoMessage

func (*LogSetLevelRequest) ProtoMessage()

func (*LogSetLevelRequest) ProtoReflect

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

func (*LogSetLevelRequest) Reset

func (x *LogSetLevelRequest) Reset()

func (*LogSetLevelRequest) String

func (x *LogSetLevelRequest) String() string

type Lvol

type Lvol struct {
	Name         string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Uuid         string          `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	SpecSize     uint64          `protobuf:"varint,3,opt,name=spec_size,json=specSize,proto3" json:"spec_size,omitempty"`
	ActualSize   uint64          `protobuf:"varint,4,opt,name=actual_size,json=actualSize,proto3" json:"actual_size,omitempty"`
	Parent       string          `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
	Children     map[string]bool `` /* 158-byte string literal not displayed */
	CreationTime string          `protobuf:"bytes,7,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
	UserCreated  bool            `protobuf:"varint,8,opt,name=user_created,json=userCreated,proto3" json:"user_created,omitempty"`
	// contains filtered or unexported fields
}

func (*Lvol) Descriptor deprecated

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

Deprecated: Use Lvol.ProtoReflect.Descriptor instead.

func (*Lvol) GetActualSize

func (x *Lvol) GetActualSize() uint64

func (*Lvol) GetChildren

func (x *Lvol) GetChildren() map[string]bool

func (*Lvol) GetCreationTime

func (x *Lvol) GetCreationTime() string

func (*Lvol) GetName

func (x *Lvol) GetName() string

func (*Lvol) GetParent

func (x *Lvol) GetParent() string

func (*Lvol) GetSpecSize

func (x *Lvol) GetSpecSize() uint64

func (*Lvol) GetUserCreated

func (x *Lvol) GetUserCreated() bool

func (*Lvol) GetUuid

func (x *Lvol) GetUuid() string

func (*Lvol) ProtoMessage

func (*Lvol) ProtoMessage()

func (*Lvol) ProtoReflect

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

func (*Lvol) Reset

func (x *Lvol) Reset()

func (*Lvol) String

func (x *Lvol) String() string

type Replica

type Replica struct {
	Name       string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	LvsName    string           `protobuf:"bytes,2,opt,name=lvs_name,json=lvsName,proto3" json:"lvs_name,omitempty"`
	LvsUuid    string           `protobuf:"bytes,3,opt,name=lvs_uuid,json=lvsUuid,proto3" json:"lvs_uuid,omitempty"`
	SpecSize   uint64           `protobuf:"varint,4,opt,name=spec_size,json=specSize,proto3" json:"spec_size,omitempty"`
	ActualSize uint64           `protobuf:"varint,5,opt,name=actual_size,json=actualSize,proto3" json:"actual_size,omitempty"`
	Ip         string           `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"`
	PortStart  int32            `protobuf:"varint,7,opt,name=port_start,json=portStart,proto3" json:"port_start,omitempty"`
	PortEnd    int32            `protobuf:"varint,8,opt,name=port_end,json=portEnd,proto3" json:"port_end,omitempty"`
	Head       *Lvol            `protobuf:"bytes,9,opt,name=head,proto3" json:"head,omitempty"`
	Snapshots  map[string]*Lvol `` /* 160-byte string literal not displayed */
	Rebuilding bool             `protobuf:"varint,11,opt,name=rebuilding,proto3" json:"rebuilding,omitempty"`
	State      string           `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"`
	ErrorMsg   string           `protobuf:"bytes,13,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
	// contains filtered or unexported fields
}

func (*Replica) Descriptor deprecated

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

Deprecated: Use Replica.ProtoReflect.Descriptor instead.

func (*Replica) GetActualSize

func (x *Replica) GetActualSize() uint64

func (*Replica) GetErrorMsg

func (x *Replica) GetErrorMsg() string

func (*Replica) GetHead

func (x *Replica) GetHead() *Lvol

func (*Replica) GetIp

func (x *Replica) GetIp() string

func (*Replica) GetLvsName

func (x *Replica) GetLvsName() string

func (*Replica) GetLvsUuid

func (x *Replica) GetLvsUuid() string

func (*Replica) GetName

func (x *Replica) GetName() string

func (*Replica) GetPortEnd

func (x *Replica) GetPortEnd() int32

func (*Replica) GetPortStart

func (x *Replica) GetPortStart() int32

func (*Replica) GetRebuilding

func (x *Replica) GetRebuilding() bool

func (*Replica) GetSnapshots

func (x *Replica) GetSnapshots() map[string]*Lvol

func (*Replica) GetSpecSize

func (x *Replica) GetSpecSize() uint64

func (*Replica) GetState

func (x *Replica) GetState() string

func (*Replica) ProtoMessage

func (*Replica) ProtoMessage()

func (*Replica) ProtoReflect

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

func (*Replica) Reset

func (x *Replica) Reset()

func (*Replica) String

func (x *Replica) String() string

type ReplicaBackupRestoreRequest

type ReplicaBackupRestoreRequest struct {
	BackupUrl       string            `protobuf:"bytes,1,opt,name=backup_url,json=backupUrl,proto3" json:"backup_url,omitempty"`
	ReplicaName     string            `protobuf:"bytes,2,opt,name=replica_name,json=replicaName,proto3" json:"replica_name,omitempty"`
	SnapshotName    string            `protobuf:"bytes,3,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
	Credential      map[string]string `` /* 161-byte string literal not displayed */
	ConcurrentLimit int32             `protobuf:"varint,5,opt,name=concurrent_limit,json=concurrentLimit,proto3" json:"concurrent_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplicaBackupRestoreRequest) Descriptor deprecated

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

Deprecated: Use ReplicaBackupRestoreRequest.ProtoReflect.Descriptor instead.

func (*ReplicaBackupRestoreRequest) GetBackupUrl

func (x *ReplicaBackupRestoreRequest) GetBackupUrl() string

func (*ReplicaBackupRestoreRequest) GetConcurrentLimit

func (x *ReplicaBackupRestoreRequest) GetConcurrentLimit() int32

func (*ReplicaBackupRestoreRequest) GetCredential

func (x *ReplicaBackupRestoreRequest) GetCredential() map[string]string

func (*ReplicaBackupRestoreRequest) GetReplicaName

func (x *ReplicaBackupRestoreRequest) GetReplicaName() string

func (*ReplicaBackupRestoreRequest) GetSnapshotName

func (x *ReplicaBackupRestoreRequest) GetSnapshotName() string

func (*ReplicaBackupRestoreRequest) ProtoMessage

func (*ReplicaBackupRestoreRequest) ProtoMessage()

func (*ReplicaBackupRestoreRequest) ProtoReflect

func (*ReplicaBackupRestoreRequest) Reset

func (x *ReplicaBackupRestoreRequest) Reset()

func (*ReplicaBackupRestoreRequest) String

func (x *ReplicaBackupRestoreRequest) String() string

type ReplicaCreateRequest

type ReplicaCreateRequest struct {
	Name           string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	LvsName        string `protobuf:"bytes,2,opt,name=lvs_name,json=lvsName,proto3" json:"lvs_name,omitempty"`
	LvsUuid        string `protobuf:"bytes,3,opt,name=lvs_uuid,json=lvsUuid,proto3" json:"lvs_uuid,omitempty"`
	SpecSize       uint64 `protobuf:"varint,4,opt,name=spec_size,json=specSize,proto3" json:"spec_size,omitempty"`
	ExposeRequired bool   `protobuf:"varint,5,opt,name=expose_required,json=exposeRequired,proto3" json:"expose_required,omitempty"`
	PortCount      int32  `protobuf:"varint,6,opt,name=port_count,json=portCount,proto3" json:"port_count,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplicaCreateRequest) Descriptor deprecated

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

Deprecated: Use ReplicaCreateRequest.ProtoReflect.Descriptor instead.

func (*ReplicaCreateRequest) GetExposeRequired

func (x *ReplicaCreateRequest) GetExposeRequired() bool

func (*ReplicaCreateRequest) GetLvsName

func (x *ReplicaCreateRequest) GetLvsName() string

func (*ReplicaCreateRequest) GetLvsUuid

func (x *ReplicaCreateRequest) GetLvsUuid() string

func (*ReplicaCreateRequest) GetName

func (x *ReplicaCreateRequest) GetName() string

func (*ReplicaCreateRequest) GetPortCount

func (x *ReplicaCreateRequest) GetPortCount() int32

func (*ReplicaCreateRequest) GetSpecSize

func (x *ReplicaCreateRequest) GetSpecSize() uint64

func (*ReplicaCreateRequest) ProtoMessage

func (*ReplicaCreateRequest) ProtoMessage()

func (*ReplicaCreateRequest) ProtoReflect

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

func (*ReplicaCreateRequest) Reset

func (x *ReplicaCreateRequest) Reset()

func (*ReplicaCreateRequest) String

func (x *ReplicaCreateRequest) String() string

type ReplicaDeleteRequest

type ReplicaDeleteRequest struct {
	Name            string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	CleanupRequired bool   `protobuf:"varint,2,opt,name=cleanup_required,json=cleanupRequired,proto3" json:"cleanup_required,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplicaDeleteRequest) Descriptor deprecated

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

Deprecated: Use ReplicaDeleteRequest.ProtoReflect.Descriptor instead.

func (*ReplicaDeleteRequest) GetCleanupRequired

func (x *ReplicaDeleteRequest) GetCleanupRequired() bool

func (*ReplicaDeleteRequest) GetName

func (x *ReplicaDeleteRequest) GetName() string

func (*ReplicaDeleteRequest) ProtoMessage

func (*ReplicaDeleteRequest) ProtoMessage()

func (*ReplicaDeleteRequest) ProtoReflect

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

func (*ReplicaDeleteRequest) Reset

func (x *ReplicaDeleteRequest) Reset()

func (*ReplicaDeleteRequest) String

func (x *ReplicaDeleteRequest) String() string

type ReplicaGetRequest

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

func (*ReplicaGetRequest) Descriptor deprecated

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

Deprecated: Use ReplicaGetRequest.ProtoReflect.Descriptor instead.

func (*ReplicaGetRequest) GetName

func (x *ReplicaGetRequest) GetName() string

func (*ReplicaGetRequest) ProtoMessage

func (*ReplicaGetRequest) ProtoMessage()

func (*ReplicaGetRequest) ProtoReflect

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

func (*ReplicaGetRequest) Reset

func (x *ReplicaGetRequest) Reset()

func (*ReplicaGetRequest) String

func (x *ReplicaGetRequest) String() string

type ReplicaListResponse

type ReplicaListResponse struct {
	Replicas map[string]*Replica `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ReplicaListResponse) Descriptor deprecated

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

Deprecated: Use ReplicaListResponse.ProtoReflect.Descriptor instead.

func (*ReplicaListResponse) GetReplicas

func (x *ReplicaListResponse) GetReplicas() map[string]*Replica

func (*ReplicaListResponse) ProtoMessage

func (*ReplicaListResponse) ProtoMessage()

func (*ReplicaListResponse) ProtoReflect

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

func (*ReplicaListResponse) Reset

func (x *ReplicaListResponse) Reset()

func (*ReplicaListResponse) String

func (x *ReplicaListResponse) String() string

type ReplicaMode

type ReplicaMode int32
const (
	ReplicaMode_WO  ReplicaMode = 0
	ReplicaMode_RW  ReplicaMode = 1
	ReplicaMode_ERR ReplicaMode = 2
)

func ReplicaModeToGRPCReplicaMode

func ReplicaModeToGRPCReplicaMode(mode types.Mode) ReplicaMode

func (ReplicaMode) Descriptor

func (ReplicaMode) Enum

func (x ReplicaMode) Enum() *ReplicaMode

func (ReplicaMode) EnumDescriptor deprecated

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

Deprecated: Use ReplicaMode.Descriptor instead.

func (ReplicaMode) Number

func (x ReplicaMode) Number() protoreflect.EnumNumber

func (ReplicaMode) String

func (x ReplicaMode) String() string

func (ReplicaMode) Type

type ReplicaRebuildingDstFinishRequest

type ReplicaRebuildingDstFinishRequest struct {
	Name             string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	UnexposeRequired bool   `protobuf:"varint,2,opt,name=unexpose_required,json=unexposeRequired,proto3" json:"unexpose_required,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplicaRebuildingDstFinishRequest) Descriptor deprecated

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

Deprecated: Use ReplicaRebuildingDstFinishRequest.ProtoReflect.Descriptor instead.

func (*ReplicaRebuildingDstFinishRequest) GetName

func (*ReplicaRebuildingDstFinishRequest) GetUnexposeRequired

func (x *ReplicaRebuildingDstFinishRequest) GetUnexposeRequired() bool

func (*ReplicaRebuildingDstFinishRequest) ProtoMessage

func (*ReplicaRebuildingDstFinishRequest) ProtoMessage()

func (*ReplicaRebuildingDstFinishRequest) ProtoReflect

func (*ReplicaRebuildingDstFinishRequest) Reset

func (*ReplicaRebuildingDstFinishRequest) String

type ReplicaRebuildingDstStartRequest

type ReplicaRebuildingDstStartRequest struct {
	Name           string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ExposeRequired bool   `protobuf:"varint,2,opt,name=expose_required,json=exposeRequired,proto3" json:"expose_required,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplicaRebuildingDstStartRequest) Descriptor deprecated

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

Deprecated: Use ReplicaRebuildingDstStartRequest.ProtoReflect.Descriptor instead.

func (*ReplicaRebuildingDstStartRequest) GetExposeRequired

func (x *ReplicaRebuildingDstStartRequest) GetExposeRequired() bool

func (*ReplicaRebuildingDstStartRequest) GetName

func (*ReplicaRebuildingDstStartRequest) ProtoMessage

func (*ReplicaRebuildingDstStartRequest) ProtoMessage()

func (*ReplicaRebuildingDstStartRequest) ProtoReflect

func (*ReplicaRebuildingDstStartRequest) Reset

func (*ReplicaRebuildingDstStartRequest) String

type ReplicaRebuildingDstStartResponse

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

func (*ReplicaRebuildingDstStartResponse) Descriptor deprecated

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

Deprecated: Use ReplicaRebuildingDstStartResponse.ProtoReflect.Descriptor instead.

func (*ReplicaRebuildingDstStartResponse) GetAddress

func (x *ReplicaRebuildingDstStartResponse) GetAddress() string

func (*ReplicaRebuildingDstStartResponse) ProtoMessage

func (*ReplicaRebuildingDstStartResponse) ProtoMessage()

func (*ReplicaRebuildingDstStartResponse) ProtoReflect

func (*ReplicaRebuildingDstStartResponse) Reset

func (*ReplicaRebuildingDstStartResponse) String

type ReplicaRebuildingSrcAttachRequest

type ReplicaRebuildingSrcAttachRequest struct {
	Name                     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DstReplicaName           string `protobuf:"bytes,2,opt,name=dst_replica_name,json=dstReplicaName,proto3" json:"dst_replica_name,omitempty"`
	DstRebuildingLvolAddress string `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ReplicaRebuildingSrcAttachRequest) Descriptor deprecated

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

Deprecated: Use ReplicaRebuildingSrcAttachRequest.ProtoReflect.Descriptor instead.

func (*ReplicaRebuildingSrcAttachRequest) GetDstRebuildingLvolAddress

func (x *ReplicaRebuildingSrcAttachRequest) GetDstRebuildingLvolAddress() string

func (*ReplicaRebuildingSrcAttachRequest) GetDstReplicaName

func (x *ReplicaRebuildingSrcAttachRequest) GetDstReplicaName() string

func (*ReplicaRebuildingSrcAttachRequest) GetName

func (*ReplicaRebuildingSrcAttachRequest) ProtoMessage

func (*ReplicaRebuildingSrcAttachRequest) ProtoMessage()

func (*ReplicaRebuildingSrcAttachRequest) ProtoReflect

func (*ReplicaRebuildingSrcAttachRequest) Reset

func (*ReplicaRebuildingSrcAttachRequest) String

type ReplicaRebuildingSrcDetachRequest

type ReplicaRebuildingSrcDetachRequest struct {
	Name           string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DstReplicaName string `protobuf:"bytes,2,opt,name=dst_replica_name,json=dstReplicaName,proto3" json:"dst_replica_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplicaRebuildingSrcDetachRequest) Descriptor deprecated

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

Deprecated: Use ReplicaRebuildingSrcDetachRequest.ProtoReflect.Descriptor instead.

func (*ReplicaRebuildingSrcDetachRequest) GetDstReplicaName

func (x *ReplicaRebuildingSrcDetachRequest) GetDstReplicaName() string

func (*ReplicaRebuildingSrcDetachRequest) GetName

func (*ReplicaRebuildingSrcDetachRequest) ProtoMessage

func (*ReplicaRebuildingSrcDetachRequest) ProtoMessage()

func (*ReplicaRebuildingSrcDetachRequest) ProtoReflect

func (*ReplicaRebuildingSrcDetachRequest) Reset

func (*ReplicaRebuildingSrcDetachRequest) String

type ReplicaRebuildingSrcFinishRequest

type ReplicaRebuildingSrcFinishRequest struct {
	Name           string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DstReplicaName string `protobuf:"bytes,2,opt,name=dst_replica_name,json=dstReplicaName,proto3" json:"dst_replica_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplicaRebuildingSrcFinishRequest) Descriptor deprecated

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

Deprecated: Use ReplicaRebuildingSrcFinishRequest.ProtoReflect.Descriptor instead.

func (*ReplicaRebuildingSrcFinishRequest) GetDstReplicaName

func (x *ReplicaRebuildingSrcFinishRequest) GetDstReplicaName() string

func (*ReplicaRebuildingSrcFinishRequest) GetName

func (*ReplicaRebuildingSrcFinishRequest) ProtoMessage

func (*ReplicaRebuildingSrcFinishRequest) ProtoMessage()

func (*ReplicaRebuildingSrcFinishRequest) ProtoReflect

func (*ReplicaRebuildingSrcFinishRequest) Reset

func (*ReplicaRebuildingSrcFinishRequest) String

type ReplicaRebuildingSrcStartRequest

type ReplicaRebuildingSrcStartRequest struct {
	Name                     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DstReplicaName           string `protobuf:"bytes,2,opt,name=dst_replica_name,json=dstReplicaName,proto3" json:"dst_replica_name,omitempty"`
	DstRebuildingLvolAddress string `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ReplicaRebuildingSrcStartRequest) Descriptor deprecated

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

Deprecated: Use ReplicaRebuildingSrcStartRequest.ProtoReflect.Descriptor instead.

func (*ReplicaRebuildingSrcStartRequest) GetDstRebuildingLvolAddress

func (x *ReplicaRebuildingSrcStartRequest) GetDstRebuildingLvolAddress() string

func (*ReplicaRebuildingSrcStartRequest) GetDstReplicaName

func (x *ReplicaRebuildingSrcStartRequest) GetDstReplicaName() string

func (*ReplicaRebuildingSrcStartRequest) GetName

func (*ReplicaRebuildingSrcStartRequest) ProtoMessage

func (*ReplicaRebuildingSrcStartRequest) ProtoMessage()

func (*ReplicaRebuildingSrcStartRequest) ProtoReflect

func (*ReplicaRebuildingSrcStartRequest) Reset

func (*ReplicaRebuildingSrcStartRequest) String

type ReplicaRestoreStatusRequest

type ReplicaRestoreStatusRequest struct {
	ReplicaName string `protobuf:"bytes,2,opt,name=replica_name,json=replicaName,proto3" json:"replica_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplicaRestoreStatusRequest) Descriptor deprecated

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

Deprecated: Use ReplicaRestoreStatusRequest.ProtoReflect.Descriptor instead.

func (*ReplicaRestoreStatusRequest) GetReplicaName

func (x *ReplicaRestoreStatusRequest) GetReplicaName() string

func (*ReplicaRestoreStatusRequest) ProtoMessage

func (*ReplicaRestoreStatusRequest) ProtoMessage()

func (*ReplicaRestoreStatusRequest) ProtoReflect

func (*ReplicaRestoreStatusRequest) Reset

func (x *ReplicaRestoreStatusRequest) Reset()

func (*ReplicaRestoreStatusRequest) String

func (x *ReplicaRestoreStatusRequest) String() string

type ReplicaRestoreStatusResponse

type ReplicaRestoreStatusResponse struct {
	ReplicaName            string `protobuf:"bytes,1,opt,name=replica_name,json=replicaName,proto3" json:"replica_name,omitempty"`
	ReplicaAddress         string `protobuf:"bytes,2,opt,name=replica_address,json=replicaAddress,proto3" json:"replica_address,omitempty"`
	IsRestoring            bool   `protobuf:"varint,3,opt,name=is_restoring,json=isRestoring,proto3" json:"is_restoring,omitempty"`
	LastRestored           string `protobuf:"bytes,4,opt,name=last_restored,json=lastRestored,proto3" json:"last_restored,omitempty"`
	Progress               int32  `protobuf:"varint,5,opt,name=progress,proto3" json:"progress,omitempty"`
	Error                  string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	DestFileName           string `protobuf:"bytes,7,opt,name=dest_file_name,json=destFileName,proto3" json:"dest_file_name,omitempty"`
	State                  string `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"`
	BackupUrl              string `protobuf:"bytes,9,opt,name=backup_url,json=backupUrl,proto3" json:"backup_url,omitempty"`
	CurrentRestoringBackup string `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ReplicaRestoreStatusResponse) Descriptor deprecated

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

Deprecated: Use ReplicaRestoreStatusResponse.ProtoReflect.Descriptor instead.

func (*ReplicaRestoreStatusResponse) GetBackupUrl

func (x *ReplicaRestoreStatusResponse) GetBackupUrl() string

func (*ReplicaRestoreStatusResponse) GetCurrentRestoringBackup

func (x *ReplicaRestoreStatusResponse) GetCurrentRestoringBackup() string

func (*ReplicaRestoreStatusResponse) GetDestFileName

func (x *ReplicaRestoreStatusResponse) GetDestFileName() string

func (*ReplicaRestoreStatusResponse) GetError

func (x *ReplicaRestoreStatusResponse) GetError() string

func (*ReplicaRestoreStatusResponse) GetIsRestoring

func (x *ReplicaRestoreStatusResponse) GetIsRestoring() bool

func (*ReplicaRestoreStatusResponse) GetLastRestored

func (x *ReplicaRestoreStatusResponse) GetLastRestored() string

func (*ReplicaRestoreStatusResponse) GetProgress

func (x *ReplicaRestoreStatusResponse) GetProgress() int32

func (*ReplicaRestoreStatusResponse) GetReplicaAddress

func (x *ReplicaRestoreStatusResponse) GetReplicaAddress() string

func (*ReplicaRestoreStatusResponse) GetReplicaName

func (x *ReplicaRestoreStatusResponse) GetReplicaName() string

func (*ReplicaRestoreStatusResponse) GetState

func (x *ReplicaRestoreStatusResponse) GetState() string

func (*ReplicaRestoreStatusResponse) ProtoMessage

func (*ReplicaRestoreStatusResponse) ProtoMessage()

func (*ReplicaRestoreStatusResponse) ProtoReflect

func (*ReplicaRestoreStatusResponse) Reset

func (x *ReplicaRestoreStatusResponse) Reset()

func (*ReplicaRestoreStatusResponse) String

type ReplicaSnapshotShallowCopyRequest

type ReplicaSnapshotShallowCopyRequest struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	SnapshotName string `protobuf:"bytes,2,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplicaSnapshotShallowCopyRequest) Descriptor deprecated

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

Deprecated: Use ReplicaSnapshotShallowCopyRequest.ProtoReflect.Descriptor instead.

func (*ReplicaSnapshotShallowCopyRequest) GetName

func (*ReplicaSnapshotShallowCopyRequest) GetSnapshotName

func (x *ReplicaSnapshotShallowCopyRequest) GetSnapshotName() string

func (*ReplicaSnapshotShallowCopyRequest) ProtoMessage

func (*ReplicaSnapshotShallowCopyRequest) ProtoMessage()

func (*ReplicaSnapshotShallowCopyRequest) ProtoReflect

func (*ReplicaSnapshotShallowCopyRequest) Reset

func (*ReplicaSnapshotShallowCopyRequest) String

type RestoreStatusRequest

type RestoreStatusRequest struct {
	EngineName string `protobuf:"bytes,1,opt,name=engine_name,json=engineName,proto3" json:"engine_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreStatusRequest) Descriptor deprecated

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

Deprecated: Use RestoreStatusRequest.ProtoReflect.Descriptor instead.

func (*RestoreStatusRequest) GetEngineName

func (x *RestoreStatusRequest) GetEngineName() string

func (*RestoreStatusRequest) ProtoMessage

func (*RestoreStatusRequest) ProtoMessage()

func (*RestoreStatusRequest) ProtoReflect

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

func (*RestoreStatusRequest) Reset

func (x *RestoreStatusRequest) Reset()

func (*RestoreStatusRequest) String

func (x *RestoreStatusRequest) String() string

type RestoreStatusResponse

type RestoreStatusResponse struct {
	Status map[string]*ReplicaRestoreStatusResponse `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RestoreStatusResponse) Descriptor deprecated

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

Deprecated: Use RestoreStatusResponse.ProtoReflect.Descriptor instead.

func (*RestoreStatusResponse) GetStatus

func (*RestoreStatusResponse) ProtoMessage

func (*RestoreStatusResponse) ProtoMessage()

func (*RestoreStatusResponse) ProtoReflect

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

func (*RestoreStatusResponse) Reset

func (x *RestoreStatusResponse) Reset()

func (*RestoreStatusResponse) String

func (x *RestoreStatusResponse) String() string

type SPDKServiceClient

type SPDKServiceClient interface {
	ReplicaCreate(ctx context.Context, in *ReplicaCreateRequest, opts ...grpc.CallOption) (*Replica, error)
	ReplicaDelete(ctx context.Context, in *ReplicaDeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReplicaGet(ctx context.Context, in *ReplicaGetRequest, opts ...grpc.CallOption) (*Replica, error)
	ReplicaSnapshotCreate(ctx context.Context, in *SnapshotRequest, opts ...grpc.CallOption) (*Replica, error)
	ReplicaSnapshotDelete(ctx context.Context, in *SnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReplicaSnapshotRevert(ctx context.Context, in *SnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReplicaList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ReplicaListResponse, error)
	ReplicaWatch(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (SPDKService_ReplicaWatchClient, error)
	ReplicaRebuildingSrcStart(ctx context.Context, in *ReplicaRebuildingSrcStartRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReplicaRebuildingSrcFinish(ctx context.Context, in *ReplicaRebuildingSrcFinishRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReplicaRebuildingSrcAttach(ctx context.Context, in *ReplicaRebuildingSrcAttachRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReplicaRebuildingSrcDetach(ctx context.Context, in *ReplicaRebuildingSrcDetachRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReplicaSnapshotShallowCopy(ctx context.Context, in *ReplicaSnapshotShallowCopyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReplicaRebuildingDstStart(ctx context.Context, in *ReplicaRebuildingDstStartRequest, opts ...grpc.CallOption) (*ReplicaRebuildingDstStartResponse, error)
	ReplicaRebuildingDstFinish(ctx context.Context, in *ReplicaRebuildingDstFinishRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReplicaRebuildingDstSnapshotCreate(ctx context.Context, in *SnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReplicaRebuildingDstSnapshotRevert(ctx context.Context, in *SnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReplicaBackupCreate(ctx context.Context, in *BackupCreateRequest, opts ...grpc.CallOption) (*BackupCreateResponse, error)
	ReplicaBackupStatus(ctx context.Context, in *BackupStatusRequest, opts ...grpc.CallOption) (*BackupStatusResponse, error)
	ReplicaBackupRestore(ctx context.Context, in *ReplicaBackupRestoreRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReplicaRestoreStatus(ctx context.Context, in *ReplicaRestoreStatusRequest, opts ...grpc.CallOption) (*ReplicaRestoreStatusResponse, error)
	EngineCreate(ctx context.Context, in *EngineCreateRequest, opts ...grpc.CallOption) (*Engine, error)
	EngineDelete(ctx context.Context, in *EngineDeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	EngineGet(ctx context.Context, in *EngineGetRequest, opts ...grpc.CallOption) (*Engine, error)
	EngineSnapshotCreate(ctx context.Context, in *SnapshotRequest, opts ...grpc.CallOption) (*SnapshotResponse, error)
	EngineSnapshotDelete(ctx context.Context, in *SnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	EngineSnapshotRevert(ctx context.Context, in *SnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	EngineList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*EngineListResponse, error)
	EngineWatch(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (SPDKService_EngineWatchClient, error)
	EngineReplicaList(ctx context.Context, in *EngineReplicaListRequest, opts ...grpc.CallOption) (*EngineReplicaListResponse, error)
	EngineReplicaAdd(ctx context.Context, in *EngineReplicaAddRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	EngineReplicaDelete(ctx context.Context, in *EngineReplicaDeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	EngineBackupCreate(ctx context.Context, in *BackupCreateRequest, opts ...grpc.CallOption) (*BackupCreateResponse, error)
	EngineBackupStatus(ctx context.Context, in *BackupStatusRequest, opts ...grpc.CallOption) (*BackupStatusResponse, error)
	EngineBackupRestore(ctx context.Context, in *EngineBackupRestoreRequest, opts ...grpc.CallOption) (*EngineBackupRestoreResponse, error)
	EngineBackupRestoreFinish(ctx context.Context, in *EngineBackupRestoreFinishRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	EngineRestoreStatus(ctx context.Context, in *RestoreStatusRequest, opts ...grpc.CallOption) (*RestoreStatusResponse, error)
	DiskCreate(ctx context.Context, in *DiskCreateRequest, opts ...grpc.CallOption) (*Disk, error)
	DiskDelete(ctx context.Context, in *DiskDeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DiskGet(ctx context.Context, in *DiskGetRequest, opts ...grpc.CallOption) (*Disk, error)
	LogSetLevel(ctx context.Context, in *LogSetLevelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	LogSetFlags(ctx context.Context, in *LogSetFlagsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	LogGetLevel(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*LogGetLevelResponse, error)
	LogGetFlags(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*LogGetFlagsResponse, error)
	VersionDetailGet(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionDetailGetReply, error)
}

SPDKServiceClient is the client API for SPDKService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type SPDKServiceServer

type SPDKServiceServer interface {
	ReplicaCreate(context.Context, *ReplicaCreateRequest) (*Replica, error)
	ReplicaDelete(context.Context, *ReplicaDeleteRequest) (*emptypb.Empty, error)
	ReplicaGet(context.Context, *ReplicaGetRequest) (*Replica, error)
	ReplicaSnapshotCreate(context.Context, *SnapshotRequest) (*Replica, error)
	ReplicaSnapshotDelete(context.Context, *SnapshotRequest) (*emptypb.Empty, error)
	ReplicaSnapshotRevert(context.Context, *SnapshotRequest) (*emptypb.Empty, error)
	ReplicaList(context.Context, *emptypb.Empty) (*ReplicaListResponse, error)
	ReplicaWatch(*emptypb.Empty, SPDKService_ReplicaWatchServer) error
	ReplicaRebuildingSrcStart(context.Context, *ReplicaRebuildingSrcStartRequest) (*emptypb.Empty, error)
	ReplicaRebuildingSrcFinish(context.Context, *ReplicaRebuildingSrcFinishRequest) (*emptypb.Empty, error)
	ReplicaRebuildingSrcAttach(context.Context, *ReplicaRebuildingSrcAttachRequest) (*emptypb.Empty, error)
	ReplicaRebuildingSrcDetach(context.Context, *ReplicaRebuildingSrcDetachRequest) (*emptypb.Empty, error)
	ReplicaSnapshotShallowCopy(context.Context, *ReplicaSnapshotShallowCopyRequest) (*emptypb.Empty, error)
	ReplicaRebuildingDstStart(context.Context, *ReplicaRebuildingDstStartRequest) (*ReplicaRebuildingDstStartResponse, error)
	ReplicaRebuildingDstFinish(context.Context, *ReplicaRebuildingDstFinishRequest) (*emptypb.Empty, error)
	ReplicaRebuildingDstSnapshotCreate(context.Context, *SnapshotRequest) (*emptypb.Empty, error)
	ReplicaRebuildingDstSnapshotRevert(context.Context, *SnapshotRequest) (*emptypb.Empty, error)
	ReplicaBackupCreate(context.Context, *BackupCreateRequest) (*BackupCreateResponse, error)
	ReplicaBackupStatus(context.Context, *BackupStatusRequest) (*BackupStatusResponse, error)
	ReplicaBackupRestore(context.Context, *ReplicaBackupRestoreRequest) (*emptypb.Empty, error)
	ReplicaRestoreStatus(context.Context, *ReplicaRestoreStatusRequest) (*ReplicaRestoreStatusResponse, error)
	EngineCreate(context.Context, *EngineCreateRequest) (*Engine, error)
	EngineDelete(context.Context, *EngineDeleteRequest) (*emptypb.Empty, error)
	EngineGet(context.Context, *EngineGetRequest) (*Engine, error)
	EngineSnapshotCreate(context.Context, *SnapshotRequest) (*SnapshotResponse, error)
	EngineSnapshotDelete(context.Context, *SnapshotRequest) (*emptypb.Empty, error)
	EngineSnapshotRevert(context.Context, *SnapshotRequest) (*emptypb.Empty, error)
	EngineList(context.Context, *emptypb.Empty) (*EngineListResponse, error)
	EngineWatch(*emptypb.Empty, SPDKService_EngineWatchServer) error
	EngineReplicaList(context.Context, *EngineReplicaListRequest) (*EngineReplicaListResponse, error)
	EngineReplicaAdd(context.Context, *EngineReplicaAddRequest) (*emptypb.Empty, error)
	EngineReplicaDelete(context.Context, *EngineReplicaDeleteRequest) (*emptypb.Empty, error)
	EngineBackupCreate(context.Context, *BackupCreateRequest) (*BackupCreateResponse, error)
	EngineBackupStatus(context.Context, *BackupStatusRequest) (*BackupStatusResponse, error)
	EngineBackupRestore(context.Context, *EngineBackupRestoreRequest) (*EngineBackupRestoreResponse, error)
	EngineBackupRestoreFinish(context.Context, *EngineBackupRestoreFinishRequest) (*emptypb.Empty, error)
	EngineRestoreStatus(context.Context, *RestoreStatusRequest) (*RestoreStatusResponse, error)
	DiskCreate(context.Context, *DiskCreateRequest) (*Disk, error)
	DiskDelete(context.Context, *DiskDeleteRequest) (*emptypb.Empty, error)
	DiskGet(context.Context, *DiskGetRequest) (*Disk, error)
	LogSetLevel(context.Context, *LogSetLevelRequest) (*emptypb.Empty, error)
	LogSetFlags(context.Context, *LogSetFlagsRequest) (*emptypb.Empty, error)
	LogGetLevel(context.Context, *emptypb.Empty) (*LogGetLevelResponse, error)
	LogGetFlags(context.Context, *emptypb.Empty) (*LogGetFlagsResponse, error)
	VersionDetailGet(context.Context, *emptypb.Empty) (*VersionDetailGetReply, error)
}

SPDKServiceServer is the server API for SPDKService service.

type SPDKService_EngineWatchClient

type SPDKService_EngineWatchClient interface {
	Recv() (*emptypb.Empty, error)
	grpc.ClientStream
}

type SPDKService_EngineWatchServer

type SPDKService_EngineWatchServer interface {
	Send(*emptypb.Empty) error
	grpc.ServerStream
}

type SPDKService_ReplicaWatchClient

type SPDKService_ReplicaWatchClient interface {
	Recv() (*emptypb.Empty, error)
	grpc.ClientStream
}

type SPDKService_ReplicaWatchServer

type SPDKService_ReplicaWatchServer interface {
	Send(*emptypb.Empty) error
	grpc.ServerStream
}

type SnapshotRequest

type SnapshotRequest struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	SnapshotName string `protobuf:"bytes,2,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
	UserCreated  bool   `protobuf:"varint,3,opt,name=user_created,json=userCreated,proto3" json:"user_created,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotRequest) Descriptor deprecated

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

Deprecated: Use SnapshotRequest.ProtoReflect.Descriptor instead.

func (*SnapshotRequest) GetName

func (x *SnapshotRequest) GetName() string

func (*SnapshotRequest) GetSnapshotName

func (x *SnapshotRequest) GetSnapshotName() string

func (*SnapshotRequest) GetUserCreated

func (x *SnapshotRequest) GetUserCreated() bool

func (*SnapshotRequest) ProtoMessage

func (*SnapshotRequest) ProtoMessage()

func (*SnapshotRequest) ProtoReflect

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

func (*SnapshotRequest) Reset

func (x *SnapshotRequest) Reset()

func (*SnapshotRequest) String

func (x *SnapshotRequest) String() string

type SnapshotResponse

type SnapshotResponse struct {
	SnapshotName string `protobuf:"bytes,1,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotResponse) Descriptor deprecated

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

Deprecated: Use SnapshotResponse.ProtoReflect.Descriptor instead.

func (*SnapshotResponse) GetSnapshotName

func (x *SnapshotResponse) GetSnapshotName() string

func (*SnapshotResponse) ProtoMessage

func (*SnapshotResponse) ProtoMessage()

func (*SnapshotResponse) ProtoReflect

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

func (*SnapshotResponse) Reset

func (x *SnapshotResponse) Reset()

func (*SnapshotResponse) String

func (x *SnapshotResponse) String() string

type UnimplementedSPDKServiceServer

type UnimplementedSPDKServiceServer struct {
}

UnimplementedSPDKServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSPDKServiceServer) DiskCreate

func (*UnimplementedSPDKServiceServer) DiskDelete

func (*UnimplementedSPDKServiceServer) DiskGet

func (*UnimplementedSPDKServiceServer) EngineBackupCreate

func (*UnimplementedSPDKServiceServer) EngineBackupRestore

func (*UnimplementedSPDKServiceServer) EngineBackupRestoreFinish

func (*UnimplementedSPDKServiceServer) EngineBackupStatus

func (*UnimplementedSPDKServiceServer) EngineCreate

func (*UnimplementedSPDKServiceServer) EngineDelete

func (*UnimplementedSPDKServiceServer) EngineGet

func (*UnimplementedSPDKServiceServer) EngineList

func (*UnimplementedSPDKServiceServer) EngineReplicaAdd

func (*UnimplementedSPDKServiceServer) EngineReplicaDelete

func (*UnimplementedSPDKServiceServer) EngineReplicaList

func (*UnimplementedSPDKServiceServer) EngineRestoreStatus

func (*UnimplementedSPDKServiceServer) EngineSnapshotCreate

func (*UnimplementedSPDKServiceServer) EngineSnapshotDelete

func (*UnimplementedSPDKServiceServer) EngineSnapshotRevert

func (*UnimplementedSPDKServiceServer) EngineWatch

func (*UnimplementedSPDKServiceServer) LogGetFlags

func (*UnimplementedSPDKServiceServer) LogGetLevel

func (*UnimplementedSPDKServiceServer) LogSetFlags

func (*UnimplementedSPDKServiceServer) LogSetLevel

func (*UnimplementedSPDKServiceServer) ReplicaBackupCreate

func (*UnimplementedSPDKServiceServer) ReplicaBackupRestore

func (*UnimplementedSPDKServiceServer) ReplicaBackupStatus

func (*UnimplementedSPDKServiceServer) ReplicaCreate

func (*UnimplementedSPDKServiceServer) ReplicaDelete

func (*UnimplementedSPDKServiceServer) ReplicaGet

func (*UnimplementedSPDKServiceServer) ReplicaList

func (*UnimplementedSPDKServiceServer) ReplicaRebuildingDstFinish

func (*UnimplementedSPDKServiceServer) ReplicaRebuildingDstSnapshotCreate

func (*UnimplementedSPDKServiceServer) ReplicaRebuildingDstSnapshotCreate(context.Context, *SnapshotRequest) (*emptypb.Empty, error)

func (*UnimplementedSPDKServiceServer) ReplicaRebuildingDstSnapshotRevert

func (*UnimplementedSPDKServiceServer) ReplicaRebuildingDstSnapshotRevert(context.Context, *SnapshotRequest) (*emptypb.Empty, error)

func (*UnimplementedSPDKServiceServer) ReplicaRebuildingSrcAttach

func (*UnimplementedSPDKServiceServer) ReplicaRebuildingSrcDetach

func (*UnimplementedSPDKServiceServer) ReplicaRebuildingSrcFinish

func (*UnimplementedSPDKServiceServer) ReplicaRebuildingSrcStart

func (*UnimplementedSPDKServiceServer) ReplicaRestoreStatus

func (*UnimplementedSPDKServiceServer) ReplicaSnapshotCreate

func (*UnimplementedSPDKServiceServer) ReplicaSnapshotDelete

func (*UnimplementedSPDKServiceServer) ReplicaSnapshotRevert

func (*UnimplementedSPDKServiceServer) ReplicaSnapshotShallowCopy

func (*UnimplementedSPDKServiceServer) ReplicaWatch

func (*UnimplementedSPDKServiceServer) VersionDetailGet

type VersionDetailGetReply

type VersionDetailGetReply struct {
	Version *VersionOutput `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionDetailGetReply) Descriptor deprecated

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

Deprecated: Use VersionDetailGetReply.ProtoReflect.Descriptor instead.

func (*VersionDetailGetReply) GetVersion

func (x *VersionDetailGetReply) GetVersion() *VersionOutput

func (*VersionDetailGetReply) ProtoMessage

func (*VersionDetailGetReply) ProtoMessage()

func (*VersionDetailGetReply) ProtoReflect

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

func (*VersionDetailGetReply) Reset

func (x *VersionDetailGetReply) Reset()

func (*VersionDetailGetReply) String

func (x *VersionDetailGetReply) String() string

type VersionOutput

type VersionOutput struct {
	Version                 string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	GitCommit               string `protobuf:"bytes,2,opt,name=gitCommit,proto3" json:"gitCommit,omitempty"`
	BuildDate               string `protobuf:"bytes,3,opt,name=buildDate,proto3" json:"buildDate,omitempty"`
	CliAPIVersion           int64  `protobuf:"varint,4,opt,name=cliAPIVersion,proto3" json:"cliAPIVersion,omitempty"`
	CliAPIMinVersion        int64  `protobuf:"varint,5,opt,name=cliAPIMinVersion,proto3" json:"cliAPIMinVersion,omitempty"`
	ControllerAPIVersion    int64  `protobuf:"varint,6,opt,name=controllerAPIVersion,proto3" json:"controllerAPIVersion,omitempty"`
	ControllerAPIMinVersion int64  `protobuf:"varint,7,opt,name=controllerAPIMinVersion,proto3" json:"controllerAPIMinVersion,omitempty"`
	DataFormatVersion       int64  `protobuf:"varint,8,opt,name=dataFormatVersion,proto3" json:"dataFormatVersion,omitempty"`
	DataFormatMinVersion    int64  `protobuf:"varint,9,opt,name=dataFormatMinVersion,proto3" json:"dataFormatMinVersion,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionOutput) Descriptor deprecated

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

Deprecated: Use VersionOutput.ProtoReflect.Descriptor instead.

func (*VersionOutput) GetBuildDate

func (x *VersionOutput) GetBuildDate() string

func (*VersionOutput) GetCliAPIMinVersion

func (x *VersionOutput) GetCliAPIMinVersion() int64

func (*VersionOutput) GetCliAPIVersion

func (x *VersionOutput) GetCliAPIVersion() int64

func (*VersionOutput) GetControllerAPIMinVersion

func (x *VersionOutput) GetControllerAPIMinVersion() int64

func (*VersionOutput) GetControllerAPIVersion

func (x *VersionOutput) GetControllerAPIVersion() int64

func (*VersionOutput) GetDataFormatMinVersion

func (x *VersionOutput) GetDataFormatMinVersion() int64

func (*VersionOutput) GetDataFormatVersion

func (x *VersionOutput) GetDataFormatVersion() int64

func (*VersionOutput) GetGitCommit

func (x *VersionOutput) GetGitCommit() string

func (*VersionOutput) GetVersion

func (x *VersionOutput) GetVersion() string

func (*VersionOutput) ProtoMessage

func (*VersionOutput) ProtoMessage()

func (*VersionOutput) ProtoReflect

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

func (*VersionOutput) Reset

func (x *VersionOutput) Reset()

func (*VersionOutput) String

func (x *VersionOutput) String() string

Jump to

Keyboard shortcuts

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