api

package
v10.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

README

OpenStorage API usage

Any storage product that uses the openstorage API can be managed via this API. Below are some examples of using this API.

Enumerate nodes in a cluster

import (
    ...
    
    "github.com/libopenstorage/gossip/types"
    "github.com/libopenstorage/openstorage/api"
    "github.com/libopenstorage/openstorage/api/client/cluster"
)

type myapp struct {
    manager cluster.Cluster
}

func (c *myapp) init() {
    // Choose the default version.
    // Leave the host blank to use the local UNIX socket, or pass in an IP and a port at which the server is listening on.
    clnt, err := cluster.NewClusterClient("", cluster.APIVersion)
    if err != nil {
        fmt.Printf("Failed to initialize client library: %v\n", err)
        os.Exit(1)
    }
    c.manager = cluster.ClusterManager(clnt)
}

func (c *myapp) listNodes() {
    cluster, err := c.manager.Enumerate()
    if err != nil {
        cmdError(context, fn, err)
        return
    }
    
    // cluster is now a hashmap of nodes... do something useful with it:
    for _, n := range cluster.Nodes {
    
     }
}
Inspect a volume in a cluster

import (
    ...
    
    "github.com/libopenstorage/openstorage/api"
    volumeclient "github.com/libopenstorage/openstorage/api/client/volume"
    "github.com/libopenstorage/openstorage/volume"
)

type myapp struct {
    volDriver volume.VolumeDriver
}

func (c *myapp) init() {
    // Choose the default version.
    // Leave the host blank to use the local UNIX socket, or pass in an IP and a port at which the server is listening on.
    clnt, err := volumeclient.NewDriverClient("", v.name, volume.APIVersion)
    if err != nil {
        fmt.Printf("Failed to initialize client library: %v\n", err)
        os.Exit(1)
    }
    v.volDriver = volumeclient.VolumeDriver(clnt)
}

func (c *myapp) inspect(id string) {
    stats, err := v.volDriver.Stats(id, true)
    if err != nil {
        return
    }
    
    // stats is an object that has various volume properties and statistics.
}

Documentation

Overview

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package ownership manages access to resources Copyright 2019 Portworx

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Package ownership manages access to resources Copyright 2019 Portworx

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const (
	Name                     = "name"
	Token                    = "token"
	TokenSecret              = "token_secret"
	TokenSecretNamespace     = "token_secret_namespace"
	SpecNodes                = "nodes"
	SpecParent               = "parent"
	SpecEphemeral            = "ephemeral"
	SpecShared               = "shared"
	SpecJournal              = "journal"
	SpecSharedv4             = "sharedv4"
	SpecCascaded             = "cascaded"
	SpecSticky               = "sticky"
	SpecSecure               = "secure"
	SpecCompressed           = "compressed"
	SpecSize                 = "size"
	SpecScale                = "scale"
	SpecFilesystem           = "fs"
	SpecBlockSize            = "block_size"
	SpecQueueDepth           = "queue_depth"
	SpecHaLevel              = "repl"
	SpecPriority             = "io_priority"
	SpecSnapshotInterval     = "snap_interval"
	SpecSnapshotSchedule     = "snap_schedule"
	SpecAggregationLevel     = "aggregation_level"
	SpecDedupe               = "dedupe"
	SpecPassphrase           = "secret_key"
	SpecAutoAggregationValue = "auto"
	SpecGroup                = "group"
	SpecGroupEnforce         = "fg"
	SpecZones                = "zones"
	SpecRacks                = "racks"
	SpecRack                 = "rack"
	SpecRegions              = "regions"
	SpecLabels               = "labels"
	SpecPriorityAlias        = "priority_io"
	SpecIoProfile            = "io_profile"
	SpecAsyncIo              = "async_io"
	SpecEarlyAck             = "early_ack"
	SpecExportProtocol       = "export"
	SpecExportProtocolISCSI  = "iscsi"
	SpecExportProtocolPXD    = "pxd"
	SpecExportProtocolNFS    = "nfs"
	SpecExportProtocolCustom = "custom"
	SpecExportOptions        = "export_options"
	SpecExportOptionsEmpty   = "empty_export_options"
	SpecMountOptions         = "mount_options"
	SpecCSIMountOptions      = "csi_mount_options"
	SpecSharedv4MountOptions = "sharedv4_mount_options"
	SpecProxyProtocolS3      = "s3"
	SpecProxyProtocolPXD     = "pxd"
	SpecProxyProtocolNFS     = "nfs"
	SpecProxyEndpoint        = "proxy_endpoint"
	SpecProxyNFSSubPath      = "proxy_nfs_subpath"
	SpecProxyNFSExportPath   = "proxy_nfs_exportpath"
	SpecProxyS3Bucket        = "proxy_s3_bucket"
	// SpecBestEffortLocationProvisioning default is false. If set provisioning request will succeed
	// even if specified data location parameters could not be satisfied.
	SpecBestEffortLocationProvisioning = "best_effort_location_provisioning"
	// SpecForceUnsuppportedFsType is of type boolean and if true it sets
	// the VolumeSpec.force_unsupported_fs_type. When set to true it asks
	// the driver to use an unsupported value of VolumeSpec.format if possible
	SpecForceUnsupportedFsType = "force_unsupported_fs_type"
	// SpecMatchSrcVolProvision defaults to false. Applicable to cloudbackup restores only.
	// If set to "true", cloudbackup restore volume gets provisioned on same pools as
	// backup, allowing for inplace restore after.
	SpecMatchSrcVolProvision                = "match_src_vol_provision"
	SpecNodiscard                           = "nodiscard"
	StoragePolicy                           = "storagepolicy"
	SpecCowOnDemand                         = "cow_ondemand"
	SpecDirectIo                            = "direct_io"
	SpecScanPolicyTrigger                   = "scan_policy_trigger"
	SpecScanPolicyAction                    = "scan_policy_action"
	SpecProxyWrite                          = "proxy_write"
	SpecSharedv4ServiceType                 = "sharedv4_svc_type"
	SpecSharedv4ServiceName                 = "sharedv4_svc_name"
	SpecSharedv4FailoverStrategy            = "sharedv4_failover_strategy"
	SpecSharedv4FailoverStrategyNormal      = "normal"
	SpecSharedv4FailoverStrategyAggressive  = "aggressive"
	SpecSharedv4FailoverStrategyUnspecified = ""
	SpecSharedv4ExternalAccess              = "sharedv4_external_access"
	SpecFastpath                            = "fastpath"
	SpecAutoFstrim                          = "auto_fstrim"
	SpecBackendType                         = "backend"
	SpecBackendPureBlock                    = "pure_block"
	SpecBackendPureFile                     = "pure_file"
	SpecPureFileExportRules                 = "pure_export_rules"
	SpecIoThrottleRdIOPS                    = "io_throttle_rd_iops"
	SpecIoThrottleWrIOPS                    = "io_throttle_wr_iops"
	SpecIoThrottleRdBW                      = "io_throttle_rd_bw"
	SpecIoThrottleWrBW                      = "io_throttle_wr_bw"
	SpecReadahead                           = "readahead"
)

Strings for VolumeSpec

View Source
const (
	// OptName query parameter used to lookup volume by name.
	OptName = "Name"
	// OptVolumeID query parameter used to lookup volume by ID.
	OptVolumeID = "VolumeID"
	// OptSnapID query parameter used to lookup snapshot by ID.
	OptSnapID = "SnapID"
	// OptLabel query parameter used to lookup volume by set of labels.
	OptLabel = "Label"
	// OptConfigLabel query parameter used to lookup volume by set of labels.
	OptConfigLabel = "ConfigLabel"
	// OptCumulative query parameter used to request cumulative stats.
	OptCumulative = "Cumulative"
	// OptTimeout query parameter used to indicate timeout seconds
	OptTimeoutSec = "TimeoutSec"
	// OptQuiesceID query parameter use for quiesce
	OptQuiesceID = "QuiesceID"
	// OptCredUUID is the UUID of the credential
	OptCredUUID = "CredUUID"
	// OptCredName indicates unique name of credential
	OptCredName = "CredName"
	// OptCredType  indicates type of credential
	OptCredType = "CredType"
	// OptCredEncrKey is the key used to encrypt data
	OptCredEncrKey = "CredEncrypt"
	// OptCredRegion indicates the region for s3
	OptCredRegion = "CredRegion"
	// OptCredDisableSSL indicated if SSL should be disabled
	OptCredDisableSSL = "CredDisableSSL"
	// OptCredDisablePathStyle does not enforce path style for s3
	OptCredDisablePathStyle = "CredDisablePathStyle"
	// OptCredStorageClass indicates the storage class to be used for puts
	// allowed values are STANDARD, STANDARD_IA,ONEZONE_IA, REDUCED_REDUNDANCY
	OptCredStorageClass = "CredStorageClass"
	// OptCredEndpoint indicate the cloud endpoint
	OptCredEndpoint = "CredEndpoint"
	// OptCredAccKey for s3
	OptCredAccessKey = "CredAccessKey"
	// OptCredSecretKey for s3
	OptCredSecretKey = "CredSecretKey"
	// OptCredBucket is the optional bucket name
	OptCredBucket = "CredBucket"
	// OptCredGoogleProjectID projectID for google cloud
	OptCredGoogleProjectID = "CredProjectID"
	// OptCredGoogleJsonKey for google cloud
	OptCredGoogleJsonKey = "CredJsonKey"
	// OptCredAzureAccountName is the account name for
	// azure as the cloud provider
	OptCredAzureAccountName = "CredAccountName"
	// OptOptCredAzureAccountKey is the accountkey for
	// azure as the cloud provider
	OptCredAzureAccountKey = "CredAccountKey"
	// Credential ownership key in params
	OptCredOwnership = "CredOwnership"
	// OptCredProxy proxy key in params
	OptCredProxy = "CredProxy"
	// OptCredIAMPolicy if "true", indicates IAM creds to be used
	OptCredIAMPolicy = "CredIAMPolicy"
	// OptRemoteCredUUID is the UUID of the remote cluster credential
	OptRemoteCredUUID = "RemoteCredUUID"
	// OptCloudBackupID is the backID in the cloud
	OptCloudBackupID = "CloudBackID"
	// OptCloudBackupIgnoreCreds ignores credentials for incr backups
	OptCloudBackupIgnoreCreds = "CloudBackupIgnoreCreds"
	// OptSrcVolID is the source volume ID of the backup
	OptSrcVolID = "SrcVolID"
	// OptBkupOpState is the desired operational state
	// (stop/pause/resume) of backup/restore
	OptBkupOpState = "OpState"
	// OptBackupSchedUUID is the UUID of the backup-schedule
	OptBackupSchedUUID = "BkupSchedUUID"
	// OptVolumeSubFolder query parameter used to catalog a particular path inside a volume
	OptCatalogSubFolder = "subfolder"
	// OptCatalogMaxDepth query parameter used to limit the depth we return
	OptCatalogMaxDepth = "depth"
	// OptVolumeService query parameter used to request background volume services
	OptVolService = "volservice"
)

OptionKey specifies a set of recognized query params.

View Source
const (
	OsdVolumePath        = "osd-volumes"
	OsdSnapshotPath      = "osd-snapshot"
	OsdCredsPath         = "osd-creds"
	OsdBackupPath        = "osd-backup"
	OsdMigratePath       = "osd-migrate"
	OsdMigrateStartPath  = OsdMigratePath + "/start"
	OsdMigrateCancelPath = OsdMigratePath + "/cancel"
	OsdMigrateStatusPath = OsdMigratePath + "/status"
	TimeLayout           = "Jan 2 15:04:05 UTC 2006"
)

Api clientserver Constants

View Source
const (
	CloudBackupOp  = CloudBackupOpType("Backup")
	CloudRestoreOp = CloudBackupOpType("Restore")
)
View Source
const (
	S3StorageClassStandard   = "STANDARD"
	S3StorageClassStandardIa = "STANDARD_IA"
)

Allowed storage classes s3

View Source
const (
	CloudBackupStatusNotStarted = CloudBackupStatusType("NotStarted")
	CloudBackupStatusDone       = CloudBackupStatusType("Done")
	CloudBackupStatusAborted    = CloudBackupStatusType("Aborted")
	CloudBackupStatusPaused     = CloudBackupStatusType("Paused")
	CloudBackupStatusStopped    = CloudBackupStatusType("Stopped")
	CloudBackupStatusActive     = CloudBackupStatusType("Active")
	CloudBackupStatusQueued     = CloudBackupStatusType("Queued")
	CloudBackupStatusFailed     = CloudBackupStatusType("Failed")
	// Invalid includes Failed, Stopped, and Aborted used as filter to enumerate
	// cloud backups
	CloudBackupStatusInvalid = CloudBackupStatusType("Invalid")
)
View Source
const (
	CloudBackupRequestedStatePause  = "pause"
	CloudBackupRequestedStateResume = "resume"
	CloudBackupRequestedStateStop   = "stop"
)
View Source
const (
	// AdminGroup is the value that can be set in the token claims Group which
	// gives the user access to any resource
	AdminGroup = "*"
)
View Source
const (
	// AutoAggregation value indicates driver to select aggregation level.
	AutoAggregation = math.MaxUint32
)
View Source
const (
	// gRPC root path used to extract service and API information
	SdkRootPath = "openstorage.api.OpenStorage"
)

Variables

View Source
var (
	Status_name = map[int32]string{
		0:  "STATUS_NONE",
		1:  "STATUS_INIT",
		2:  "STATUS_OK",
		3:  "STATUS_OFFLINE",
		4:  "STATUS_ERROR",
		5:  "STATUS_NOT_IN_QUORUM",
		6:  "STATUS_DECOMMISSION",
		7:  "STATUS_MAINTENANCE",
		8:  "STATUS_STORAGE_DOWN",
		9:  "STATUS_STORAGE_DEGRADED",
		10: "STATUS_NEEDS_REBOOT",
		11: "STATUS_STORAGE_REBALANCE",
		12: "STATUS_STORAGE_DRIVE_REPLACE",
		13: "STATUS_NOT_IN_QUORUM_NO_STORAGE",
		14: "STATUS_POOLMAINTENANCE",
		15: "STATUS_MAX",
	}
	Status_value = map[string]int32{
		"STATUS_NONE":                     0,
		"STATUS_INIT":                     1,
		"STATUS_OK":                       2,
		"STATUS_OFFLINE":                  3,
		"STATUS_ERROR":                    4,
		"STATUS_NOT_IN_QUORUM":            5,
		"STATUS_DECOMMISSION":             6,
		"STATUS_MAINTENANCE":              7,
		"STATUS_STORAGE_DOWN":             8,
		"STATUS_STORAGE_DEGRADED":         9,
		"STATUS_NEEDS_REBOOT":             10,
		"STATUS_STORAGE_REBALANCE":        11,
		"STATUS_STORAGE_DRIVE_REPLACE":    12,
		"STATUS_NOT_IN_QUORUM_NO_STORAGE": 13,
		"STATUS_POOLMAINTENANCE":          14,
		"STATUS_MAX":                      15,
	}
)

Enum value maps for Status.

View Source
var (
	DriverType_name = map[int32]string{
		0: "DRIVER_TYPE_NONE",
		1: "DRIVER_TYPE_FILE",
		2: "DRIVER_TYPE_BLOCK",
		3: "DRIVER_TYPE_OBJECT",
		4: "DRIVER_TYPE_CLUSTERED",
		5: "DRIVER_TYPE_GRAPH",
	}
	DriverType_value = map[string]int32{
		"DRIVER_TYPE_NONE":      0,
		"DRIVER_TYPE_FILE":      1,
		"DRIVER_TYPE_BLOCK":     2,
		"DRIVER_TYPE_OBJECT":    3,
		"DRIVER_TYPE_CLUSTERED": 4,
		"DRIVER_TYPE_GRAPH":     5,
	}
)

Enum value maps for DriverType.

View Source
var (
	FSType_name = map[int32]string{
		0: "FS_TYPE_NONE",
		1: "FS_TYPE_BTRFS",
		2: "FS_TYPE_EXT4",
		3: "FS_TYPE_FUSE",
		4: "FS_TYPE_NFS",
		5: "FS_TYPE_VFS",
		6: "FS_TYPE_XFS",
		7: "FS_TYPE_ZFS",
		8: "FS_TYPE_XFSv2",
	}
	FSType_value = map[string]int32{
		"FS_TYPE_NONE":  0,
		"FS_TYPE_BTRFS": 1,
		"FS_TYPE_EXT4":  2,
		"FS_TYPE_FUSE":  3,
		"FS_TYPE_NFS":   4,
		"FS_TYPE_VFS":   5,
		"FS_TYPE_XFS":   6,
		"FS_TYPE_ZFS":   7,
		"FS_TYPE_XFSv2": 8,
	}
)

Enum value maps for FSType.

View Source
var (
	GraphDriverChangeType_name = map[int32]string{
		0: "GRAPH_DRIVER_CHANGE_TYPE_NONE",
		1: "GRAPH_DRIVER_CHANGE_TYPE_MODIFIED",
		2: "GRAPH_DRIVER_CHANGE_TYPE_ADDED",
		3: "GRAPH_DRIVER_CHANGE_TYPE_DELETED",
	}
	GraphDriverChangeType_value = map[string]int32{
		"GRAPH_DRIVER_CHANGE_TYPE_NONE":     0,
		"GRAPH_DRIVER_CHANGE_TYPE_MODIFIED": 1,
		"GRAPH_DRIVER_CHANGE_TYPE_ADDED":    2,
		"GRAPH_DRIVER_CHANGE_TYPE_DELETED":  3,
	}
)

Enum value maps for GraphDriverChangeType.

View Source
var (
	SeverityType_name = map[int32]string{
		0: "SEVERITY_TYPE_NONE",
		1: "SEVERITY_TYPE_ALARM",
		2: "SEVERITY_TYPE_WARNING",
		3: "SEVERITY_TYPE_NOTIFY",
	}
	SeverityType_value = map[string]int32{
		"SEVERITY_TYPE_NONE":    0,
		"SEVERITY_TYPE_ALARM":   1,
		"SEVERITY_TYPE_WARNING": 2,
		"SEVERITY_TYPE_NOTIFY":  3,
	}
)

Enum value maps for SeverityType.

View Source
var (
	ResourceType_name = map[int32]string{
		0: "RESOURCE_TYPE_NONE",
		1: "RESOURCE_TYPE_VOLUME",
		2: "RESOURCE_TYPE_NODE",
		3: "RESOURCE_TYPE_CLUSTER",
		4: "RESOURCE_TYPE_DRIVE",
		5: "RESOURCE_TYPE_POOL",
	}
	ResourceType_value = map[string]int32{
		"RESOURCE_TYPE_NONE":    0,
		"RESOURCE_TYPE_VOLUME":  1,
		"RESOURCE_TYPE_NODE":    2,
		"RESOURCE_TYPE_CLUSTER": 3,
		"RESOURCE_TYPE_DRIVE":   4,
		"RESOURCE_TYPE_POOL":    5,
	}
)

Enum value maps for ResourceType.

View Source
var (
	AlertActionType_name = map[int32]string{
		0: "ALERT_ACTION_TYPE_NONE",
		1: "ALERT_ACTION_TYPE_DELETE",
		2: "ALERT_ACTION_TYPE_CREATE",
		3: "ALERT_ACTION_TYPE_UPDATE",
	}
	AlertActionType_value = map[string]int32{
		"ALERT_ACTION_TYPE_NONE":   0,
		"ALERT_ACTION_TYPE_DELETE": 1,
		"ALERT_ACTION_TYPE_CREATE": 2,
		"ALERT_ACTION_TYPE_UPDATE": 3,
	}
)

Enum value maps for AlertActionType.

View Source
var (
	VolumeActionParam_name = map[int32]string{
		0: "VOLUME_ACTION_PARAM_NONE",
		1: "VOLUME_ACTION_PARAM_OFF",
		2: "VOLUME_ACTION_PARAM_ON",
	}
	VolumeActionParam_value = map[string]int32{
		"VOLUME_ACTION_PARAM_NONE": 0,
		"VOLUME_ACTION_PARAM_OFF":  1,
		"VOLUME_ACTION_PARAM_ON":   2,
	}
)

Enum value maps for VolumeActionParam.

View Source
var (
	CosType_name = map[int32]string{
		0: "NONE",
		1: "LOW",
		2: "MEDIUM",
		3: "HIGH",
	}
	CosType_value = map[string]int32{
		"NONE":   0,
		"LOW":    1,
		"MEDIUM": 2,
		"HIGH":   3,
	}
)

Enum value maps for CosType.

View Source
var (
	IoProfile_name = map[int32]string{
		0: "IO_PROFILE_SEQUENTIAL",
		1: "IO_PROFILE_RANDOM",
		2: "IO_PROFILE_DB",
		3: "IO_PROFILE_DB_REMOTE",
		4: "IO_PROFILE_CMS",
		5: "IO_PROFILE_SYNC_SHARED",
		6: "IO_PROFILE_AUTO",
		7: "IO_PROFILE_NONE",
	}
	IoProfile_value = map[string]int32{
		"IO_PROFILE_SEQUENTIAL":  0,
		"IO_PROFILE_RANDOM":      1,
		"IO_PROFILE_DB":          2,
		"IO_PROFILE_DB_REMOTE":   3,
		"IO_PROFILE_CMS":         4,
		"IO_PROFILE_SYNC_SHARED": 5,
		"IO_PROFILE_AUTO":        6,
		"IO_PROFILE_NONE":        7,
	}
)

Enum value maps for IoProfile.

View Source
var (
	VolumeState_name = map[int32]string{
		0: "VOLUME_STATE_NONE",
		1: "VOLUME_STATE_PENDING",
		2: "VOLUME_STATE_AVAILABLE",
		3: "VOLUME_STATE_ATTACHED",
		4: "VOLUME_STATE_DETACHED",
		5: "VOLUME_STATE_DETATCHING",
		6: "VOLUME_STATE_ERROR",
		7: "VOLUME_STATE_DELETED",
		8: "VOLUME_STATE_TRY_DETACHING",
		9: "VOLUME_STATE_RESTORE",
	}
	VolumeState_value = map[string]int32{
		"VOLUME_STATE_NONE":          0,
		"VOLUME_STATE_PENDING":       1,
		"VOLUME_STATE_AVAILABLE":     2,
		"VOLUME_STATE_ATTACHED":      3,
		"VOLUME_STATE_DETACHED":      4,
		"VOLUME_STATE_DETATCHING":    5,
		"VOLUME_STATE_ERROR":         6,
		"VOLUME_STATE_DELETED":       7,
		"VOLUME_STATE_TRY_DETACHING": 8,
		"VOLUME_STATE_RESTORE":       9,
	}
)

Enum value maps for VolumeState.

View Source
var (
	VolumeStatus_name = map[int32]string{
		0: "VOLUME_STATUS_NONE",
		1: "VOLUME_STATUS_NOT_PRESENT",
		2: "VOLUME_STATUS_UP",
		3: "VOLUME_STATUS_DOWN",
		4: "VOLUME_STATUS_DEGRADED",
	}
	VolumeStatus_value = map[string]int32{
		"VOLUME_STATUS_NONE":        0,
		"VOLUME_STATUS_NOT_PRESENT": 1,
		"VOLUME_STATUS_UP":          2,
		"VOLUME_STATUS_DOWN":        3,
		"VOLUME_STATUS_DEGRADED":    4,
	}
)

Enum value maps for VolumeStatus.

View Source
var (
	FilesystemHealthStatus_name = map[int32]string{
		0: "FS_HEALTH_STATUS_UNKNOWN",
		1: "FS_HEALTH_STATUS_HEALTHY",
		2: "FS_HEALTH_STATUS_SAFE_TO_FIX",
		3: "FS_HEALTH_STATUS_NEEDS_INSPECTION",
	}
	FilesystemHealthStatus_value = map[string]int32{
		"FS_HEALTH_STATUS_UNKNOWN":          0,
		"FS_HEALTH_STATUS_HEALTHY":          1,
		"FS_HEALTH_STATUS_SAFE_TO_FIX":      2,
		"FS_HEALTH_STATUS_NEEDS_INSPECTION": 3,
	}
)

Enum value maps for FilesystemHealthStatus.

View Source
var (
	StorageMedium_name = map[int32]string{
		0: "STORAGE_MEDIUM_MAGNETIC",
		1: "STORAGE_MEDIUM_SSD",
		2: "STORAGE_MEDIUM_NVME",
	}
	StorageMedium_value = map[string]int32{
		"STORAGE_MEDIUM_MAGNETIC": 0,
		"STORAGE_MEDIUM_SSD":      1,
		"STORAGE_MEDIUM_NVME":     2,
	}
)

Enum value maps for StorageMedium.

View Source
var (
	AttachState_name = map[int32]string{
		0: "ATTACH_STATE_EXTERNAL",
		1: "ATTACH_STATE_INTERNAL",
		2: "ATTACH_STATE_INTERNAL_SWITCH",
	}
	AttachState_value = map[string]int32{
		"ATTACH_STATE_EXTERNAL":        0,
		"ATTACH_STATE_INTERNAL":        1,
		"ATTACH_STATE_INTERNAL_SWITCH": 2,
	}
)

Enum value maps for AttachState.

View Source
var (
	OperationFlags_name = map[int32]string{
		0: "OP_FLAGS_UNKNOWN",
		1: "OP_FLAGS_NONE",
		2: "OP_FLAGS_DETACH_FORCE",
	}
	OperationFlags_value = map[string]int32{
		"OP_FLAGS_UNKNOWN":      0,
		"OP_FLAGS_NONE":         1,
		"OP_FLAGS_DETACH_FORCE": 2,
	}
)

Enum value maps for OperationFlags.

View Source
var (
	HardwareType_name = map[int32]string{
		0: "UnknownMachine",
		1: "VirtualMachine",
		2: "BareMetalMachine",
	}
	HardwareType_value = map[string]int32{
		"UnknownMachine":   0,
		"VirtualMachine":   1,
		"BareMetalMachine": 2,
	}
)

Enum value maps for HardwareType.

View Source
var (
	ExportProtocol_name = map[int32]string{
		0: "INVALID",
		1: "PXD",
		2: "ISCSI",
		3: "NFS",
		4: "CUSTOM",
	}
	ExportProtocol_value = map[string]int32{
		"INVALID": 0,
		"PXD":     1,
		"ISCSI":   2,
		"NFS":     3,
		"CUSTOM":  4,
	}
)

Enum value maps for ExportProtocol.

View Source
var (
	ProxyProtocol_name = map[int32]string{
		0: "PROXY_PROTOCOL_INVALID",
		1: "PROXY_PROTOCOL_NFS",
		2: "PROXY_PROTOCOL_S3",
		3: "PROXY_PROTOCOL_PXD",
		4: "PROXY_PROTOCOL_PURE_BLOCK",
		5: "PROXY_PROTOCOL_PURE_FILE",
	}
	ProxyProtocol_value = map[string]int32{
		"PROXY_PROTOCOL_INVALID":    0,
		"PROXY_PROTOCOL_NFS":        1,
		"PROXY_PROTOCOL_S3":         2,
		"PROXY_PROTOCOL_PXD":        3,
		"PROXY_PROTOCOL_PURE_BLOCK": 4,
		"PROXY_PROTOCOL_PURE_FILE":  5,
	}
)

Enum value maps for ProxyProtocol.

View Source
var (
	FastpathStatus_name = map[int32]string{
		0: "FASTPATH_UNKNOWN",
		1: "FASTPATH_ACTIVE",
		2: "FASTPATH_INACTIVE",
		3: "FASTPATH_UNSUPPORTED",
		4: "FASTPATH_PENDING",
		5: "FASTPATH_ERRORED",
	}
	FastpathStatus_value = map[string]int32{
		"FASTPATH_UNKNOWN":     0,
		"FASTPATH_ACTIVE":      1,
		"FASTPATH_INACTIVE":    2,
		"FASTPATH_UNSUPPORTED": 3,
		"FASTPATH_PENDING":     4,
		"FASTPATH_ERRORED":     5,
	}
)

Enum value maps for FastpathStatus.

View Source
var (
	FastpathProtocol_name = map[int32]string{
		0: "FASTPATH_PROTO_UNKNOWN",
		1: "FASTPATH_PROTO_NVMEOF_TCP",
		2: "FASTPATH_PROTO_ISCSI",
		3: "FASTPATH_PROTO_LOCAL",
	}
	FastpathProtocol_value = map[string]int32{
		"FASTPATH_PROTO_UNKNOWN":    0,
		"FASTPATH_PROTO_NVMEOF_TCP": 1,
		"FASTPATH_PROTO_ISCSI":      2,
		"FASTPATH_PROTO_LOCAL":      3,
	}
)

Enum value maps for FastpathProtocol.

View Source
var (
	SdkTimeWeekday_name = map[int32]string{
		0: "SdkTimeWeekdaySunday",
		1: "SdkTimeWeekdayMonday",
		2: "SdkTimeWeekdayTuesday",
		3: "SdkTimeWeekdayWednesday",
		4: "SdkTimeWeekdayThursday",
		5: "SdkTimeWeekdayFriday",
		6: "SdkTimeWeekdaySaturday",
	}
	SdkTimeWeekday_value = map[string]int32{
		"SdkTimeWeekdaySunday":    0,
		"SdkTimeWeekdayMonday":    1,
		"SdkTimeWeekdayTuesday":   2,
		"SdkTimeWeekdayWednesday": 3,
		"SdkTimeWeekdayThursday":  4,
		"SdkTimeWeekdayFriday":    5,
		"SdkTimeWeekdaySaturday":  6,
	}
)

Enum value maps for SdkTimeWeekday.

View Source
var (
	StorageRebalanceJobState_name = map[int32]string{
		0: "PENDING",
		1: "RUNNING",
		2: "DONE",
		3: "PAUSED",
		4: "CANCELLED",
	}
	StorageRebalanceJobState_value = map[string]int32{
		"PENDING":   0,
		"RUNNING":   1,
		"DONE":      2,
		"PAUSED":    3,
		"CANCELLED": 4,
	}
)

Enum value maps for StorageRebalanceJobState.

View Source
var (
	SdkCloudBackupClusterType_name = map[int32]string{
		0: "SdkCloudBackupClusterUnknown",
		1: "SdkCloudBackupClusterCurrent",
		2: "SdkCloudBackupClusterOther",
	}
	SdkCloudBackupClusterType_value = map[string]int32{
		"SdkCloudBackupClusterUnknown": 0,
		"SdkCloudBackupClusterCurrent": 1,
		"SdkCloudBackupClusterOther":   2,
	}
)

Enum value maps for SdkCloudBackupClusterType.

View Source
var (
	SdkCloudBackupOpType_name = map[int32]string{
		0: "SdkCloudBackupOpTypeUnknown",
		1: "SdkCloudBackupOpTypeBackupOp",
		2: "SdkCloudBackupOpTypeRestoreOp",
	}
	SdkCloudBackupOpType_value = map[string]int32{
		"SdkCloudBackupOpTypeUnknown":   0,
		"SdkCloudBackupOpTypeBackupOp":  1,
		"SdkCloudBackupOpTypeRestoreOp": 2,
	}
)

Enum value maps for SdkCloudBackupOpType.

View Source
var (
	SdkCloudBackupStatusType_name = map[int32]string{
		0: "SdkCloudBackupStatusTypeUnknown",
		1: "SdkCloudBackupStatusTypeNotStarted",
		2: "SdkCloudBackupStatusTypeDone",
		3: "SdkCloudBackupStatusTypeAborted",
		4: "SdkCloudBackupStatusTypePaused",
		5: "SdkCloudBackupStatusTypeStopped",
		6: "SdkCloudBackupStatusTypeActive",
		7: "SdkCloudBackupStatusTypeFailed",
		8: "SdkCloudBackupStatusTypeQueued",
		9: "SdkCloudBackupStatusTypeInvalid",
	}
	SdkCloudBackupStatusType_value = map[string]int32{
		"SdkCloudBackupStatusTypeUnknown":    0,
		"SdkCloudBackupStatusTypeNotStarted": 1,
		"SdkCloudBackupStatusTypeDone":       2,
		"SdkCloudBackupStatusTypeAborted":    3,
		"SdkCloudBackupStatusTypePaused":     4,
		"SdkCloudBackupStatusTypeStopped":    5,
		"SdkCloudBackupStatusTypeActive":     6,
		"SdkCloudBackupStatusTypeFailed":     7,
		"SdkCloudBackupStatusTypeQueued":     8,
		"SdkCloudBackupStatusTypeInvalid":    9,
	}
)

Enum value maps for SdkCloudBackupStatusType.

View Source
var (
	SdkCloudBackupRequestedState_name = map[int32]string{
		0: "SdkCloudBackupRequestedStateUnknown",
		1: "SdkCloudBackupRequestedStatePause",
		2: "SdkCloudBackupRequestedStateResume",
		3: "SdkCloudBackupRequestedStateStop",
	}
	SdkCloudBackupRequestedState_value = map[string]int32{
		"SdkCloudBackupRequestedStateUnknown": 0,
		"SdkCloudBackupRequestedStatePause":   1,
		"SdkCloudBackupRequestedStateResume":  2,
		"SdkCloudBackupRequestedStateStop":    3,
	}
)

Enum value maps for SdkCloudBackupRequestedState.

View Source
var (
	EnforcementType_name = map[int32]string{
		0: "required",
		1: "preferred",
	}
	EnforcementType_value = map[string]int32{
		"required":  0,
		"preferred": 1,
	}
)

Enum value maps for EnforcementType.

View Source
var (
	RestoreParamBoolType_name = map[int32]string{
		0: "PARAM_BKUPSRC",
		1: "PARAM_FALSE",
		2: "PARAM_TRUE",
	}
	RestoreParamBoolType_value = map[string]int32{
		"PARAM_BKUPSRC": 0,
		"PARAM_FALSE":   1,
		"PARAM_TRUE":    2,
	}
)

Enum value maps for RestoreParamBoolType.

View Source
var (
	Xattr_Value_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "COW_ON_DEMAND",
	}
	Xattr_Value_value = map[string]int32{
		"UNSPECIFIED":   0,
		"COW_ON_DEMAND": 1,
	}
)

Enum value maps for Xattr_Value.

View Source
var (
	Sharedv4ServiceSpec_ServiceType_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "NODEPORT",
		2: "CLUSTERIP",
		3: "LOADBALANCER",
	}
	Sharedv4ServiceSpec_ServiceType_value = map[string]int32{
		"UNSPECIFIED":  0,
		"NODEPORT":     1,
		"CLUSTERIP":    2,
		"LOADBALANCER": 3,
	}
)

Enum value maps for Sharedv4ServiceSpec_ServiceType.

View Source
var (
	Sharedv4FailoverStrategy_Value_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "AGGRESSIVE",
		2: "NORMAL",
	}
	Sharedv4FailoverStrategy_Value_value = map[string]int32{
		"UNSPECIFIED": 0,
		"AGGRESSIVE":  1,
		"NORMAL":      2,
	}
)

Enum value maps for Sharedv4FailoverStrategy_Value.

View Source
var (
	ScanPolicy_ScanTrigger_name = map[int32]string{
		0: "SCAN_TRIGGER_NONE",
		1: "SCAN_TRIGGER_ON_MOUNT",
		2: "SCAN_TRIGGER_ON_NEXT_MOUNT",
	}
	ScanPolicy_ScanTrigger_value = map[string]int32{
		"SCAN_TRIGGER_NONE":          0,
		"SCAN_TRIGGER_ON_MOUNT":      1,
		"SCAN_TRIGGER_ON_NEXT_MOUNT": 2,
	}
)

Enum value maps for ScanPolicy_ScanTrigger.

View Source
var (
	ScanPolicy_ScanAction_name = map[int32]string{
		0: "SCAN_ACTION_NONE",
		1: "SCAN_ACTION_SCAN_ONLY",
		2: "SCAN_ACTION_SCAN_REPAIR",
	}
	ScanPolicy_ScanAction_value = map[string]int32{
		"SCAN_ACTION_NONE":        0,
		"SCAN_ACTION_SCAN_ONLY":   1,
		"SCAN_ACTION_SCAN_REPAIR": 2,
	}
)

Enum value maps for ScanPolicy_ScanAction.

View Source
var (
	VolumeSpecPolicy_PolicyOp_name = map[int32]string{
		0: "Equal",
		1: "Minimum",
		2: "Maximum",
	}
	VolumeSpecPolicy_PolicyOp_value = map[string]int32{
		"Equal":   0,
		"Minimum": 1,
		"Maximum": 2,
	}
)

Enum value maps for VolumeSpecPolicy_PolicyOp.

View Source
var (
	Ownership_AccessType_name = map[int32]string{
		0: "Read",
		1: "Write",
		2: "Admin",
	}
	Ownership_AccessType_value = map[string]int32{
		"Read":  0,
		"Write": 1,
		"Admin": 2,
	}
)

Enum value maps for Ownership_AccessType.

View Source
var (
	StorageNode_SecurityStatus_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "UNSECURED",
		2: "SECURED",
		3: "SECURED_ALLOW_SECURITY_REMOVAL",
	}
	StorageNode_SecurityStatus_value = map[string]int32{
		"UNSPECIFIED":                    0,
		"UNSECURED":                      1,
		"SECURED":                        2,
		"SECURED_ALLOW_SECURITY_REMOVAL": 3,
	}
)

Enum value maps for StorageNode_SecurityStatus.

View Source
var (
	Job_Type_name = map[int32]string{
		0: "UNSPECIFIED_TYPE",
		1: "NONE",
		2: "DRAIN_ATTACHMENTS",
		3: "CLOUD_DRIVE_TRANSFER",
		4: "COLLECT_DIAGS",
	}
	Job_Type_value = map[string]int32{
		"UNSPECIFIED_TYPE":     0,
		"NONE":                 1,
		"DRAIN_ATTACHMENTS":    2,
		"CLOUD_DRIVE_TRANSFER": 3,
		"COLLECT_DIAGS":        4,
	}
)

Enum value maps for Job_Type.

View Source
var (
	Job_State_name = map[int32]string{
		0: "UNSPECIFIED_STATE",
		1: "PENDING",
		2: "RUNNING",
		3: "DONE",
		4: "PAUSED",
		5: "CANCELLED",
		6: "FAILED",
	}
	Job_State_value = map[string]int32{
		"UNSPECIFIED_STATE": 0,
		"PENDING":           1,
		"RUNNING":           2,
		"DONE":              3,
		"PAUSED":            4,
		"CANCELLED":         5,
		"FAILED":            6,
	}
)

Enum value maps for Job_State.

View Source
var (
	DiagsCollectionStatus_State_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "PENDING",
		2: "RUNNING",
		3: "DONE",
		4: "FAILED",
	}
	DiagsCollectionStatus_State_value = map[string]int32{
		"UNSPECIFIED": 0,
		"PENDING":     1,
		"RUNNING":     2,
		"DONE":        3,
		"FAILED":      4,
	}
)

Enum value maps for DiagsCollectionStatus_State.

View Source
var (
	StorageRebalanceTriggerThreshold_Type_name = map[int32]string{
		0: "ABSOLUTE_PERCENT",
		1: "DELTA_MEAN_PERCENT",
	}
	StorageRebalanceTriggerThreshold_Type_value = map[string]int32{
		"ABSOLUTE_PERCENT":   0,
		"DELTA_MEAN_PERCENT": 1,
	}
)

Enum value maps for StorageRebalanceTriggerThreshold_Type.

View Source
var (
	StorageRebalanceTriggerThreshold_Metric_name = map[int32]string{
		0: "PROVISION_SPACE",
		1: "USED_SPACE",
	}
	StorageRebalanceTriggerThreshold_Metric_value = map[string]int32{
		"PROVISION_SPACE": 0,
		"USED_SPACE":      1,
	}
)

Enum value maps for StorageRebalanceTriggerThreshold_Metric.

View Source
var (
	StorageRebalanceWorkSummary_Type_name = map[int32]string{
		0: "UnbalancedPools",
		1: "UnbalancedVolumes",
		2: "UnbalancedProvisionedSpaceBytes",
		3: "UnbalancedUsedSpaceBytes",
	}
	StorageRebalanceWorkSummary_Type_value = map[string]int32{
		"UnbalancedPools":                 0,
		"UnbalancedVolumes":               1,
		"UnbalancedProvisionedSpaceBytes": 2,
		"UnbalancedUsedSpaceBytes":        3,
	}
)

Enum value maps for StorageRebalanceWorkSummary_Type.

View Source
var (
	StorageRebalanceAudit_StorageRebalanceAction_name = map[int32]string{
		0: "ADD_REPLICA",
		1: "REMOVE_REPLICA",
	}
	StorageRebalanceAudit_StorageRebalanceAction_value = map[string]int32{
		"ADD_REPLICA":    0,
		"REMOVE_REPLICA": 1,
	}
)

Enum value maps for StorageRebalanceAudit_StorageRebalanceAction.

View Source
var (
	SdkStoragePool_OperationStatus_name = map[int32]string{
		0: "OPERATION_PENDING",
		1: "OPERATION_IN_PROGRESS",
		2: "OPERATION_SUCCESSFUL",
		3: "OPERATION_FAILED",
	}
	SdkStoragePool_OperationStatus_value = map[string]int32{
		"OPERATION_PENDING":     0,
		"OPERATION_IN_PROGRESS": 1,
		"OPERATION_SUCCESSFUL":  2,
		"OPERATION_FAILED":      3,
	}
)

Enum value maps for SdkStoragePool_OperationStatus.

View Source
var (
	SdkStoragePool_OperationType_name = map[int32]string{
		0: "OPERATION_RESIZE",
	}
	SdkStoragePool_OperationType_value = map[string]int32{
		"OPERATION_RESIZE": 0,
	}
)

Enum value maps for SdkStoragePool_OperationType.

View Source
var (
	SdkStoragePool_ResizeOperationType_name = map[int32]string{
		0: "RESIZE_TYPE_AUTO",
		1: "RESIZE_TYPE_ADD_DISK",
		2: "RESIZE_TYPE_RESIZE_DISK",
	}
	SdkStoragePool_ResizeOperationType_value = map[string]int32{
		"RESIZE_TYPE_AUTO":        0,
		"RESIZE_TYPE_ADD_DISK":    1,
		"RESIZE_TYPE_RESIZE_DISK": 2,
	}
)

Enum value maps for SdkStoragePool_ResizeOperationType.

View Source
var (
	FilesystemTrim_FilesystemTrimStatus_name = map[int32]string{
		0: "FS_TRIM_UNKNOWN",
		1: "FS_TRIM_NOT_RUNNING",
		2: "FS_TRIM_STARTED",
		3: "FS_TRIM_INPROGRESS",
		4: "FS_TRIM_STOPPED",
		5: "FS_TRIM_COMPLETED",
		6: "FS_TRIM_FAILED",
	}
	FilesystemTrim_FilesystemTrimStatus_value = map[string]int32{
		"FS_TRIM_UNKNOWN":     0,
		"FS_TRIM_NOT_RUNNING": 1,
		"FS_TRIM_STARTED":     2,
		"FS_TRIM_INPROGRESS":  3,
		"FS_TRIM_STOPPED":     4,
		"FS_TRIM_COMPLETED":   5,
		"FS_TRIM_FAILED":      6,
	}
)

Enum value maps for FilesystemTrim_FilesystemTrimStatus.

View Source
var (
	FilesystemCheck_FilesystemCheckStatus_name = map[int32]string{
		0: "FS_CHECK_UNKNOWN",
		1: "FS_CHECK_NOT_RUNNING",
		2: "FS_CHECK_STARTED",
		3: "FS_CHECK_INPROGRESS",
		4: "FS_CHECK_STOPPED",
		5: "FS_CHECK_COMPLETED",
		6: "FS_CHECK_FAILED",
	}
	FilesystemCheck_FilesystemCheckStatus_value = map[string]int32{
		"FS_CHECK_UNKNOWN":     0,
		"FS_CHECK_NOT_RUNNING": 1,
		"FS_CHECK_STARTED":     2,
		"FS_CHECK_INPROGRESS":  3,
		"FS_CHECK_STOPPED":     4,
		"FS_CHECK_COMPLETED":   5,
		"FS_CHECK_FAILED":      6,
	}
)

Enum value maps for FilesystemCheck_FilesystemCheckStatus.

View Source
var (
	SdkServiceCapability_OpenStorageService_Type_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "CLUSTER",
		2:  "CLOUD_BACKUP",
		3:  "CREDENTIALS",
		4:  "NODE",
		5:  "OBJECT_STORAGE",
		6:  "SCHEDULE_POLICY",
		7:  "VOLUME",
		8:  "ALERTS",
		9:  "MOUNT_ATTACH",
		10: "ROLE",
		11: "CLUSTER_PAIR",
		12: "MIGRATE",
		13: "STORAGE_POLICY",
	}
	SdkServiceCapability_OpenStorageService_Type_value = map[string]int32{
		"UNKNOWN":         0,
		"CLUSTER":         1,
		"CLOUD_BACKUP":    2,
		"CREDENTIALS":     3,
		"NODE":            4,
		"OBJECT_STORAGE":  5,
		"SCHEDULE_POLICY": 6,
		"VOLUME":          7,
		"ALERTS":          8,
		"MOUNT_ATTACH":    9,
		"ROLE":            10,
		"CLUSTER_PAIR":    11,
		"MIGRATE":         12,
		"STORAGE_POLICY":  13,
	}
)

Enum value maps for SdkServiceCapability_OpenStorageService_Type.

View Source
var (
	SdkVersion_Version_name = map[int32]string{
		0: "MUST_HAVE_ZERO_VALUE",

		138: "Minor",
	}
	SdkVersion_Version_value = map[string]int32{
		"MUST_HAVE_ZERO_VALUE": 0,
		"Major":                0,
		"Minor":                138,
		"Patch":                0,
	}
)

Enum value maps for SdkVersion_Version.

View Source
var (
	CloudMigrate_OperationType_name = map[int32]string{
		0: "InvalidType",
		1: "MigrateCluster",
		2: "MigrateVolume",
		3: "MigrateVolumeGroup",
	}
	CloudMigrate_OperationType_value = map[string]int32{
		"InvalidType":        0,
		"MigrateCluster":     1,
		"MigrateVolume":      2,
		"MigrateVolumeGroup": 3,
	}
)

Enum value maps for CloudMigrate_OperationType.

View Source
var (
	CloudMigrate_Stage_name = map[int32]string{
		0: "InvalidStage",
		1: "Backup",
		2: "Restore",
		3: "VolumeUpdate",
		4: "Done",
	}
	CloudMigrate_Stage_value = map[string]int32{
		"InvalidStage": 0,
		"Backup":       1,
		"Restore":      2,
		"VolumeUpdate": 3,
		"Done":         4,
	}
)

Enum value maps for CloudMigrate_Stage.

View Source
var (
	CloudMigrate_Status_name = map[int32]string{
		0: "InvalidStatus",
		1: "Queued",
		2: "Initialized",
		3: "InProgress",
		4: "Failed",
		5: "Complete",
		6: "Canceled",
	}
	CloudMigrate_Status_value = map[string]int32{
		"InvalidStatus": 0,
		"Queued":        1,
		"Initialized":   2,
		"InProgress":    3,
		"Failed":        4,
		"Complete":      5,
		"Canceled":      6,
	}
)

Enum value maps for CloudMigrate_Status.

View Source
var (
	ClusterPairMode_Mode_name = map[int32]string{
		0: "Default",
		1: "DisasterRecovery",
		2: "OneTimeMigration",
	}
	ClusterPairMode_Mode_value = map[string]int32{
		"Default":          0,
		"DisasterRecovery": 1,
		"OneTimeMigration": 2,
	}
)

Enum value maps for ClusterPairMode_Mode.

View Source
var (
	LabelSelectorRequirement_Operator_name = map[int32]string{
		0: "In",
		1: "NotIn",
		2: "Exists",
		3: "DoesNotExist",
		4: "Gt",
		5: "Lt",
	}
	LabelSelectorRequirement_Operator_value = map[string]int32{
		"In":           0,
		"NotIn":        1,
		"Exists":       2,
		"DoesNotExist": 3,
		"Gt":           4,
		"Lt":           5,
	}
)

Enum value maps for LabelSelectorRequirement_Operator.

View Source
var File_api_api_proto protoreflect.FileDescriptor

Functions

func GetAllEnumInfo

func GetAllEnumInfo() []protoimpl.EnumInfo

GetAllEnumInfo returns an EnumInfo for every proto enum

func IsAdminByContext

func IsAdminByContext(ctx context.Context) bool

IsAdminByContext checks if the context userInfo contains admin privileges

func IsAdminByUser

func IsAdminByUser(user *auth.UserInfo) bool

IsAdminByUser returns true if the user is an ownership admin, meaning, that they belong to any group

func RegisterOpenStorageAlertsHandler

func RegisterOpenStorageAlertsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageAlertsHandler registers the http handlers for service OpenStorageAlerts to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageAlertsHandlerClient

func RegisterOpenStorageAlertsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageAlertsClient) error

RegisterOpenStorageAlertsHandlerClient registers the http handlers for service OpenStorageAlerts to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageAlertsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageAlertsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageAlertsClient" to call the correct interceptors.

func RegisterOpenStorageAlertsHandlerFromEndpoint

func RegisterOpenStorageAlertsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageAlertsHandlerFromEndpoint is same as RegisterOpenStorageAlertsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageAlertsHandlerServer

func RegisterOpenStorageAlertsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageAlertsServer) error

RegisterOpenStorageAlertsHandlerServer registers the http handlers for service OpenStorageAlerts to "mux". UnaryRPC :call OpenStorageAlertsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageAlertsHandlerFromEndpoint instead.

func RegisterOpenStorageAlertsServer

func RegisterOpenStorageAlertsServer(s *grpc.Server, srv OpenStorageAlertsServer)

func RegisterOpenStorageCloudBackupHandler

func RegisterOpenStorageCloudBackupHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageCloudBackupHandler registers the http handlers for service OpenStorageCloudBackup to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageCloudBackupHandlerClient

func RegisterOpenStorageCloudBackupHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageCloudBackupClient) error

RegisterOpenStorageCloudBackupHandlerClient registers the http handlers for service OpenStorageCloudBackup to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageCloudBackupClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageCloudBackupClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageCloudBackupClient" to call the correct interceptors.

func RegisterOpenStorageCloudBackupHandlerFromEndpoint

func RegisterOpenStorageCloudBackupHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageCloudBackupHandlerFromEndpoint is same as RegisterOpenStorageCloudBackupHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageCloudBackupHandlerServer

func RegisterOpenStorageCloudBackupHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageCloudBackupServer) error

RegisterOpenStorageCloudBackupHandlerServer registers the http handlers for service OpenStorageCloudBackup to "mux". UnaryRPC :call OpenStorageCloudBackupServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageCloudBackupHandlerFromEndpoint instead.

func RegisterOpenStorageCloudBackupServer

func RegisterOpenStorageCloudBackupServer(s *grpc.Server, srv OpenStorageCloudBackupServer)

func RegisterOpenStorageClusterDomainsHandler

func RegisterOpenStorageClusterDomainsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageClusterDomainsHandler registers the http handlers for service OpenStorageClusterDomains to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageClusterDomainsHandlerClient

func RegisterOpenStorageClusterDomainsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageClusterDomainsClient) error

RegisterOpenStorageClusterDomainsHandlerClient registers the http handlers for service OpenStorageClusterDomains to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageClusterDomainsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageClusterDomainsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageClusterDomainsClient" to call the correct interceptors.

func RegisterOpenStorageClusterDomainsHandlerFromEndpoint

func RegisterOpenStorageClusterDomainsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageClusterDomainsHandlerFromEndpoint is same as RegisterOpenStorageClusterDomainsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageClusterDomainsHandlerServer

func RegisterOpenStorageClusterDomainsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageClusterDomainsServer) error

RegisterOpenStorageClusterDomainsHandlerServer registers the http handlers for service OpenStorageClusterDomains to "mux". UnaryRPC :call OpenStorageClusterDomainsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageClusterDomainsHandlerFromEndpoint instead.

func RegisterOpenStorageClusterDomainsServer

func RegisterOpenStorageClusterDomainsServer(s *grpc.Server, srv OpenStorageClusterDomainsServer)

func RegisterOpenStorageClusterHandler

func RegisterOpenStorageClusterHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageClusterHandler registers the http handlers for service OpenStorageCluster to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageClusterHandlerClient

func RegisterOpenStorageClusterHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageClusterClient) error

RegisterOpenStorageClusterHandlerClient registers the http handlers for service OpenStorageCluster to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageClusterClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageClusterClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageClusterClient" to call the correct interceptors.

func RegisterOpenStorageClusterHandlerFromEndpoint

func RegisterOpenStorageClusterHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageClusterHandlerFromEndpoint is same as RegisterOpenStorageClusterHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageClusterHandlerServer

func RegisterOpenStorageClusterHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageClusterServer) error

RegisterOpenStorageClusterHandlerServer registers the http handlers for service OpenStorageCluster to "mux". UnaryRPC :call OpenStorageClusterServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageClusterHandlerFromEndpoint instead.

func RegisterOpenStorageClusterPairHandler

func RegisterOpenStorageClusterPairHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageClusterPairHandler registers the http handlers for service OpenStorageClusterPair to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageClusterPairHandlerClient

func RegisterOpenStorageClusterPairHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageClusterPairClient) error

RegisterOpenStorageClusterPairHandlerClient registers the http handlers for service OpenStorageClusterPair to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageClusterPairClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageClusterPairClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageClusterPairClient" to call the correct interceptors.

func RegisterOpenStorageClusterPairHandlerFromEndpoint

func RegisterOpenStorageClusterPairHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageClusterPairHandlerFromEndpoint is same as RegisterOpenStorageClusterPairHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageClusterPairHandlerServer

func RegisterOpenStorageClusterPairHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageClusterPairServer) error

RegisterOpenStorageClusterPairHandlerServer registers the http handlers for service OpenStorageClusterPair to "mux". UnaryRPC :call OpenStorageClusterPairServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageClusterPairHandlerFromEndpoint instead.

func RegisterOpenStorageClusterPairServer

func RegisterOpenStorageClusterPairServer(s *grpc.Server, srv OpenStorageClusterPairServer)

func RegisterOpenStorageClusterServer

func RegisterOpenStorageClusterServer(s *grpc.Server, srv OpenStorageClusterServer)

func RegisterOpenStorageCredentialsHandler

func RegisterOpenStorageCredentialsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageCredentialsHandler registers the http handlers for service OpenStorageCredentials to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageCredentialsHandlerClient

func RegisterOpenStorageCredentialsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageCredentialsClient) error

RegisterOpenStorageCredentialsHandlerClient registers the http handlers for service OpenStorageCredentials to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageCredentialsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageCredentialsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageCredentialsClient" to call the correct interceptors.

func RegisterOpenStorageCredentialsHandlerFromEndpoint

func RegisterOpenStorageCredentialsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageCredentialsHandlerFromEndpoint is same as RegisterOpenStorageCredentialsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageCredentialsHandlerServer

func RegisterOpenStorageCredentialsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageCredentialsServer) error

RegisterOpenStorageCredentialsHandlerServer registers the http handlers for service OpenStorageCredentials to "mux". UnaryRPC :call OpenStorageCredentialsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageCredentialsHandlerFromEndpoint instead.

func RegisterOpenStorageCredentialsServer

func RegisterOpenStorageCredentialsServer(s *grpc.Server, srv OpenStorageCredentialsServer)

func RegisterOpenStorageDiagsHandler

func RegisterOpenStorageDiagsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageDiagsHandler registers the http handlers for service OpenStorageDiags to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageDiagsHandlerClient

func RegisterOpenStorageDiagsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageDiagsClient) error

RegisterOpenStorageDiagsHandlerClient registers the http handlers for service OpenStorageDiags to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageDiagsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageDiagsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageDiagsClient" to call the correct interceptors.

func RegisterOpenStorageDiagsHandlerFromEndpoint

func RegisterOpenStorageDiagsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageDiagsHandlerFromEndpoint is same as RegisterOpenStorageDiagsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageDiagsHandlerServer

func RegisterOpenStorageDiagsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageDiagsServer) error

RegisterOpenStorageDiagsHandlerServer registers the http handlers for service OpenStorageDiags to "mux". UnaryRPC :call OpenStorageDiagsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageDiagsHandlerFromEndpoint instead.

func RegisterOpenStorageDiagsServer

func RegisterOpenStorageDiagsServer(s *grpc.Server, srv OpenStorageDiagsServer)

func RegisterOpenStorageFilesystemCheckHandler

func RegisterOpenStorageFilesystemCheckHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageFilesystemCheckHandler registers the http handlers for service OpenStorageFilesystemCheck to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageFilesystemCheckHandlerClient

func RegisterOpenStorageFilesystemCheckHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageFilesystemCheckClient) error

RegisterOpenStorageFilesystemCheckHandlerClient registers the http handlers for service OpenStorageFilesystemCheck to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageFilesystemCheckClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageFilesystemCheckClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageFilesystemCheckClient" to call the correct interceptors.

func RegisterOpenStorageFilesystemCheckHandlerFromEndpoint

func RegisterOpenStorageFilesystemCheckHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageFilesystemCheckHandlerFromEndpoint is same as RegisterOpenStorageFilesystemCheckHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageFilesystemCheckHandlerServer

func RegisterOpenStorageFilesystemCheckHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageFilesystemCheckServer) error

RegisterOpenStorageFilesystemCheckHandlerServer registers the http handlers for service OpenStorageFilesystemCheck to "mux". UnaryRPC :call OpenStorageFilesystemCheckServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageFilesystemCheckHandlerFromEndpoint instead.

func RegisterOpenStorageFilesystemCheckServer

func RegisterOpenStorageFilesystemCheckServer(s *grpc.Server, srv OpenStorageFilesystemCheckServer)

func RegisterOpenStorageFilesystemTrimHandler

func RegisterOpenStorageFilesystemTrimHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageFilesystemTrimHandler registers the http handlers for service OpenStorageFilesystemTrim to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageFilesystemTrimHandlerClient

func RegisterOpenStorageFilesystemTrimHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageFilesystemTrimClient) error

RegisterOpenStorageFilesystemTrimHandlerClient registers the http handlers for service OpenStorageFilesystemTrim to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageFilesystemTrimClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageFilesystemTrimClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageFilesystemTrimClient" to call the correct interceptors.

func RegisterOpenStorageFilesystemTrimHandlerFromEndpoint

func RegisterOpenStorageFilesystemTrimHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageFilesystemTrimHandlerFromEndpoint is same as RegisterOpenStorageFilesystemTrimHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageFilesystemTrimHandlerServer

func RegisterOpenStorageFilesystemTrimHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageFilesystemTrimServer) error

RegisterOpenStorageFilesystemTrimHandlerServer registers the http handlers for service OpenStorageFilesystemTrim to "mux". UnaryRPC :call OpenStorageFilesystemTrimServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageFilesystemTrimHandlerFromEndpoint instead.

func RegisterOpenStorageFilesystemTrimServer

func RegisterOpenStorageFilesystemTrimServer(s *grpc.Server, srv OpenStorageFilesystemTrimServer)

func RegisterOpenStorageIdentityHandler

func RegisterOpenStorageIdentityHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageIdentityHandler registers the http handlers for service OpenStorageIdentity to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageIdentityHandlerClient

func RegisterOpenStorageIdentityHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageIdentityClient) error

RegisterOpenStorageIdentityHandlerClient registers the http handlers for service OpenStorageIdentity to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageIdentityClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageIdentityClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageIdentityClient" to call the correct interceptors.

func RegisterOpenStorageIdentityHandlerFromEndpoint

func RegisterOpenStorageIdentityHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageIdentityHandlerFromEndpoint is same as RegisterOpenStorageIdentityHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageIdentityHandlerServer

func RegisterOpenStorageIdentityHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageIdentityServer) error

RegisterOpenStorageIdentityHandlerServer registers the http handlers for service OpenStorageIdentity to "mux". UnaryRPC :call OpenStorageIdentityServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageIdentityHandlerFromEndpoint instead.

func RegisterOpenStorageIdentityServer

func RegisterOpenStorageIdentityServer(s *grpc.Server, srv OpenStorageIdentityServer)

func RegisterOpenStorageJobHandler

func RegisterOpenStorageJobHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageJobHandler registers the http handlers for service OpenStorageJob to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageJobHandlerClient

func RegisterOpenStorageJobHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageJobClient) error

RegisterOpenStorageJobHandlerClient registers the http handlers for service OpenStorageJob to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageJobClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageJobClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageJobClient" to call the correct interceptors.

func RegisterOpenStorageJobHandlerFromEndpoint

func RegisterOpenStorageJobHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageJobHandlerFromEndpoint is same as RegisterOpenStorageJobHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageJobHandlerServer

func RegisterOpenStorageJobHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageJobServer) error

RegisterOpenStorageJobHandlerServer registers the http handlers for service OpenStorageJob to "mux". UnaryRPC :call OpenStorageJobServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageJobHandlerFromEndpoint instead.

func RegisterOpenStorageJobServer

func RegisterOpenStorageJobServer(s *grpc.Server, srv OpenStorageJobServer)

func RegisterOpenStorageMigrateHandler

func RegisterOpenStorageMigrateHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageMigrateHandler registers the http handlers for service OpenStorageMigrate to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageMigrateHandlerClient

func RegisterOpenStorageMigrateHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageMigrateClient) error

RegisterOpenStorageMigrateHandlerClient registers the http handlers for service OpenStorageMigrate to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageMigrateClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageMigrateClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageMigrateClient" to call the correct interceptors.

func RegisterOpenStorageMigrateHandlerFromEndpoint

func RegisterOpenStorageMigrateHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageMigrateHandlerFromEndpoint is same as RegisterOpenStorageMigrateHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageMigrateHandlerServer

func RegisterOpenStorageMigrateHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageMigrateServer) error

RegisterOpenStorageMigrateHandlerServer registers the http handlers for service OpenStorageMigrate to "mux". UnaryRPC :call OpenStorageMigrateServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageMigrateHandlerFromEndpoint instead.

func RegisterOpenStorageMigrateServer

func RegisterOpenStorageMigrateServer(s *grpc.Server, srv OpenStorageMigrateServer)

func RegisterOpenStorageMountAttachHandler

func RegisterOpenStorageMountAttachHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageMountAttachHandler registers the http handlers for service OpenStorageMountAttach to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageMountAttachHandlerClient

func RegisterOpenStorageMountAttachHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageMountAttachClient) error

RegisterOpenStorageMountAttachHandlerClient registers the http handlers for service OpenStorageMountAttach to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageMountAttachClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageMountAttachClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageMountAttachClient" to call the correct interceptors.

func RegisterOpenStorageMountAttachHandlerFromEndpoint

func RegisterOpenStorageMountAttachHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageMountAttachHandlerFromEndpoint is same as RegisterOpenStorageMountAttachHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageMountAttachHandlerServer

func RegisterOpenStorageMountAttachHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageMountAttachServer) error

RegisterOpenStorageMountAttachHandlerServer registers the http handlers for service OpenStorageMountAttach to "mux". UnaryRPC :call OpenStorageMountAttachServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageMountAttachHandlerFromEndpoint instead.

func RegisterOpenStorageMountAttachServer

func RegisterOpenStorageMountAttachServer(s *grpc.Server, srv OpenStorageMountAttachServer)

func RegisterOpenStorageNodeHandler

func RegisterOpenStorageNodeHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageNodeHandler registers the http handlers for service OpenStorageNode to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageNodeHandlerClient

func RegisterOpenStorageNodeHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageNodeClient) error

RegisterOpenStorageNodeHandlerClient registers the http handlers for service OpenStorageNode to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageNodeClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageNodeClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageNodeClient" to call the correct interceptors.

func RegisterOpenStorageNodeHandlerFromEndpoint

func RegisterOpenStorageNodeHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageNodeHandlerFromEndpoint is same as RegisterOpenStorageNodeHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageNodeHandlerServer

func RegisterOpenStorageNodeHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageNodeServer) error

RegisterOpenStorageNodeHandlerServer registers the http handlers for service OpenStorageNode to "mux". UnaryRPC :call OpenStorageNodeServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageNodeHandlerFromEndpoint instead.

func RegisterOpenStorageNodeServer

func RegisterOpenStorageNodeServer(s *grpc.Server, srv OpenStorageNodeServer)

func RegisterOpenStorageObjectstoreHandler

func RegisterOpenStorageObjectstoreHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageObjectstoreHandler registers the http handlers for service OpenStorageObjectstore to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageObjectstoreHandlerClient

func RegisterOpenStorageObjectstoreHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageObjectstoreClient) error

RegisterOpenStorageObjectstoreHandlerClient registers the http handlers for service OpenStorageObjectstore to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageObjectstoreClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageObjectstoreClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageObjectstoreClient" to call the correct interceptors.

func RegisterOpenStorageObjectstoreHandlerFromEndpoint

func RegisterOpenStorageObjectstoreHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageObjectstoreHandlerFromEndpoint is same as RegisterOpenStorageObjectstoreHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageObjectstoreHandlerServer

func RegisterOpenStorageObjectstoreHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageObjectstoreServer) error

RegisterOpenStorageObjectstoreHandlerServer registers the http handlers for service OpenStorageObjectstore to "mux". UnaryRPC :call OpenStorageObjectstoreServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageObjectstoreHandlerFromEndpoint instead.

func RegisterOpenStorageObjectstoreServer

func RegisterOpenStorageObjectstoreServer(s *grpc.Server, srv OpenStorageObjectstoreServer)

func RegisterOpenStoragePolicyHandler

func RegisterOpenStoragePolicyHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStoragePolicyHandler registers the http handlers for service OpenStoragePolicy to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStoragePolicyHandlerClient

func RegisterOpenStoragePolicyHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStoragePolicyClient) error

RegisterOpenStoragePolicyHandlerClient registers the http handlers for service OpenStoragePolicy to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStoragePolicyClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStoragePolicyClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStoragePolicyClient" to call the correct interceptors.

func RegisterOpenStoragePolicyHandlerFromEndpoint

func RegisterOpenStoragePolicyHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStoragePolicyHandlerFromEndpoint is same as RegisterOpenStoragePolicyHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStoragePolicyHandlerServer

func RegisterOpenStoragePolicyHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStoragePolicyServer) error

RegisterOpenStoragePolicyHandlerServer registers the http handlers for service OpenStoragePolicy to "mux". UnaryRPC :call OpenStoragePolicyServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStoragePolicyHandlerFromEndpoint instead.

func RegisterOpenStoragePolicyServer

func RegisterOpenStoragePolicyServer(s *grpc.Server, srv OpenStoragePolicyServer)

func RegisterOpenStoragePoolHandler

func RegisterOpenStoragePoolHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStoragePoolHandler registers the http handlers for service OpenStoragePool to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStoragePoolHandlerClient

func RegisterOpenStoragePoolHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStoragePoolClient) error

RegisterOpenStoragePoolHandlerClient registers the http handlers for service OpenStoragePool to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStoragePoolClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStoragePoolClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStoragePoolClient" to call the correct interceptors.

func RegisterOpenStoragePoolHandlerFromEndpoint

func RegisterOpenStoragePoolHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStoragePoolHandlerFromEndpoint is same as RegisterOpenStoragePoolHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStoragePoolHandlerServer

func RegisterOpenStoragePoolHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStoragePoolServer) error

RegisterOpenStoragePoolHandlerServer registers the http handlers for service OpenStoragePool to "mux". UnaryRPC :call OpenStoragePoolServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStoragePoolHandlerFromEndpoint instead.

func RegisterOpenStoragePoolServer

func RegisterOpenStoragePoolServer(s *grpc.Server, srv OpenStoragePoolServer)

func RegisterOpenStorageRoleHandler

func RegisterOpenStorageRoleHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageRoleHandler registers the http handlers for service OpenStorageRole to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageRoleHandlerClient

func RegisterOpenStorageRoleHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageRoleClient) error

RegisterOpenStorageRoleHandlerClient registers the http handlers for service OpenStorageRole to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageRoleClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageRoleClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageRoleClient" to call the correct interceptors.

func RegisterOpenStorageRoleHandlerFromEndpoint

func RegisterOpenStorageRoleHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageRoleHandlerFromEndpoint is same as RegisterOpenStorageRoleHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageRoleHandlerServer

func RegisterOpenStorageRoleHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageRoleServer) error

RegisterOpenStorageRoleHandlerServer registers the http handlers for service OpenStorageRole to "mux". UnaryRPC :call OpenStorageRoleServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageRoleHandlerFromEndpoint instead.

func RegisterOpenStorageRoleServer

func RegisterOpenStorageRoleServer(s *grpc.Server, srv OpenStorageRoleServer)

func RegisterOpenStorageSchedulePolicyHandler

func RegisterOpenStorageSchedulePolicyHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageSchedulePolicyHandler registers the http handlers for service OpenStorageSchedulePolicy to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageSchedulePolicyHandlerClient

func RegisterOpenStorageSchedulePolicyHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageSchedulePolicyClient) error

RegisterOpenStorageSchedulePolicyHandlerClient registers the http handlers for service OpenStorageSchedulePolicy to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageSchedulePolicyClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageSchedulePolicyClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageSchedulePolicyClient" to call the correct interceptors.

func RegisterOpenStorageSchedulePolicyHandlerFromEndpoint

func RegisterOpenStorageSchedulePolicyHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageSchedulePolicyHandlerFromEndpoint is same as RegisterOpenStorageSchedulePolicyHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageSchedulePolicyHandlerServer

func RegisterOpenStorageSchedulePolicyHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageSchedulePolicyServer) error

RegisterOpenStorageSchedulePolicyHandlerServer registers the http handlers for service OpenStorageSchedulePolicy to "mux". UnaryRPC :call OpenStorageSchedulePolicyServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageSchedulePolicyHandlerFromEndpoint instead.

func RegisterOpenStorageSchedulePolicyServer

func RegisterOpenStorageSchedulePolicyServer(s *grpc.Server, srv OpenStorageSchedulePolicyServer)

func RegisterOpenStorageVolumeHandler

func RegisterOpenStorageVolumeHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenStorageVolumeHandler registers the http handlers for service OpenStorageVolume to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenStorageVolumeHandlerClient

func RegisterOpenStorageVolumeHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenStorageVolumeClient) error

RegisterOpenStorageVolumeHandlerClient registers the http handlers for service OpenStorageVolume to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenStorageVolumeClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenStorageVolumeClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenStorageVolumeClient" to call the correct interceptors.

func RegisterOpenStorageVolumeHandlerFromEndpoint

func RegisterOpenStorageVolumeHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenStorageVolumeHandlerFromEndpoint is same as RegisterOpenStorageVolumeHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenStorageVolumeHandlerServer

func RegisterOpenStorageVolumeHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenStorageVolumeServer) error

RegisterOpenStorageVolumeHandlerServer registers the http handlers for service OpenStorageVolume to "mux". UnaryRPC :call OpenStorageVolumeServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenStorageVolumeHandlerFromEndpoint instead.

func RegisterOpenStorageVolumeServer

func RegisterOpenStorageVolumeServer(s *grpc.Server, srv OpenStorageVolumeServer)

func SdkCloudBackupStatusTypeToCloudBackupStatusString

func SdkCloudBackupStatusTypeToCloudBackupStatusString(
	t SdkCloudBackupStatusType,
) string

func StatusKindMapLength

func StatusKindMapLength() int

StatusKindMapLength used only for unit testing

Types

type ActiveRequest

type ActiveRequest struct {
	ReqestKV map[int64]string `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

Active Request

func (*ActiveRequest) Descriptor deprecated

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

Deprecated: Use ActiveRequest.ProtoReflect.Descriptor instead.

func (*ActiveRequest) GetReqestKV

func (x *ActiveRequest) GetReqestKV() map[int64]string

func (*ActiveRequest) ProtoMessage

func (*ActiveRequest) ProtoMessage()

func (*ActiveRequest) ProtoReflect

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

func (*ActiveRequest) Reset

func (x *ActiveRequest) Reset()

func (*ActiveRequest) String

func (x *ActiveRequest) String() string

type ActiveRequests

type ActiveRequests struct {
	RequestCount  int64            `protobuf:"varint,1,opt,name=RequestCount,proto3" json:"RequestCount,omitempty"`
	ActiveRequest []*ActiveRequest `protobuf:"bytes,2,rep,name=ActiveRequest,proto3" json:"ActiveRequest,omitempty"`
	// contains filtered or unexported fields
}

Active Requests

func (*ActiveRequests) Descriptor deprecated

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

Deprecated: Use ActiveRequests.ProtoReflect.Descriptor instead.

func (*ActiveRequests) GetActiveRequest

func (x *ActiveRequests) GetActiveRequest() []*ActiveRequest

func (*ActiveRequests) GetRequestCount

func (x *ActiveRequests) GetRequestCount() int64

func (*ActiveRequests) ProtoMessage

func (*ActiveRequests) ProtoMessage()

func (*ActiveRequests) ProtoReflect

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

func (*ActiveRequests) Reset

func (x *ActiveRequests) Reset()

func (*ActiveRequests) String

func (x *ActiveRequests) String() string

type Alert

type Alert struct {

	// Id for Alert
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Severity of the Alert
	Severity SeverityType `protobuf:"varint,2,opt,name=severity,proto3,enum=openstorage.api.SeverityType" json:"severity,omitempty"`
	// AlertType user defined alert type
	AlertType int64 `protobuf:"varint,3,opt,name=alert_type,json=alertType,proto3" json:"alert_type,omitempty"`
	// Message describing the Alert
	Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	//Timestamp when Alert occurred
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// ResourceId where Alert occurred
	ResourceId string `protobuf:"bytes,6,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Resource where Alert occurred
	Resource ResourceType `protobuf:"varint,7,opt,name=resource,proto3,enum=openstorage.api.ResourceType" json:"resource,omitempty"`
	// Cleared Flag
	Cleared bool `protobuf:"varint,8,opt,name=cleared,proto3" json:"cleared,omitempty"`
	// Time-to-live in seconds for this Alert
	Ttl uint64 `protobuf:"varint,9,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// UniqueTag helps identify a unique alert for a given resouce
	UniqueTag string `protobuf:"bytes,10,opt,name=unique_tag,json=uniqueTag,proto3" json:"unique_tag,omitempty"`
	// Count of such alerts raised so far.
	Count int64 `protobuf:"varint,11,opt,name=count,proto3" json:"count,omitempty"`
	// Timestamp when such alert was raised the very first time.
	FirstSeen *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=first_seen,json=firstSeen,proto3" json:"first_seen,omitempty"`
	// contains filtered or unexported fields
}

Alert is a structure that represents an alert object

func (*Alert) Descriptor deprecated

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

Deprecated: Use Alert.ProtoReflect.Descriptor instead.

func (*Alert) GetAlertType

func (x *Alert) GetAlertType() int64

func (*Alert) GetCleared

func (x *Alert) GetCleared() bool

func (*Alert) GetCount

func (x *Alert) GetCount() int64

func (*Alert) GetFirstSeen

func (x *Alert) GetFirstSeen() *timestamppb.Timestamp

func (*Alert) GetId

func (x *Alert) GetId() int64

func (*Alert) GetMessage

func (x *Alert) GetMessage() string

func (*Alert) GetResource

func (x *Alert) GetResource() ResourceType

func (*Alert) GetResourceId

func (x *Alert) GetResourceId() string

func (*Alert) GetSeverity

func (x *Alert) GetSeverity() SeverityType

func (*Alert) GetTimestamp

func (x *Alert) GetTimestamp() *timestamppb.Timestamp

func (*Alert) GetTtl

func (x *Alert) GetTtl() uint64

func (*Alert) GetUniqueTag

func (x *Alert) GetUniqueTag() string

func (*Alert) ProtoMessage

func (*Alert) ProtoMessage()

func (*Alert) ProtoReflect

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

func (*Alert) Reset

func (x *Alert) Reset()

func (*Alert) String

func (x *Alert) String() string

type AlertActionType

type AlertActionType int32
const (
	AlertActionType_ALERT_ACTION_TYPE_NONE   AlertActionType = 0
	AlertActionType_ALERT_ACTION_TYPE_DELETE AlertActionType = 1
	AlertActionType_ALERT_ACTION_TYPE_CREATE AlertActionType = 2
	AlertActionType_ALERT_ACTION_TYPE_UPDATE AlertActionType = 3
)

func (AlertActionType) Descriptor

func (AlertActionType) Enum

func (x AlertActionType) Enum() *AlertActionType

func (AlertActionType) EnumDescriptor deprecated

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

Deprecated: Use AlertActionType.Descriptor instead.

func (AlertActionType) Number

func (AlertActionType) String

func (x AlertActionType) String() string

func (AlertActionType) Type

type Alerts

type Alerts struct {
	Alert []*Alert `protobuf:"bytes,1,rep,name=alert,proto3" json:"alert,omitempty"`
	// contains filtered or unexported fields
}

Alerts is an array of Alert objects

func (*Alerts) Descriptor deprecated

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

Deprecated: Use Alerts.ProtoReflect.Descriptor instead.

func (*Alerts) GetAlert

func (x *Alerts) GetAlert() []*Alert

func (*Alerts) ProtoMessage

func (*Alerts) ProtoMessage()

func (*Alerts) ProtoReflect

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

func (*Alerts) Reset

func (x *Alerts) Reset()

func (*Alerts) String

func (x *Alerts) String() string

type AttachState

type AttachState int32
const (
	// Attached and available externally
	AttachState_ATTACH_STATE_EXTERNAL AttachState = 0
	// Attached but only available internally
	AttachState_ATTACH_STATE_INTERNAL AttachState = 1
	// Switching from External to Internal
	AttachState_ATTACH_STATE_INTERNAL_SWITCH AttachState = 2
)

func (AttachState) Descriptor

func (AttachState) Enum

func (x AttachState) Enum() *AttachState

func (AttachState) EnumDescriptor deprecated

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

Deprecated: Use AttachState.Descriptor instead.

func (AttachState) Number

func (x AttachState) Number() protoreflect.EnumNumber

func (AttachState) String

func (x AttachState) String() string

func (AttachState) Type

type CapacityUsageInfo

type CapacityUsageInfo struct {

	// Storage consumed exclusively by this single snapshot. Deletion of this
	// snapshot may increase the free storage available by this amount.
	ExclusiveBytes int64 `protobuf:"varint,1,opt,name=exclusive_bytes,json=exclusiveBytes,proto3" json:"exclusive_bytes,omitempty"`
	// Storage consumed by this snapshot that is shared with parent and children
	SharedBytes int64 `protobuf:"varint,2,opt,name=shared_bytes,json=sharedBytes,proto3" json:"shared_bytes,omitempty"`
	// TotalBytes used by this volume
	TotalBytes int64 `protobuf:"varint,3,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	// contains filtered or unexported fields
}

Provides details on exclusive and shared storage used by snapshot/volume specifically for copy-on-write(COW) snapshots. Deletion of snapshots and overwrite of volume will affect the exclusive storage used by the other dependent snaps and parent volume.

func (*CapacityUsageInfo) Descriptor deprecated

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

Deprecated: Use CapacityUsageInfo.ProtoReflect.Descriptor instead.

func (*CapacityUsageInfo) GetExclusiveBytes

func (x *CapacityUsageInfo) GetExclusiveBytes() int64

func (*CapacityUsageInfo) GetSharedBytes

func (x *CapacityUsageInfo) GetSharedBytes() int64

func (*CapacityUsageInfo) GetTotalBytes

func (x *CapacityUsageInfo) GetTotalBytes() int64

func (*CapacityUsageInfo) ProtoMessage

func (*CapacityUsageInfo) ProtoMessage()

func (*CapacityUsageInfo) ProtoReflect

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

func (*CapacityUsageInfo) Reset

func (x *CapacityUsageInfo) Reset()

func (*CapacityUsageInfo) String

func (x *CapacityUsageInfo) String() string

type CapacityUsageResponse

type CapacityUsageResponse struct {
	CapacityUsageInfo *CapacityUsageInfo
	// Describes the err if all of the usage details could not be obtained
	Error error
}

Defines the response for CapacityUsage request

type Catalog

type Catalog struct {

	// Name of the Directory/File
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Full Path of the Directory/File
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// Type Directory or File
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// File or Directory Size
	Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	// Last Modified
	LastModified *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=LastModified,proto3" json:"LastModified,omitempty"`
	// Children
	Children []*Catalog `protobuf:"bytes,6,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*Catalog) Descriptor deprecated

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

Deprecated: Use Catalog.ProtoReflect.Descriptor instead.

func (*Catalog) GetChildren

func (x *Catalog) GetChildren() []*Catalog

func (*Catalog) GetLastModified

func (x *Catalog) GetLastModified() *timestamppb.Timestamp

func (*Catalog) GetName

func (x *Catalog) GetName() string

func (*Catalog) GetPath

func (x *Catalog) GetPath() string

func (*Catalog) GetSize

func (x *Catalog) GetSize() uint64

func (*Catalog) GetType

func (x *Catalog) GetType() string

func (*Catalog) ProtoMessage

func (*Catalog) ProtoMessage()

func (*Catalog) ProtoReflect

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

func (*Catalog) Reset

func (x *Catalog) Reset()

func (*Catalog) String

func (x *Catalog) String() string

type CatalogResponse

type CatalogResponse struct {

	// Root Catalog
	Root *Catalog `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	// Report of total directories and files count
	Report *Report `protobuf:"bytes,2,opt,name=report,proto3" json:"report,omitempty"`
	// contains filtered or unexported fields
}

func (*CatalogResponse) Descriptor deprecated

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

Deprecated: Use CatalogResponse.ProtoReflect.Descriptor instead.

func (*CatalogResponse) GetReport

func (x *CatalogResponse) GetReport() *Report

func (*CatalogResponse) GetRoot

func (x *CatalogResponse) GetRoot() *Catalog

func (*CatalogResponse) ProtoMessage

func (*CatalogResponse) ProtoMessage()

func (*CatalogResponse) ProtoReflect

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

func (*CatalogResponse) Reset

func (x *CatalogResponse) Reset()

func (*CatalogResponse) String

func (x *CatalogResponse) String() string

type CloudBackupCatalogRequest

type CloudBackupCatalogRequest struct {
	// ID is Backup ID in the cloud
	ID string
	// CredentialUUID is the credential for cloud
	CredentialUUID string
}

type CloudBackupCatalogResponse

type CloudBackupCatalogResponse struct {
	// Contents is listing of backup contents
	Contents []string
}

type CloudBackupCreateRequest

type CloudBackupCreateRequest struct {
	// VolumeID of the volume for which cloudbackup is requested
	VolumeID string
	// CredentialUUID is cloud credential to be used for backup
	CredentialUUID string
	// Full indicates if full backup is desired even though incremental is possible
	Full bool
	// Name is optional unique id to be used for this backup
	// If not specified backup creates this by default
	Name string
	// Labels are list of key value pairs to tag the cloud backup. These labels
	// are stored in the metadata associated with the backup.
	Labels map[string]string
	// FullBackupFrequency indicates number of incremental backup after which
	// a fullbackup must be created. This is to override the default value for
	// manual/user triggerred backups and not applicable for scheduled backups.
	// Value of 0 retains the default behavior.
	FullBackupFrequency uint32
	// DeleteLocal indicates if local snap must be deleted after the
	// backup is complete
	DeleteLocal bool
}

type CloudBackupCreateResponse

type CloudBackupCreateResponse struct {
	// Name of the task performing this backup
	Name string
}

type CloudBackupDeleteAllRequest

type CloudBackupDeleteAllRequest struct {
	CloudBackupGenericRequest
}

type CloudBackupDeleteRequest

type CloudBackupDeleteRequest struct {
	// ID is the ID of the cloud backup
	ID string
	// CredentialUUID is the credential for cloud to be used for the request
	CredentialUUID string
	// Force Delete cloudbackup even if there are dependencies
	Force bool
}

type CloudBackupEnumerateRequest

type CloudBackupEnumerateRequest struct {
	CloudBackupGenericRequest
	// MaxBackups indicates maxBackups to return in this enumerate list
	MaxBackups uint64
	// ContinuationToken returned in the enumerate response if all of the
	// requested backups could not be returned in one response
	ContinuationToken string
}

type CloudBackupEnumerateResponse

type CloudBackupEnumerateResponse struct {
	// Backups is list of backups in cloud for given volume/cluster/s
	Backups           []CloudBackupInfo
	ContinuationToken string
}

func (*CloudBackupEnumerateResponse) ToSdkCloudBackupEnumerateWithFiltersResponse

func (r *CloudBackupEnumerateResponse) ToSdkCloudBackupEnumerateWithFiltersResponse() *SdkCloudBackupEnumerateWithFiltersResponse

type CloudBackupGenericRequest

type CloudBackupGenericRequest struct {
	// SrcVolumeID is optional Source VolumeID for the request
	SrcVolumeID string
	// ClusterID is the optional clusterID for the request
	ClusterID string
	// CredentialUUID is the credential for cloud to be used for the request
	CredentialUUID string
	// All if set to true, backups for all clusters in the cloud are processed
	All bool
	// StatusFilter indicates backups based on status
	StatusFilter CloudBackupStatusType
	// MetadataFilter indicates backups whose metadata has these kv pairs
	MetadataFilter map[string]string
	// CloudBackupID must be specified if one needs to enumerate known single
	// backup (format is clusteruuidORBucketName/srcVolId-SnapId(-incr). If t\
	// this is specified, everything else n the command is ignored
	CloudBackupID string
	// MissingSrcVol set to true enumerates cloudbackups for which srcVol is not
	// present in the cluster. Either the source volume is deleted or the
	// cloudbackup belongs to other cluster.( with older version this
	// information may be missing, and in such a case these will list as
	// missing cluster info field in enumeration). Specifying SrcVolumeID and
	// this flag at the same time is an error
	MissingSrcVolumes bool
}

type CloudBackupGroupCreateRequest

type CloudBackupGroupCreateRequest struct {
	// GroupID indicates backup request for a volumegroup with this group id
	GroupID string
	// Labels indicates backup request for a volume group with these labels
	Labels map[string]string
	// VolumeIDs are a list of volume IDs to use for the backup request
	// If multiple of GroupID, Labels or VolumeIDs are specified, volumes matching all of
	// them are backed up to cloud
	VolumeIDs []string
	// CredentialUUID is cloud credential to be used for backup
	CredentialUUID string
	// Full indicates if full backup is desired even though incremental is possible
	Full bool
	// DeleteLocal indicates if local snap must be deleted after the
	// backup is complete
	DeleteLocal bool
}

type CloudBackupGroupCreateResponse

type CloudBackupGroupCreateResponse struct {
	// ID for this group of backups
	GroupCloudBackupID string
	// Names of the tasks performing this group backup
	Names []string
}

type CloudBackupGroupSchedCreateRequest

type CloudBackupGroupSchedCreateRequest struct {
	// GroupID indicates the group of volumes for which cloudbackup schedule is
	// being created
	GroupID string
	// Labels indicates a volume group for which this group cloudsnap schedule is
	// being created. If this is provided GroupId is not needed and vice-versa.
	Labels map[string]string
	// VolumeIDs are a list of volume IDs to use for the backup request
	// If multiple of GroupID, Labels or VolumeIDs are specified, volumes matching all of
	// them are backed up to cloud
	VolumeIDs []string
	// CredentialUUID is cloud credential to be used with this schedule
	CredentialUUID string
	// Schedule is the frequency of backup
	Schedule string
	// MaxBackups are the maximum number of backups retained
	// in cloud.Older backups are deleted
	MaxBackups uint
	// Full indicates if scheduled backups must be full always
	Full bool
	// RetentionDays is the number of days that the scheduled backups will be kept
	// and after these number of days it will be deleted
	RetentionDays uint32
}

type CloudBackupGroupSchedUpdateRequest

type CloudBackupGroupSchedUpdateRequest struct {
	// Any parameters in this can be updated
	CloudBackupGroupSchedCreateRequest
	// UUID of the group schedule being upated
	SchedUUID string
}

type CloudBackupHistoryItem

type CloudBackupHistoryItem struct {
	// SrcVolumeID is volume ID which was backedup
	SrcVolumeID string
	// TimeStamp is the time at which either backup completed/failed
	Timestamp time.Time
	// Status indicates whether backup was completed/failed
	Status string
}

func (CloudBackupHistoryItem) ToSdkCloudBackupHistoryItem

func (h CloudBackupHistoryItem) ToSdkCloudBackupHistoryItem() *SdkCloudBackupHistoryItem

type CloudBackupHistoryRequest

type CloudBackupHistoryRequest struct {
	// SrcVolumeID is volumeID for which history of backup/restore
	// is being requested
	SrcVolumeID string
}

type CloudBackupHistoryResponse

type CloudBackupHistoryResponse struct {
	// HistoryList is list of past backup/restores in the cluster
	HistoryList []CloudBackupHistoryItem
}

func (*CloudBackupHistoryResponse) ToSdkCloudBackupHistoryResponse

func (r *CloudBackupHistoryResponse) ToSdkCloudBackupHistoryResponse() *SdkCloudBackupHistoryResponse

type CloudBackupInfo

type CloudBackupInfo struct {
	// ID is the ID of the cloud backup
	ID string
	// SrcVolumeID is Source volumeID of the backup
	SrcVolumeID string
	// SrcvolumeName is name of the sourceVolume of the backup
	SrcVolumeName string
	// Timestamp is the timestamp at which the source volume
	// was backed up to cloud
	Timestamp time.Time
	// Metadata associated with the backup
	Metadata map[string]string
	// Status indicates the status of the backup
	Status string
	// ClusterType indicates if the cloudbackup was uploaded by this
	// cluster. Could be unknown with older version cloudbackups
	ClusterType SdkCloudBackupClusterType
	// Namespace to which this cloudbackup belongs to
	Namespace string
}

func (*CloudBackupInfo) ToSdkCloudBackupInfo

func (b *CloudBackupInfo) ToSdkCloudBackupInfo() *SdkCloudBackupInfo

type CloudBackupOpType

type CloudBackupOpType string

func SdkCloudBackupOpTypeToCloudBackupOpType

func SdkCloudBackupOpTypeToCloudBackupOpType(t SdkCloudBackupOpType) CloudBackupOpType

type CloudBackupRestoreRequest

type CloudBackupRestoreRequest struct {
	// ID is the backup ID being restored
	ID string
	// RestoreVolumeName is optional volume Name of the new volume to be created
	// in the cluster for restoring the cloudbackup
	RestoreVolumeName string
	// CredentialUUID is the credential to be used for restore operation
	CredentialUUID string
	// NodeID is the optional NodeID for provisioning restore
	// volume (ResoreVolumeName should not be specified)
	NodeID string
	// Name is optional unique id to be used for this restore op
	// restore creates this by default
	Name string
	// Optional RestoreVolumeSpec allows some of the restoreVolume fields to be modified.
	// These fields default to the volume spec stored with cloudbackup.
	// The request fails if both RestoreVolSpec and NodeID are specified.
	Spec *RestoreVolumeSpec
	// Optional Locator for restoreVolume. Request fails if both Name and
	// locator are specified
	Locator *VolumeLocator
}

type CloudBackupRestoreResponse

type CloudBackupRestoreResponse struct {
	// RestoreVolumeID is the volumeID to which the backup is being restored
	RestoreVolumeID string
	// Name of the task performing this restore
	Name string
}

type CloudBackupSchedCreateRequest

type CloudBackupSchedCreateRequest struct {
	CloudBackupScheduleInfo
}

type CloudBackupSchedCreateResponse

type CloudBackupSchedCreateResponse struct {
	// UUID is the UUID of the newly created schedule
	UUID string
}

type CloudBackupSchedDeleteRequest

type CloudBackupSchedDeleteRequest struct {
	// UUID is UUID of the schedule to be deleted
	UUID string
}

type CloudBackupSchedEnumerateResponse

type CloudBackupSchedEnumerateResponse struct {
	// Schedule is map of schedule uuid to scheduleInfo
	Schedules map[string]CloudBackupScheduleInfo
}

type CloudBackupSchedUpdateRequest

type CloudBackupSchedUpdateRequest struct {
	CloudBackupScheduleInfo
	// SchedUUID for which the schedule is being updated
	SchedUUID string
}

Callers must read the existing schedule and modify required fields

type CloudBackupScheduleInfo

type CloudBackupScheduleInfo struct {
	// SrcVolumeID is the schedule's source volume
	SrcVolumeID string
	// CredentialUUID is the cloud credential used with this schedule
	CredentialUUID string
	// Schedule is the frequencies of backup
	Schedule string
	// MaxBackups are the maximum number of backups retained
	// in cloud.Older backups are deleted
	MaxBackups uint
	// GroupID indicates the group of volumes for this cloudbackup schedule
	GroupID string
	// Labels indicates a volume group for this cloudsnap schedule
	Labels map[string]string
	// Full indicates if scheduled backups must be full always
	Full bool
	// RetentionDays is the number of days that the scheduled backups will be kept
	// and after these number of days it will be deleted
	RetentionDays uint32
}

type CloudBackupStateChangeRequest

type CloudBackupStateChangeRequest struct {
	// Name of the backup/restore task for which state change
	// is being requested
	Name string
	// RequestedState is desired state of the op
	// can be pause/resume/stop
	RequestedState string
}

type CloudBackupStatus

type CloudBackupStatus struct {
	// ID is the ID for the operation
	ID string
	// OpType indicates if this is a backup or restore
	OpType CloudBackupOpType
	// State indicates if the op is currently active/done/failed
	Status CloudBackupStatusType
	// BytesDone indicates Bytes uploaded/downloaded so far
	BytesDone uint64
	// BytesTotal is the total number of bytes being transferred
	BytesTotal uint64
	// EtaSeconds estimated time in seconds for backup/restore completion
	EtaSeconds int64
	// StartTime indicates Op's start time
	StartTime time.Time
	// CompletedTime indicates Op's completed time
	CompletedTime time.Time
	// NodeID is the ID of the node where this Op is active
	NodeID string
	// SrcVolumeID is either the volume being backed-up or target volume to
	// which a cloud backup is being restored
	SrcVolumeID string
	// Info currently indicates only failure cause in case of failed backup/restore
	Info []string
	// CredentialUUID used for this backup/restore op
	CredentialUUID string
	// GroupCloudBackupID is valid for backups that were started as part of group
	// cloudbackup request
	GroupCloudBackupID string
}

func (CloudBackupStatus) ToSdkCloudBackupStatus

func (s CloudBackupStatus) ToSdkCloudBackupStatus() *SdkCloudBackupStatus

type CloudBackupStatusRequest

type CloudBackupStatusRequest struct {
	// SrcVolumeID optional volumeID to list status of backup/restore
	SrcVolumeID string
	// Local indicates if only those backups/restores that are
	// active on current node must be returned
	Local bool
	// ID of the backup/restore task. If this is specified, SrcVolumeID is
	// ignored. This could be GroupCloudBackupId too, and in that case multiple
	// statuses belonging to the groupCloudBackupID is returned.
	ID string
}

type CloudBackupStatusRequestOld

type CloudBackupStatusRequestOld struct {
	// Old field for task ID
	Name string
	// New structure
	CloudBackupStatusRequest
}

type CloudBackupStatusResponse

type CloudBackupStatusResponse struct {
	// statuses is list of currently active/failed/done backup/restores
	// map key is the id of the task
	Statuses map[string]CloudBackupStatus
}

func (*CloudBackupStatusResponse) ToSdkCloudBackupStatusResponse

func (r *CloudBackupStatusResponse) ToSdkCloudBackupStatusResponse() *SdkCloudBackupStatusResponse

type CloudBackupStatusType

type CloudBackupStatusType string

type CloudDriveTransferJob

type CloudDriveTransferJob struct {

	// SourceDrivesetID is the ID of the current driveset that needs to be transferred
	SourceDrivesetId string `protobuf:"bytes,1,opt,name=source_driveset_id,json=sourceDrivesetId,proto3" json:"source_driveset_id,omitempty"`
	// DestinationInstanceID is the ID of the storageless instance that needs to take over the SourceDriveSetID
	DestinationInstanceId string `` /* 126-byte string literal not displayed */
	// Status describes a helpful status of this operation
	Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*CloudDriveTransferJob) Descriptor deprecated

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

Deprecated: Use CloudDriveTransferJob.ProtoReflect.Descriptor instead.

func (*CloudDriveTransferJob) GetDestinationInstanceId

func (x *CloudDriveTransferJob) GetDestinationInstanceId() string

func (*CloudDriveTransferJob) GetSourceDrivesetId

func (x *CloudDriveTransferJob) GetSourceDrivesetId() string

func (*CloudDriveTransferJob) GetStatus

func (x *CloudDriveTransferJob) GetStatus() string

func (*CloudDriveTransferJob) ProtoMessage

func (*CloudDriveTransferJob) ProtoMessage()

func (*CloudDriveTransferJob) ProtoReflect

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

func (*CloudDriveTransferJob) Reset

func (x *CloudDriveTransferJob) Reset()

func (*CloudDriveTransferJob) String

func (x *CloudDriveTransferJob) String() string

type CloudMigrate

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

func (*CloudMigrate) Descriptor deprecated

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

Deprecated: Use CloudMigrate.ProtoReflect.Descriptor instead.

func (*CloudMigrate) ProtoMessage

func (*CloudMigrate) ProtoMessage()

func (*CloudMigrate) ProtoReflect

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

func (*CloudMigrate) Reset

func (x *CloudMigrate) Reset()

func (*CloudMigrate) String

func (x *CloudMigrate) String() string

type CloudMigrateCancelRequest

type CloudMigrateCancelRequest struct {

	// The id of the task to cancel
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

Request to stop a cloud migration

func (*CloudMigrateCancelRequest) Descriptor deprecated

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

Deprecated: Use CloudMigrateCancelRequest.ProtoReflect.Descriptor instead.

func (*CloudMigrateCancelRequest) GetTaskId

func (x *CloudMigrateCancelRequest) GetTaskId() string

func (*CloudMigrateCancelRequest) ProtoMessage

func (*CloudMigrateCancelRequest) ProtoMessage()

func (*CloudMigrateCancelRequest) ProtoReflect

func (*CloudMigrateCancelRequest) Reset

func (x *CloudMigrateCancelRequest) Reset()

func (*CloudMigrateCancelRequest) String

func (x *CloudMigrateCancelRequest) String() string

type CloudMigrateInfo

type CloudMigrateInfo struct {

	// Task id associated with this migration
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// ID of the cluster where the volume is being migrated
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the volume on the local cluster
	LocalVolumeId string `protobuf:"bytes,3,opt,name=local_volume_id,json=localVolumeId,proto3" json:"local_volume_id,omitempty"`
	// Name of the volume on the local cluster
	LocalVolumeName string `protobuf:"bytes,4,opt,name=local_volume_name,json=localVolumeName,proto3" json:"local_volume_name,omitempty"`
	// ID of the volume on the remote cluster
	RemoteVolumeId string `protobuf:"bytes,5,opt,name=remote_volume_id,json=remoteVolumeId,proto3" json:"remote_volume_id,omitempty"`
	// ID of the cloudbackup used for the migration
	CloudbackupId string `protobuf:"bytes,6,opt,name=cloudbackup_id,json=cloudbackupId,proto3" json:"cloudbackup_id,omitempty"`
	// Current stage of the volume migration
	CurrentStage CloudMigrate_Stage `` /* 138-byte string literal not displayed */
	// Status of the current stage
	Status CloudMigrate_Status `protobuf:"varint,8,opt,name=status,proto3,enum=openstorage.api.CloudMigrate_Status" json:"status,omitempty"`
	// Last time the status was updated
	LastUpdate *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
	// Contains the reason for the migration error
	ErrorReason string `protobuf:"bytes,10,opt,name=error_reason,json=errorReason,proto3" json:"error_reason,omitempty"`
	// StartTime indicates Op's start time
	StartTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// CompletedTime indicates Op's completed time
	CompletedTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=completed_time,json=completedTime,proto3" json:"completed_time,omitempty"`
	// BytesTotal is the number of bytes being transferred
	BytesTotal uint64 `protobuf:"varint,13,opt,name=bytes_total,json=bytesTotal,proto3" json:"bytes_total,omitempty"`
	// BytesDone is the number of bytes already transferred
	BytesDone uint64 `protobuf:"varint,14,opt,name=bytes_done,json=bytesDone,proto3" json:"bytes_done,omitempty"`
	// ETASeconds the time duration in seconds for cloud migration completion
	EtaSeconds int64 `protobuf:"varint,15,opt,name=eta_seconds,json=etaSeconds,proto3" json:"eta_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*CloudMigrateInfo) Descriptor deprecated

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

Deprecated: Use CloudMigrateInfo.ProtoReflect.Descriptor instead.

func (*CloudMigrateInfo) GetBytesDone

func (x *CloudMigrateInfo) GetBytesDone() uint64

func (*CloudMigrateInfo) GetBytesTotal

func (x *CloudMigrateInfo) GetBytesTotal() uint64

func (*CloudMigrateInfo) GetCloudbackupId

func (x *CloudMigrateInfo) GetCloudbackupId() string

func (*CloudMigrateInfo) GetClusterId

func (x *CloudMigrateInfo) GetClusterId() string

func (*CloudMigrateInfo) GetCompletedTime

func (x *CloudMigrateInfo) GetCompletedTime() *timestamppb.Timestamp

func (*CloudMigrateInfo) GetCurrentStage

func (x *CloudMigrateInfo) GetCurrentStage() CloudMigrate_Stage

func (*CloudMigrateInfo) GetErrorReason

func (x *CloudMigrateInfo) GetErrorReason() string

func (*CloudMigrateInfo) GetEtaSeconds

func (x *CloudMigrateInfo) GetEtaSeconds() int64

func (*CloudMigrateInfo) GetLastUpdate

func (x *CloudMigrateInfo) GetLastUpdate() *timestamppb.Timestamp

func (*CloudMigrateInfo) GetLocalVolumeId

func (x *CloudMigrateInfo) GetLocalVolumeId() string

func (*CloudMigrateInfo) GetLocalVolumeName

func (x *CloudMigrateInfo) GetLocalVolumeName() string

func (*CloudMigrateInfo) GetRemoteVolumeId

func (x *CloudMigrateInfo) GetRemoteVolumeId() string

func (*CloudMigrateInfo) GetStartTime

func (x *CloudMigrateInfo) GetStartTime() *timestamppb.Timestamp

func (*CloudMigrateInfo) GetStatus

func (x *CloudMigrateInfo) GetStatus() CloudMigrate_Status

func (*CloudMigrateInfo) GetTaskId

func (x *CloudMigrateInfo) GetTaskId() string

func (*CloudMigrateInfo) ProtoMessage

func (*CloudMigrateInfo) ProtoMessage()

func (*CloudMigrateInfo) ProtoReflect

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

func (*CloudMigrateInfo) Reset

func (x *CloudMigrateInfo) Reset()

func (*CloudMigrateInfo) String

func (x *CloudMigrateInfo) String() string

type CloudMigrateInfoList

type CloudMigrateInfoList struct {
	List []*CloudMigrateInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*CloudMigrateInfoList) Descriptor deprecated

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

Deprecated: Use CloudMigrateInfoList.ProtoReflect.Descriptor instead.

func (*CloudMigrateInfoList) GetList

func (x *CloudMigrateInfoList) GetList() []*CloudMigrateInfo

func (*CloudMigrateInfoList) ProtoMessage

func (*CloudMigrateInfoList) ProtoMessage()

func (*CloudMigrateInfoList) ProtoReflect

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

func (*CloudMigrateInfoList) Reset

func (x *CloudMigrateInfoList) Reset()

func (*CloudMigrateInfoList) String

func (x *CloudMigrateInfoList) String() string

type CloudMigrateStartRequest

type CloudMigrateStartRequest struct {

	// The type of operation to start
	Operation CloudMigrate_OperationType `protobuf:"varint,1,opt,name=operation,proto3,enum=openstorage.api.CloudMigrate_OperationType" json:"operation,omitempty"`
	// ID of the cluster to which volumes are to be migrated
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Depending on the operation type this can be a VolumeID or VolumeGroupID
	TargetId string `protobuf:"bytes,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// (Optional) Unique TaskId assocaiated with this migration. If not provided one will
	// be generated and returned in the response
	TaskId string `protobuf:"bytes,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

Request to start a cloud migration

func (*CloudMigrateStartRequest) Descriptor deprecated

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

Deprecated: Use CloudMigrateStartRequest.ProtoReflect.Descriptor instead.

func (*CloudMigrateStartRequest) GetClusterId

func (x *CloudMigrateStartRequest) GetClusterId() string

func (*CloudMigrateStartRequest) GetOperation

func (*CloudMigrateStartRequest) GetTargetId

func (x *CloudMigrateStartRequest) GetTargetId() string

func (*CloudMigrateStartRequest) GetTaskId

func (x *CloudMigrateStartRequest) GetTaskId() string

func (*CloudMigrateStartRequest) ProtoMessage

func (*CloudMigrateStartRequest) ProtoMessage()

func (*CloudMigrateStartRequest) ProtoReflect

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

func (*CloudMigrateStartRequest) Reset

func (x *CloudMigrateStartRequest) Reset()

func (*CloudMigrateStartRequest) String

func (x *CloudMigrateStartRequest) String() string

type CloudMigrateStartResponse

type CloudMigrateStartResponse struct {

	// TaskId assocaiated with the migration that was started
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

Response to start a cloud migration

func (*CloudMigrateStartResponse) Descriptor deprecated

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

Deprecated: Use CloudMigrateStartResponse.ProtoReflect.Descriptor instead.

func (*CloudMigrateStartResponse) GetTaskId

func (x *CloudMigrateStartResponse) GetTaskId() string

func (*CloudMigrateStartResponse) ProtoMessage

func (*CloudMigrateStartResponse) ProtoMessage()

func (*CloudMigrateStartResponse) ProtoReflect

func (*CloudMigrateStartResponse) Reset

func (x *CloudMigrateStartResponse) Reset()

func (*CloudMigrateStartResponse) String

func (x *CloudMigrateStartResponse) String() string

type CloudMigrateStatusRequest

type CloudMigrateStatusRequest struct {

	// Task id for which to return status
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// ID of the cluster for which to return migration statuses
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

Request for cloud migration operation status

func (*CloudMigrateStatusRequest) Descriptor deprecated

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

Deprecated: Use CloudMigrateStatusRequest.ProtoReflect.Descriptor instead.

func (*CloudMigrateStatusRequest) GetClusterId

func (x *CloudMigrateStatusRequest) GetClusterId() string

func (*CloudMigrateStatusRequest) GetTaskId

func (x *CloudMigrateStatusRequest) GetTaskId() string

func (*CloudMigrateStatusRequest) ProtoMessage

func (*CloudMigrateStatusRequest) ProtoMessage()

func (*CloudMigrateStatusRequest) ProtoReflect

func (*CloudMigrateStatusRequest) Reset

func (x *CloudMigrateStatusRequest) Reset()

func (*CloudMigrateStatusRequest) String

func (x *CloudMigrateStatusRequest) String() string

type CloudMigrateStatusResponse

type CloudMigrateStatusResponse struct {

	// Map of cluster id to the status of volumes being migrated
	Info map[string]*CloudMigrateInfoList `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response with a status of the cloud migration operations

func (*CloudMigrateStatusResponse) Descriptor deprecated

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

Deprecated: Use CloudMigrateStatusResponse.ProtoReflect.Descriptor instead.

func (*CloudMigrateStatusResponse) GetInfo

func (*CloudMigrateStatusResponse) ProtoMessage

func (*CloudMigrateStatusResponse) ProtoMessage()

func (*CloudMigrateStatusResponse) ProtoReflect

func (*CloudMigrateStatusResponse) Reset

func (x *CloudMigrateStatusResponse) Reset()

func (*CloudMigrateStatusResponse) String

func (x *CloudMigrateStatusResponse) String() string

type CloudMigrate_OperationType

type CloudMigrate_OperationType int32
const (
	CloudMigrate_InvalidType CloudMigrate_OperationType = 0
	// Migrate all volumes in the cluster
	CloudMigrate_MigrateCluster CloudMigrate_OperationType = 1
	// Migrate a single volume
	CloudMigrate_MigrateVolume CloudMigrate_OperationType = 2
	// Migrate a group of volumes
	CloudMigrate_MigrateVolumeGroup CloudMigrate_OperationType = 3
)

func (CloudMigrate_OperationType) Descriptor

func (CloudMigrate_OperationType) Enum

func (CloudMigrate_OperationType) EnumDescriptor deprecated

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

Deprecated: Use CloudMigrate_OperationType.Descriptor instead.

func (CloudMigrate_OperationType) Number

func (CloudMigrate_OperationType) String

func (CloudMigrate_OperationType) Type

type CloudMigrate_Stage

type CloudMigrate_Stage int32
const (
	CloudMigrate_InvalidStage CloudMigrate_Stage = 0
	CloudMigrate_Backup       CloudMigrate_Stage = 1
	CloudMigrate_Restore      CloudMigrate_Stage = 2
	CloudMigrate_VolumeUpdate CloudMigrate_Stage = 3
	CloudMigrate_Done         CloudMigrate_Stage = 4
)

func (CloudMigrate_Stage) Descriptor

func (CloudMigrate_Stage) Enum

func (CloudMigrate_Stage) EnumDescriptor deprecated

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

Deprecated: Use CloudMigrate_Stage.Descriptor instead.

func (CloudMigrate_Stage) Number

func (CloudMigrate_Stage) String

func (x CloudMigrate_Stage) String() string

func (CloudMigrate_Stage) Type

type CloudMigrate_Status

type CloudMigrate_Status int32
const (
	CloudMigrate_InvalidStatus CloudMigrate_Status = 0
	CloudMigrate_Queued        CloudMigrate_Status = 1
	CloudMigrate_Initialized   CloudMigrate_Status = 2
	CloudMigrate_InProgress    CloudMigrate_Status = 3
	CloudMigrate_Failed        CloudMigrate_Status = 4
	CloudMigrate_Complete      CloudMigrate_Status = 5
	CloudMigrate_Canceled      CloudMigrate_Status = 6
)

func (CloudMigrate_Status) Descriptor

func (CloudMigrate_Status) Enum

func (CloudMigrate_Status) EnumDescriptor deprecated

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

Deprecated: Use CloudMigrate_Status.Descriptor instead.

func (CloudMigrate_Status) Number

func (CloudMigrate_Status) String

func (x CloudMigrate_Status) String() string

func (CloudMigrate_Status) Type

type Cluster

type Cluster struct {
	Status Status

	// Id of the cluster.
	//
	// required: true
	Id string

	// Id of the node on which this cluster object is initialized
	NodeId string

	// array of all the nodes in the cluster.
	Nodes []*Node

	// Management url for the cluster
	ManagementURL string

	// FluentD Host for the cluster
	FluentDConfig FluentDConfig
}

Cluster represents the state of the cluster.

swagger:model

func (*Cluster) ToStorageCluster

func (c *Cluster) ToStorageCluster() *StorageCluster

ToStorageCluster converts a Cluster structure to an exported gRPC StorageCluster struct

type ClusterPairCreateRequest

type ClusterPairCreateRequest struct {

	// IP of the remote cluster
	RemoteClusterIp string `protobuf:"bytes,1,opt,name=remote_cluster_ip,json=remoteClusterIp,proto3" json:"remote_cluster_ip,omitempty"`
	// Port for the remote cluster
	RemoteClusterPort uint32 `protobuf:"varint,2,opt,name=remote_cluster_port,json=remoteClusterPort,proto3" json:"remote_cluster_port,omitempty"`
	// Token used to authenticate with the remote cluster
	RemoteClusterToken string `protobuf:"bytes,3,opt,name=remote_cluster_token,json=remoteClusterToken,proto3" json:"remote_cluster_token,omitempty"`
	// Set the new pair as the default
	SetDefault bool `protobuf:"varint,4,opt,name=set_default,json=setDefault,proto3" json:"set_default,omitempty"`
	// The mode to use for the cluster pair
	Mode ClusterPairMode_Mode `protobuf:"varint,5,opt,name=mode,proto3,enum=openstorage.api.ClusterPairMode_Mode" json:"mode,omitempty"`
	// Use for the cluster pairing, if given
	// credential id will be used in ClusterPairCreate service
	CredentialId string `protobuf:"bytes,6,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// contains filtered or unexported fields
}

Used to send a request to create a cluster pair

func (*ClusterPairCreateRequest) Descriptor deprecated

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

Deprecated: Use ClusterPairCreateRequest.ProtoReflect.Descriptor instead.

func (*ClusterPairCreateRequest) GetCredentialId

func (x *ClusterPairCreateRequest) GetCredentialId() string

func (*ClusterPairCreateRequest) GetMode

func (*ClusterPairCreateRequest) GetRemoteClusterIp

func (x *ClusterPairCreateRequest) GetRemoteClusterIp() string

func (*ClusterPairCreateRequest) GetRemoteClusterPort

func (x *ClusterPairCreateRequest) GetRemoteClusterPort() uint32

func (*ClusterPairCreateRequest) GetRemoteClusterToken

func (x *ClusterPairCreateRequest) GetRemoteClusterToken() string

func (*ClusterPairCreateRequest) GetSetDefault

func (x *ClusterPairCreateRequest) GetSetDefault() bool

func (*ClusterPairCreateRequest) ProtoMessage

func (*ClusterPairCreateRequest) ProtoMessage()

func (*ClusterPairCreateRequest) ProtoReflect

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

func (*ClusterPairCreateRequest) Reset

func (x *ClusterPairCreateRequest) Reset()

func (*ClusterPairCreateRequest) String

func (x *ClusterPairCreateRequest) String() string

type ClusterPairCreateResponse

type ClusterPairCreateResponse struct {

	// ID of the remote cluster
	RemoteClusterId string `protobuf:"bytes,1,opt,name=remote_cluster_id,json=remoteClusterId,proto3" json:"remote_cluster_id,omitempty"`
	// Name of the remote cluster
	RemoteClusterName string `protobuf:"bytes,2,opt,name=remote_cluster_name,json=remoteClusterName,proto3" json:"remote_cluster_name,omitempty"`
	// contains filtered or unexported fields
}

Response for a pair request

func (*ClusterPairCreateResponse) Descriptor deprecated

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

Deprecated: Use ClusterPairCreateResponse.ProtoReflect.Descriptor instead.

func (*ClusterPairCreateResponse) GetRemoteClusterId

func (x *ClusterPairCreateResponse) GetRemoteClusterId() string

func (*ClusterPairCreateResponse) GetRemoteClusterName

func (x *ClusterPairCreateResponse) GetRemoteClusterName() string

func (*ClusterPairCreateResponse) ProtoMessage

func (*ClusterPairCreateResponse) ProtoMessage()

func (*ClusterPairCreateResponse) ProtoReflect

func (*ClusterPairCreateResponse) Reset

func (x *ClusterPairCreateResponse) Reset()

func (*ClusterPairCreateResponse) String

func (x *ClusterPairCreateResponse) String() string

type ClusterPairGetResponse

type ClusterPairGetResponse struct {

	// Info about the cluster pair
	PairInfo *ClusterPairInfo `protobuf:"bytes,1,opt,name=pair_info,json=pairInfo,proto3" json:"pair_info,omitempty"`
	// contains filtered or unexported fields
}

Response to get a cluster pair

func (*ClusterPairGetResponse) Descriptor deprecated

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

Deprecated: Use ClusterPairGetResponse.ProtoReflect.Descriptor instead.

func (*ClusterPairGetResponse) GetPairInfo

func (x *ClusterPairGetResponse) GetPairInfo() *ClusterPairInfo

func (*ClusterPairGetResponse) ProtoMessage

func (*ClusterPairGetResponse) ProtoMessage()

func (*ClusterPairGetResponse) ProtoReflect

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

func (*ClusterPairGetResponse) Reset

func (x *ClusterPairGetResponse) Reset()

func (*ClusterPairGetResponse) String

func (x *ClusterPairGetResponse) String() string

type ClusterPairInfo

type ClusterPairInfo struct {

	// ID of the cluster
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the cluster
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The endpoint used for creating the pair
	Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Current endpoints of the cluster
	CurrentEndpoints []string `protobuf:"bytes,4,rep,name=current_endpoints,json=currentEndpoints,proto3" json:"current_endpoints,omitempty"`
	// Flag used to determine if communication is over a secure channel
	Secure bool `protobuf:"varint,5,opt,name=secure,proto3" json:"secure,omitempty"`
	// Token associated with cluster
	Token string `protobuf:"bytes,6,opt,name=token,proto3" json:"token,omitempty"`
	// Key/value pair of options associated with the cluster
	// Opaque to openstorage and interpreted by the drivers
	Options map[string]string `` /* 155-byte string literal not displayed */
	// Mode for the cluster pair
	Mode ClusterPairMode_Mode `protobuf:"varint,8,opt,name=mode,proto3,enum=openstorage.api.ClusterPairMode_Mode" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

Information about a cluster pair

func (*ClusterPairInfo) Descriptor deprecated

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

Deprecated: Use ClusterPairInfo.ProtoReflect.Descriptor instead.

func (*ClusterPairInfo) GetCurrentEndpoints

func (x *ClusterPairInfo) GetCurrentEndpoints() []string

func (*ClusterPairInfo) GetEndpoint

func (x *ClusterPairInfo) GetEndpoint() string

func (*ClusterPairInfo) GetId

func (x *ClusterPairInfo) GetId() string

func (*ClusterPairInfo) GetMode

func (*ClusterPairInfo) GetName

func (x *ClusterPairInfo) GetName() string

func (*ClusterPairInfo) GetOptions

func (x *ClusterPairInfo) GetOptions() map[string]string

func (*ClusterPairInfo) GetSecure

func (x *ClusterPairInfo) GetSecure() bool

func (*ClusterPairInfo) GetToken

func (x *ClusterPairInfo) GetToken() string

func (*ClusterPairInfo) ProtoMessage

func (*ClusterPairInfo) ProtoMessage()

func (*ClusterPairInfo) ProtoReflect

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

func (*ClusterPairInfo) Reset

func (x *ClusterPairInfo) Reset()

func (*ClusterPairInfo) String

func (x *ClusterPairInfo) String() string

type ClusterPairMode

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

func (*ClusterPairMode) Descriptor deprecated

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

Deprecated: Use ClusterPairMode.ProtoReflect.Descriptor instead.

func (*ClusterPairMode) ProtoMessage

func (*ClusterPairMode) ProtoMessage()

func (*ClusterPairMode) ProtoReflect

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

func (*ClusterPairMode) Reset

func (x *ClusterPairMode) Reset()

func (*ClusterPairMode) String

func (x *ClusterPairMode) String() string

type ClusterPairMode_Mode

type ClusterPairMode_Mode int32
const (
	// Default pairing mode
	ClusterPairMode_Default ClusterPairMode_Mode = 0
	// Paired for DisasterRecovery
	ClusterPairMode_DisasterRecovery ClusterPairMode_Mode = 1
	// Paired for one-time migration
	ClusterPairMode_OneTimeMigration ClusterPairMode_Mode = 2
)

func (ClusterPairMode_Mode) Descriptor

func (ClusterPairMode_Mode) Enum

func (ClusterPairMode_Mode) EnumDescriptor deprecated

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

Deprecated: Use ClusterPairMode_Mode.Descriptor instead.

func (ClusterPairMode_Mode) Number

func (ClusterPairMode_Mode) String

func (x ClusterPairMode_Mode) String() string

func (ClusterPairMode_Mode) Type

type ClusterPairProcessRequest

type ClusterPairProcessRequest struct {

	// ID of the cluster requesting the pairing
	SourceClusterId string `protobuf:"bytes,1,opt,name=source_cluster_id,json=sourceClusterId,proto3" json:"source_cluster_id,omitempty"`
	// Token used to authenticate with the remote cluster
	RemoteClusterToken string `protobuf:"bytes,2,opt,name=remote_cluster_token,json=remoteClusterToken,proto3" json:"remote_cluster_token,omitempty"`
	// The mode to use for the cluster pair
	Mode ClusterPairMode_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=openstorage.api.ClusterPairMode_Mode" json:"mode,omitempty"`
	// Use for the cluster pairing, if given
	// credential id will be used in ClusterPairCreate service
	CredentialId string `protobuf:"bytes,4,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// contains filtered or unexported fields
}

Used to process a pair request from a remote cluster

func (*ClusterPairProcessRequest) Descriptor deprecated

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

Deprecated: Use ClusterPairProcessRequest.ProtoReflect.Descriptor instead.

func (*ClusterPairProcessRequest) GetCredentialId

func (x *ClusterPairProcessRequest) GetCredentialId() string

func (*ClusterPairProcessRequest) GetMode

func (*ClusterPairProcessRequest) GetRemoteClusterToken

func (x *ClusterPairProcessRequest) GetRemoteClusterToken() string

func (*ClusterPairProcessRequest) GetSourceClusterId

func (x *ClusterPairProcessRequest) GetSourceClusterId() string

func (*ClusterPairProcessRequest) ProtoMessage

func (*ClusterPairProcessRequest) ProtoMessage()

func (*ClusterPairProcessRequest) ProtoReflect

func (*ClusterPairProcessRequest) Reset

func (x *ClusterPairProcessRequest) Reset()

func (*ClusterPairProcessRequest) String

func (x *ClusterPairProcessRequest) String() string

type ClusterPairProcessResponse

type ClusterPairProcessResponse struct {

	// ID of the cluster which processed the pair request
	RemoteClusterId string `protobuf:"bytes,1,opt,name=remote_cluster_id,json=remoteClusterId,proto3" json:"remote_cluster_id,omitempty"`
	// Name of the cluster which processed the pair request
	RemoteClusterName string `protobuf:"bytes,2,opt,name=remote_cluster_name,json=remoteClusterName,proto3" json:"remote_cluster_name,omitempty"`
	// List of endpoints that can be used to communicate with the cluster
	RemoteClusterEndpoints []string `` /* 129-byte string literal not displayed */
	// Key/value pair of options returned on successful pairing.
	// Opaque to openstorage and interpreted by the drivers
	Options map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response after a pairing has been processed

func (*ClusterPairProcessResponse) Descriptor deprecated

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

Deprecated: Use ClusterPairProcessResponse.ProtoReflect.Descriptor instead.

func (*ClusterPairProcessResponse) GetOptions

func (x *ClusterPairProcessResponse) GetOptions() map[string]string

func (*ClusterPairProcessResponse) GetRemoteClusterEndpoints

func (x *ClusterPairProcessResponse) GetRemoteClusterEndpoints() []string

func (*ClusterPairProcessResponse) GetRemoteClusterId

func (x *ClusterPairProcessResponse) GetRemoteClusterId() string

func (*ClusterPairProcessResponse) GetRemoteClusterName

func (x *ClusterPairProcessResponse) GetRemoteClusterName() string

func (*ClusterPairProcessResponse) ProtoMessage

func (*ClusterPairProcessResponse) ProtoMessage()

func (*ClusterPairProcessResponse) ProtoReflect

func (*ClusterPairProcessResponse) Reset

func (x *ClusterPairProcessResponse) Reset()

func (*ClusterPairProcessResponse) String

func (x *ClusterPairProcessResponse) String() string

type ClusterPairTokenGetResponse

type ClusterPairTokenGetResponse struct {

	// Token used to authenticate clusters
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

Response to get the cluster token

func (*ClusterPairTokenGetResponse) Descriptor deprecated

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

Deprecated: Use ClusterPairTokenGetResponse.ProtoReflect.Descriptor instead.

func (*ClusterPairTokenGetResponse) GetToken

func (x *ClusterPairTokenGetResponse) GetToken() string

func (*ClusterPairTokenGetResponse) ProtoMessage

func (*ClusterPairTokenGetResponse) ProtoMessage()

func (*ClusterPairTokenGetResponse) ProtoReflect

func (*ClusterPairTokenGetResponse) Reset

func (x *ClusterPairTokenGetResponse) Reset()

func (*ClusterPairTokenGetResponse) String

func (x *ClusterPairTokenGetResponse) String() string

type ClusterPairsEnumerateResponse

type ClusterPairsEnumerateResponse struct {

	// ID of the default cluster pair
	DefaultId string `protobuf:"bytes,1,opt,name=default_id,json=defaultId,proto3" json:"default_id,omitempty"`
	// Pairs Info about the cluster pairs
	Pairs map[string]*ClusterPairInfo `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response to enumerate all the cluster pairs

func (*ClusterPairsEnumerateResponse) Descriptor deprecated

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

Deprecated: Use ClusterPairsEnumerateResponse.ProtoReflect.Descriptor instead.

func (*ClusterPairsEnumerateResponse) GetDefaultId

func (x *ClusterPairsEnumerateResponse) GetDefaultId() string

func (*ClusterPairsEnumerateResponse) GetPairs

func (*ClusterPairsEnumerateResponse) ProtoMessage

func (*ClusterPairsEnumerateResponse) ProtoMessage()

func (*ClusterPairsEnumerateResponse) ProtoReflect

func (*ClusterPairsEnumerateResponse) Reset

func (x *ClusterPairsEnumerateResponse) Reset()

func (*ClusterPairsEnumerateResponse) String

type ClusterResponse

type ClusterResponse struct {

	// Error code
	//
	// in: body
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

ClusterResponse specifies a response that gets returned when requesting the cluster

func (*ClusterResponse) Descriptor deprecated

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

Deprecated: Use ClusterResponse.ProtoReflect.Descriptor instead.

func (*ClusterResponse) GetError

func (x *ClusterResponse) GetError() string

func (*ClusterResponse) ProtoMessage

func (*ClusterResponse) ProtoMessage()

func (*ClusterResponse) ProtoReflect

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

func (*ClusterResponse) Reset

func (x *ClusterResponse) Reset()

func (*ClusterResponse) String

func (x *ClusterResponse) String() string

type CollectDiagsJob

type CollectDiagsJob struct {

	// Request is the user request for this diags collection job
	Request *SdkDiagsCollectRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// Statuses is a list of statuses for diags collection for each node that is part of the request
	Statuses []*DiagsCollectionStatus `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectDiagsJob) Descriptor deprecated

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

Deprecated: Use CollectDiagsJob.ProtoReflect.Descriptor instead.

func (*CollectDiagsJob) GetRequest

func (x *CollectDiagsJob) GetRequest() *SdkDiagsCollectRequest

func (*CollectDiagsJob) GetStatuses

func (x *CollectDiagsJob) GetStatuses() []*DiagsCollectionStatus

func (*CollectDiagsJob) ProtoMessage

func (*CollectDiagsJob) ProtoMessage()

func (*CollectDiagsJob) ProtoReflect

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

func (*CollectDiagsJob) Reset

func (x *CollectDiagsJob) Reset()

func (*CollectDiagsJob) String

func (x *CollectDiagsJob) String() string

type CosType

type CosType int32
const (
	CosType_NONE   CosType = 0
	CosType_LOW    CosType = 1
	CosType_MEDIUM CosType = 2
	CosType_HIGH   CosType = 3
)

func CosTypeSimpleValueOf

func CosTypeSimpleValueOf(s string) (CosType, error)

CosTypeSimpleValueOf returns the string format of CosType

func (CosType) Descriptor

func (CosType) Descriptor() protoreflect.EnumDescriptor

func (CosType) Enum

func (x CosType) Enum() *CosType

func (CosType) EnumDescriptor deprecated

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

Deprecated: Use CosType.Descriptor instead.

func (CosType) Number

func (x CosType) Number() protoreflect.EnumNumber

func (CosType) SimpleString

func (x CosType) SimpleString() string

SimpleString returns the string format of CosType

func (CosType) String

func (x CosType) String() string

func (CosType) Type

func (CosType) Type() protoreflect.EnumType

type CredCreateRequest

type CredCreateRequest struct {
	// InputParams is map describing cloud provide
	InputParams map[string]string
}

CredCreateRequest is the input for CredCreate command

type CredCreateResponse

type CredCreateResponse struct {
	// UUID of the credential that was just created
	UUID string
}

CredCreateResponse is returned for CredCreate command

type CredUpdateRequest

type CredUpdateRequest struct {
	// Name or the UUID of the credential being updated
	Name string
	// InputParams is map describing cloud provide
	InputParams map[string]string
}

CredUpdateRequest is the input for CredsUpdate command

type DiagsCollectionStatus

type DiagsCollectionStatus struct {

	// Node is the node that's collecting the diags
	Node string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// State is the current state of diags collection on the node
	State DiagsCollectionStatus_State `protobuf:"varint,2,opt,name=state,proto3,enum=openstorage.api.DiagsCollectionStatus_State" json:"state,omitempty"`
	// Message is a user friendly message for current status of diags collection
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DiagsCollectionStatus) Descriptor deprecated

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

Deprecated: Use DiagsCollectionStatus.ProtoReflect.Descriptor instead.

func (*DiagsCollectionStatus) GetMessage

func (x *DiagsCollectionStatus) GetMessage() string

func (*DiagsCollectionStatus) GetNode

func (x *DiagsCollectionStatus) GetNode() string

func (*DiagsCollectionStatus) GetState

func (*DiagsCollectionStatus) ProtoMessage

func (*DiagsCollectionStatus) ProtoMessage()

func (*DiagsCollectionStatus) ProtoReflect

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

func (*DiagsCollectionStatus) Reset

func (x *DiagsCollectionStatus) Reset()

func (*DiagsCollectionStatus) String

func (x *DiagsCollectionStatus) String() string

type DiagsCollectionStatus_State

type DiagsCollectionStatus_State int32

State is an enum for state of diags collection on a given node

const (
	// Unspecified means uninitialized or unknown state
	DiagsCollectionStatus_UNSPECIFIED DiagsCollectionStatus_State = 0
	// Pending indicates the diags collection is pending and hasn't started
	DiagsCollectionStatus_PENDING DiagsCollectionStatus_State = 1
	// Running indicates diags collection is actively running
	DiagsCollectionStatus_RUNNING DiagsCollectionStatus_State = 2
	// Done indicates diags collection has finished
	DiagsCollectionStatus_DONE DiagsCollectionStatus_State = 3
	// Failed indicates diags collection has failed
	DiagsCollectionStatus_FAILED DiagsCollectionStatus_State = 4
)

func (DiagsCollectionStatus_State) Descriptor

func (DiagsCollectionStatus_State) Enum

func (DiagsCollectionStatus_State) EnumDescriptor deprecated

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

Deprecated: Use DiagsCollectionStatus_State.Descriptor instead.

func (DiagsCollectionStatus_State) Number

func (DiagsCollectionStatus_State) String

func (DiagsCollectionStatus_State) Type

type DiagsNodeSelector

type DiagsNodeSelector struct {

	// NodeLabelSelector is a label selector used to select the nodes for which diags will be collected
	NodeLabelSelector []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=node_label_selector,json=nodeLabelSelector,proto3" json:"node_label_selector,omitempty"`
	// NodeIDs are unique IDs fo the nodes for which the diags will be collected
	NodeIds []string `protobuf:"bytes,2,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
	// All selects all nodes for diags collection
	All bool `protobuf:"varint,3,opt,name=all,proto3" json:"all,omitempty"`
	// contains filtered or unexported fields
}

DiagsNodeSelector allows selecting nodes for diags collection User can select NodeLabelSelector AND/OR NodeIDs. If both are provided, the implementation will select nodes based on both labels and IDs and also handle overlaps If All is set to true, other selectors are ignored since it selects all nodes

func (*DiagsNodeSelector) Descriptor deprecated

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

Deprecated: Use DiagsNodeSelector.ProtoReflect.Descriptor instead.

func (*DiagsNodeSelector) GetAll

func (x *DiagsNodeSelector) GetAll() bool

func (*DiagsNodeSelector) GetNodeIds

func (x *DiagsNodeSelector) GetNodeIds() []string

func (*DiagsNodeSelector) GetNodeLabelSelector

func (x *DiagsNodeSelector) GetNodeLabelSelector() []*LabelSelectorRequirement

func (*DiagsNodeSelector) ProtoMessage

func (*DiagsNodeSelector) ProtoMessage()

func (*DiagsNodeSelector) ProtoReflect

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

func (*DiagsNodeSelector) Reset

func (x *DiagsNodeSelector) Reset()

func (*DiagsNodeSelector) String

func (x *DiagsNodeSelector) String() string

type DiagsVolumeSelector

type DiagsVolumeSelector struct {

	// VolumeLabelSelector selects volumes by their labels and then uses replica and attached nodes for those volumes for
	// diags collection
	VolumeLabelSelector []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=volume_label_selector,json=volumeLabelSelector,proto3" json:"volume_label_selector,omitempty"`
	// VolumeIDs selects volumes by their unique IDs and then uses replica and attached nodes for those volumes for diags
	// collection
	VolumeIds []string `protobuf:"bytes,2,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
	// contains filtered or unexported fields
}

DiagsVolumeSelector allows selecting volumes for diags collection User can select VolumeLabelSelector AND/OR VolumeIDs. If both are provided, the implementation will select nodes based on both labels and IDs and also handle overlaps

func (*DiagsVolumeSelector) Descriptor deprecated

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

Deprecated: Use DiagsVolumeSelector.ProtoReflect.Descriptor instead.

func (*DiagsVolumeSelector) GetVolumeIds

func (x *DiagsVolumeSelector) GetVolumeIds() []string

func (*DiagsVolumeSelector) GetVolumeLabelSelector

func (x *DiagsVolumeSelector) GetVolumeLabelSelector() []*LabelSelectorRequirement

func (*DiagsVolumeSelector) ProtoMessage

func (*DiagsVolumeSelector) ProtoMessage()

func (*DiagsVolumeSelector) ProtoReflect

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

func (*DiagsVolumeSelector) Reset

func (x *DiagsVolumeSelector) Reset()

func (*DiagsVolumeSelector) String

func (x *DiagsVolumeSelector) String() string

type DrainAttachmentsSummary

type DrainAttachmentsSummary struct {

	// Total number of volumes that need to be drained
	NumVolumesTotal uint64 `protobuf:"varint,2,opt,name=num_volumes_total,json=numVolumesTotal,proto3" json:"num_volumes_total,omitempty"`
	// Number of volumes which have been drained
	NumVolumesDone uint64 `protobuf:"varint,3,opt,name=num_volumes_done,json=numVolumesDone,proto3" json:"num_volumes_done,omitempty"`
	// Number of volumes which have not been drained yet
	NumVolumesPending uint64 `protobuf:"varint,4,opt,name=num_volumes_pending,json=numVolumesPending,proto3" json:"num_volumes_pending,omitempty"`
	// contains filtered or unexported fields
}

DrainAttachments summary of the volumes whose attachments need to be drained from a node

func (*DrainAttachmentsSummary) Descriptor deprecated

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

Deprecated: Use DrainAttachmentsSummary.ProtoReflect.Descriptor instead.

func (*DrainAttachmentsSummary) GetNumVolumesDone

func (x *DrainAttachmentsSummary) GetNumVolumesDone() uint64

func (*DrainAttachmentsSummary) GetNumVolumesPending

func (x *DrainAttachmentsSummary) GetNumVolumesPending() uint64

func (*DrainAttachmentsSummary) GetNumVolumesTotal

func (x *DrainAttachmentsSummary) GetNumVolumesTotal() uint64

func (*DrainAttachmentsSummary) ProtoMessage

func (*DrainAttachmentsSummary) ProtoMessage()

func (*DrainAttachmentsSummary) ProtoReflect

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

func (*DrainAttachmentsSummary) Reset

func (x *DrainAttachmentsSummary) Reset()

func (*DrainAttachmentsSummary) String

func (x *DrainAttachmentsSummary) String() string

type DriverType

type DriverType int32
const (
	DriverType_DRIVER_TYPE_NONE      DriverType = 0
	DriverType_DRIVER_TYPE_FILE      DriverType = 1
	DriverType_DRIVER_TYPE_BLOCK     DriverType = 2
	DriverType_DRIVER_TYPE_OBJECT    DriverType = 3
	DriverType_DRIVER_TYPE_CLUSTERED DriverType = 4
	DriverType_DRIVER_TYPE_GRAPH     DriverType = 5
)

func DriverTypeSimpleValueOf

func DriverTypeSimpleValueOf(s string) (DriverType, error)

DriverTypeSimpleValueOf returns the string format of DriverType

func (DriverType) Descriptor

func (DriverType) Descriptor() protoreflect.EnumDescriptor

func (DriverType) Enum

func (x DriverType) Enum() *DriverType

func (DriverType) EnumDescriptor deprecated

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

Deprecated: Use DriverType.Descriptor instead.

func (DriverType) Number

func (x DriverType) Number() protoreflect.EnumNumber

func (DriverType) SimpleString

func (x DriverType) SimpleString() string

SimpleString returns the string format of DriverType

func (DriverType) String

func (x DriverType) String() string

func (DriverType) Type

type EnforcementType

type EnforcementType int32

Defines the types of enforcement on the given rules

const (
	// This specifies that the rule is required and must be strictly enforced
	EnforcementType_required EnforcementType = 0
	// This specifies that the rule is preferred and can be best effort
	EnforcementType_preferred EnforcementType = 1
)

func (EnforcementType) Descriptor

func (EnforcementType) Enum

func (x EnforcementType) Enum() *EnforcementType

func (EnforcementType) EnumDescriptor deprecated

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

Deprecated: Use EnforcementType.Descriptor instead.

func (EnforcementType) Number

func (EnforcementType) String

func (x EnforcementType) String() string

func (EnforcementType) Type

type ExportProtocol

type ExportProtocol int32

ExportProtocol defines how the device is exported..

const (
	// Invalid uninitialized value
	ExportProtocol_INVALID ExportProtocol = 0
	// PXD the volume is exported over Portworx block interface.
	ExportProtocol_PXD ExportProtocol = 1
	// ISCSI the volume is exported over ISCSI.
	ExportProtocol_ISCSI ExportProtocol = 2
	// NFS the volume is exported over NFS.
	ExportProtocol_NFS ExportProtocol = 3
	// Custom the volume is exported over custom interface.
	ExportProtocol_CUSTOM ExportProtocol = 4
)

func (ExportProtocol) Descriptor

func (ExportProtocol) Enum

func (x ExportProtocol) Enum() *ExportProtocol

func (ExportProtocol) EnumDescriptor deprecated

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

Deprecated: Use ExportProtocol.Descriptor instead.

func (ExportProtocol) Number

func (ExportProtocol) String

func (x ExportProtocol) String() string

func (ExportProtocol) Type

type ExportSpec

type ExportSpec struct {

	// ExportProtocol defines how the volume is exported.
	ExportProtocol ExportProtocol `` /* 140-byte string literal not displayed */
	// ExportOptions options exporting the volume.
	ExportOptions string `protobuf:"bytes,2,opt,name=export_options,json=exportOptions,proto3" json:"export_options,omitempty"`
	// contains filtered or unexported fields
}

ExportSpec defines how the volume is exported..

func (*ExportSpec) Descriptor deprecated

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

Deprecated: Use ExportSpec.ProtoReflect.Descriptor instead.

func (*ExportSpec) GetExportOptions

func (x *ExportSpec) GetExportOptions() string

func (*ExportSpec) GetExportProtocol

func (x *ExportSpec) GetExportProtocol() ExportProtocol

func (*ExportSpec) ProtoMessage

func (*ExportSpec) ProtoMessage()

func (*ExportSpec) ProtoReflect

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

func (*ExportSpec) Reset

func (x *ExportSpec) Reset()

func (*ExportSpec) String

func (x *ExportSpec) String() string

type FSType

type FSType int32
const (
	FSType_FS_TYPE_NONE  FSType = 0
	FSType_FS_TYPE_BTRFS FSType = 1
	FSType_FS_TYPE_EXT4  FSType = 2
	FSType_FS_TYPE_FUSE  FSType = 3
	FSType_FS_TYPE_NFS   FSType = 4
	FSType_FS_TYPE_VFS   FSType = 5
	FSType_FS_TYPE_XFS   FSType = 6
	FSType_FS_TYPE_ZFS   FSType = 7
	FSType_FS_TYPE_XFSv2 FSType = 8
)

func FSTypeSimpleValueOf

func FSTypeSimpleValueOf(s string) (FSType, error)

FSTypeSimpleValueOf returns the string format of FSType

func (FSType) Descriptor

func (FSType) Descriptor() protoreflect.EnumDescriptor

func (FSType) Enum

func (x FSType) Enum() *FSType

func (FSType) EnumDescriptor deprecated

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

Deprecated: Use FSType.Descriptor instead.

func (FSType) Number

func (x FSType) Number() protoreflect.EnumNumber

func (FSType) SimpleString

func (x FSType) SimpleString() string

SimpleString returns the string format of DriverType

func (FSType) String

func (x FSType) String() string

func (FSType) Type

func (FSType) Type() protoreflect.EnumType

type FastpathConfig

type FastpathConfig struct {

	// fastpath setup on this node
	SetupOn int32 `protobuf:"varint,1,opt,name=setup_on,json=setupOn,proto3" json:"setup_on,omitempty"`
	// Fastpath temporary promotion during attach
	Promote bool `protobuf:"varint,2,opt,name=promote,proto3" json:"promote,omitempty"`
	// Fastpath consolidated current status across replicas
	Status FastpathStatus `protobuf:"varint,3,opt,name=status,proto3,enum=openstorage.api.FastpathStatus" json:"status,omitempty"`
	// Fastpath replica state for each replica in replica set
	Replicas []*FastpathReplState `protobuf:"bytes,4,rep,name=replicas,proto3" json:"replicas,omitempty"`
	// Dirty flag on volume - was attached in userspace
	Dirty bool `protobuf:"varint,5,opt,name=dirty,proto3" json:"dirty,omitempty"`
	// fastpath coordinator node uuid to enhance reporting
	CoordUuid string `protobuf:"bytes,6,opt,name=coord_uuid,json=coordUuid,proto3" json:"coord_uuid,omitempty"`
	// contains filtered or unexported fields
}

FastpathConfig part of volume

func (*FastpathConfig) Descriptor deprecated

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

Deprecated: Use FastpathConfig.ProtoReflect.Descriptor instead.

func (*FastpathConfig) GetCoordUuid

func (x *FastpathConfig) GetCoordUuid() string

func (*FastpathConfig) GetDirty

func (x *FastpathConfig) GetDirty() bool

func (*FastpathConfig) GetPromote

func (x *FastpathConfig) GetPromote() bool

func (*FastpathConfig) GetReplicas

func (x *FastpathConfig) GetReplicas() []*FastpathReplState

func (*FastpathConfig) GetSetupOn

func (x *FastpathConfig) GetSetupOn() int32

func (*FastpathConfig) GetStatus

func (x *FastpathConfig) GetStatus() FastpathStatus

func (*FastpathConfig) ProtoMessage

func (*FastpathConfig) ProtoMessage()

func (*FastpathConfig) ProtoReflect

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

func (*FastpathConfig) Reset

func (x *FastpathConfig) Reset()

func (*FastpathConfig) String

func (x *FastpathConfig) String() string

type FastpathProtocol

type FastpathProtocol int32
const (
	FastpathProtocol_FASTPATH_PROTO_UNKNOWN    FastpathProtocol = 0
	FastpathProtocol_FASTPATH_PROTO_NVMEOF_TCP FastpathProtocol = 1
	FastpathProtocol_FASTPATH_PROTO_ISCSI      FastpathProtocol = 2
	FastpathProtocol_FASTPATH_PROTO_LOCAL      FastpathProtocol = 3
)

func (FastpathProtocol) Descriptor

func (FastpathProtocol) Enum

func (FastpathProtocol) EnumDescriptor deprecated

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

Deprecated: Use FastpathProtocol.Descriptor instead.

func (FastpathProtocol) Number

func (FastpathProtocol) String

func (x FastpathProtocol) String() string

func (FastpathProtocol) Type

type FastpathReplState

type FastpathReplState struct {
	DevId    uint64           `protobuf:"varint,1,opt,name=dev_id,json=devId,proto3" json:"dev_id,omitempty"`
	NodeId   uint32           `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Protocol FastpathProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=openstorage.api.FastpathProtocol" json:"protocol,omitempty"`
	Acl      bool             `protobuf:"varint,4,opt,name=acl,proto3" json:"acl,omitempty"`
	// target info
	ExportedDevice string `protobuf:"bytes,5,opt,name=exported_device,json=exportedDevice,proto3" json:"exported_device,omitempty"`
	Block          bool   `protobuf:"varint,6,opt,name=block,proto3" json:"block,omitempty"`
	Target         string `protobuf:"bytes,7,opt,name=target,proto3" json:"target,omitempty"`
	Exported       bool   `protobuf:"varint,8,opt,name=exported,proto3" json:"exported,omitempty"`
	// initiator info
	Imported bool   `protobuf:"varint,9,opt,name=imported,proto3" json:"imported,omitempty"`
	Devpath  string `protobuf:"bytes,10,opt,name=devpath,proto3" json:"devpath,omitempty"`
	// node_uuid added to enhance UI reporting
	NodeUuid string `protobuf:"bytes,11,opt,name=node_uuid,json=nodeUuid,proto3" json:"node_uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*FastpathReplState) Descriptor deprecated

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

Deprecated: Use FastpathReplState.ProtoReflect.Descriptor instead.

func (*FastpathReplState) GetAcl

func (x *FastpathReplState) GetAcl() bool

func (*FastpathReplState) GetBlock

func (x *FastpathReplState) GetBlock() bool

func (*FastpathReplState) GetDevId

func (x *FastpathReplState) GetDevId() uint64

func (*FastpathReplState) GetDevpath

func (x *FastpathReplState) GetDevpath() string

func (*FastpathReplState) GetExported

func (x *FastpathReplState) GetExported() bool

func (*FastpathReplState) GetExportedDevice

func (x *FastpathReplState) GetExportedDevice() string

func (*FastpathReplState) GetImported

func (x *FastpathReplState) GetImported() bool

func (*FastpathReplState) GetNodeId

func (x *FastpathReplState) GetNodeId() uint32

func (*FastpathReplState) GetNodeUuid

func (x *FastpathReplState) GetNodeUuid() string

func (*FastpathReplState) GetProtocol

func (x *FastpathReplState) GetProtocol() FastpathProtocol

func (*FastpathReplState) GetTarget

func (x *FastpathReplState) GetTarget() string

func (*FastpathReplState) ProtoMessage

func (*FastpathReplState) ProtoMessage()

func (*FastpathReplState) ProtoReflect

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

func (*FastpathReplState) Reset

func (x *FastpathReplState) Reset()

func (*FastpathReplState) String

func (x *FastpathReplState) String() string

type FastpathStatus

type FastpathStatus int32

fastpath extensions

const (
	// backward compatible state
	FastpathStatus_FASTPATH_UNKNOWN FastpathStatus = 0
	// fastpath activated and enabled
	FastpathStatus_FASTPATH_ACTIVE FastpathStatus = 1
	// fastpath inactive
	FastpathStatus_FASTPATH_INACTIVE FastpathStatus = 2
	// fastpath unsupported, disabled
	FastpathStatus_FASTPATH_UNSUPPORTED FastpathStatus = 3
	// fastpath operation setup in progress
	FastpathStatus_FASTPATH_PENDING FastpathStatus = 4
	// fastpath error'd, possible stuck failure
	FastpathStatus_FASTPATH_ERRORED FastpathStatus = 5
)

func (FastpathStatus) Descriptor

func (FastpathStatus) Enum

func (x FastpathStatus) Enum() *FastpathStatus

func (FastpathStatus) EnumDescriptor deprecated

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

Deprecated: Use FastpathStatus.Descriptor instead.

func (FastpathStatus) Number

func (FastpathStatus) String

func (x FastpathStatus) String() string

func (FastpathStatus) Type

type FilesystemCheck

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

func (*FilesystemCheck) Descriptor deprecated

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

Deprecated: Use FilesystemCheck.ProtoReflect.Descriptor instead.

func (*FilesystemCheck) ProtoMessage

func (*FilesystemCheck) ProtoMessage()

func (*FilesystemCheck) ProtoReflect

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

func (*FilesystemCheck) Reset

func (x *FilesystemCheck) Reset()

func (*FilesystemCheck) String

func (x *FilesystemCheck) String() string

type FilesystemCheck_FilesystemCheckStatus

type FilesystemCheck_FilesystemCheckStatus int32

FilesystemChecktatus represents the status codes returned from OpenStorageFilesystemCheck service APIs()

const (
	// Filesystem Check operation is an unknown state
	FilesystemCheck_FS_CHECK_UNKNOWN FilesystemCheck_FilesystemCheckStatus = 0
	// FilesystemCheck operation not running for the specified volume
	FilesystemCheck_FS_CHECK_NOT_RUNNING FilesystemCheck_FilesystemCheckStatus = 1
	// FilesystemCheck operation started for the specified volume
	FilesystemCheck_FS_CHECK_STARTED FilesystemCheck_FilesystemCheckStatus = 2
	// FilesystemCheck operation is in progress
	FilesystemCheck_FS_CHECK_INPROGRESS FilesystemCheck_FilesystemCheckStatus = 3
	// FilesystemCheck operation was stopped by the user
	FilesystemCheck_FS_CHECK_STOPPED FilesystemCheck_FilesystemCheckStatus = 4
	// FilesystemCheck operation completed successfully
	FilesystemCheck_FS_CHECK_COMPLETED FilesystemCheck_FilesystemCheckStatus = 5
	// FilesystemCheck operation failed due to internal error
	FilesystemCheck_FS_CHECK_FAILED FilesystemCheck_FilesystemCheckStatus = 6
)

func (FilesystemCheck_FilesystemCheckStatus) Descriptor

func (FilesystemCheck_FilesystemCheckStatus) Enum

func (FilesystemCheck_FilesystemCheckStatus) EnumDescriptor deprecated

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

Deprecated: Use FilesystemCheck_FilesystemCheckStatus.Descriptor instead.

func (FilesystemCheck_FilesystemCheckStatus) Number

func (FilesystemCheck_FilesystemCheckStatus) String

func (FilesystemCheck_FilesystemCheckStatus) Type

type FilesystemHealthStatus

type FilesystemHealthStatus int32
const (
	// filesystem health status is unknown
	FilesystemHealthStatus_FS_HEALTH_STATUS_UNKNOWN FilesystemHealthStatus = 0
	// filesystem is a healthy
	FilesystemHealthStatus_FS_HEALTH_STATUS_HEALTHY FilesystemHealthStatus = 1
	// filesystem has errors, but can be fixed safely
	FilesystemHealthStatus_FS_HEALTH_STATUS_SAFE_TO_FIX FilesystemHealthStatus = 2
	// filesystem has errors, these cannot be fixed automatically,
	// user needs to review the reported errors and take appropriate action
	FilesystemHealthStatus_FS_HEALTH_STATUS_NEEDS_INSPECTION FilesystemHealthStatus = 3
)

func (FilesystemHealthStatus) Descriptor

func (FilesystemHealthStatus) Enum

func (FilesystemHealthStatus) EnumDescriptor deprecated

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

Deprecated: Use FilesystemHealthStatus.Descriptor instead.

func (FilesystemHealthStatus) Number

func (FilesystemHealthStatus) String

func (x FilesystemHealthStatus) String() string

func (FilesystemHealthStatus) Type

type FilesystemTrim

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

func (*FilesystemTrim) Descriptor deprecated

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

Deprecated: Use FilesystemTrim.ProtoReflect.Descriptor instead.

func (*FilesystemTrim) ProtoMessage

func (*FilesystemTrim) ProtoMessage()

func (*FilesystemTrim) ProtoReflect

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

func (*FilesystemTrim) Reset

func (x *FilesystemTrim) Reset()

func (*FilesystemTrim) String

func (x *FilesystemTrim) String() string

type FilesystemTrim_FilesystemTrimStatus

type FilesystemTrim_FilesystemTrimStatus int32

FilesystemTrimStatus represents the status codes returned from OpenStorageFilesystemTrim service APIs()

const (
	// Filesystem Trim operation is an unknown state
	FilesystemTrim_FS_TRIM_UNKNOWN FilesystemTrim_FilesystemTrimStatus = 0
	// Filesystem Trim operation is not running for the specified volume
	FilesystemTrim_FS_TRIM_NOT_RUNNING FilesystemTrim_FilesystemTrimStatus = 1
	// Filesystem Trim operation started for the specified volume
	FilesystemTrim_FS_TRIM_STARTED FilesystemTrim_FilesystemTrimStatus = 2
	// Filesystem Trim operation is in progress for the specified volume
	FilesystemTrim_FS_TRIM_INPROGRESS FilesystemTrim_FilesystemTrimStatus = 3
	// Filesystem Trim operation was stopped by the user for the specified volume
	FilesystemTrim_FS_TRIM_STOPPED FilesystemTrim_FilesystemTrimStatus = 4
	// Filesystem Trim operation completed successfully for the specified volume
	FilesystemTrim_FS_TRIM_COMPLETED FilesystemTrim_FilesystemTrimStatus = 5
	// Filesystem Trim operation failed due to internal error for the specified
	// volume
	FilesystemTrim_FS_TRIM_FAILED FilesystemTrim_FilesystemTrimStatus = 6
)

func (FilesystemTrim_FilesystemTrimStatus) Descriptor

func (FilesystemTrim_FilesystemTrimStatus) Enum

func (FilesystemTrim_FilesystemTrimStatus) EnumDescriptor deprecated

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

Deprecated: Use FilesystemTrim_FilesystemTrimStatus.Descriptor instead.

func (FilesystemTrim_FilesystemTrimStatus) Number

func (FilesystemTrim_FilesystemTrimStatus) String

func (FilesystemTrim_FilesystemTrimStatus) Type

type FluentDConfig

type FluentDConfig struct {
	IP   string `json:"ip"`
	Port string `json:"port"`
}

FluentDConfig describes ip and port of a fluentdhost. DEPRECATED

swagger:model

type FstrimVolumeUsageInfo

type FstrimVolumeUsageInfo struct {

	// Volume name
	VolumeName string `protobuf:"bytes,1,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
	// Volume size
	VolumeSize uint64 `protobuf:"varint,2,opt,name=volume_size,json=volumeSize,proto3" json:"volume_size,omitempty"`
	// Disk usage in bytes
	DuUsage uint64 `protobuf:"varint,3,opt,name=du_usage,json=duUsage,proto3" json:"du_usage,omitempty"`
	// Disk usage seen in Portworx in bytes
	PxUsage uint64 `protobuf:"varint,4,opt,name=px_usage,json=pxUsage,proto3" json:"px_usage,omitempty"`
	// If auto fstrim is performed to the volume, if not, why
	PerformAutoFstrim string `protobuf:"bytes,5,opt,name=perform_auto_fstrim,json=performAutoFstrim,proto3" json:"perform_auto_fstrim,omitempty"`
	// contains filtered or unexported fields
}

FstrimVolUsageInfo

func (*FstrimVolumeUsageInfo) Descriptor deprecated

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

Deprecated: Use FstrimVolumeUsageInfo.ProtoReflect.Descriptor instead.

func (*FstrimVolumeUsageInfo) GetDuUsage

func (x *FstrimVolumeUsageInfo) GetDuUsage() uint64

func (*FstrimVolumeUsageInfo) GetPerformAutoFstrim

func (x *FstrimVolumeUsageInfo) GetPerformAutoFstrim() string

func (*FstrimVolumeUsageInfo) GetPxUsage

func (x *FstrimVolumeUsageInfo) GetPxUsage() uint64

func (*FstrimVolumeUsageInfo) GetVolumeName

func (x *FstrimVolumeUsageInfo) GetVolumeName() string

func (*FstrimVolumeUsageInfo) GetVolumeSize

func (x *FstrimVolumeUsageInfo) GetVolumeSize() uint64

func (*FstrimVolumeUsageInfo) ProtoMessage

func (*FstrimVolumeUsageInfo) ProtoMessage()

func (*FstrimVolumeUsageInfo) ProtoReflect

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

func (*FstrimVolumeUsageInfo) Reset

func (x *FstrimVolumeUsageInfo) Reset()

func (*FstrimVolumeUsageInfo) String

func (x *FstrimVolumeUsageInfo) String() string

type GraphDriverChangeType

type GraphDriverChangeType int32
const (
	GraphDriverChangeType_GRAPH_DRIVER_CHANGE_TYPE_NONE     GraphDriverChangeType = 0
	GraphDriverChangeType_GRAPH_DRIVER_CHANGE_TYPE_MODIFIED GraphDriverChangeType = 1
	GraphDriverChangeType_GRAPH_DRIVER_CHANGE_TYPE_ADDED    GraphDriverChangeType = 2
	GraphDriverChangeType_GRAPH_DRIVER_CHANGE_TYPE_DELETED  GraphDriverChangeType = 3
)

func GraphDriverChangeTypeSimpleValueOf

func GraphDriverChangeTypeSimpleValueOf(s string) (GraphDriverChangeType, error)

GraphDriverChangeTypeSimpleValueOf returns the string format of GraphDriverChangeType

func (GraphDriverChangeType) Descriptor

func (GraphDriverChangeType) Enum

func (GraphDriverChangeType) EnumDescriptor deprecated

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

Deprecated: Use GraphDriverChangeType.Descriptor instead.

func (GraphDriverChangeType) Number

func (GraphDriverChangeType) SimpleString

func (x GraphDriverChangeType) SimpleString() string

SimpleString returns the string format of GraphDriverChangeType

func (GraphDriverChangeType) String

func (x GraphDriverChangeType) String() string

func (GraphDriverChangeType) Type

type GraphDriverChanges

type GraphDriverChanges struct {
	Path string                `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Kind GraphDriverChangeType `protobuf:"varint,2,opt,name=kind,proto3,enum=openstorage.api.GraphDriverChangeType" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

GraphDriverChanges represent a list of changes between the filesystem layers specified by the ID and Parent. // Parent may be an empty string, in which case there is no parent. Where the Path is the filesystem path within the layered filesystem

func (*GraphDriverChanges) Descriptor deprecated

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

Deprecated: Use GraphDriverChanges.ProtoReflect.Descriptor instead.

func (*GraphDriverChanges) GetKind

func (*GraphDriverChanges) GetPath

func (x *GraphDriverChanges) GetPath() string

func (*GraphDriverChanges) ProtoMessage

func (*GraphDriverChanges) ProtoMessage()

func (*GraphDriverChanges) ProtoReflect

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

func (*GraphDriverChanges) Reset

func (x *GraphDriverChanges) Reset()

func (*GraphDriverChanges) String

func (x *GraphDriverChanges) String() string

type Group

type Group struct {

	// Id common identifier across volumes that have the same group.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Group represents VolumeGroup / namespace All volumes in the same group share this object.

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetId

func (x *Group) GetId() string

func (*Group) IsMatch

func (g *Group) IsMatch(check *Group) bool

IsMatch returns true if the ownership has at least one similar owner, group, or collaborator

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type GroupSnapCreateRequest

type GroupSnapCreateRequest struct {
	Id              string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Labels          map[string]string `` /* 153-byte string literal not displayed */
	VolumeIds       []string          `protobuf:"bytes,3,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
	DeleteOnFailure bool              `protobuf:"varint,4,opt,name=delete_on_failure,json=deleteOnFailure,proto3" json:"delete_on_failure,omitempty"`
	// contains filtered or unexported fields
}

GroupSnapCreateRequest specifies a request to create a snapshot of given group.

func (*GroupSnapCreateRequest) Descriptor deprecated

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

Deprecated: Use GroupSnapCreateRequest.ProtoReflect.Descriptor instead.

func (*GroupSnapCreateRequest) GetDeleteOnFailure

func (x *GroupSnapCreateRequest) GetDeleteOnFailure() bool

func (*GroupSnapCreateRequest) GetId

func (x *GroupSnapCreateRequest) GetId() string

func (*GroupSnapCreateRequest) GetLabels

func (x *GroupSnapCreateRequest) GetLabels() map[string]string

func (*GroupSnapCreateRequest) GetVolumeIds

func (x *GroupSnapCreateRequest) GetVolumeIds() []string

func (*GroupSnapCreateRequest) ProtoMessage

func (*GroupSnapCreateRequest) ProtoMessage()

func (*GroupSnapCreateRequest) ProtoReflect

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

func (*GroupSnapCreateRequest) Reset

func (x *GroupSnapCreateRequest) Reset()

func (*GroupSnapCreateRequest) String

func (x *GroupSnapCreateRequest) String() string

type GroupSnapCreateResponse

type GroupSnapCreateResponse struct {

	// Created snapshots
	//
	// in: body
	// Required: true
	Snapshots map[string]*SnapCreateResponse `` /* 159-byte string literal not displayed */
	// Error message
	//
	// in: body
	// Required: true
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

GroupSnapCreateRequest specifies a response that get's returned when creating a group snapshot.

func (*GroupSnapCreateResponse) Descriptor deprecated

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

Deprecated: Use GroupSnapCreateResponse.ProtoReflect.Descriptor instead.

func (*GroupSnapCreateResponse) GetError

func (x *GroupSnapCreateResponse) GetError() string

func (*GroupSnapCreateResponse) GetSnapshots

func (x *GroupSnapCreateResponse) GetSnapshots() map[string]*SnapCreateResponse

func (*GroupSnapCreateResponse) ProtoMessage

func (*GroupSnapCreateResponse) ProtoMessage()

func (*GroupSnapCreateResponse) ProtoReflect

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

func (*GroupSnapCreateResponse) Reset

func (x *GroupSnapCreateResponse) Reset()

func (*GroupSnapCreateResponse) String

func (x *GroupSnapCreateResponse) String() string

type HardwareType

type HardwareType int32
const (
	// When we do not know the machine type alsp the default
	HardwareType_UnknownMachine HardwareType = 0
	// when we are running on virtual machine
	HardwareType_VirtualMachine HardwareType = 1
	// when we are running on physical hardware
	HardwareType_BareMetalMachine HardwareType = 2
)

func (HardwareType) Descriptor

func (HardwareType) Enum

func (x HardwareType) Enum() *HardwareType

func (HardwareType) EnumDescriptor deprecated

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

Deprecated: Use HardwareType.Descriptor instead.

func (HardwareType) Number

func (HardwareType) String

func (x HardwareType) String() string

func (HardwareType) Type

type IoProfile

type IoProfile int32
const (
	IoProfile_IO_PROFILE_SEQUENTIAL  IoProfile = 0
	IoProfile_IO_PROFILE_RANDOM      IoProfile = 1
	IoProfile_IO_PROFILE_DB          IoProfile = 2
	IoProfile_IO_PROFILE_DB_REMOTE   IoProfile = 3
	IoProfile_IO_PROFILE_CMS         IoProfile = 4
	IoProfile_IO_PROFILE_SYNC_SHARED IoProfile = 5
	IoProfile_IO_PROFILE_AUTO        IoProfile = 6
	IoProfile_IO_PROFILE_NONE        IoProfile = 7
)

func IoProfileSimpleValueOf

func IoProfileSimpleValueOf(s string) (IoProfile, error)

IoProfileSimpleValueOf returns the string format of IoProfile

func (IoProfile) Descriptor

func (IoProfile) Descriptor() protoreflect.EnumDescriptor

func (IoProfile) Enum

func (x IoProfile) Enum() *IoProfile

func (IoProfile) EnumDescriptor deprecated

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

Deprecated: Use IoProfile.Descriptor instead.

func (IoProfile) Number

func (x IoProfile) Number() protoreflect.EnumNumber

func (IoProfile) SimpleString

func (x IoProfile) SimpleString() string

SimpleString returns the string format of IoProfile

func (IoProfile) String

func (x IoProfile) String() string

func (IoProfile) Type

type IoStrategy

type IoStrategy struct {

	// AsyncIO enables kaio.
	AsyncIo bool `protobuf:"varint,1,opt,name=async_io,json=asyncIo,proto3" json:"async_io,omitempty"`
	// EarlyAck enables acks for async I/O at the source.
	EarlyAck bool `protobuf:"varint,2,opt,name=early_ack,json=earlyAck,proto3" json:"early_ack,omitempty"`
	// Enable direct I/O on the backing datastore
	DirectIo bool `protobuf:"varint,3,opt,name=direct_io,json=directIo,proto3" json:"direct_io,omitempty"`
	// contains filtered or unexported fields
}

IoStrategy defines how I/O should be performed to backing storage media.

func (*IoStrategy) Descriptor deprecated

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

Deprecated: Use IoStrategy.ProtoReflect.Descriptor instead.

func (*IoStrategy) GetAsyncIo

func (x *IoStrategy) GetAsyncIo() bool

func (*IoStrategy) GetDirectIo

func (x *IoStrategy) GetDirectIo() bool

func (*IoStrategy) GetEarlyAck

func (x *IoStrategy) GetEarlyAck() bool

func (*IoStrategy) ProtoMessage

func (*IoStrategy) ProtoMessage()

func (*IoStrategy) ProtoReflect

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

func (*IoStrategy) Reset

func (x *IoStrategy) Reset()

func (*IoStrategy) String

func (x *IoStrategy) String() string

type IoThrottle

type IoThrottle struct {
	ReadIops      uint32 `protobuf:"varint,1,opt,name=read_iops,json=readIops,proto3" json:"read_iops,omitempty"`
	WriteIops     uint32 `protobuf:"varint,2,opt,name=write_iops,json=writeIops,proto3" json:"write_iops,omitempty"`
	ReadBwMbytes  uint32 `protobuf:"varint,3,opt,name=read_bw_mbytes,json=readBwMbytes,proto3" json:"read_bw_mbytes,omitempty"`
	WriteBwMbytes uint32 `protobuf:"varint,4,opt,name=write_bw_mbytes,json=writeBwMbytes,proto3" json:"write_bw_mbytes,omitempty"`
	// contains filtered or unexported fields
}

IoThrottle defines IO throttle limits for a volume read_iops : maximum read iops this volume is allowed write_iops : maximum write iops this volume is allowed read_bw_mbytes : maximum read bandwidth this volume is allowed in MegaBytes write_bw_mbytes : maximum write bandwidth this volume is allowed in MegaBytes

func (*IoThrottle) Descriptor deprecated

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

Deprecated: Use IoThrottle.ProtoReflect.Descriptor instead.

func (*IoThrottle) GetReadBwMbytes

func (x *IoThrottle) GetReadBwMbytes() uint32

func (*IoThrottle) GetReadIops

func (x *IoThrottle) GetReadIops() uint32

func (*IoThrottle) GetWriteBwMbytes

func (x *IoThrottle) GetWriteBwMbytes() uint32

func (*IoThrottle) GetWriteIops

func (x *IoThrottle) GetWriteIops() uint32

func (*IoThrottle) ProtoMessage

func (*IoThrottle) ProtoMessage()

func (*IoThrottle) ProtoReflect

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

func (*IoThrottle) Reset

func (x *IoThrottle) Reset()

func (*IoThrottle) String

func (x *IoThrottle) String() string

type Job

type Job struct {

	// ID of the job
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// State of the current job
	State Job_State `protobuf:"varint,2,opt,name=state,proto3,enum=openstorage.api.Job_State" json:"state,omitempty"`
	// Type is the job type
	Type Job_Type `protobuf:"varint,3,opt,name=type,proto3,enum=openstorage.api.Job_Type" json:"type,omitempty"`
	// Job is one of the supported jobs
	//
	// Types that are assignable to Job:
	//	*Job_DrainAttachments
	//	*Job_ClouddriveTransfer
	//	*Job_CollectDiags
	Job isJob_Job `protobuf_oneof:"job"`
	// CreateTime is the time the job was created
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// LastUpdateTime is the time the job was updated
	LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
	// contains filtered or unexported fields
}

Job is a generic job object that can encapsulate other messages which follow the job framework of APIs

func (*Job) Descriptor deprecated

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetClouddriveTransfer

func (x *Job) GetClouddriveTransfer() *CloudDriveTransferJob

func (*Job) GetCollectDiags

func (x *Job) GetCollectDiags() *CollectDiagsJob

func (*Job) GetCreateTime

func (x *Job) GetCreateTime() *timestamppb.Timestamp

func (*Job) GetDrainAttachments

func (x *Job) GetDrainAttachments() *NodeDrainAttachmentsJob

func (*Job) GetId

func (x *Job) GetId() string

func (*Job) GetJob

func (m *Job) GetJob() isJob_Job

func (*Job) GetLastUpdateTime

func (x *Job) GetLastUpdateTime() *timestamppb.Timestamp

func (*Job) GetState

func (x *Job) GetState() Job_State

func (*Job) GetType

func (x *Job) GetType() Job_Type

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 JobAudit

type JobAudit struct {
	Summary []*JobWorkSummary `protobuf:"bytes,1,rep,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

JobAudit is an audit entry for a job describing the different operations performed as a part of the job

func (*JobAudit) Descriptor deprecated

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

Deprecated: Use JobAudit.ProtoReflect.Descriptor instead.

func (*JobAudit) GetSummary

func (x *JobAudit) GetSummary() []*JobWorkSummary

func (*JobAudit) ProtoMessage

func (*JobAudit) ProtoMessage()

func (*JobAudit) ProtoReflect

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

func (*JobAudit) Reset

func (x *JobAudit) Reset()

func (*JobAudit) String

func (x *JobAudit) String() string

type JobSummary

type JobSummary struct {

	// ID of the job
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Total runtime in seconds
	TotalRuntimeSeconds uint64 `protobuf:"varint,2,opt,name=total_runtime_seconds,json=totalRuntimeSeconds,proto3" json:"total_runtime_seconds,omitempty"`
	// Summary provides more information about the on-going job
	WorkSummaries []*JobWorkSummary `protobuf:"bytes,3,rep,name=work_summaries,json=workSummaries,proto3" json:"work_summaries,omitempty"`
	// contains filtered or unexported fields
}

JobSummary provides a summary of a job

func (*JobSummary) Descriptor deprecated

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

Deprecated: Use JobSummary.ProtoReflect.Descriptor instead.

func (*JobSummary) GetId

func (x *JobSummary) GetId() string

func (*JobSummary) GetTotalRuntimeSeconds

func (x *JobSummary) GetTotalRuntimeSeconds() uint64

func (*JobSummary) GetWorkSummaries

func (x *JobSummary) GetWorkSummaries() []*JobWorkSummary

func (*JobSummary) ProtoMessage

func (*JobSummary) ProtoMessage()

func (*JobSummary) ProtoReflect

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

func (*JobSummary) Reset

func (x *JobSummary) Reset()

func (*JobSummary) String

func (x *JobSummary) String() string

type JobWorkSummary

type JobWorkSummary struct {

	// Summary provides more information about the on-going job
	//
	// Types that are assignable to Summary:
	//	*JobWorkSummary_DrainAttachmentsSummary
	Summary isJobWorkSummary_Summary `protobuf_oneof:"summary"`
	// contains filtered or unexported fields
}

JobWorkSummary describes an action taken while performing the hob

func (*JobWorkSummary) Descriptor deprecated

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

Deprecated: Use JobWorkSummary.ProtoReflect.Descriptor instead.

func (*JobWorkSummary) GetDrainAttachmentsSummary

func (x *JobWorkSummary) GetDrainAttachmentsSummary() *DrainAttachmentsSummary

func (*JobWorkSummary) GetSummary

func (m *JobWorkSummary) GetSummary() isJobWorkSummary_Summary

func (*JobWorkSummary) ProtoMessage

func (*JobWorkSummary) ProtoMessage()

func (*JobWorkSummary) ProtoReflect

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

func (*JobWorkSummary) Reset

func (x *JobWorkSummary) Reset()

func (*JobWorkSummary) String

func (x *JobWorkSummary) String() string

type JobWorkSummary_DrainAttachmentsSummary

type JobWorkSummary_DrainAttachmentsSummary struct {
	// Summary summarizes drain attachment job
	DrainAttachmentsSummary *DrainAttachmentsSummary `protobuf:"bytes,3,opt,name=drain_attachments_summary,json=drainAttachmentsSummary,proto3,oneof"`
}

type Job_ClouddriveTransfer

type Job_ClouddriveTransfer struct {
	// CloudDriveTransferJob if selected describes the task to transfer a cloud driveset
	// from one node to another
	ClouddriveTransfer *CloudDriveTransferJob `protobuf:"bytes,401,opt,name=clouddrive_transfer,json=clouddriveTransfer,proto3,oneof"`
}

type Job_CollectDiags

type Job_CollectDiags struct {
	// CollectDiagsJob if selected describes the task to collect diagnostics for the cluster
	CollectDiags *CollectDiagsJob `protobuf:"bytes,402,opt,name=collect_diags,json=collectDiags,proto3,oneof"`
}

type Job_DrainAttachments

type Job_DrainAttachments struct {
	// NodeDrainAttachmentsJob if selected this job desribes
	// the task for removing volume attachments from a node
	DrainAttachments *NodeDrainAttachmentsJob `protobuf:"bytes,400,opt,name=drain_attachments,json=drainAttachments,proto3,oneof"`
}

type Job_State

type Job_State int32

State is an enum for state of a node drain operation

const (
	// Unspecified
	Job_UNSPECIFIED_STATE Job_State = 0
	// Pending indicates job is still pending and has not started work
	Job_PENDING Job_State = 1
	// Running indicates job is actively running
	Job_RUNNING Job_State = 2
	// Done indicates job has finished processing
	Job_DONE Job_State = 3
	// Paused indicates job is paused
	Job_PAUSED Job_State = 4
	// Cancelled indicates job is cancelled
	Job_CANCELLED Job_State = 5
	// Failed indicates job has failed
	Job_FAILED Job_State = 6
)

func (Job_State) Descriptor

func (Job_State) Descriptor() protoreflect.EnumDescriptor

func (Job_State) Enum

func (x Job_State) Enum() *Job_State

func (Job_State) EnumDescriptor deprecated

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

Deprecated: Use Job_State.Descriptor instead.

func (Job_State) Number

func (x Job_State) Number() protoreflect.EnumNumber

func (Job_State) String

func (x Job_State) String() string

func (Job_State) Type

type Job_Type

type Job_Type int32

Type are the supported job types

const (
	// Unspecified
	Job_UNSPECIFIED_TYPE Job_Type = 0
	// None
	Job_NONE Job_Type = 1
	// Job for draining volume attachments
	Job_DRAIN_ATTACHMENTS Job_Type = 2
	// Job for transferring cloud drives between nodes
	Job_CLOUD_DRIVE_TRANSFER Job_Type = 3
	// Job for collecting diags from the cluster nodes
	Job_COLLECT_DIAGS Job_Type = 4
)

func (Job_Type) Descriptor

func (Job_Type) Descriptor() protoreflect.EnumDescriptor

func (Job_Type) Enum

func (x Job_Type) Enum() *Job_Type

func (Job_Type) EnumDescriptor deprecated

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

Deprecated: Use Job_Type.Descriptor instead.

func (Job_Type) Number

func (x Job_Type) Number() protoreflect.EnumNumber

func (Job_Type) String

func (x Job_Type) String() string

func (Job_Type) Type

type LabelSelectorRequirement

type LabelSelectorRequirement struct {

	// Key is the label key that the selector applies to.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Operator represents a key's relationship to a set of values.
	// Valid operators are In, NotIn, Exists and DoesNotExist.
	Operator LabelSelectorRequirement_Operator `protobuf:"varint,2,opt,name=operator,proto3,enum=openstorage.api.LabelSelectorRequirement_Operator" json:"operator,omitempty"`
	// Values is an array of string values. If the operator is In or NotIn,
	// the values array must be non-empty. If the operator is Exists or DoesNotExist,
	// the values array must be empty. This array is replaced during a strategic
	// merge patch.
	Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

LabelSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.

func (*LabelSelectorRequirement) Descriptor deprecated

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

Deprecated: Use LabelSelectorRequirement.ProtoReflect.Descriptor instead.

func (*LabelSelectorRequirement) GetKey

func (x *LabelSelectorRequirement) GetKey() string

func (*LabelSelectorRequirement) GetOperator

func (*LabelSelectorRequirement) GetValues

func (x *LabelSelectorRequirement) GetValues() []string

func (*LabelSelectorRequirement) ProtoMessage

func (*LabelSelectorRequirement) ProtoMessage()

func (*LabelSelectorRequirement) ProtoReflect

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

func (*LabelSelectorRequirement) Reset

func (x *LabelSelectorRequirement) Reset()

func (*LabelSelectorRequirement) String

func (x *LabelSelectorRequirement) String() string

type LabelSelectorRequirement_Operator

type LabelSelectorRequirement_Operator int32

This defines operator types used in a label matching rule

const (
	// In means the value for 'key' should be in one of the given value(s)
	LabelSelectorRequirement_In LabelSelectorRequirement_Operator = 0
	// NotIn means the value for 'key' should NOT be in one of the given value(s)
	LabelSelectorRequirement_NotIn LabelSelectorRequirement_Operator = 1
	// Exists means the 'key' should just exist regardless of the value
	LabelSelectorRequirement_Exists LabelSelectorRequirement_Operator = 2
	// DoesNotExist means the 'key' should NOT exist
	LabelSelectorRequirement_DoesNotExist LabelSelectorRequirement_Operator = 3
	// Gt means the 'key' should be greater than the value(s)
	LabelSelectorRequirement_Gt LabelSelectorRequirement_Operator = 4
	// Lt means the 'key' should be less than the value(s)
	LabelSelectorRequirement_Lt LabelSelectorRequirement_Operator = 5
)

func (LabelSelectorRequirement_Operator) Descriptor

func (LabelSelectorRequirement_Operator) Enum

func (LabelSelectorRequirement_Operator) EnumDescriptor deprecated

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

Deprecated: Use LabelSelectorRequirement_Operator.Descriptor instead.

func (LabelSelectorRequirement_Operator) Number

func (LabelSelectorRequirement_Operator) String

func (LabelSelectorRequirement_Operator) Type

type LocateResponse

type LocateResponse struct {

	// Map of mounts
	// <host>: /var/lib/osd/<volumemount>
	Mounts map[string]string `` /* 153-byte string literal not displayed */
	// Map of docker id's and their mounts
	// <containerid>: /var/www
	Dockerids map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

Locate response would be used to return a set of mounts and/or Container IDs and their mount paths

func (*LocateResponse) Descriptor deprecated

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

Deprecated: Use LocateResponse.ProtoReflect.Descriptor instead.

func (*LocateResponse) GetDockerids

func (x *LocateResponse) GetDockerids() map[string]string

func (*LocateResponse) GetMounts

func (x *LocateResponse) GetMounts() map[string]string

func (*LocateResponse) ProtoMessage

func (*LocateResponse) ProtoMessage()

func (*LocateResponse) ProtoReflect

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

func (*LocateResponse) Reset

func (x *LocateResponse) Reset()

func (*LocateResponse) String

func (x *LocateResponse) String() string

type MountOptions

type MountOptions struct {

	// Options are opaque key value pairs that are passed as mount options when
	// a volume is mounted.
	// If an empty value is provided only the key will be passed as an option
	// If both key and value are provided then 'key=value' will be passed as an
	// option
	Options map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

MountOptions defines the mount options with which a volume is mounted.

func (*MountOptions) Descriptor deprecated

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

Deprecated: Use MountOptions.ProtoReflect.Descriptor instead.

func (*MountOptions) GetOptions

func (x *MountOptions) GetOptions() map[string]string

func (*MountOptions) ProtoMessage

func (*MountOptions) ProtoMessage()

func (*MountOptions) ProtoReflect

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

func (*MountOptions) Reset

func (x *MountOptions) Reset()

func (*MountOptions) String

func (x *MountOptions) String() string

type NFSProxySpec

type NFSProxySpec struct {

	// ExportPath is the NFS export path on the NFS server
	ExportPath string `protobuf:"bytes,1,opt,name=export_path,json=exportPath,proto3" json:"export_path,omitempty"`
	// SubPath is the sub-directory from an NFS share that should be reflected.
	SubPath string `protobuf:"bytes,2,opt,name=sub_path,json=subPath,proto3" json:"sub_path,omitempty"`
	// contains filtered or unexported fields
}

NFSProxySpec is the spec for proxying an NFS share.

func (*NFSProxySpec) Descriptor deprecated

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

Deprecated: Use NFSProxySpec.ProtoReflect.Descriptor instead.

func (*NFSProxySpec) GetExportPath

func (x *NFSProxySpec) GetExportPath() string

func (*NFSProxySpec) GetSubPath

func (x *NFSProxySpec) GetSubPath() string

func (*NFSProxySpec) ProtoMessage

func (*NFSProxySpec) ProtoMessage()

func (*NFSProxySpec) ProtoReflect

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

func (*NFSProxySpec) Reset

func (x *NFSProxySpec) Reset()

func (*NFSProxySpec) String

func (x *NFSProxySpec) String() string

type Node

type Node struct {
	// Id of the node.
	Id string
	// SchedulerNodeName is name of the node in scheduler context. It can be
	// empty if unable to get the name from the scheduler.
	SchedulerNodeName string
	// Cpu usage of the node.
	Cpu float64 // percentage.
	// Total Memory of the node
	MemTotal uint64
	// Used Memory of the node
	MemUsed uint64
	// Free Memory of the node
	MemFree uint64
	// Average load (percentage)
	Avgload int
	// Node Status see (Status object)
	Status Status
	// GenNumber of the node
	GenNumber uint64
	// List of disks on this node.
	Disks map[string]StorageResource
	// List of storage pools this node supports
	Pools []StoragePool
	// Management IP
	MgmtIp string
	// Data IP
	DataIp string
	// Timestamp
	Timestamp time.Time
	// Start time of this node
	StartTime time.Time
	// Hostname of this node
	Hostname string
	// Node data for this node (EX: Public IP, Provider, City..)
	NodeData map[string]interface{}
	// User defined labels for node. Key Value pairs
	NodeLabels map[string]string
	// GossipPort is the port used by the gossip protocol
	GossipPort string
	// HWType is the type of the underlying hardware used by the node
	HWType HardwareType
	// Determine if the node is secure with authentication and authorization
	SecurityStatus StorageNode_SecurityStatus
	// SchedulerTopology topology information of the node in scheduler context
	SchedulerTopology *SchedulerTopology
}

Node describes the state of a node. It includes the current physical state (CPU, memory, storage, network usage) as well as the containers running on the system.

swagger:model

func (*Node) Copy

func (s *Node) Copy() *Node

Copy makes a deep copy of Node

func (*Node) ToStorageNode

func (s *Node) ToStorageNode() *StorageNode

ToStorageNode converts a Node structure to an exported gRPC StorageNode struct

type NodeDrainAttachmentOptions

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

Options for draining volume attachment from a node

func (*NodeDrainAttachmentOptions) Descriptor deprecated

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

Deprecated: Use NodeDrainAttachmentOptions.ProtoReflect.Descriptor instead.

func (*NodeDrainAttachmentOptions) ProtoMessage

func (*NodeDrainAttachmentOptions) ProtoMessage()

func (*NodeDrainAttachmentOptions) ProtoReflect

func (*NodeDrainAttachmentOptions) Reset

func (x *NodeDrainAttachmentOptions) Reset()

func (*NodeDrainAttachmentOptions) String

func (x *NodeDrainAttachmentOptions) String() string

type NodeDrainAttachmentsJob

type NodeDrainAttachmentsJob struct {

	// NodeID of the node for which this drain job is running
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Status describes a helpful status of this node drain operation
	Status string `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
	// Issuer is a user friendly name for the caller who is
	// invoking the API. It can be used by caller to filter out
	// drain requests from a particular issuer
	Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// Parameters is the original request params for this node drain operation
	// This node drain job is applicable to only one of these node drain operations.
	Parameters *SdkNodeDrainAttachmentsRequest `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// CreateTime is the time the job was created
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// LastUpdateTime is the time the job was updated
	LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
	// contains filtered or unexported fields
}

NodeDrainAttachmentsJob describe a job to drain volume attachments from a node

func (*NodeDrainAttachmentsJob) Descriptor deprecated

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

Deprecated: Use NodeDrainAttachmentsJob.ProtoReflect.Descriptor instead.

func (*NodeDrainAttachmentsJob) GetCreateTime

func (x *NodeDrainAttachmentsJob) GetCreateTime() *timestamppb.Timestamp

func (*NodeDrainAttachmentsJob) GetIssuer

func (x *NodeDrainAttachmentsJob) GetIssuer() string

func (*NodeDrainAttachmentsJob) GetLastUpdateTime

func (x *NodeDrainAttachmentsJob) GetLastUpdateTime() *timestamppb.Timestamp

func (*NodeDrainAttachmentsJob) GetNodeId

func (x *NodeDrainAttachmentsJob) GetNodeId() string

func (*NodeDrainAttachmentsJob) GetParameters

func (*NodeDrainAttachmentsJob) GetStatus

func (x *NodeDrainAttachmentsJob) GetStatus() string

func (*NodeDrainAttachmentsJob) ProtoMessage

func (*NodeDrainAttachmentsJob) ProtoMessage()

func (*NodeDrainAttachmentsJob) ProtoReflect

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

func (*NodeDrainAttachmentsJob) Reset

func (x *NodeDrainAttachmentsJob) Reset()

func (*NodeDrainAttachmentsJob) String

func (x *NodeDrainAttachmentsJob) String() string

type ObjectstoreInfo

type ObjectstoreInfo struct {

	// UUID of objectstore
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// VolumeID of volume used by object store
	VolumeId string `protobuf:"bytes,2,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Enable/Disable created objectstore
	Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Status of objectstore running/failed
	Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// Action being taken on this objectstore
	Action int64 `protobuf:"varint,5,opt,name=action,proto3" json:"action,omitempty"`
	// AccessKey for login into objectstore
	AccessKey string `protobuf:"bytes,6,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	// SecretKey for login into objectstore
	SecretKey string `protobuf:"bytes,7,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	// Endpoints for accessing objectstore
	Endpoints []string `protobuf:"bytes,8,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// CurrentEndpoint on which objectstore server is accessible
	CurrentEndpoint string `protobuf:"bytes,9,opt,name=current_endpoint,json=currentEndpoint,proto3" json:"current_endpoint,omitempty"`
	// AccessPort is objectstore server port
	AccessPort int64 `protobuf:"varint,10,opt,name=access_port,json=accessPort,proto3" json:"access_port,omitempty"`
	// Region for this objectstore
	Region string `protobuf:"bytes,11,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

ObjectstoreInfo is a structure that has current objectstore info

func (*ObjectstoreInfo) Descriptor deprecated

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

Deprecated: Use ObjectstoreInfo.ProtoReflect.Descriptor instead.

func (*ObjectstoreInfo) GetAccessKey

func (x *ObjectstoreInfo) GetAccessKey() string

func (*ObjectstoreInfo) GetAccessPort

func (x *ObjectstoreInfo) GetAccessPort() int64

func (*ObjectstoreInfo) GetAction

func (x *ObjectstoreInfo) GetAction() int64

func (*ObjectstoreInfo) GetCurrentEndpoint

func (x *ObjectstoreInfo) GetCurrentEndpoint() string

func (*ObjectstoreInfo) GetEnabled

func (x *ObjectstoreInfo) GetEnabled() bool

func (*ObjectstoreInfo) GetEndpoints

func (x *ObjectstoreInfo) GetEndpoints() []string

func (*ObjectstoreInfo) GetRegion

func (x *ObjectstoreInfo) GetRegion() string

func (*ObjectstoreInfo) GetSecretKey

func (x *ObjectstoreInfo) GetSecretKey() string

func (*ObjectstoreInfo) GetStatus

func (x *ObjectstoreInfo) GetStatus() string

func (*ObjectstoreInfo) GetUuid

func (x *ObjectstoreInfo) GetUuid() string

func (*ObjectstoreInfo) GetVolumeId

func (x *ObjectstoreInfo) GetVolumeId() string

func (*ObjectstoreInfo) ProtoMessage

func (*ObjectstoreInfo) ProtoMessage()

func (*ObjectstoreInfo) ProtoReflect

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

func (*ObjectstoreInfo) Reset

func (x *ObjectstoreInfo) Reset()

func (*ObjectstoreInfo) String

func (x *ObjectstoreInfo) String() string

type OpenStorageAlertsClient

type OpenStorageAlertsClient interface {
	// Allows querying alerts.
	//
	// EnumerateWithFilters allows 3 different types of queries as defined below:
	//
	// * Query that takes only resource type as input
	// * Query that takes resource type and alert type as input and
	// * Query that takes resource id, alert type and resource type as input.
	//
	// #### Input
	// SdkAlertsEnumerateRequest takes a list of such queries and the returned
	// output is a collective output from each of these queries. In that sense,
	// the filtering of these queries has a behavior of OR operation.
	// Each query also has a list of optional options. These options allow
	// narrowing down the scope of alerts search. These options have a
	// behavior of an AND operation.
	//
	// #### Examples
	// To search by a resource type in a given time window would require
	// initializing SdkAlertsResourceTypeQuery query and pass in
	// SdkAlertsTimeSpan option into SdkAlertsQuery struct and finally
	// packing any other such queries into SdkAlertsEnumerateRequest object.
	// Alternatively, to search by both resource type and alert type, use
	// SdkAlertsAlertTypeQuery as query builder.
	// Finally to search all alerts of a given resource type and some
	// alerts of another resource type but with specific alert type,
	// use two queries, first initialized with SdkAlertsResourceTypeQuery
	// and second initialized with SdkAlertsAlertTypeQuery and both
	// eventually packed as list in SdkAlertsEnumerateRequest.
	EnumerateWithFilters(ctx context.Context, in *SdkAlertsEnumerateWithFiltersRequest, opts ...grpc.CallOption) (OpenStorageAlerts_EnumerateWithFiltersClient, error)
	// Delete alerts
	//
	// #### Delete
	// Delete allows 3 different types of queries as defined below:
	//
	// * Query that takes only resource type as input
	// * Query that takes resource type and alert type as input and
	// * Query that takes resource id, alert type and resource type as input.
	//
	// #### Input
	// SdkAlertsDeleteRequest takes a list of such queries and all alerts
	// that match at least one of the queries are deleted.
	Delete(ctx context.Context, in *SdkAlertsDeleteRequest, opts ...grpc.CallOption) (*SdkAlertsDeleteResponse, error)
}

OpenStorageAlertsClient is the client API for OpenStorageAlerts service.

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

type OpenStorageAlertsServer

type OpenStorageAlertsServer interface {
	// Allows querying alerts.
	//
	// EnumerateWithFilters allows 3 different types of queries as defined below:
	//
	// * Query that takes only resource type as input
	// * Query that takes resource type and alert type as input and
	// * Query that takes resource id, alert type and resource type as input.
	//
	// #### Input
	// SdkAlertsEnumerateRequest takes a list of such queries and the returned
	// output is a collective output from each of these queries. In that sense,
	// the filtering of these queries has a behavior of OR operation.
	// Each query also has a list of optional options. These options allow
	// narrowing down the scope of alerts search. These options have a
	// behavior of an AND operation.
	//
	// #### Examples
	// To search by a resource type in a given time window would require
	// initializing SdkAlertsResourceTypeQuery query and pass in
	// SdkAlertsTimeSpan option into SdkAlertsQuery struct and finally
	// packing any other such queries into SdkAlertsEnumerateRequest object.
	// Alternatively, to search by both resource type and alert type, use
	// SdkAlertsAlertTypeQuery as query builder.
	// Finally to search all alerts of a given resource type and some
	// alerts of another resource type but with specific alert type,
	// use two queries, first initialized with SdkAlertsResourceTypeQuery
	// and second initialized with SdkAlertsAlertTypeQuery and both
	// eventually packed as list in SdkAlertsEnumerateRequest.
	EnumerateWithFilters(*SdkAlertsEnumerateWithFiltersRequest, OpenStorageAlerts_EnumerateWithFiltersServer) error
	// Delete alerts
	//
	// #### Delete
	// Delete allows 3 different types of queries as defined below:
	//
	// * Query that takes only resource type as input
	// * Query that takes resource type and alert type as input and
	// * Query that takes resource id, alert type and resource type as input.
	//
	// #### Input
	// SdkAlertsDeleteRequest takes a list of such queries and all alerts
	// that match at least one of the queries are deleted.
	Delete(context.Context, *SdkAlertsDeleteRequest) (*SdkAlertsDeleteResponse, error)
}

OpenStorageAlertsServer is the server API for OpenStorageAlerts service.

type OpenStorageAlerts_EnumerateWithFiltersClient

type OpenStorageAlerts_EnumerateWithFiltersClient interface {
	Recv() (*SdkAlertsEnumerateWithFiltersResponse, error)
	grpc.ClientStream
}

type OpenStorageAlerts_EnumerateWithFiltersServer

type OpenStorageAlerts_EnumerateWithFiltersServer interface {
	Send(*SdkAlertsEnumerateWithFiltersResponse) error
	grpc.ServerStream
}

type OpenStorageCloudBackupClient

type OpenStorageCloudBackupClient interface {
	// Creates a backup request for a specified volume. Use
	// OpenStorageCloudBackup.Status() to get the current status of the
	// backup request.
	//
	// Requires access AccessType.Read of volume
	Create(ctx context.Context, in *SdkCloudBackupCreateRequest, opts ...grpc.CallOption) (*SdkCloudBackupCreateResponse, error)
	// Creates a group backup request for a specified group. Use
	// OpenStorageCloudBackup.Status() to get the current status of the
	// backup request.
	//
	// This will only backup volumes which the user has read_access to.
	GroupCreate(ctx context.Context, in *SdkCloudBackupGroupCreateRequest, opts ...grpc.CallOption) (*SdkCloudBackupGroupCreateResponse, error)
	// Restore creates a new volume from a backup id. The newly created volume
	// has an ha_level (number of replicas) of only 1. To increase the number of
	// replicas, use OpenStorageVolume.Set() to change the ha_level.
	Restore(ctx context.Context, in *SdkCloudBackupRestoreRequest, opts ...grpc.CallOption) (*SdkCloudBackupRestoreResponse, error)
	// Deletes a backup stored in the cloud. If the backup is an incremental
	// backup and other backups are dependent on it, it will not be able to be deleted.
	Delete(ctx context.Context, in *SdkCloudBackupDeleteRequest, opts ...grpc.CallOption) (*SdkCloudBackupDeleteResponse, error)
	// DeleteAll deletes all the backups in the cloud for the specified volume.
	DeleteAll(ctx context.Context, in *SdkCloudBackupDeleteAllRequest, opts ...grpc.CallOption) (*SdkCloudBackupDeleteAllResponse, error)
	// Return a list of backups for the specified volume
	EnumerateWithFilters(ctx context.Context, in *SdkCloudBackupEnumerateWithFiltersRequest, opts ...grpc.CallOption) (*SdkCloudBackupEnumerateWithFiltersResponse, error)
	// Status returns the status of any cloud backups of a volume
	Status(ctx context.Context, in *SdkCloudBackupStatusRequest, opts ...grpc.CallOption) (*SdkCloudBackupStatusResponse, error)
	// Catalog returns a list of the contents in the backup
	Catalog(ctx context.Context, in *SdkCloudBackupCatalogRequest, opts ...grpc.CallOption) (*SdkCloudBackupCatalogResponse, error)
	// History returns a list of backups for a specified volume
	History(ctx context.Context, in *SdkCloudBackupHistoryRequest, opts ...grpc.CallOption) (*SdkCloudBackupHistoryResponse, error)
	// StateChange can be used to stop, pause, and restart a backup
	StateChange(ctx context.Context, in *SdkCloudBackupStateChangeRequest, opts ...grpc.CallOption) (*SdkCloudBackupStateChangeResponse, error)
	// Create cloud backup schedule
	SchedCreate(ctx context.Context, in *SdkCloudBackupSchedCreateRequest, opts ...grpc.CallOption) (*SdkCloudBackupSchedCreateResponse, error)
	// Update existing cloud backup schedule
	SchedUpdate(ctx context.Context, in *SdkCloudBackupSchedUpdateRequest, opts ...grpc.CallOption) (*SdkCloudBackupSchedUpdateResponse, error)
	// Delete cloud backup schedule
	SchedDelete(ctx context.Context, in *SdkCloudBackupSchedDeleteRequest, opts ...grpc.CallOption) (*SdkCloudBackupSchedDeleteResponse, error)
	// Enumerate cloud backup schedules
	SchedEnumerate(ctx context.Context, in *SdkCloudBackupSchedEnumerateRequest, opts ...grpc.CallOption) (*SdkCloudBackupSchedEnumerateResponse, error)
	// Size returns the size of any cloud backups of a volume
	Size(ctx context.Context, in *SdkCloudBackupSizeRequest, opts ...grpc.CallOption) (*SdkCloudBackupSizeResponse, error)
}

OpenStorageCloudBackupClient is the client API for OpenStorageCloudBackup service.

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

type OpenStorageCloudBackupServer

type OpenStorageCloudBackupServer interface {
	// Creates a backup request for a specified volume. Use
	// OpenStorageCloudBackup.Status() to get the current status of the
	// backup request.
	//
	// Requires access AccessType.Read of volume
	Create(context.Context, *SdkCloudBackupCreateRequest) (*SdkCloudBackupCreateResponse, error)
	// Creates a group backup request for a specified group. Use
	// OpenStorageCloudBackup.Status() to get the current status of the
	// backup request.
	//
	// This will only backup volumes which the user has read_access to.
	GroupCreate(context.Context, *SdkCloudBackupGroupCreateRequest) (*SdkCloudBackupGroupCreateResponse, error)
	// Restore creates a new volume from a backup id. The newly created volume
	// has an ha_level (number of replicas) of only 1. To increase the number of
	// replicas, use OpenStorageVolume.Set() to change the ha_level.
	Restore(context.Context, *SdkCloudBackupRestoreRequest) (*SdkCloudBackupRestoreResponse, error)
	// Deletes a backup stored in the cloud. If the backup is an incremental
	// backup and other backups are dependent on it, it will not be able to be deleted.
	Delete(context.Context, *SdkCloudBackupDeleteRequest) (*SdkCloudBackupDeleteResponse, error)
	// DeleteAll deletes all the backups in the cloud for the specified volume.
	DeleteAll(context.Context, *SdkCloudBackupDeleteAllRequest) (*SdkCloudBackupDeleteAllResponse, error)
	// Return a list of backups for the specified volume
	EnumerateWithFilters(context.Context, *SdkCloudBackupEnumerateWithFiltersRequest) (*SdkCloudBackupEnumerateWithFiltersResponse, error)
	// Status returns the status of any cloud backups of a volume
	Status(context.Context, *SdkCloudBackupStatusRequest) (*SdkCloudBackupStatusResponse, error)
	// Catalog returns a list of the contents in the backup
	Catalog(context.Context, *SdkCloudBackupCatalogRequest) (*SdkCloudBackupCatalogResponse, error)
	// History returns a list of backups for a specified volume
	History(context.Context, *SdkCloudBackupHistoryRequest) (*SdkCloudBackupHistoryResponse, error)
	// StateChange can be used to stop, pause, and restart a backup
	StateChange(context.Context, *SdkCloudBackupStateChangeRequest) (*SdkCloudBackupStateChangeResponse, error)
	// Create cloud backup schedule
	SchedCreate(context.Context, *SdkCloudBackupSchedCreateRequest) (*SdkCloudBackupSchedCreateResponse, error)
	// Update existing cloud backup schedule
	SchedUpdate(context.Context, *SdkCloudBackupSchedUpdateRequest) (*SdkCloudBackupSchedUpdateResponse, error)
	// Delete cloud backup schedule
	SchedDelete(context.Context, *SdkCloudBackupSchedDeleteRequest) (*SdkCloudBackupSchedDeleteResponse, error)
	// Enumerate cloud backup schedules
	SchedEnumerate(context.Context, *SdkCloudBackupSchedEnumerateRequest) (*SdkCloudBackupSchedEnumerateResponse, error)
	// Size returns the size of any cloud backups of a volume
	Size(context.Context, *SdkCloudBackupSizeRequest) (*SdkCloudBackupSizeResponse, error)
}

OpenStorageCloudBackupServer is the server API for OpenStorageCloudBackup service.

type OpenStorageClusterClient

type OpenStorageClusterClient interface {
	// InspectCurrent returns information about the current cluster
	InspectCurrent(ctx context.Context, in *SdkClusterInspectCurrentRequest, opts ...grpc.CallOption) (*SdkClusterInspectCurrentResponse, error)
}

OpenStorageClusterClient is the client API for OpenStorageCluster service.

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

type OpenStorageClusterDomainsClient

type OpenStorageClusterDomainsClient interface {
	// Enumerate returns names of all the cluster domains in the cluster
	Enumerate(ctx context.Context, in *SdkClusterDomainsEnumerateRequest, opts ...grpc.CallOption) (*SdkClusterDomainsEnumerateResponse, error)
	// Inspect returns information about a cluster domain and a
	// status indicating whether the cluster domain is active
	Inspect(ctx context.Context, in *SdkClusterDomainInspectRequest, opts ...grpc.CallOption) (*SdkClusterDomainInspectResponse, error)
	// Activates a cluster domain in the cluster.
	// All the nodes which are part of an active cluster domain
	// will participate in cluster quorum calculation
	Activate(ctx context.Context, in *SdkClusterDomainActivateRequest, opts ...grpc.CallOption) (*SdkClusterDomainActivateResponse, error)
	// Deactivates a cluster domain in the cluster.
	// All the nodes which are part of a deactivated cluster domain.
	// will not participate in cluster quorum calculation
	Deactivate(ctx context.Context, in *SdkClusterDomainDeactivateRequest, opts ...grpc.CallOption) (*SdkClusterDomainDeactivateResponse, error)
}

OpenStorageClusterDomainsClient is the client API for OpenStorageClusterDomains service.

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

type OpenStorageClusterDomainsServer

type OpenStorageClusterDomainsServer interface {
	// Enumerate returns names of all the cluster domains in the cluster
	Enumerate(context.Context, *SdkClusterDomainsEnumerateRequest) (*SdkClusterDomainsEnumerateResponse, error)
	// Inspect returns information about a cluster domain and a
	// status indicating whether the cluster domain is active
	Inspect(context.Context, *SdkClusterDomainInspectRequest) (*SdkClusterDomainInspectResponse, error)
	// Activates a cluster domain in the cluster.
	// All the nodes which are part of an active cluster domain
	// will participate in cluster quorum calculation
	Activate(context.Context, *SdkClusterDomainActivateRequest) (*SdkClusterDomainActivateResponse, error)
	// Deactivates a cluster domain in the cluster.
	// All the nodes which are part of a deactivated cluster domain.
	// will not participate in cluster quorum calculation
	Deactivate(context.Context, *SdkClusterDomainDeactivateRequest) (*SdkClusterDomainDeactivateResponse, error)
}

OpenStorageClusterDomainsServer is the server API for OpenStorageClusterDomains service.

type OpenStorageClusterPairClient

type OpenStorageClusterPairClient interface {
	// Creates Pair with a remote cluster and returns details about the remote cluster
	//
	// ##### Example
	// {% codetabs name="Golang", type="go" -%}
	// id, err := client.Create(context.Background(), &api.SdkClusterPairCreateRequest {
	//   Request : &api.ClusterPairCreateRequest {
	//                  RemoteClusterIp: "127.0.0.1",
	//                  RemoteClusterPort: 12345,
	//                  RemoteClusterToken: "<Auth-Token>",
	//                  SetDefault: true,
	//              }
	//        })
	// {%- endcodetabs %}
	Create(ctx context.Context, in *SdkClusterPairCreateRequest, opts ...grpc.CallOption) (*SdkClusterPairCreateResponse, error)
	// Inspect information about a cluster pair
	Inspect(ctx context.Context, in *SdkClusterPairInspectRequest, opts ...grpc.CallOption) (*SdkClusterPairInspectResponse, error)
	// Enumerate returns list of cluster pairs
	Enumerate(ctx context.Context, in *SdkClusterPairEnumerateRequest, opts ...grpc.CallOption) (*SdkClusterPairEnumerateResponse, error)
	// GetToken returns a auth token
	GetToken(ctx context.Context, in *SdkClusterPairGetTokenRequest, opts ...grpc.CallOption) (*SdkClusterPairGetTokenResponse, error)
	// ResetToken returns a auth token
	ResetToken(ctx context.Context, in *SdkClusterPairResetTokenRequest, opts ...grpc.CallOption) (*SdkClusterPairResetTokenResponse, error)
	// Delete a cluster pair
	Delete(ctx context.Context, in *SdkClusterPairDeleteRequest, opts ...grpc.CallOption) (*SdkClusterPairDeleteResponse, error)
}

OpenStorageClusterPairClient is the client API for OpenStorageClusterPair service.

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

type OpenStorageClusterPairServer

type OpenStorageClusterPairServer interface {
	// Creates Pair with a remote cluster and returns details about the remote cluster
	//
	// ##### Example
	// {% codetabs name="Golang", type="go" -%}
	// id, err := client.Create(context.Background(), &api.SdkClusterPairCreateRequest {
	//   Request : &api.ClusterPairCreateRequest {
	//                  RemoteClusterIp: "127.0.0.1",
	//                  RemoteClusterPort: 12345,
	//                  RemoteClusterToken: "<Auth-Token>",
	//                  SetDefault: true,
	//              }
	//        })
	// {%- endcodetabs %}
	Create(context.Context, *SdkClusterPairCreateRequest) (*SdkClusterPairCreateResponse, error)
	// Inspect information about a cluster pair
	Inspect(context.Context, *SdkClusterPairInspectRequest) (*SdkClusterPairInspectResponse, error)
	// Enumerate returns list of cluster pairs
	Enumerate(context.Context, *SdkClusterPairEnumerateRequest) (*SdkClusterPairEnumerateResponse, error)
	// GetToken returns a auth token
	GetToken(context.Context, *SdkClusterPairGetTokenRequest) (*SdkClusterPairGetTokenResponse, error)
	// ResetToken returns a auth token
	ResetToken(context.Context, *SdkClusterPairResetTokenRequest) (*SdkClusterPairResetTokenResponse, error)
	// Delete a cluster pair
	Delete(context.Context, *SdkClusterPairDeleteRequest) (*SdkClusterPairDeleteResponse, error)
}

OpenStorageClusterPairServer is the server API for OpenStorageClusterPair service.

type OpenStorageClusterServer

type OpenStorageClusterServer interface {
	// InspectCurrent returns information about the current cluster
	InspectCurrent(context.Context, *SdkClusterInspectCurrentRequest) (*SdkClusterInspectCurrentResponse, error)
}

OpenStorageClusterServer is the server API for OpenStorageCluster service.

type OpenStorageCredentialsClient

type OpenStorageCredentialsClient interface {
	// Create is used to submit cloud credentials. It will return an
	// id of the credentials once they are verified to work.
	//
	// ##### Example
	// {% codetabs name="Golang", type="go" -%}
	// id, err := client.Create(context.Background(), &api.SdkCredentialCreateRequest{
	//     Name: "awscred",
	//     UseProxy: false,
	//     CredentialType: &api.SdkCredentialCreateRequest_AwsCredential{
	//       AwsCredential: &api.SdkAwsCredentialRequest{
	//       AccessKey: "dummy-access",
	//       SecretKey: "dummy-secret",
	//       Endpoint:  "dummy-endpoint",
	//       Region:    "dummy-region",
	//     },
	//   },
	// })
	// {%- language name="Python", type="py" -%}
	// en_resp = client.Create(api_pb2.SdkCredentialCreateRequest(
	//   name='awscred',
	//   aws_credential=api_pb2.SdkAwsCredentialRequest(
	//     access_key='dummy-access',
	//     secret_key='dumm-secret',
	//     endpoint='dummy-endpoint',
	//     region='dummy-region')))
	// {%- endcodetabs %}
	Create(ctx context.Context, in *SdkCredentialCreateRequest, opts ...grpc.CallOption) (*SdkCredentialCreateResponse, error)
	// input is very same as credential create
	Update(ctx context.Context, in *SdkCredentialUpdateRequest, opts ...grpc.CallOption) (*SdkCredentialUpdateResponse, error)
	// Enumerate returns a list of credential ids
	Enumerate(ctx context.Context, in *SdkCredentialEnumerateRequest, opts ...grpc.CallOption) (*SdkCredentialEnumerateResponse, error)
	// Inspect returns the information about a credential, but does not return the secret key.
	Inspect(ctx context.Context, in *SdkCredentialInspectRequest, opts ...grpc.CallOption) (*SdkCredentialInspectResponse, error)
	// Delete a specified credential
	Delete(ctx context.Context, in *SdkCredentialDeleteRequest, opts ...grpc.CallOption) (*SdkCredentialDeleteResponse, error)
	// Validate is used to validate credentials
	Validate(ctx context.Context, in *SdkCredentialValidateRequest, opts ...grpc.CallOption) (*SdkCredentialValidateResponse, error)
	// DeleteReferences is used to remove references to credentials
	DeleteReferences(ctx context.Context, in *SdkCredentialDeleteReferencesRequest, opts ...grpc.CallOption) (*SdkCredentialDeleteReferencesResponse, error)
}

OpenStorageCredentialsClient is the client API for OpenStorageCredentials service.

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

type OpenStorageCredentialsServer

type OpenStorageCredentialsServer interface {
	// Create is used to submit cloud credentials. It will return an
	// id of the credentials once they are verified to work.
	//
	// ##### Example
	// {% codetabs name="Golang", type="go" -%}
	// id, err := client.Create(context.Background(), &api.SdkCredentialCreateRequest{
	//     Name: "awscred",
	//     UseProxy: false,
	//     CredentialType: &api.SdkCredentialCreateRequest_AwsCredential{
	//       AwsCredential: &api.SdkAwsCredentialRequest{
	//       AccessKey: "dummy-access",
	//       SecretKey: "dummy-secret",
	//       Endpoint:  "dummy-endpoint",
	//       Region:    "dummy-region",
	//     },
	//   },
	// })
	// {%- language name="Python", type="py" -%}
	// en_resp = client.Create(api_pb2.SdkCredentialCreateRequest(
	//   name='awscred',
	//   aws_credential=api_pb2.SdkAwsCredentialRequest(
	//     access_key='dummy-access',
	//     secret_key='dumm-secret',
	//     endpoint='dummy-endpoint',
	//     region='dummy-region')))
	// {%- endcodetabs %}
	Create(context.Context, *SdkCredentialCreateRequest) (*SdkCredentialCreateResponse, error)
	// input is very same as credential create
	Update(context.Context, *SdkCredentialUpdateRequest) (*SdkCredentialUpdateResponse, error)
	// Enumerate returns a list of credential ids
	Enumerate(context.Context, *SdkCredentialEnumerateRequest) (*SdkCredentialEnumerateResponse, error)
	// Inspect returns the information about a credential, but does not return the secret key.
	Inspect(context.Context, *SdkCredentialInspectRequest) (*SdkCredentialInspectResponse, error)
	// Delete a specified credential
	Delete(context.Context, *SdkCredentialDeleteRequest) (*SdkCredentialDeleteResponse, error)
	// Validate is used to validate credentials
	Validate(context.Context, *SdkCredentialValidateRequest) (*SdkCredentialValidateResponse, error)
	// DeleteReferences is used to remove references to credentials
	DeleteReferences(context.Context, *SdkCredentialDeleteReferencesRequest) (*SdkCredentialDeleteReferencesResponse, error)
}

OpenStorageCredentialsServer is the server API for OpenStorageCredentials service.

type OpenStorageDiagsClient

type OpenStorageDiagsClient interface {
	// Collect starts a job to collect diagnostics from set of nodes that are selected based on the selectors provided
	// in the SdkDiagsCollectRequest. See SdkDiagsCollectRequest for more details on how to select the nodes
	// Returns SdkDiagsCollectResponse which has the job that is responsible for collecting the diags.
	Collect(ctx context.Context, in *SdkDiagsCollectRequest, opts ...grpc.CallOption) (*SdkDiagsCollectResponse, error)
}

OpenStorageDiagsClient is the client API for OpenStorageDiags service.

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

type OpenStorageDiagsServer

type OpenStorageDiagsServer interface {
	// Collect starts a job to collect diagnostics from set of nodes that are selected based on the selectors provided
	// in the SdkDiagsCollectRequest. See SdkDiagsCollectRequest for more details on how to select the nodes
	// Returns SdkDiagsCollectResponse which has the job that is responsible for collecting the diags.
	Collect(context.Context, *SdkDiagsCollectRequest) (*SdkDiagsCollectResponse, error)
}

OpenStorageDiagsServer is the server API for OpenStorageDiags service.

type OpenStorageFilesystemCheckClient

type OpenStorageFilesystemCheckClient interface {
	// Start a filesystem-check background operation on a unmounted volume.
	Start(ctx context.Context, in *SdkFilesystemCheckStartRequest, opts ...grpc.CallOption) (*SdkFilesystemCheckStartResponse, error)
	// Get Status of a filesystem-check background operation on an unmounted
	// volume, if any
	Status(ctx context.Context, in *SdkFilesystemCheckStatusRequest, opts ...grpc.CallOption) (*SdkFilesystemCheckStatusResponse, error)
	// Stop a filesystem check background operation on an unmounted volume, if any
	Stop(ctx context.Context, in *SdkFilesystemCheckStopRequest, opts ...grpc.CallOption) (*SdkFilesystemCheckStopResponse, error)
}

OpenStorageFilesystemCheckClient is the client API for OpenStorageFilesystemCheck service.

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

type OpenStorageFilesystemCheckServer

type OpenStorageFilesystemCheckServer interface {
	// Start a filesystem-check background operation on a unmounted volume.
	Start(context.Context, *SdkFilesystemCheckStartRequest) (*SdkFilesystemCheckStartResponse, error)
	// Get Status of a filesystem-check background operation on an unmounted
	// volume, if any
	Status(context.Context, *SdkFilesystemCheckStatusRequest) (*SdkFilesystemCheckStatusResponse, error)
	// Stop a filesystem check background operation on an unmounted volume, if any
	Stop(context.Context, *SdkFilesystemCheckStopRequest) (*SdkFilesystemCheckStopResponse, error)
}

OpenStorageFilesystemCheckServer is the server API for OpenStorageFilesystemCheck service.

type OpenStorageFilesystemTrimClient

type OpenStorageFilesystemTrimClient interface {
	// Start a filesystem Trim background operation on a mounted volume
	Start(ctx context.Context, in *SdkFilesystemTrimStartRequest, opts ...grpc.CallOption) (*SdkFilesystemTrimStartResponse, error)
	// Status of a filesystem Trim background operation on a mounted
	// volume, if any
	Status(ctx context.Context, in *SdkFilesystemTrimStatusRequest, opts ...grpc.CallOption) (*SdkFilesystemTrimStatusResponse, error)
	AutoFSTrimStatus(ctx context.Context, in *SdkAutoFSTrimStatusRequest, opts ...grpc.CallOption) (*SdkAutoFSTrimStatusResponse, error)
	// Usage of a filesystem Trim background operation on all locally mounted
	// volume
	AutoFSTrimUsage(ctx context.Context, in *SdkAutoFSTrimUsageRequest, opts ...grpc.CallOption) (*SdkAutoFSTrimUsageResponse, error)
	// Stop a filesystem Trim background operation on a mounted volume, if any
	Stop(ctx context.Context, in *SdkFilesystemTrimStopRequest, opts ...grpc.CallOption) (*SdkFilesystemTrimStopResponse, error)
}

OpenStorageFilesystemTrimClient is the client API for OpenStorageFilesystemTrim service.

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

type OpenStorageFilesystemTrimServer

type OpenStorageFilesystemTrimServer interface {
	// Start a filesystem Trim background operation on a mounted volume
	Start(context.Context, *SdkFilesystemTrimStartRequest) (*SdkFilesystemTrimStartResponse, error)
	// Status of a filesystem Trim background operation on a mounted
	// volume, if any
	Status(context.Context, *SdkFilesystemTrimStatusRequest) (*SdkFilesystemTrimStatusResponse, error)
	AutoFSTrimStatus(context.Context, *SdkAutoFSTrimStatusRequest) (*SdkAutoFSTrimStatusResponse, error)
	// Usage of a filesystem Trim background operation on all locally mounted
	// volume
	AutoFSTrimUsage(context.Context, *SdkAutoFSTrimUsageRequest) (*SdkAutoFSTrimUsageResponse, error)
	// Stop a filesystem Trim background operation on a mounted volume, if any
	Stop(context.Context, *SdkFilesystemTrimStopRequest) (*SdkFilesystemTrimStopResponse, error)
}

OpenStorageFilesystemTrimServer is the server API for OpenStorageFilesystemTrim service.

type OpenStorageIdentityClient

type OpenStorageIdentityClient interface {
	// Capabilities returns the supported services by the cluster.
	// This allows SDK implementations to advertise their supported
	// services as the API matures. With this information, clients
	// can determine supported services from storage clusters at
	// different versions.
	Capabilities(ctx context.Context, in *SdkIdentityCapabilitiesRequest, opts ...grpc.CallOption) (*SdkIdentityCapabilitiesResponse, error)
	// Version returns version information about the system.
	Version(ctx context.Context, in *SdkIdentityVersionRequest, opts ...grpc.CallOption) (*SdkIdentityVersionResponse, error)
}

OpenStorageIdentityClient is the client API for OpenStorageIdentity service.

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

type OpenStorageIdentityServer

type OpenStorageIdentityServer interface {
	// Capabilities returns the supported services by the cluster.
	// This allows SDK implementations to advertise their supported
	// services as the API matures. With this information, clients
	// can determine supported services from storage clusters at
	// different versions.
	Capabilities(context.Context, *SdkIdentityCapabilitiesRequest) (*SdkIdentityCapabilitiesResponse, error)
	// Version returns version information about the system.
	Version(context.Context, *SdkIdentityVersionRequest) (*SdkIdentityVersionResponse, error)
}

OpenStorageIdentityServer is the server API for OpenStorageIdentity service.

type OpenStorageJobClient

type OpenStorageJobClient interface {
	// Update updates an existing job's state
	// Only acceptable state values are
	// JobState_PAUSED - acceptable only from running state
	// JobState_CANCELLED - acceptable only from running/pause state
	// JobState_RUNNING - acceptable only from pause state
	Update(ctx context.Context, in *SdkUpdateJobRequest, opts ...grpc.CallOption) (*SdkUpdateJobResponse, error)
	// GetStatus gets the status of a job
	GetStatus(ctx context.Context, in *SdkGetJobStatusRequest, opts ...grpc.CallOption) (*SdkGetJobStatusResponse, error)
	// Enumerate returns all the jobs currently known to the system
	Enumerate(ctx context.Context, in *SdkEnumerateJobsRequest, opts ...grpc.CallOption) (*SdkEnumerateJobsResponse, error)
}

OpenStorageJobClient is the client API for OpenStorageJob service.

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

type OpenStorageJobServer

type OpenStorageJobServer interface {
	// Update updates an existing job's state
	// Only acceptable state values are
	// JobState_PAUSED - acceptable only from running state
	// JobState_CANCELLED - acceptable only from running/pause state
	// JobState_RUNNING - acceptable only from pause state
	Update(context.Context, *SdkUpdateJobRequest) (*SdkUpdateJobResponse, error)
	// GetStatus gets the status of a job
	GetStatus(context.Context, *SdkGetJobStatusRequest) (*SdkGetJobStatusResponse, error)
	// Enumerate returns all the jobs currently known to the system
	Enumerate(context.Context, *SdkEnumerateJobsRequest) (*SdkEnumerateJobsResponse, error)
}

OpenStorageJobServer is the server API for OpenStorageJob service.

type OpenStorageMigrateClient

type OpenStorageMigrateClient interface {
	// Start a migration operation
	Start(ctx context.Context, in *SdkCloudMigrateStartRequest, opts ...grpc.CallOption) (*SdkCloudMigrateStartResponse, error)
	// Cancel a migration operation
	Cancel(ctx context.Context, in *SdkCloudMigrateCancelRequest, opts ...grpc.CallOption) (*SdkCloudMigrateCancelResponse, error)
	// Status for migration operation.
	// If status request is empty, status for all migration operation will be returned.
	Status(ctx context.Context, in *SdkCloudMigrateStatusRequest, opts ...grpc.CallOption) (*SdkCloudMigrateStatusResponse, error)
}

OpenStorageMigrateClient is the client API for OpenStorageMigrate service.

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

type OpenStorageMigrateServer

type OpenStorageMigrateServer interface {
	// Start a migration operation
	Start(context.Context, *SdkCloudMigrateStartRequest) (*SdkCloudMigrateStartResponse, error)
	// Cancel a migration operation
	Cancel(context.Context, *SdkCloudMigrateCancelRequest) (*SdkCloudMigrateCancelResponse, error)
	// Status for migration operation.
	// If status request is empty, status for all migration operation will be returned.
	Status(context.Context, *SdkCloudMigrateStatusRequest) (*SdkCloudMigrateStatusResponse, error)
}

OpenStorageMigrateServer is the server API for OpenStorageMigrate service.

type OpenStorageMountAttachClient

type OpenStorageMountAttachClient interface {
	// Attach attaches device to the host that the client is communicating with.
	//
	// Requires access AccessType.Write of volume
	Attach(ctx context.Context, in *SdkVolumeAttachRequest, opts ...grpc.CallOption) (*SdkVolumeAttachResponse, error)
	// Detaches a the volume from the host
	//
	// Requires access AccessType.Write of volume
	Detach(ctx context.Context, in *SdkVolumeDetachRequest, opts ...grpc.CallOption) (*SdkVolumeDetachResponse, error)
	// Mount mounts an attached volume in the host that the client is communicating with
	//
	// Requires access AccessType.Write of volume
	Mount(ctx context.Context, in *SdkVolumeMountRequest, opts ...grpc.CallOption) (*SdkVolumeMountResponse, error)
	// Unmount unmounts a mounted volume in the host that the client is communicating with
	//
	// Requires access AccessType.Write of volume
	Unmount(ctx context.Context, in *SdkVolumeUnmountRequest, opts ...grpc.CallOption) (*SdkVolumeUnmountResponse, error)
}

OpenStorageMountAttachClient is the client API for OpenStorageMountAttach service.

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

type OpenStorageMountAttachServer

type OpenStorageMountAttachServer interface {
	// Attach attaches device to the host that the client is communicating with.
	//
	// Requires access AccessType.Write of volume
	Attach(context.Context, *SdkVolumeAttachRequest) (*SdkVolumeAttachResponse, error)
	// Detaches a the volume from the host
	//
	// Requires access AccessType.Write of volume
	Detach(context.Context, *SdkVolumeDetachRequest) (*SdkVolumeDetachResponse, error)
	// Mount mounts an attached volume in the host that the client is communicating with
	//
	// Requires access AccessType.Write of volume
	Mount(context.Context, *SdkVolumeMountRequest) (*SdkVolumeMountResponse, error)
	// Unmount unmounts a mounted volume in the host that the client is communicating with
	//
	// Requires access AccessType.Write of volume
	Unmount(context.Context, *SdkVolumeUnmountRequest) (*SdkVolumeUnmountResponse, error)
}

OpenStorageMountAttachServer is the server API for OpenStorageMountAttach service.

type OpenStorageNodeClient

type OpenStorageNodeClient interface {
	// Inspect returns information about the specified node
	Inspect(ctx context.Context, in *SdkNodeInspectRequest, opts ...grpc.CallOption) (*SdkNodeInspectResponse, error)
	// InspectCurrent returns information about the storage node
	// where the client is currently connected to.
	InspectCurrent(ctx context.Context, in *SdkNodeInspectCurrentRequest, opts ...grpc.CallOption) (*SdkNodeInspectCurrentResponse, error)
	// Enumerate returns the ids of all the nodes in the current cluster
	Enumerate(ctx context.Context, in *SdkNodeEnumerateRequest, opts ...grpc.CallOption) (*SdkNodeEnumerateResponse, error)
	// EnumerateWithFilters returns all the nodes in the current cluster
	EnumerateWithFilters(ctx context.Context, in *SdkNodeEnumerateWithFiltersRequest, opts ...grpc.CallOption) (*SdkNodeEnumerateWithFiltersResponse, error)
	// Returns capacity usage of all volumes/snaps for a give node
	VolumeUsageByNode(ctx context.Context, in *SdkNodeVolumeUsageByNodeRequest, opts ...grpc.CallOption) (*SdkNodeVolumeUsageByNodeResponse, error)
	// Triggers RelaxedReclaim purge for a give node
	RelaxedReclaimPurge(ctx context.Context, in *SdkNodeRelaxedReclaimPurgeRequest, opts ...grpc.CallOption) (*SdkNodeRelaxedReclaimPurgeResponse, error)
	// DrainAttachments creates a task to drain volume attachments
	// from the provided node in the cluster.
	DrainAttachments(ctx context.Context, in *SdkNodeDrainAttachmentsRequest, opts ...grpc.CallOption) (*SdkJobResponse, error)
	// CordonAttachments disables any new volume attachments
	// from the provided node in the cluster. Existing volume attachments
	// will stay on the node.
	CordonAttachments(ctx context.Context, in *SdkNodeCordonAttachmentsRequest, opts ...grpc.CallOption) (*SdkNodeCordonAttachmentsResponse, error)
	// UncordonAttachments re-enables volume attachments
	// on the provided node in the cluster.
	UncordonAttachments(ctx context.Context, in *SdkNodeUncordonAttachmentsRequest, opts ...grpc.CallOption) (*SdkNodeUncordonAttachmentsResponse, error)
}

OpenStorageNodeClient is the client API for OpenStorageNode service.

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

type OpenStorageNodeServer

type OpenStorageNodeServer interface {
	// Inspect returns information about the specified node
	Inspect(context.Context, *SdkNodeInspectRequest) (*SdkNodeInspectResponse, error)
	// InspectCurrent returns information about the storage node
	// where the client is currently connected to.
	InspectCurrent(context.Context, *SdkNodeInspectCurrentRequest) (*SdkNodeInspectCurrentResponse, error)
	// Enumerate returns the ids of all the nodes in the current cluster
	Enumerate(context.Context, *SdkNodeEnumerateRequest) (*SdkNodeEnumerateResponse, error)
	// EnumerateWithFilters returns all the nodes in the current cluster
	EnumerateWithFilters(context.Context, *SdkNodeEnumerateWithFiltersRequest) (*SdkNodeEnumerateWithFiltersResponse, error)
	// Returns capacity usage of all volumes/snaps for a give node
	VolumeUsageByNode(context.Context, *SdkNodeVolumeUsageByNodeRequest) (*SdkNodeVolumeUsageByNodeResponse, error)
	// Triggers RelaxedReclaim purge for a give node
	RelaxedReclaimPurge(context.Context, *SdkNodeRelaxedReclaimPurgeRequest) (*SdkNodeRelaxedReclaimPurgeResponse, error)
	// DrainAttachments creates a task to drain volume attachments
	// from the provided node in the cluster.
	DrainAttachments(context.Context, *SdkNodeDrainAttachmentsRequest) (*SdkJobResponse, error)
	// CordonAttachments disables any new volume attachments
	// from the provided node in the cluster. Existing volume attachments
	// will stay on the node.
	CordonAttachments(context.Context, *SdkNodeCordonAttachmentsRequest) (*SdkNodeCordonAttachmentsResponse, error)
	// UncordonAttachments re-enables volume attachments
	// on the provided node in the cluster.
	UncordonAttachments(context.Context, *SdkNodeUncordonAttachmentsRequest) (*SdkNodeUncordonAttachmentsResponse, error)
}

OpenStorageNodeServer is the server API for OpenStorageNode service.

type OpenStorageObjectstoreClient

type OpenStorageObjectstoreClient interface {
	// Inspect returns information about the object store endpoint
	Inspect(ctx context.Context, in *SdkObjectstoreInspectRequest, opts ...grpc.CallOption) (*SdkObjectstoreInspectResponse, error)
	// Creates creates an object store endpoint on specified volume
	Create(ctx context.Context, in *SdkObjectstoreCreateRequest, opts ...grpc.CallOption) (*SdkObjectstoreCreateResponse, error)
	// Delete destroys the object store endpoint on the volume
	Delete(ctx context.Context, in *SdkObjectstoreDeleteRequest, opts ...grpc.CallOption) (*SdkObjectstoreDeleteResponse, error)
	// Updates provided objectstore status.
	// This call can be used to stop and start the server while maintaining the same
	// object storage id.
	Update(ctx context.Context, in *SdkObjectstoreUpdateRequest, opts ...grpc.CallOption) (*SdkObjectstoreUpdateResponse, error)
}

OpenStorageObjectstoreClient is the client API for OpenStorageObjectstore service.

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

type OpenStorageObjectstoreServer

type OpenStorageObjectstoreServer interface {
	// Inspect returns information about the object store endpoint
	Inspect(context.Context, *SdkObjectstoreInspectRequest) (*SdkObjectstoreInspectResponse, error)
	// Creates creates an object store endpoint on specified volume
	Create(context.Context, *SdkObjectstoreCreateRequest) (*SdkObjectstoreCreateResponse, error)
	// Delete destroys the object store endpoint on the volume
	Delete(context.Context, *SdkObjectstoreDeleteRequest) (*SdkObjectstoreDeleteResponse, error)
	// Updates provided objectstore status.
	// This call can be used to stop and start the server while maintaining the same
	// object storage id.
	Update(context.Context, *SdkObjectstoreUpdateRequest) (*SdkObjectstoreUpdateResponse, error)
}

OpenStorageObjectstoreServer is the server API for OpenStorageObjectstore service.

type OpenStoragePolicyClient

type OpenStoragePolicyClient interface {
	// Creates a storage policy
	Create(ctx context.Context, in *SdkOpenStoragePolicyCreateRequest, opts ...grpc.CallOption) (*SdkOpenStoragePolicyCreateResponse, error)
	// Enumerate returns a list of storage policies
	Enumerate(ctx context.Context, in *SdkOpenStoragePolicyEnumerateRequest, opts ...grpc.CallOption) (*SdkOpenStoragePolicyEnumerateResponse, error)
	// Inspect returns information about a specified storage policy
	Inspect(ctx context.Context, in *SdkOpenStoragePolicyInspectRequest, opts ...grpc.CallOption) (*SdkOpenStoragePolicyInspectResponse, error)
	// Updates specified storage policy
	Update(ctx context.Context, in *SdkOpenStoragePolicyUpdateRequest, opts ...grpc.CallOption) (*SdkOpenStoragePolicyUpdateResponse, error)
	// Deletes specified storage policy
	Delete(ctx context.Context, in *SdkOpenStoragePolicyDeleteRequest, opts ...grpc.CallOption) (*SdkOpenStoragePolicyDeleteResponse, error)
	// Set specified storage policy as default policy
	SetDefault(ctx context.Context, in *SdkOpenStoragePolicySetDefaultRequest, opts ...grpc.CallOption) (*SdkOpenStoragePolicySetDefaultResponse, error)
	// DefaultInspect return default storage policy if any, otherwise
	// empty response
	DefaultInspect(ctx context.Context, in *SdkOpenStoragePolicyDefaultInspectRequest, opts ...grpc.CallOption) (*SdkOpenStoragePolicyDefaultInspectResponse, error)
	// Release specified storage policy constraint for volume
	// creation
	Release(ctx context.Context, in *SdkOpenStoragePolicyReleaseRequest, opts ...grpc.CallOption) (*SdkOpenStoragePolicyReleaseResponse, error)
}

OpenStoragePolicyClient is the client API for OpenStoragePolicy service.

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

type OpenStoragePolicyServer

type OpenStoragePolicyServer interface {
	// Creates a storage policy
	Create(context.Context, *SdkOpenStoragePolicyCreateRequest) (*SdkOpenStoragePolicyCreateResponse, error)
	// Enumerate returns a list of storage policies
	Enumerate(context.Context, *SdkOpenStoragePolicyEnumerateRequest) (*SdkOpenStoragePolicyEnumerateResponse, error)
	// Inspect returns information about a specified storage policy
	Inspect(context.Context, *SdkOpenStoragePolicyInspectRequest) (*SdkOpenStoragePolicyInspectResponse, error)
	// Updates specified storage policy
	Update(context.Context, *SdkOpenStoragePolicyUpdateRequest) (*SdkOpenStoragePolicyUpdateResponse, error)
	// Deletes specified storage policy
	Delete(context.Context, *SdkOpenStoragePolicyDeleteRequest) (*SdkOpenStoragePolicyDeleteResponse, error)
	// Set specified storage policy as default policy
	SetDefault(context.Context, *SdkOpenStoragePolicySetDefaultRequest) (*SdkOpenStoragePolicySetDefaultResponse, error)
	// DefaultInspect return default storage policy if any, otherwise
	// empty response
	DefaultInspect(context.Context, *SdkOpenStoragePolicyDefaultInspectRequest) (*SdkOpenStoragePolicyDefaultInspectResponse, error)
	// Release specified storage policy constraint for volume
	// creation
	Release(context.Context, *SdkOpenStoragePolicyReleaseRequest) (*SdkOpenStoragePolicyReleaseResponse, error)
}

OpenStoragePolicyServer is the server API for OpenStoragePolicy service.

type OpenStoragePoolClient

type OpenStoragePoolClient interface {
	// Resize expands the specified storage pool based on the request parameters
	Resize(ctx context.Context, in *SdkStoragePoolResizeRequest, opts ...grpc.CallOption) (*SdkStoragePoolResizeResponse, error)
	// Rebalance creates a new rebalance task
	Rebalance(ctx context.Context, in *SdkStorageRebalanceRequest, opts ...grpc.CallOption) (*SdkStorageRebalanceResponse, error)
	// UpdateRebalanceJobState updates existing rebalance task state.
	// Only acceptable values are
	// StorageRebalanceJobState_PAUSED - acceptable only from running state
	// StorageRebalanceJobState_CANCELLED - acceptable only from running/pause state
	// StorageRebalanceJobState_RUNNING - acceptable only from pause state
	UpdateRebalanceJobState(ctx context.Context, in *SdkUpdateRebalanceJobRequest, opts ...grpc.CallOption) (*SdkUpdateRebalanceJobResponse, error)
	// GetRebalanceJobStatus returns rebalance status for specified job
	GetRebalanceJobStatus(ctx context.Context, in *SdkGetRebalanceJobStatusRequest, opts ...grpc.CallOption) (*SdkGetRebalanceJobStatusResponse, error)
	// EnumerateRebalanceJobs returns all rebalance jobs currently known to the system
	EnumerateRebalanceJobs(ctx context.Context, in *SdkEnumerateRebalanceJobsRequest, opts ...grpc.CallOption) (*SdkEnumerateRebalanceJobsResponse, error)
}

OpenStoragePoolClient is the client API for OpenStoragePool service.

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

type OpenStoragePoolServer

type OpenStoragePoolServer interface {
	// Resize expands the specified storage pool based on the request parameters
	Resize(context.Context, *SdkStoragePoolResizeRequest) (*SdkStoragePoolResizeResponse, error)
	// Rebalance creates a new rebalance task
	Rebalance(context.Context, *SdkStorageRebalanceRequest) (*SdkStorageRebalanceResponse, error)
	// UpdateRebalanceJobState updates existing rebalance task state.
	// Only acceptable values are
	// StorageRebalanceJobState_PAUSED - acceptable only from running state
	// StorageRebalanceJobState_CANCELLED - acceptable only from running/pause state
	// StorageRebalanceJobState_RUNNING - acceptable only from pause state
	UpdateRebalanceJobState(context.Context, *SdkUpdateRebalanceJobRequest) (*SdkUpdateRebalanceJobResponse, error)
	// GetRebalanceJobStatus returns rebalance status for specified job
	GetRebalanceJobStatus(context.Context, *SdkGetRebalanceJobStatusRequest) (*SdkGetRebalanceJobStatusResponse, error)
	// EnumerateRebalanceJobs returns all rebalance jobs currently known to the system
	EnumerateRebalanceJobs(context.Context, *SdkEnumerateRebalanceJobsRequest) (*SdkEnumerateRebalanceJobsResponse, error)
}

OpenStoragePoolServer is the server API for OpenStoragePool service.

type OpenStorageRoleClient

type OpenStorageRoleClient interface {
	// Create a role for users in the system
	Create(ctx context.Context, in *SdkRoleCreateRequest, opts ...grpc.CallOption) (*SdkRoleCreateResponse, error)
	// List all roles
	Enumerate(ctx context.Context, in *SdkRoleEnumerateRequest, opts ...grpc.CallOption) (*SdkRoleEnumerateResponse, error)
	// Get information about a role
	Inspect(ctx context.Context, in *SdkRoleInspectRequest, opts ...grpc.CallOption) (*SdkRoleInspectResponse, error)
	// Delete an existing role
	Delete(ctx context.Context, in *SdkRoleDeleteRequest, opts ...grpc.CallOption) (*SdkRoleDeleteResponse, error)
	// Update an existing role
	Update(ctx context.Context, in *SdkRoleUpdateRequest, opts ...grpc.CallOption) (*SdkRoleUpdateResponse, error)
}

OpenStorageRoleClient is the client API for OpenStorageRole service.

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

type OpenStorageRoleServer

type OpenStorageRoleServer interface {
	// Create a role for users in the system
	Create(context.Context, *SdkRoleCreateRequest) (*SdkRoleCreateResponse, error)
	// List all roles
	Enumerate(context.Context, *SdkRoleEnumerateRequest) (*SdkRoleEnumerateResponse, error)
	// Get information about a role
	Inspect(context.Context, *SdkRoleInspectRequest) (*SdkRoleInspectResponse, error)
	// Delete an existing role
	Delete(context.Context, *SdkRoleDeleteRequest) (*SdkRoleDeleteResponse, error)
	// Update an existing role
	Update(context.Context, *SdkRoleUpdateRequest) (*SdkRoleUpdateResponse, error)
}

OpenStorageRoleServer is the server API for OpenStorageRole service.

type OpenStorageSchedulePolicyClient

type OpenStorageSchedulePolicyClient interface {
	// Create creates a new snapshot schedule. They can be setup daily,
	// weekly, or monthly.
	Create(ctx context.Context, in *SdkSchedulePolicyCreateRequest, opts ...grpc.CallOption) (*SdkSchedulePolicyCreateResponse, error)
	// Update a snapshot schedule
	Update(ctx context.Context, in *SdkSchedulePolicyUpdateRequest, opts ...grpc.CallOption) (*SdkSchedulePolicyUpdateResponse, error)
	// Enumerate returns a list of schedules
	Enumerate(ctx context.Context, in *SdkSchedulePolicyEnumerateRequest, opts ...grpc.CallOption) (*SdkSchedulePolicyEnumerateResponse, error)
	// Inspect returns information about a specified schedule
	Inspect(ctx context.Context, in *SdkSchedulePolicyInspectRequest, opts ...grpc.CallOption) (*SdkSchedulePolicyInspectResponse, error)
	// Delete removes a snapshot schedule
	Delete(ctx context.Context, in *SdkSchedulePolicyDeleteRequest, opts ...grpc.CallOption) (*SdkSchedulePolicyDeleteResponse, error)
}

OpenStorageSchedulePolicyClient is the client API for OpenStorageSchedulePolicy service.

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

type OpenStorageSchedulePolicyServer

type OpenStorageSchedulePolicyServer interface {
	// Create creates a new snapshot schedule. They can be setup daily,
	// weekly, or monthly.
	Create(context.Context, *SdkSchedulePolicyCreateRequest) (*SdkSchedulePolicyCreateResponse, error)
	// Update a snapshot schedule
	Update(context.Context, *SdkSchedulePolicyUpdateRequest) (*SdkSchedulePolicyUpdateResponse, error)
	// Enumerate returns a list of schedules
	Enumerate(context.Context, *SdkSchedulePolicyEnumerateRequest) (*SdkSchedulePolicyEnumerateResponse, error)
	// Inspect returns information about a specified schedule
	Inspect(context.Context, *SdkSchedulePolicyInspectRequest) (*SdkSchedulePolicyInspectResponse, error)
	// Delete removes a snapshot schedule
	Delete(context.Context, *SdkSchedulePolicyDeleteRequest) (*SdkSchedulePolicyDeleteResponse, error)
}

OpenStorageSchedulePolicyServer is the server API for OpenStorageSchedulePolicy service.

type OpenStorageVolumeClient

type OpenStorageVolumeClient interface {
	// Create creates a volume according to the specification provided
	//
	// Requires access AccessType.Read when cloning from a parent volume.
	//
	// ##### Example
	// {% codetabs name="Golang", type="go" -%}
	// id, err := client.Create(context.Background(), &api.SdkVolumeCreateRequest{
	//   Name: "volume-12345-east",
	//   Spec: &api.VolumeSpec {
	//     Size: 1234567,
	//   },
	// })
	// {%- language name="Python", type="py" -%}
	// en_resp = client.Create(api_pb2.SdkVolumeCreateRequest(
	//   name="volume-12345-east",
	//   spec=api_pb2.VolumeSpec(size=1234567)))
	// {%- endcodetabs %}
	Create(ctx context.Context, in *SdkVolumeCreateRequest, opts ...grpc.CallOption) (*SdkVolumeCreateResponse, error)
	// Clone creates a new writable volume cloned from an existing volume
	//
	// Requires access AccessType.Read of volume
	Clone(ctx context.Context, in *SdkVolumeCloneRequest, opts ...grpc.CallOption) (*SdkVolumeCloneResponse, error)
	// Delete deletes the provided volume
	//
	// Requires access AccessType.Admin of volume
	Delete(ctx context.Context, in *SdkVolumeDeleteRequest, opts ...grpc.CallOption) (*SdkVolumeDeleteResponse, error)
	// Inspect returns information about a volume
	//
	// Requires access AccessType.Read of volume
	Inspect(ctx context.Context, in *SdkVolumeInspectRequest, opts ...grpc.CallOption) (*SdkVolumeInspectResponse, error)
	// Returns information for a list of volumes that match a filter.
	// This call is a helper function like calling
	// `OpenStorageVolume.EnumerateWithFilters` then having it
	// return the contents of each of those volumes
	// `OpenStorageVolume.Inspect()`. Take care in using this call
	// when requesting large number of volumes because it will
	// block until it has all the information requested before
	// returning.
	InspectWithFilters(ctx context.Context, in *SdkVolumeInspectWithFiltersRequest, opts ...grpc.CallOption) (*SdkVolumeInspectWithFiltersResponse, error)
	// Update provides a method for manipulating the specification and attributes of a volume.
	// Set can be used to resize a volume, update labels, change replica count, and much more.
	//
	// Requires access AccessType.Write of volume
	Update(ctx context.Context, in *SdkVolumeUpdateRequest, opts ...grpc.CallOption) (*SdkVolumeUpdateResponse, error)
	// Stats returns the statistics for the requested volume
	//
	// Requires access AccessType.Read of volume
	Stats(ctx context.Context, in *SdkVolumeStatsRequest, opts ...grpc.CallOption) (*SdkVolumeStatsResponse, error)
	// CapacityUsage returns volume/snapshot's capacity usage details
	//
	// Requires access AccessType.Read of volume
	//
	// ##### Error codes:
	//
	// * codes.Aborted : Command was aborted and only total_bytes field is valid
	// * code.Unimmplemented : Command is not suported this kernel.Only total_bytes
	// field is valid;
	CapacityUsage(ctx context.Context, in *SdkVolumeCapacityUsageRequest, opts ...grpc.CallOption) (*SdkVolumeCapacityUsageResponse, error)
	// Enumerate returns a list of volume ids
	Enumerate(ctx context.Context, in *SdkVolumeEnumerateRequest, opts ...grpc.CallOption) (*SdkVolumeEnumerateResponse, error)
	// Enumerate returns a list of volume ids that match the labels if any are provided.
	EnumerateWithFilters(ctx context.Context, in *SdkVolumeEnumerateWithFiltersRequest, opts ...grpc.CallOption) (*SdkVolumeEnumerateWithFiltersResponse, error)
	// SnapshotCreate creates a snapshot of a volume. This creates an immutable (read-only),
	// point-in-time snapshot of a volume. To create a new writable volume from
	// a snapshot, please use OpenStorageVolume.Clone().
	//
	// Requires access AccessType.Read of volume
	SnapshotCreate(ctx context.Context, in *SdkVolumeSnapshotCreateRequest, opts ...grpc.CallOption) (*SdkVolumeSnapshotCreateResponse, error)
	// SnapshotRestore restores a volume to a specified snapshot
	//
	// Requires access AccessType.Write of volume
	SnapshotRestore(ctx context.Context, in *SdkVolumeSnapshotRestoreRequest, opts ...grpc.CallOption) (*SdkVolumeSnapshotRestoreResponse, error)
	// SnapshotEnumerate returns a list of snapshots for a specific volume
	SnapshotEnumerate(ctx context.Context, in *SdkVolumeSnapshotEnumerateRequest, opts ...grpc.CallOption) (*SdkVolumeSnapshotEnumerateResponse, error)
	// SnapshotEnumerate returns a list of snapshots.
	// To filter all the snapshots for a specific volume which may no longer exist,
	// specify a volume id.
	// Labels can also be used to filter the snapshot list.
	// If neither are provided all snapshots will be returned.
	SnapshotEnumerateWithFilters(ctx context.Context, in *SdkVolumeSnapshotEnumerateWithFiltersRequest, opts ...grpc.CallOption) (*SdkVolumeSnapshotEnumerateWithFiltersResponse, error)
	// Sets the snapshot schedules. This information is saved in the VolumeSpec.snapshot_schedule
	// as `policy=<name>,...`. This function will overwrite any policy values
	// in the volume. To delete the policies in the volume send no policies.
	//
	// Requires access AccessType.Write of volume
	SnapshotScheduleUpdate(ctx context.Context, in *SdkVolumeSnapshotScheduleUpdateRequest, opts ...grpc.CallOption) (*SdkVolumeSnapshotScheduleUpdateResponse, error)
	// Gets the volume catalog of an attached and mounted volume.
	// Returns the entire tree up to "n"  depth (default is all of it)
	// Takes a path that can be used as the new root for the catalog request.
	VolumeCatalog(ctx context.Context, in *SdkVolumeCatalogRequest, opts ...grpc.CallOption) (*SdkVolumeCatalogResponse, error)
}

OpenStorageVolumeClient is the client API for OpenStorageVolume service.

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

type OpenStorageVolumeServer

type OpenStorageVolumeServer interface {
	// Create creates a volume according to the specification provided
	//
	// Requires access AccessType.Read when cloning from a parent volume.
	//
	// ##### Example
	// {% codetabs name="Golang", type="go" -%}
	// id, err := client.Create(context.Background(), &api.SdkVolumeCreateRequest{
	//   Name: "volume-12345-east",
	//   Spec: &api.VolumeSpec {
	//     Size: 1234567,
	//   },
	// })
	// {%- language name="Python", type="py" -%}
	// en_resp = client.Create(api_pb2.SdkVolumeCreateRequest(
	//   name="volume-12345-east",
	//   spec=api_pb2.VolumeSpec(size=1234567)))
	// {%- endcodetabs %}
	Create(context.Context, *SdkVolumeCreateRequest) (*SdkVolumeCreateResponse, error)
	// Clone creates a new writable volume cloned from an existing volume
	//
	// Requires access AccessType.Read of volume
	Clone(context.Context, *SdkVolumeCloneRequest) (*SdkVolumeCloneResponse, error)
	// Delete deletes the provided volume
	//
	// Requires access AccessType.Admin of volume
	Delete(context.Context, *SdkVolumeDeleteRequest) (*SdkVolumeDeleteResponse, error)
	// Inspect returns information about a volume
	//
	// Requires access AccessType.Read of volume
	Inspect(context.Context, *SdkVolumeInspectRequest) (*SdkVolumeInspectResponse, error)
	// Returns information for a list of volumes that match a filter.
	// This call is a helper function like calling
	// `OpenStorageVolume.EnumerateWithFilters` then having it
	// return the contents of each of those volumes
	// `OpenStorageVolume.Inspect()`. Take care in using this call
	// when requesting large number of volumes because it will
	// block until it has all the information requested before
	// returning.
	InspectWithFilters(context.Context, *SdkVolumeInspectWithFiltersRequest) (*SdkVolumeInspectWithFiltersResponse, error)
	// Update provides a method for manipulating the specification and attributes of a volume.
	// Set can be used to resize a volume, update labels, change replica count, and much more.
	//
	// Requires access AccessType.Write of volume
	Update(context.Context, *SdkVolumeUpdateRequest) (*SdkVolumeUpdateResponse, error)
	// Stats returns the statistics for the requested volume
	//
	// Requires access AccessType.Read of volume
	Stats(context.Context, *SdkVolumeStatsRequest) (*SdkVolumeStatsResponse, error)
	// CapacityUsage returns volume/snapshot's capacity usage details
	//
	// Requires access AccessType.Read of volume
	//
	// ##### Error codes:
	//
	// * codes.Aborted : Command was aborted and only total_bytes field is valid
	// * code.Unimmplemented : Command is not suported this kernel.Only total_bytes
	// field is valid;
	CapacityUsage(context.Context, *SdkVolumeCapacityUsageRequest) (*SdkVolumeCapacityUsageResponse, error)
	// Enumerate returns a list of volume ids
	Enumerate(context.Context, *SdkVolumeEnumerateRequest) (*SdkVolumeEnumerateResponse, error)
	// Enumerate returns a list of volume ids that match the labels if any are provided.
	EnumerateWithFilters(context.Context, *SdkVolumeEnumerateWithFiltersRequest) (*SdkVolumeEnumerateWithFiltersResponse, error)
	// SnapshotCreate creates a snapshot of a volume. This creates an immutable (read-only),
	// point-in-time snapshot of a volume. To create a new writable volume from
	// a snapshot, please use OpenStorageVolume.Clone().
	//
	// Requires access AccessType.Read of volume
	SnapshotCreate(context.Context, *SdkVolumeSnapshotCreateRequest) (*SdkVolumeSnapshotCreateResponse, error)
	// SnapshotRestore restores a volume to a specified snapshot
	//
	// Requires access AccessType.Write of volume
	SnapshotRestore(context.Context, *SdkVolumeSnapshotRestoreRequest) (*SdkVolumeSnapshotRestoreResponse, error)
	// SnapshotEnumerate returns a list of snapshots for a specific volume
	SnapshotEnumerate(context.Context, *SdkVolumeSnapshotEnumerateRequest) (*SdkVolumeSnapshotEnumerateResponse, error)
	// SnapshotEnumerate returns a list of snapshots.
	// To filter all the snapshots for a specific volume which may no longer exist,
	// specify a volume id.
	// Labels can also be used to filter the snapshot list.
	// If neither are provided all snapshots will be returned.
	SnapshotEnumerateWithFilters(context.Context, *SdkVolumeSnapshotEnumerateWithFiltersRequest) (*SdkVolumeSnapshotEnumerateWithFiltersResponse, error)
	// Sets the snapshot schedules. This information is saved in the VolumeSpec.snapshot_schedule
	// as `policy=<name>,...`. This function will overwrite any policy values
	// in the volume. To delete the policies in the volume send no policies.
	//
	// Requires access AccessType.Write of volume
	SnapshotScheduleUpdate(context.Context, *SdkVolumeSnapshotScheduleUpdateRequest) (*SdkVolumeSnapshotScheduleUpdateResponse, error)
	// Gets the volume catalog of an attached and mounted volume.
	// Returns the entire tree up to "n"  depth (default is all of it)
	// Takes a path that can be used as the new root for the catalog request.
	VolumeCatalog(context.Context, *SdkVolumeCatalogRequest) (*SdkVolumeCatalogResponse, error)
}

OpenStorageVolumeServer is the server API for OpenStorageVolume service.

type OperationFlags

type OperationFlags int32
const (
	OperationFlags_OP_FLAGS_UNKNOWN OperationFlags = 0
	OperationFlags_OP_FLAGS_NONE    OperationFlags = 1
	// Perform a force_detach during detach operation
	OperationFlags_OP_FLAGS_DETACH_FORCE OperationFlags = 2
)

func (OperationFlags) Descriptor

func (OperationFlags) Enum

func (x OperationFlags) Enum() *OperationFlags

func (OperationFlags) EnumDescriptor deprecated

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

Deprecated: Use OperationFlags.Descriptor instead.

func (OperationFlags) Number

func (OperationFlags) String

func (x OperationFlags) String() string

func (OperationFlags) Type

type Ownership

type Ownership struct {

	// Username of owner.
	//
	// The storage system uses the username taken from the security authorization
	// token and is saved on this field. Only users with system administration
	// can edit this value.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// Permissions to share resource which can be set by the owner.
	//
	// NOTE: To create an "admin" user which has access to any resource set the group value
	// in the token of the user to `*`.
	Acls *Ownership_AccessControl `protobuf:"bytes,2,opt,name=acls,proto3" json:"acls,omitempty"`
	// contains filtered or unexported fields
}

Ownership information for resource. Administrators are users who belong to the group `*`, meaning, every group.

func OwnershipSetUsernameFromContext

func OwnershipSetUsernameFromContext(ctx context.Context, srcOwnership *Ownership) *Ownership

OwnershipSetUsernameFromContext is used to create a new ownership object for a volume. It takes an ownership value if passed in by the user, then sets the `owner` value to the user name referred to in the user context

func (*Ownership) Descriptor deprecated

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

Deprecated: Use Ownership.ProtoReflect.Descriptor instead.

func (*Ownership) GetAcls

func (x *Ownership) GetAcls() *Ownership_AccessControl

func (*Ownership) GetCollaborators

func (o *Ownership) GetCollaborators() map[string]Ownership_AccessType

GetCollaborators returns the collaborators in the ownership

func (*Ownership) GetGroups

func (o *Ownership) GetGroups() map[string]Ownership_AccessType

GetGroups returns the groups in the ownership

func (*Ownership) GetOwner

func (x *Ownership) GetOwner() string

func (*Ownership) HasAnOwner

func (o *Ownership) HasAnOwner() bool

HasAnOwner returns true if the resource has an owner

func (*Ownership) IsAccessPermittedByPublic

func (o *Ownership) IsAccessPermittedByPublic(accessType Ownership_AccessType) bool

IsAccessPermittedByPublic returns true if access is permitted for public user

func (*Ownership) IsAdminByUser

func (o *Ownership) IsAdminByUser(user *auth.UserInfo) bool

IsAdminByUser returns true if the user is an ownership admin, meaning, that they belong to any group

func (*Ownership) IsMatch

func (o *Ownership) IsMatch(check *Ownership) bool

IsMatch returns true if the ownership has at least one similar owner, group, or collaborator

func (*Ownership) IsOwner

func (o *Ownership) IsOwner(user *auth.UserInfo) bool

IsOwner returns if the user is the owner of the resource

func (*Ownership) IsPermitted

func (o *Ownership) IsPermitted(
	user *auth.UserInfo,
	accessType Ownership_AccessType,
) bool

IsPermitted returns true if the user has access to the resource according to the ownership. If there is no owner, then it is public

func (*Ownership) IsPermittedByContext

func (o *Ownership) IsPermittedByContext(
	ctx context.Context,
	accessType Ownership_AccessType) bool

IsPermittedByContext returns true if the user captured in the context has permission to access the resource

func (*Ownership) IsPublic

func (o *Ownership) IsPublic(accessType Ownership_AccessType) bool

IsPublic returns true if public access is set or there is no ownership in this resource

func (*Ownership) IsUserAllowedByCollaborators

func (o *Ownership) IsUserAllowedByCollaborators(
	user *auth.UserInfo,
	accessType Ownership_AccessType,
) bool

IsUserAllowedByCollaborators returns true if the user is allowed access because they are part of the collaborators list

func (*Ownership) IsUserAllowedByGroup

func (o *Ownership) IsUserAllowedByGroup(
	user *auth.UserInfo,
	accessType Ownership_AccessType,
) bool

IsUserAllowedByGroup returns true if the user is allowed access by belonging to the appropriate group

func (*Ownership) ProtoMessage

func (*Ownership) ProtoMessage()

func (*Ownership) ProtoReflect

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

func (*Ownership) Reset

func (x *Ownership) Reset()

func (*Ownership) String

func (x *Ownership) String() string

func (*Ownership) Update

func (o *Ownership) Update(newownerInfo *Ownership, user *auth.UserInfo) error

Update can be used to update an ownership with new ownership information. It takes into account who is trying to change the ownership values

type Ownership_AccessControl

type Ownership_AccessControl struct {

	// Group access to resource which must match the group set in the
	// authorization token.
	// Can be set by the owner or the system administrator only.
	// Possible values are:
	// 1. no groups: Means no groups are given access.
	// 2. `["*"]`: All groups are allowed.
	// 3. `["group1", "group2"]`: Only certain groups are allowed. In this example only
	// _group1_ and _group2_ are allowed.
	Groups map[string]Ownership_AccessType `` /* 196-byte string literal not displayed */
	// Collaborator access to resource gives access to other user.
	// Must be the username (unique id) set in the authorization token.
	// The owner or the administrator can set this value. Possible values are:
	// 1. no collaborators: Means no users are given access.
	// 2. `["*"]`: All users are allowed.
	// 3. `["username1", "username2"]`: Only certain usernames are allowed. In this example only
	// _username1_ and _username2_ are allowed.
	Collaborators map[string]Ownership_AccessType `` /* 210-byte string literal not displayed */
	// Public access to resource may be assigned for access by the public userd
	Public *Ownership_PublicAccessControl `protobuf:"bytes,3,opt,name=public,proto3" json:"public,omitempty"`
	// contains filtered or unexported fields
}

func (*Ownership_AccessControl) Descriptor deprecated

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

Deprecated: Use Ownership_AccessControl.ProtoReflect.Descriptor instead.

func (*Ownership_AccessControl) GetCollaborators

func (x *Ownership_AccessControl) GetCollaborators() map[string]Ownership_AccessType

func (*Ownership_AccessControl) GetGroups

func (*Ownership_AccessControl) GetPublic

func (*Ownership_AccessControl) ProtoMessage

func (*Ownership_AccessControl) ProtoMessage()

func (*Ownership_AccessControl) ProtoReflect

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

func (*Ownership_AccessControl) Reset

func (x *Ownership_AccessControl) Reset()

func (*Ownership_AccessControl) String

func (x *Ownership_AccessControl) String() string

type Ownership_AccessType

type Ownership_AccessType int32

Access types can be set by owner to have different levels of access to a resource.

It is up to the resource to interpret what the types mean and are used for.

const (
	// Read access only and cannot affect the resource.
	Ownership_Read Ownership_AccessType = 0
	// Write access and can affect the resource.
	// This type automatically provides Read access also.
	Ownership_Write Ownership_AccessType = 1
	// Administrator access.
	// This type automatically provides Read and Write access also.
	Ownership_Admin Ownership_AccessType = 2
)

func (Ownership_AccessType) Descriptor

func (Ownership_AccessType) Enum

func (Ownership_AccessType) EnumDescriptor deprecated

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

Deprecated: Use Ownership_AccessType.Descriptor instead.

func (Ownership_AccessType) Number

func (Ownership_AccessType) String

func (x Ownership_AccessType) String() string

func (Ownership_AccessType) Type

type Ownership_PublicAccessControl

type Ownership_PublicAccessControl struct {

	// AccessType declares which level of public access is allowed
	Type Ownership_AccessType `protobuf:"varint,1,opt,name=type,proto3,enum=openstorage.api.Ownership_AccessType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

PublicAccessControl allows assigning public ownership

func (*Ownership_PublicAccessControl) Descriptor deprecated

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

Deprecated: Use Ownership_PublicAccessControl.ProtoReflect.Descriptor instead.

func (*Ownership_PublicAccessControl) GetType

func (*Ownership_PublicAccessControl) ProtoMessage

func (*Ownership_PublicAccessControl) ProtoMessage()

func (*Ownership_PublicAccessControl) ProtoReflect

func (*Ownership_PublicAccessControl) Reset

func (x *Ownership_PublicAccessControl) Reset()

func (*Ownership_PublicAccessControl) String

type PXDProxySpec

type PXDProxySpec struct {

	// ID of the remote portworx volume
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

PXDProxySpec is the spec for proxying a Portworx volume

func (*PXDProxySpec) Descriptor deprecated

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

Deprecated: Use PXDProxySpec.ProtoReflect.Descriptor instead.

func (*PXDProxySpec) GetId

func (x *PXDProxySpec) GetId() string

func (*PXDProxySpec) ProtoMessage

func (*PXDProxySpec) ProtoMessage()

func (*PXDProxySpec) ProtoReflect

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

func (*PXDProxySpec) Reset

func (x *PXDProxySpec) Reset()

func (*PXDProxySpec) String

func (x *PXDProxySpec) String() string

type ProxyProtocol

type ProxyProtocol int32

ProxyProtocol defines the protocol used for proxy.

const (
	// Invalid uninitialized value
	ProxyProtocol_PROXY_PROTOCOL_INVALID ProxyProtocol = 0
	// NFS indicates that the external data source is NFS and the volume
	// will be reflected over NFS protocol
	ProxyProtocol_PROXY_PROTOCOL_NFS ProxyProtocol = 1
	// S3 indicates that the external data source is an object store.
	ProxyProtocol_PROXY_PROTOCOL_S3 ProxyProtocol = 2
	// PXD indicates that the external data source is a Portworx block volume.
	ProxyProtocol_PROXY_PROTOCOL_PXD ProxyProtocol = 3
	// PURE_BLOCK indicates that the external data source is a pure_block volume.
	ProxyProtocol_PROXY_PROTOCOL_PURE_BLOCK ProxyProtocol = 4
	// PURE_FILE indicates that the external data source is a pure_file volume.
	ProxyProtocol_PROXY_PROTOCOL_PURE_FILE ProxyProtocol = 5
)

func ParseProxyEndpoint

func ParseProxyEndpoint(proxyEndpoint string) (ProxyProtocol, string)

ParseProxyEndpoint parses the proxy endpoint and returns the proxy protocol and the endpoint

func ProxyProtocolSimpleValueOf

func ProxyProtocolSimpleValueOf(s string) (ProxyProtocol, error)

ProxyProtocolSimpleValueOf returns the string format of ProxyProtocol

func (ProxyProtocol) Descriptor

func (ProxyProtocol) Enum

func (x ProxyProtocol) Enum() *ProxyProtocol

func (ProxyProtocol) EnumDescriptor deprecated

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

Deprecated: Use ProxyProtocol.Descriptor instead.

func (ProxyProtocol) Number

func (ProxyProtocol) SimpleString

func (x ProxyProtocol) SimpleString() string

SimpleString returns the string format of ProxyProtocol

func (ProxyProtocol) String

func (x ProxyProtocol) String() string

func (ProxyProtocol) Type

type ProxySpec

type ProxySpec struct {

	// ProxyProtocol defines the protocol used for proxy.
	ProxyProtocol ProxyProtocol `` /* 136-byte string literal not displayed */
	// Endpoint is the external endpoint which can be used for accessing the
	// external data source.
	Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// NFSProxySpec is the spec for proxying an NFS share
	NfsSpec *NFSProxySpec `protobuf:"bytes,3,opt,name=nfs_spec,json=nfsSpec,proto3" json:"nfs_spec,omitempty"`
	// S3ProxySpec is the spec for proxying an external object store
	S3Spec *S3ProxySpec `protobuf:"bytes,4,opt,name=s3_spec,json=s3Spec,proto3" json:"s3_spec,omitempty"`
	// PXDProxySpec is the spec for proxying a Portworx volume
	PxdSpec *PXDProxySpec `protobuf:"bytes,5,opt,name=pxd_spec,json=pxdSpec,proto3" json:"pxd_spec,omitempty"`
	// PureFileSpec is the spec for proxying a volume on pure_file backends
	PureBlockSpec *PureBlockSpec `protobuf:"bytes,6,opt,name=pure_block_spec,json=pureBlockSpec,proto3" json:"pure_block_spec,omitempty"`
	// PureFileSpec is the spec for proxying a volume on pure_file backends
	PureFileSpec *PureFileSpec `protobuf:"bytes,7,opt,name=pure_file_spec,json=pureFileSpec,proto3" json:"pure_file_spec,omitempty"`
	// contains filtered or unexported fields
}

ProxySpec defines how this volume will reflect an external data source.

func (*ProxySpec) Descriptor deprecated

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

Deprecated: Use ProxySpec.ProtoReflect.Descriptor instead.

func (*ProxySpec) GetEndpoint

func (x *ProxySpec) GetEndpoint() string

func (*ProxySpec) GetNfsSpec

func (x *ProxySpec) GetNfsSpec() *NFSProxySpec

func (*ProxySpec) GetProxyProtocol

func (x *ProxySpec) GetProxyProtocol() ProxyProtocol

func (*ProxySpec) GetPureBlockSpec

func (x *ProxySpec) GetPureBlockSpec() *PureBlockSpec

func (*ProxySpec) GetPureFileSpec

func (x *ProxySpec) GetPureFileSpec() *PureFileSpec

func (*ProxySpec) GetPxdSpec

func (x *ProxySpec) GetPxdSpec() *PXDProxySpec

func (*ProxySpec) GetS3Spec

func (x *ProxySpec) GetS3Spec() *S3ProxySpec

func (*ProxySpec) IsPureBackend

func (s *ProxySpec) IsPureBackend() bool

func (*ProxySpec) ProtoMessage

func (*ProxySpec) ProtoMessage()

func (*ProxySpec) ProtoReflect

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

func (*ProxySpec) Reset

func (x *ProxySpec) Reset()

func (*ProxySpec) String

func (x *ProxySpec) String() string

type PureBlockSpec

type PureBlockSpec struct {
	SerialNum   string `protobuf:"bytes,1,opt,name=serial_num,json=serialNum,proto3" json:"serial_num,omitempty"`
	FullVolName string `protobuf:"bytes,2,opt,name=full_vol_name,json=fullVolName,proto3" json:"full_vol_name,omitempty"`
	// contains filtered or unexported fields
}

PureBlockSpec is the spec for proxying a volume on pure_block backends

func (*PureBlockSpec) Descriptor deprecated

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

Deprecated: Use PureBlockSpec.ProtoReflect.Descriptor instead.

func (*PureBlockSpec) GetFullVolName

func (x *PureBlockSpec) GetFullVolName() string

func (*PureBlockSpec) GetSerialNum

func (x *PureBlockSpec) GetSerialNum() string

func (*PureBlockSpec) ProtoMessage

func (*PureBlockSpec) ProtoMessage()

func (*PureBlockSpec) ProtoReflect

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

func (*PureBlockSpec) Reset

func (x *PureBlockSpec) Reset()

func (*PureBlockSpec) String

func (x *PureBlockSpec) String() string

type PureFileSpec

type PureFileSpec struct {
	ExportRules string `protobuf:"bytes,1,opt,name=export_rules,json=exportRules,proto3" json:"export_rules,omitempty"`
	FullVolName string `protobuf:"bytes,2,opt,name=full_vol_name,json=fullVolName,proto3" json:"full_vol_name,omitempty"`
	// contains filtered or unexported fields
}

PureFileSpec is the spec for proxying a volume on pure_file backends

func (*PureFileSpec) Descriptor deprecated

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

Deprecated: Use PureFileSpec.ProtoReflect.Descriptor instead.

func (*PureFileSpec) GetExportRules

func (x *PureFileSpec) GetExportRules() string

func (*PureFileSpec) GetFullVolName

func (x *PureFileSpec) GetFullVolName() string

func (*PureFileSpec) ProtoMessage

func (*PureFileSpec) ProtoMessage()

func (*PureFileSpec) ProtoReflect

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

func (*PureFileSpec) Reset

func (x *PureFileSpec) Reset()

func (*PureFileSpec) String

func (x *PureFileSpec) String() string

type RelaxedReclaimPurge

type RelaxedReclaimPurge struct {

	// num_purged returns number of volumes purged
	NumPurged uint64 `protobuf:"varint,1,opt,name=num_purged,json=numPurged,proto3" json:"num_purged,omitempty"`
	// contains filtered or unexported fields
}

Purges the RelaxedReclaim queue

func (*RelaxedReclaimPurge) Descriptor deprecated

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

Deprecated: Use RelaxedReclaimPurge.ProtoReflect.Descriptor instead.

func (*RelaxedReclaimPurge) GetNumPurged

func (x *RelaxedReclaimPurge) GetNumPurged() uint64

func (*RelaxedReclaimPurge) ProtoMessage

func (*RelaxedReclaimPurge) ProtoMessage()

func (*RelaxedReclaimPurge) ProtoReflect

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

func (*RelaxedReclaimPurge) Reset

func (x *RelaxedReclaimPurge) Reset()

func (*RelaxedReclaimPurge) String

func (x *RelaxedReclaimPurge) String() string

type ReplicaPlacementSpec

type ReplicaPlacementSpec struct {

	// Weight defines the weight of the rule which allows to break the tie with other matching rules. A rule with
	// higher weight wins over a rule with lower weight.
	// (optional)
	Weight int64 `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"`
	// Enforcement specifies the rule enforcement policy. Can take values: required or preferred.
	// (optional)
	Enforcement EnforcementType `protobuf:"varint,2,opt,name=enforcement,proto3,enum=openstorage.api.EnforcementType" json:"enforcement,omitempty"`
	// AffectedReplicas defines the number of volume replicas affected by this rule. If not provided,
	// rule would affect all replicas
	// (optional)
	AffectedReplicas int32 `protobuf:"varint,3,opt,name=affected_replicas,json=affectedReplicas,proto3" json:"affected_replicas,omitempty"`
	// TopologyKey key for the matching all segments of the cluster topology with the same key
	// e.g If the key is failure-domain.beta.kubernetes.io/zone, this should match all nodes with
	// the same value for this key (i.e in the same zone)
	TopologyKey string `protobuf:"bytes,4,opt,name=topology_key,json=topologyKey,proto3" json:"topology_key,omitempty"`
	// MatchExpressions is a list of label selector requirements. The requirements are ANDed.
	MatchExpressions []*LabelSelectorRequirement `protobuf:"bytes,5,rep,name=match_expressions,json=matchExpressions,proto3" json:"match_expressions,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplicaPlacementSpec) Descriptor deprecated

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

Deprecated: Use ReplicaPlacementSpec.ProtoReflect.Descriptor instead.

func (*ReplicaPlacementSpec) GetAffectedReplicas

func (x *ReplicaPlacementSpec) GetAffectedReplicas() int32

func (*ReplicaPlacementSpec) GetEnforcement

func (x *ReplicaPlacementSpec) GetEnforcement() EnforcementType

func (*ReplicaPlacementSpec) GetMatchExpressions

func (x *ReplicaPlacementSpec) GetMatchExpressions() []*LabelSelectorRequirement

func (*ReplicaPlacementSpec) GetTopologyKey

func (x *ReplicaPlacementSpec) GetTopologyKey() string

func (*ReplicaPlacementSpec) GetWeight

func (x *ReplicaPlacementSpec) GetWeight() int64

func (*ReplicaPlacementSpec) ProtoMessage

func (*ReplicaPlacementSpec) ProtoMessage()

func (*ReplicaPlacementSpec) ProtoReflect

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

func (*ReplicaPlacementSpec) Reset

func (x *ReplicaPlacementSpec) Reset()

func (*ReplicaPlacementSpec) String

func (x *ReplicaPlacementSpec) String() string

type ReplicaSet

type ReplicaSet struct {
	Nodes []string `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// Unique IDs of the storage pools for this replica set
	PoolUuids []string `protobuf:"bytes,2,rep,name=pool_uuids,json=poolUuids,proto3" json:"pool_uuids,omitempty"`
	// ID is the unique ID of this replica set
	Id uint32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

ReplicaSet set of machine IDs (nodes) to which part of this volume is erasure coded - for clustered storage arrays

func (*ReplicaSet) Descriptor deprecated

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

Deprecated: Use ReplicaSet.ProtoReflect.Descriptor instead.

func (*ReplicaSet) GetId

func (x *ReplicaSet) GetId() uint32

func (*ReplicaSet) GetNodes

func (x *ReplicaSet) GetNodes() []string

func (*ReplicaSet) GetPoolUuids

func (x *ReplicaSet) GetPoolUuids() []string

func (*ReplicaSet) ProtoMessage

func (*ReplicaSet) ProtoMessage()

func (*ReplicaSet) ProtoReflect

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

func (*ReplicaSet) Reset

func (x *ReplicaSet) Reset()

func (*ReplicaSet) String

func (x *ReplicaSet) String() string

type Report

type Report struct {

	// Directory count
	Directories int64 `protobuf:"varint,2,opt,name=directories,proto3" json:"directories,omitempty"`
	// File count
	Files int64 `protobuf:"varint,3,opt,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*Report) Descriptor deprecated

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

Deprecated: Use Report.ProtoReflect.Descriptor instead.

func (*Report) GetDirectories

func (x *Report) GetDirectories() int64

func (*Report) GetFiles

func (x *Report) GetFiles() int64

func (*Report) ProtoMessage

func (*Report) ProtoMessage()

func (*Report) ProtoReflect

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

func (*Report) Reset

func (x *Report) Reset()

func (*Report) String

func (x *Report) String() string

type ResourceType

type ResourceType int32
const (
	ResourceType_RESOURCE_TYPE_NONE    ResourceType = 0
	ResourceType_RESOURCE_TYPE_VOLUME  ResourceType = 1
	ResourceType_RESOURCE_TYPE_NODE    ResourceType = 2
	ResourceType_RESOURCE_TYPE_CLUSTER ResourceType = 3
	ResourceType_RESOURCE_TYPE_DRIVE   ResourceType = 4
	ResourceType_RESOURCE_TYPE_POOL    ResourceType = 5
)

func (ResourceType) Descriptor

func (ResourceType) Enum

func (x ResourceType) Enum() *ResourceType

func (ResourceType) EnumDescriptor deprecated

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

Deprecated: Use ResourceType.Descriptor instead.

func (ResourceType) Number

func (ResourceType) String

func (x ResourceType) String() string

func (ResourceType) Type

type RestoreParamBoolType

type RestoreParamBoolType int32
const (
	RestoreParamBoolType_PARAM_BKUPSRC RestoreParamBoolType = 0 // Default: whateever was cloudbakup's option for the parameter
	RestoreParamBoolType_PARAM_FALSE   RestoreParamBoolType = 1
	RestoreParamBoolType_PARAM_TRUE    RestoreParamBoolType = 2
)

func (RestoreParamBoolType) Descriptor

func (RestoreParamBoolType) Enum

func (RestoreParamBoolType) EnumDescriptor deprecated

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

Deprecated: Use RestoreParamBoolType.Descriptor instead.

func (RestoreParamBoolType) Number

func (RestoreParamBoolType) String

func (x RestoreParamBoolType) String() string

func (RestoreParamBoolType) Type

type RestoreVolSnashotSchedule

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

func (*RestoreVolSnashotSchedule) Descriptor deprecated

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

Deprecated: Use RestoreVolSnashotSchedule.ProtoReflect.Descriptor instead.

func (*RestoreVolSnashotSchedule) GetSchedule

func (x *RestoreVolSnashotSchedule) GetSchedule() string

func (*RestoreVolSnashotSchedule) ProtoMessage

func (*RestoreVolSnashotSchedule) ProtoMessage()

func (*RestoreVolSnashotSchedule) ProtoReflect

func (*RestoreVolSnashotSchedule) Reset

func (x *RestoreVolSnashotSchedule) Reset()

func (*RestoreVolSnashotSchedule) String

func (x *RestoreVolSnashotSchedule) String() string

type RestoreVolStoragePolicy

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

func (*RestoreVolStoragePolicy) Descriptor deprecated

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

Deprecated: Use RestoreVolStoragePolicy.ProtoReflect.Descriptor instead.

func (*RestoreVolStoragePolicy) GetPolicy

func (x *RestoreVolStoragePolicy) GetPolicy() string

func (*RestoreVolStoragePolicy) ProtoMessage

func (*RestoreVolStoragePolicy) ProtoMessage()

func (*RestoreVolStoragePolicy) ProtoReflect

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

func (*RestoreVolStoragePolicy) Reset

func (x *RestoreVolStoragePolicy) Reset()

func (*RestoreVolStoragePolicy) String

func (x *RestoreVolStoragePolicy) String() string

type RestoreVolumeSpec

type RestoreVolumeSpec struct {

	// HaLevel specifies the number of copies of data.
	HaLevel int64 `protobuf:"varint,1,opt,name=ha_level,json=haLevel,proto3" json:"ha_level,omitempty"`
	// Cos specifies the relative class of service.
	Cos CosType `protobuf:"varint,2,opt,name=cos,proto3,enum=openstorage.api.CosType" json:"cos,omitempty"`
	// IoProfile provides a hint about application using this volume. This field
	// is ignored if IoProfileBkupSrc is set true
	IoProfile IoProfile `protobuf:"varint,3,opt,name=io_profile,json=ioProfile,proto3,enum=openstorage.api.IoProfile" json:"io_profile,omitempty"`
	// SnapshotInterval in minutes, set to 0 to disable snapshots
	SnapshotInterval uint32 `protobuf:"varint,4,opt,name=snapshot_interval,json=snapshotInterval,proto3" json:"snapshot_interval,omitempty"`
	// Shared is true if this volume can be concurrently accessed by multiple users.
	Shared RestoreParamBoolType `protobuf:"varint,5,opt,name=shared,proto3,enum=openstorage.api.RestoreParamBoolType" json:"shared,omitempty"`
	// ReplicaSet is the desired set of nodes for the volume data.
	ReplicaSet *ReplicaSet `protobuf:"bytes,6,opt,name=replica_set,json=replicaSet,proto3" json:"replica_set,omitempty"`
	// Aggregation level Specifies the number of parts the volume can be aggregated from.
	AggregationLevel uint32 `protobuf:"varint,7,opt,name=aggregation_level,json=aggregationLevel,proto3" json:"aggregation_level,omitempty"`
	// SnapshotSchedule a well known string that specifies when snapshots should be taken.
	SnapshotSchedule *RestoreVolSnashotSchedule `protobuf:"bytes,8,opt,name=snapshot_schedule,json=snapshotSchedule,proto3" json:"snapshot_schedule,omitempty"`
	// Sticky volumes cannot be deleted until the flag is removed.
	Sticky RestoreParamBoolType `protobuf:"varint,9,opt,name=sticky,proto3,enum=openstorage.api.RestoreParamBoolType" json:"sticky,omitempty"`
	// Group identifies a consistency group
	Group *Group `protobuf:"bytes,10,opt,name=group,proto3" json:"group,omitempty"`
	// GroupEnforced is true if consistency group creation is enforced.
	GroupEnforced bool `protobuf:"varint,11,opt,name=group_enforced,json=groupEnforced,proto3" json:"group_enforced,omitempty"`
	// Journal is true if data for the volume goes into the journal.
	Journal RestoreParamBoolType `protobuf:"varint,12,opt,name=journal,proto3,enum=openstorage.api.RestoreParamBoolType" json:"journal,omitempty"`
	// Sharedv4 is true if this volume can be accessed via sharedv4.
	Sharedv4 RestoreParamBoolType `protobuf:"varint,13,opt,name=sharedv4,proto3,enum=openstorage.api.RestoreParamBoolType" json:"sharedv4,omitempty"`
	// QueueDepth defines the desired block device queue depth
	QueueDepth uint32 `protobuf:"varint,14,opt,name=queue_depth,json=queueDepth,proto3" json:"queue_depth,omitempty"`
	// Nodiscard specifies if the volume will be mounted with discard support disabled.
	// i.e. FS will not release allocated blocks back to the backing storage pool.
	Nodiscard RestoreParamBoolType `protobuf:"varint,15,opt,name=nodiscard,proto3,enum=openstorage.api.RestoreParamBoolType" json:"nodiscard,omitempty"`
	// IoStrategy preferred strategy for I/O.
	IoStrategy *IoStrategy `protobuf:"bytes,16,opt,name=io_strategy,json=ioStrategy,proto3" json:"io_strategy,omitempty"`
	// PlacementStrategy specifies a spec to indicate where to place the volume.
	PlacementStrategy *VolumePlacementStrategy `protobuf:"bytes,17,opt,name=placement_strategy,json=placementStrategy,proto3" json:"placement_strategy,omitempty"`
	// StoragePolicy if applied/specified while creating volume
	StoragePolicy *RestoreVolStoragePolicy `protobuf:"bytes,18,opt,name=storage_policy,json=storagePolicy,proto3" json:"storage_policy,omitempty"`
	// Ownership
	Ownership *Ownership `protobuf:"bytes,19,opt,name=ownership,proto3" json:"ownership,omitempty"`
	// ExportSpec defines how the volume should be exported.
	ExportSpec *ExportSpec `protobuf:"bytes,20,opt,name=export_spec,json=exportSpec,proto3" json:"export_spec,omitempty"`
	// fastpath extensions
	FpPreference RestoreParamBoolType `` /* 141-byte string literal not displayed */
	// MountOptions defines the options that should be used while mounting this volume
	MountOptions *MountOptions `protobuf:"bytes,22,opt,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
	// Sharedv4MountOptions defines the options that will be used while mounting a sharedv4 volume
	// from a node where the volume replica does not exist
	Sharedv4MountOptions *MountOptions `protobuf:"bytes,23,opt,name=sharedv4_mount_options,json=sharedv4MountOptions,proto3" json:"sharedv4_mount_options,omitempty"`
	// Proxy_write is true if proxy write replication is enabled for the volume
	ProxyWrite RestoreParamBoolType `` /* 135-byte string literal not displayed */
	// IoProfileBkupSrc indicates to inherit IoProfile from cloudbackup
	IoProfileBkupSrc bool `protobuf:"varint,25,opt,name=io_profile_bkup_src,json=ioProfileBkupSrc,proto3" json:"io_profile_bkup_src,omitempty"`
	// ProxySpec indicates that this volume is used for proxying an external data source
	ProxySpec *ProxySpec `protobuf:"bytes,26,opt,name=proxy_spec,json=proxySpec,proto3" json:"proxy_spec,omitempty"`
	// Sharedv4ServiceSpec specifies a spec for configuring a service for a sharedv4 volume
	Sharedv4ServiceSpec *Sharedv4ServiceSpec `protobuf:"bytes,27,opt,name=sharedv4_service_spec,json=sharedv4ServiceSpec,proto3" json:"sharedv4_service_spec,omitempty"`
	// Sharedv4Spec specifies common properties of sharedv4 and sharedv4 service volumes
	Sharedv4Spec *Sharedv4Spec `protobuf:"bytes,28,opt,name=sharedv4_spec,json=sharedv4Spec,proto3" json:"sharedv4_spec,omitempty"`
	// Autofstrim is true if automatic fstrim is enabled for the volume
	AutoFstrim RestoreParamBoolType `` /* 135-byte string literal not displayed */
	// IoThrottle specifies maximum io(iops/bandwidth) this volume is restricted to
	IoThrottle *IoThrottle `protobuf:"bytes,30,opt,name=io_throttle,json=ioThrottle,proto3" json:"io_throttle,omitempty"`
	// Enable readahead for the volume
	Readahead RestoreParamBoolType `protobuf:"varint,31,opt,name=readahead,proto3,enum=openstorage.api.RestoreParamBoolType" json:"readahead,omitempty"`
	// contains filtered or unexported fields
}

RestoreSpec allows some of the restore volume properties of to be modified while restoring the cloud baackup. All pointer fields with nil value will inherit corresponding field value from backup's spec.

func (*RestoreVolumeSpec) Descriptor deprecated

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

Deprecated: Use RestoreVolumeSpec.ProtoReflect.Descriptor instead.

func (*RestoreVolumeSpec) GetAggregationLevel

func (x *RestoreVolumeSpec) GetAggregationLevel() uint32

func (*RestoreVolumeSpec) GetAutoFstrim

func (x *RestoreVolumeSpec) GetAutoFstrim() RestoreParamBoolType

func (*RestoreVolumeSpec) GetCos

func (x *RestoreVolumeSpec) GetCos() CosType

func (*RestoreVolumeSpec) GetExportSpec

func (x *RestoreVolumeSpec) GetExportSpec() *ExportSpec

func (*RestoreVolumeSpec) GetFpPreference

func (x *RestoreVolumeSpec) GetFpPreference() RestoreParamBoolType

func (*RestoreVolumeSpec) GetGroup

func (x *RestoreVolumeSpec) GetGroup() *Group

func (*RestoreVolumeSpec) GetGroupEnforced

func (x *RestoreVolumeSpec) GetGroupEnforced() bool

func (*RestoreVolumeSpec) GetHaLevel

func (x *RestoreVolumeSpec) GetHaLevel() int64

func (*RestoreVolumeSpec) GetIoProfile

func (x *RestoreVolumeSpec) GetIoProfile() IoProfile

func (*RestoreVolumeSpec) GetIoProfileBkupSrc

func (x *RestoreVolumeSpec) GetIoProfileBkupSrc() bool

func (*RestoreVolumeSpec) GetIoStrategy

func (x *RestoreVolumeSpec) GetIoStrategy() *IoStrategy

func (*RestoreVolumeSpec) GetIoThrottle

func (x *RestoreVolumeSpec) GetIoThrottle() *IoThrottle

func (*RestoreVolumeSpec) GetJournal

func (x *RestoreVolumeSpec) GetJournal() RestoreParamBoolType

func (*RestoreVolumeSpec) GetMountOptions

func (x *RestoreVolumeSpec) GetMountOptions() *MountOptions

func (*RestoreVolumeSpec) GetNodiscard

func (x *RestoreVolumeSpec) GetNodiscard() RestoreParamBoolType

func (*RestoreVolumeSpec) GetOwnership

func (x *RestoreVolumeSpec) GetOwnership() *Ownership

func (*RestoreVolumeSpec) GetPlacementStrategy

func (x *RestoreVolumeSpec) GetPlacementStrategy() *VolumePlacementStrategy

func (*RestoreVolumeSpec) GetProxySpec

func (x *RestoreVolumeSpec) GetProxySpec() *ProxySpec

func (*RestoreVolumeSpec) GetProxyWrite

func (x *RestoreVolumeSpec) GetProxyWrite() RestoreParamBoolType

func (*RestoreVolumeSpec) GetQueueDepth

func (x *RestoreVolumeSpec) GetQueueDepth() uint32

func (*RestoreVolumeSpec) GetReadahead

func (x *RestoreVolumeSpec) GetReadahead() RestoreParamBoolType

func (*RestoreVolumeSpec) GetReplicaSet

func (x *RestoreVolumeSpec) GetReplicaSet() *ReplicaSet

func (*RestoreVolumeSpec) GetShared

func (x *RestoreVolumeSpec) GetShared() RestoreParamBoolType

func (*RestoreVolumeSpec) GetSharedv4

func (x *RestoreVolumeSpec) GetSharedv4() RestoreParamBoolType

func (*RestoreVolumeSpec) GetSharedv4MountOptions

func (x *RestoreVolumeSpec) GetSharedv4MountOptions() *MountOptions

func (*RestoreVolumeSpec) GetSharedv4ServiceSpec

func (x *RestoreVolumeSpec) GetSharedv4ServiceSpec() *Sharedv4ServiceSpec

func (*RestoreVolumeSpec) GetSharedv4Spec

func (x *RestoreVolumeSpec) GetSharedv4Spec() *Sharedv4Spec

func (*RestoreVolumeSpec) GetSnapshotInterval

func (x *RestoreVolumeSpec) GetSnapshotInterval() uint32

func (*RestoreVolumeSpec) GetSnapshotSchedule

func (x *RestoreVolumeSpec) GetSnapshotSchedule() *RestoreVolSnashotSchedule

func (*RestoreVolumeSpec) GetSticky

func (x *RestoreVolumeSpec) GetSticky() RestoreParamBoolType

func (*RestoreVolumeSpec) GetStoragePolicy

func (x *RestoreVolumeSpec) GetStoragePolicy() *RestoreVolStoragePolicy

func (*RestoreVolumeSpec) ProtoMessage

func (*RestoreVolumeSpec) ProtoMessage()

func (*RestoreVolumeSpec) ProtoReflect

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

func (*RestoreVolumeSpec) Reset

func (x *RestoreVolumeSpec) Reset()

func (*RestoreVolumeSpec) String

func (x *RestoreVolumeSpec) String() string

type RuntimeStateMap

type RuntimeStateMap struct {
	RuntimeState map[string]string `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

RuntimeStateMap is a list of name value mapping of driver specific runtime information.

func (*RuntimeStateMap) Descriptor deprecated

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

Deprecated: Use RuntimeStateMap.ProtoReflect.Descriptor instead.

func (*RuntimeStateMap) GetRuntimeState

func (x *RuntimeStateMap) GetRuntimeState() map[string]string

func (*RuntimeStateMap) ProtoMessage

func (*RuntimeStateMap) ProtoMessage()

func (*RuntimeStateMap) ProtoReflect

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

func (*RuntimeStateMap) Reset

func (x *RuntimeStateMap) Reset()

func (*RuntimeStateMap) String

func (x *RuntimeStateMap) String() string

type S3ProxySpec

type S3ProxySpec struct {

	// BucketName is the name of the bucket from the object store
	BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// contains filtered or unexported fields
}

S3ProxySpec is the spec for proxying an external object store.

func (*S3ProxySpec) Descriptor deprecated

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

Deprecated: Use S3ProxySpec.ProtoReflect.Descriptor instead.

func (*S3ProxySpec) GetBucketName

func (x *S3ProxySpec) GetBucketName() string

func (*S3ProxySpec) ProtoMessage

func (*S3ProxySpec) ProtoMessage()

func (*S3ProxySpec) ProtoReflect

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

func (*S3ProxySpec) Reset

func (x *S3ProxySpec) Reset()

func (*S3ProxySpec) String

func (x *S3ProxySpec) String() string

type ScanPolicy

type ScanPolicy struct {
	Trigger ScanPolicy_ScanTrigger `protobuf:"varint,1,opt,name=trigger,proto3,enum=openstorage.api.ScanPolicy_ScanTrigger" json:"trigger,omitempty"`
	Action  ScanPolicy_ScanAction  `protobuf:"varint,2,opt,name=action,proto3,enum=openstorage.api.ScanPolicy_ScanAction" json:"action,omitempty"`
	// contains filtered or unexported fields
}

ScanPolicy defines when a filesystem check is triggered and what action to take User can specify *one* of the following valid policies 1. trigger=SCAN_TRIGGER_ON_MOUNT, action=SCAN_ACTION_SCAN_ONLY 2. trigger=SCAN_TRIGGER_ON_MOUNT, action=SCAN_ACTION_SCAN_REPAIR 3. trigger=SCAN_TRIGGER_ON_NEXT_MOUNT, action=SCAN_ACTION_SCAN_ONLY 4. trigger=SCAN_TRIGGER_ON_NEXT_MOUNT, action=SCAN_ACTION_SCAN_REPAIR 5. trigger=SCAN_TRIGGER_NONE, action=SCAN_ACTION_NONE Note: When trigger == SCAN_TRIGGER_ON_NEXT_MOUNT, the associated action is performed once on the next mount and the scanpolicy gets reset to `trigger=SCAN_TRIGGER_NONE, action=SCAN_ACTION_NONE`, irrespective of the output of the action.

func (*ScanPolicy) Descriptor deprecated

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

Deprecated: Use ScanPolicy.ProtoReflect.Descriptor instead.

func (*ScanPolicy) GetAction

func (x *ScanPolicy) GetAction() ScanPolicy_ScanAction

func (*ScanPolicy) GetTrigger

func (x *ScanPolicy) GetTrigger() ScanPolicy_ScanTrigger

func (*ScanPolicy) ProtoMessage

func (*ScanPolicy) ProtoMessage()

func (*ScanPolicy) ProtoReflect

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

func (*ScanPolicy) Reset

func (x *ScanPolicy) Reset()

func (*ScanPolicy) String

func (x *ScanPolicy) String() string

type ScanPolicy_ScanAction

type ScanPolicy_ScanAction int32
const (
	ScanPolicy_SCAN_ACTION_NONE        ScanPolicy_ScanAction = 0
	ScanPolicy_SCAN_ACTION_SCAN_ONLY   ScanPolicy_ScanAction = 1
	ScanPolicy_SCAN_ACTION_SCAN_REPAIR ScanPolicy_ScanAction = 2
)

func ScanPolicy_ScanActionSimpleValueOf

func ScanPolicy_ScanActionSimpleValueOf(s string) (ScanPolicy_ScanAction, error)

ScanPolicyActioinValueof returns value of string

func (ScanPolicy_ScanAction) Descriptor

func (ScanPolicy_ScanAction) Enum

func (ScanPolicy_ScanAction) EnumDescriptor deprecated

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

Deprecated: Use ScanPolicy_ScanAction.Descriptor instead.

func (ScanPolicy_ScanAction) Number

func (ScanPolicy_ScanAction) SimpleString

func (x ScanPolicy_ScanAction) SimpleString() string

SimpleString returns the string format of ScanPolicy_ScanAction

func (ScanPolicy_ScanAction) String

func (x ScanPolicy_ScanAction) String() string

func (ScanPolicy_ScanAction) Type

type ScanPolicy_ScanTrigger

type ScanPolicy_ScanTrigger int32
const (
	ScanPolicy_SCAN_TRIGGER_NONE          ScanPolicy_ScanTrigger = 0
	ScanPolicy_SCAN_TRIGGER_ON_MOUNT      ScanPolicy_ScanTrigger = 1
	ScanPolicy_SCAN_TRIGGER_ON_NEXT_MOUNT ScanPolicy_ScanTrigger = 2
)

func ScanPolicy_ScanTriggerSimpleValueOf

func ScanPolicy_ScanTriggerSimpleValueOf(s string) (ScanPolicy_ScanTrigger, error)

ScanPolicyTriggerValueof returns value of string

func (ScanPolicy_ScanTrigger) Descriptor

func (ScanPolicy_ScanTrigger) Enum

func (ScanPolicy_ScanTrigger) EnumDescriptor deprecated

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

Deprecated: Use ScanPolicy_ScanTrigger.Descriptor instead.

func (ScanPolicy_ScanTrigger) Number

func (ScanPolicy_ScanTrigger) SimpleString

func (x ScanPolicy_ScanTrigger) SimpleString() string

SimpleString returns the string format of ScanPolicy_ScanTrigger

func (ScanPolicy_ScanTrigger) String

func (x ScanPolicy_ScanTrigger) String() string

func (ScanPolicy_ScanTrigger) Type

type SchedulerTopology

type SchedulerTopology struct {

	// Key-value pairs defining the topology of the node
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

SchedulerTopology defines the topology information of the storage node in scheduler context

func (*SchedulerTopology) Descriptor deprecated

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

Deprecated: Use SchedulerTopology.ProtoReflect.Descriptor instead.

func (*SchedulerTopology) GetLabels

func (x *SchedulerTopology) GetLabels() map[string]string

func (*SchedulerTopology) ProtoMessage

func (*SchedulerTopology) ProtoMessage()

func (*SchedulerTopology) ProtoReflect

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

func (*SchedulerTopology) Reset

func (x *SchedulerTopology) Reset()

func (*SchedulerTopology) String

func (x *SchedulerTopology) String() string

type SdkAlertsAlertTypeQuery

type SdkAlertsAlertTypeQuery struct {

	// Resource type used to build query.
	ResourceType ResourceType `` /* 132-byte string literal not displayed */
	// Alert type used to build query.
	AlertType int64 `protobuf:"varint,2,opt,name=alert_type,json=alertType,proto3" json:"alert_type,omitempty"`
	// contains filtered or unexported fields
}

SdkAlertsAlertTypeQuery queries for alerts using alert type and it requires that resource type be provided as well.

func (*SdkAlertsAlertTypeQuery) Descriptor deprecated

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

Deprecated: Use SdkAlertsAlertTypeQuery.ProtoReflect.Descriptor instead.

func (*SdkAlertsAlertTypeQuery) GetAlertType

func (x *SdkAlertsAlertTypeQuery) GetAlertType() int64

func (*SdkAlertsAlertTypeQuery) GetResourceType

func (x *SdkAlertsAlertTypeQuery) GetResourceType() ResourceType

func (*SdkAlertsAlertTypeQuery) ProtoMessage

func (*SdkAlertsAlertTypeQuery) ProtoMessage()

func (*SdkAlertsAlertTypeQuery) ProtoReflect

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

func (*SdkAlertsAlertTypeQuery) Reset

func (x *SdkAlertsAlertTypeQuery) Reset()

func (*SdkAlertsAlertTypeQuery) String

func (x *SdkAlertsAlertTypeQuery) String() string

type SdkAlertsCountSpan

type SdkAlertsCountSpan struct {

	// Min count of such alerts raised so far.
	MinCount int64 `protobuf:"varint,1,opt,name=min_count,json=minCount,proto3" json:"min_count,omitempty"`
	// Max count of such alerts raised so far.
	MaxCount int64 `protobuf:"varint,2,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
	// contains filtered or unexported fields
}

SdkAlertsCountSpan to store count range information.

func (*SdkAlertsCountSpan) Descriptor deprecated

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

Deprecated: Use SdkAlertsCountSpan.ProtoReflect.Descriptor instead.

func (*SdkAlertsCountSpan) GetMaxCount

func (x *SdkAlertsCountSpan) GetMaxCount() int64

func (*SdkAlertsCountSpan) GetMinCount

func (x *SdkAlertsCountSpan) GetMinCount() int64

func (*SdkAlertsCountSpan) ProtoMessage

func (*SdkAlertsCountSpan) ProtoMessage()

func (*SdkAlertsCountSpan) ProtoReflect

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

func (*SdkAlertsCountSpan) Reset

func (x *SdkAlertsCountSpan) Reset()

func (*SdkAlertsCountSpan) String

func (x *SdkAlertsCountSpan) String() string

type SdkAlertsDeleteRequest

type SdkAlertsDeleteRequest struct {

	// It takes a list of queries to find matching alerts.
	// Matching alerts are deleted.
	Queries []*SdkAlertsQuery `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"`
	// contains filtered or unexported fields
}

SdkAlertsDeleteRequest is a request message to delete alerts.

func (*SdkAlertsDeleteRequest) Descriptor deprecated

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

Deprecated: Use SdkAlertsDeleteRequest.ProtoReflect.Descriptor instead.

func (*SdkAlertsDeleteRequest) GetQueries

func (x *SdkAlertsDeleteRequest) GetQueries() []*SdkAlertsQuery

func (*SdkAlertsDeleteRequest) ProtoMessage

func (*SdkAlertsDeleteRequest) ProtoMessage()

func (*SdkAlertsDeleteRequest) ProtoReflect

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

func (*SdkAlertsDeleteRequest) Reset

func (x *SdkAlertsDeleteRequest) Reset()

func (*SdkAlertsDeleteRequest) String

func (x *SdkAlertsDeleteRequest) String() string

type SdkAlertsDeleteResponse

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

SdkAlertsDeleteResponse is empty.

func (*SdkAlertsDeleteResponse) Descriptor deprecated

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

Deprecated: Use SdkAlertsDeleteResponse.ProtoReflect.Descriptor instead.

func (*SdkAlertsDeleteResponse) ProtoMessage

func (*SdkAlertsDeleteResponse) ProtoMessage()

func (*SdkAlertsDeleteResponse) ProtoReflect

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

func (*SdkAlertsDeleteResponse) Reset

func (x *SdkAlertsDeleteResponse) Reset()

func (*SdkAlertsDeleteResponse) String

func (x *SdkAlertsDeleteResponse) String() string

type SdkAlertsEnumerateWithFiltersRequest

type SdkAlertsEnumerateWithFiltersRequest struct {

	// It is a list of queries to find matching alerts.
	// Output of each of these queries is added to a global pool
	// and returned as output of an RPC call.
	// In that sense alerts are fetched if they match any of the
	// queries.
	Queries []*SdkAlertsQuery `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"`
	// contains filtered or unexported fields
}

SdkAlertsEnumerateRequest is a request message to enumerate alerts.

func (*SdkAlertsEnumerateWithFiltersRequest) Descriptor deprecated

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

Deprecated: Use SdkAlertsEnumerateWithFiltersRequest.ProtoReflect.Descriptor instead.

func (*SdkAlertsEnumerateWithFiltersRequest) GetQueries

func (*SdkAlertsEnumerateWithFiltersRequest) ProtoMessage

func (*SdkAlertsEnumerateWithFiltersRequest) ProtoMessage()

func (*SdkAlertsEnumerateWithFiltersRequest) ProtoReflect

func (*SdkAlertsEnumerateWithFiltersRequest) Reset

func (*SdkAlertsEnumerateWithFiltersRequest) String

type SdkAlertsEnumerateWithFiltersResponse

type SdkAlertsEnumerateWithFiltersResponse struct {

	// Response contains a list of alerts.
	Alerts []*Alert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty"`
	// contains filtered or unexported fields
}

SdkAlertsEnumerateResponse is a list of alerts.

func (*SdkAlertsEnumerateWithFiltersResponse) Descriptor deprecated

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

Deprecated: Use SdkAlertsEnumerateWithFiltersResponse.ProtoReflect.Descriptor instead.

func (*SdkAlertsEnumerateWithFiltersResponse) GetAlerts

func (x *SdkAlertsEnumerateWithFiltersResponse) GetAlerts() []*Alert

func (*SdkAlertsEnumerateWithFiltersResponse) ProtoMessage

func (*SdkAlertsEnumerateWithFiltersResponse) ProtoMessage()

func (*SdkAlertsEnumerateWithFiltersResponse) ProtoReflect

func (*SdkAlertsEnumerateWithFiltersResponse) Reset

func (*SdkAlertsEnumerateWithFiltersResponse) String

type SdkAlertsOption

type SdkAlertsOption struct {

	// Types that are assignable to Opt:
	//	*SdkAlertsOption_MinSeverityType
	//	*SdkAlertsOption_IsCleared
	//	*SdkAlertsOption_TimeSpan
	//	*SdkAlertsOption_CountSpan
	Opt isSdkAlertsOption_Opt `protobuf_oneof:"opt"`
	// contains filtered or unexported fields
}

SdkAlertsOption contains options for filtering alerts.

func (*SdkAlertsOption) Descriptor deprecated

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

Deprecated: Use SdkAlertsOption.ProtoReflect.Descriptor instead.

func (*SdkAlertsOption) GetCountSpan

func (x *SdkAlertsOption) GetCountSpan() *SdkAlertsCountSpan

func (*SdkAlertsOption) GetIsCleared

func (x *SdkAlertsOption) GetIsCleared() bool

func (*SdkAlertsOption) GetMinSeverityType

func (x *SdkAlertsOption) GetMinSeverityType() SeverityType

func (*SdkAlertsOption) GetOpt

func (m *SdkAlertsOption) GetOpt() isSdkAlertsOption_Opt

func (*SdkAlertsOption) GetTimeSpan

func (x *SdkAlertsOption) GetTimeSpan() *SdkAlertsTimeSpan

func (*SdkAlertsOption) ProtoMessage

func (*SdkAlertsOption) ProtoMessage()

func (*SdkAlertsOption) ProtoReflect

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

func (*SdkAlertsOption) Reset

func (x *SdkAlertsOption) Reset()

func (*SdkAlertsOption) String

func (x *SdkAlertsOption) String() string

type SdkAlertsOption_CountSpan

type SdkAlertsOption_CountSpan struct {
	// Query using a count span in which alert count exists.
	CountSpan *SdkAlertsCountSpan `protobuf:"bytes,4,opt,name=count_span,json=countSpan,proto3,oneof"`
}

type SdkAlertsOption_IsCleared

type SdkAlertsOption_IsCleared struct {
	// Query using cleared flag.
	IsCleared bool `protobuf:"varint,2,opt,name=is_cleared,json=isCleared,proto3,oneof"`
}

type SdkAlertsOption_MinSeverityType

type SdkAlertsOption_MinSeverityType struct {
	// Query using minimum severity type.
	MinSeverityType SeverityType `protobuf:"varint,1,opt,name=min_severity_type,json=minSeverityType,proto3,enum=openstorage.api.SeverityType,oneof"`
}

type SdkAlertsOption_TimeSpan

type SdkAlertsOption_TimeSpan struct {
	// Query using a time span during which alert was last seen.
	TimeSpan *SdkAlertsTimeSpan `protobuf:"bytes,3,opt,name=time_span,json=timeSpan,proto3,oneof"`
}

type SdkAlertsQuery

type SdkAlertsQuery struct {

	// One of the query types can be used to build SdkAlertsQuery.
	//
	// Types that are assignable to Query:
	//	*SdkAlertsQuery_ResourceTypeQuery
	//	*SdkAlertsQuery_AlertTypeQuery
	//	*SdkAlertsQuery_ResourceIdQuery
	Query isSdkAlertsQuery_Query `protobuf_oneof:"query"`
	// Opts is a list of options associated with one of the queries.
	Opts []*SdkAlertsOption `protobuf:"bytes,4,rep,name=opts,proto3" json:"opts,omitempty"`
	// contains filtered or unexported fields
}

SdkAlertsQuery is one of the query types and a list of options. Each query object is one of the three query types and a list of options.

func (*SdkAlertsQuery) Descriptor deprecated

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

Deprecated: Use SdkAlertsQuery.ProtoReflect.Descriptor instead.

func (*SdkAlertsQuery) GetAlertTypeQuery

func (x *SdkAlertsQuery) GetAlertTypeQuery() *SdkAlertsAlertTypeQuery

func (*SdkAlertsQuery) GetOpts

func (x *SdkAlertsQuery) GetOpts() []*SdkAlertsOption

func (*SdkAlertsQuery) GetQuery

func (m *SdkAlertsQuery) GetQuery() isSdkAlertsQuery_Query

func (*SdkAlertsQuery) GetResourceIdQuery

func (x *SdkAlertsQuery) GetResourceIdQuery() *SdkAlertsResourceIdQuery

func (*SdkAlertsQuery) GetResourceTypeQuery

func (x *SdkAlertsQuery) GetResourceTypeQuery() *SdkAlertsResourceTypeQuery

func (*SdkAlertsQuery) ProtoMessage

func (*SdkAlertsQuery) ProtoMessage()

func (*SdkAlertsQuery) ProtoReflect

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

func (*SdkAlertsQuery) Reset

func (x *SdkAlertsQuery) Reset()

func (*SdkAlertsQuery) String

func (x *SdkAlertsQuery) String() string

type SdkAlertsQuery_AlertTypeQuery

type SdkAlertsQuery_AlertTypeQuery struct {
	// Query using alert type and resource type.
	AlertTypeQuery *SdkAlertsAlertTypeQuery `protobuf:"bytes,2,opt,name=alert_type_query,json=alertTypeQuery,proto3,oneof"`
}

type SdkAlertsQuery_ResourceIdQuery

type SdkAlertsQuery_ResourceIdQuery struct {
	// Query using resource id, alert type and resource type.
	ResourceIdQuery *SdkAlertsResourceIdQuery `protobuf:"bytes,3,opt,name=resource_id_query,json=resourceIdQuery,proto3,oneof"`
}

type SdkAlertsQuery_ResourceTypeQuery

type SdkAlertsQuery_ResourceTypeQuery struct {
	// Query only using resource type.
	ResourceTypeQuery *SdkAlertsResourceTypeQuery `protobuf:"bytes,1,opt,name=resource_type_query,json=resourceTypeQuery,proto3,oneof"`
}

type SdkAlertsResourceIdQuery

type SdkAlertsResourceIdQuery struct {

	// Resource type used to build query.
	ResourceType ResourceType `` /* 132-byte string literal not displayed */
	// Alert type used to build query.
	AlertType int64 `protobuf:"varint,2,opt,name=alert_type,json=alertType,proto3" json:"alert_type,omitempty"`
	// Resource ID used to build query.
	ResourceId string `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

SdkAlertsResourceIdQuery queries for alerts using resource id and it requires that both alert type and resource type be provided as well.

func (*SdkAlertsResourceIdQuery) Descriptor deprecated

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

Deprecated: Use SdkAlertsResourceIdQuery.ProtoReflect.Descriptor instead.

func (*SdkAlertsResourceIdQuery) GetAlertType

func (x *SdkAlertsResourceIdQuery) GetAlertType() int64

func (*SdkAlertsResourceIdQuery) GetResourceId

func (x *SdkAlertsResourceIdQuery) GetResourceId() string

func (*SdkAlertsResourceIdQuery) GetResourceType

func (x *SdkAlertsResourceIdQuery) GetResourceType() ResourceType

func (*SdkAlertsResourceIdQuery) ProtoMessage

func (*SdkAlertsResourceIdQuery) ProtoMessage()

func (*SdkAlertsResourceIdQuery) ProtoReflect

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

func (*SdkAlertsResourceIdQuery) Reset

func (x *SdkAlertsResourceIdQuery) Reset()

func (*SdkAlertsResourceIdQuery) String

func (x *SdkAlertsResourceIdQuery) String() string

type SdkAlertsResourceTypeQuery

type SdkAlertsResourceTypeQuery struct {

	// Resource type used to build query.
	ResourceType ResourceType `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

SdkAlertsResourceTypeQuery queries for alerts using only resource id.

func (*SdkAlertsResourceTypeQuery) Descriptor deprecated

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

Deprecated: Use SdkAlertsResourceTypeQuery.ProtoReflect.Descriptor instead.

func (*SdkAlertsResourceTypeQuery) GetResourceType

func (x *SdkAlertsResourceTypeQuery) GetResourceType() ResourceType

func (*SdkAlertsResourceTypeQuery) ProtoMessage

func (*SdkAlertsResourceTypeQuery) ProtoMessage()

func (*SdkAlertsResourceTypeQuery) ProtoReflect

func (*SdkAlertsResourceTypeQuery) Reset

func (x *SdkAlertsResourceTypeQuery) Reset()

func (*SdkAlertsResourceTypeQuery) String

func (x *SdkAlertsResourceTypeQuery) String() string

type SdkAlertsTimeSpan

type SdkAlertsTimeSpan struct {

	//Start timestamp when Alert occurred
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	//End timestamp when Alert occurred
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

SdkAlertsTimeSpan to store time window information.

func (*SdkAlertsTimeSpan) Descriptor deprecated

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

Deprecated: Use SdkAlertsTimeSpan.ProtoReflect.Descriptor instead.

func (*SdkAlertsTimeSpan) GetEndTime

func (x *SdkAlertsTimeSpan) GetEndTime() *timestamppb.Timestamp

func (*SdkAlertsTimeSpan) GetStartTime

func (x *SdkAlertsTimeSpan) GetStartTime() *timestamppb.Timestamp

func (*SdkAlertsTimeSpan) ProtoMessage

func (*SdkAlertsTimeSpan) ProtoMessage()

func (*SdkAlertsTimeSpan) ProtoReflect

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

func (*SdkAlertsTimeSpan) Reset

func (x *SdkAlertsTimeSpan) Reset()

func (*SdkAlertsTimeSpan) String

func (x *SdkAlertsTimeSpan) String() string

type SdkAutoFSTrimStatusRequest

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

SdkAutoFSTrimStatusRequest defines a request to get status of autofs trim operation

func (*SdkAutoFSTrimStatusRequest) Descriptor deprecated

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

Deprecated: Use SdkAutoFSTrimStatusRequest.ProtoReflect.Descriptor instead.

func (*SdkAutoFSTrimStatusRequest) ProtoMessage

func (*SdkAutoFSTrimStatusRequest) ProtoMessage()

func (*SdkAutoFSTrimStatusRequest) ProtoReflect

func (*SdkAutoFSTrimStatusRequest) Reset

func (x *SdkAutoFSTrimStatusRequest) Reset()

func (*SdkAutoFSTrimStatusRequest) String

func (x *SdkAutoFSTrimStatusRequest) String() string

type SdkAutoFSTrimStatusResponse

type SdkAutoFSTrimStatusResponse struct {

	// map of volume id and the state of the filesystem trim operation
	TrimStatus map[string]FilesystemTrim_FilesystemTrimStatus `` /* 237-byte string literal not displayed */
	// Text blob containing ASCII text providing details of the operation
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

SdkAutoFSTrimStatusResponse defines the response for a SdkAutoFSTrimStatusRequest.

func (*SdkAutoFSTrimStatusResponse) Descriptor deprecated

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

Deprecated: Use SdkAutoFSTrimStatusResponse.ProtoReflect.Descriptor instead.

func (*SdkAutoFSTrimStatusResponse) GetMessage

func (x *SdkAutoFSTrimStatusResponse) GetMessage() string

func (*SdkAutoFSTrimStatusResponse) GetTrimStatus

func (*SdkAutoFSTrimStatusResponse) ProtoMessage

func (*SdkAutoFSTrimStatusResponse) ProtoMessage()

func (*SdkAutoFSTrimStatusResponse) ProtoReflect

func (*SdkAutoFSTrimStatusResponse) Reset

func (x *SdkAutoFSTrimStatusResponse) Reset()

func (*SdkAutoFSTrimStatusResponse) String

func (x *SdkAutoFSTrimStatusResponse) String() string

type SdkAutoFSTrimUsageRequest

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

SdkAutoFSTrimUsageRequest defines a request to get status of autofs trim operation

func (*SdkAutoFSTrimUsageRequest) Descriptor deprecated

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

Deprecated: Use SdkAutoFSTrimUsageRequest.ProtoReflect.Descriptor instead.

func (*SdkAutoFSTrimUsageRequest) ProtoMessage

func (*SdkAutoFSTrimUsageRequest) ProtoMessage()

func (*SdkAutoFSTrimUsageRequest) ProtoReflect

func (*SdkAutoFSTrimUsageRequest) Reset

func (x *SdkAutoFSTrimUsageRequest) Reset()

func (*SdkAutoFSTrimUsageRequest) String

func (x *SdkAutoFSTrimUsageRequest) String() string

type SdkAutoFSTrimUsageResponse

type SdkAutoFSTrimUsageResponse struct {

	// map of fstrim disk usage and volume name
	Usage map[string]*FstrimVolumeUsageInfo `` /* 151-byte string literal not displayed */
	// Text blob containing ASCII text providing details of the operation
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

SdkAutoFSTrimUsageResponse defines the response for a SdkAutoFSTrimUsageRequest.

func (*SdkAutoFSTrimUsageResponse) Descriptor deprecated

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

Deprecated: Use SdkAutoFSTrimUsageResponse.ProtoReflect.Descriptor instead.

func (*SdkAutoFSTrimUsageResponse) GetMessage

func (x *SdkAutoFSTrimUsageResponse) GetMessage() string

func (*SdkAutoFSTrimUsageResponse) GetUsage

func (*SdkAutoFSTrimUsageResponse) ProtoMessage

func (*SdkAutoFSTrimUsageResponse) ProtoMessage()

func (*SdkAutoFSTrimUsageResponse) ProtoReflect

func (*SdkAutoFSTrimUsageResponse) Reset

func (x *SdkAutoFSTrimUsageResponse) Reset()

func (*SdkAutoFSTrimUsageResponse) String

func (x *SdkAutoFSTrimUsageResponse) String() string

type SdkAwsCredentialRequest

type SdkAwsCredentialRequest struct {

	// Access key
	AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	// Secret key
	SecretKey string `protobuf:"bytes,2,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	// Endpoint
	Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Region
	Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	// (optional) Disable SSL connection
	DisableSsl bool `protobuf:"varint,5,opt,name=disable_ssl,json=disableSsl,proto3" json:"disable_ssl,omitempty"`
	// (optional) Disable path-style access
	DisablePathStyle bool `protobuf:"varint,6,opt,name=disable_path_style,json=disablePathStyle,proto3" json:"disable_path_style,omitempty"`
	// contains filtered or unexported fields
}

Defines credentials for Aws/S3 endpoints

func (*SdkAwsCredentialRequest) Descriptor deprecated

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

Deprecated: Use SdkAwsCredentialRequest.ProtoReflect.Descriptor instead.

func (*SdkAwsCredentialRequest) GetAccessKey

func (x *SdkAwsCredentialRequest) GetAccessKey() string

func (*SdkAwsCredentialRequest) GetDisablePathStyle

func (x *SdkAwsCredentialRequest) GetDisablePathStyle() bool

func (*SdkAwsCredentialRequest) GetDisableSsl

func (x *SdkAwsCredentialRequest) GetDisableSsl() bool

func (*SdkAwsCredentialRequest) GetEndpoint

func (x *SdkAwsCredentialRequest) GetEndpoint() string

func (*SdkAwsCredentialRequest) GetRegion

func (x *SdkAwsCredentialRequest) GetRegion() string

func (*SdkAwsCredentialRequest) GetSecretKey

func (x *SdkAwsCredentialRequest) GetSecretKey() string

func (*SdkAwsCredentialRequest) ProtoMessage

func (*SdkAwsCredentialRequest) ProtoMessage()

func (*SdkAwsCredentialRequest) ProtoReflect

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

func (*SdkAwsCredentialRequest) Reset

func (x *SdkAwsCredentialRequest) Reset()

func (*SdkAwsCredentialRequest) String

func (x *SdkAwsCredentialRequest) String() string

type SdkAwsCredentialResponse

type SdkAwsCredentialResponse struct {

	// Access key
	AccessKey string `protobuf:"bytes,2,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	// Endpoint
	Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Region
	Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	// (optional) Disable SSL connection
	DisableSsl bool `protobuf:"varint,5,opt,name=disable_ssl,json=disableSsl,proto3" json:"disable_ssl,omitempty"`
	// (optional) Disable path-style access
	DisablePathStyle bool `protobuf:"varint,6,opt,name=disable_path_style,json=disablePathStyle,proto3" json:"disable_path_style,omitempty"`
	// (optional) Storage class for s3 puts
	S3StorageClass string `protobuf:"bytes,7,opt,name=s3_storage_class,json=s3StorageClass,proto3" json:"s3_storage_class,omitempty"`
	// contains filtered or unexported fields
}

Defines the response for AWS/S3 credentials

func (*SdkAwsCredentialResponse) Descriptor deprecated

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

Deprecated: Use SdkAwsCredentialResponse.ProtoReflect.Descriptor instead.

func (*SdkAwsCredentialResponse) GetAccessKey

func (x *SdkAwsCredentialResponse) GetAccessKey() string

func (*SdkAwsCredentialResponse) GetDisablePathStyle

func (x *SdkAwsCredentialResponse) GetDisablePathStyle() bool

func (*SdkAwsCredentialResponse) GetDisableSsl

func (x *SdkAwsCredentialResponse) GetDisableSsl() bool

func (*SdkAwsCredentialResponse) GetEndpoint

func (x *SdkAwsCredentialResponse) GetEndpoint() string

func (*SdkAwsCredentialResponse) GetRegion

func (x *SdkAwsCredentialResponse) GetRegion() string

func (*SdkAwsCredentialResponse) GetS3StorageClass

func (x *SdkAwsCredentialResponse) GetS3StorageClass() string

func (*SdkAwsCredentialResponse) ProtoMessage

func (*SdkAwsCredentialResponse) ProtoMessage()

func (*SdkAwsCredentialResponse) ProtoReflect

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

func (*SdkAwsCredentialResponse) Reset

func (x *SdkAwsCredentialResponse) Reset()

func (*SdkAwsCredentialResponse) String

func (x *SdkAwsCredentialResponse) String() string

type SdkAzureCredentialRequest

type SdkAzureCredentialRequest struct {

	// Account name
	AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	// Account key
	AccountKey string `protobuf:"bytes,2,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"`
	// contains filtered or unexported fields
}

Defines credentials for Azure

func (*SdkAzureCredentialRequest) Descriptor deprecated

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

Deprecated: Use SdkAzureCredentialRequest.ProtoReflect.Descriptor instead.

func (*SdkAzureCredentialRequest) GetAccountKey

func (x *SdkAzureCredentialRequest) GetAccountKey() string

func (*SdkAzureCredentialRequest) GetAccountName

func (x *SdkAzureCredentialRequest) GetAccountName() string

func (*SdkAzureCredentialRequest) ProtoMessage

func (*SdkAzureCredentialRequest) ProtoMessage()

func (*SdkAzureCredentialRequest) ProtoReflect

func (*SdkAzureCredentialRequest) Reset

func (x *SdkAzureCredentialRequest) Reset()

func (*SdkAzureCredentialRequest) String

func (x *SdkAzureCredentialRequest) String() string

type SdkAzureCredentialResponse

type SdkAzureCredentialResponse struct {

	// Account name
	AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	// contains filtered or unexported fields
}

Defines the response for Azure credentials

func (*SdkAzureCredentialResponse) Descriptor deprecated

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

Deprecated: Use SdkAzureCredentialResponse.ProtoReflect.Descriptor instead.

func (*SdkAzureCredentialResponse) GetAccountName

func (x *SdkAzureCredentialResponse) GetAccountName() string

func (*SdkAzureCredentialResponse) ProtoMessage

func (*SdkAzureCredentialResponse) ProtoMessage()

func (*SdkAzureCredentialResponse) ProtoReflect

func (*SdkAzureCredentialResponse) Reset

func (x *SdkAzureCredentialResponse) Reset()

func (*SdkAzureCredentialResponse) String

func (x *SdkAzureCredentialResponse) String() string

type SdkCloudBackupCatalogRequest

type SdkCloudBackupCatalogRequest struct {

	// Id of the backup
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// Credential id describe the credentials for the cloud
	CredentialId string `protobuf:"bytes,2,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to get catalog of a backup stored by a cloud provider

func (*SdkCloudBackupCatalogRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupCatalogRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupCatalogRequest) GetBackupId

func (x *SdkCloudBackupCatalogRequest) GetBackupId() string

func (*SdkCloudBackupCatalogRequest) GetCredentialId

func (x *SdkCloudBackupCatalogRequest) GetCredentialId() string

func (*SdkCloudBackupCatalogRequest) ProtoMessage

func (*SdkCloudBackupCatalogRequest) ProtoMessage()

func (*SdkCloudBackupCatalogRequest) ProtoReflect

func (*SdkCloudBackupCatalogRequest) Reset

func (x *SdkCloudBackupCatalogRequest) Reset()

func (*SdkCloudBackupCatalogRequest) String

type SdkCloudBackupCatalogResponse

type SdkCloudBackupCatalogResponse struct {

	// Contents is listing of backup contents
	Contents []string `protobuf:"bytes,1,rep,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

Defines a response containing the contents of a backup stored by a cloud provider

func (*SdkCloudBackupCatalogResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupCatalogResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupCatalogResponse) GetContents

func (x *SdkCloudBackupCatalogResponse) GetContents() []string

func (*SdkCloudBackupCatalogResponse) ProtoMessage

func (*SdkCloudBackupCatalogResponse) ProtoMessage()

func (*SdkCloudBackupCatalogResponse) ProtoReflect

func (*SdkCloudBackupCatalogResponse) Reset

func (x *SdkCloudBackupCatalogResponse) Reset()

func (*SdkCloudBackupCatalogResponse) String

type SdkCloudBackupClusterType

type SdkCloudBackupClusterType int32

CloudBackup operations types

const (
	// Unknown
	SdkCloudBackupClusterType_SdkCloudBackupClusterUnknown SdkCloudBackupClusterType = 0
	// Beongs to this cluster
	SdkCloudBackupClusterType_SdkCloudBackupClusterCurrent SdkCloudBackupClusterType = 1
	// not this. other cluster
	SdkCloudBackupClusterType_SdkCloudBackupClusterOther SdkCloudBackupClusterType = 2
)

func (SdkCloudBackupClusterType) Descriptor

func (SdkCloudBackupClusterType) Enum

func (SdkCloudBackupClusterType) EnumDescriptor deprecated

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

Deprecated: Use SdkCloudBackupClusterType.Descriptor instead.

func (SdkCloudBackupClusterType) Number

func (SdkCloudBackupClusterType) String

func (x SdkCloudBackupClusterType) String() string

func (SdkCloudBackupClusterType) Type

type SdkCloudBackupCreateRequest

type SdkCloudBackupCreateRequest struct {

	// VolumeID of the volume for which cloudbackup is requested
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Credential id refers to the cloud credentials needed to backup
	CredentialId string `protobuf:"bytes,2,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// Full indicates if full backup is desired even though incremental is possible
	Full bool `protobuf:"varint,3,opt,name=full,proto3" json:"full,omitempty"`
	// TaskId of the task performing this backup. This value can be used for
	// idempotency.
	TaskId string `protobuf:"bytes,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Labels are list of key value pairs to tag the cloud backup. These labels
	// are stored in the metadata associated with the backup.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// FullBackupFrequency indicates number of incremental backup after which
	// a fullbackup must be created. This is to override the default value for
	// manual/user triggerred backups and not applicable for scheduled backups
	// Value of 0 retains the default behavior.
	FullBackupFrequency uint32 `protobuf:"varint,6,opt,name=full_backup_frequency,json=fullBackupFrequency,proto3" json:"full_backup_frequency,omitempty"`
	// DeleteLocal indicates if local snap created for backup must be deleted after
	// the backup is complete
	DeleteLocal bool `protobuf:"varint,7,opt,name=delete_local,json=deleteLocal,proto3" json:"delete_local,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to create a backup of a volume to the cloud

func (*SdkCloudBackupCreateRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupCreateRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupCreateRequest) GetCredentialId

func (x *SdkCloudBackupCreateRequest) GetCredentialId() string

func (*SdkCloudBackupCreateRequest) GetDeleteLocal

func (x *SdkCloudBackupCreateRequest) GetDeleteLocal() bool

func (*SdkCloudBackupCreateRequest) GetFull

func (x *SdkCloudBackupCreateRequest) GetFull() bool

func (*SdkCloudBackupCreateRequest) GetFullBackupFrequency

func (x *SdkCloudBackupCreateRequest) GetFullBackupFrequency() uint32

func (*SdkCloudBackupCreateRequest) GetLabels

func (x *SdkCloudBackupCreateRequest) GetLabels() map[string]string

func (*SdkCloudBackupCreateRequest) GetTaskId

func (x *SdkCloudBackupCreateRequest) GetTaskId() string

func (*SdkCloudBackupCreateRequest) GetVolumeId

func (x *SdkCloudBackupCreateRequest) GetVolumeId() string

func (*SdkCloudBackupCreateRequest) ProtoMessage

func (*SdkCloudBackupCreateRequest) ProtoMessage()

func (*SdkCloudBackupCreateRequest) ProtoReflect

func (*SdkCloudBackupCreateRequest) Reset

func (x *SdkCloudBackupCreateRequest) Reset()

func (*SdkCloudBackupCreateRequest) String

func (x *SdkCloudBackupCreateRequest) String() string

type SdkCloudBackupCreateResponse

type SdkCloudBackupCreateResponse struct {

	// TaskId of the task performing the backup
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

Empty response

func (*SdkCloudBackupCreateResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupCreateResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupCreateResponse) GetTaskId

func (x *SdkCloudBackupCreateResponse) GetTaskId() string

func (*SdkCloudBackupCreateResponse) ProtoMessage

func (*SdkCloudBackupCreateResponse) ProtoMessage()

func (*SdkCloudBackupCreateResponse) ProtoReflect

func (*SdkCloudBackupCreateResponse) Reset

func (x *SdkCloudBackupCreateResponse) Reset()

func (*SdkCloudBackupCreateResponse) String

type SdkCloudBackupDeleteAllRequest

type SdkCloudBackupDeleteAllRequest struct {

	// id of the volume for the request
	SrcVolumeId string `protobuf:"bytes,1,opt,name=src_volume_id,json=srcVolumeId,proto3" json:"src_volume_id,omitempty"`
	// Credential id is the credential for cloud to be used for the request
	CredentialId string `protobuf:"bytes,2,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to delete all the backups stored by a cloud provider for a specified volume

func (*SdkCloudBackupDeleteAllRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupDeleteAllRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupDeleteAllRequest) GetCredentialId

func (x *SdkCloudBackupDeleteAllRequest) GetCredentialId() string

func (*SdkCloudBackupDeleteAllRequest) GetSrcVolumeId

func (x *SdkCloudBackupDeleteAllRequest) GetSrcVolumeId() string

func (*SdkCloudBackupDeleteAllRequest) ProtoMessage

func (*SdkCloudBackupDeleteAllRequest) ProtoMessage()

func (*SdkCloudBackupDeleteAllRequest) ProtoReflect

func (*SdkCloudBackupDeleteAllRequest) Reset

func (x *SdkCloudBackupDeleteAllRequest) Reset()

func (*SdkCloudBackupDeleteAllRequest) String

type SdkCloudBackupDeleteAllResponse

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

Empty response

func (*SdkCloudBackupDeleteAllResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupDeleteAllResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupDeleteAllResponse) ProtoMessage

func (*SdkCloudBackupDeleteAllResponse) ProtoMessage()

func (*SdkCloudBackupDeleteAllResponse) ProtoReflect

func (*SdkCloudBackupDeleteAllResponse) Reset

func (*SdkCloudBackupDeleteAllResponse) String

type SdkCloudBackupDeleteRequest

type SdkCloudBackupDeleteRequest struct {

	// ID is the ID of the cloud backup
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// Credential id is the credential for cloud to be used for the request
	CredentialId string `protobuf:"bytes,2,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// Force Delete cloudbackup even if there are dependencies. This may be
	// needed if the backup is an incremental backup and subsequent backups
	// depend on this backup specified by `backup_id`.
	Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to delete a single backup stored by a cloud provider

func (*SdkCloudBackupDeleteRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupDeleteRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupDeleteRequest) GetBackupId

func (x *SdkCloudBackupDeleteRequest) GetBackupId() string

func (*SdkCloudBackupDeleteRequest) GetCredentialId

func (x *SdkCloudBackupDeleteRequest) GetCredentialId() string

func (*SdkCloudBackupDeleteRequest) GetForce

func (x *SdkCloudBackupDeleteRequest) GetForce() bool

func (*SdkCloudBackupDeleteRequest) ProtoMessage

func (*SdkCloudBackupDeleteRequest) ProtoMessage()

func (*SdkCloudBackupDeleteRequest) ProtoReflect

func (*SdkCloudBackupDeleteRequest) Reset

func (x *SdkCloudBackupDeleteRequest) Reset()

func (*SdkCloudBackupDeleteRequest) String

func (x *SdkCloudBackupDeleteRequest) String() string

type SdkCloudBackupDeleteResponse

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

Empty response

func (*SdkCloudBackupDeleteResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupDeleteResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupDeleteResponse) ProtoMessage

func (*SdkCloudBackupDeleteResponse) ProtoMessage()

func (*SdkCloudBackupDeleteResponse) ProtoReflect

func (*SdkCloudBackupDeleteResponse) Reset

func (x *SdkCloudBackupDeleteResponse) Reset()

func (*SdkCloudBackupDeleteResponse) String

type SdkCloudBackupEnumerateWithFiltersRequest

type SdkCloudBackupEnumerateWithFiltersRequest struct {

	// (optional) Source id of the volume for the request.
	SrcVolumeId string `protobuf:"bytes,1,opt,name=src_volume_id,json=srcVolumeId,proto3" json:"src_volume_id,omitempty"`
	// (optional) Cluster id specifies the cluster for the request
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Credential id is the credential for cloud to be used for the request
	CredentialId string `protobuf:"bytes,3,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// (optional) All indicates if the request should show cloud backups for all clusters or the current cluster.
	All bool `protobuf:"varint,4,opt,name=all,proto3" json:"all,omitempty"`
	// (optional) enumerates backups that have status specified by this type
	StatusFilter SdkCloudBackupStatusType `` /* 144-byte string literal not displayed */
	// (optional) Enumerates backups that have tags of this type
	MetadataFilter map[string]string `` /* 191-byte string literal not displayed */
	// (optional) if caller wished to limit number of backups returned by enumerate
	MaxBackups uint64 `protobuf:"varint,7,opt,name=max_backups,json=maxBackups,proto3" json:"max_backups,omitempty"`
	// Returned in the enumerate response if not all of the backups could be returned in the
	// response.
	ContinuationToken string `protobuf:"bytes,8,opt,name=continuation_token,json=continuationToken,proto3" json:"continuation_token,omitempty"`
	// If one wants to enumerate known backup, set this field to the backup ID
	// naming format :clusteruuidORbicketname/srcVolId-snapId(-incr)
	CloudBackupId string `protobuf:"bytes,9,opt,name=cloud_backup_id,json=cloudBackupId,proto3" json:"cloud_backup_id,omitempty"`
	// To enumerate cloudbackups for which source volumes do not exist in this
	// cluster
	MissingSrcVolumes bool `protobuf:"varint,10,opt,name=missing_src_volumes,json=missingSrcVolumes,proto3" json:"missing_src_volumes,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to list the backups stored by a cloud provider. The following combinations can be used to get cloud backup information:

* For a specific volume in current cluster: Set `src_volume_id` to your desired volume id and do not provide `cluster_id` and `all`. * For a specific volume in a specific cluster: Set `src_volume_id` to your desired volume id and specify `cluster_id`. * For a specific volume in all clusters: Set `src_volume_id` to your desired volume id and set `all` to true, do not provide `cluster_id`. * For all volumes in current cluster: do not provide `cluster_id`, `volume_id` and `all`. * For all volumes in a specific cluster: Set `cluster_id` to your desired cluster id and do not provide `volume_id` and `all`. * For all volumes in all clusters: Set `all` to true do not provide `volume_id` and `cluster_id`.

func (*SdkCloudBackupEnumerateWithFiltersRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupEnumerateWithFiltersRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetAll

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetCloudBackupId

func (x *SdkCloudBackupEnumerateWithFiltersRequest) GetCloudBackupId() string

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetClusterId

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetContinuationToken

func (x *SdkCloudBackupEnumerateWithFiltersRequest) GetContinuationToken() string

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetCredentialId

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetMaxBackups

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetMetadataFilter

func (x *SdkCloudBackupEnumerateWithFiltersRequest) GetMetadataFilter() map[string]string

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetMissingSrcVolumes

func (x *SdkCloudBackupEnumerateWithFiltersRequest) GetMissingSrcVolumes() bool

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetSrcVolumeId

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetStatusFilter

func (*SdkCloudBackupEnumerateWithFiltersRequest) ProtoMessage

func (*SdkCloudBackupEnumerateWithFiltersRequest) ProtoReflect

func (*SdkCloudBackupEnumerateWithFiltersRequest) Reset

func (*SdkCloudBackupEnumerateWithFiltersRequest) String

type SdkCloudBackupEnumerateWithFiltersResponse

type SdkCloudBackupEnumerateWithFiltersResponse struct {
	Backups []*SdkCloudBackupInfo `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// if this is not an empty string, callers must pass this to get next list of
	// backups
	ContinuationToken string `protobuf:"bytes,2,opt,name=continuation_token,json=continuationToken,proto3" json:"continuation_token,omitempty"`
	// contains filtered or unexported fields
}

Defines a response which lists all the backups stored by a cloud provider

func (*SdkCloudBackupEnumerateWithFiltersResponse) Descriptor deprecated

Deprecated: Use SdkCloudBackupEnumerateWithFiltersResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupEnumerateWithFiltersResponse) GetBackups

func (*SdkCloudBackupEnumerateWithFiltersResponse) GetContinuationToken

func (x *SdkCloudBackupEnumerateWithFiltersResponse) GetContinuationToken() string

func (*SdkCloudBackupEnumerateWithFiltersResponse) ProtoMessage

func (*SdkCloudBackupEnumerateWithFiltersResponse) ProtoReflect

func (*SdkCloudBackupEnumerateWithFiltersResponse) Reset

func (*SdkCloudBackupEnumerateWithFiltersResponse) String

type SdkCloudBackupGroupCreateRequest

type SdkCloudBackupGroupCreateRequest struct {

	// GroupID of the volume for which cloudbackup is requested
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// VolumeIds are a list of volume IDs to use for the backup request.
	// If multiple of GroupID, Labels or VolumeIDs are specified, volumes matching
	// all of them are backed uup
	VolumeIds []string `protobuf:"bytes,2,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
	// Credential id refers to the cloud credentials needed to backup
	CredentialId string `protobuf:"bytes,3,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// Full indicates if full backup is desired even though incremental is possible
	Full bool `protobuf:"varint,4,opt,name=full,proto3" json:"full,omitempty"`
	// Labels are list of key value pairs to tag the cloud backup. These labels
	// are stored in the metadata associated with the backup.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// DeleteLocal indicates if local snap created for backup must be deleted after
	// the backup is complete
	DeleteLocal bool `protobuf:"varint,6,opt,name=delete_local,json=deleteLocal,proto3" json:"delete_local,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to create a group backup of a group to the cloud

func (*SdkCloudBackupGroupCreateRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupGroupCreateRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupGroupCreateRequest) GetCredentialId

func (x *SdkCloudBackupGroupCreateRequest) GetCredentialId() string

func (*SdkCloudBackupGroupCreateRequest) GetDeleteLocal

func (x *SdkCloudBackupGroupCreateRequest) GetDeleteLocal() bool

func (*SdkCloudBackupGroupCreateRequest) GetFull

func (*SdkCloudBackupGroupCreateRequest) GetGroupId

func (x *SdkCloudBackupGroupCreateRequest) GetGroupId() string

func (*SdkCloudBackupGroupCreateRequest) GetLabels

func (x *SdkCloudBackupGroupCreateRequest) GetLabels() map[string]string

func (*SdkCloudBackupGroupCreateRequest) GetVolumeIds

func (x *SdkCloudBackupGroupCreateRequest) GetVolumeIds() []string

func (*SdkCloudBackupGroupCreateRequest) ProtoMessage

func (*SdkCloudBackupGroupCreateRequest) ProtoMessage()

func (*SdkCloudBackupGroupCreateRequest) ProtoReflect

func (*SdkCloudBackupGroupCreateRequest) Reset

func (*SdkCloudBackupGroupCreateRequest) String

type SdkCloudBackupGroupCreateResponse

type SdkCloudBackupGroupCreateResponse struct {

	// ID for this group of backups
	GroupCloudBackupId string `protobuf:"bytes,1,opt,name=group_cloud_backup_id,json=groupCloudBackupId,proto3" json:"group_cloud_backup_id,omitempty"`
	// TaskIds of the tasks performing the group backup
	TaskIds []string `protobuf:"bytes,2,rep,name=task_ids,json=taskIds,proto3" json:"task_ids,omitempty"`
	// contains filtered or unexported fields
}

Empty response

func (*SdkCloudBackupGroupCreateResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupGroupCreateResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupGroupCreateResponse) GetGroupCloudBackupId

func (x *SdkCloudBackupGroupCreateResponse) GetGroupCloudBackupId() string

func (*SdkCloudBackupGroupCreateResponse) GetTaskIds

func (x *SdkCloudBackupGroupCreateResponse) GetTaskIds() []string

func (*SdkCloudBackupGroupCreateResponse) ProtoMessage

func (*SdkCloudBackupGroupCreateResponse) ProtoMessage()

func (*SdkCloudBackupGroupCreateResponse) ProtoReflect

func (*SdkCloudBackupGroupCreateResponse) Reset

func (*SdkCloudBackupGroupCreateResponse) String

type SdkCloudBackupHistoryItem

type SdkCloudBackupHistoryItem struct {

	// SrcVolumeID is volume ID which was backedup
	SrcVolumeId string `protobuf:"bytes,1,opt,name=src_volume_id,json=srcVolumeId,proto3" json:"src_volume_id,omitempty"`
	// TimeStamp is the time at which either backup completed/failed
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Status indicates whether backup was completed/failed
	Status SdkCloudBackupStatusType `protobuf:"varint,3,opt,name=status,proto3,enum=openstorage.api.SdkCloudBackupStatusType" json:"status,omitempty"`
	// contains filtered or unexported fields
}

SdkCloudBackupHistoryItem contains information about a backup for a specific volume

func (*SdkCloudBackupHistoryItem) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupHistoryItem.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupHistoryItem) GetSrcVolumeId

func (x *SdkCloudBackupHistoryItem) GetSrcVolumeId() string

func (*SdkCloudBackupHistoryItem) GetStatus

func (*SdkCloudBackupHistoryItem) GetTimestamp

func (x *SdkCloudBackupHistoryItem) GetTimestamp() *timestamppb.Timestamp

func (*SdkCloudBackupHistoryItem) ProtoMessage

func (*SdkCloudBackupHistoryItem) ProtoMessage()

func (*SdkCloudBackupHistoryItem) ProtoReflect

func (*SdkCloudBackupHistoryItem) Reset

func (x *SdkCloudBackupHistoryItem) Reset()

func (*SdkCloudBackupHistoryItem) String

func (x *SdkCloudBackupHistoryItem) String() string

type SdkCloudBackupHistoryRequest

type SdkCloudBackupHistoryRequest struct {

	// This optional value defines which history of backups is being
	// requested. If not provided, it will return the history for all volumes.
	SrcVolumeId string `protobuf:"bytes,1,opt,name=src_volume_id,json=srcVolumeId,proto3" json:"src_volume_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to retrieve the history of the backups for a specific volume to a cloud provider

func (*SdkCloudBackupHistoryRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupHistoryRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupHistoryRequest) GetSrcVolumeId

func (x *SdkCloudBackupHistoryRequest) GetSrcVolumeId() string

func (*SdkCloudBackupHistoryRequest) ProtoMessage

func (*SdkCloudBackupHistoryRequest) ProtoMessage()

func (*SdkCloudBackupHistoryRequest) ProtoReflect

func (*SdkCloudBackupHistoryRequest) Reset

func (x *SdkCloudBackupHistoryRequest) Reset()

func (*SdkCloudBackupHistoryRequest) String

type SdkCloudBackupHistoryResponse

type SdkCloudBackupHistoryResponse struct {

	// HistoryList is list of past backups on this volume
	HistoryList []*SdkCloudBackupHistoryItem `protobuf:"bytes,1,rep,name=history_list,json=historyList,proto3" json:"history_list,omitempty"`
	// contains filtered or unexported fields
}

Defines a response containing a list of history of backups to a cloud provider

func (*SdkCloudBackupHistoryResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupHistoryResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupHistoryResponse) GetHistoryList

func (*SdkCloudBackupHistoryResponse) ProtoMessage

func (*SdkCloudBackupHistoryResponse) ProtoMessage()

func (*SdkCloudBackupHistoryResponse) ProtoReflect

func (*SdkCloudBackupHistoryResponse) Reset

func (x *SdkCloudBackupHistoryResponse) Reset()

func (*SdkCloudBackupHistoryResponse) String

type SdkCloudBackupInfo

type SdkCloudBackupInfo struct {

	// This is the id as represented by the cloud provider
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Source volumeID of the backup
	SrcVolumeId string `protobuf:"bytes,2,opt,name=src_volume_id,json=srcVolumeId,proto3" json:"src_volume_id,omitempty"`
	// Name of the sourceVolume of the backup
	SrcVolumeName string `protobuf:"bytes,3,opt,name=src_volume_name,json=srcVolumeName,proto3" json:"src_volume_name,omitempty"`
	// Timestamp is the timestamp at which the source volume
	// was backed up to cloud
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Metadata associated with the backup
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// Status indicates the status of the backup
	Status SdkCloudBackupStatusType `protobuf:"varint,6,opt,name=status,proto3,enum=openstorage.api.SdkCloudBackupStatusType" json:"status,omitempty"`
	// cluster indicates if the cloudbackup belongs to current cluster,
	// with older cluster this value may be unknown
	ClusterType SdkCloudBackupClusterType `` /* 142-byte string literal not displayed */
	// k8s namespace to which this backup belongs to
	Namespace string `protobuf:"bytes,8,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

SdkCloudBackupInfo has information about a backup stored by a cloud provider

func (*SdkCloudBackupInfo) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupInfo.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupInfo) GetClusterType

func (x *SdkCloudBackupInfo) GetClusterType() SdkCloudBackupClusterType

func (*SdkCloudBackupInfo) GetId

func (x *SdkCloudBackupInfo) GetId() string

func (*SdkCloudBackupInfo) GetMetadata

func (x *SdkCloudBackupInfo) GetMetadata() map[string]string

func (*SdkCloudBackupInfo) GetNamespace

func (x *SdkCloudBackupInfo) GetNamespace() string

func (*SdkCloudBackupInfo) GetSrcVolumeId

func (x *SdkCloudBackupInfo) GetSrcVolumeId() string

func (*SdkCloudBackupInfo) GetSrcVolumeName

func (x *SdkCloudBackupInfo) GetSrcVolumeName() string

func (*SdkCloudBackupInfo) GetStatus

func (*SdkCloudBackupInfo) GetTimestamp

func (x *SdkCloudBackupInfo) GetTimestamp() *timestamppb.Timestamp

func (*SdkCloudBackupInfo) ProtoMessage

func (*SdkCloudBackupInfo) ProtoMessage()

func (*SdkCloudBackupInfo) ProtoReflect

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

func (*SdkCloudBackupInfo) Reset

func (x *SdkCloudBackupInfo) Reset()

func (*SdkCloudBackupInfo) String

func (x *SdkCloudBackupInfo) String() string

type SdkCloudBackupOpType

type SdkCloudBackupOpType int32

CloudBackup operations types

const (
	// Unknown
	SdkCloudBackupOpType_SdkCloudBackupOpTypeUnknown SdkCloudBackupOpType = 0
	// Backup
	SdkCloudBackupOpType_SdkCloudBackupOpTypeBackupOp SdkCloudBackupOpType = 1
	// Restore
	SdkCloudBackupOpType_SdkCloudBackupOpTypeRestoreOp SdkCloudBackupOpType = 2
)

func CloudBackupOpTypeToSdkCloudBackupOpType

func CloudBackupOpTypeToSdkCloudBackupOpType(t CloudBackupOpType) SdkCloudBackupOpType

func StringToSdkCloudBackupOpType

func StringToSdkCloudBackupOpType(s string) SdkCloudBackupOpType

func (SdkCloudBackupOpType) Descriptor

func (SdkCloudBackupOpType) Enum

func (SdkCloudBackupOpType) EnumDescriptor deprecated

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

Deprecated: Use SdkCloudBackupOpType.Descriptor instead.

func (SdkCloudBackupOpType) Number

func (SdkCloudBackupOpType) String

func (x SdkCloudBackupOpType) String() string

func (SdkCloudBackupOpType) Type

type SdkCloudBackupRequestedState

type SdkCloudBackupRequestedState int32

SdkCloudBackupRequestedState defines states to set a specified backup or restore to or from a cloud provider

const (
	// Unknown state
	SdkCloudBackupRequestedState_SdkCloudBackupRequestedStateUnknown SdkCloudBackupRequestedState = 0
	// Pause the backup or restore
	SdkCloudBackupRequestedState_SdkCloudBackupRequestedStatePause SdkCloudBackupRequestedState = 1
	// Resume the backup or restore
	SdkCloudBackupRequestedState_SdkCloudBackupRequestedStateResume SdkCloudBackupRequestedState = 2
	// Stop a backup or restore
	SdkCloudBackupRequestedState_SdkCloudBackupRequestedStateStop SdkCloudBackupRequestedState = 3
)

func CloudBackupRequestedStateToSdkCloudBackupRequestedState

func CloudBackupRequestedStateToSdkCloudBackupRequestedState(
	t string,
) SdkCloudBackupRequestedState

func (SdkCloudBackupRequestedState) Descriptor

func (SdkCloudBackupRequestedState) Enum

func (SdkCloudBackupRequestedState) EnumDescriptor deprecated

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

Deprecated: Use SdkCloudBackupRequestedState.Descriptor instead.

func (SdkCloudBackupRequestedState) Number

func (SdkCloudBackupRequestedState) String

func (SdkCloudBackupRequestedState) Type

type SdkCloudBackupRestoreRequest

type SdkCloudBackupRestoreRequest struct {

	// Backup ID being restored
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// Optional volume Name of the new volume to be created
	// in the cluster for restoring the cloudbackup
	RestoreVolumeName string `protobuf:"bytes,2,opt,name=restore_volume_name,json=restoreVolumeName,proto3" json:"restore_volume_name,omitempty"`
	// The credential to be used for restore operation
	CredentialId string `protobuf:"bytes,3,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// Optional for provisioning restore
	// volume (ResoreVolumeName should not be specified)
	NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// TaskId of the task performing this restore
	TaskId string `protobuf:"bytes,5,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Modifiable Restore volume spec
	Spec *RestoreVolumeSpec `protobuf:"bytes,6,opt,name=spec,proto3" json:"spec,omitempty"`
	// RestoreVolume locator
	Locator *VolumeLocator `protobuf:"bytes,7,opt,name=locator,proto3" json:"locator,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to restore a volume from an existing backup stored by a cloud provider

func (*SdkCloudBackupRestoreRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupRestoreRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupRestoreRequest) GetBackupId

func (x *SdkCloudBackupRestoreRequest) GetBackupId() string

func (*SdkCloudBackupRestoreRequest) GetCredentialId

func (x *SdkCloudBackupRestoreRequest) GetCredentialId() string

func (*SdkCloudBackupRestoreRequest) GetLocator

func (*SdkCloudBackupRestoreRequest) GetNodeId

func (x *SdkCloudBackupRestoreRequest) GetNodeId() string

func (*SdkCloudBackupRestoreRequest) GetRestoreVolumeName

func (x *SdkCloudBackupRestoreRequest) GetRestoreVolumeName() string

func (*SdkCloudBackupRestoreRequest) GetSpec

func (*SdkCloudBackupRestoreRequest) GetTaskId

func (x *SdkCloudBackupRestoreRequest) GetTaskId() string

func (*SdkCloudBackupRestoreRequest) ProtoMessage

func (*SdkCloudBackupRestoreRequest) ProtoMessage()

func (*SdkCloudBackupRestoreRequest) ProtoReflect

func (*SdkCloudBackupRestoreRequest) Reset

func (x *SdkCloudBackupRestoreRequest) Reset()

func (*SdkCloudBackupRestoreRequest) String

type SdkCloudBackupRestoreResponse

type SdkCloudBackupRestoreResponse struct {

	// VolumeID to which the backup is being restored
	RestoreVolumeId string `protobuf:"bytes,1,opt,name=restore_volume_id,json=restoreVolumeId,proto3" json:"restore_volume_id,omitempty"`
	// TaskId of the task performing the restore
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a response when restoring a volume from a backup stored by a cloud provider

func (*SdkCloudBackupRestoreResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupRestoreResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupRestoreResponse) GetRestoreVolumeId

func (x *SdkCloudBackupRestoreResponse) GetRestoreVolumeId() string

func (*SdkCloudBackupRestoreResponse) GetTaskId

func (x *SdkCloudBackupRestoreResponse) GetTaskId() string

func (*SdkCloudBackupRestoreResponse) ProtoMessage

func (*SdkCloudBackupRestoreResponse) ProtoMessage()

func (*SdkCloudBackupRestoreResponse) ProtoReflect

func (*SdkCloudBackupRestoreResponse) Reset

func (x *SdkCloudBackupRestoreResponse) Reset()

func (*SdkCloudBackupRestoreResponse) String

type SdkCloudBackupSchedCreateRequest

type SdkCloudBackupSchedCreateRequest struct {

	// Cloud Backup Schedule info
	CloudSchedInfo *SdkCloudBackupScheduleInfo `protobuf:"bytes,1,opt,name=cloud_sched_info,json=cloudSchedInfo,proto3" json:"cloud_sched_info,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to create a schedule for volume backups to a cloud provider

func (*SdkCloudBackupSchedCreateRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupSchedCreateRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupSchedCreateRequest) GetCloudSchedInfo

func (*SdkCloudBackupSchedCreateRequest) ProtoMessage

func (*SdkCloudBackupSchedCreateRequest) ProtoMessage()

func (*SdkCloudBackupSchedCreateRequest) ProtoReflect

func (*SdkCloudBackupSchedCreateRequest) Reset

func (*SdkCloudBackupSchedCreateRequest) String

type SdkCloudBackupSchedCreateResponse

type SdkCloudBackupSchedCreateResponse struct {

	// Id of newly created backup schedule
	BackupScheduleId string `protobuf:"bytes,1,opt,name=backup_schedule_id,json=backupScheduleId,proto3" json:"backup_schedule_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a response containing the id of a schedule for a volume backup to a cloud provider

func (*SdkCloudBackupSchedCreateResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupSchedCreateResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupSchedCreateResponse) GetBackupScheduleId

func (x *SdkCloudBackupSchedCreateResponse) GetBackupScheduleId() string

func (*SdkCloudBackupSchedCreateResponse) ProtoMessage

func (*SdkCloudBackupSchedCreateResponse) ProtoMessage()

func (*SdkCloudBackupSchedCreateResponse) ProtoReflect

func (*SdkCloudBackupSchedCreateResponse) Reset

func (*SdkCloudBackupSchedCreateResponse) String

type SdkCloudBackupSchedDeleteRequest

type SdkCloudBackupSchedDeleteRequest struct {

	// Id of cloud backup to delete
	BackupScheduleId string `protobuf:"bytes,1,opt,name=backup_schedule_id,json=backupScheduleId,proto3" json:"backup_schedule_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to delete a backup schedule

func (*SdkCloudBackupSchedDeleteRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupSchedDeleteRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupSchedDeleteRequest) GetBackupScheduleId

func (x *SdkCloudBackupSchedDeleteRequest) GetBackupScheduleId() string

func (*SdkCloudBackupSchedDeleteRequest) ProtoMessage

func (*SdkCloudBackupSchedDeleteRequest) ProtoMessage()

func (*SdkCloudBackupSchedDeleteRequest) ProtoReflect

func (*SdkCloudBackupSchedDeleteRequest) Reset

func (*SdkCloudBackupSchedDeleteRequest) String

type SdkCloudBackupSchedDeleteResponse

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

Empty response

func (*SdkCloudBackupSchedDeleteResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupSchedDeleteResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupSchedDeleteResponse) ProtoMessage

func (*SdkCloudBackupSchedDeleteResponse) ProtoMessage()

func (*SdkCloudBackupSchedDeleteResponse) ProtoReflect

func (*SdkCloudBackupSchedDeleteResponse) Reset

func (*SdkCloudBackupSchedDeleteResponse) String

type SdkCloudBackupSchedEnumerateRequest

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

Empty request

func (*SdkCloudBackupSchedEnumerateRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupSchedEnumerateRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupSchedEnumerateRequest) ProtoMessage

func (*SdkCloudBackupSchedEnumerateRequest) ProtoMessage()

func (*SdkCloudBackupSchedEnumerateRequest) ProtoReflect

func (*SdkCloudBackupSchedEnumerateRequest) Reset

func (*SdkCloudBackupSchedEnumerateRequest) String

type SdkCloudBackupSchedEnumerateResponse

type SdkCloudBackupSchedEnumerateResponse struct {

	// Returns list of backup schedules
	CloudSchedList map[string]*SdkCloudBackupScheduleInfo `` /* 193-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines a response containing a map listing the schedules for volume backups to a cloud provider

func (*SdkCloudBackupSchedEnumerateResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupSchedEnumerateResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupSchedEnumerateResponse) GetCloudSchedList

func (*SdkCloudBackupSchedEnumerateResponse) ProtoMessage

func (*SdkCloudBackupSchedEnumerateResponse) ProtoMessage()

func (*SdkCloudBackupSchedEnumerateResponse) ProtoReflect

func (*SdkCloudBackupSchedEnumerateResponse) Reset

func (*SdkCloudBackupSchedEnumerateResponse) String

type SdkCloudBackupSchedUpdateRequest

type SdkCloudBackupSchedUpdateRequest struct {

	// Cloud Backup Schedule info
	CloudSchedInfo *SdkCloudBackupScheduleInfo `protobuf:"bytes,1,opt,name=cloud_sched_info,json=cloudSchedInfo,proto3" json:"cloud_sched_info,omitempty"`
	SchedUuid      string                      `protobuf:"bytes,2,opt,name=sched_uuid,json=schedUuid,proto3" json:"sched_uuid,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to update a schedule for volume backups to a cloud provider

func (*SdkCloudBackupSchedUpdateRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupSchedUpdateRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupSchedUpdateRequest) GetCloudSchedInfo

func (*SdkCloudBackupSchedUpdateRequest) GetSchedUuid

func (x *SdkCloudBackupSchedUpdateRequest) GetSchedUuid() string

func (*SdkCloudBackupSchedUpdateRequest) ProtoMessage

func (*SdkCloudBackupSchedUpdateRequest) ProtoMessage()

func (*SdkCloudBackupSchedUpdateRequest) ProtoReflect

func (*SdkCloudBackupSchedUpdateRequest) Reset

func (*SdkCloudBackupSchedUpdateRequest) String

type SdkCloudBackupSchedUpdateResponse

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

Empty response

func (*SdkCloudBackupSchedUpdateResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupSchedUpdateResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupSchedUpdateResponse) ProtoMessage

func (*SdkCloudBackupSchedUpdateResponse) ProtoMessage()

func (*SdkCloudBackupSchedUpdateResponse) ProtoReflect

func (*SdkCloudBackupSchedUpdateResponse) Reset

func (*SdkCloudBackupSchedUpdateResponse) String

type SdkCloudBackupScheduleInfo

type SdkCloudBackupScheduleInfo struct {

	// The schedule's source volume
	SrcVolumeId string `protobuf:"bytes,1,opt,name=src_volume_id,json=srcVolumeId,proto3" json:"src_volume_id,omitempty"`
	// The cloud credential used with this schedule
	CredentialId string `protobuf:"bytes,2,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// Schedules are the frequencies of the backup
	Schedules []*SdkSchedulePolicyInterval `protobuf:"bytes,3,rep,name=schedules,proto3" json:"schedules,omitempty"`
	// MaxBackups indicates when to force full backup to cloud. If RetentionDays
	// is not specified or is 0 (older scheme), this is also the maximum number
	// of scheduled backups retained in the cloud. Older backups are deleted
	MaxBackups uint64 `protobuf:"varint,4,opt,name=max_backups,json=maxBackups,proto3" json:"max_backups,omitempty"`
	// Full indicates if scheduled backups should always be full and never incremental.
	Full bool `protobuf:"varint,5,opt,name=full,proto3" json:"full,omitempty"`
	// Number of days that Scheduled CloudBackups will be kept after which they
	// are deleted
	RetentionDays uint32 `protobuf:"varint,6,opt,name=retention_days,json=retentionDays,proto3" json:"retention_days,omitempty"`
	// GroupId indicates the group of volumes for which this schedule applies
	GroupId string `protobuf:"bytes,7,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// labels indicates group of volumes with similar labels for which this schedule applies
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

SdkCloudBackupScheduleInfo describes a schedule for volume backups to a cloud provider

func (*SdkCloudBackupScheduleInfo) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupScheduleInfo.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupScheduleInfo) GetCredentialId

func (x *SdkCloudBackupScheduleInfo) GetCredentialId() string

func (*SdkCloudBackupScheduleInfo) GetFull

func (x *SdkCloudBackupScheduleInfo) GetFull() bool

func (*SdkCloudBackupScheduleInfo) GetGroupId

func (x *SdkCloudBackupScheduleInfo) GetGroupId() string

func (*SdkCloudBackupScheduleInfo) GetLabels

func (x *SdkCloudBackupScheduleInfo) GetLabels() map[string]string

func (*SdkCloudBackupScheduleInfo) GetMaxBackups

func (x *SdkCloudBackupScheduleInfo) GetMaxBackups() uint64

func (*SdkCloudBackupScheduleInfo) GetRetentionDays

func (x *SdkCloudBackupScheduleInfo) GetRetentionDays() uint32

func (*SdkCloudBackupScheduleInfo) GetSchedules

func (*SdkCloudBackupScheduleInfo) GetSrcVolumeId

func (x *SdkCloudBackupScheduleInfo) GetSrcVolumeId() string

func (*SdkCloudBackupScheduleInfo) ProtoMessage

func (*SdkCloudBackupScheduleInfo) ProtoMessage()

func (*SdkCloudBackupScheduleInfo) ProtoReflect

func (*SdkCloudBackupScheduleInfo) Reset

func (x *SdkCloudBackupScheduleInfo) Reset()

func (*SdkCloudBackupScheduleInfo) String

func (x *SdkCloudBackupScheduleInfo) String() string

type SdkCloudBackupSizeRequest

type SdkCloudBackupSizeRequest struct {

	// BackupId is a value which is used to get information on the
	// size of the specified backup.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// Credential id describe the credentials for the cloud
	CredentialId string `protobuf:"bytes,2,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to retrieve the size of the volume for the specificed volume

func (*SdkCloudBackupSizeRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupSizeRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupSizeRequest) GetBackupId

func (x *SdkCloudBackupSizeRequest) GetBackupId() string

func (*SdkCloudBackupSizeRequest) GetCredentialId

func (x *SdkCloudBackupSizeRequest) GetCredentialId() string

func (*SdkCloudBackupSizeRequest) ProtoMessage

func (*SdkCloudBackupSizeRequest) ProtoMessage()

func (*SdkCloudBackupSizeRequest) ProtoReflect

func (*SdkCloudBackupSizeRequest) Reset

func (x *SdkCloudBackupSizeRequest) Reset()

func (*SdkCloudBackupSizeRequest) String

func (x *SdkCloudBackupSizeRequest) String() string

type SdkCloudBackupSizeResponse

type SdkCloudBackupSizeResponse struct {

	// Size is the size of the volume in bytes
	Size uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

Defines a response containing the size of the volume

func (*SdkCloudBackupSizeResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupSizeResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupSizeResponse) GetSize

func (x *SdkCloudBackupSizeResponse) GetSize() uint64

func (*SdkCloudBackupSizeResponse) ProtoMessage

func (*SdkCloudBackupSizeResponse) ProtoMessage()

func (*SdkCloudBackupSizeResponse) ProtoReflect

func (*SdkCloudBackupSizeResponse) Reset

func (x *SdkCloudBackupSizeResponse) Reset()

func (*SdkCloudBackupSizeResponse) String

func (x *SdkCloudBackupSizeResponse) String() string

type SdkCloudBackupStateChangeRequest

type SdkCloudBackupStateChangeRequest struct {

	// Describes the backup/restore task
	// state change is being requested
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// The desired state of the operation
	RequestedState SdkCloudBackupRequestedState `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines a request to change the state of a backup or restore to or from a cloud provider

func (*SdkCloudBackupStateChangeRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupStateChangeRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupStateChangeRequest) GetRequestedState

func (*SdkCloudBackupStateChangeRequest) GetTaskId

func (*SdkCloudBackupStateChangeRequest) ProtoMessage

func (*SdkCloudBackupStateChangeRequest) ProtoMessage()

func (*SdkCloudBackupStateChangeRequest) ProtoReflect

func (*SdkCloudBackupStateChangeRequest) Reset

func (*SdkCloudBackupStateChangeRequest) String

type SdkCloudBackupStateChangeResponse

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

Empty response

func (*SdkCloudBackupStateChangeResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupStateChangeResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupStateChangeResponse) ProtoMessage

func (*SdkCloudBackupStateChangeResponse) ProtoMessage()

func (*SdkCloudBackupStateChangeResponse) ProtoReflect

func (*SdkCloudBackupStateChangeResponse) Reset

func (*SdkCloudBackupStateChangeResponse) String

type SdkCloudBackupStatus

type SdkCloudBackupStatus struct {

	// This is the id as represented by the cloud provider
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// OpType indicates if this is a backup or restore
	Optype SdkCloudBackupOpType `protobuf:"varint,2,opt,name=optype,proto3,enum=openstorage.api.SdkCloudBackupOpType" json:"optype,omitempty"`
	// State indicates if the op is currently active/done/failed
	Status SdkCloudBackupStatusType `protobuf:"varint,3,opt,name=status,proto3,enum=openstorage.api.SdkCloudBackupStatusType" json:"status,omitempty"`
	// BytesDone indicates total Bytes uploaded/downloaded
	BytesDone uint64 `protobuf:"varint,4,opt,name=bytes_done,json=bytesDone,proto3" json:"bytes_done,omitempty"`
	// StartTime indicates Op's start time
	StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// CompletedTime indicates Op's completed time
	CompletedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=completed_time,json=completedTime,proto3" json:"completed_time,omitempty"`
	// NodeID is the ID of the node where this Op is active
	NodeId string `protobuf:"bytes,7,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// SourceVolumeID is the the volume that is either being backed up to cloud
	// or target volume to which a backup is being restored
	SrcVolumeId string `protobuf:"bytes,8,opt,name=src_volume_id,json=srcVolumeId,proto3" json:"src_volume_id,omitempty"`
	// Info currently indicates the failure cause for failed backup/restore
	Info []string `protobuf:"bytes,9,rep,name=info,proto3" json:"info,omitempty"`
	// CredentialId is the credential used for cloud with this backup/restore op
	CredentialId string `protobuf:"bytes,10,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// BytesTotal is the total number of bytes being transferred
	BytesTotal uint64 `protobuf:"varint,11,opt,name=bytes_total,json=bytesTotal,proto3" json:"bytes_total,omitempty"`
	// ETASeconds is the number of seconds for cloud backup completion
	EtaSeconds int64 `protobuf:"varint,12,opt,name=eta_seconds,json=etaSeconds,proto3" json:"eta_seconds,omitempty"`
	// string group_id volume's group id if this was group cloud backup
	GroupId string `protobuf:"bytes,13,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

SdkCloudBackupStatus defines the status of a backup stored by a cloud provider

func (*SdkCloudBackupStatus) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupStatus.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupStatus) GetBackupId

func (x *SdkCloudBackupStatus) GetBackupId() string

func (*SdkCloudBackupStatus) GetBytesDone

func (x *SdkCloudBackupStatus) GetBytesDone() uint64

func (*SdkCloudBackupStatus) GetBytesTotal

func (x *SdkCloudBackupStatus) GetBytesTotal() uint64

func (*SdkCloudBackupStatus) GetCompletedTime

func (x *SdkCloudBackupStatus) GetCompletedTime() *timestamppb.Timestamp

func (*SdkCloudBackupStatus) GetCredentialId

func (x *SdkCloudBackupStatus) GetCredentialId() string

func (*SdkCloudBackupStatus) GetEtaSeconds

func (x *SdkCloudBackupStatus) GetEtaSeconds() int64

func (*SdkCloudBackupStatus) GetGroupId

func (x *SdkCloudBackupStatus) GetGroupId() string

func (*SdkCloudBackupStatus) GetInfo

func (x *SdkCloudBackupStatus) GetInfo() []string

func (*SdkCloudBackupStatus) GetNodeId

func (x *SdkCloudBackupStatus) GetNodeId() string

func (*SdkCloudBackupStatus) GetOptype

func (*SdkCloudBackupStatus) GetSrcVolumeId

func (x *SdkCloudBackupStatus) GetSrcVolumeId() string

func (*SdkCloudBackupStatus) GetStartTime

func (x *SdkCloudBackupStatus) GetStartTime() *timestamppb.Timestamp

func (*SdkCloudBackupStatus) GetStatus

func (*SdkCloudBackupStatus) ProtoMessage

func (*SdkCloudBackupStatus) ProtoMessage()

func (*SdkCloudBackupStatus) ProtoReflect

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

func (*SdkCloudBackupStatus) Reset

func (x *SdkCloudBackupStatus) Reset()

func (*SdkCloudBackupStatus) String

func (x *SdkCloudBackupStatus) String() string

type SdkCloudBackupStatusRequest

type SdkCloudBackupStatusRequest struct {

	// (optional) VolumeId is a value which is used to get information on the
	// status of a backup for the specified volume. If no volume id and task_id
	// is provided, then status for all volumes is returned.
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Local indicates if only those backups/restores that are
	// active on current node must be returned
	Local bool `protobuf:"varint,2,opt,name=local,proto3" json:"local,omitempty"`
	// TaskId of the backup/restore task, if this is specified,
	// volume_id is ignored.
	TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to retrieve the status of a backup or restore for a specified volume

func (*SdkCloudBackupStatusRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupStatusRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupStatusRequest) GetLocal

func (x *SdkCloudBackupStatusRequest) GetLocal() bool

func (*SdkCloudBackupStatusRequest) GetTaskId

func (x *SdkCloudBackupStatusRequest) GetTaskId() string

func (*SdkCloudBackupStatusRequest) GetVolumeId

func (x *SdkCloudBackupStatusRequest) GetVolumeId() string

func (*SdkCloudBackupStatusRequest) ProtoMessage

func (*SdkCloudBackupStatusRequest) ProtoMessage()

func (*SdkCloudBackupStatusRequest) ProtoReflect

func (*SdkCloudBackupStatusRequest) Reset

func (x *SdkCloudBackupStatusRequest) Reset()

func (*SdkCloudBackupStatusRequest) String

func (x *SdkCloudBackupStatusRequest) String() string

type SdkCloudBackupStatusResponse

type SdkCloudBackupStatusResponse struct {

	// Statuses is list of currently active/failed/done backup/restores where
	// the key is the id of the task performing backup/restore.
	Statuses map[string]*SdkCloudBackupStatus `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines a response containing the status of the backups for a specified volume

func (*SdkCloudBackupStatusResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudBackupStatusResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudBackupStatusResponse) GetStatuses

func (*SdkCloudBackupStatusResponse) ProtoMessage

func (*SdkCloudBackupStatusResponse) ProtoMessage()

func (*SdkCloudBackupStatusResponse) ProtoReflect

func (*SdkCloudBackupStatusResponse) Reset

func (x *SdkCloudBackupStatusResponse) Reset()

func (*SdkCloudBackupStatusResponse) String

type SdkCloudBackupStatusType

type SdkCloudBackupStatusType int32

CloudBackup status types

const (
	// Unknown
	SdkCloudBackupStatusType_SdkCloudBackupStatusTypeUnknown SdkCloudBackupStatusType = 0
	// Not started
	SdkCloudBackupStatusType_SdkCloudBackupStatusTypeNotStarted SdkCloudBackupStatusType = 1
	// Done
	SdkCloudBackupStatusType_SdkCloudBackupStatusTypeDone SdkCloudBackupStatusType = 2
	// Aborted
	SdkCloudBackupStatusType_SdkCloudBackupStatusTypeAborted SdkCloudBackupStatusType = 3
	// Paused
	SdkCloudBackupStatusType_SdkCloudBackupStatusTypePaused SdkCloudBackupStatusType = 4
	// Stopped
	SdkCloudBackupStatusType_SdkCloudBackupStatusTypeStopped SdkCloudBackupStatusType = 5
	// Active
	SdkCloudBackupStatusType_SdkCloudBackupStatusTypeActive SdkCloudBackupStatusType = 6
	// Failed
	SdkCloudBackupStatusType_SdkCloudBackupStatusTypeFailed SdkCloudBackupStatusType = 7
	// Queued
	SdkCloudBackupStatusType_SdkCloudBackupStatusTypeQueued SdkCloudBackupStatusType = 8
	// Invalid, used by enumerate, includes failed,
	// stopped and aborted
	SdkCloudBackupStatusType_SdkCloudBackupStatusTypeInvalid SdkCloudBackupStatusType = 9
)

func CloudBackupStatusTypeToSdkCloudBackupStatusType

func CloudBackupStatusTypeToSdkCloudBackupStatusType(
	t CloudBackupStatusType,
) SdkCloudBackupStatusType

func StringToSdkCloudBackupStatusType

func StringToSdkCloudBackupStatusType(s string) SdkCloudBackupStatusType

func (SdkCloudBackupStatusType) Descriptor

func (SdkCloudBackupStatusType) Enum

func (SdkCloudBackupStatusType) EnumDescriptor deprecated

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

Deprecated: Use SdkCloudBackupStatusType.Descriptor instead.

func (SdkCloudBackupStatusType) Number

func (SdkCloudBackupStatusType) String

func (x SdkCloudBackupStatusType) String() string

func (SdkCloudBackupStatusType) Type

type SdkCloudMigrateCancelRequest

type SdkCloudMigrateCancelRequest struct {

	// Request containing the task id to be cancelled
	Request *CloudMigrateCancelRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to stop a cloud migration

func (*SdkCloudMigrateCancelRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudMigrateCancelRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudMigrateCancelRequest) GetRequest

func (*SdkCloudMigrateCancelRequest) ProtoMessage

func (*SdkCloudMigrateCancelRequest) ProtoMessage()

func (*SdkCloudMigrateCancelRequest) ProtoReflect

func (*SdkCloudMigrateCancelRequest) Reset

func (x *SdkCloudMigrateCancelRequest) Reset()

func (*SdkCloudMigrateCancelRequest) String

type SdkCloudMigrateCancelResponse

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

Empty Response

func (*SdkCloudMigrateCancelResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudMigrateCancelResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudMigrateCancelResponse) ProtoMessage

func (*SdkCloudMigrateCancelResponse) ProtoMessage()

func (*SdkCloudMigrateCancelResponse) ProtoReflect

func (*SdkCloudMigrateCancelResponse) Reset

func (x *SdkCloudMigrateCancelResponse) Reset()

func (*SdkCloudMigrateCancelResponse) String

type SdkCloudMigrateStartRequest

type SdkCloudMigrateStartRequest struct {

	// ID of the cluster to which volumes are to be migrated
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Unique name assocaiated with this migration.
	// This is a Optional field for idempotency
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Types that are assignable to Opt:
	//	*SdkCloudMigrateStartRequest_Volume
	//	*SdkCloudMigrateStartRequest_VolumeGroup
	//	*SdkCloudMigrateStartRequest_AllVolumes
	Opt isSdkCloudMigrateStartRequest_Opt `protobuf_oneof:"opt"`
	// contains filtered or unexported fields
}

Defines a migration request

func (*SdkCloudMigrateStartRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudMigrateStartRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudMigrateStartRequest) GetAllVolumes

func (*SdkCloudMigrateStartRequest) GetClusterId

func (x *SdkCloudMigrateStartRequest) GetClusterId() string

func (*SdkCloudMigrateStartRequest) GetOpt

func (m *SdkCloudMigrateStartRequest) GetOpt() isSdkCloudMigrateStartRequest_Opt

func (*SdkCloudMigrateStartRequest) GetTaskId

func (x *SdkCloudMigrateStartRequest) GetTaskId() string

func (*SdkCloudMigrateStartRequest) GetVolume

func (*SdkCloudMigrateStartRequest) GetVolumeGroup

func (*SdkCloudMigrateStartRequest) ProtoMessage

func (*SdkCloudMigrateStartRequest) ProtoMessage()

func (*SdkCloudMigrateStartRequest) ProtoReflect

func (*SdkCloudMigrateStartRequest) Reset

func (x *SdkCloudMigrateStartRequest) Reset()

func (*SdkCloudMigrateStartRequest) String

func (x *SdkCloudMigrateStartRequest) String() string

type SdkCloudMigrateStartRequest_AllVolumes

type SdkCloudMigrateStartRequest_AllVolumes struct {
	// Request to migrate all volumes
	AllVolumes *SdkCloudMigrateStartRequest_MigrateAllVolumes `protobuf:"bytes,202,opt,name=all_volumes,json=allVolumes,proto3,oneof"`
}

type SdkCloudMigrateStartRequest_MigrateAllVolumes

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

Defines a migration request for all volumes in a cluster

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) Descriptor deprecated

Deprecated: Use SdkCloudMigrateStartRequest_MigrateAllVolumes.ProtoReflect.Descriptor instead.

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) ProtoMessage

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) ProtoReflect

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) Reset

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) String

type SdkCloudMigrateStartRequest_MigrateVolume

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

Defines a migration request for a volume

func (*SdkCloudMigrateStartRequest_MigrateVolume) Descriptor deprecated

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

Deprecated: Use SdkCloudMigrateStartRequest_MigrateVolume.ProtoReflect.Descriptor instead.

func (*SdkCloudMigrateStartRequest_MigrateVolume) GetVolumeId

func (*SdkCloudMigrateStartRequest_MigrateVolume) ProtoMessage

func (*SdkCloudMigrateStartRequest_MigrateVolume) ProtoReflect

func (*SdkCloudMigrateStartRequest_MigrateVolume) Reset

func (*SdkCloudMigrateStartRequest_MigrateVolume) String

type SdkCloudMigrateStartRequest_MigrateVolumeGroup

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

Defines a migration request for a volume group

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) Descriptor deprecated

Deprecated: Use SdkCloudMigrateStartRequest_MigrateVolumeGroup.ProtoReflect.Descriptor instead.

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) GetGroupId

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) ProtoMessage

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) ProtoReflect

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) Reset

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) String

type SdkCloudMigrateStartRequest_Volume

type SdkCloudMigrateStartRequest_Volume struct {
	// Request to migrate a volume
	Volume *SdkCloudMigrateStartRequest_MigrateVolume `protobuf:"bytes,200,opt,name=volume,proto3,oneof"`
}

type SdkCloudMigrateStartRequest_VolumeGroup

type SdkCloudMigrateStartRequest_VolumeGroup struct {
	// Request to migrate a volume group
	VolumeGroup *SdkCloudMigrateStartRequest_MigrateVolumeGroup `protobuf:"bytes,201,opt,name=volume_group,json=volumeGroup,proto3,oneof"`
}

type SdkCloudMigrateStartResponse

type SdkCloudMigrateStartResponse struct {

	// Result assocaiated with the migration that was started
	Result *CloudMigrateStartResponse `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

Defines a response for the migration that was started

func (*SdkCloudMigrateStartResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudMigrateStartResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudMigrateStartResponse) GetResult

func (*SdkCloudMigrateStartResponse) ProtoMessage

func (*SdkCloudMigrateStartResponse) ProtoMessage()

func (*SdkCloudMigrateStartResponse) ProtoReflect

func (*SdkCloudMigrateStartResponse) Reset

func (x *SdkCloudMigrateStartResponse) Reset()

func (*SdkCloudMigrateStartResponse) String

type SdkCloudMigrateStatusRequest

type SdkCloudMigrateStatusRequest struct {

	// Request contains the task id and cluster id for which status should be
	// returned
	Request *CloudMigrateStatusRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

Request for cloud migration operation status

func (*SdkCloudMigrateStatusRequest) Descriptor deprecated

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

Deprecated: Use SdkCloudMigrateStatusRequest.ProtoReflect.Descriptor instead.

func (*SdkCloudMigrateStatusRequest) GetRequest

func (*SdkCloudMigrateStatusRequest) ProtoMessage

func (*SdkCloudMigrateStatusRequest) ProtoMessage()

func (*SdkCloudMigrateStatusRequest) ProtoReflect

func (*SdkCloudMigrateStatusRequest) Reset

func (x *SdkCloudMigrateStatusRequest) Reset()

func (*SdkCloudMigrateStatusRequest) String

type SdkCloudMigrateStatusResponse

type SdkCloudMigrateStatusResponse struct {

	// Status of all migration requests
	Result *CloudMigrateStatusResponse `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

Defines a response for the status request

func (*SdkCloudMigrateStatusResponse) Descriptor deprecated

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

Deprecated: Use SdkCloudMigrateStatusResponse.ProtoReflect.Descriptor instead.

func (*SdkCloudMigrateStatusResponse) GetResult

func (*SdkCloudMigrateStatusResponse) ProtoMessage

func (*SdkCloudMigrateStatusResponse) ProtoMessage()

func (*SdkCloudMigrateStatusResponse) ProtoReflect

func (*SdkCloudMigrateStatusResponse) Reset

func (x *SdkCloudMigrateStatusResponse) Reset()

func (*SdkCloudMigrateStatusResponse) String

type SdkClusterDomainActivateRequest

type SdkClusterDomainActivateRequest struct {

	// Name of the cluster domain to activate
	ClusterDomainName string `protobuf:"bytes,1,opt,name=cluster_domain_name,json=clusterDomainName,proto3" json:"cluster_domain_name,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to activate a cluster domain

func (*SdkClusterDomainActivateRequest) Descriptor deprecated

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

Deprecated: Use SdkClusterDomainActivateRequest.ProtoReflect.Descriptor instead.

func (*SdkClusterDomainActivateRequest) GetClusterDomainName

func (x *SdkClusterDomainActivateRequest) GetClusterDomainName() string

func (*SdkClusterDomainActivateRequest) ProtoMessage

func (*SdkClusterDomainActivateRequest) ProtoMessage()

func (*SdkClusterDomainActivateRequest) ProtoReflect

func (*SdkClusterDomainActivateRequest) Reset

func (*SdkClusterDomainActivateRequest) String

type SdkClusterDomainActivateResponse

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

Empty response

func (*SdkClusterDomainActivateResponse) Descriptor deprecated

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

Deprecated: Use SdkClusterDomainActivateResponse.ProtoReflect.Descriptor instead.

func (*SdkClusterDomainActivateResponse) ProtoMessage

func (*SdkClusterDomainActivateResponse) ProtoMessage()

func (*SdkClusterDomainActivateResponse) ProtoReflect

func (*SdkClusterDomainActivateResponse) Reset

func (*SdkClusterDomainActivateResponse) String

type SdkClusterDomainDeactivateRequest

type SdkClusterDomainDeactivateRequest struct {

	// Name of the cluster domain to deactivate
	ClusterDomainName string `protobuf:"bytes,1,opt,name=cluster_domain_name,json=clusterDomainName,proto3" json:"cluster_domain_name,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to deactivate a cluster domain

func (*SdkClusterDomainDeactivateRequest) Descriptor deprecated

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

Deprecated: Use SdkClusterDomainDeactivateRequest.ProtoReflect.Descriptor instead.

func (*SdkClusterDomainDeactivateRequest) GetClusterDomainName

func (x *SdkClusterDomainDeactivateRequest) GetClusterDomainName() string

func (*SdkClusterDomainDeactivateRequest) ProtoMessage

func (*SdkClusterDomainDeactivateRequest) ProtoMessage()

func (*SdkClusterDomainDeactivateRequest) ProtoReflect

func (*SdkClusterDomainDeactivateRequest) Reset

func (*SdkClusterDomainDeactivateRequest) String

type SdkClusterDomainDeactivateResponse

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

Empty response

func (*SdkClusterDomainDeactivateResponse) Descriptor deprecated

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

Deprecated: Use SdkClusterDomainDeactivateResponse.ProtoReflect.Descriptor instead.

func (*SdkClusterDomainDeactivateResponse) ProtoMessage

func (*SdkClusterDomainDeactivateResponse) ProtoMessage()

func (*SdkClusterDomainDeactivateResponse) ProtoReflect

func (*SdkClusterDomainDeactivateResponse) Reset

func (*SdkClusterDomainDeactivateResponse) String

type SdkClusterDomainInspectRequest

type SdkClusterDomainInspectRequest struct {

	// Name of the cluster domain to inspect
	ClusterDomainName string `protobuf:"bytes,1,opt,name=cluster_domain_name,json=clusterDomainName,proto3" json:"cluster_domain_name,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to inspect a cluster domain

func (*SdkClusterDomainInspectRequest) Descriptor deprecated

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

Deprecated: Use SdkClusterDomainInspectRequest.ProtoReflect.Descriptor instead.

func (*SdkClusterDomainInspectRequest) GetClusterDomainName

func (x *SdkClusterDomainInspectRequest) GetClusterDomainName() string

func (*SdkClusterDomainInspectRequest) ProtoMessage

func (*SdkClusterDomainInspectRequest) ProtoMessage()

func (*SdkClusterDomainInspectRequest) ProtoReflect

func (*SdkClusterDomainInspectRequest) Reset

func (x *SdkClusterDomainInspectRequest) Reset()

func (*SdkClusterDomainInspectRequest) String

type SdkClusterDomainInspectResponse

type SdkClusterDomainInspectResponse struct {

	// Name of the cluster domain
	ClusterDomainName string `protobuf:"bytes,1,opt,name=cluster_domain_name,json=clusterDomainName,proto3" json:"cluster_domain_name,omitempty"`
	// IsActive indicates whether this cluster domain is active
	IsActive bool `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// contains filtered or unexported fields
}

Defines a response to inspecting a cluster domain

func (*SdkClusterDomainInspectResponse) Descriptor deprecated

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

Deprecated: Use SdkClusterDomainInspectResponse.ProtoReflect.Descriptor instead.

func (*SdkClusterDomainInspectResponse) GetClusterDomainName

func (x *SdkClusterDomainInspectResponse) GetClusterDomainName() string

func (*SdkClusterDomainInspectResponse) GetIsActive

func (x *SdkClusterDomainInspectResponse) GetIsActive() bool

func (*SdkClusterDomainInspectResponse) ProtoMessage

func (*SdkClusterDomainInspectResponse) ProtoMessage()

func (*SdkClusterDomainInspectResponse) ProtoReflect

func (*SdkClusterDomainInspectResponse) Reset

func (*SdkClusterDomainInspectResponse) String

type SdkClusterDomainsEnumerateRequest

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

Empty request

func (*SdkClusterDomainsEnumerateRequest) Descriptor deprecated

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

Deprecated: Use SdkClusterDomainsEnumerateRequest.ProtoReflect.Descriptor instead.

func (*SdkClusterDomainsEnumerateRequest) ProtoMessage

func (*SdkClusterDomainsEnumerateRequest) ProtoMessage()

func (*SdkClusterDomainsEnumerateRequest) ProtoReflect

func (*SdkClusterDomainsEnumerateRequest) Reset

func (*SdkClusterDomainsEnumerateRequest) String

type SdkClusterDomainsEnumerateResponse

type SdkClusterDomainsEnumerateResponse struct {

	// List of names of all the cluster domains in a cluster
	ClusterDomainNames []string `protobuf:"bytes,1,rep,name=cluster_domain_names,json=clusterDomainNames,proto3" json:"cluster_domain_names,omitempty"`
	// contains filtered or unexported fields
}

Defines a response when enumerating cluster domains

func (*SdkClusterDomainsEnumerateResponse) Descriptor deprecated

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

Deprecated: Use SdkClusterDomainsEnumerateResponse.ProtoReflect.Descriptor instead.

func (*SdkClusterDomainsEnumerateResponse) GetClusterDomainNames

func (x *SdkClusterDomainsEnumerateResponse) GetClusterDomainNames() []string

func (*SdkClusterDomainsEnumerateResponse) ProtoMessage

func (*SdkClusterDomainsEnumerateResponse) ProtoMessage()

func (*SdkClusterDomainsEnumerateResponse) ProtoReflect

func (*SdkClusterDomainsEnumerateResponse) Reset

func (*SdkClusterDomainsEnumerateResponse) String

type SdkClusterInspectCurrentRequest

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

Empty request

func (*SdkClusterInspectCurrentRequest) Descriptor deprecated

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

Deprecated: Use SdkClusterInspectCurrentRequest.ProtoReflect.Descriptor instead.

func (*SdkClusterInspectCurrentRequest) ProtoMessage

func (*SdkClusterInspectCurrentRequest) ProtoMessage()

func (*SdkClusterInspectCurrentRequest) ProtoReflect

func (*SdkClusterInspectCurrentRequest) Reset

func (*SdkClusterInspectCurrentRequest) String

type SdkClusterInspectCurrentResponse

type SdkClusterInspectCurrentResponse struct {

	// Cluster information
	Cluster *StorageCluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// contains filtered or unexported fields
}

Defines a response when inspecting the current cluster

func (*SdkClusterInspectCurrentResponse) Descriptor deprecated

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

Deprecated: Use SdkClusterInspectCurrentResponse.ProtoReflect.Descriptor instead.

func (*SdkClusterInspectCurrentResponse) GetCluster

func (*SdkClusterInspectCurrentResponse) ProtoMessage

func (*SdkClusterInspectCurrentResponse) ProtoMessage()

func (*SdkClusterInspectCurrentResponse) ProtoReflect

func (*SdkClusterInspectCurrentResponse) Reset

func (*SdkClusterInspectCurrentResponse) String

type SdkClusterPairCreateRequest

type SdkClusterPairCreateRequest struct {
	Request *ClusterPairCreateRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

Defines a request for creating a cluster pair

func (*SdkClusterPairCreateRequest) Descriptor deprecated

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

Deprecated: Use SdkClusterPairCreateRequest.ProtoReflect.Descriptor instead.

func (*SdkClusterPairCreateRequest) GetRequest

func (*SdkClusterPairCreateRequest) ProtoMessage

func (*SdkClusterPairCreateRequest) ProtoMessage()

func (*SdkClusterPairCreateRequest) ProtoReflect

func (*SdkClusterPairCreateRequest) Reset

func (x *SdkClusterPairCreateRequest) Reset()

func (*SdkClusterPairCreateRequest) String

func (x *SdkClusterPairCreateRequest) String() string

type SdkClusterPairCreateResponse

type SdkClusterPairCreateResponse struct {

	// Contains the information about cluster pair
	Result *ClusterPairCreateResponse `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

Defines a result of the cluster pair

func (*SdkClusterPairCreateResponse) Descriptor deprecated

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

Deprecated: Use SdkClusterPairCreateResponse.ProtoReflect.Descriptor instead.

func (*SdkClusterPairCreateResponse) GetResult

func (*SdkClusterPairCreateResponse) ProtoMessage

func (*SdkClusterPairCreateResponse) ProtoMessage()

func (*SdkClusterPairCreateResponse) ProtoReflect

func (*SdkClusterPairCreateResponse) Reset

func (x *SdkClusterPairCreateResponse) Reset()

func (*SdkClusterPairCreateResponse) String

type SdkClusterPairDeleteRequest

type SdkClusterPairDeleteRequest struct {

	// ID of the cluster pair to be deleted
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a delete request for a cluster pair

func (*SdkClusterPairDeleteRequest) Descriptor deprecated

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

Deprecated: Use SdkClusterPairDeleteRequest.ProtoReflect.Descriptor instead.

func (*SdkClusterPairDeleteRequest) GetClusterId

func (x *SdkClusterPairDeleteRequest) GetClusterId() string

func (*SdkClusterPairDeleteRequest) ProtoMessage

func (*SdkClusterPairDeleteRequest) ProtoMessage()

func (*SdkClusterPairDeleteRequest) ProtoReflect

func (*SdkClusterPairDeleteRequest) Reset

func (x *SdkClusterPairDeleteRequest) Reset()

func (*SdkClusterPairDeleteRequest) String

func (x *SdkClusterPairDeleteRequest) String() string

type SdkClusterPairDeleteResponse

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

Empty response

func (*SdkClusterPairDeleteResponse) Descriptor deprecated

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

Deprecated: Use SdkClusterPairDeleteResponse.ProtoReflect.Descriptor instead.

func (*SdkClusterPairDeleteResponse) ProtoMessage

func (*SdkClusterPairDeleteResponse) ProtoMessage()

func (*SdkClusterPairDeleteResponse) ProtoReflect

func (*SdkClusterPairDeleteResponse) Reset

func (x *SdkClusterPairDeleteResponse) Reset()

func (*SdkClusterPairDeleteResponse) String

type SdkClusterPairEnumerateRequest

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

Empty Request

func (*SdkClusterPairEnumerateRequest) Descriptor deprecated

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

Deprecated: Use SdkClusterPairEnumerateRequest.ProtoReflect.Descriptor instead.

func (*SdkClusterPairEnumerateRequest) ProtoMessage

func (*SdkClusterPairEnumerateRequest) ProtoMessage()

func (*SdkClusterPairEnumerateRequest) ProtoReflect

func (*SdkClusterPairEnumerateRequest) Reset

func (x *SdkClusterPairEnumerateRequest) Reset()

func (*SdkClusterPairEnumerateRequest) String

type SdkClusterPairEnumerateResponse

type SdkClusterPairEnumerateResponse struct {

	// List of all the cluster pairs
	Result *ClusterPairsEnumerateResponse `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

Defines a list of cluster pair

func (*SdkClusterPairEnumerateResponse) Descriptor deprecated

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

Deprecated: Use SdkClusterPairEnumerateResponse.ProtoReflect.Descriptor instead.

func (*SdkClusterPairEnumerateResponse) GetResult

func (*SdkClusterPairEnumerateResponse) ProtoMessage

func (*SdkClusterPairEnumerateResponse) ProtoMessage()

func (*SdkClusterPairEnumerateResponse) ProtoReflect

func (*SdkClusterPairEnumerateResponse) Reset

func (*SdkClusterPairEnumerateResponse) String

type SdkClusterPairGetTokenRequest

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

Empty request

func (*SdkClusterPairGetTokenRequest) Descriptor deprecated

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

Deprecated: Use SdkClusterPairGetTokenRequest.ProtoReflect.Descriptor instead.

func (*SdkClusterPairGetTokenRequest) ProtoMessage

func (*SdkClusterPairGetTokenRequest) ProtoMessage()

func (*SdkClusterPairGetTokenRequest) ProtoReflect

func (*SdkClusterPairGetTokenRequest) Reset

func (x *SdkClusterPairGetTokenRequest) Reset()

func (*SdkClusterPairGetTokenRequest) String

type SdkClusterPairGetTokenResponse

type SdkClusterPairGetTokenResponse struct {

	// Contains authentication token for the cluster
	Result *ClusterPairTokenGetResponse `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

Defines a response for the token request

func (*SdkClusterPairGetTokenResponse) Descriptor deprecated

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

Deprecated: Use SdkClusterPairGetTokenResponse.ProtoReflect.Descriptor instead.

func (*SdkClusterPairGetTokenResponse) GetResult

func (*SdkClusterPairGetTokenResponse) ProtoMessage

func (*SdkClusterPairGetTokenResponse) ProtoMessage()

func (*SdkClusterPairGetTokenResponse) ProtoReflect

func (*SdkClusterPairGetTokenResponse) Reset

func (x *SdkClusterPairGetTokenResponse) Reset()

func (*SdkClusterPairGetTokenResponse) String

type SdkClusterPairInspectRequest

type SdkClusterPairInspectRequest struct {

	// ID of the cluster, if empty gets the default pair
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Defines a cluster pair inspect request

func (*SdkClusterPairInspectRequest) Descriptor deprecated

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

Deprecated: Use SdkClusterPairInspectRequest.ProtoReflect.Descriptor instead.

func (*SdkClusterPairInspectRequest) GetId

func (*SdkClusterPairInspectRequest) ProtoMessage

func (*SdkClusterPairInspectRequest) ProtoMessage()

func (*SdkClusterPairInspectRequest) ProtoReflect

func (*SdkClusterPairInspectRequest) Reset

func (x *SdkClusterPairInspectRequest) Reset()

func (*SdkClusterPairInspectRequest) String

type SdkClusterPairInspectResponse

type SdkClusterPairInspectResponse struct {

	// Information about cluster pair
	Result *ClusterPairGetResponse `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

Defines a cluster pair inspect response

func (*SdkClusterPairInspectResponse) Descriptor deprecated

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

Deprecated: Use SdkClusterPairInspectResponse.ProtoReflect.Descriptor instead.

func (*SdkClusterPairInspectResponse) GetResult

func (*SdkClusterPairInspectResponse) ProtoMessage

func (*SdkClusterPairInspectResponse) ProtoMessage()

func (*SdkClusterPairInspectResponse) ProtoReflect

func (*SdkClusterPairInspectResponse) Reset

func (x *SdkClusterPairInspectResponse) Reset()

func (*SdkClusterPairInspectResponse) String

type SdkClusterPairResetTokenRequest

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

Empty request

func (*SdkClusterPairResetTokenRequest) Descriptor deprecated

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

Deprecated: Use SdkClusterPairResetTokenRequest.ProtoReflect.Descriptor instead.

func (*SdkClusterPairResetTokenRequest) ProtoMessage

func (*SdkClusterPairResetTokenRequest) ProtoMessage()

func (*SdkClusterPairResetTokenRequest) ProtoReflect

func (*SdkClusterPairResetTokenRequest) Reset

func (*SdkClusterPairResetTokenRequest) String

type SdkClusterPairResetTokenResponse

type SdkClusterPairResetTokenResponse struct {

	// Contains authentication token for the cluster
	Result *ClusterPairTokenGetResponse `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

Defines a response for the token request

func (*SdkClusterPairResetTokenResponse) Descriptor deprecated

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

Deprecated: Use SdkClusterPairResetTokenResponse.ProtoReflect.Descriptor instead.

func (*SdkClusterPairResetTokenResponse) GetResult

func (*SdkClusterPairResetTokenResponse) ProtoMessage

func (*SdkClusterPairResetTokenResponse) ProtoMessage()

func (*SdkClusterPairResetTokenResponse) ProtoReflect

func (*SdkClusterPairResetTokenResponse) Reset

func (*SdkClusterPairResetTokenResponse) String

type SdkCredentialCreateRequest

type SdkCredentialCreateRequest struct {

	// Name of the credential
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// (optional) Name of bucket
	Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// (optional) Key used to encrypt the data
	EncryptionKey string `protobuf:"bytes,3,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
	// Ownership of the credential. Collaborators and groups may be
	// added here with their appropriate ACLS.
	Ownership *Ownership `protobuf:"bytes,4,opt,name=ownership,proto3" json:"ownership,omitempty"`
	// use_proxy indicates if a proxy must be used
	UseProxy bool `protobuf:"varint,5,opt,name=use_proxy,json=useProxy,proto3" json:"use_proxy,omitempty"`
	// iamPolicy indicates if IAM creds must be used for access
	IamPolicy bool `protobuf:"varint,6,opt,name=iam_policy,json=iamPolicy,proto3" json:"iam_policy,omitempty"`
	// s3StorageClass for object puts, empty indicates default STANDARD
	S3StorageClass string `protobuf:"bytes,7,opt,name=s3_storage_class,json=s3StorageClass,proto3" json:"s3_storage_class,omitempty"`
	// Start at field number 200 to allow for expansion
	//
	// Types that are assignable to CredentialType:
	//	*SdkCredentialCreateRequest_AwsCredential
	//	*SdkCredentialCreateRequest_AzureCredential
	//	*SdkCredentialCreateRequest_GoogleCredential
	CredentialType isSdkCredentialCreateRequest_CredentialType `protobuf_oneof:"credential_type"`
	// contains filtered or unexported fields
}

Defines a request to create credentials

func (*SdkCredentialCreateRequest) Descriptor deprecated

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

Deprecated: Use SdkCredentialCreateRequest.ProtoReflect.Descriptor instead.

func (*SdkCredentialCreateRequest) GetAwsCredential

func (x *SdkCredentialCreateRequest) GetAwsCredential() *SdkAwsCredentialRequest

func (*SdkCredentialCreateRequest) GetAzureCredential

func (x *SdkCredentialCreateRequest) GetAzureCredential() *SdkAzureCredentialRequest

func (*SdkCredentialCreateRequest) GetBucket

func (x *SdkCredentialCreateRequest) GetBucket() string

func (*SdkCredentialCreateRequest) GetCredentialType

func (m *SdkCredentialCreateRequest) GetCredentialType() isSdkCredentialCreateRequest_CredentialType

func (*SdkCredentialCreateRequest) GetEncryptionKey

func (x *SdkCredentialCreateRequest) GetEncryptionKey() string

func (*SdkCredentialCreateRequest) GetGoogleCredential

func (x *SdkCredentialCreateRequest) GetGoogleCredential() *SdkGoogleCredentialRequest

func (*SdkCredentialCreateRequest) GetIamPolicy

func (x *SdkCredentialCreateRequest) GetIamPolicy() bool

func (*SdkCredentialCreateRequest) GetName

func (x *SdkCredentialCreateRequest) GetName() string

func (*SdkCredentialCreateRequest) GetOwnership

func (x *SdkCredentialCreateRequest) GetOwnership() *Ownership

func (*SdkCredentialCreateRequest) GetS3StorageClass

func (x *SdkCredentialCreateRequest) GetS3StorageClass() string

func (*SdkCredentialCreateRequest) GetUseProxy

func (x *SdkCredentialCreateRequest) GetUseProxy() bool

func (*SdkCredentialCreateRequest) ProtoMessage

func (*SdkCredentialCreateRequest) ProtoMessage()

func (*SdkCredentialCreateRequest) ProtoReflect

func (*SdkCredentialCreateRequest) Reset

func (x *SdkCredentialCreateRequest) Reset()

func (*SdkCredentialCreateRequest) String

func (x *SdkCredentialCreateRequest) String() string

type SdkCredentialCreateRequest_AwsCredential

type SdkCredentialCreateRequest_AwsCredential struct {
	// Credentials for AWS/S3
	AwsCredential *SdkAwsCredentialRequest `protobuf:"bytes,200,opt,name=aws_credential,json=awsCredential,proto3,oneof"`
}

type SdkCredentialCreateRequest_AzureCredential

type SdkCredentialCreateRequest_AzureCredential struct {
	// Credentials for Azure
	AzureCredential *SdkAzureCredentialRequest `protobuf:"bytes,201,opt,name=azure_credential,json=azureCredential,proto3,oneof"`
}

type SdkCredentialCreateRequest_GoogleCredential

type SdkCredentialCreateRequest_GoogleCredential struct {
	// Credentials for Google
	GoogleCredential *SdkGoogleCredentialRequest `protobuf:"bytes,202,opt,name=google_credential,json=googleCredential,proto3,oneof"`
}

type SdkCredentialCreateResponse

type SdkCredentialCreateResponse struct {

	// Id of the credentials
	CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a response from creating a credential

func (*SdkCredentialCreateResponse) Descriptor deprecated

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

Deprecated: Use SdkCredentialCreateResponse.ProtoReflect.Descriptor instead.

func (*SdkCredentialCreateResponse) GetCredentialId

func (x *SdkCredentialCreateResponse) GetCredentialId() string

func (*SdkCredentialCreateResponse) ProtoMessage

func (*SdkCredentialCreateResponse) ProtoMessage()

func (*SdkCredentialCreateResponse) ProtoReflect

func (*SdkCredentialCreateResponse) Reset

func (x *SdkCredentialCreateResponse) Reset()

func (*SdkCredentialCreateResponse) String

func (x *SdkCredentialCreateResponse) String() string

type SdkCredentialDeleteReferencesRequest

type SdkCredentialDeleteReferencesRequest struct {

	// Id of the credentials
	CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to remove any references to credentials

func (*SdkCredentialDeleteReferencesRequest) Descriptor deprecated

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

Deprecated: Use SdkCredentialDeleteReferencesRequest.ProtoReflect.Descriptor instead.

func (*SdkCredentialDeleteReferencesRequest) GetCredentialId

func (x *SdkCredentialDeleteReferencesRequest) GetCredentialId() string

func (*SdkCredentialDeleteReferencesRequest) ProtoMessage

func (*SdkCredentialDeleteReferencesRequest) ProtoMessage()

func (*SdkCredentialDeleteReferencesRequest) ProtoReflect

func (*SdkCredentialDeleteReferencesRequest) Reset

func (*SdkCredentialDeleteReferencesRequest) String

type SdkCredentialDeleteReferencesResponse

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

Empty response

func (*SdkCredentialDeleteReferencesResponse) Descriptor deprecated

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

Deprecated: Use SdkCredentialDeleteReferencesResponse.ProtoReflect.Descriptor instead.

func (*SdkCredentialDeleteReferencesResponse) ProtoMessage

func (*SdkCredentialDeleteReferencesResponse) ProtoMessage()

func (*SdkCredentialDeleteReferencesResponse) ProtoReflect

func (*SdkCredentialDeleteReferencesResponse) Reset

func (*SdkCredentialDeleteReferencesResponse) String

type SdkCredentialDeleteRequest

type SdkCredentialDeleteRequest struct {

	// Id for credentials
	CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// contains filtered or unexported fields
}

Defines the request to delete credentials

func (*SdkCredentialDeleteRequest) Descriptor deprecated

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

Deprecated: Use SdkCredentialDeleteRequest.ProtoReflect.Descriptor instead.

func (*SdkCredentialDeleteRequest) GetCredentialId

func (x *SdkCredentialDeleteRequest) GetCredentialId() string

func (*SdkCredentialDeleteRequest) ProtoMessage

func (*SdkCredentialDeleteRequest) ProtoMessage()

func (*SdkCredentialDeleteRequest) ProtoReflect

func (*SdkCredentialDeleteRequest) Reset

func (x *SdkCredentialDeleteRequest) Reset()

func (*SdkCredentialDeleteRequest) String

func (x *SdkCredentialDeleteRequest) String() string

type SdkCredentialDeleteResponse

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

Empty response

func (*SdkCredentialDeleteResponse) Descriptor deprecated

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

Deprecated: Use SdkCredentialDeleteResponse.ProtoReflect.Descriptor instead.

func (*SdkCredentialDeleteResponse) ProtoMessage

func (*SdkCredentialDeleteResponse) ProtoMessage()

func (*SdkCredentialDeleteResponse) ProtoReflect

func (*SdkCredentialDeleteResponse) Reset

func (x *SdkCredentialDeleteResponse) Reset()

func (*SdkCredentialDeleteResponse) String

func (x *SdkCredentialDeleteResponse) String() string

type SdkCredentialEnumerateRequest

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

Empty request

func (*SdkCredentialEnumerateRequest) Descriptor deprecated

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

Deprecated: Use SdkCredentialEnumerateRequest.ProtoReflect.Descriptor instead.

func (*SdkCredentialEnumerateRequest) ProtoMessage

func (*SdkCredentialEnumerateRequest) ProtoMessage()

func (*SdkCredentialEnumerateRequest) ProtoReflect

func (*SdkCredentialEnumerateRequest) Reset

func (x *SdkCredentialEnumerateRequest) Reset()

func (*SdkCredentialEnumerateRequest) String

type SdkCredentialEnumerateResponse

type SdkCredentialEnumerateResponse struct {

	// List of credentials
	CredentialIds []string `protobuf:"bytes,1,rep,name=credential_ids,json=credentialIds,proto3" json:"credential_ids,omitempty"`
	// contains filtered or unexported fields
}

Defines response for a enumeration of credentials

func (*SdkCredentialEnumerateResponse) Descriptor deprecated

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

Deprecated: Use SdkCredentialEnumerateResponse.ProtoReflect.Descriptor instead.

func (*SdkCredentialEnumerateResponse) GetCredentialIds

func (x *SdkCredentialEnumerateResponse) GetCredentialIds() []string

func (*SdkCredentialEnumerateResponse) ProtoMessage

func (*SdkCredentialEnumerateResponse) ProtoMessage()

func (*SdkCredentialEnumerateResponse) ProtoReflect

func (*SdkCredentialEnumerateResponse) Reset

func (x *SdkCredentialEnumerateResponse) Reset()

func (*SdkCredentialEnumerateResponse) String

type SdkCredentialInspectRequest

type SdkCredentialInspectRequest struct {

	// Id of the credential
	CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// contains filtered or unexported fields
}

Defines the request to inspection for credentials

func (*SdkCredentialInspectRequest) Descriptor deprecated

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

Deprecated: Use SdkCredentialInspectRequest.ProtoReflect.Descriptor instead.

func (*SdkCredentialInspectRequest) GetCredentialId

func (x *SdkCredentialInspectRequest) GetCredentialId() string

func (*SdkCredentialInspectRequest) ProtoMessage

func (*SdkCredentialInspectRequest) ProtoMessage()

func (*SdkCredentialInspectRequest) ProtoReflect

func (*SdkCredentialInspectRequest) Reset

func (x *SdkCredentialInspectRequest) Reset()

func (*SdkCredentialInspectRequest) String

func (x *SdkCredentialInspectRequest) String() string

type SdkCredentialInspectResponse

type SdkCredentialInspectResponse struct {

	// Credential id
	CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// Name of the credential
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// (optional) Name of bucket
	Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Ownership of the credential
	Ownership *Ownership `protobuf:"bytes,4,opt,name=ownership,proto3" json:"ownership,omitempty"`
	// proxy flag for the credential
	UseProxy bool `protobuf:"varint,5,opt,name=use_proxy,json=useProxy,proto3" json:"use_proxy,omitempty"`
	// iamPolicy indicates if IAM creds must be used for access
	IamPolicy bool `protobuf:"varint,6,opt,name=iam_policy,json=iamPolicy,proto3" json:"iam_policy,omitempty"`
	// Start at field number 200 for expansion support
	//
	// Types that are assignable to CredentialType:
	//	*SdkCredentialInspectResponse_AwsCredential
	//	*SdkCredentialInspectResponse_AzureCredential
	//	*SdkCredentialInspectResponse_GoogleCredential
	CredentialType isSdkCredentialInspectResponse_CredentialType `protobuf_oneof:"credential_type"`
	// contains filtered or unexported fields
}

Defines the response to an inspection of a credential. This response uses OneOf proto style. Depending on your programming language you will need to check if the value of credential_type is one of the ones below.

func (*SdkCredentialInspectResponse) Descriptor deprecated

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

Deprecated: Use SdkCredentialInspectResponse.ProtoReflect.Descriptor instead.

func (*SdkCredentialInspectResponse) GetAwsCredential

func (*SdkCredentialInspectResponse) GetAzureCredential

func (*SdkCredentialInspectResponse) GetBucket

func (x *SdkCredentialInspectResponse) GetBucket() string

func (*SdkCredentialInspectResponse) GetCredentialId

func (x *SdkCredentialInspectResponse) GetCredentialId() string

func (*SdkCredentialInspectResponse) GetCredentialType

func (m *SdkCredentialInspectResponse) GetCredentialType() isSdkCredentialInspectResponse_CredentialType

func (*SdkCredentialInspectResponse) GetGoogleCredential

func (*SdkCredentialInspectResponse) GetIamPolicy

func (x *SdkCredentialInspectResponse) GetIamPolicy() bool

func (*SdkCredentialInspectResponse) GetName

func (x *SdkCredentialInspectResponse) GetName() string

func (*SdkCredentialInspectResponse) GetOwnership

func (x *SdkCredentialInspectResponse) GetOwnership() *Ownership

func (*SdkCredentialInspectResponse) GetUseProxy

func (x *SdkCredentialInspectResponse) GetUseProxy() bool

func (*SdkCredentialInspectResponse) ProtoMessage

func (*SdkCredentialInspectResponse) ProtoMessage()

func (*SdkCredentialInspectResponse) ProtoReflect

func (*SdkCredentialInspectResponse) Reset

func (x *SdkCredentialInspectResponse) Reset()

func (*SdkCredentialInspectResponse) String

type SdkCredentialInspectResponse_AwsCredential

type SdkCredentialInspectResponse_AwsCredential struct {
	// Aws credentials
	AwsCredential *SdkAwsCredentialResponse `protobuf:"bytes,200,opt,name=aws_credential,json=awsCredential,proto3,oneof"`
}

type SdkCredentialInspectResponse_AzureCredential

type SdkCredentialInspectResponse_AzureCredential struct {
	// Azure credentials
	AzureCredential *SdkAzureCredentialResponse `protobuf:"bytes,201,opt,name=azure_credential,json=azureCredential,proto3,oneof"`
}

type SdkCredentialInspectResponse_GoogleCredential

type SdkCredentialInspectResponse_GoogleCredential struct {
	// Google credentials
	GoogleCredential *SdkGoogleCredentialResponse `protobuf:"bytes,202,opt,name=google_credential,json=googleCredential,proto3,oneof"`
}

type SdkCredentialUpdateRequest

type SdkCredentialUpdateRequest struct {
	CredentialId string                      `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	UpdateReq    *SdkCredentialCreateRequest `protobuf:"bytes,2,opt,name=update_req,json=updateReq,proto3" json:"update_req,omitempty"`
	// contains filtered or unexported fields
}

Defines request for credential update

func (*SdkCredentialUpdateRequest) Descriptor deprecated

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

Deprecated: Use SdkCredentialUpdateRequest.ProtoReflect.Descriptor instead.

func (*SdkCredentialUpdateRequest) GetCredentialId

func (x *SdkCredentialUpdateRequest) GetCredentialId() string

func (*SdkCredentialUpdateRequest) GetUpdateReq

func (*SdkCredentialUpdateRequest) ProtoMessage

func (*SdkCredentialUpdateRequest) ProtoMessage()

func (*SdkCredentialUpdateRequest) ProtoReflect

func (*SdkCredentialUpdateRequest) Reset

func (x *SdkCredentialUpdateRequest) Reset()

func (*SdkCredentialUpdateRequest) String

func (x *SdkCredentialUpdateRequest) String() string

type SdkCredentialUpdateResponse

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

Defines response for credential update

func (*SdkCredentialUpdateResponse) Descriptor deprecated

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

Deprecated: Use SdkCredentialUpdateResponse.ProtoReflect.Descriptor instead.

func (*SdkCredentialUpdateResponse) ProtoMessage

func (*SdkCredentialUpdateResponse) ProtoMessage()

func (*SdkCredentialUpdateResponse) ProtoReflect

func (*SdkCredentialUpdateResponse) Reset

func (x *SdkCredentialUpdateResponse) Reset()

func (*SdkCredentialUpdateResponse) String

func (x *SdkCredentialUpdateResponse) String() string

type SdkCredentialValidateRequest

type SdkCredentialValidateRequest struct {

	// Id of the credentials
	CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to validate credentials

func (*SdkCredentialValidateRequest) Descriptor deprecated

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

Deprecated: Use SdkCredentialValidateRequest.ProtoReflect.Descriptor instead.

func (*SdkCredentialValidateRequest) GetCredentialId

func (x *SdkCredentialValidateRequest) GetCredentialId() string

func (*SdkCredentialValidateRequest) ProtoMessage

func (*SdkCredentialValidateRequest) ProtoMessage()

func (*SdkCredentialValidateRequest) ProtoReflect

func (*SdkCredentialValidateRequest) Reset

func (x *SdkCredentialValidateRequest) Reset()

func (*SdkCredentialValidateRequest) String

type SdkCredentialValidateResponse

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

Empty response

func (*SdkCredentialValidateResponse) Descriptor deprecated

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

Deprecated: Use SdkCredentialValidateResponse.ProtoReflect.Descriptor instead.

func (*SdkCredentialValidateResponse) ProtoMessage

func (*SdkCredentialValidateResponse) ProtoMessage()

func (*SdkCredentialValidateResponse) ProtoReflect

func (*SdkCredentialValidateResponse) Reset

func (x *SdkCredentialValidateResponse) Reset()

func (*SdkCredentialValidateResponse) String

type SdkDiagsCollectRequest

type SdkDiagsCollectRequest struct {

	// Node selects the node(s) for diags collection
	Node *DiagsNodeSelector `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// Volume selects the volume(s) for diags collection
	Volume *DiagsVolumeSelector `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"`
	// ProfileOnly is an optional flag if true will only collect the stack and heap profile of the driver and will skip
	// other diag components
	ProfileOnly bool `protobuf:"varint,3,opt,name=profile_only,json=profileOnly,proto3" json:"profile_only,omitempty"`
	// Issuer is an optional  user friendly name for the caller invoking the API
	Issuer string `protobuf:"bytes,4,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// TimeoutMins is the timeout in minutes for the job. This is an optional field and if not provided, the
	// implementation of the SDK will use a sane default
	TimeoutMins int64 `protobuf:"varint,5,opt,name=timeout_mins,json=timeoutMins,proto3" json:"timeout_mins,omitempty"`
	// Live is an optional flag if true will collect live cores from running processes of the driver
	Live bool `protobuf:"varint,6,opt,name=live,proto3" json:"live,omitempty"`
	// Filename is an optional flag only to be used for testing purposes.
	Filename string `protobuf:"bytes,7,opt,name=filename,proto3" json:"filename,omitempty"`
	// contains filtered or unexported fields
}

SdkDiagsCollectRequest is the request object that specifies what should be part of the diags that are collected User can specify both Node and Volume or just one of them. If both are provided, the implementation will select nodes based on both and also handle overlaps

func (*SdkDiagsCollectRequest) Descriptor deprecated

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

Deprecated: Use SdkDiagsCollectRequest.ProtoReflect.Descriptor instead.

func (*SdkDiagsCollectRequest) GetFilename

func (x *SdkDiagsCollectRequest) GetFilename() string

func (*SdkDiagsCollectRequest) GetIssuer

func (x *SdkDiagsCollectRequest) GetIssuer() string

func (*SdkDiagsCollectRequest) GetLive

func (x *SdkDiagsCollectRequest) GetLive() bool

func (*SdkDiagsCollectRequest) GetNode

func (*SdkDiagsCollectRequest) GetProfileOnly

func (x *SdkDiagsCollectRequest) GetProfileOnly() bool

func (*SdkDiagsCollectRequest) GetTimeoutMins

func (x *SdkDiagsCollectRequest) GetTimeoutMins() int64

func (*SdkDiagsCollectRequest) GetVolume

func (*SdkDiagsCollectRequest) ProtoMessage

func (*SdkDiagsCollectRequest) ProtoMessage()

func (*SdkDiagsCollectRequest) ProtoReflect

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

func (*SdkDiagsCollectRequest) Reset

func (x *SdkDiagsCollectRequest) Reset()

func (*SdkDiagsCollectRequest) String

func (x *SdkDiagsCollectRequest) String() string

type SdkDiagsCollectResponse

type SdkDiagsCollectResponse struct {

	// Job that was created for the SDK request
	Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

SdkDiagsCollectResponse defines a response for an SDK request to collect diags

func (*SdkDiagsCollectResponse) Descriptor deprecated

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

Deprecated: Use SdkDiagsCollectResponse.ProtoReflect.Descriptor instead.

func (*SdkDiagsCollectResponse) GetJob

func (x *SdkDiagsCollectResponse) GetJob() *Job

func (*SdkDiagsCollectResponse) ProtoMessage

func (*SdkDiagsCollectResponse) ProtoMessage()

func (*SdkDiagsCollectResponse) ProtoReflect

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

func (*SdkDiagsCollectResponse) Reset

func (x *SdkDiagsCollectResponse) Reset()

func (*SdkDiagsCollectResponse) String

func (x *SdkDiagsCollectResponse) String() string

type SdkEnumerateJobsRequest

type SdkEnumerateJobsRequest struct {

	// Type if specified will list the jobs of the provided type
	Type Job_Type `protobuf:"varint,1,opt,name=type,proto3,enum=openstorage.api.Job_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to list all the jobs

func (*SdkEnumerateJobsRequest) Descriptor deprecated

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

Deprecated: Use SdkEnumerateJobsRequest.ProtoReflect.Descriptor instead.

func (*SdkEnumerateJobsRequest) GetType

func (x *SdkEnumerateJobsRequest) GetType() Job_Type

func (*SdkEnumerateJobsRequest) ProtoMessage

func (*SdkEnumerateJobsRequest) ProtoMessage()

func (*SdkEnumerateJobsRequest) ProtoReflect

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

func (*SdkEnumerateJobsRequest) Reset

func (x *SdkEnumerateJobsRequest) Reset()

func (*SdkEnumerateJobsRequest) String

func (x *SdkEnumerateJobsRequest) String() string

type SdkEnumerateJobsResponse

type SdkEnumerateJobsResponse struct {

	// Jobs is the list of jobs in the response
	Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

Defines a response will all the known jobs

func (*SdkEnumerateJobsResponse) Descriptor deprecated

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

Deprecated: Use SdkEnumerateJobsResponse.ProtoReflect.Descriptor instead.

func (*SdkEnumerateJobsResponse) GetJobs

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

func (*SdkEnumerateJobsResponse) ProtoMessage

func (*SdkEnumerateJobsResponse) ProtoMessage()

func (*SdkEnumerateJobsResponse) ProtoReflect

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

func (*SdkEnumerateJobsResponse) Reset

func (x *SdkEnumerateJobsResponse) Reset()

func (*SdkEnumerateJobsResponse) String

func (x *SdkEnumerateJobsResponse) String() string

type SdkEnumerateRebalanceJobsRequest

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

func (*SdkEnumerateRebalanceJobsRequest) Descriptor deprecated

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

Deprecated: Use SdkEnumerateRebalanceJobsRequest.ProtoReflect.Descriptor instead.

func (*SdkEnumerateRebalanceJobsRequest) ProtoMessage

func (*SdkEnumerateRebalanceJobsRequest) ProtoMessage()

func (*SdkEnumerateRebalanceJobsRequest) ProtoReflect

func (*SdkEnumerateRebalanceJobsRequest) Reset

func (*SdkEnumerateRebalanceJobsRequest) String

type SdkEnumerateRebalanceJobsResponse

type SdkEnumerateRebalanceJobsResponse struct {

	// Jobs is the list of rebalance jobs in the response
	Jobs []*StorageRebalanceJob `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

func (*SdkEnumerateRebalanceJobsResponse) Descriptor deprecated

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

Deprecated: Use SdkEnumerateRebalanceJobsResponse.ProtoReflect.Descriptor instead.

func (*SdkEnumerateRebalanceJobsResponse) GetJobs

func (*SdkEnumerateRebalanceJobsResponse) ProtoMessage

func (*SdkEnumerateRebalanceJobsResponse) ProtoMessage()

func (*SdkEnumerateRebalanceJobsResponse) ProtoReflect

func (*SdkEnumerateRebalanceJobsResponse) Reset

func (*SdkEnumerateRebalanceJobsResponse) String

type SdkFilesystemCheckStartRequest

type SdkFilesystemCheckStartRequest struct {

	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Mode of operation
	Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

SdkFilesystemCheckStartRequest defines a request to start a background filesystem consistency check operation

func (*SdkFilesystemCheckStartRequest) Descriptor deprecated

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

Deprecated: Use SdkFilesystemCheckStartRequest.ProtoReflect.Descriptor instead.

func (*SdkFilesystemCheckStartRequest) GetMode

func (*SdkFilesystemCheckStartRequest) GetVolumeId

func (x *SdkFilesystemCheckStartRequest) GetVolumeId() string

func (*SdkFilesystemCheckStartRequest) ProtoMessage

func (*SdkFilesystemCheckStartRequest) ProtoMessage()

func (*SdkFilesystemCheckStartRequest) ProtoReflect

func (*SdkFilesystemCheckStartRequest) Reset

func (x *SdkFilesystemCheckStartRequest) Reset()

func (*SdkFilesystemCheckStartRequest) String

type SdkFilesystemCheckStartResponse

type SdkFilesystemCheckStartResponse struct {

	// Status code representing the state of the filesystem check operation
	Status FilesystemCheck_FilesystemCheckStatus `protobuf:"varint,1,opt,name=status,proto3,enum=openstorage.api.FilesystemCheck_FilesystemCheckStatus" json:"status,omitempty"`
	// Text blob containing ASCII text providing details of the operation
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

SdkFilesystemCheckStartResponse defines the response for a SdkFilesystemCheckStartRequest.

func (*SdkFilesystemCheckStartResponse) Descriptor deprecated

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

Deprecated: Use SdkFilesystemCheckStartResponse.ProtoReflect.Descriptor instead.

func (*SdkFilesystemCheckStartResponse) GetMessage

func (x *SdkFilesystemCheckStartResponse) GetMessage() string

func (*SdkFilesystemCheckStartResponse) GetStatus

func (*SdkFilesystemCheckStartResponse) ProtoMessage

func (*SdkFilesystemCheckStartResponse) ProtoMessage()

func (*SdkFilesystemCheckStartResponse) ProtoReflect

func (*SdkFilesystemCheckStartResponse) Reset

func (*SdkFilesystemCheckStartResponse) String

type SdkFilesystemCheckStatusRequest

type SdkFilesystemCheckStatusRequest struct {

	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// contains filtered or unexported fields
}

SdkFilesystemCheckStatusRequest defines a request to get status of a background filesystem check operation

func (*SdkFilesystemCheckStatusRequest) Descriptor deprecated

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

Deprecated: Use SdkFilesystemCheckStatusRequest.ProtoReflect.Descriptor instead.

func (*SdkFilesystemCheckStatusRequest) GetVolumeId

func (x *SdkFilesystemCheckStatusRequest) GetVolumeId() string

func (*SdkFilesystemCheckStatusRequest) ProtoMessage

func (*SdkFilesystemCheckStatusRequest) ProtoMessage()

func (*SdkFilesystemCheckStatusRequest) ProtoReflect

func (*SdkFilesystemCheckStatusRequest) Reset

func (*SdkFilesystemCheckStatusRequest) String

type SdkFilesystemCheckStatusResponse

type SdkFilesystemCheckStatusResponse struct {

	// Status code representing the state of the filesystem check operation
	Status FilesystemCheck_FilesystemCheckStatus `protobuf:"varint,1,opt,name=status,proto3,enum=openstorage.api.FilesystemCheck_FilesystemCheckStatus" json:"status,omitempty"`
	// Status code representing the health of the filesystem after a checkHealth
	// operation
	HealthStatus FilesystemHealthStatus `` /* 142-byte string literal not displayed */
	// Text string representing the mode of filesystem check operation
	Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
	// Text blob containing ASCII text providing details of the operation
	Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

SdkFilesystemCheckStatusResponse defines the response for a SdkFilesystemCheckStatusRequest.

func (*SdkFilesystemCheckStatusResponse) Descriptor deprecated

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

Deprecated: Use SdkFilesystemCheckStatusResponse.ProtoReflect.Descriptor instead.

func (*SdkFilesystemCheckStatusResponse) GetHealthStatus

func (*SdkFilesystemCheckStatusResponse) GetMessage

func (x *SdkFilesystemCheckStatusResponse) GetMessage() string

func (*SdkFilesystemCheckStatusResponse) GetMode

func (*SdkFilesystemCheckStatusResponse) GetStatus

func (*SdkFilesystemCheckStatusResponse) ProtoMessage

func (*SdkFilesystemCheckStatusResponse) ProtoMessage()

func (*SdkFilesystemCheckStatusResponse) ProtoReflect

func (*SdkFilesystemCheckStatusResponse) Reset

func (*SdkFilesystemCheckStatusResponse) String

type SdkFilesystemCheckStopRequest

type SdkFilesystemCheckStopRequest struct {

	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// contains filtered or unexported fields
}

SdkFilesystemCheckStopRequest defines a request to stop a background filesystem check operation

func (*SdkFilesystemCheckStopRequest) Descriptor deprecated

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

Deprecated: Use SdkFilesystemCheckStopRequest.ProtoReflect.Descriptor instead.

func (*SdkFilesystemCheckStopRequest) GetVolumeId

func (x *SdkFilesystemCheckStopRequest) GetVolumeId() string

func (*SdkFilesystemCheckStopRequest) ProtoMessage

func (*SdkFilesystemCheckStopRequest) ProtoMessage()

func (*SdkFilesystemCheckStopRequest) ProtoReflect

func (*SdkFilesystemCheckStopRequest) Reset

func (x *SdkFilesystemCheckStopRequest) Reset()

func (*SdkFilesystemCheckStopRequest) String

type SdkFilesystemCheckStopResponse

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

Empty response

func (*SdkFilesystemCheckStopResponse) Descriptor deprecated

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

Deprecated: Use SdkFilesystemCheckStopResponse.ProtoReflect.Descriptor instead.

func (*SdkFilesystemCheckStopResponse) ProtoMessage

func (*SdkFilesystemCheckStopResponse) ProtoMessage()

func (*SdkFilesystemCheckStopResponse) ProtoReflect

func (*SdkFilesystemCheckStopResponse) Reset

func (x *SdkFilesystemCheckStopResponse) Reset()

func (*SdkFilesystemCheckStopResponse) String

type SdkFilesystemTrimStartRequest

type SdkFilesystemTrimStartRequest struct {

	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Path where the volume is mounted
	MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// contains filtered or unexported fields
}

SdkFilesystemTrimStartRequest defines a request to start a background filesystem trim operation

func (*SdkFilesystemTrimStartRequest) Descriptor deprecated

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

Deprecated: Use SdkFilesystemTrimStartRequest.ProtoReflect.Descriptor instead.

func (*SdkFilesystemTrimStartRequest) GetMountPath

func (x *SdkFilesystemTrimStartRequest) GetMountPath() string

func (*SdkFilesystemTrimStartRequest) GetVolumeId

func (x *SdkFilesystemTrimStartRequest) GetVolumeId() string

func (*SdkFilesystemTrimStartRequest) ProtoMessage

func (*SdkFilesystemTrimStartRequest) ProtoMessage()

func (*SdkFilesystemTrimStartRequest) ProtoReflect

func (*SdkFilesystemTrimStartRequest) Reset

func (x *SdkFilesystemTrimStartRequest) Reset()

func (*SdkFilesystemTrimStartRequest) String

type SdkFilesystemTrimStartResponse

type SdkFilesystemTrimStartResponse struct {

	// Status code representing the state of the filesystem trim operation
	Status FilesystemTrim_FilesystemTrimStatus `protobuf:"varint,1,opt,name=status,proto3,enum=openstorage.api.FilesystemTrim_FilesystemTrimStatus" json:"status,omitempty"`
	// Text blob containing ASCII text providing details of the operation
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

SdkFilesystemTrimStartResponse defines the response for a SdkFilesystemTrimStartRequest.

func (*SdkFilesystemTrimStartResponse) Descriptor deprecated

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

Deprecated: Use SdkFilesystemTrimStartResponse.ProtoReflect.Descriptor instead.

func (*SdkFilesystemTrimStartResponse) GetMessage

func (x *SdkFilesystemTrimStartResponse) GetMessage() string

func (*SdkFilesystemTrimStartResponse) GetStatus

func (*SdkFilesystemTrimStartResponse) ProtoMessage

func (*SdkFilesystemTrimStartResponse) ProtoMessage()

func (*SdkFilesystemTrimStartResponse) ProtoReflect

func (*SdkFilesystemTrimStartResponse) Reset

func (x *SdkFilesystemTrimStartResponse) Reset()

func (*SdkFilesystemTrimStartResponse) String

type SdkFilesystemTrimStatusRequest

type SdkFilesystemTrimStatusRequest struct {

	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Path where the volume is mounted
	MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// contains filtered or unexported fields
}

SdkFilesystemTrimStatusRequest defines a request to get status of a background filesystem trim operation

func (*SdkFilesystemTrimStatusRequest) Descriptor deprecated

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

Deprecated: Use SdkFilesystemTrimStatusRequest.ProtoReflect.Descriptor instead.

func (*SdkFilesystemTrimStatusRequest) GetMountPath

func (x *SdkFilesystemTrimStatusRequest) GetMountPath() string

func (*SdkFilesystemTrimStatusRequest) GetVolumeId

func (x *SdkFilesystemTrimStatusRequest) GetVolumeId() string

func (*SdkFilesystemTrimStatusRequest) ProtoMessage

func (*SdkFilesystemTrimStatusRequest) ProtoMessage()

func (*SdkFilesystemTrimStatusRequest) ProtoReflect

func (*SdkFilesystemTrimStatusRequest) Reset

func (x *SdkFilesystemTrimStatusRequest) Reset()

func (*SdkFilesystemTrimStatusRequest) String

type SdkFilesystemTrimStatusResponse

type SdkFilesystemTrimStatusResponse struct {

	// Status code representing the state of the filesystem trim operation
	Status FilesystemTrim_FilesystemTrimStatus `protobuf:"varint,1,opt,name=status,proto3,enum=openstorage.api.FilesystemTrim_FilesystemTrimStatus" json:"status,omitempty"`
	// Text blob containing ASCII text providing details of the operation
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

SdkFilesystemTrimStatusResponse defines the response for a SdkFilesystemTrimStatusRequest.

func (*SdkFilesystemTrimStatusResponse) Descriptor deprecated

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

Deprecated: Use SdkFilesystemTrimStatusResponse.ProtoReflect.Descriptor instead.

func (*SdkFilesystemTrimStatusResponse) GetMessage

func (x *SdkFilesystemTrimStatusResponse) GetMessage() string

func (*SdkFilesystemTrimStatusResponse) GetStatus

func (*SdkFilesystemTrimStatusResponse) ProtoMessage

func (*SdkFilesystemTrimStatusResponse) ProtoMessage()

func (*SdkFilesystemTrimStatusResponse) ProtoReflect

func (*SdkFilesystemTrimStatusResponse) Reset

func (*SdkFilesystemTrimStatusResponse) String

type SdkFilesystemTrimStopRequest

type SdkFilesystemTrimStopRequest struct {

	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Path where the volume is mounted
	MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// contains filtered or unexported fields
}

SdkFilesystemTrimStopRequest defines a request to stop a background filesystem trim operation

func (*SdkFilesystemTrimStopRequest) Descriptor deprecated

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

Deprecated: Use SdkFilesystemTrimStopRequest.ProtoReflect.Descriptor instead.

func (*SdkFilesystemTrimStopRequest) GetMountPath

func (x *SdkFilesystemTrimStopRequest) GetMountPath() string

func (*SdkFilesystemTrimStopRequest) GetVolumeId

func (x *SdkFilesystemTrimStopRequest) GetVolumeId() string

func (*SdkFilesystemTrimStopRequest) ProtoMessage

func (*SdkFilesystemTrimStopRequest) ProtoMessage()

func (*SdkFilesystemTrimStopRequest) ProtoReflect

func (*SdkFilesystemTrimStopRequest) Reset

func (x *SdkFilesystemTrimStopRequest) Reset()

func (*SdkFilesystemTrimStopRequest) String

type SdkFilesystemTrimStopResponse

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

Empty response

func (*SdkFilesystemTrimStopResponse) Descriptor deprecated

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

Deprecated: Use SdkFilesystemTrimStopResponse.ProtoReflect.Descriptor instead.

func (*SdkFilesystemTrimStopResponse) ProtoMessage

func (*SdkFilesystemTrimStopResponse) ProtoMessage()

func (*SdkFilesystemTrimStopResponse) ProtoReflect

func (*SdkFilesystemTrimStopResponse) Reset

func (x *SdkFilesystemTrimStopResponse) Reset()

func (*SdkFilesystemTrimStopResponse) String

type SdkGetJobStatusRequest

type SdkGetJobStatusRequest struct {

	// ID of the job
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Type of the job
	Type Job_Type `protobuf:"varint,2,opt,name=type,proto3,enum=openstorage.api.Job_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to get the status of an existing job

func (*SdkGetJobStatusRequest) Descriptor deprecated

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

Deprecated: Use SdkGetJobStatusRequest.ProtoReflect.Descriptor instead.

func (*SdkGetJobStatusRequest) GetId

func (x *SdkGetJobStatusRequest) GetId() string

func (*SdkGetJobStatusRequest) GetType

func (x *SdkGetJobStatusRequest) GetType() Job_Type

func (*SdkGetJobStatusRequest) ProtoMessage

func (*SdkGetJobStatusRequest) ProtoMessage()

func (*SdkGetJobStatusRequest) ProtoReflect

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

func (*SdkGetJobStatusRequest) Reset

func (x *SdkGetJobStatusRequest) Reset()

func (*SdkGetJobStatusRequest) String

func (x *SdkGetJobStatusRequest) String() string

type SdkGetJobStatusResponse

type SdkGetJobStatusResponse struct {

	// Job for this node drain operation.
	Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// Summary of this job
	Summary *JobSummary `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

Defines the status of an existing job

func (*SdkGetJobStatusResponse) Descriptor deprecated

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

Deprecated: Use SdkGetJobStatusResponse.ProtoReflect.Descriptor instead.

func (*SdkGetJobStatusResponse) GetJob

func (x *SdkGetJobStatusResponse) GetJob() *Job

func (*SdkGetJobStatusResponse) GetSummary

func (x *SdkGetJobStatusResponse) GetSummary() *JobSummary

func (*SdkGetJobStatusResponse) ProtoMessage

func (*SdkGetJobStatusResponse) ProtoMessage()

func (*SdkGetJobStatusResponse) ProtoReflect

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

func (*SdkGetJobStatusResponse) Reset

func (x *SdkGetJobStatusResponse) Reset()

func (*SdkGetJobStatusResponse) String

func (x *SdkGetJobStatusResponse) String() string

type SdkGetRebalanceJobStatusRequest

type SdkGetRebalanceJobStatusRequest struct {

	// ID of the rebalance job
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*SdkGetRebalanceJobStatusRequest) Descriptor deprecated

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

Deprecated: Use SdkGetRebalanceJobStatusRequest.ProtoReflect.Descriptor instead.

func (*SdkGetRebalanceJobStatusRequest) GetId

func (*SdkGetRebalanceJobStatusRequest) ProtoMessage

func (*SdkGetRebalanceJobStatusRequest) ProtoMessage()

func (*SdkGetRebalanceJobStatusRequest) ProtoReflect

func (*SdkGetRebalanceJobStatusRequest) Reset

func (*SdkGetRebalanceJobStatusRequest) String

type SdkGetRebalanceJobStatusResponse

type SdkGetRebalanceJobStatusResponse struct {

	// Job for this rebalance
	Job *StorageRebalanceJob `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// Summary summarizes the rebalance job
	Summary *StorageRebalanceSummary `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	// Actions describe all the actions taken during this rebalance
	Actions []*StorageRebalanceAudit `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

func (*SdkGetRebalanceJobStatusResponse) Descriptor deprecated

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

Deprecated: Use SdkGetRebalanceJobStatusResponse.ProtoReflect.Descriptor instead.

func (*SdkGetRebalanceJobStatusResponse) GetActions

func (*SdkGetRebalanceJobStatusResponse) GetJob

func (*SdkGetRebalanceJobStatusResponse) GetSummary

func (*SdkGetRebalanceJobStatusResponse) ProtoMessage

func (*SdkGetRebalanceJobStatusResponse) ProtoMessage()

func (*SdkGetRebalanceJobStatusResponse) ProtoReflect

func (*SdkGetRebalanceJobStatusResponse) Reset

func (*SdkGetRebalanceJobStatusResponse) String

type SdkGoogleCredentialRequest

type SdkGoogleCredentialRequest struct {

	// Project ID
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// JSON Key
	JsonKey string `protobuf:"bytes,2,opt,name=json_key,json=jsonKey,proto3" json:"json_key,omitempty"`
	// contains filtered or unexported fields
}

Defines credentials for Google

func (*SdkGoogleCredentialRequest) Descriptor deprecated

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

Deprecated: Use SdkGoogleCredentialRequest.ProtoReflect.Descriptor instead.

func (*SdkGoogleCredentialRequest) GetJsonKey

func (x *SdkGoogleCredentialRequest) GetJsonKey() string

func (*SdkGoogleCredentialRequest) GetProjectId

func (x *SdkGoogleCredentialRequest) GetProjectId() string

func (*SdkGoogleCredentialRequest) ProtoMessage

func (*SdkGoogleCredentialRequest) ProtoMessage()

func (*SdkGoogleCredentialRequest) ProtoReflect

func (*SdkGoogleCredentialRequest) Reset

func (x *SdkGoogleCredentialRequest) Reset()

func (*SdkGoogleCredentialRequest) String

func (x *SdkGoogleCredentialRequest) String() string

type SdkGoogleCredentialResponse

type SdkGoogleCredentialResponse struct {

	// Project ID
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

Defines the response for Google credentials

func (*SdkGoogleCredentialResponse) Descriptor deprecated

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

Deprecated: Use SdkGoogleCredentialResponse.ProtoReflect.Descriptor instead.

func (*SdkGoogleCredentialResponse) GetProjectId

func (x *SdkGoogleCredentialResponse) GetProjectId() string

func (*SdkGoogleCredentialResponse) ProtoMessage

func (*SdkGoogleCredentialResponse) ProtoMessage()

func (*SdkGoogleCredentialResponse) ProtoReflect

func (*SdkGoogleCredentialResponse) Reset

func (x *SdkGoogleCredentialResponse) Reset()

func (*SdkGoogleCredentialResponse) String

func (x *SdkGoogleCredentialResponse) String() string

type SdkIdentityCapabilitiesRequest

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

Empty request

func (*SdkIdentityCapabilitiesRequest) Descriptor deprecated

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

Deprecated: Use SdkIdentityCapabilitiesRequest.ProtoReflect.Descriptor instead.

func (*SdkIdentityCapabilitiesRequest) ProtoMessage

func (*SdkIdentityCapabilitiesRequest) ProtoMessage()

func (*SdkIdentityCapabilitiesRequest) ProtoReflect

func (*SdkIdentityCapabilitiesRequest) Reset

func (x *SdkIdentityCapabilitiesRequest) Reset()

func (*SdkIdentityCapabilitiesRequest) String

type SdkIdentityCapabilitiesResponse

type SdkIdentityCapabilitiesResponse struct {

	// Provides all the capabilities supported by the cluster
	Capabilities []*SdkServiceCapability `protobuf:"bytes,1,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	// contains filtered or unexported fields
}

Defines a response containing the capabilities of the cluster

func (*SdkIdentityCapabilitiesResponse) Descriptor deprecated

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

Deprecated: Use SdkIdentityCapabilitiesResponse.ProtoReflect.Descriptor instead.

func (*SdkIdentityCapabilitiesResponse) GetCapabilities

func (x *SdkIdentityCapabilitiesResponse) GetCapabilities() []*SdkServiceCapability

func (*SdkIdentityCapabilitiesResponse) ProtoMessage

func (*SdkIdentityCapabilitiesResponse) ProtoMessage()

func (*SdkIdentityCapabilitiesResponse) ProtoReflect

func (*SdkIdentityCapabilitiesResponse) Reset

func (*SdkIdentityCapabilitiesResponse) String

type SdkIdentityVersionRequest

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

Empty request

func (*SdkIdentityVersionRequest) Descriptor deprecated

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

Deprecated: Use SdkIdentityVersionRequest.ProtoReflect.Descriptor instead.

func (*SdkIdentityVersionRequest) ProtoMessage

func (*SdkIdentityVersionRequest) ProtoMessage()

func (*SdkIdentityVersionRequest) ProtoReflect

func (*SdkIdentityVersionRequest) Reset

func (x *SdkIdentityVersionRequest) Reset()

func (*SdkIdentityVersionRequest) String

func (x *SdkIdentityVersionRequest) String() string

type SdkIdentityVersionResponse

type SdkIdentityVersionResponse struct {

	// OpenStorage SDK version used by the server
	SdkVersion *SdkVersion `protobuf:"bytes,1,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"`
	// Version information about the storage system
	Version *StorageVersion `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Defines a response containing version information

func (*SdkIdentityVersionResponse) Descriptor deprecated

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

Deprecated: Use SdkIdentityVersionResponse.ProtoReflect.Descriptor instead.

func (*SdkIdentityVersionResponse) GetSdkVersion

func (x *SdkIdentityVersionResponse) GetSdkVersion() *SdkVersion

func (*SdkIdentityVersionResponse) GetVersion

func (x *SdkIdentityVersionResponse) GetVersion() *StorageVersion

func (*SdkIdentityVersionResponse) ProtoMessage

func (*SdkIdentityVersionResponse) ProtoMessage()

func (*SdkIdentityVersionResponse) ProtoReflect

func (*SdkIdentityVersionResponse) Reset

func (x *SdkIdentityVersionResponse) Reset()

func (*SdkIdentityVersionResponse) String

func (x *SdkIdentityVersionResponse) String() string

type SdkJobResponse

type SdkJobResponse struct {

	// Job that was created for the SDK request
	Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

Defines a response for an SDK request that spins up a new job to perform the request

func (*SdkJobResponse) Descriptor deprecated

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

Deprecated: Use SdkJobResponse.ProtoReflect.Descriptor instead.

func (*SdkJobResponse) GetJob

func (x *SdkJobResponse) GetJob() *Job

func (*SdkJobResponse) ProtoMessage

func (*SdkJobResponse) ProtoMessage()

func (*SdkJobResponse) ProtoReflect

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

func (*SdkJobResponse) Reset

func (x *SdkJobResponse) Reset()

func (*SdkJobResponse) String

func (x *SdkJobResponse) String() string

type SdkNodeCordonAttachmentsRequest

type SdkNodeCordonAttachmentsRequest struct {

	// Node ID on which any further volume attachments will be disabled
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

SdkNodeCordonAttachmentsRequest request for disabling new volume attachments from a node

func (*SdkNodeCordonAttachmentsRequest) Descriptor deprecated

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

Deprecated: Use SdkNodeCordonAttachmentsRequest.ProtoReflect.Descriptor instead.

func (*SdkNodeCordonAttachmentsRequest) GetNodeId

func (x *SdkNodeCordonAttachmentsRequest) GetNodeId() string

func (*SdkNodeCordonAttachmentsRequest) ProtoMessage

func (*SdkNodeCordonAttachmentsRequest) ProtoMessage()

func (*SdkNodeCordonAttachmentsRequest) ProtoReflect

func (*SdkNodeCordonAttachmentsRequest) Reset

func (*SdkNodeCordonAttachmentsRequest) String

type SdkNodeCordonAttachmentsResponse

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

SdkNodeCordonAttachmentsRespinse response for disabling new volume attachments from a node

func (*SdkNodeCordonAttachmentsResponse) Descriptor deprecated

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

Deprecated: Use SdkNodeCordonAttachmentsResponse.ProtoReflect.Descriptor instead.

func (*SdkNodeCordonAttachmentsResponse) ProtoMessage

func (*SdkNodeCordonAttachmentsResponse) ProtoMessage()

func (*SdkNodeCordonAttachmentsResponse) ProtoReflect

func (*SdkNodeCordonAttachmentsResponse) Reset

func (*SdkNodeCordonAttachmentsResponse) String

type SdkNodeDrainAttachmentsRequest

type SdkNodeDrainAttachmentsRequest struct {

	// Id of the node to drain
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Selector is used for selecting volumes whose
	// attachment needs to be moved from this node.
	// The selector could be a list of volume label
	// key value pairs to select a subset of volumes.
	Selector []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=selector,proto3" json:"selector,omitempty"`
	// Drain only sharedv4 volumes from a node
	// By default all volumes will be drained.
	OnlySharedv4 bool `protobuf:"varint,3,opt,name=only_sharedv4,json=onlySharedv4,proto3" json:"only_sharedv4,omitempty"`
	// Issuer is a user friendly name for the caller who is
	// invoking the API. It can be used by caller to filter out
	// drain requests from a particular issuer
	Issuer string `protobuf:"bytes,4,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// contains filtered or unexported fields
}

Defines a node drain volume attachments request

func (*SdkNodeDrainAttachmentsRequest) Descriptor deprecated

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

Deprecated: Use SdkNodeDrainAttachmentsRequest.ProtoReflect.Descriptor instead.

func (*SdkNodeDrainAttachmentsRequest) GetIssuer

func (x *SdkNodeDrainAttachmentsRequest) GetIssuer() string

func (*SdkNodeDrainAttachmentsRequest) GetNodeId

func (x *SdkNodeDrainAttachmentsRequest) GetNodeId() string

func (*SdkNodeDrainAttachmentsRequest) GetOnlySharedv4

func (x *SdkNodeDrainAttachmentsRequest) GetOnlySharedv4() bool

func (*SdkNodeDrainAttachmentsRequest) GetSelector

func (*SdkNodeDrainAttachmentsRequest) ProtoMessage

func (*SdkNodeDrainAttachmentsRequest) ProtoMessage()

func (*SdkNodeDrainAttachmentsRequest) ProtoReflect

func (*SdkNodeDrainAttachmentsRequest) Reset

func (x *SdkNodeDrainAttachmentsRequest) Reset()

func (*SdkNodeDrainAttachmentsRequest) String

type SdkNodeEnumerateRequest

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

Empty request

func (*SdkNodeEnumerateRequest) Descriptor deprecated

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

Deprecated: Use SdkNodeEnumerateRequest.ProtoReflect.Descriptor instead.

func (*SdkNodeEnumerateRequest) ProtoMessage

func (*SdkNodeEnumerateRequest) ProtoMessage()

func (*SdkNodeEnumerateRequest) ProtoReflect

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

func (*SdkNodeEnumerateRequest) Reset

func (x *SdkNodeEnumerateRequest) Reset()

func (*SdkNodeEnumerateRequest) String

func (x *SdkNodeEnumerateRequest) String() string

type SdkNodeEnumerateResponse

type SdkNodeEnumerateResponse struct {

	// List of all the node ids in the cluster
	NodeIds []string `protobuf:"bytes,1,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
	// contains filtered or unexported fields
}

Defines a response with a list of node ids

func (*SdkNodeEnumerateResponse) Descriptor deprecated

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

Deprecated: Use SdkNodeEnumerateResponse.ProtoReflect.Descriptor instead.

func (*SdkNodeEnumerateResponse) GetNodeIds

func (x *SdkNodeEnumerateResponse) GetNodeIds() []string

func (*SdkNodeEnumerateResponse) ProtoMessage

func (*SdkNodeEnumerateResponse) ProtoMessage()

func (*SdkNodeEnumerateResponse) ProtoReflect

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

func (*SdkNodeEnumerateResponse) Reset

func (x *SdkNodeEnumerateResponse) Reset()

func (*SdkNodeEnumerateResponse) String

func (x *SdkNodeEnumerateResponse) String() string

type SdkNodeEnumerateWithFiltersRequest

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

Defines a request to list nodes with given filter. Currently there are no filters and all the nodes will be returned.

func (*SdkNodeEnumerateWithFiltersRequest) Descriptor deprecated

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

Deprecated: Use SdkNodeEnumerateWithFiltersRequest.ProtoReflect.Descriptor instead.

func (*SdkNodeEnumerateWithFiltersRequest) ProtoMessage

func (*SdkNodeEnumerateWithFiltersRequest) ProtoMessage()

func (*SdkNodeEnumerateWithFiltersRequest) ProtoReflect

func (*SdkNodeEnumerateWithFiltersRequest) Reset

func (*SdkNodeEnumerateWithFiltersRequest) String

type SdkNodeEnumerateWithFiltersResponse

type SdkNodeEnumerateWithFiltersResponse struct {

	// List of all the nodes in the cluster
	Nodes []*StorageNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

Defines a response with a list of nodes

func (*SdkNodeEnumerateWithFiltersResponse) Descriptor deprecated

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

Deprecated: Use SdkNodeEnumerateWithFiltersResponse.ProtoReflect.Descriptor instead.

func (*SdkNodeEnumerateWithFiltersResponse) GetNodes

func (*SdkNodeEnumerateWithFiltersResponse) ProtoMessage

func (*SdkNodeEnumerateWithFiltersResponse) ProtoMessage()

func (*SdkNodeEnumerateWithFiltersResponse) ProtoReflect

func (*SdkNodeEnumerateWithFiltersResponse) Reset

func (*SdkNodeEnumerateWithFiltersResponse) String

type SdkNodeInspectCurrentRequest

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

Empty request

func (*SdkNodeInspectCurrentRequest) Descriptor deprecated

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

Deprecated: Use SdkNodeInspectCurrentRequest.ProtoReflect.Descriptor instead.

func (*SdkNodeInspectCurrentRequest) ProtoMessage

func (*SdkNodeInspectCurrentRequest) ProtoMessage()

func (*SdkNodeInspectCurrentRequest) ProtoReflect

func (*SdkNodeInspectCurrentRequest) Reset

func (x *SdkNodeInspectCurrentRequest) Reset()

func (*SdkNodeInspectCurrentRequest) String

type SdkNodeInspectCurrentResponse

type SdkNodeInspectCurrentResponse struct {

	// Node information
	Node *StorageNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

Defines a response when inspecting a node

func (*SdkNodeInspectCurrentResponse) Descriptor deprecated

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

Deprecated: Use SdkNodeInspectCurrentResponse.ProtoReflect.Descriptor instead.

func (*SdkNodeInspectCurrentResponse) GetNode

func (*SdkNodeInspectCurrentResponse) ProtoMessage

func (*SdkNodeInspectCurrentResponse) ProtoMessage()

func (*SdkNodeInspectCurrentResponse) ProtoReflect

func (*SdkNodeInspectCurrentResponse) Reset

func (x *SdkNodeInspectCurrentResponse) Reset()

func (*SdkNodeInspectCurrentResponse) String

type SdkNodeInspectRequest

type SdkNodeInspectRequest struct {

	// Id of node to inspect
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request when inspecting a node

func (*SdkNodeInspectRequest) Descriptor deprecated

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

Deprecated: Use SdkNodeInspectRequest.ProtoReflect.Descriptor instead.

func (*SdkNodeInspectRequest) GetNodeId

func (x *SdkNodeInspectRequest) GetNodeId() string

func (*SdkNodeInspectRequest) ProtoMessage

func (*SdkNodeInspectRequest) ProtoMessage()

func (*SdkNodeInspectRequest) ProtoReflect

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

func (*SdkNodeInspectRequest) Reset

func (x *SdkNodeInspectRequest) Reset()

func (*SdkNodeInspectRequest) String

func (x *SdkNodeInspectRequest) String() string

type SdkNodeInspectResponse

type SdkNodeInspectResponse struct {

	// Node information
	Node *StorageNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

Defines a response when inspecting a node

func (*SdkNodeInspectResponse) Descriptor deprecated

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

Deprecated: Use SdkNodeInspectResponse.ProtoReflect.Descriptor instead.

func (*SdkNodeInspectResponse) GetNode

func (x *SdkNodeInspectResponse) GetNode() *StorageNode

func (*SdkNodeInspectResponse) ProtoMessage

func (*SdkNodeInspectResponse) ProtoMessage()

func (*SdkNodeInspectResponse) ProtoReflect

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

func (*SdkNodeInspectResponse) Reset

func (x *SdkNodeInspectResponse) Reset()

func (*SdkNodeInspectResponse) String

func (x *SdkNodeInspectResponse) String() string

type SdkNodeRelaxedReclaimPurgeRequest

type SdkNodeRelaxedReclaimPurgeRequest struct {

	// Id of the node to trigger the purge
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

Defines request to trigger RelaxedReclaim purge for a given node

func (*SdkNodeRelaxedReclaimPurgeRequest) Descriptor deprecated

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

Deprecated: Use SdkNodeRelaxedReclaimPurgeRequest.ProtoReflect.Descriptor instead.

func (*SdkNodeRelaxedReclaimPurgeRequest) GetNodeId

func (*SdkNodeRelaxedReclaimPurgeRequest) ProtoMessage

func (*SdkNodeRelaxedReclaimPurgeRequest) ProtoMessage()

func (*SdkNodeRelaxedReclaimPurgeRequest) ProtoReflect

func (*SdkNodeRelaxedReclaimPurgeRequest) Reset

func (*SdkNodeRelaxedReclaimPurgeRequest) String

type SdkNodeRelaxedReclaimPurgeResponse

type SdkNodeRelaxedReclaimPurgeResponse struct {

	// status returns true on successful purge
	Status *RelaxedReclaimPurge `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Defines response containing status of the trigger

func (*SdkNodeRelaxedReclaimPurgeResponse) Descriptor deprecated

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

Deprecated: Use SdkNodeRelaxedReclaimPurgeResponse.ProtoReflect.Descriptor instead.

func (*SdkNodeRelaxedReclaimPurgeResponse) GetStatus

func (*SdkNodeRelaxedReclaimPurgeResponse) ProtoMessage

func (*SdkNodeRelaxedReclaimPurgeResponse) ProtoMessage()

func (*SdkNodeRelaxedReclaimPurgeResponse) ProtoReflect

func (*SdkNodeRelaxedReclaimPurgeResponse) Reset

func (*SdkNodeRelaxedReclaimPurgeResponse) String

type SdkNodeUncordonAttachmentsRequest

type SdkNodeUncordonAttachmentsRequest struct {

	// Node ID on which any further volume attachments will be enabled
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

SdkNodeUncordonAttachmentsRequest request for re-enabling volume attachments for a node

func (*SdkNodeUncordonAttachmentsRequest) Descriptor deprecated

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

Deprecated: Use SdkNodeUncordonAttachmentsRequest.ProtoReflect.Descriptor instead.

func (*SdkNodeUncordonAttachmentsRequest) GetNodeId

func (*SdkNodeUncordonAttachmentsRequest) ProtoMessage

func (*SdkNodeUncordonAttachmentsRequest) ProtoMessage()

func (*SdkNodeUncordonAttachmentsRequest) ProtoReflect

func (*SdkNodeUncordonAttachmentsRequest) Reset

func (*SdkNodeUncordonAttachmentsRequest) String

type SdkNodeUncordonAttachmentsResponse

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

SdkNodeUncordonAttachmentsRespinse response for enabling new volume attachments from a node

func (*SdkNodeUncordonAttachmentsResponse) Descriptor deprecated

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

Deprecated: Use SdkNodeUncordonAttachmentsResponse.ProtoReflect.Descriptor instead.

func (*SdkNodeUncordonAttachmentsResponse) ProtoMessage

func (*SdkNodeUncordonAttachmentsResponse) ProtoMessage()

func (*SdkNodeUncordonAttachmentsResponse) ProtoReflect

func (*SdkNodeUncordonAttachmentsResponse) Reset

func (*SdkNodeUncordonAttachmentsResponse) String

type SdkNodeVolumeUsageByNodeRequest

type SdkNodeVolumeUsageByNodeRequest struct {

	// Id of the node to get snapshot/volumes capacity usage details
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

Defines request to retrieve all volumes/snapshots capacity usage details for a given node

func (*SdkNodeVolumeUsageByNodeRequest) Descriptor deprecated

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

Deprecated: Use SdkNodeVolumeUsageByNodeRequest.ProtoReflect.Descriptor instead.

func (*SdkNodeVolumeUsageByNodeRequest) GetNodeId

func (x *SdkNodeVolumeUsageByNodeRequest) GetNodeId() string

func (*SdkNodeVolumeUsageByNodeRequest) ProtoMessage

func (*SdkNodeVolumeUsageByNodeRequest) ProtoMessage()

func (*SdkNodeVolumeUsageByNodeRequest) ProtoReflect

func (*SdkNodeVolumeUsageByNodeRequest) Reset

func (*SdkNodeVolumeUsageByNodeRequest) String

type SdkNodeVolumeUsageByNodeResponse

type SdkNodeVolumeUsageByNodeResponse struct {

	// VolumeUsageByNode details
	VolumeUsageInfo *VolumeUsageByNode `protobuf:"bytes,1,opt,name=volume_usage_info,json=volumeUsageInfo,proto3" json:"volume_usage_info,omitempty"`
	// contains filtered or unexported fields
}

Defines response containing Node's volumes/snapshot capacity usage details

func (*SdkNodeVolumeUsageByNodeResponse) Descriptor deprecated

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

Deprecated: Use SdkNodeVolumeUsageByNodeResponse.ProtoReflect.Descriptor instead.

func (*SdkNodeVolumeUsageByNodeResponse) GetVolumeUsageInfo

func (x *SdkNodeVolumeUsageByNodeResponse) GetVolumeUsageInfo() *VolumeUsageByNode

func (*SdkNodeVolumeUsageByNodeResponse) ProtoMessage

func (*SdkNodeVolumeUsageByNodeResponse) ProtoMessage()

func (*SdkNodeVolumeUsageByNodeResponse) ProtoReflect

func (*SdkNodeVolumeUsageByNodeResponse) Reset

func (*SdkNodeVolumeUsageByNodeResponse) String

type SdkObjectstoreCreateRequest

type SdkObjectstoreCreateRequest struct {

	// Volume on which objectstore will be running
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to create an object store

func (*SdkObjectstoreCreateRequest) Descriptor deprecated

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

Deprecated: Use SdkObjectstoreCreateRequest.ProtoReflect.Descriptor instead.

func (*SdkObjectstoreCreateRequest) GetVolumeId

func (x *SdkObjectstoreCreateRequest) GetVolumeId() string

func (*SdkObjectstoreCreateRequest) ProtoMessage

func (*SdkObjectstoreCreateRequest) ProtoMessage()

func (*SdkObjectstoreCreateRequest) ProtoReflect

func (*SdkObjectstoreCreateRequest) Reset

func (x *SdkObjectstoreCreateRequest) Reset()

func (*SdkObjectstoreCreateRequest) String

func (x *SdkObjectstoreCreateRequest) String() string

type SdkObjectstoreCreateResponse

type SdkObjectstoreCreateResponse struct {

	// Created objecstore status
	ObjectstoreStatus *ObjectstoreInfo `protobuf:"bytes,1,opt,name=objectstore_status,json=objectstoreStatus,proto3" json:"objectstore_status,omitempty"`
	// contains filtered or unexported fields
}

Defines a response when an object store has been created for a specified volume

func (*SdkObjectstoreCreateResponse) Descriptor deprecated

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

Deprecated: Use SdkObjectstoreCreateResponse.ProtoReflect.Descriptor instead.

func (*SdkObjectstoreCreateResponse) GetObjectstoreStatus

func (x *SdkObjectstoreCreateResponse) GetObjectstoreStatus() *ObjectstoreInfo

func (*SdkObjectstoreCreateResponse) ProtoMessage

func (*SdkObjectstoreCreateResponse) ProtoMessage()

func (*SdkObjectstoreCreateResponse) ProtoReflect

func (*SdkObjectstoreCreateResponse) Reset

func (x *SdkObjectstoreCreateResponse) Reset()

func (*SdkObjectstoreCreateResponse) String

type SdkObjectstoreDeleteRequest

type SdkObjectstoreDeleteRequest struct {

	// Id of the object store to delete
	ObjectstoreId string `protobuf:"bytes,1,opt,name=objectstore_id,json=objectstoreId,proto3" json:"objectstore_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to delete an object store service from a volume

func (*SdkObjectstoreDeleteRequest) Descriptor deprecated

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

Deprecated: Use SdkObjectstoreDeleteRequest.ProtoReflect.Descriptor instead.

func (*SdkObjectstoreDeleteRequest) GetObjectstoreId

func (x *SdkObjectstoreDeleteRequest) GetObjectstoreId() string

func (*SdkObjectstoreDeleteRequest) ProtoMessage

func (*SdkObjectstoreDeleteRequest) ProtoMessage()

func (*SdkObjectstoreDeleteRequest) ProtoReflect

func (*SdkObjectstoreDeleteRequest) Reset

func (x *SdkObjectstoreDeleteRequest) Reset()

func (*SdkObjectstoreDeleteRequest) String

func (x *SdkObjectstoreDeleteRequest) String() string

type SdkObjectstoreDeleteResponse

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

Empty response

func (*SdkObjectstoreDeleteResponse) Descriptor deprecated

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

Deprecated: Use SdkObjectstoreDeleteResponse.ProtoReflect.Descriptor instead.

func (*SdkObjectstoreDeleteResponse) ProtoMessage

func (*SdkObjectstoreDeleteResponse) ProtoMessage()

func (*SdkObjectstoreDeleteResponse) ProtoReflect

func (*SdkObjectstoreDeleteResponse) Reset

func (x *SdkObjectstoreDeleteResponse) Reset()

func (*SdkObjectstoreDeleteResponse) String

type SdkObjectstoreInspectRequest

type SdkObjectstoreInspectRequest struct {

	// Id of the object store
	ObjectstoreId string `protobuf:"bytes,1,opt,name=objectstore_id,json=objectstoreId,proto3" json:"objectstore_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to get information about an object store endpoint

func (*SdkObjectstoreInspectRequest) Descriptor deprecated

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

Deprecated: Use SdkObjectstoreInspectRequest.ProtoReflect.Descriptor instead.

func (*SdkObjectstoreInspectRequest) GetObjectstoreId

func (x *SdkObjectstoreInspectRequest) GetObjectstoreId() string

func (*SdkObjectstoreInspectRequest) ProtoMessage

func (*SdkObjectstoreInspectRequest) ProtoMessage()

func (*SdkObjectstoreInspectRequest) ProtoReflect

func (*SdkObjectstoreInspectRequest) Reset

func (x *SdkObjectstoreInspectRequest) Reset()

func (*SdkObjectstoreInspectRequest) String

type SdkObjectstoreInspectResponse

type SdkObjectstoreInspectResponse struct {

	// Contains information about the object store requested
	ObjectstoreStatus *ObjectstoreInfo `protobuf:"bytes,1,opt,name=objectstore_status,json=objectstoreStatus,proto3" json:"objectstore_status,omitempty"`
	// contains filtered or unexported fields
}

Defines a response when inspecting an object store endpoint

func (*SdkObjectstoreInspectResponse) Descriptor deprecated

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

Deprecated: Use SdkObjectstoreInspectResponse.ProtoReflect.Descriptor instead.

func (*SdkObjectstoreInspectResponse) GetObjectstoreStatus

func (x *SdkObjectstoreInspectResponse) GetObjectstoreStatus() *ObjectstoreInfo

func (*SdkObjectstoreInspectResponse) ProtoMessage

func (*SdkObjectstoreInspectResponse) ProtoMessage()

func (*SdkObjectstoreInspectResponse) ProtoReflect

func (*SdkObjectstoreInspectResponse) Reset

func (x *SdkObjectstoreInspectResponse) Reset()

func (*SdkObjectstoreInspectResponse) String

type SdkObjectstoreUpdateRequest

type SdkObjectstoreUpdateRequest struct {

	// Objectstore Id to update
	ObjectstoreId string `protobuf:"bytes,1,opt,name=objectstore_id,json=objectstoreId,proto3" json:"objectstore_id,omitempty"`
	// enable/disable objectstore
	Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to update an object store

func (*SdkObjectstoreUpdateRequest) Descriptor deprecated

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

Deprecated: Use SdkObjectstoreUpdateRequest.ProtoReflect.Descriptor instead.

func (*SdkObjectstoreUpdateRequest) GetEnable

func (x *SdkObjectstoreUpdateRequest) GetEnable() bool

func (*SdkObjectstoreUpdateRequest) GetObjectstoreId

func (x *SdkObjectstoreUpdateRequest) GetObjectstoreId() string

func (*SdkObjectstoreUpdateRequest) ProtoMessage

func (*SdkObjectstoreUpdateRequest) ProtoMessage()

func (*SdkObjectstoreUpdateRequest) ProtoReflect

func (*SdkObjectstoreUpdateRequest) Reset

func (x *SdkObjectstoreUpdateRequest) Reset()

func (*SdkObjectstoreUpdateRequest) String

func (x *SdkObjectstoreUpdateRequest) String() string

type SdkObjectstoreUpdateResponse

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

Empty response

func (*SdkObjectstoreUpdateResponse) Descriptor deprecated

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

Deprecated: Use SdkObjectstoreUpdateResponse.ProtoReflect.Descriptor instead.

func (*SdkObjectstoreUpdateResponse) ProtoMessage

func (*SdkObjectstoreUpdateResponse) ProtoMessage()

func (*SdkObjectstoreUpdateResponse) ProtoReflect

func (*SdkObjectstoreUpdateResponse) Reset

func (x *SdkObjectstoreUpdateResponse) Reset()

func (*SdkObjectstoreUpdateResponse) String

type SdkOpenStoragePolicyCreateRequest

type SdkOpenStoragePolicyCreateRequest struct {

	// storage policy to create
	StoragePolicy *SdkStoragePolicy `protobuf:"bytes,1,opt,name=storage_policy,json=storagePolicy,proto3" json:"storage_policy,omitempty"`
	// contains filtered or unexported fields
}

Define a request to create storage policy

func (*SdkOpenStoragePolicyCreateRequest) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicyCreateRequest.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyCreateRequest) GetStoragePolicy

func (x *SdkOpenStoragePolicyCreateRequest) GetStoragePolicy() *SdkStoragePolicy

func (*SdkOpenStoragePolicyCreateRequest) ProtoMessage

func (*SdkOpenStoragePolicyCreateRequest) ProtoMessage()

func (*SdkOpenStoragePolicyCreateRequest) ProtoReflect

func (*SdkOpenStoragePolicyCreateRequest) Reset

func (*SdkOpenStoragePolicyCreateRequest) String

type SdkOpenStoragePolicyCreateResponse

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

Empty response

func (*SdkOpenStoragePolicyCreateResponse) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicyCreateResponse.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyCreateResponse) ProtoMessage

func (*SdkOpenStoragePolicyCreateResponse) ProtoMessage()

func (*SdkOpenStoragePolicyCreateResponse) ProtoReflect

func (*SdkOpenStoragePolicyCreateResponse) Reset

func (*SdkOpenStoragePolicyCreateResponse) String

type SdkOpenStoragePolicyDefaultInspectRequest

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

Empty Request

func (*SdkOpenStoragePolicyDefaultInspectRequest) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicyDefaultInspectRequest.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyDefaultInspectRequest) ProtoMessage

func (*SdkOpenStoragePolicyDefaultInspectRequest) ProtoReflect

func (*SdkOpenStoragePolicyDefaultInspectRequest) Reset

func (*SdkOpenStoragePolicyDefaultInspectRequest) String

type SdkOpenStoragePolicyDefaultInspectResponse

type SdkOpenStoragePolicyDefaultInspectResponse struct {

	// storage policy information which is set as default
	StoragePolicy *SdkStoragePolicy `protobuf:"bytes,1,opt,name=storage_policy,json=storagePolicy,proto3" json:"storage_policy,omitempty"`
	// contains filtered or unexported fields
}

Define default storage policy response

func (*SdkOpenStoragePolicyDefaultInspectResponse) Descriptor deprecated

Deprecated: Use SdkOpenStoragePolicyDefaultInspectResponse.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyDefaultInspectResponse) GetStoragePolicy

func (*SdkOpenStoragePolicyDefaultInspectResponse) ProtoMessage

func (*SdkOpenStoragePolicyDefaultInspectResponse) ProtoReflect

func (*SdkOpenStoragePolicyDefaultInspectResponse) Reset

func (*SdkOpenStoragePolicyDefaultInspectResponse) String

type SdkOpenStoragePolicyDeleteRequest

type SdkOpenStoragePolicyDeleteRequest struct {

	// name of storage policy to delete
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Define a request to delete storage policy

func (*SdkOpenStoragePolicyDeleteRequest) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicyDeleteRequest.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyDeleteRequest) GetName

func (*SdkOpenStoragePolicyDeleteRequest) ProtoMessage

func (*SdkOpenStoragePolicyDeleteRequest) ProtoMessage()

func (*SdkOpenStoragePolicyDeleteRequest) ProtoReflect

func (*SdkOpenStoragePolicyDeleteRequest) Reset

func (*SdkOpenStoragePolicyDeleteRequest) String

type SdkOpenStoragePolicyDeleteResponse

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

Empty Response

func (*SdkOpenStoragePolicyDeleteResponse) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicyDeleteResponse.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyDeleteResponse) ProtoMessage

func (*SdkOpenStoragePolicyDeleteResponse) ProtoMessage()

func (*SdkOpenStoragePolicyDeleteResponse) ProtoReflect

func (*SdkOpenStoragePolicyDeleteResponse) Reset

func (*SdkOpenStoragePolicyDeleteResponse) String

type SdkOpenStoragePolicyEnumerateRequest

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

Empty request

func (*SdkOpenStoragePolicyEnumerateRequest) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicyEnumerateRequest.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyEnumerateRequest) ProtoMessage

func (*SdkOpenStoragePolicyEnumerateRequest) ProtoMessage()

func (*SdkOpenStoragePolicyEnumerateRequest) ProtoReflect

func (*SdkOpenStoragePolicyEnumerateRequest) Reset

func (*SdkOpenStoragePolicyEnumerateRequest) String

type SdkOpenStoragePolicyEnumerateResponse

type SdkOpenStoragePolicyEnumerateResponse struct {

	// List of storage policies
	StoragePolicies []*SdkStoragePolicy `protobuf:"bytes,1,rep,name=storage_policies,json=storagePolicies,proto3" json:"storage_policies,omitempty"`
	// contains filtered or unexported fields
}

Define a storage policy enumerate response

func (*SdkOpenStoragePolicyEnumerateResponse) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicyEnumerateResponse.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyEnumerateResponse) GetStoragePolicies

func (x *SdkOpenStoragePolicyEnumerateResponse) GetStoragePolicies() []*SdkStoragePolicy

func (*SdkOpenStoragePolicyEnumerateResponse) ProtoMessage

func (*SdkOpenStoragePolicyEnumerateResponse) ProtoMessage()

func (*SdkOpenStoragePolicyEnumerateResponse) ProtoReflect

func (*SdkOpenStoragePolicyEnumerateResponse) Reset

func (*SdkOpenStoragePolicyEnumerateResponse) String

type SdkOpenStoragePolicyInspectRequest

type SdkOpenStoragePolicyInspectRequest struct {

	// name of storage policy to retrive
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Define a request to inspect storage policy

func (*SdkOpenStoragePolicyInspectRequest) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicyInspectRequest.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyInspectRequest) GetName

func (*SdkOpenStoragePolicyInspectRequest) ProtoMessage

func (*SdkOpenStoragePolicyInspectRequest) ProtoMessage()

func (*SdkOpenStoragePolicyInspectRequest) ProtoReflect

func (*SdkOpenStoragePolicyInspectRequest) Reset

func (*SdkOpenStoragePolicyInspectRequest) String

type SdkOpenStoragePolicyInspectResponse

type SdkOpenStoragePolicyInspectResponse struct {

	// storage policy information requested by name
	StoragePolicy *SdkStoragePolicy `protobuf:"bytes,1,opt,name=storage_policy,json=storagePolicy,proto3" json:"storage_policy,omitempty"`
	// contains filtered or unexported fields
}

Define a storage policy inspect response

func (*SdkOpenStoragePolicyInspectResponse) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicyInspectResponse.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyInspectResponse) GetStoragePolicy

func (*SdkOpenStoragePolicyInspectResponse) ProtoMessage

func (*SdkOpenStoragePolicyInspectResponse) ProtoMessage()

func (*SdkOpenStoragePolicyInspectResponse) ProtoReflect

func (*SdkOpenStoragePolicyInspectResponse) Reset

func (*SdkOpenStoragePolicyInspectResponse) String

type SdkOpenStoragePolicyReleaseRequest

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

Empty Request

func (*SdkOpenStoragePolicyReleaseRequest) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicyReleaseRequest.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyReleaseRequest) ProtoMessage

func (*SdkOpenStoragePolicyReleaseRequest) ProtoMessage()

func (*SdkOpenStoragePolicyReleaseRequest) ProtoReflect

func (*SdkOpenStoragePolicyReleaseRequest) Reset

func (*SdkOpenStoragePolicyReleaseRequest) String

type SdkOpenStoragePolicyReleaseResponse

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

Empty Response

func (*SdkOpenStoragePolicyReleaseResponse) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicyReleaseResponse.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyReleaseResponse) ProtoMessage

func (*SdkOpenStoragePolicyReleaseResponse) ProtoMessage()

func (*SdkOpenStoragePolicyReleaseResponse) ProtoReflect

func (*SdkOpenStoragePolicyReleaseResponse) Reset

func (*SdkOpenStoragePolicyReleaseResponse) String

type SdkOpenStoragePolicySetDefaultRequest

type SdkOpenStoragePolicySetDefaultRequest struct {

	// name of policy to set as default storage policy
	// for volume creation
	// This policy will be used to validate/update volume configuration
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Define a request to set default storage policy

func (*SdkOpenStoragePolicySetDefaultRequest) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicySetDefaultRequest.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicySetDefaultRequest) GetName

func (*SdkOpenStoragePolicySetDefaultRequest) ProtoMessage

func (*SdkOpenStoragePolicySetDefaultRequest) ProtoMessage()

func (*SdkOpenStoragePolicySetDefaultRequest) ProtoReflect

func (*SdkOpenStoragePolicySetDefaultRequest) Reset

func (*SdkOpenStoragePolicySetDefaultRequest) String

type SdkOpenStoragePolicySetDefaultResponse

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

Empty Response

func (*SdkOpenStoragePolicySetDefaultResponse) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicySetDefaultResponse.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicySetDefaultResponse) ProtoMessage

func (*SdkOpenStoragePolicySetDefaultResponse) ProtoReflect

func (*SdkOpenStoragePolicySetDefaultResponse) Reset

func (*SdkOpenStoragePolicySetDefaultResponse) String

type SdkOpenStoragePolicyUpdateRequest

type SdkOpenStoragePolicyUpdateRequest struct {

	// storage policy to update
	StoragePolicy *SdkStoragePolicy `protobuf:"bytes,1,opt,name=storage_policy,json=storagePolicy,proto3" json:"storage_policy,omitempty"`
	// contains filtered or unexported fields
}

Define a request to update storage policy

func (*SdkOpenStoragePolicyUpdateRequest) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicyUpdateRequest.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyUpdateRequest) GetStoragePolicy

func (x *SdkOpenStoragePolicyUpdateRequest) GetStoragePolicy() *SdkStoragePolicy

func (*SdkOpenStoragePolicyUpdateRequest) ProtoMessage

func (*SdkOpenStoragePolicyUpdateRequest) ProtoMessage()

func (*SdkOpenStoragePolicyUpdateRequest) ProtoReflect

func (*SdkOpenStoragePolicyUpdateRequest) Reset

func (*SdkOpenStoragePolicyUpdateRequest) String

type SdkOpenStoragePolicyUpdateResponse

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

Empty Response

func (*SdkOpenStoragePolicyUpdateResponse) Descriptor deprecated

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

Deprecated: Use SdkOpenStoragePolicyUpdateResponse.ProtoReflect.Descriptor instead.

func (*SdkOpenStoragePolicyUpdateResponse) ProtoMessage

func (*SdkOpenStoragePolicyUpdateResponse) ProtoMessage()

func (*SdkOpenStoragePolicyUpdateResponse) ProtoReflect

func (*SdkOpenStoragePolicyUpdateResponse) Reset

func (*SdkOpenStoragePolicyUpdateResponse) String

type SdkRole

type SdkRole struct {
	Name  string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Rules []*SdkRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*SdkRole) Descriptor deprecated

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

Deprecated: Use SdkRole.ProtoReflect.Descriptor instead.

func (*SdkRole) GetName

func (x *SdkRole) GetName() string

func (*SdkRole) GetRules

func (x *SdkRole) GetRules() []*SdkRule

func (*SdkRole) ProtoMessage

func (*SdkRole) ProtoMessage()

func (*SdkRole) ProtoReflect

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

func (*SdkRole) Reset

func (x *SdkRole) Reset()

func (*SdkRole) String

func (x *SdkRole) String() string

type SdkRoleCreateRequest

type SdkRoleCreateRequest struct {

	// Role
	Role *SdkRole `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

Defines a request for creating a role

func (*SdkRoleCreateRequest) Descriptor deprecated

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

Deprecated: Use SdkRoleCreateRequest.ProtoReflect.Descriptor instead.

func (*SdkRoleCreateRequest) GetRole

func (x *SdkRoleCreateRequest) GetRole() *SdkRole

func (*SdkRoleCreateRequest) ProtoMessage

func (*SdkRoleCreateRequest) ProtoMessage()

func (*SdkRoleCreateRequest) ProtoReflect

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

func (*SdkRoleCreateRequest) Reset

func (x *SdkRoleCreateRequest) Reset()

func (*SdkRoleCreateRequest) String

func (x *SdkRoleCreateRequest) String() string

type SdkRoleCreateResponse

type SdkRoleCreateResponse struct {

	// Role created
	Role *SdkRole `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

Response contains informaiton about the creation of the role

func (*SdkRoleCreateResponse) Descriptor deprecated

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

Deprecated: Use SdkRoleCreateResponse.ProtoReflect.Descriptor instead.

func (*SdkRoleCreateResponse) GetRole

func (x *SdkRoleCreateResponse) GetRole() *SdkRole

func (*SdkRoleCreateResponse) ProtoMessage

func (*SdkRoleCreateResponse) ProtoMessage()

func (*SdkRoleCreateResponse) ProtoReflect

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

func (*SdkRoleCreateResponse) Reset

func (x *SdkRoleCreateResponse) Reset()

func (*SdkRoleCreateResponse) String

func (x *SdkRoleCreateResponse) String() string

type SdkRoleDeleteRequest

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

Defines a request to delete a role

func (*SdkRoleDeleteRequest) Descriptor deprecated

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

Deprecated: Use SdkRoleDeleteRequest.ProtoReflect.Descriptor instead.

func (*SdkRoleDeleteRequest) GetName

func (x *SdkRoleDeleteRequest) GetName() string

func (*SdkRoleDeleteRequest) ProtoMessage

func (*SdkRoleDeleteRequest) ProtoMessage()

func (*SdkRoleDeleteRequest) ProtoReflect

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

func (*SdkRoleDeleteRequest) Reset

func (x *SdkRoleDeleteRequest) Reset()

func (*SdkRoleDeleteRequest) String

func (x *SdkRoleDeleteRequest) String() string

type SdkRoleDeleteResponse

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

Empty response

func (*SdkRoleDeleteResponse) Descriptor deprecated

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

Deprecated: Use SdkRoleDeleteResponse.ProtoReflect.Descriptor instead.

func (*SdkRoleDeleteResponse) ProtoMessage

func (*SdkRoleDeleteResponse) ProtoMessage()

func (*SdkRoleDeleteResponse) ProtoReflect

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

func (*SdkRoleDeleteResponse) Reset

func (x *SdkRoleDeleteResponse) Reset()

func (*SdkRoleDeleteResponse) String

func (x *SdkRoleDeleteResponse) String() string

type SdkRoleEnumerateRequest

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

Empty request

func (*SdkRoleEnumerateRequest) Descriptor deprecated

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

Deprecated: Use SdkRoleEnumerateRequest.ProtoReflect.Descriptor instead.

func (*SdkRoleEnumerateRequest) ProtoMessage

func (*SdkRoleEnumerateRequest) ProtoMessage()

func (*SdkRoleEnumerateRequest) ProtoReflect

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

func (*SdkRoleEnumerateRequest) Reset

func (x *SdkRoleEnumerateRequest) Reset()

func (*SdkRoleEnumerateRequest) String

func (x *SdkRoleEnumerateRequest) String() string

type SdkRoleEnumerateResponse

type SdkRoleEnumerateResponse struct {

	// List of role names
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

Respose to enumerate all roles

func (*SdkRoleEnumerateResponse) Descriptor deprecated

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

Deprecated: Use SdkRoleEnumerateResponse.ProtoReflect.Descriptor instead.

func (*SdkRoleEnumerateResponse) GetNames

func (x *SdkRoleEnumerateResponse) GetNames() []string

func (*SdkRoleEnumerateResponse) ProtoMessage

func (*SdkRoleEnumerateResponse) ProtoMessage()

func (*SdkRoleEnumerateResponse) ProtoReflect

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

func (*SdkRoleEnumerateResponse) Reset

func (x *SdkRoleEnumerateResponse) Reset()

func (*SdkRoleEnumerateResponse) String

func (x *SdkRoleEnumerateResponse) String() string

type SdkRoleInspectRequest

type SdkRoleInspectRequest struct {

	// Name of role
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to inspect a role

func (*SdkRoleInspectRequest) Descriptor deprecated

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

Deprecated: Use SdkRoleInspectRequest.ProtoReflect.Descriptor instead.

func (*SdkRoleInspectRequest) GetName

func (x *SdkRoleInspectRequest) GetName() string

func (*SdkRoleInspectRequest) ProtoMessage

func (*SdkRoleInspectRequest) ProtoMessage()

func (*SdkRoleInspectRequest) ProtoReflect

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

func (*SdkRoleInspectRequest) Reset

func (x *SdkRoleInspectRequest) Reset()

func (*SdkRoleInspectRequest) String

func (x *SdkRoleInspectRequest) String() string

type SdkRoleInspectResponse

type SdkRoleInspectResponse struct {

	// Role requested
	Role *SdkRole `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

Response to inspection request

func (*SdkRoleInspectResponse) Descriptor deprecated

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

Deprecated: Use SdkRoleInspectResponse.ProtoReflect.Descriptor instead.

func (*SdkRoleInspectResponse) GetRole

func (x *SdkRoleInspectResponse) GetRole() *SdkRole

func (*SdkRoleInspectResponse) ProtoMessage

func (*SdkRoleInspectResponse) ProtoMessage()

func (*SdkRoleInspectResponse) ProtoReflect

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

func (*SdkRoleInspectResponse) Reset

func (x *SdkRoleInspectResponse) Reset()

func (*SdkRoleInspectResponse) String

func (x *SdkRoleInspectResponse) String() string

type SdkRoleUpdateRequest

type SdkRoleUpdateRequest struct {

	// New role update
	Role *SdkRole `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to update an existing role

func (*SdkRoleUpdateRequest) Descriptor deprecated

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

Deprecated: Use SdkRoleUpdateRequest.ProtoReflect.Descriptor instead.

func (*SdkRoleUpdateRequest) GetRole

func (x *SdkRoleUpdateRequest) GetRole() *SdkRole

func (*SdkRoleUpdateRequest) ProtoMessage

func (*SdkRoleUpdateRequest) ProtoMessage()

func (*SdkRoleUpdateRequest) ProtoReflect

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

func (*SdkRoleUpdateRequest) Reset

func (x *SdkRoleUpdateRequest) Reset()

func (*SdkRoleUpdateRequest) String

func (x *SdkRoleUpdateRequest) String() string

type SdkRoleUpdateResponse

type SdkRoleUpdateResponse struct {

	// Role updated
	Role *SdkRole `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

Response contains information about the updated role

func (*SdkRoleUpdateResponse) Descriptor deprecated

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

Deprecated: Use SdkRoleUpdateResponse.ProtoReflect.Descriptor instead.

func (*SdkRoleUpdateResponse) GetRole

func (x *SdkRoleUpdateResponse) GetRole() *SdkRole

func (*SdkRoleUpdateResponse) ProtoMessage

func (*SdkRoleUpdateResponse) ProtoMessage()

func (*SdkRoleUpdateResponse) ProtoReflect

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

func (*SdkRoleUpdateResponse) Reset

func (x *SdkRoleUpdateResponse) Reset()

func (*SdkRoleUpdateResponse) String

func (x *SdkRoleUpdateResponse) String() string

type SdkRule

type SdkRule struct {

	// The gRPC service name in `OpenStorage<service name>` in lowercase
	Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// The API name in the service in lowercase
	Apis []string `protobuf:"bytes,2,rep,name=apis,proto3" json:"apis,omitempty"`
	// contains filtered or unexported fields
}

SdkRule is the message used to construct custom roles in the OpenStorage SDK.

### Format The following shows the supported format for SdkRule:

* Services: Is the gRPC service name in `OpenStorage<service name>` in lowercase * Apis: Is the API name in the service in lowercase

Values can also be set to `*`, or start or end with `*` to allow multiple matches in services or apis.

Services and APIs can also be denied by prefixing the value with a `!`. Note that on rule conflicts, denial will always be chosen.

### Examples

* Allow any call:

```yaml SdkRule:

  • Services: ["*"] Apis: ["*"]

```

* Allow only cluster operations:

```yaml SdkRule:

  • services: ["cluster"] apis: ["*"]

```

* Allow inspection of any object and listings of only volumes

```yaml SdkRule:

  • Services: ["volumes"] Apis: ["*enumerate*"]
  • Services: ["*"] Apis: ["inspect*"]

```

* Allow all volume call except create

```yaml SdkRule:

  • Services: ["volumes"] Apis: ["*", "!create"]

```

func (*SdkRule) Descriptor deprecated

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

Deprecated: Use SdkRule.ProtoReflect.Descriptor instead.

func (*SdkRule) GetApis

func (x *SdkRule) GetApis() []string

func (*SdkRule) GetServices

func (x *SdkRule) GetServices() []string

func (*SdkRule) ProtoMessage

func (*SdkRule) ProtoMessage()

func (*SdkRule) ProtoReflect

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

func (*SdkRule) Reset

func (x *SdkRule) Reset()

func (*SdkRule) String

func (x *SdkRule) String() string

type SdkSchedulePolicy

type SdkSchedulePolicy struct {

	// Name of the schedule policy
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Schedule policies
	Schedules []*SdkSchedulePolicyInterval `protobuf:"bytes,2,rep,name=schedules,proto3" json:"schedules,omitempty"`
	// contains filtered or unexported fields
}

Defines a schedule policy

func (*SdkSchedulePolicy) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicy.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicy) GetName

func (x *SdkSchedulePolicy) GetName() string

func (*SdkSchedulePolicy) GetSchedules

func (x *SdkSchedulePolicy) GetSchedules() []*SdkSchedulePolicyInterval

func (*SdkSchedulePolicy) ProtoMessage

func (*SdkSchedulePolicy) ProtoMessage()

func (*SdkSchedulePolicy) ProtoReflect

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

func (*SdkSchedulePolicy) Reset

func (x *SdkSchedulePolicy) Reset()

func (*SdkSchedulePolicy) String

func (x *SdkSchedulePolicy) String() string

type SdkSchedulePolicyCreateRequest

type SdkSchedulePolicyCreateRequest struct {

	// Schedule Policy
	SchedulePolicy *SdkSchedulePolicy `protobuf:"bytes,1,opt,name=schedule_policy,json=schedulePolicy,proto3" json:"schedule_policy,omitempty"`
	// contains filtered or unexported fields
}

Define a schedule policy request

func (*SdkSchedulePolicyCreateRequest) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyCreateRequest.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyCreateRequest) GetSchedulePolicy

func (x *SdkSchedulePolicyCreateRequest) GetSchedulePolicy() *SdkSchedulePolicy

func (*SdkSchedulePolicyCreateRequest) ProtoMessage

func (*SdkSchedulePolicyCreateRequest) ProtoMessage()

func (*SdkSchedulePolicyCreateRequest) ProtoReflect

func (*SdkSchedulePolicyCreateRequest) Reset

func (x *SdkSchedulePolicyCreateRequest) Reset()

func (*SdkSchedulePolicyCreateRequest) String

type SdkSchedulePolicyCreateResponse

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

Empty response

func (*SdkSchedulePolicyCreateResponse) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyCreateResponse.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyCreateResponse) ProtoMessage

func (*SdkSchedulePolicyCreateResponse) ProtoMessage()

func (*SdkSchedulePolicyCreateResponse) ProtoReflect

func (*SdkSchedulePolicyCreateResponse) Reset

func (*SdkSchedulePolicyCreateResponse) String

type SdkSchedulePolicyDeleteRequest

type SdkSchedulePolicyDeleteRequest struct {

	// Name of the schedule policy
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Define schedule policy deletion request

func (*SdkSchedulePolicyDeleteRequest) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyDeleteRequest.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyDeleteRequest) GetName

func (*SdkSchedulePolicyDeleteRequest) ProtoMessage

func (*SdkSchedulePolicyDeleteRequest) ProtoMessage()

func (*SdkSchedulePolicyDeleteRequest) ProtoReflect

func (*SdkSchedulePolicyDeleteRequest) Reset

func (x *SdkSchedulePolicyDeleteRequest) Reset()

func (*SdkSchedulePolicyDeleteRequest) String

type SdkSchedulePolicyDeleteResponse

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

Empty response

func (*SdkSchedulePolicyDeleteResponse) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyDeleteResponse.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyDeleteResponse) ProtoMessage

func (*SdkSchedulePolicyDeleteResponse) ProtoMessage()

func (*SdkSchedulePolicyDeleteResponse) ProtoReflect

func (*SdkSchedulePolicyDeleteResponse) Reset

func (*SdkSchedulePolicyDeleteResponse) String

type SdkSchedulePolicyEnumerateRequest

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

Empty request

func (*SdkSchedulePolicyEnumerateRequest) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyEnumerateRequest.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyEnumerateRequest) ProtoMessage

func (*SdkSchedulePolicyEnumerateRequest) ProtoMessage()

func (*SdkSchedulePolicyEnumerateRequest) ProtoReflect

func (*SdkSchedulePolicyEnumerateRequest) Reset

func (*SdkSchedulePolicyEnumerateRequest) String

type SdkSchedulePolicyEnumerateResponse

type SdkSchedulePolicyEnumerateResponse struct {

	// List of Schedule Policy
	Policies []*SdkSchedulePolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

Defines a schedule policy enumerate response

func (*SdkSchedulePolicyEnumerateResponse) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyEnumerateResponse.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyEnumerateResponse) GetPolicies

func (*SdkSchedulePolicyEnumerateResponse) ProtoMessage

func (*SdkSchedulePolicyEnumerateResponse) ProtoMessage()

func (*SdkSchedulePolicyEnumerateResponse) ProtoReflect

func (*SdkSchedulePolicyEnumerateResponse) Reset

func (*SdkSchedulePolicyEnumerateResponse) String

type SdkSchedulePolicyInspectRequest

type SdkSchedulePolicyInspectRequest struct {

	// Name of the schedule Policy
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Define a schedule policy inspection request

func (*SdkSchedulePolicyInspectRequest) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyInspectRequest.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyInspectRequest) GetName

func (*SdkSchedulePolicyInspectRequest) ProtoMessage

func (*SdkSchedulePolicyInspectRequest) ProtoMessage()

func (*SdkSchedulePolicyInspectRequest) ProtoReflect

func (*SdkSchedulePolicyInspectRequest) Reset

func (*SdkSchedulePolicyInspectRequest) String

type SdkSchedulePolicyInspectResponse

type SdkSchedulePolicyInspectResponse struct {

	// List of Schedule Policy
	Policy *SdkSchedulePolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

Defines a schedule policy inspection response

func (*SdkSchedulePolicyInspectResponse) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyInspectResponse.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyInspectResponse) GetPolicy

func (*SdkSchedulePolicyInspectResponse) ProtoMessage

func (*SdkSchedulePolicyInspectResponse) ProtoMessage()

func (*SdkSchedulePolicyInspectResponse) ProtoReflect

func (*SdkSchedulePolicyInspectResponse) Reset

func (*SdkSchedulePolicyInspectResponse) String

type SdkSchedulePolicyInterval

type SdkSchedulePolicyInterval struct {

	// Number of instances to retain
	Retain int64 `protobuf:"varint,1,opt,name=retain,proto3" json:"retain,omitempty"`
	// Start oneof at field number 200 to allow for expansion
	//
	// Types that are assignable to PeriodType:
	//	*SdkSchedulePolicyInterval_Daily
	//	*SdkSchedulePolicyInterval_Weekly
	//	*SdkSchedulePolicyInterval_Monthly
	//	*SdkSchedulePolicyInterval_Periodic
	PeriodType isSdkSchedulePolicyInterval_PeriodType `protobuf_oneof:"period_type"`
	// contains filtered or unexported fields
}

Defines a schedule policy interval

func (*SdkSchedulePolicyInterval) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyInterval.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyInterval) GetDaily

func (*SdkSchedulePolicyInterval) GetMonthly

func (*SdkSchedulePolicyInterval) GetPeriodType

func (m *SdkSchedulePolicyInterval) GetPeriodType() isSdkSchedulePolicyInterval_PeriodType

func (*SdkSchedulePolicyInterval) GetPeriodic

func (*SdkSchedulePolicyInterval) GetRetain

func (x *SdkSchedulePolicyInterval) GetRetain() int64

func (*SdkSchedulePolicyInterval) GetWeekly

func (*SdkSchedulePolicyInterval) ProtoMessage

func (*SdkSchedulePolicyInterval) ProtoMessage()

func (*SdkSchedulePolicyInterval) ProtoReflect

func (*SdkSchedulePolicyInterval) Reset

func (x *SdkSchedulePolicyInterval) Reset()

func (*SdkSchedulePolicyInterval) String

func (x *SdkSchedulePolicyInterval) String() string

type SdkSchedulePolicyIntervalDaily

type SdkSchedulePolicyIntervalDaily struct {

	// Range: 0-23
	Hour int32 `protobuf:"varint,1,opt,name=hour,proto3" json:"hour,omitempty"`
	// Range: 0-59
	Minute int32 `protobuf:"varint,2,opt,name=minute,proto3" json:"minute,omitempty"`
	// contains filtered or unexported fields
}

Defines a daily schedule

func (*SdkSchedulePolicyIntervalDaily) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyIntervalDaily.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyIntervalDaily) GetHour

func (*SdkSchedulePolicyIntervalDaily) GetMinute

func (x *SdkSchedulePolicyIntervalDaily) GetMinute() int32

func (*SdkSchedulePolicyIntervalDaily) ProtoMessage

func (*SdkSchedulePolicyIntervalDaily) ProtoMessage()

func (*SdkSchedulePolicyIntervalDaily) ProtoReflect

func (*SdkSchedulePolicyIntervalDaily) Reset

func (x *SdkSchedulePolicyIntervalDaily) Reset()

func (*SdkSchedulePolicyIntervalDaily) String

type SdkSchedulePolicyIntervalMonthly

type SdkSchedulePolicyIntervalMonthly struct {

	// Range: 1-28
	Day int32 `protobuf:"varint,1,opt,name=day,proto3" json:"day,omitempty"`
	// Range: 0-59
	Hour int32 `protobuf:"varint,2,opt,name=hour,proto3" json:"hour,omitempty"`
	// Range: 0-59
	Minute int32 `protobuf:"varint,3,opt,name=minute,proto3" json:"minute,omitempty"`
	// contains filtered or unexported fields
}

Defines a monthly schedule

func (*SdkSchedulePolicyIntervalMonthly) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyIntervalMonthly.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyIntervalMonthly) GetDay

func (*SdkSchedulePolicyIntervalMonthly) GetHour

func (*SdkSchedulePolicyIntervalMonthly) GetMinute

func (x *SdkSchedulePolicyIntervalMonthly) GetMinute() int32

func (*SdkSchedulePolicyIntervalMonthly) ProtoMessage

func (*SdkSchedulePolicyIntervalMonthly) ProtoMessage()

func (*SdkSchedulePolicyIntervalMonthly) ProtoReflect

func (*SdkSchedulePolicyIntervalMonthly) Reset

func (*SdkSchedulePolicyIntervalMonthly) String

type SdkSchedulePolicyIntervalPeriodic

type SdkSchedulePolicyIntervalPeriodic struct {

	// Specify the number of seconds between intervals
	Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// contains filtered or unexported fields
}

Defines a periodic schedule

func (*SdkSchedulePolicyIntervalPeriodic) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyIntervalPeriodic.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyIntervalPeriodic) GetSeconds

func (x *SdkSchedulePolicyIntervalPeriodic) GetSeconds() int64

func (*SdkSchedulePolicyIntervalPeriodic) ProtoMessage

func (*SdkSchedulePolicyIntervalPeriodic) ProtoMessage()

func (*SdkSchedulePolicyIntervalPeriodic) ProtoReflect

func (*SdkSchedulePolicyIntervalPeriodic) Reset

func (*SdkSchedulePolicyIntervalPeriodic) String

type SdkSchedulePolicyIntervalWeekly

type SdkSchedulePolicyIntervalWeekly struct {
	Day SdkTimeWeekday `protobuf:"varint,1,opt,name=day,proto3,enum=openstorage.api.SdkTimeWeekday" json:"day,omitempty"`
	// Range: 0-23
	Hour int32 `protobuf:"varint,2,opt,name=hour,proto3" json:"hour,omitempty"`
	// Range: 0-59
	Minute int32 `protobuf:"varint,3,opt,name=minute,proto3" json:"minute,omitempty"`
	// contains filtered or unexported fields
}

Defines a weekly schedule

func (*SdkSchedulePolicyIntervalWeekly) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyIntervalWeekly.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyIntervalWeekly) GetDay

func (*SdkSchedulePolicyIntervalWeekly) GetHour

func (*SdkSchedulePolicyIntervalWeekly) GetMinute

func (x *SdkSchedulePolicyIntervalWeekly) GetMinute() int32

func (*SdkSchedulePolicyIntervalWeekly) ProtoMessage

func (*SdkSchedulePolicyIntervalWeekly) ProtoMessage()

func (*SdkSchedulePolicyIntervalWeekly) ProtoReflect

func (*SdkSchedulePolicyIntervalWeekly) Reset

func (*SdkSchedulePolicyIntervalWeekly) String

type SdkSchedulePolicyInterval_Daily

type SdkSchedulePolicyInterval_Daily struct {
	// Daily policy
	Daily *SdkSchedulePolicyIntervalDaily `protobuf:"bytes,200,opt,name=daily,proto3,oneof"`
}

type SdkSchedulePolicyInterval_Monthly

type SdkSchedulePolicyInterval_Monthly struct {
	// Monthly policy
	Monthly *SdkSchedulePolicyIntervalMonthly `protobuf:"bytes,202,opt,name=monthly,proto3,oneof"`
}

type SdkSchedulePolicyInterval_Periodic

type SdkSchedulePolicyInterval_Periodic struct {
	// Periodic policy
	Periodic *SdkSchedulePolicyIntervalPeriodic `protobuf:"bytes,203,opt,name=periodic,proto3,oneof"`
}

type SdkSchedulePolicyInterval_Weekly

type SdkSchedulePolicyInterval_Weekly struct {
	// Weekly policy
	Weekly *SdkSchedulePolicyIntervalWeekly `protobuf:"bytes,201,opt,name=weekly,proto3,oneof"`
}

type SdkSchedulePolicyUpdateRequest

type SdkSchedulePolicyUpdateRequest struct {

	// Schedule Policy
	SchedulePolicy *SdkSchedulePolicy `protobuf:"bytes,1,opt,name=schedule_policy,json=schedulePolicy,proto3" json:"schedule_policy,omitempty"`
	// contains filtered or unexported fields
}

Define a request to update a schedule policy

func (*SdkSchedulePolicyUpdateRequest) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyUpdateRequest.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyUpdateRequest) GetSchedulePolicy

func (x *SdkSchedulePolicyUpdateRequest) GetSchedulePolicy() *SdkSchedulePolicy

func (*SdkSchedulePolicyUpdateRequest) ProtoMessage

func (*SdkSchedulePolicyUpdateRequest) ProtoMessage()

func (*SdkSchedulePolicyUpdateRequest) ProtoReflect

func (*SdkSchedulePolicyUpdateRequest) Reset

func (x *SdkSchedulePolicyUpdateRequest) Reset()

func (*SdkSchedulePolicyUpdateRequest) String

type SdkSchedulePolicyUpdateResponse

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

Empty response

func (*SdkSchedulePolicyUpdateResponse) Descriptor deprecated

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

Deprecated: Use SdkSchedulePolicyUpdateResponse.ProtoReflect.Descriptor instead.

func (*SdkSchedulePolicyUpdateResponse) ProtoMessage

func (*SdkSchedulePolicyUpdateResponse) ProtoMessage()

func (*SdkSchedulePolicyUpdateResponse) ProtoReflect

func (*SdkSchedulePolicyUpdateResponse) Reset

func (*SdkSchedulePolicyUpdateResponse) String

type SdkServiceCapability

type SdkServiceCapability struct {

	// Use oneof to have only one type of service defined making it
	// future proof to add other types.
	//
	// Types that are assignable to Type:
	//	*SdkServiceCapability_Service
	Type isSdkServiceCapability_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

Defines a capability of he cluster

func (*SdkServiceCapability) Descriptor deprecated

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

Deprecated: Use SdkServiceCapability.ProtoReflect.Descriptor instead.

func (*SdkServiceCapability) GetService

func (*SdkServiceCapability) GetType

func (m *SdkServiceCapability) GetType() isSdkServiceCapability_Type

func (*SdkServiceCapability) ProtoMessage

func (*SdkServiceCapability) ProtoMessage()

func (*SdkServiceCapability) ProtoReflect

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

func (*SdkServiceCapability) Reset

func (x *SdkServiceCapability) Reset()

func (*SdkServiceCapability) String

func (x *SdkServiceCapability) String() string

type SdkServiceCapability_OpenStorageService

type SdkServiceCapability_OpenStorageService struct {

	// Type of service supported
	Type SdkServiceCapability_OpenStorageService_Type `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SdkServiceCapability_OpenStorageService) Descriptor deprecated

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

Deprecated: Use SdkServiceCapability_OpenStorageService.ProtoReflect.Descriptor instead.

func (*SdkServiceCapability_OpenStorageService) GetType

func (*SdkServiceCapability_OpenStorageService) ProtoMessage

func (*SdkServiceCapability_OpenStorageService) ProtoReflect

func (*SdkServiceCapability_OpenStorageService) Reset

func (*SdkServiceCapability_OpenStorageService) String

type SdkServiceCapability_OpenStorageService_Type

type SdkServiceCapability_OpenStorageService_Type int32
const (
	// Unknown service
	SdkServiceCapability_OpenStorageService_UNKNOWN SdkServiceCapability_OpenStorageService_Type = 0
	// Cluster management
	SdkServiceCapability_OpenStorageService_CLUSTER SdkServiceCapability_OpenStorageService_Type = 1
	// Cloud backup of volumes management
	SdkServiceCapability_OpenStorageService_CLOUD_BACKUP SdkServiceCapability_OpenStorageService_Type = 2
	// Credentials management
	SdkServiceCapability_OpenStorageService_CREDENTIALS SdkServiceCapability_OpenStorageService_Type = 3
	// Node management
	SdkServiceCapability_OpenStorageService_NODE SdkServiceCapability_OpenStorageService_Type = 4
	// Object Storage management
	SdkServiceCapability_OpenStorageService_OBJECT_STORAGE SdkServiceCapability_OpenStorageService_Type = 5
	// Schedule policy management
	SdkServiceCapability_OpenStorageService_SCHEDULE_POLICY SdkServiceCapability_OpenStorageService_Type = 6
	// Volume management
	SdkServiceCapability_OpenStorageService_VOLUME SdkServiceCapability_OpenStorageService_Type = 7
	// Alert enumeration
	SdkServiceCapability_OpenStorageService_ALERTS SdkServiceCapability_OpenStorageService_Type = 8
	// Mount/Attach Support
	SdkServiceCapability_OpenStorageService_MOUNT_ATTACH SdkServiceCapability_OpenStorageService_Type = 9
	// Role service
	SdkServiceCapability_OpenStorageService_ROLE SdkServiceCapability_OpenStorageService_Type = 10
	// Cluster Pair service
	SdkServiceCapability_OpenStorageService_CLUSTER_PAIR SdkServiceCapability_OpenStorageService_Type = 11
	// Migrate service
	SdkServiceCapability_OpenStorageService_MIGRATE SdkServiceCapability_OpenStorageService_Type = 12
	// StoragePolicy Service
	SdkServiceCapability_OpenStorageService_STORAGE_POLICY SdkServiceCapability_OpenStorageService_Type = 13
)

func (SdkServiceCapability_OpenStorageService_Type) Descriptor

func (SdkServiceCapability_OpenStorageService_Type) Enum

func (SdkServiceCapability_OpenStorageService_Type) EnumDescriptor deprecated

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

Deprecated: Use SdkServiceCapability_OpenStorageService_Type.Descriptor instead.

func (SdkServiceCapability_OpenStorageService_Type) Number

func (SdkServiceCapability_OpenStorageService_Type) String

func (SdkServiceCapability_OpenStorageService_Type) Type

type SdkServiceCapability_Service

type SdkServiceCapability_Service struct {
	// service type supported by this cluster
	Service *SdkServiceCapability_OpenStorageService `protobuf:"bytes,1,opt,name=service,proto3,oneof"`
}

type SdkStoragePolicy

type SdkStoragePolicy struct {

	// Name of storage policy.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// VolumeSpecs to apply while creating volume.
	Policy *VolumeSpecPolicy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
	// Force if set to true volume specs will be overwritten, otherwise
	// volume creation will fail if the volume specifications are not inline with storage policy
	Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
	// If set a volume can be updated without storage Policy
	// restriction, otherwise volume update will be followed as per storage policy
	// specification
	AllowUpdate bool `protobuf:"varint,4,opt,name=allow_update,json=allowUpdate,proto3" json:"allow_update,omitempty"`
	// Owner info of storage policy
	Ownership *Ownership `protobuf:"bytes,5,opt,name=ownership,proto3" json:"ownership,omitempty"`
	// contains filtered or unexported fields
}

A SdkStoragePolicy represents minimum set of volume specs to be follow while creating volumes. If storage policy is set default in OpenStoragePolicy service, VolumeSpecPolicy will be used before creating volume to validate volume specs or ensure minimum volume creation rules followed

func (*SdkStoragePolicy) Descriptor deprecated

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

Deprecated: Use SdkStoragePolicy.ProtoReflect.Descriptor instead.

func (*SdkStoragePolicy) GetAllowUpdate

func (x *SdkStoragePolicy) GetAllowUpdate() bool

func (*SdkStoragePolicy) GetForce

func (x *SdkStoragePolicy) GetForce() bool

func (*SdkStoragePolicy) GetName

func (x *SdkStoragePolicy) GetName() string

func (*SdkStoragePolicy) GetOwnership

func (x *SdkStoragePolicy) GetOwnership() *Ownership

func (*SdkStoragePolicy) GetPolicy

func (x *SdkStoragePolicy) GetPolicy() *VolumeSpecPolicy

func (*SdkStoragePolicy) IsPermitted

func (s *SdkStoragePolicy) IsPermitted(ctx context.Context, accessType Ownership_AccessType) bool

func (*SdkStoragePolicy) IsPermittedFromUserInfo

func (s *SdkStoragePolicy) IsPermittedFromUserInfo(user *auth.UserInfo, accessType Ownership_AccessType) bool

func (*SdkStoragePolicy) IsPublic

func (s *SdkStoragePolicy) IsPublic(accessType Ownership_AccessType) bool

func (*SdkStoragePolicy) ProtoMessage

func (*SdkStoragePolicy) ProtoMessage()

func (*SdkStoragePolicy) ProtoReflect

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

func (*SdkStoragePolicy) Reset

func (x *SdkStoragePolicy) Reset()

func (*SdkStoragePolicy) String

func (x *SdkStoragePolicy) String() string

type SdkStoragePool

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

func (*SdkStoragePool) Descriptor deprecated

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

Deprecated: Use SdkStoragePool.ProtoReflect.Descriptor instead.

func (*SdkStoragePool) ProtoMessage

func (*SdkStoragePool) ProtoMessage()

func (*SdkStoragePool) ProtoReflect

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

func (*SdkStoragePool) Reset

func (x *SdkStoragePool) Reset()

func (*SdkStoragePool) String

func (x *SdkStoragePool) String() string

type SdkStoragePoolResizeRequest

type SdkStoragePoolResizeRequest struct {

	// UUID of the storage pool to inspect
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// ResizeFactor is the option to indicate if you would like to resize the pool
	// by a fixed size or by a percentage of current size
	//
	// Types that are assignable to ResizeFactor:
	//	*SdkStoragePoolResizeRequest_Size
	//	*SdkStoragePoolResizeRequest_Percentage
	ResizeFactor isSdkStoragePoolResizeRequest_ResizeFactor `protobuf_oneof:"resize_factor"`
	// OperationType is the operation that's used to resize the storage pool (optional)
	OperationType SdkStoragePool_ResizeOperationType `` /* 157-byte string literal not displayed */
	// SkipWaitForCleanVolumes would skip the wait for all volumes on the pool to be clean before doing a resize
	SkipWaitForCleanVolumes bool `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines a request when inspect a storage pool

func (*SdkStoragePoolResizeRequest) Descriptor deprecated

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

Deprecated: Use SdkStoragePoolResizeRequest.ProtoReflect.Descriptor instead.

func (*SdkStoragePoolResizeRequest) GetOperationType

func (*SdkStoragePoolResizeRequest) GetPercentage

func (x *SdkStoragePoolResizeRequest) GetPercentage() uint64

func (*SdkStoragePoolResizeRequest) GetResizeFactor

func (m *SdkStoragePoolResizeRequest) GetResizeFactor() isSdkStoragePoolResizeRequest_ResizeFactor

func (*SdkStoragePoolResizeRequest) GetSize

func (x *SdkStoragePoolResizeRequest) GetSize() uint64

func (*SdkStoragePoolResizeRequest) GetSkipWaitForCleanVolumes

func (x *SdkStoragePoolResizeRequest) GetSkipWaitForCleanVolumes() bool

func (*SdkStoragePoolResizeRequest) GetUuid

func (x *SdkStoragePoolResizeRequest) GetUuid() string

func (*SdkStoragePoolResizeRequest) ProtoMessage

func (*SdkStoragePoolResizeRequest) ProtoMessage()

func (*SdkStoragePoolResizeRequest) ProtoReflect

func (*SdkStoragePoolResizeRequest) Reset

func (x *SdkStoragePoolResizeRequest) Reset()

func (*SdkStoragePoolResizeRequest) String

func (x *SdkStoragePoolResizeRequest) String() string

type SdkStoragePoolResizeRequest_Percentage

type SdkStoragePoolResizeRequest_Percentage struct {
	// Size is the new desired size of the storage pool
	Percentage uint64 `protobuf:"varint,201,opt,name=percentage,proto3,oneof"`
}

type SdkStoragePoolResizeRequest_Size

type SdkStoragePoolResizeRequest_Size struct {
	// Size is the new desired size of the storage pool
	Size uint64 `protobuf:"varint,200,opt,name=size,proto3,oneof"`
}

type SdkStoragePoolResizeResponse

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

Defines a response when resizing a storage pool

func (*SdkStoragePoolResizeResponse) Descriptor deprecated

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

Deprecated: Use SdkStoragePoolResizeResponse.ProtoReflect.Descriptor instead.

func (*SdkStoragePoolResizeResponse) ProtoMessage

func (*SdkStoragePoolResizeResponse) ProtoMessage()

func (*SdkStoragePoolResizeResponse) ProtoReflect

func (*SdkStoragePoolResizeResponse) Reset

func (x *SdkStoragePoolResizeResponse) Reset()

func (*SdkStoragePoolResizeResponse) String

type SdkStoragePool_OperationStatus

type SdkStoragePool_OperationStatus int32

OperationStatus captures the various statuses of a storage pool operation

const (
	// Operation pending
	SdkStoragePool_OPERATION_PENDING SdkStoragePool_OperationStatus = 0
	// Operation is in progress
	SdkStoragePool_OPERATION_IN_PROGRESS SdkStoragePool_OperationStatus = 1
	// Operation is successful
	SdkStoragePool_OPERATION_SUCCESSFUL SdkStoragePool_OperationStatus = 2
	// Operation failed
	SdkStoragePool_OPERATION_FAILED SdkStoragePool_OperationStatus = 3
)

func (SdkStoragePool_OperationStatus) Descriptor

func (SdkStoragePool_OperationStatus) Enum

func (SdkStoragePool_OperationStatus) EnumDescriptor deprecated

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

Deprecated: Use SdkStoragePool_OperationStatus.Descriptor instead.

func (SdkStoragePool_OperationStatus) Number

func (SdkStoragePool_OperationStatus) String

func (SdkStoragePool_OperationStatus) Type

type SdkStoragePool_OperationType

type SdkStoragePool_OperationType int32

OperationType defines the various operations that are performed on a storage pool

const (
	// Resize operation
	SdkStoragePool_OPERATION_RESIZE SdkStoragePool_OperationType = 0
)

func (SdkStoragePool_OperationType) Descriptor

func (SdkStoragePool_OperationType) Enum

func (SdkStoragePool_OperationType) EnumDescriptor deprecated

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

Deprecated: Use SdkStoragePool_OperationType.Descriptor instead.

func (SdkStoragePool_OperationType) Number

func (SdkStoragePool_OperationType) String

func (SdkStoragePool_OperationType) Type

type SdkStoragePool_ResizeOperationType

type SdkStoragePool_ResizeOperationType int32

Defines the operation types available to resize a storage pool

const (
	// Automatically pick the optimum resize operation type
	SdkStoragePool_RESIZE_TYPE_AUTO SdkStoragePool_ResizeOperationType = 0
	// Add a new drive to resize the pool
	SdkStoragePool_RESIZE_TYPE_ADD_DISK SdkStoragePool_ResizeOperationType = 1
	// Resize existing drives to resize the pool
	SdkStoragePool_RESIZE_TYPE_RESIZE_DISK SdkStoragePool_ResizeOperationType = 2
)

func (SdkStoragePool_ResizeOperationType) Descriptor

func (SdkStoragePool_ResizeOperationType) Enum

func (SdkStoragePool_ResizeOperationType) EnumDescriptor deprecated

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

Deprecated: Use SdkStoragePool_ResizeOperationType.Descriptor instead.

func (SdkStoragePool_ResizeOperationType) Number

func (SdkStoragePool_ResizeOperationType) String

func (SdkStoragePool_ResizeOperationType) Type

type SdkStorageRebalanceRequest

type SdkStorageRebalanceRequest struct {

	// TriggerThresholds defines thresholds that would trigger rebalance.
	// For example, TriggerThreshold{ThresholdTypeAbsolutePercent, MetricTypeUsedSpace, 75, 10}
	// would trigger rebalance on pools where used space is more than 75% or less than 10%. Similarly,
	// TriggerThreshold{ThresholdTypeDeltaMeanPercent, MetricTypeUsedSpace, 15, 25} will
	// trigger rebalance for pools where used space is more than 15% from the mean
	// percent for used space for the entire cluster or less than 25% from the mean
	// percent for used space for the entire cluster.
	TriggerThresholds []*StorageRebalanceTriggerThreshold `protobuf:"bytes,1,rep,name=trigger_thresholds,json=triggerThresholds,proto3" json:"trigger_thresholds,omitempty"`
	// TrialRun if true the job only produces steps that would be taken without making any changes
	TrialRun bool `protobuf:"varint,2,opt,name=trial_run,json=trialRun,proto3" json:"trial_run,omitempty"`
	// SourcePoolSelector allows selecting pools to which trigger thresholds will apply as source
	SourcePoolSelector []*LabelSelectorRequirement `protobuf:"bytes,3,rep,name=source_pool_selector,json=sourcePoolSelector,proto3" json:"source_pool_selector,omitempty"`
	// TargetPoolSelector allows selecting pools to which trigger thresholds will apply as target
	TargetPoolSelector []*LabelSelectorRequirement `protobuf:"bytes,4,rep,name=target_pool_selector,json=targetPoolSelector,proto3" json:"target_pool_selector,omitempty"`
	// MaxDurationMinutes defines how long operation should run when started at schedule.
	// 0 values means no limit on duration
	MaxDurationMinutes uint64 `protobuf:"varint,5,opt,name=max_duration_minutes,json=maxDurationMinutes,proto3" json:"max_duration_minutes,omitempty"`
	// RemoveRepl1Snapshots if true will instruct rebalance job to remove repl-1 snapshots
	RemoveRepl_1Snapshots bool `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SdkStorageRebalanceRequest) Descriptor deprecated

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

Deprecated: Use SdkStorageRebalanceRequest.ProtoReflect.Descriptor instead.

func (*SdkStorageRebalanceRequest) GetMaxDurationMinutes

func (x *SdkStorageRebalanceRequest) GetMaxDurationMinutes() uint64

func (*SdkStorageRebalanceRequest) GetRemoveRepl_1Snapshots

func (x *SdkStorageRebalanceRequest) GetRemoveRepl_1Snapshots() bool

func (*SdkStorageRebalanceRequest) GetSourcePoolSelector

func (x *SdkStorageRebalanceRequest) GetSourcePoolSelector() []*LabelSelectorRequirement

func (*SdkStorageRebalanceRequest) GetTargetPoolSelector

func (x *SdkStorageRebalanceRequest) GetTargetPoolSelector() []*LabelSelectorRequirement

func (*SdkStorageRebalanceRequest) GetTrialRun

func (x *SdkStorageRebalanceRequest) GetTrialRun() bool

func (*SdkStorageRebalanceRequest) GetTriggerThresholds

func (x *SdkStorageRebalanceRequest) GetTriggerThresholds() []*StorageRebalanceTriggerThreshold

func (*SdkStorageRebalanceRequest) ProtoMessage

func (*SdkStorageRebalanceRequest) ProtoMessage()

func (*SdkStorageRebalanceRequest) ProtoReflect

func (*SdkStorageRebalanceRequest) Reset

func (x *SdkStorageRebalanceRequest) Reset()

func (*SdkStorageRebalanceRequest) String

func (x *SdkStorageRebalanceRequest) String() string

type SdkStorageRebalanceResponse

type SdkStorageRebalanceResponse struct {

	// Job for this rebalance
	Job *StorageRebalanceJob `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// Summary summarizes the rebalance job
	Summary *StorageRebalanceSummary `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	// Actions describe all the actions taken during this rebalance
	Actions []*StorageRebalanceAudit `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

SdkStorageRebalanceResponse is the response to a storage rebalance request

func (*SdkStorageRebalanceResponse) Descriptor deprecated

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

Deprecated: Use SdkStorageRebalanceResponse.ProtoReflect.Descriptor instead.

func (*SdkStorageRebalanceResponse) GetActions

func (*SdkStorageRebalanceResponse) GetJob

func (*SdkStorageRebalanceResponse) GetSummary

func (*SdkStorageRebalanceResponse) ProtoMessage

func (*SdkStorageRebalanceResponse) ProtoMessage()

func (*SdkStorageRebalanceResponse) ProtoReflect

func (*SdkStorageRebalanceResponse) Reset

func (x *SdkStorageRebalanceResponse) Reset()

func (*SdkStorageRebalanceResponse) String

func (x *SdkStorageRebalanceResponse) String() string

type SdkTimeWeekday

type SdkTimeWeekday int32

Defines times of day

const (
	// Sunday
	SdkTimeWeekday_SdkTimeWeekdaySunday SdkTimeWeekday = 0
	// Monday
	SdkTimeWeekday_SdkTimeWeekdayMonday SdkTimeWeekday = 1
	// Tuesday
	SdkTimeWeekday_SdkTimeWeekdayTuesday SdkTimeWeekday = 2
	// Wednesday
	SdkTimeWeekday_SdkTimeWeekdayWednesday SdkTimeWeekday = 3
	// Thursday
	SdkTimeWeekday_SdkTimeWeekdayThursday SdkTimeWeekday = 4
	// Friday
	SdkTimeWeekday_SdkTimeWeekdayFriday SdkTimeWeekday = 5
	// Saturday
	SdkTimeWeekday_SdkTimeWeekdaySaturday SdkTimeWeekday = 6
)

func (SdkTimeWeekday) Descriptor

func (SdkTimeWeekday) Enum

func (x SdkTimeWeekday) Enum() *SdkTimeWeekday

func (SdkTimeWeekday) EnumDescriptor deprecated

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

Deprecated: Use SdkTimeWeekday.Descriptor instead.

func (SdkTimeWeekday) Number

func (SdkTimeWeekday) String

func (x SdkTimeWeekday) String() string

func (SdkTimeWeekday) Type

type SdkUpdateJobRequest

type SdkUpdateJobRequest struct {

	// ID of the job
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Type of the job
	Type Job_Type `protobuf:"varint,2,opt,name=type,proto3,enum=openstorage.api.Job_Type" json:"type,omitempty"`
	// State is the new task state to update the job to
	State Job_State `protobuf:"varint,3,opt,name=state,proto3,enum=openstorage.api.Job_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to update an existing job

func (*SdkUpdateJobRequest) Descriptor deprecated

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

Deprecated: Use SdkUpdateJobRequest.ProtoReflect.Descriptor instead.

func (*SdkUpdateJobRequest) GetId

func (x *SdkUpdateJobRequest) GetId() string

func (*SdkUpdateJobRequest) GetState

func (x *SdkUpdateJobRequest) GetState() Job_State

func (*SdkUpdateJobRequest) GetType

func (x *SdkUpdateJobRequest) GetType() Job_Type

func (*SdkUpdateJobRequest) ProtoMessage

func (*SdkUpdateJobRequest) ProtoMessage()

func (*SdkUpdateJobRequest) ProtoReflect

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

func (*SdkUpdateJobRequest) Reset

func (x *SdkUpdateJobRequest) Reset()

func (*SdkUpdateJobRequest) String

func (x *SdkUpdateJobRequest) String() string

type SdkUpdateJobResponse

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

Defines the response for an update to an existing job

func (*SdkUpdateJobResponse) Descriptor deprecated

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

Deprecated: Use SdkUpdateJobResponse.ProtoReflect.Descriptor instead.

func (*SdkUpdateJobResponse) ProtoMessage

func (*SdkUpdateJobResponse) ProtoMessage()

func (*SdkUpdateJobResponse) ProtoReflect

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

func (*SdkUpdateJobResponse) Reset

func (x *SdkUpdateJobResponse) Reset()

func (*SdkUpdateJobResponse) String

func (x *SdkUpdateJobResponse) String() string

type SdkUpdateRebalanceJobRequest

type SdkUpdateRebalanceJobRequest struct {

	// ID of the rebalance job
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// State is the new task state to update the job to
	State StorageRebalanceJobState `protobuf:"varint,2,opt,name=state,proto3,enum=openstorage.api.StorageRebalanceJobState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*SdkUpdateRebalanceJobRequest) Descriptor deprecated

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

Deprecated: Use SdkUpdateRebalanceJobRequest.ProtoReflect.Descriptor instead.

func (*SdkUpdateRebalanceJobRequest) GetId

func (*SdkUpdateRebalanceJobRequest) GetState

func (*SdkUpdateRebalanceJobRequest) ProtoMessage

func (*SdkUpdateRebalanceJobRequest) ProtoMessage()

func (*SdkUpdateRebalanceJobRequest) ProtoReflect

func (*SdkUpdateRebalanceJobRequest) Reset

func (x *SdkUpdateRebalanceJobRequest) Reset()

func (*SdkUpdateRebalanceJobRequest) String

type SdkUpdateRebalanceJobResponse

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

func (*SdkUpdateRebalanceJobResponse) Descriptor deprecated

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

Deprecated: Use SdkUpdateRebalanceJobResponse.ProtoReflect.Descriptor instead.

func (*SdkUpdateRebalanceJobResponse) ProtoMessage

func (*SdkUpdateRebalanceJobResponse) ProtoMessage()

func (*SdkUpdateRebalanceJobResponse) ProtoReflect

func (*SdkUpdateRebalanceJobResponse) Reset

func (x *SdkUpdateRebalanceJobResponse) Reset()

func (*SdkUpdateRebalanceJobResponse) String

type SdkVersion

type SdkVersion struct {

	// SDK version major number
	Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
	// SDK version minor number
	Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
	// SDK version patch number
	Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"`
	// String representation of the SDK version. Must be
	// in `major.minor.patch` format.
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

SDK version in Major.Minor.Patch format. The goal of this message is to provide clients a method to determine the SDK version run by an SDK server.

func (*SdkVersion) Descriptor deprecated

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

Deprecated: Use SdkVersion.ProtoReflect.Descriptor instead.

func (*SdkVersion) GetMajor

func (x *SdkVersion) GetMajor() int32

func (*SdkVersion) GetMinor

func (x *SdkVersion) GetMinor() int32

func (*SdkVersion) GetPatch

func (x *SdkVersion) GetPatch() int32

func (*SdkVersion) GetVersion

func (x *SdkVersion) GetVersion() string

func (*SdkVersion) ProtoMessage

func (*SdkVersion) ProtoMessage()

func (*SdkVersion) ProtoReflect

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

func (*SdkVersion) Reset

func (x *SdkVersion) Reset()

func (*SdkVersion) String

func (x *SdkVersion) String() string

type SdkVersion_Version

type SdkVersion_Version int32

These values are constants that can be used by the client and server applications

const (
	// Must be set in the proto file; ignore.
	SdkVersion_MUST_HAVE_ZERO_VALUE SdkVersion_Version = 0
	// SDK version major value of this specification
	SdkVersion_Major SdkVersion_Version = 0
	// SDK version minor value of this specification
	SdkVersion_Minor SdkVersion_Version = 138
	// SDK version patch value of this specification
	SdkVersion_Patch SdkVersion_Version = 0
)

func (SdkVersion_Version) Descriptor

func (SdkVersion_Version) Enum

func (SdkVersion_Version) EnumDescriptor deprecated

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

Deprecated: Use SdkVersion_Version.Descriptor instead.

func (SdkVersion_Version) Number

func (SdkVersion_Version) String

func (x SdkVersion_Version) String() string

func (SdkVersion_Version) Type

type SdkVolumeAttachOptions

type SdkVolumeAttachOptions struct {

	// Indicates the name of the secret stored in a secret store
	// In case of Hashicorp's Vault, it will be the key from the key-value pair stored in its kv backend.
	// In case of Kubernetes secret, it is the name of the secret object itself
	SecretName string `protobuf:"bytes,1,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
	// In case of Kubernetes, this will be the key stored in the Kubernetes secret
	SecretKey string `protobuf:"bytes,2,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	// It indicates the additional context which could be used to retrieve the secret.
	// In case of Kubernetes, this is the namespace in which the secret is created.
	SecretContext string `protobuf:"bytes,3,opt,name=secret_context,json=secretContext,proto3" json:"secret_context,omitempty"`
	// Indicates whether fastpath needs to be enabled during attach
	Fastpath string `protobuf:"bytes,4,opt,name=fastpath,proto3" json:"fastpath,omitempty"`
	// contains filtered or unexported fields
}

Options to attach device

func (*SdkVolumeAttachOptions) Descriptor deprecated

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

Deprecated: Use SdkVolumeAttachOptions.ProtoReflect.Descriptor instead.

func (*SdkVolumeAttachOptions) GetFastpath

func (x *SdkVolumeAttachOptions) GetFastpath() string

func (*SdkVolumeAttachOptions) GetSecretContext

func (x *SdkVolumeAttachOptions) GetSecretContext() string

func (*SdkVolumeAttachOptions) GetSecretKey

func (x *SdkVolumeAttachOptions) GetSecretKey() string

func (*SdkVolumeAttachOptions) GetSecretName

func (x *SdkVolumeAttachOptions) GetSecretName() string

func (*SdkVolumeAttachOptions) ProtoMessage

func (*SdkVolumeAttachOptions) ProtoMessage()

func (*SdkVolumeAttachOptions) ProtoReflect

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

func (*SdkVolumeAttachOptions) Reset

func (x *SdkVolumeAttachOptions) Reset()

func (*SdkVolumeAttachOptions) String

func (x *SdkVolumeAttachOptions) String() string

type SdkVolumeAttachRequest

type SdkVolumeAttachRequest struct {

	// Id of volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Options to attach device
	Options *SdkVolumeAttachOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// The following options are private to the driver plugin running the
	// OpenStorage SDK. Contact your driver developer for any special
	// values that need to be provided here.
	DriverOptions map[string]string `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines a request to attach a volume to the node receiving this request

func (*SdkVolumeAttachRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeAttachRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeAttachRequest) GetDriverOptions

func (x *SdkVolumeAttachRequest) GetDriverOptions() map[string]string

func (*SdkVolumeAttachRequest) GetOptions

func (*SdkVolumeAttachRequest) GetVolumeId

func (x *SdkVolumeAttachRequest) GetVolumeId() string

func (*SdkVolumeAttachRequest) ProtoMessage

func (*SdkVolumeAttachRequest) ProtoMessage()

func (*SdkVolumeAttachRequest) ProtoReflect

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

func (*SdkVolumeAttachRequest) Reset

func (x *SdkVolumeAttachRequest) Reset()

func (*SdkVolumeAttachRequest) String

func (x *SdkVolumeAttachRequest) String() string

type SdkVolumeAttachResponse

type SdkVolumeAttachResponse struct {

	// Device path where device is exported
	DevicePath string `protobuf:"bytes,1,opt,name=device_path,json=devicePath,proto3" json:"device_path,omitempty"`
	// contains filtered or unexported fields
}

Defines a response from the node which received the request to attach

func (*SdkVolumeAttachResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeAttachResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeAttachResponse) GetDevicePath

func (x *SdkVolumeAttachResponse) GetDevicePath() string

func (*SdkVolumeAttachResponse) ProtoMessage

func (*SdkVolumeAttachResponse) ProtoMessage()

func (*SdkVolumeAttachResponse) ProtoReflect

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

func (*SdkVolumeAttachResponse) Reset

func (x *SdkVolumeAttachResponse) Reset()

func (*SdkVolumeAttachResponse) String

func (x *SdkVolumeAttachResponse) String() string

type SdkVolumeCapacityUsageRequest

type SdkVolumeCapacityUsageRequest struct {

	// Id of the snapshot/volume to get capacity usage details
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// contains filtered or unexported fields
}

Defines request to retrieve volume/snapshot capacity usage details

func (*SdkVolumeCapacityUsageRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeCapacityUsageRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeCapacityUsageRequest) GetVolumeId

func (x *SdkVolumeCapacityUsageRequest) GetVolumeId() string

func (*SdkVolumeCapacityUsageRequest) ProtoMessage

func (*SdkVolumeCapacityUsageRequest) ProtoMessage()

func (*SdkVolumeCapacityUsageRequest) ProtoReflect

func (*SdkVolumeCapacityUsageRequest) Reset

func (x *SdkVolumeCapacityUsageRequest) Reset()

func (*SdkVolumeCapacityUsageRequest) String

type SdkVolumeCapacityUsageResponse

type SdkVolumeCapacityUsageResponse struct {

	// CapacityUsage details
	CapacityUsageInfo *CapacityUsageInfo `protobuf:"bytes,1,opt,name=capacity_usage_info,json=capacityUsageInfo,proto3" json:"capacity_usage_info,omitempty"`
	// contains filtered or unexported fields
}

Defines response containing volume/snapshot capacity usage details

func (*SdkVolumeCapacityUsageResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeCapacityUsageResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeCapacityUsageResponse) GetCapacityUsageInfo

func (x *SdkVolumeCapacityUsageResponse) GetCapacityUsageInfo() *CapacityUsageInfo

func (*SdkVolumeCapacityUsageResponse) ProtoMessage

func (*SdkVolumeCapacityUsageResponse) ProtoMessage()

func (*SdkVolumeCapacityUsageResponse) ProtoReflect

func (*SdkVolumeCapacityUsageResponse) Reset

func (x *SdkVolumeCapacityUsageResponse) Reset()

func (*SdkVolumeCapacityUsageResponse) String

type SdkVolumeCatalogRequest

type SdkVolumeCatalogRequest struct {

	// VolumeId of the volume that is getting it's catalog retrieved.
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Path which will be used as root (default is the actual root)
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// Depth of folders/files retrieved (default is all of it, 1 would only return 1 layer)
	Depth string `protobuf:"bytes,3,opt,name=depth,proto3" json:"depth,omitempty"`
	// contains filtered or unexported fields
}

Request message to get the volume catalog

func (*SdkVolumeCatalogRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeCatalogRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeCatalogRequest) GetDepth

func (x *SdkVolumeCatalogRequest) GetDepth() string

func (*SdkVolumeCatalogRequest) GetPath

func (x *SdkVolumeCatalogRequest) GetPath() string

func (*SdkVolumeCatalogRequest) GetVolumeId

func (x *SdkVolumeCatalogRequest) GetVolumeId() string

func (*SdkVolumeCatalogRequest) ProtoMessage

func (*SdkVolumeCatalogRequest) ProtoMessage()

func (*SdkVolumeCatalogRequest) ProtoReflect

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

func (*SdkVolumeCatalogRequest) Reset

func (x *SdkVolumeCatalogRequest) Reset()

func (*SdkVolumeCatalogRequest) String

func (x *SdkVolumeCatalogRequest) String() string

type SdkVolumeCatalogResponse

type SdkVolumeCatalogResponse struct {

	// Catalog
	Catalog *CatalogResponse `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"`
	// contains filtered or unexported fields
}

Response message to get volume catalog

func (*SdkVolumeCatalogResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeCatalogResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeCatalogResponse) GetCatalog

func (x *SdkVolumeCatalogResponse) GetCatalog() *CatalogResponse

func (*SdkVolumeCatalogResponse) ProtoMessage

func (*SdkVolumeCatalogResponse) ProtoMessage()

func (*SdkVolumeCatalogResponse) ProtoReflect

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

func (*SdkVolumeCatalogResponse) Reset

func (x *SdkVolumeCatalogResponse) Reset()

func (*SdkVolumeCatalogResponse) String

func (x *SdkVolumeCatalogResponse) String() string

type SdkVolumeCloneRequest

type SdkVolumeCloneRequest struct {

	// Unique name of the volume. This will be used for idempotency.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Parent volume id or snapshot id will create a new volume as a clone of the parent.
	ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to clone a volume or create a volume from a snapshot

func (*SdkVolumeCloneRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeCloneRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeCloneRequest) GetName

func (x *SdkVolumeCloneRequest) GetName() string

func (*SdkVolumeCloneRequest) GetParentId

func (x *SdkVolumeCloneRequest) GetParentId() string

func (*SdkVolumeCloneRequest) ProtoMessage

func (*SdkVolumeCloneRequest) ProtoMessage()

func (*SdkVolumeCloneRequest) ProtoReflect

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

func (*SdkVolumeCloneRequest) Reset

func (x *SdkVolumeCloneRequest) Reset()

func (*SdkVolumeCloneRequest) String

func (x *SdkVolumeCloneRequest) String() string

type SdkVolumeCloneResponse

type SdkVolumeCloneResponse struct {

	// Id of new volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// contains filtered or unexported fields
}

Defines the response when creating a clone from a volume or a snapshot

func (*SdkVolumeCloneResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeCloneResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeCloneResponse) GetVolumeId

func (x *SdkVolumeCloneResponse) GetVolumeId() string

func (*SdkVolumeCloneResponse) ProtoMessage

func (*SdkVolumeCloneResponse) ProtoMessage()

func (*SdkVolumeCloneResponse) ProtoReflect

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

func (*SdkVolumeCloneResponse) Reset

func (x *SdkVolumeCloneResponse) Reset()

func (*SdkVolumeCloneResponse) String

func (x *SdkVolumeCloneResponse) String() string

type SdkVolumeCreateRequest

type SdkVolumeCreateRequest struct {

	// Unique name of the volume. This will be used for idempotency.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Volume specification
	Spec *VolumeSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// Labels to apply to the volume
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines a request to create a volume. Use OpenStorageVolume.Update() to update any labels on the volume.

func (*SdkVolumeCreateRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeCreateRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeCreateRequest) GetLabels

func (x *SdkVolumeCreateRequest) GetLabels() map[string]string

func (*SdkVolumeCreateRequest) GetName

func (x *SdkVolumeCreateRequest) GetName() string

func (*SdkVolumeCreateRequest) GetSpec

func (x *SdkVolumeCreateRequest) GetSpec() *VolumeSpec

func (*SdkVolumeCreateRequest) ProtoMessage

func (*SdkVolumeCreateRequest) ProtoMessage()

func (*SdkVolumeCreateRequest) ProtoReflect

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

func (*SdkVolumeCreateRequest) Reset

func (x *SdkVolumeCreateRequest) Reset()

func (*SdkVolumeCreateRequest) String

func (x *SdkVolumeCreateRequest) String() string

type SdkVolumeCreateResponse

type SdkVolumeCreateResponse struct {

	// Id of new volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a response to the creation of a volume

func (*SdkVolumeCreateResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeCreateResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeCreateResponse) GetVolumeId

func (x *SdkVolumeCreateResponse) GetVolumeId() string

func (*SdkVolumeCreateResponse) ProtoMessage

func (*SdkVolumeCreateResponse) ProtoMessage()

func (*SdkVolumeCreateResponse) ProtoReflect

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

func (*SdkVolumeCreateResponse) Reset

func (x *SdkVolumeCreateResponse) Reset()

func (*SdkVolumeCreateResponse) String

func (x *SdkVolumeCreateResponse) String() string

type SdkVolumeDeleteRequest

type SdkVolumeDeleteRequest struct {

	// Id of volume to delete
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// contains filtered or unexported fields
}

Defines the request to delete a volume

func (*SdkVolumeDeleteRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeDeleteRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeDeleteRequest) GetVolumeId

func (x *SdkVolumeDeleteRequest) GetVolumeId() string

func (*SdkVolumeDeleteRequest) ProtoMessage

func (*SdkVolumeDeleteRequest) ProtoMessage()

func (*SdkVolumeDeleteRequest) ProtoReflect

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

func (*SdkVolumeDeleteRequest) Reset

func (x *SdkVolumeDeleteRequest) Reset()

func (*SdkVolumeDeleteRequest) String

func (x *SdkVolumeDeleteRequest) String() string

type SdkVolumeDeleteResponse

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

Empty response

func (*SdkVolumeDeleteResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeDeleteResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeDeleteResponse) ProtoMessage

func (*SdkVolumeDeleteResponse) ProtoMessage()

func (*SdkVolumeDeleteResponse) ProtoReflect

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

func (*SdkVolumeDeleteResponse) Reset

func (x *SdkVolumeDeleteResponse) Reset()

func (*SdkVolumeDeleteResponse) String

func (x *SdkVolumeDeleteResponse) String() string

type SdkVolumeDetachOptions

type SdkVolumeDetachOptions struct {

	// Forcefully detach device from the kernel
	Force bool `protobuf:"varint,1,opt,name=force,proto3" json:"force,omitempty"`
	// Unmount the volume before detaching
	UnmountBeforeDetach bool `protobuf:"varint,2,opt,name=unmount_before_detach,json=unmountBeforeDetach,proto3" json:"unmount_before_detach,omitempty"`
	//  redirect the request to the attached node
	Redirect bool `protobuf:"varint,3,opt,name=redirect,proto3" json:"redirect,omitempty"`
	// contains filtered or unexported fields
}

func (*SdkVolumeDetachOptions) Descriptor deprecated

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

Deprecated: Use SdkVolumeDetachOptions.ProtoReflect.Descriptor instead.

func (*SdkVolumeDetachOptions) GetForce

func (x *SdkVolumeDetachOptions) GetForce() bool

func (*SdkVolumeDetachOptions) GetRedirect

func (x *SdkVolumeDetachOptions) GetRedirect() bool

func (*SdkVolumeDetachOptions) GetUnmountBeforeDetach

func (x *SdkVolumeDetachOptions) GetUnmountBeforeDetach() bool

func (*SdkVolumeDetachOptions) ProtoMessage

func (*SdkVolumeDetachOptions) ProtoMessage()

func (*SdkVolumeDetachOptions) ProtoReflect

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

func (*SdkVolumeDetachOptions) Reset

func (x *SdkVolumeDetachOptions) Reset()

func (*SdkVolumeDetachOptions) String

func (x *SdkVolumeDetachOptions) String() string

type SdkVolumeDetachRequest

type SdkVolumeDetachRequest struct {

	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Options to detach device
	Options *SdkVolumeDetachOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// The following options are private to the driver plugin running the
	// OpenStorage SDK. Contact your driver developer for any special
	// values that need to be provided here.
	DriverOptions map[string]string `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines a request to detach a volume

func (*SdkVolumeDetachRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeDetachRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeDetachRequest) GetDriverOptions

func (x *SdkVolumeDetachRequest) GetDriverOptions() map[string]string

func (*SdkVolumeDetachRequest) GetOptions

func (*SdkVolumeDetachRequest) GetVolumeId

func (x *SdkVolumeDetachRequest) GetVolumeId() string

func (*SdkVolumeDetachRequest) ProtoMessage

func (*SdkVolumeDetachRequest) ProtoMessage()

func (*SdkVolumeDetachRequest) ProtoReflect

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

func (*SdkVolumeDetachRequest) Reset

func (x *SdkVolumeDetachRequest) Reset()

func (*SdkVolumeDetachRequest) String

func (x *SdkVolumeDetachRequest) String() string

type SdkVolumeDetachResponse

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

Empty response

func (*SdkVolumeDetachResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeDetachResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeDetachResponse) ProtoMessage

func (*SdkVolumeDetachResponse) ProtoMessage()

func (*SdkVolumeDetachResponse) ProtoReflect

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

func (*SdkVolumeDetachResponse) Reset

func (x *SdkVolumeDetachResponse) Reset()

func (*SdkVolumeDetachResponse) String

func (x *SdkVolumeDetachResponse) String() string

type SdkVolumeEnumerateRequest

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

Defines a request to list volumes

func (*SdkVolumeEnumerateRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeEnumerateRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeEnumerateRequest) ProtoMessage

func (*SdkVolumeEnumerateRequest) ProtoMessage()

func (*SdkVolumeEnumerateRequest) ProtoReflect

func (*SdkVolumeEnumerateRequest) Reset

func (x *SdkVolumeEnumerateRequest) Reset()

func (*SdkVolumeEnumerateRequest) String

func (x *SdkVolumeEnumerateRequest) String() string

type SdkVolumeEnumerateResponse

type SdkVolumeEnumerateResponse struct {

	// List of volumes matching label
	VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
	// contains filtered or unexported fields
}

Defines the response when listing volumes

func (*SdkVolumeEnumerateResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeEnumerateResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeEnumerateResponse) GetVolumeIds

func (x *SdkVolumeEnumerateResponse) GetVolumeIds() []string

func (*SdkVolumeEnumerateResponse) ProtoMessage

func (*SdkVolumeEnumerateResponse) ProtoMessage()

func (*SdkVolumeEnumerateResponse) ProtoReflect

func (*SdkVolumeEnumerateResponse) Reset

func (x *SdkVolumeEnumerateResponse) Reset()

func (*SdkVolumeEnumerateResponse) String

func (x *SdkVolumeEnumerateResponse) String() string

type SdkVolumeEnumerateWithFiltersRequest

type SdkVolumeEnumerateWithFiltersRequest struct {

	// (optional) Name to search
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// (optional) Labels to search
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// (optional) Ownership to match
	Ownership *Ownership `protobuf:"bytes,4,opt,name=ownership,proto3" json:"ownership,omitempty"`
	// (optional) Group to match
	Group *Group `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to list volumes

func (*SdkVolumeEnumerateWithFiltersRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeEnumerateWithFiltersRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeEnumerateWithFiltersRequest) GetGroup

func (*SdkVolumeEnumerateWithFiltersRequest) GetLabels

func (*SdkVolumeEnumerateWithFiltersRequest) GetName

func (*SdkVolumeEnumerateWithFiltersRequest) GetOwnership

func (*SdkVolumeEnumerateWithFiltersRequest) ProtoMessage

func (*SdkVolumeEnumerateWithFiltersRequest) ProtoMessage()

func (*SdkVolumeEnumerateWithFiltersRequest) ProtoReflect

func (*SdkVolumeEnumerateWithFiltersRequest) Reset

func (*SdkVolumeEnumerateWithFiltersRequest) String

type SdkVolumeEnumerateWithFiltersResponse

type SdkVolumeEnumerateWithFiltersResponse struct {

	// List of volumes matching label
	VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
	// contains filtered or unexported fields
}

Defines the response when listing volumes

func (*SdkVolumeEnumerateWithFiltersResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeEnumerateWithFiltersResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeEnumerateWithFiltersResponse) GetVolumeIds

func (x *SdkVolumeEnumerateWithFiltersResponse) GetVolumeIds() []string

func (*SdkVolumeEnumerateWithFiltersResponse) ProtoMessage

func (*SdkVolumeEnumerateWithFiltersResponse) ProtoMessage()

func (*SdkVolumeEnumerateWithFiltersResponse) ProtoReflect

func (*SdkVolumeEnumerateWithFiltersResponse) Reset

func (*SdkVolumeEnumerateWithFiltersResponse) String

type SdkVolumeInspectRequest

type SdkVolumeInspectRequest struct {

	// Id of volume to inspect
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Options during inspection
	Options *VolumeInspectOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

Defines the request to inspect a volume

func (*SdkVolumeInspectRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeInspectRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeInspectRequest) GetOptions

func (*SdkVolumeInspectRequest) GetVolumeId

func (x *SdkVolumeInspectRequest) GetVolumeId() string

func (*SdkVolumeInspectRequest) ProtoMessage

func (*SdkVolumeInspectRequest) ProtoMessage()

func (*SdkVolumeInspectRequest) ProtoReflect

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

func (*SdkVolumeInspectRequest) Reset

func (x *SdkVolumeInspectRequest) Reset()

func (*SdkVolumeInspectRequest) String

func (x *SdkVolumeInspectRequest) String() string

type SdkVolumeInspectResponse

type SdkVolumeInspectResponse struct {

	// Information about the volume
	Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// Name of volume
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Volume labels
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines the response when inspecting a volume

func (*SdkVolumeInspectResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeInspectResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeInspectResponse) GetLabels

func (x *SdkVolumeInspectResponse) GetLabels() map[string]string

func (*SdkVolumeInspectResponse) GetName

func (x *SdkVolumeInspectResponse) GetName() string

func (*SdkVolumeInspectResponse) GetVolume

func (x *SdkVolumeInspectResponse) GetVolume() *Volume

func (*SdkVolumeInspectResponse) ProtoMessage

func (*SdkVolumeInspectResponse) ProtoMessage()

func (*SdkVolumeInspectResponse) ProtoReflect

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

func (*SdkVolumeInspectResponse) Reset

func (x *SdkVolumeInspectResponse) Reset()

func (*SdkVolumeInspectResponse) String

func (x *SdkVolumeInspectResponse) String() string

type SdkVolumeInspectWithFiltersRequest

type SdkVolumeInspectWithFiltersRequest struct {

	// (optional) Name to search
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// (optional) Labels to search
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// (optional) Ownership to match
	Ownership *Ownership `protobuf:"bytes,4,opt,name=ownership,proto3" json:"ownership,omitempty"`
	// (optional) Group to match
	Group *Group `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"`
	// Options during inspection
	Options *VolumeInspectOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

Defines the request to inspect volumes using a filter

func (*SdkVolumeInspectWithFiltersRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeInspectWithFiltersRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeInspectWithFiltersRequest) GetGroup

func (*SdkVolumeInspectWithFiltersRequest) GetLabels

func (*SdkVolumeInspectWithFiltersRequest) GetName

func (*SdkVolumeInspectWithFiltersRequest) GetOptions

func (*SdkVolumeInspectWithFiltersRequest) GetOwnership

func (x *SdkVolumeInspectWithFiltersRequest) GetOwnership() *Ownership

func (*SdkVolumeInspectWithFiltersRequest) ProtoMessage

func (*SdkVolumeInspectWithFiltersRequest) ProtoMessage()

func (*SdkVolumeInspectWithFiltersRequest) ProtoReflect

func (*SdkVolumeInspectWithFiltersRequest) Reset

func (*SdkVolumeInspectWithFiltersRequest) String

type SdkVolumeInspectWithFiltersResponse

type SdkVolumeInspectWithFiltersResponse struct {

	// List of `SdkVolumeInspectResponse` objects describing the volumes
	Volumes []*SdkVolumeInspectResponse `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// contains filtered or unexported fields
}

Defines the response when inspecting volumes using a filter

func (*SdkVolumeInspectWithFiltersResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeInspectWithFiltersResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeInspectWithFiltersResponse) GetVolumes

func (*SdkVolumeInspectWithFiltersResponse) ProtoMessage

func (*SdkVolumeInspectWithFiltersResponse) ProtoMessage()

func (*SdkVolumeInspectWithFiltersResponse) ProtoReflect

func (*SdkVolumeInspectWithFiltersResponse) Reset

func (*SdkVolumeInspectWithFiltersResponse) String

type SdkVolumeMountRequest

type SdkVolumeMountRequest struct {

	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Mount path for mounting the volume.
	MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// Options to attach device
	Options *SdkVolumeAttachOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
	// The following options are private to the driver plugin running the
	// OpenStorage SDK. Contact your driver developer for any special
	// values that need to be provided here.
	DriverOptions map[string]string `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines a request to mount a volume to the node receiving this request

func (*SdkVolumeMountRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeMountRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeMountRequest) GetDriverOptions

func (x *SdkVolumeMountRequest) GetDriverOptions() map[string]string

func (*SdkVolumeMountRequest) GetMountPath

func (x *SdkVolumeMountRequest) GetMountPath() string

func (*SdkVolumeMountRequest) GetOptions

func (*SdkVolumeMountRequest) GetVolumeId

func (x *SdkVolumeMountRequest) GetVolumeId() string

func (*SdkVolumeMountRequest) ProtoMessage

func (*SdkVolumeMountRequest) ProtoMessage()

func (*SdkVolumeMountRequest) ProtoReflect

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

func (*SdkVolumeMountRequest) Reset

func (x *SdkVolumeMountRequest) Reset()

func (*SdkVolumeMountRequest) String

func (x *SdkVolumeMountRequest) String() string

type SdkVolumeMountResponse

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

Empty response

func (*SdkVolumeMountResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeMountResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeMountResponse) ProtoMessage

func (*SdkVolumeMountResponse) ProtoMessage()

func (*SdkVolumeMountResponse) ProtoReflect

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

func (*SdkVolumeMountResponse) Reset

func (x *SdkVolumeMountResponse) Reset()

func (*SdkVolumeMountResponse) String

func (x *SdkVolumeMountResponse) String() string

type SdkVolumeSnapshotCreateRequest

type SdkVolumeSnapshotCreateRequest struct {

	// Id of volume to take the snapshot from
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Name of the snapshot.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Labels to apply to snapshot
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines the request when creating a snapshot from a volume.

func (*SdkVolumeSnapshotCreateRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeSnapshotCreateRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeSnapshotCreateRequest) GetLabels

func (x *SdkVolumeSnapshotCreateRequest) GetLabels() map[string]string

func (*SdkVolumeSnapshotCreateRequest) GetName

func (*SdkVolumeSnapshotCreateRequest) GetVolumeId

func (x *SdkVolumeSnapshotCreateRequest) GetVolumeId() string

func (*SdkVolumeSnapshotCreateRequest) ProtoMessage

func (*SdkVolumeSnapshotCreateRequest) ProtoMessage()

func (*SdkVolumeSnapshotCreateRequest) ProtoReflect

func (*SdkVolumeSnapshotCreateRequest) Reset

func (x *SdkVolumeSnapshotCreateRequest) Reset()

func (*SdkVolumeSnapshotCreateRequest) String

type SdkVolumeSnapshotCreateResponse

type SdkVolumeSnapshotCreateResponse struct {

	// Id of immutable snapshot
	SnapshotId string `protobuf:"bytes,1,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a response after creating a snapshot of a volume

func (*SdkVolumeSnapshotCreateResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeSnapshotCreateResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeSnapshotCreateResponse) GetSnapshotId

func (x *SdkVolumeSnapshotCreateResponse) GetSnapshotId() string

func (*SdkVolumeSnapshotCreateResponse) ProtoMessage

func (*SdkVolumeSnapshotCreateResponse) ProtoMessage()

func (*SdkVolumeSnapshotCreateResponse) ProtoReflect

func (*SdkVolumeSnapshotCreateResponse) Reset

func (*SdkVolumeSnapshotCreateResponse) String

type SdkVolumeSnapshotEnumerateRequest

type SdkVolumeSnapshotEnumerateRequest struct {

	// Get the snapshots for this volume id
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to list the snaphots

func (*SdkVolumeSnapshotEnumerateRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeSnapshotEnumerateRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeSnapshotEnumerateRequest) GetVolumeId

func (x *SdkVolumeSnapshotEnumerateRequest) GetVolumeId() string

func (*SdkVolumeSnapshotEnumerateRequest) ProtoMessage

func (*SdkVolumeSnapshotEnumerateRequest) ProtoMessage()

func (*SdkVolumeSnapshotEnumerateRequest) ProtoReflect

func (*SdkVolumeSnapshotEnumerateRequest) Reset

func (*SdkVolumeSnapshotEnumerateRequest) String

type SdkVolumeSnapshotEnumerateResponse

type SdkVolumeSnapshotEnumerateResponse struct {

	// List of immutable snapshots
	VolumeSnapshotIds []string `protobuf:"bytes,1,rep,name=volume_snapshot_ids,json=volumeSnapshotIds,proto3" json:"volume_snapshot_ids,omitempty"`
	// contains filtered or unexported fields
}

Defines a response when listing snapshots

func (*SdkVolumeSnapshotEnumerateResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeSnapshotEnumerateResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeSnapshotEnumerateResponse) GetVolumeSnapshotIds

func (x *SdkVolumeSnapshotEnumerateResponse) GetVolumeSnapshotIds() []string

func (*SdkVolumeSnapshotEnumerateResponse) ProtoMessage

func (*SdkVolumeSnapshotEnumerateResponse) ProtoMessage()

func (*SdkVolumeSnapshotEnumerateResponse) ProtoReflect

func (*SdkVolumeSnapshotEnumerateResponse) Reset

func (*SdkVolumeSnapshotEnumerateResponse) String

type SdkVolumeSnapshotEnumerateWithFiltersRequest

type SdkVolumeSnapshotEnumerateWithFiltersRequest struct {

	// (optional) Get the snapshots for this volume id
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// (optional) Get snapshots that match these labels
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines a request to list the snaphots

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) Descriptor deprecated

Deprecated: Use SdkVolumeSnapshotEnumerateWithFiltersRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) GetLabels

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) GetVolumeId

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) ProtoMessage

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) ProtoReflect

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) Reset

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) String

type SdkVolumeSnapshotEnumerateWithFiltersResponse

type SdkVolumeSnapshotEnumerateWithFiltersResponse struct {

	// List of immutable snapshots
	VolumeSnapshotIds []string `protobuf:"bytes,1,rep,name=volume_snapshot_ids,json=volumeSnapshotIds,proto3" json:"volume_snapshot_ids,omitempty"`
	// contains filtered or unexported fields
}

Defines a response when listing snapshots

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) Descriptor deprecated

Deprecated: Use SdkVolumeSnapshotEnumerateWithFiltersResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) GetVolumeSnapshotIds

func (x *SdkVolumeSnapshotEnumerateWithFiltersResponse) GetVolumeSnapshotIds() []string

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) ProtoMessage

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) ProtoReflect

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) Reset

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) String

type SdkVolumeSnapshotRestoreRequest

type SdkVolumeSnapshotRestoreRequest struct {

	// Id of volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Snapshot id to apply to `volume_id`
	SnapshotId string `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to restore a volume to a snapshot

func (*SdkVolumeSnapshotRestoreRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeSnapshotRestoreRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeSnapshotRestoreRequest) GetSnapshotId

func (x *SdkVolumeSnapshotRestoreRequest) GetSnapshotId() string

func (*SdkVolumeSnapshotRestoreRequest) GetVolumeId

func (x *SdkVolumeSnapshotRestoreRequest) GetVolumeId() string

func (*SdkVolumeSnapshotRestoreRequest) ProtoMessage

func (*SdkVolumeSnapshotRestoreRequest) ProtoMessage()

func (*SdkVolumeSnapshotRestoreRequest) ProtoReflect

func (*SdkVolumeSnapshotRestoreRequest) Reset

func (*SdkVolumeSnapshotRestoreRequest) String

type SdkVolumeSnapshotRestoreResponse

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

Empty response

func (*SdkVolumeSnapshotRestoreResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeSnapshotRestoreResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeSnapshotRestoreResponse) ProtoMessage

func (*SdkVolumeSnapshotRestoreResponse) ProtoMessage()

func (*SdkVolumeSnapshotRestoreResponse) ProtoReflect

func (*SdkVolumeSnapshotRestoreResponse) Reset

func (*SdkVolumeSnapshotRestoreResponse) String

type SdkVolumeSnapshotScheduleUpdateRequest

type SdkVolumeSnapshotScheduleUpdateRequest struct {

	// Id of volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Names of schedule policies
	SnapshotScheduleNames []string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines a request to update the snapshot schedule of a volume

func (*SdkVolumeSnapshotScheduleUpdateRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeSnapshotScheduleUpdateRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeSnapshotScheduleUpdateRequest) GetSnapshotScheduleNames

func (x *SdkVolumeSnapshotScheduleUpdateRequest) GetSnapshotScheduleNames() []string

func (*SdkVolumeSnapshotScheduleUpdateRequest) GetVolumeId

func (*SdkVolumeSnapshotScheduleUpdateRequest) ProtoMessage

func (*SdkVolumeSnapshotScheduleUpdateRequest) ProtoReflect

func (*SdkVolumeSnapshotScheduleUpdateRequest) Reset

func (*SdkVolumeSnapshotScheduleUpdateRequest) String

type SdkVolumeSnapshotScheduleUpdateResponse

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

Empty response

func (*SdkVolumeSnapshotScheduleUpdateResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeSnapshotScheduleUpdateResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeSnapshotScheduleUpdateResponse) ProtoMessage

func (*SdkVolumeSnapshotScheduleUpdateResponse) ProtoReflect

func (*SdkVolumeSnapshotScheduleUpdateResponse) Reset

func (*SdkVolumeSnapshotScheduleUpdateResponse) String

type SdkVolumeStatsRequest

type SdkVolumeStatsRequest struct {

	// Id of the volume to get statistics
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// When set to false the stats are in /proc/diskstats style stats.
	// When set to true the stats are stats for a specific duration.
	NotCumulative bool `protobuf:"varint,2,opt,name=not_cumulative,json=notCumulative,proto3" json:"not_cumulative,omitempty"`
	// contains filtered or unexported fields
}

Defines a request to retrieve volume statistics

func (*SdkVolumeStatsRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeStatsRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeStatsRequest) GetNotCumulative

func (x *SdkVolumeStatsRequest) GetNotCumulative() bool

func (*SdkVolumeStatsRequest) GetVolumeId

func (x *SdkVolumeStatsRequest) GetVolumeId() string

func (*SdkVolumeStatsRequest) ProtoMessage

func (*SdkVolumeStatsRequest) ProtoMessage()

func (*SdkVolumeStatsRequest) ProtoReflect

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

func (*SdkVolumeStatsRequest) Reset

func (x *SdkVolumeStatsRequest) Reset()

func (*SdkVolumeStatsRequest) String

func (x *SdkVolumeStatsRequest) String() string

type SdkVolumeStatsResponse

type SdkVolumeStatsResponse struct {

	// Statistics for a single volume
	Stats *Stats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

Defines a response containing drive statistics

func (*SdkVolumeStatsResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeStatsResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeStatsResponse) GetStats

func (x *SdkVolumeStatsResponse) GetStats() *Stats

func (*SdkVolumeStatsResponse) ProtoMessage

func (*SdkVolumeStatsResponse) ProtoMessage()

func (*SdkVolumeStatsResponse) ProtoReflect

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

func (*SdkVolumeStatsResponse) Reset

func (x *SdkVolumeStatsResponse) Reset()

func (*SdkVolumeStatsResponse) String

func (x *SdkVolumeStatsResponse) String() string

type SdkVolumeUnmountOptions

type SdkVolumeUnmountOptions struct {

	// Delete the mount path on the node after unmounting
	DeleteMountPath bool `protobuf:"varint,1,opt,name=delete_mount_path,json=deleteMountPath,proto3" json:"delete_mount_path,omitempty"`
	// Do not wait for a delay before deleting path.
	// Normally a storage driver may delay before deleting the mount path,
	// which may be necessary to reduce the risk of race conditions. This
	// choice will remove that delay. This value is only usable when
	// `delete_mount_path` is set.
	NoDelayBeforeDeletingMountPath bool `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

Options to unmount device

func (*SdkVolumeUnmountOptions) Descriptor deprecated

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

Deprecated: Use SdkVolumeUnmountOptions.ProtoReflect.Descriptor instead.

func (*SdkVolumeUnmountOptions) GetDeleteMountPath

func (x *SdkVolumeUnmountOptions) GetDeleteMountPath() bool

func (*SdkVolumeUnmountOptions) GetNoDelayBeforeDeletingMountPath

func (x *SdkVolumeUnmountOptions) GetNoDelayBeforeDeletingMountPath() bool

func (*SdkVolumeUnmountOptions) ProtoMessage

func (*SdkVolumeUnmountOptions) ProtoMessage()

func (*SdkVolumeUnmountOptions) ProtoReflect

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

func (*SdkVolumeUnmountOptions) Reset

func (x *SdkVolumeUnmountOptions) Reset()

func (*SdkVolumeUnmountOptions) String

func (x *SdkVolumeUnmountOptions) String() string

type SdkVolumeUnmountRequest

type SdkVolumeUnmountRequest struct {

	// Id of volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// MountPath for device
	MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// Options to unmount device
	Options *SdkVolumeUnmountOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
	// The following options are private to the driver plugin running the
	// OpenStorage SDK. Contact your driver developer for any special
	// values that need to be provided here.
	DriverOptions map[string]string `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines a request to unmount a volume on the node receiving this request

func (*SdkVolumeUnmountRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeUnmountRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeUnmountRequest) GetDriverOptions

func (x *SdkVolumeUnmountRequest) GetDriverOptions() map[string]string

func (*SdkVolumeUnmountRequest) GetMountPath

func (x *SdkVolumeUnmountRequest) GetMountPath() string

func (*SdkVolumeUnmountRequest) GetOptions

func (*SdkVolumeUnmountRequest) GetVolumeId

func (x *SdkVolumeUnmountRequest) GetVolumeId() string

func (*SdkVolumeUnmountRequest) ProtoMessage

func (*SdkVolumeUnmountRequest) ProtoMessage()

func (*SdkVolumeUnmountRequest) ProtoReflect

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

func (*SdkVolumeUnmountRequest) Reset

func (x *SdkVolumeUnmountRequest) Reset()

func (*SdkVolumeUnmountRequest) String

func (x *SdkVolumeUnmountRequest) String() string

type SdkVolumeUnmountResponse

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

Empty response

func (*SdkVolumeUnmountResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeUnmountResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeUnmountResponse) ProtoMessage

func (*SdkVolumeUnmountResponse) ProtoMessage()

func (*SdkVolumeUnmountResponse) ProtoReflect

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

func (*SdkVolumeUnmountResponse) Reset

func (x *SdkVolumeUnmountResponse) Reset()

func (*SdkVolumeUnmountResponse) String

func (x *SdkVolumeUnmountResponse) String() string

type SdkVolumeUpdateRequest

type SdkVolumeUpdateRequest struct {

	// Id of the volume to update
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Change label values. Some of these values may not be able to be changed.
	// New labels will be added to the current volume labels. To delete a label, set the
	// value of the label to an empty string.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// VolumeSpecUpdate provides a method to request that certain values
	// in the VolumeSpec are changed. This is necessary as a separate variable
	// because values like int and bool in the VolumeSpec cannot be determined
	// if they are being requested to change in gRPC proto3. Some of these
	// values may not be able to be changed.
	//
	// Here are a few examples of actions that can be accomplished using the VolumeSpec:
	//
	// * To resize the volume: Set a new value in spec.size_opt.size.
	// * To change number of replicas: Adjust spec.ha_level_opt.ha_level.
	// * To change the I/O Profile: Adjust spec.io_profile_opt.io_profile.
	Spec *VolumeSpecUpdate `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

This request is used to adjust or set new values in the volume

func (*SdkVolumeUpdateRequest) Descriptor deprecated

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

Deprecated: Use SdkVolumeUpdateRequest.ProtoReflect.Descriptor instead.

func (*SdkVolumeUpdateRequest) GetLabels

func (x *SdkVolumeUpdateRequest) GetLabels() map[string]string

func (*SdkVolumeUpdateRequest) GetSpec

func (*SdkVolumeUpdateRequest) GetVolumeId

func (x *SdkVolumeUpdateRequest) GetVolumeId() string

func (*SdkVolumeUpdateRequest) ProtoMessage

func (*SdkVolumeUpdateRequest) ProtoMessage()

func (*SdkVolumeUpdateRequest) ProtoReflect

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

func (*SdkVolumeUpdateRequest) Reset

func (x *SdkVolumeUpdateRequest) Reset()

func (*SdkVolumeUpdateRequest) String

func (x *SdkVolumeUpdateRequest) String() string

type SdkVolumeUpdateResponse

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

Empty response

func (*SdkVolumeUpdateResponse) Descriptor deprecated

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

Deprecated: Use SdkVolumeUpdateResponse.ProtoReflect.Descriptor instead.

func (*SdkVolumeUpdateResponse) ProtoMessage

func (*SdkVolumeUpdateResponse) ProtoMessage()

func (*SdkVolumeUpdateResponse) ProtoReflect

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

func (*SdkVolumeUpdateResponse) Reset

func (x *SdkVolumeUpdateResponse) Reset()

func (*SdkVolumeUpdateResponse) String

func (x *SdkVolumeUpdateResponse) String() string

type SeverityType

type SeverityType int32
const (
	SeverityType_SEVERITY_TYPE_NONE    SeverityType = 0
	SeverityType_SEVERITY_TYPE_ALARM   SeverityType = 1
	SeverityType_SEVERITY_TYPE_WARNING SeverityType = 2
	SeverityType_SEVERITY_TYPE_NOTIFY  SeverityType = 3
)

func (SeverityType) Descriptor

func (SeverityType) Enum

func (x SeverityType) Enum() *SeverityType

func (SeverityType) EnumDescriptor deprecated

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

Deprecated: Use SeverityType.Descriptor instead.

func (SeverityType) Number

func (SeverityType) String

func (x SeverityType) String() string

func (SeverityType) Type

type Sharedv4FailoverStrategy

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

Sharedv4FailoverStrategy specifies how long to wait before failing over to a new server.

func (*Sharedv4FailoverStrategy) Descriptor deprecated

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

Deprecated: Use Sharedv4FailoverStrategy.ProtoReflect.Descriptor instead.

func (*Sharedv4FailoverStrategy) ProtoMessage

func (*Sharedv4FailoverStrategy) ProtoMessage()

func (*Sharedv4FailoverStrategy) ProtoReflect

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

func (*Sharedv4FailoverStrategy) Reset

func (x *Sharedv4FailoverStrategy) Reset()

func (*Sharedv4FailoverStrategy) String

func (x *Sharedv4FailoverStrategy) String() string

type Sharedv4FailoverStrategy_Value

type Sharedv4FailoverStrategy_Value int32
const (
	// Unspecified
	Sharedv4FailoverStrategy_UNSPECIFIED Sharedv4FailoverStrategy_Value = 0
	// Fail over to the new NFS server quickly. This is appropriate for
	// the apps with sharedv4 service volumes. It can also be used
	// for the apps with sharedv4 volumes when such apps are able
	// to restart quickly.
	Sharedv4FailoverStrategy_AGGRESSIVE Sharedv4FailoverStrategy_Value = 1
	// Give the old NFS server more time to come back up before
	// triggering the failover. This is appropriate for the apps
	// with sharedv4 volumes (non-service).
	Sharedv4FailoverStrategy_NORMAL Sharedv4FailoverStrategy_Value = 2
)

func (Sharedv4FailoverStrategy_Value) Descriptor

func (Sharedv4FailoverStrategy_Value) Enum

func (Sharedv4FailoverStrategy_Value) EnumDescriptor deprecated

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

Deprecated: Use Sharedv4FailoverStrategy_Value.Descriptor instead.

func (Sharedv4FailoverStrategy_Value) Number

func (Sharedv4FailoverStrategy_Value) String

func (Sharedv4FailoverStrategy_Value) Type

type Sharedv4ServiceSpec

type Sharedv4ServiceSpec struct {

	// Name of the service. If not provided the name of the volume will be
	// used for setting up a service
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Indicates what kind of service would be created for this volume.
	Type Sharedv4ServiceSpec_ServiceType `protobuf:"varint,2,opt,name=type,proto3,enum=openstorage.api.Sharedv4ServiceSpec_ServiceType" json:"type,omitempty"`
	// Indicates whether the service needs to be accessed outside of the cluster
	ExternalAccess bool `protobuf:"varint,3,opt,name=external_access,json=externalAccess,proto3" json:"external_access,omitempty"`
	// contains filtered or unexported fields
}

Sharedv4ServiceSpec when set, creates a service endpoint for accessing a sharedv4 volume.

func (*Sharedv4ServiceSpec) Descriptor deprecated

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

Deprecated: Use Sharedv4ServiceSpec.ProtoReflect.Descriptor instead.

func (*Sharedv4ServiceSpec) GetExternalAccess

func (x *Sharedv4ServiceSpec) GetExternalAccess() bool

func (*Sharedv4ServiceSpec) GetName

func (x *Sharedv4ServiceSpec) GetName() string

func (*Sharedv4ServiceSpec) GetType

func (*Sharedv4ServiceSpec) ProtoMessage

func (*Sharedv4ServiceSpec) ProtoMessage()

func (*Sharedv4ServiceSpec) ProtoReflect

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

func (*Sharedv4ServiceSpec) Reset

func (x *Sharedv4ServiceSpec) Reset()

func (*Sharedv4ServiceSpec) String

func (x *Sharedv4ServiceSpec) String() string

type Sharedv4ServiceSpec_ServiceType

type Sharedv4ServiceSpec_ServiceType int32

Type of sharedv4 service. Values are governed by the different types of services supported by container orchestrators such as Kubernetes.

const (
	// Unspecified
	Sharedv4ServiceSpec_UNSPECIFIED Sharedv4ServiceSpec_ServiceType = 0
	// Export the sharedv4 service on each Node's IP.
	// In this mode the sharedv4 volume can be accessed from outside the
	// cluster using one of the node's IPs.
	Sharedv4ServiceSpec_NODEPORT Sharedv4ServiceSpec_ServiceType = 1
	// Export the shared4 service on an internal cluster IP.
	// In this mode the sharedv4 volume will only be accessible
	// within the cluster via this service.
	Sharedv4ServiceSpec_CLUSTERIP Sharedv4ServiceSpec_ServiceType = 2
	// Expose the sharedv4 service on cloud provider's load balancer.
	// Applicable when running in cloud. In this mode the sharedv4 volume
	// can be accessed from outside the cluster.
	Sharedv4ServiceSpec_LOADBALANCER Sharedv4ServiceSpec_ServiceType = 3
)

func (Sharedv4ServiceSpec_ServiceType) Descriptor

func (Sharedv4ServiceSpec_ServiceType) Enum

func (Sharedv4ServiceSpec_ServiceType) EnumDescriptor deprecated

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

Deprecated: Use Sharedv4ServiceSpec_ServiceType.Descriptor instead.

func (Sharedv4ServiceSpec_ServiceType) Number

func (Sharedv4ServiceSpec_ServiceType) String

func (Sharedv4ServiceSpec_ServiceType) Type

type Sharedv4Spec

type Sharedv4Spec struct {

	// Indicates how aggressively to fail over to a new server.
	FailoverStrategy Sharedv4FailoverStrategy_Value `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

Sharedv4Spec specifies common properties of sharedv4 and sharedv4 service volumes

func (*Sharedv4Spec) Descriptor deprecated

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

Deprecated: Use Sharedv4Spec.ProtoReflect.Descriptor instead.

func (*Sharedv4Spec) GetFailoverStrategy

func (x *Sharedv4Spec) GetFailoverStrategy() Sharedv4FailoverStrategy_Value

func (*Sharedv4Spec) ProtoMessage

func (*Sharedv4Spec) ProtoMessage()

func (*Sharedv4Spec) ProtoReflect

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

func (*Sharedv4Spec) Reset

func (x *Sharedv4Spec) Reset()

func (*Sharedv4Spec) String

func (x *Sharedv4Spec) String() string

type SnapCreateRequest

type SnapCreateRequest struct {

	// volume id
	Id       string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Locator  *VolumeLocator `protobuf:"bytes,2,opt,name=locator,proto3" json:"locator,omitempty"`
	Readonly bool           `protobuf:"varint,3,opt,name=readonly,proto3" json:"readonly,omitempty"`
	// NoRetry indicates not to retry snapshot creation in the background.
	NoRetry bool `protobuf:"varint,4,opt,name=no_retry,json=noRetry,proto3" json:"no_retry,omitempty"`
	// contains filtered or unexported fields
}

SnapCreateRequest specifies a request to create a snapshot of given volume.

func (*SnapCreateRequest) Descriptor deprecated

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

Deprecated: Use SnapCreateRequest.ProtoReflect.Descriptor instead.

func (*SnapCreateRequest) GetId

func (x *SnapCreateRequest) GetId() string

func (*SnapCreateRequest) GetLocator

func (x *SnapCreateRequest) GetLocator() *VolumeLocator

func (*SnapCreateRequest) GetNoRetry

func (x *SnapCreateRequest) GetNoRetry() bool

func (*SnapCreateRequest) GetReadonly

func (x *SnapCreateRequest) GetReadonly() bool

func (*SnapCreateRequest) ProtoMessage

func (*SnapCreateRequest) ProtoMessage()

func (*SnapCreateRequest) ProtoReflect

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

func (*SnapCreateRequest) Reset

func (x *SnapCreateRequest) Reset()

func (*SnapCreateRequest) String

func (x *SnapCreateRequest) String() string

type SnapCreateResponse

type SnapCreateResponse struct {

	// VolumeCreateResponse
	//
	// in: body
	// Required: true
	VolumeCreateResponse *VolumeCreateResponse `protobuf:"bytes,1,opt,name=volume_create_response,json=volumeCreateResponse,proto3" json:"volume_create_response,omitempty"`
	// contains filtered or unexported fields
}

SnapCreateRequest specifies a response that get's returned when creating a snapshot.

func (*SnapCreateResponse) Descriptor deprecated

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

Deprecated: Use SnapCreateResponse.ProtoReflect.Descriptor instead.

func (*SnapCreateResponse) GetVolumeCreateResponse

func (x *SnapCreateResponse) GetVolumeCreateResponse() *VolumeCreateResponse

func (*SnapCreateResponse) ProtoMessage

func (*SnapCreateResponse) ProtoMessage()

func (*SnapCreateResponse) ProtoReflect

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

func (*SnapCreateResponse) Reset

func (x *SnapCreateResponse) Reset()

func (*SnapCreateResponse) String

func (x *SnapCreateResponse) String() string

type Source

type Source struct {

	// A volume id, if specified will create a clone of the parent.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Seed will seed the volume from the specified URI
	// Any additional config for the source comes from the labels in the spec
	Seed string `protobuf:"bytes,2,opt,name=seed,proto3" json:"seed,omitempty"`
	// contains filtered or unexported fields
}

Source is a structure that can be given to a volume to seed the volume with data.

func (*Source) Descriptor deprecated

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

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetParent

func (x *Source) GetParent() string

func (*Source) GetSeed

func (x *Source) GetSeed() string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

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

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

type StatPoint

type StatPoint struct {
	// Name of the Stat
	Name string
	// Tags for the Stat
	Tags map[string]string
	// Fields and values of the stat
	Fields map[string]interface{}
	// Timestamp in Unix format
	Timestamp int64
}

StatPoint represents the basic structure of a single Stat reported TODO: This is the first step to introduce stats in openstorage.

Follow up task is to introduce an API for logging stats

type Stats

type Stats struct {

	// Reads completed successfully
	Reads uint64 `protobuf:"varint,1,opt,name=reads,proto3" json:"reads,omitempty"`
	// Time spent in reads in ms
	ReadMs uint64 `protobuf:"varint,2,opt,name=read_ms,json=readMs,proto3" json:"read_ms,omitempty"`
	// Number of bytes read
	ReadBytes uint64 `protobuf:"varint,3,opt,name=read_bytes,json=readBytes,proto3" json:"read_bytes,omitempty"`
	// Writes completed successfully
	Writes uint64 `protobuf:"varint,4,opt,name=writes,proto3" json:"writes,omitempty"`
	// Time spent in writes in ms
	WriteMs uint64 `protobuf:"varint,5,opt,name=write_ms,json=writeMs,proto3" json:"write_ms,omitempty"`
	// Number of bytes written
	WriteBytes uint64 `protobuf:"varint,6,opt,name=write_bytes,json=writeBytes,proto3" json:"write_bytes,omitempty"`
	// IOs curently in progress
	IoProgress uint64 `protobuf:"varint,7,opt,name=io_progress,json=ioProgress,proto3" json:"io_progress,omitempty"`
	// Time spent doing IOs ms
	IoMs uint64 `protobuf:"varint,8,opt,name=io_ms,json=ioMs,proto3" json:"io_ms,omitempty"`
	// BytesUsed
	BytesUsed uint64 `protobuf:"varint,9,opt,name=bytes_used,json=bytesUsed,proto3" json:"bytes_used,omitempty"`
	// Interval in ms during which stats were collected
	IntervalMs uint64 `protobuf:"varint,10,opt,name=interval_ms,json=intervalMs,proto3" json:"interval_ms,omitempty"`
	// Discards completed successfully
	Discards uint64 `protobuf:"varint,11,opt,name=discards,proto3" json:"discards,omitempty"`
	// Time spent in discards in ms
	DiscardMs uint64 `protobuf:"varint,12,opt,name=discard_ms,json=discardMs,proto3" json:"discard_ms,omitempty"`
	// Number of bytes discarded
	DiscardBytes uint64 `protobuf:"varint,13,opt,name=discard_bytes,json=discardBytes,proto3" json:"discard_bytes,omitempty"`
	// Unique Blocks
	UniqueBlocks uint64 `protobuf:"varint,14,opt,name=unique_blocks,json=uniqueBlocks,proto3" json:"unique_blocks,omitempty"`
	// contains filtered or unexported fields
}

Stats is a structure that represents last collected stats for a volume

func (*Stats) Descriptor deprecated

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

Deprecated: Use Stats.ProtoReflect.Descriptor instead.

func (*Stats) GetBytesUsed

func (x *Stats) GetBytesUsed() uint64

func (*Stats) GetDiscardBytes

func (x *Stats) GetDiscardBytes() uint64

func (*Stats) GetDiscardMs

func (x *Stats) GetDiscardMs() uint64

func (*Stats) GetDiscards

func (x *Stats) GetDiscards() uint64

func (*Stats) GetIntervalMs

func (x *Stats) GetIntervalMs() uint64

func (*Stats) GetIoMs

func (x *Stats) GetIoMs() uint64

func (*Stats) GetIoProgress

func (x *Stats) GetIoProgress() uint64

func (*Stats) GetReadBytes

func (x *Stats) GetReadBytes() uint64

func (*Stats) GetReadMs

func (x *Stats) GetReadMs() uint64

func (*Stats) GetReads

func (x *Stats) GetReads() uint64

func (*Stats) GetUniqueBlocks

func (x *Stats) GetUniqueBlocks() uint64

func (*Stats) GetWriteBytes

func (x *Stats) GetWriteBytes() uint64

func (*Stats) GetWriteMs

func (x *Stats) GetWriteMs() uint64

func (*Stats) GetWrites

func (x *Stats) GetWrites() uint64

func (*Stats) Iops

func (v *Stats) Iops() uint64

Iops returns iops

func (*Stats) Latency

func (v *Stats) Latency() uint64

Latency returns latency

func (*Stats) ProtoMessage

func (*Stats) ProtoMessage()

func (*Stats) ProtoReflect

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

func (*Stats) ReadLatency

func (v *Stats) ReadLatency() uint64

Read latency returns avg. time required for read operation to complete

func (*Stats) ReadThroughput

func (v *Stats) ReadThroughput() uint64

ReadThroughput returns the read throughput

func (*Stats) Reset

func (x *Stats) Reset()

func (*Stats) String

func (x *Stats) String() string

func (*Stats) WriteLatency

func (v *Stats) WriteLatency() uint64

Write latency returns avg. time required for write operation to complete

func (*Stats) WriteThroughput

func (v *Stats) WriteThroughput() uint64

WriteThroughput returns the write throughput

type Status

type Status int32
const (
	Status_STATUS_NONE                     Status = 0
	Status_STATUS_INIT                     Status = 1
	Status_STATUS_OK                       Status = 2
	Status_STATUS_OFFLINE                  Status = 3
	Status_STATUS_ERROR                    Status = 4
	Status_STATUS_NOT_IN_QUORUM            Status = 5
	Status_STATUS_DECOMMISSION             Status = 6
	Status_STATUS_MAINTENANCE              Status = 7
	Status_STATUS_STORAGE_DOWN             Status = 8
	Status_STATUS_STORAGE_DEGRADED         Status = 9
	Status_STATUS_NEEDS_REBOOT             Status = 10
	Status_STATUS_STORAGE_REBALANCE        Status = 11
	Status_STATUS_STORAGE_DRIVE_REPLACE    Status = 12
	Status_STATUS_NOT_IN_QUORUM_NO_STORAGE Status = 13
	Status_STATUS_POOLMAINTENANCE          Status = 14
	// Add statuses before MAX and update the number for MAX
	Status_STATUS_MAX Status = 15
)

func StatusSimpleValueOf

func StatusSimpleValueOf(s string) (Status, error)

StatusSimpleValueOf returns the string format of Status

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

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

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) SimpleString

func (x Status) SimpleString() string

SimpleString returns the string format of Status

func (Status) StatusKind

func (x Status) StatusKind() StatusKind

StatusKind returns the king of status

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

type StatusKind

type StatusKind int32

StatusKind indicates the severity of a status

const (
	// StatusSeverityLow indicates an OK status
	StatusSeverityLow StatusKind = iota
	// StatusSeverityMedium indicates a status which is in transition from OK to BAD or vice versa
	StatusSeverityMedium
	// StatusSeverityHigh indicates a BAD status
	StatusSeverityHigh
)

type StorageCluster

type StorageCluster struct {

	// Status of the cluster
	Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=openstorage.api.Status" json:"status,omitempty"`
	// Id of the cluster
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the cluster
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

StorageCluster represents the state and information about the cluster

func (*StorageCluster) Descriptor deprecated

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

Deprecated: Use StorageCluster.ProtoReflect.Descriptor instead.

func (*StorageCluster) GetId

func (x *StorageCluster) GetId() string

func (*StorageCluster) GetName

func (x *StorageCluster) GetName() string

func (*StorageCluster) GetStatus

func (x *StorageCluster) GetStatus() Status

func (*StorageCluster) ProtoMessage

func (*StorageCluster) ProtoMessage()

func (*StorageCluster) ProtoReflect

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

func (*StorageCluster) Reset

func (x *StorageCluster) Reset()

func (*StorageCluster) String

func (x *StorageCluster) String() string

type StorageMedium

type StorageMedium int32
const (
	// Magnetic spinning disk.
	StorageMedium_STORAGE_MEDIUM_MAGNETIC StorageMedium = 0
	// SSD disk
	StorageMedium_STORAGE_MEDIUM_SSD StorageMedium = 1
	// NVME disk
	StorageMedium_STORAGE_MEDIUM_NVME StorageMedium = 2
)

func (StorageMedium) Descriptor

func (StorageMedium) Enum

func (x StorageMedium) Enum() *StorageMedium

func (StorageMedium) EnumDescriptor deprecated

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

Deprecated: Use StorageMedium.Descriptor instead.

func (StorageMedium) Number

func (StorageMedium) String

func (x StorageMedium) String() string

func (StorageMedium) Type

type StorageNode

type StorageNode struct {

	// Id of the node
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Cpu usage of the node
	Cpu float64 `protobuf:"fixed64,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
	// Total memory of the node
	MemTotal uint64 `protobuf:"varint,3,opt,name=mem_total,json=memTotal,proto3" json:"mem_total,omitempty"`
	// Used memory of the node
	MemUsed uint64 `protobuf:"varint,4,opt,name=mem_used,json=memUsed,proto3" json:"mem_used,omitempty"`
	// Free memory of the node
	MemFree uint64 `protobuf:"varint,5,opt,name=mem_free,json=memFree,proto3" json:"mem_free,omitempty"`
	// Average load (percentage)
	AvgLoad int64 `protobuf:"varint,6,opt,name=avg_load,json=avgLoad,proto3" json:"avg_load,omitempty"`
	// Node status
	Status Status `protobuf:"varint,7,opt,name=status,proto3,enum=openstorage.api.Status" json:"status,omitempty"`
	// List of disks on the node
	Disks map[string]*StorageResource `` /* 151-byte string literal not displayed */
	// List of storage pools this node supports
	Pools []*StoragePool `protobuf:"bytes,10,rep,name=pools,proto3" json:"pools,omitempty"`
	// Management IP
	MgmtIp string `protobuf:"bytes,11,opt,name=mgmt_ip,json=mgmtIp,proto3" json:"mgmt_ip,omitempty"`
	// Data IP
	DataIp string `protobuf:"bytes,12,opt,name=data_ip,json=dataIp,proto3" json:"data_ip,omitempty"`
	// Hostname of the node
	Hostname string `protobuf:"bytes,15,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// User defined labels for the node
	NodeLabels map[string]string `` /* 180-byte string literal not displayed */
	// SchedulerNodeName is name of the node in scheduler context. It can be
	// empty if unable to get the name from the scheduler.
	SchedulerNodeName string `protobuf:"bytes,17,opt,name=scheduler_node_name,json=schedulerNodeName,proto3" json:"scheduler_node_name,omitempty"`
	// HardwareType is the type of the hardware the node has
	HWType HardwareType `protobuf:"varint,18,opt,name=HWType,proto3,enum=openstorage.api.HardwareType" json:"HWType,omitempty"`
	// Determine if the node is secured
	SecurityStatus StorageNode_SecurityStatus `` /* 153-byte string literal not displayed */
	// Topology information of the node in scheduler context
	SchedulerTopology *SchedulerTopology `protobuf:"bytes,20,opt,name=scheduler_topology,json=schedulerTopology,proto3" json:"scheduler_topology,omitempty"`
	// contains filtered or unexported fields
}

StorageNode describes the state of the node

func (*StorageNode) Descriptor deprecated

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

Deprecated: Use StorageNode.ProtoReflect.Descriptor instead.

func (*StorageNode) GetAvgLoad

func (x *StorageNode) GetAvgLoad() int64

func (*StorageNode) GetCpu

func (x *StorageNode) GetCpu() float64

func (*StorageNode) GetDataIp

func (x *StorageNode) GetDataIp() string

func (*StorageNode) GetDisks

func (x *StorageNode) GetDisks() map[string]*StorageResource

func (*StorageNode) GetHWType

func (x *StorageNode) GetHWType() HardwareType

func (*StorageNode) GetHostname

func (x *StorageNode) GetHostname() string

func (*StorageNode) GetId

func (x *StorageNode) GetId() string

func (*StorageNode) GetMemFree

func (x *StorageNode) GetMemFree() uint64

func (*StorageNode) GetMemTotal

func (x *StorageNode) GetMemTotal() uint64

func (*StorageNode) GetMemUsed

func (x *StorageNode) GetMemUsed() uint64

func (*StorageNode) GetMgmtIp

func (x *StorageNode) GetMgmtIp() string

func (*StorageNode) GetNodeLabels

func (x *StorageNode) GetNodeLabels() map[string]string

func (*StorageNode) GetPools

func (x *StorageNode) GetPools() []*StoragePool

func (*StorageNode) GetSchedulerNodeName

func (x *StorageNode) GetSchedulerNodeName() string

func (*StorageNode) GetSchedulerTopology

func (x *StorageNode) GetSchedulerTopology() *SchedulerTopology

func (*StorageNode) GetSecurityStatus

func (x *StorageNode) GetSecurityStatus() StorageNode_SecurityStatus

func (*StorageNode) GetStatus

func (x *StorageNode) GetStatus() Status

func (*StorageNode) ProtoMessage

func (*StorageNode) ProtoMessage()

func (*StorageNode) ProtoReflect

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

func (*StorageNode) Reset

func (x *StorageNode) Reset()

func (*StorageNode) String

func (x *StorageNode) String() string

type StorageNode_SecurityStatus

type StorageNode_SecurityStatus int32
const (
	// Security status type is unknown
	StorageNode_UNSPECIFIED StorageNode_SecurityStatus = 0
	// Node is unsecure
	StorageNode_UNSECURED StorageNode_SecurityStatus = 1
	// Node is secured with authentication and authorization
	StorageNode_SECURED StorageNode_SecurityStatus = 2
	// Node is secured, but in the process of removing security. This state allows
	// other unsecured nodes to join the cluster since the cluster is in the process
	// of removing security authentication and authorization.
	StorageNode_SECURED_ALLOW_SECURITY_REMOVAL StorageNode_SecurityStatus = 3
)

func (StorageNode_SecurityStatus) Descriptor

func (StorageNode_SecurityStatus) Enum

func (StorageNode_SecurityStatus) EnumDescriptor deprecated

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

Deprecated: Use StorageNode_SecurityStatus.Descriptor instead.

func (StorageNode_SecurityStatus) Number

func (StorageNode_SecurityStatus) String

func (StorageNode_SecurityStatus) Type

type StoragePool

type StoragePool struct {

	// Deprecated! Use `uuid` instead. ID pool ID
	ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// Cos reflects the capabilities of this drive pool
	Cos CosType `protobuf:"varint,2,opt,name=Cos,proto3,enum=openstorage.api.CosType" json:"Cos,omitempty"`
	// Medium underlying storage type
	Medium StorageMedium `protobuf:"varint,3,opt,name=Medium,proto3,enum=openstorage.api.StorageMedium" json:"Medium,omitempty"`
	// RaidLevel storage raid level
	RaidLevel string `protobuf:"bytes,4,opt,name=RaidLevel,proto3" json:"RaidLevel,omitempty"`
	// TotalSize of the pool
	TotalSize uint64 `protobuf:"varint,7,opt,name=TotalSize,proto3" json:"TotalSize,omitempty"`
	// Used size of the pool
	Used uint64 `protobuf:"varint,8,opt,name=Used,proto3" json:"Used,omitempty"`
	// Labels is a list of user defined name-value pairs
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// UUID is the unique identifier for a storage pool
	Uuid string `protobuf:"bytes,10,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// LastOperation is the most recent operation being performed on a storage pool
	LastOperation *StoragePoolOperation `protobuf:"bytes,11,opt,name=last_operation,json=lastOperation,proto3" json:"last_operation,omitempty"`
	// contains filtered or unexported fields
}

StoragePool groups different storage devices based on their CosType

func (*StoragePool) Descriptor deprecated

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

Deprecated: Use StoragePool.ProtoReflect.Descriptor instead.

func (*StoragePool) GetCos

func (x *StoragePool) GetCos() CosType

func (*StoragePool) GetID

func (x *StoragePool) GetID() int32

func (*StoragePool) GetLabels

func (x *StoragePool) GetLabels() map[string]string

func (*StoragePool) GetLastOperation

func (x *StoragePool) GetLastOperation() *StoragePoolOperation

func (*StoragePool) GetMedium

func (x *StoragePool) GetMedium() StorageMedium

func (*StoragePool) GetRaidLevel

func (x *StoragePool) GetRaidLevel() string

func (*StoragePool) GetTotalSize

func (x *StoragePool) GetTotalSize() uint64

func (*StoragePool) GetUsed

func (x *StoragePool) GetUsed() uint64

func (*StoragePool) GetUuid

func (x *StoragePool) GetUuid() string

func (*StoragePool) ProtoMessage

func (*StoragePool) ProtoMessage()

func (*StoragePool) ProtoReflect

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

func (*StoragePool) Reset

func (x *StoragePool) Reset()

func (*StoragePool) String

func (x *StoragePool) String() string

type StoragePoolOperation

type StoragePoolOperation struct {

	// Type is the type of the operation
	Type SdkStoragePool_OperationType `protobuf:"varint,1,opt,name=type,proto3,enum=openstorage.api.SdkStoragePool_OperationType" json:"type,omitempty"`
	// Msg is a user friendly message for the operation
	Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// Params for the parameters for the operation
	Params map[string]string `` /* 153-byte string literal not displayed */
	// Status is the status of the operation
	Status SdkStoragePool_OperationStatus `protobuf:"varint,4,opt,name=status,proto3,enum=openstorage.api.SdkStoragePool_OperationStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

StoragePoolOperation defines an operation being performed on a storage pool

func (*StoragePoolOperation) Descriptor deprecated

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

Deprecated: Use StoragePoolOperation.ProtoReflect.Descriptor instead.

func (*StoragePoolOperation) GetMsg

func (x *StoragePoolOperation) GetMsg() string

func (*StoragePoolOperation) GetParams

func (x *StoragePoolOperation) GetParams() map[string]string

func (*StoragePoolOperation) GetStatus

func (*StoragePoolOperation) GetType

func (*StoragePoolOperation) ProtoMessage

func (*StoragePoolOperation) ProtoMessage()

func (*StoragePoolOperation) ProtoReflect

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

func (*StoragePoolOperation) Reset

func (x *StoragePoolOperation) Reset()

func (*StoragePoolOperation) String

func (x *StoragePoolOperation) String() string

type StorageRebalanceAudit

type StorageRebalanceAudit struct {

	// VolumeID is the id of the volume which was rebalanced
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Name is the name of the volumes which was rebalanced
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Action is the action executed
	Action StorageRebalanceAudit_StorageRebalanceAction `` /* 132-byte string literal not displayed */
	// Node on which this action happened
	Node string `protobuf:"bytes,4,opt,name=node,proto3" json:"node,omitempty"`
	// Pool on which this action happened
	Pool string `protobuf:"bytes,5,opt,name=pool,proto3" json:"pool,omitempty"`
	// StartTime is the time at which action was started
	StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// EndTime is time time at which action ended
	EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// WorkSummary summarizes the work done
	WorkSummary []*StorageRebalanceWorkSummary `protobuf:"bytes,8,rep,name=work_summary,json=workSummary,proto3" json:"work_summary,omitempty"`
	// ReplicationSetId is the ID of the replication set
	ReplicationSetId uint64 `protobuf:"varint,9,opt,name=replication_set_id,json=replicationSetId,proto3" json:"replication_set_id,omitempty"`
	// State is the current state of the rebalance action
	State StorageRebalanceJobState `protobuf:"varint,10,opt,name=state,proto3,enum=openstorage.api.StorageRebalanceJobState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

StorageRebalanceAudit describes the action taken during rebalance

func (*StorageRebalanceAudit) Descriptor deprecated

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

Deprecated: Use StorageRebalanceAudit.ProtoReflect.Descriptor instead.

func (*StorageRebalanceAudit) GetAction

func (*StorageRebalanceAudit) GetEndTime

func (x *StorageRebalanceAudit) GetEndTime() *timestamppb.Timestamp

func (*StorageRebalanceAudit) GetName

func (x *StorageRebalanceAudit) GetName() string

func (*StorageRebalanceAudit) GetNode

func (x *StorageRebalanceAudit) GetNode() string

func (*StorageRebalanceAudit) GetPool

func (x *StorageRebalanceAudit) GetPool() string

func (*StorageRebalanceAudit) GetReplicationSetId

func (x *StorageRebalanceAudit) GetReplicationSetId() uint64

func (*StorageRebalanceAudit) GetStartTime

func (x *StorageRebalanceAudit) GetStartTime() *timestamppb.Timestamp

func (*StorageRebalanceAudit) GetState

func (*StorageRebalanceAudit) GetVolumeId

func (x *StorageRebalanceAudit) GetVolumeId() string

func (*StorageRebalanceAudit) GetWorkSummary

func (x *StorageRebalanceAudit) GetWorkSummary() []*StorageRebalanceWorkSummary

func (*StorageRebalanceAudit) ProtoMessage

func (*StorageRebalanceAudit) ProtoMessage()

func (*StorageRebalanceAudit) ProtoReflect

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

func (*StorageRebalanceAudit) Reset

func (x *StorageRebalanceAudit) Reset()

func (*StorageRebalanceAudit) String

func (x *StorageRebalanceAudit) String() string

type StorageRebalanceAudit_StorageRebalanceAction

type StorageRebalanceAudit_StorageRebalanceAction int32

StorageRebalanceAction describes type of rebalance action

const (
	// Indicates new replica was added
	StorageRebalanceAudit_ADD_REPLICA StorageRebalanceAudit_StorageRebalanceAction = 0
	// Indicates existing replica was removed
	StorageRebalanceAudit_REMOVE_REPLICA StorageRebalanceAudit_StorageRebalanceAction = 1
)

func (StorageRebalanceAudit_StorageRebalanceAction) Descriptor

func (StorageRebalanceAudit_StorageRebalanceAction) Enum

func (StorageRebalanceAudit_StorageRebalanceAction) EnumDescriptor deprecated

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

Deprecated: Use StorageRebalanceAudit_StorageRebalanceAction.Descriptor instead.

func (StorageRebalanceAudit_StorageRebalanceAction) Number

func (StorageRebalanceAudit_StorageRebalanceAction) String

func (StorageRebalanceAudit_StorageRebalanceAction) Type

type StorageRebalanceJob

type StorageRebalanceJob struct {

	// ID of the rebalance job
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Status describes status of pools after rebalance if rebalance did not finish successfully
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// State of the current job
	State StorageRebalanceJobState `protobuf:"varint,3,opt,name=state,proto3,enum=openstorage.api.StorageRebalanceJobState" json:"state,omitempty"`
	// Parameters is the original request params for this rebalance operation
	Parameters *SdkStorageRebalanceRequest `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// CreateTime is the time the job was created
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// LastUpdateTime is the time the job was updated
	LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
	// contains filtered or unexported fields
}

StorageRebalanceJob describes job input and current status

func (*StorageRebalanceJob) Descriptor deprecated

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

Deprecated: Use StorageRebalanceJob.ProtoReflect.Descriptor instead.

func (*StorageRebalanceJob) GetCreateTime

func (x *StorageRebalanceJob) GetCreateTime() *timestamppb.Timestamp

func (*StorageRebalanceJob) GetId

func (x *StorageRebalanceJob) GetId() string

func (*StorageRebalanceJob) GetLastUpdateTime

func (x *StorageRebalanceJob) GetLastUpdateTime() *timestamppb.Timestamp

func (*StorageRebalanceJob) GetParameters

func (x *StorageRebalanceJob) GetParameters() *SdkStorageRebalanceRequest

func (*StorageRebalanceJob) GetState

func (*StorageRebalanceJob) GetStatus

func (x *StorageRebalanceJob) GetStatus() string

func (*StorageRebalanceJob) ProtoMessage

func (*StorageRebalanceJob) ProtoMessage()

func (*StorageRebalanceJob) ProtoReflect

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

func (*StorageRebalanceJob) Reset

func (x *StorageRebalanceJob) Reset()

func (*StorageRebalanceJob) String

func (x *StorageRebalanceJob) String() string

type StorageRebalanceJobState

type StorageRebalanceJobState int32

StorageRebalanceJobState is an enum for state of the current rebalance operation

const (
	// Pending indicates job is still pending and has not started work
	StorageRebalanceJobState_PENDING StorageRebalanceJobState = 0
	// Running indicates job is actively running
	StorageRebalanceJobState_RUNNING StorageRebalanceJobState = 1
	// Done indicates job has finished processing
	StorageRebalanceJobState_DONE StorageRebalanceJobState = 2
	// Paused indicates job is paused
	StorageRebalanceJobState_PAUSED StorageRebalanceJobState = 3
	// Cancelled indicates job is cancelled
	StorageRebalanceJobState_CANCELLED StorageRebalanceJobState = 4
)

func (StorageRebalanceJobState) Descriptor

func (StorageRebalanceJobState) Enum

func (StorageRebalanceJobState) EnumDescriptor deprecated

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

Deprecated: Use StorageRebalanceJobState.Descriptor instead.

func (StorageRebalanceJobState) Number

func (StorageRebalanceJobState) String

func (x StorageRebalanceJobState) String() string

func (StorageRebalanceJobState) Type

type StorageRebalanceSummary

type StorageRebalanceSummary struct {

	// TotalRunTimeSeconds is the total time rebalance is running
	TotalRunTimeSeconds uint64 `protobuf:"varint,1,opt,name=total_run_time_seconds,json=totalRunTimeSeconds,proto3" json:"total_run_time_seconds,omitempty"`
	// WorkSummary summarizes the work done
	WorkSummary []*StorageRebalanceWorkSummary `protobuf:"bytes,2,rep,name=work_summary,json=workSummary,proto3" json:"work_summary,omitempty"`
	// contains filtered or unexported fields
}

StorageRebalanceSummary describes summary for the job

func (*StorageRebalanceSummary) Descriptor deprecated

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

Deprecated: Use StorageRebalanceSummary.ProtoReflect.Descriptor instead.

func (*StorageRebalanceSummary) GetTotalRunTimeSeconds

func (x *StorageRebalanceSummary) GetTotalRunTimeSeconds() uint64

func (*StorageRebalanceSummary) GetWorkSummary

func (*StorageRebalanceSummary) ProtoMessage

func (*StorageRebalanceSummary) ProtoMessage()

func (*StorageRebalanceSummary) ProtoReflect

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

func (*StorageRebalanceSummary) Reset

func (x *StorageRebalanceSummary) Reset()

func (*StorageRebalanceSummary) String

func (x *StorageRebalanceSummary) String() string

type StorageRebalanceTriggerThreshold

type StorageRebalanceTriggerThreshold struct {

	// Type defines type of threshold
	Type StorageRebalanceTriggerThreshold_Type `protobuf:"varint,1,opt,name=type,proto3,enum=openstorage.api.StorageRebalanceTriggerThreshold_Type" json:"type,omitempty"`
	// Metric defines metric for which this threshold applies to.
	Metric StorageRebalanceTriggerThreshold_Metric `` /* 127-byte string literal not displayed */
	// OverLoadTriggerThreshold will select entity which is over this
	// threshold. OverLoadTriggerThreshold threshold selects pools
	// which act as source for reduction of load defined by the metric.
	OverLoadTriggerThreshold uint64 `` /* 138-byte string literal not displayed */
	// UnderLoadTriggerThreshold will select entity which is under this
	// threshold. UnderLoadTriggerThreshold selects pools which act as
	// targets for increasing load defined by metric.
	UnderLoadTriggerThreshold uint64 `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StorageRebalanceTriggerThreshold) Descriptor deprecated

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

Deprecated: Use StorageRebalanceTriggerThreshold.ProtoReflect.Descriptor instead.

func (*StorageRebalanceTriggerThreshold) GetMetric

func (*StorageRebalanceTriggerThreshold) GetOverLoadTriggerThreshold

func (x *StorageRebalanceTriggerThreshold) GetOverLoadTriggerThreshold() uint64

func (*StorageRebalanceTriggerThreshold) GetType

func (*StorageRebalanceTriggerThreshold) GetUnderLoadTriggerThreshold

func (x *StorageRebalanceTriggerThreshold) GetUnderLoadTriggerThreshold() uint64

func (*StorageRebalanceTriggerThreshold) ProtoMessage

func (*StorageRebalanceTriggerThreshold) ProtoMessage()

func (*StorageRebalanceTriggerThreshold) ProtoReflect

func (*StorageRebalanceTriggerThreshold) Reset

func (*StorageRebalanceTriggerThreshold) String

type StorageRebalanceTriggerThreshold_Metric

type StorageRebalanceTriggerThreshold_Metric int32

Metric is an enum that defines the metric to use for rebalance

const (
	// ProvisionSpace indicates rebalance for provisioned space
	StorageRebalanceTriggerThreshold_PROVISION_SPACE StorageRebalanceTriggerThreshold_Metric = 0
	// UsedSpace indicates rebalance for used space
	StorageRebalanceTriggerThreshold_USED_SPACE StorageRebalanceTriggerThreshold_Metric = 1
)

func (StorageRebalanceTriggerThreshold_Metric) Descriptor

func (StorageRebalanceTriggerThreshold_Metric) Enum

func (StorageRebalanceTriggerThreshold_Metric) EnumDescriptor deprecated

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

Deprecated: Use StorageRebalanceTriggerThreshold_Metric.Descriptor instead.

func (StorageRebalanceTriggerThreshold_Metric) Number

func (StorageRebalanceTriggerThreshold_Metric) String

func (StorageRebalanceTriggerThreshold_Metric) Type

type StorageRebalanceTriggerThreshold_Type

type StorageRebalanceTriggerThreshold_Type int32

Type is an enum that defines the type fo the trigger threshold

const (
	// AbsolutePercent indicates absolute percent comparison.
	// Example, 75 % used of capacity, or 50 % provisioned of capacity.
	StorageRebalanceTriggerThreshold_ABSOLUTE_PERCENT StorageRebalanceTriggerThreshold_Type = 0
	// DeltaMeanPercent indicates mean percent comparison threshold.
	// Example, 10 % more than mean for cluster.
	StorageRebalanceTriggerThreshold_DELTA_MEAN_PERCENT StorageRebalanceTriggerThreshold_Type = 1
)

func (StorageRebalanceTriggerThreshold_Type) Descriptor

func (StorageRebalanceTriggerThreshold_Type) Enum

func (StorageRebalanceTriggerThreshold_Type) EnumDescriptor deprecated

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

Deprecated: Use StorageRebalanceTriggerThreshold_Type.Descriptor instead.

func (StorageRebalanceTriggerThreshold_Type) Number

func (StorageRebalanceTriggerThreshold_Type) String

func (StorageRebalanceTriggerThreshold_Type) Type

type StorageRebalanceWorkSummary

type StorageRebalanceWorkSummary struct {

	// Type describes the type of summary.
	Type StorageRebalanceWorkSummary_Type `protobuf:"varint,1,opt,name=type,proto3,enum=openstorage.api.StorageRebalanceWorkSummary_Type" json:"type,omitempty"`
	// Done is the amount of bytes/work done
	Done uint64 `protobuf:"varint,2,opt,name=done,proto3" json:"done,omitempty"`
	// Pending is the amount of bytes/work pending. Done + Pending == Total
	Pending uint64 `protobuf:"varint,3,opt,name=pending,proto3" json:"pending,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageRebalanceWorkSummary) Descriptor deprecated

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

Deprecated: Use StorageRebalanceWorkSummary.ProtoReflect.Descriptor instead.

func (*StorageRebalanceWorkSummary) GetDone

func (x *StorageRebalanceWorkSummary) GetDone() uint64

func (*StorageRebalanceWorkSummary) GetPending

func (x *StorageRebalanceWorkSummary) GetPending() uint64

func (*StorageRebalanceWorkSummary) GetType

func (*StorageRebalanceWorkSummary) ProtoMessage

func (*StorageRebalanceWorkSummary) ProtoMessage()

func (*StorageRebalanceWorkSummary) ProtoReflect

func (*StorageRebalanceWorkSummary) Reset

func (x *StorageRebalanceWorkSummary) Reset()

func (*StorageRebalanceWorkSummary) String

func (x *StorageRebalanceWorkSummary) String() string

type StorageRebalanceWorkSummary_Type

type StorageRebalanceWorkSummary_Type int32

Type is an enum to indicate the type of work summary

const (
	// summary for unbalanced pools
	StorageRebalanceWorkSummary_UnbalancedPools StorageRebalanceWorkSummary_Type = 0
	// summary for unbalanced volumes
	StorageRebalanceWorkSummary_UnbalancedVolumes StorageRebalanceWorkSummary_Type = 1
	// summary for unbalanced provisioned space
	StorageRebalanceWorkSummary_UnbalancedProvisionedSpaceBytes StorageRebalanceWorkSummary_Type = 2
	// summary for unbalanced used space
	StorageRebalanceWorkSummary_UnbalancedUsedSpaceBytes StorageRebalanceWorkSummary_Type = 3
)

func (StorageRebalanceWorkSummary_Type) Descriptor

func (StorageRebalanceWorkSummary_Type) Enum

func (StorageRebalanceWorkSummary_Type) EnumDescriptor deprecated

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

Deprecated: Use StorageRebalanceWorkSummary_Type.Descriptor instead.

func (StorageRebalanceWorkSummary_Type) Number

func (StorageRebalanceWorkSummary_Type) String

func (StorageRebalanceWorkSummary_Type) Type

type StorageResource

type StorageResource struct {

	// Id is the LUN identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Path device path for this storage resource.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// Storage medium.
	Medium StorageMedium `protobuf:"varint,3,opt,name=medium,proto3,enum=openstorage.api.StorageMedium" json:"medium,omitempty"`
	// True if this device is online.
	Online bool `protobuf:"varint,4,opt,name=online,proto3" json:"online,omitempty"`
	// IOPS
	Iops uint64 `protobuf:"varint,5,opt,name=iops,proto3" json:"iops,omitempty"`
	// SeqWrite
	SeqWrite float64 `protobuf:"fixed64,6,opt,name=seq_write,json=seqWrite,proto3" json:"seq_write,omitempty"`
	// SeqRead
	SeqRead float64 `protobuf:"fixed64,7,opt,name=seq_read,json=seqRead,proto3" json:"seq_read,omitempty"`
	// RandRW
	RandRW float64 `protobuf:"fixed64,8,opt,name=randRW,proto3" json:"randRW,omitempty"`
	// Total size in bytes.
	Size uint64 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
	// Physical Bytes used.
	Used uint64 `protobuf:"varint,10,opt,name=used,proto3" json:"used,omitempty"`
	// True if this device is rotational.
	RotationSpeed string `protobuf:"bytes,11,opt,name=rotation_speed,json=rotationSpeed,proto3" json:"rotation_speed,omitempty"`
	// Timestamp of last time this device was scanned.
	LastScan *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=last_scan,json=lastScan,proto3" json:"last_scan,omitempty"`
	// True if dedicated for metadata.
	Metadata bool `protobuf:"varint,13,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// True if dedicated as cache
	Cache bool `protobuf:"varint,14,opt,name=cache,proto3" json:"cache,omitempty"`
	// contains filtered or unexported fields
}

StorageResource groups properties of a storage device.

func (*StorageResource) Descriptor deprecated

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

Deprecated: Use StorageResource.ProtoReflect.Descriptor instead.

func (*StorageResource) GetCache

func (x *StorageResource) GetCache() bool

func (*StorageResource) GetId

func (x *StorageResource) GetId() string

func (*StorageResource) GetIops

func (x *StorageResource) GetIops() uint64

func (*StorageResource) GetLastScan

func (x *StorageResource) GetLastScan() *timestamppb.Timestamp

func (*StorageResource) GetMedium

func (x *StorageResource) GetMedium() StorageMedium

func (*StorageResource) GetMetadata

func (x *StorageResource) GetMetadata() bool

func (*StorageResource) GetOnline

func (x *StorageResource) GetOnline() bool

func (*StorageResource) GetPath

func (x *StorageResource) GetPath() string

func (*StorageResource) GetRandRW

func (x *StorageResource) GetRandRW() float64

func (*StorageResource) GetRotationSpeed

func (x *StorageResource) GetRotationSpeed() string

func (*StorageResource) GetSeqRead

func (x *StorageResource) GetSeqRead() float64

func (*StorageResource) GetSeqWrite

func (x *StorageResource) GetSeqWrite() float64

func (*StorageResource) GetSize

func (x *StorageResource) GetSize() uint64

func (*StorageResource) GetUsed

func (x *StorageResource) GetUsed() uint64

func (*StorageResource) ProtoMessage

func (*StorageResource) ProtoMessage()

func (*StorageResource) ProtoReflect

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

func (*StorageResource) Reset

func (x *StorageResource) Reset()

func (*StorageResource) String

func (x *StorageResource) String() string

type StorageVersion

type StorageVersion struct {

	// OpenStorage driver name
	Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
	// Version of the server
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// Extra information provided by the storage system
	Details map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Version information about the storage system

func (*StorageVersion) Descriptor deprecated

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

Deprecated: Use StorageVersion.ProtoReflect.Descriptor instead.

func (*StorageVersion) GetDetails

func (x *StorageVersion) GetDetails() map[string]string

func (*StorageVersion) GetDriver

func (x *StorageVersion) GetDriver() string

func (*StorageVersion) GetVersion

func (x *StorageVersion) GetVersion() string

func (*StorageVersion) ProtoMessage

func (*StorageVersion) ProtoMessage()

func (*StorageVersion) ProtoReflect

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

func (*StorageVersion) Reset

func (x *StorageVersion) Reset()

func (*StorageVersion) String

func (x *StorageVersion) String() string

type TokenSecretContext

type TokenSecretContext struct {
	SecretName      string
	SecretNamespace string
}

TokenSecretContext contains all nessesary information to get a token secret from any provider

type TopologyRequirement

type TopologyRequirement struct {

	// Key-value pairs defining the required topology for a volume
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

TopologyRequirement defines the topology requirement for a volume

func (*TopologyRequirement) Descriptor deprecated

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

Deprecated: Use TopologyRequirement.ProtoReflect.Descriptor instead.

func (*TopologyRequirement) GetLabels

func (x *TopologyRequirement) GetLabels() map[string]string

func (*TopologyRequirement) ProtoMessage

func (*TopologyRequirement) ProtoMessage()

func (*TopologyRequirement) ProtoReflect

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

func (*TopologyRequirement) Reset

func (x *TopologyRequirement) Reset()

func (*TopologyRequirement) String

func (x *TopologyRequirement) String() string

type UnimplementedOpenStorageAlertsServer

type UnimplementedOpenStorageAlertsServer struct {
}

UnimplementedOpenStorageAlertsServer can be embedded to have forward compatible implementations.

func (*UnimplementedOpenStorageAlertsServer) Delete

type UnimplementedOpenStorageCloudBackupServer

type UnimplementedOpenStorageCloudBackupServer struct {
}

UnimplementedOpenStorageCloudBackupServer can be embedded to have forward compatible implementations.

func (*UnimplementedOpenStorageCloudBackupServer) Size

type UnimplementedOpenStorageClusterDomainsServer

type UnimplementedOpenStorageClusterDomainsServer struct {
}

UnimplementedOpenStorageClusterDomainsServer can be embedded to have forward compatible implementations.

type UnimplementedOpenStorageClusterPairServer

type UnimplementedOpenStorageClusterPairServer struct {
}

UnimplementedOpenStorageClusterPairServer can be embedded to have forward compatible implementations.

type UnimplementedOpenStorageClusterServer

type UnimplementedOpenStorageClusterServer struct {
}

UnimplementedOpenStorageClusterServer can be embedded to have forward compatible implementations.

type UnimplementedOpenStorageCredentialsServer

type UnimplementedOpenStorageCredentialsServer struct {
}

UnimplementedOpenStorageCredentialsServer can be embedded to have forward compatible implementations.

func (*UnimplementedOpenStorageCredentialsServer) Create

func (*UnimplementedOpenStorageCredentialsServer) Delete

func (*UnimplementedOpenStorageCredentialsServer) Update

type UnimplementedOpenStorageDiagsServer

type UnimplementedOpenStorageDiagsServer struct {
}

UnimplementedOpenStorageDiagsServer can be embedded to have forward compatible implementations.

func (*UnimplementedOpenStorageDiagsServer) Collect

type UnimplementedOpenStorageFilesystemCheckServer

type UnimplementedOpenStorageFilesystemCheckServer struct {
}

UnimplementedOpenStorageFilesystemCheckServer can be embedded to have forward compatible implementations.

type UnimplementedOpenStorageFilesystemTrimServer

type UnimplementedOpenStorageFilesystemTrimServer struct {
}

UnimplementedOpenStorageFilesystemTrimServer can be embedded to have forward compatible implementations.

func (*UnimplementedOpenStorageFilesystemTrimServer) AutoFSTrimStatus

func (*UnimplementedOpenStorageFilesystemTrimServer) AutoFSTrimUsage

type UnimplementedOpenStorageIdentityServer

type UnimplementedOpenStorageIdentityServer struct {
}

UnimplementedOpenStorageIdentityServer can be embedded to have forward compatible implementations.

func (*UnimplementedOpenStorageIdentityServer) Version

type UnimplementedOpenStorageJobServer

type UnimplementedOpenStorageJobServer struct {
}

UnimplementedOpenStorageJobServer can be embedded to have forward compatible implementations.

func (*UnimplementedOpenStorageJobServer) Enumerate

func (*UnimplementedOpenStorageJobServer) GetStatus

func (*UnimplementedOpenStorageJobServer) Update

type UnimplementedOpenStorageMigrateServer

type UnimplementedOpenStorageMigrateServer struct {
}

UnimplementedOpenStorageMigrateServer can be embedded to have forward compatible implementations.

type UnimplementedOpenStorageMountAttachServer

type UnimplementedOpenStorageMountAttachServer struct {
}

UnimplementedOpenStorageMountAttachServer can be embedded to have forward compatible implementations.

func (*UnimplementedOpenStorageMountAttachServer) Attach

func (*UnimplementedOpenStorageMountAttachServer) Detach

func (*UnimplementedOpenStorageMountAttachServer) Mount

func (*UnimplementedOpenStorageMountAttachServer) Unmount

type UnimplementedOpenStorageNodeServer

type UnimplementedOpenStorageNodeServer struct {
}

UnimplementedOpenStorageNodeServer can be embedded to have forward compatible implementations.

func (*UnimplementedOpenStorageNodeServer) DrainAttachments

func (*UnimplementedOpenStorageNodeServer) Enumerate

func (*UnimplementedOpenStorageNodeServer) Inspect

type UnimplementedOpenStorageObjectstoreServer

type UnimplementedOpenStorageObjectstoreServer struct {
}

UnimplementedOpenStorageObjectstoreServer can be embedded to have forward compatible implementations.

type UnimplementedOpenStoragePolicyServer

type UnimplementedOpenStoragePolicyServer struct {
}

UnimplementedOpenStoragePolicyServer can be embedded to have forward compatible implementations.

type UnimplementedOpenStoragePoolServer

type UnimplementedOpenStoragePoolServer struct {
}

UnimplementedOpenStoragePoolServer can be embedded to have forward compatible implementations.

func (*UnimplementedOpenStoragePoolServer) UpdateRebalanceJobState

type UnimplementedOpenStorageRoleServer

type UnimplementedOpenStorageRoleServer struct {
}

UnimplementedOpenStorageRoleServer can be embedded to have forward compatible implementations.

func (*UnimplementedOpenStorageRoleServer) Create

func (*UnimplementedOpenStorageRoleServer) Delete

func (*UnimplementedOpenStorageRoleServer) Enumerate

func (*UnimplementedOpenStorageRoleServer) Inspect

func (*UnimplementedOpenStorageRoleServer) Update

type UnimplementedOpenStorageSchedulePolicyServer

type UnimplementedOpenStorageSchedulePolicyServer struct {
}

UnimplementedOpenStorageSchedulePolicyServer can be embedded to have forward compatible implementations.

type UnimplementedOpenStorageVolumeServer

type UnimplementedOpenStorageVolumeServer struct {
}

UnimplementedOpenStorageVolumeServer can be embedded to have forward compatible implementations.

func (*UnimplementedOpenStorageVolumeServer) Clone

func (*UnimplementedOpenStorageVolumeServer) Create

func (*UnimplementedOpenStorageVolumeServer) Delete

func (*UnimplementedOpenStorageVolumeServer) Enumerate

func (*UnimplementedOpenStorageVolumeServer) Inspect

func (*UnimplementedOpenStorageVolumeServer) Stats

func (*UnimplementedOpenStorageVolumeServer) Update

func (*UnimplementedOpenStorageVolumeServer) VolumeCatalog

type Volume

type Volume struct {

	// Self referential volume ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Source specified seed data for the volume.
	Source *Source `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// Group volumes in the same group have the same group id.
	Group *Group `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
	// Readonly is true if this volume is to be mounted with readonly access.
	Readonly bool `protobuf:"varint,4,opt,name=readonly,proto3" json:"readonly,omitempty"`
	// User specified locator
	Locator *VolumeLocator `protobuf:"bytes,5,opt,name=locator,proto3" json:"locator,omitempty"`
	// Volume creation time
	Ctime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=ctime,proto3" json:"ctime,omitempty"`
	// User specified VolumeSpec
	Spec *VolumeSpec `protobuf:"bytes,7,opt,name=spec,proto3" json:"spec,omitempty"`
	// Usage is bytes consumed by this volume.
	Usage uint64 `protobuf:"varint,8,opt,name=usage,proto3" json:"usage,omitempty"`
	// LastScan is the time when an integrity check was run.
	LastScan *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_scan,json=lastScan,proto3" json:"last_scan,omitempty"`
	// Format specifies the filesytem for this volume.
	Format FSType `protobuf:"varint,10,opt,name=format,proto3,enum=openstorage.api.FSType" json:"format,omitempty"`
	// VolumeStatus is the availability status of this volume.
	Status VolumeStatus `protobuf:"varint,11,opt,name=status,proto3,enum=openstorage.api.VolumeStatus" json:"status,omitempty"`
	// VolumeState is the current runtime state of this volume.
	State VolumeState `protobuf:"varint,12,opt,name=state,proto3,enum=openstorage.api.VolumeState" json:"state,omitempty"`
	// AttachedOn is the node instance identifier for clustered systems.
	AttachedOn string `protobuf:"bytes,13,opt,name=attached_on,json=attachedOn,proto3" json:"attached_on,omitempty"`
	// AttachState shows whether the device is attached for internal or external use.
	AttachedState AttachState `` /* 135-byte string literal not displayed */
	// DevicePath is the device exported by block device implementations.
	DevicePath string `protobuf:"bytes,15,opt,name=device_path,json=devicePath,proto3" json:"device_path,omitempty"`
	// SecureDevicePath is the device path for an encrypted volume.
	SecureDevicePath string `protobuf:"bytes,16,opt,name=secure_device_path,json=secureDevicePath,proto3" json:"secure_device_path,omitempty"`
	// AttachPath is the mounted path in the host namespace.
	AttachPath []string `protobuf:"bytes,17,rep,name=attach_path,json=attachPath,proto3" json:"attach_path,omitempty"`
	// AttachInfo is a list of name value mappings that provides attach information.
	AttachInfo map[string]string `` /* 180-byte string literal not displayed */
	// ReplicatSets storage for this volumefor clustered storage arrays.
	ReplicaSets []*ReplicaSet `protobuf:"bytes,19,rep,name=replica_sets,json=replicaSets,proto3" json:"replica_sets,omitempty"`
	// RuntimeState is a lst of name value mapping of driver specific runtime
	// information.
	RuntimeState []*RuntimeStateMap `protobuf:"bytes,20,rep,name=runtime_state,json=runtimeState,proto3" json:"runtime_state,omitempty"`
	// Error is the Last recorded error.
	Error string `protobuf:"bytes,21,opt,name=error,proto3" json:"error,omitempty"`
	// VolumeConsumers are entities that consume this volume
	VolumeConsumers []*VolumeConsumer `protobuf:"bytes,22,rep,name=volume_consumers,json=volumeConsumers,proto3" json:"volume_consumers,omitempty"`
	// FsResizeRequired if an FS resize is required on the volume.
	FsResizeRequired bool `protobuf:"varint,23,opt,name=fs_resize_required,json=fsResizeRequired,proto3" json:"fs_resize_required,omitempty"`
	// AttachTime time this device was last attached externally.
	AttachTime *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=attach_time,json=attachTime,proto3" json:"attach_time,omitempty"`
	// DetachTime time this device was detached.
	DetachTime *timestamppb.Timestamp `protobuf:"bytes,25,opt,name=detach_time,json=detachTime,proto3" json:"detach_time,omitempty"`
	// Fastpath extensions
	FpConfig *FastpathConfig `protobuf:"bytes,26,opt,name=fpConfig,proto3" json:"fpConfig,omitempty"`
	// LastScanFix is the time when an integrity check fixed errors in filesystem
	LastScanFix *timestamppb.Timestamp `protobuf:"bytes,27,opt,name=last_scan_fix,json=lastScanFix,proto3" json:"last_scan_fix,omitempty"`
	// LastScanStatus is the time when an integrity check fixed errors in filesystem
	LastScanStatus FilesystemHealthStatus `` /* 151-byte string literal not displayed */
	// MountOptions are the runtime mount options that will be used while mounting this volume
	MountOptions *MountOptions `protobuf:"bytes,29,opt,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
	// Sharedv4MountOptions are the runtime mount options that will be used while mounting a sharedv4 volume
	// from a node where the volume replica does not exist
	Sharedv4MountOptions *MountOptions `protobuf:"bytes,30,opt,name=sharedv4_mount_options,json=sharedv4MountOptions,proto3" json:"sharedv4_mount_options,omitempty"`
	// DerivedIoProfile the IO profile determined from the pattern
	DerivedIoProfile IoProfile `` /* 144-byte string literal not displayed */
	// InTrashcan if the volume is in trashcan
	InTrashcan bool `protobuf:"varint,32,opt,name=in_trashcan,json=inTrashcan,proto3" json:"in_trashcan,omitempty"`
	// contains filtered or unexported fields
}

Volume represents an abstract storage volume.

func (*Volume) Contains

func (m *Volume) Contains(locationConstraint string) bool

Contains returns true if locationConstraint is a member of volume's replication set.

func (*Volume) Descriptor deprecated

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

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (Volume) DisplayId

func (v Volume) DisplayId() string

func (*Volume) GetAttachInfo

func (x *Volume) GetAttachInfo() map[string]string

func (*Volume) GetAttachPath

func (x *Volume) GetAttachPath() []string

func (*Volume) GetAttachTime

func (x *Volume) GetAttachTime() *timestamppb.Timestamp

func (*Volume) GetAttachedOn

func (x *Volume) GetAttachedOn() string

func (*Volume) GetAttachedState

func (x *Volume) GetAttachedState() AttachState

func (*Volume) GetCtime

func (x *Volume) GetCtime() *timestamppb.Timestamp

func (*Volume) GetDerivedIoProfile

func (x *Volume) GetDerivedIoProfile() IoProfile

func (*Volume) GetDetachTime

func (x *Volume) GetDetachTime() *timestamppb.Timestamp

func (*Volume) GetDevicePath

func (x *Volume) GetDevicePath() string

func (*Volume) GetError

func (x *Volume) GetError() string

func (*Volume) GetFormat

func (x *Volume) GetFormat() FSType

func (*Volume) GetFpConfig

func (x *Volume) GetFpConfig() *FastpathConfig

func (*Volume) GetFsResizeRequired

func (x *Volume) GetFsResizeRequired() bool

func (*Volume) GetGroup

func (x *Volume) GetGroup() *Group

func (*Volume) GetId

func (x *Volume) GetId() string

func (*Volume) GetInTrashcan

func (x *Volume) GetInTrashcan() bool

func (*Volume) GetLastScan

func (x *Volume) GetLastScan() *timestamppb.Timestamp

func (*Volume) GetLastScanFix

func (x *Volume) GetLastScanFix() *timestamppb.Timestamp

func (*Volume) GetLastScanStatus

func (x *Volume) GetLastScanStatus() FilesystemHealthStatus

func (*Volume) GetLocator

func (x *Volume) GetLocator() *VolumeLocator

func (*Volume) GetMountOptions

func (x *Volume) GetMountOptions() *MountOptions

func (*Volume) GetReadonly

func (x *Volume) GetReadonly() bool

func (*Volume) GetReplicaSets

func (x *Volume) GetReplicaSets() []*ReplicaSet

func (*Volume) GetRuntimeState

func (x *Volume) GetRuntimeState() []*RuntimeStateMap

func (*Volume) GetSecureDevicePath

func (x *Volume) GetSecureDevicePath() string

func (*Volume) GetSharedv4MountOptions

func (x *Volume) GetSharedv4MountOptions() *MountOptions

func (*Volume) GetSource

func (x *Volume) GetSource() *Source

func (*Volume) GetSpec

func (x *Volume) GetSpec() *VolumeSpec

func (*Volume) GetState

func (x *Volume) GetState() VolumeState

func (*Volume) GetStatus

func (x *Volume) GetStatus() VolumeStatus

func (*Volume) GetUsage

func (x *Volume) GetUsage() uint64

func (*Volume) GetVolumeConsumers

func (x *Volume) GetVolumeConsumers() []*VolumeConsumer

func (*Volume) IsAttached

func (v *Volume) IsAttached() bool

IsAttached checks if a volume is attached

func (Volume) IsClone

func (v Volume) IsClone() bool

func (*Volume) IsPermitted

func (v *Volume) IsPermitted(ctx context.Context, accessType Ownership_AccessType) bool

func (Volume) IsSnapshot

func (v Volume) IsSnapshot() bool

func (*Volume) ProtoMessage

func (*Volume) ProtoMessage()

func (*Volume) ProtoReflect

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

func (*Volume) Reset

func (x *Volume) Reset()

func (*Volume) Scaled

func (v *Volume) Scaled() bool

Scaled returns true if the volume is scaled.

func (*Volume) String

func (x *Volume) String() string

type VolumeActionParam

type VolumeActionParam int32
const (
	VolumeActionParam_VOLUME_ACTION_PARAM_NONE VolumeActionParam = 0
	// Maps to the boolean value false
	VolumeActionParam_VOLUME_ACTION_PARAM_OFF VolumeActionParam = 1
	// Maps to the boolean value true.
	VolumeActionParam_VOLUME_ACTION_PARAM_ON VolumeActionParam = 2
)

func VolumeActionParamSimpleValueOf

func VolumeActionParamSimpleValueOf(s string) (VolumeActionParam, error)

VolumeActionParamSimpleValueOf returns the string format of VolumeAction

func (VolumeActionParam) Descriptor

func (VolumeActionParam) Enum

func (VolumeActionParam) EnumDescriptor deprecated

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

Deprecated: Use VolumeActionParam.Descriptor instead.

func (VolumeActionParam) Number

func (VolumeActionParam) SimpleString

func (x VolumeActionParam) SimpleString() string

SimpleString returns the string format of VolumeAction

func (VolumeActionParam) String

func (x VolumeActionParam) String() string

func (VolumeActionParam) Type

type VolumeConsumer

type VolumeConsumer struct {

	// Name is the name of the volume consumer
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Namespace is the namespace of the volume consumer
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Type is the type of the consumer. E.g a Kubernetes pod
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// NodeID is the identifier of the node on which the consumer is running. This
	// identifier would be from the perspective of the container runtime or
	// orchestrator under which the volume consumer resides. For example, NodeID
	//  can be name of a minion in Kubernetes.
	NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// OwnerName is the name of the entity who owns this volume consumer
	OwnerName string `protobuf:"bytes,5,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	// OwnerType is the type of the entity who owns this volume consumer. The type would
	// be from the perspective of the container runtime or the orchestrator under which
	// the volume consumer resides. For e.g OwnerType can be a Deployment in Kubernetes.
	OwnerType string `protobuf:"bytes,6,opt,name=owner_type,json=ownerType,proto3" json:"owner_type,omitempty"`
	// contains filtered or unexported fields
}

VolumeConsumer identifies a consumer for a Volume. An example of a VolumeConsumer would be a Pod in Kubernetes who has mounted the PersistentVolumeClaim for the Volume

func (*VolumeConsumer) Descriptor deprecated

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

Deprecated: Use VolumeConsumer.ProtoReflect.Descriptor instead.

func (*VolumeConsumer) GetName

func (x *VolumeConsumer) GetName() string

func (*VolumeConsumer) GetNamespace

func (x *VolumeConsumer) GetNamespace() string

func (*VolumeConsumer) GetNodeId

func (x *VolumeConsumer) GetNodeId() string

func (*VolumeConsumer) GetOwnerName

func (x *VolumeConsumer) GetOwnerName() string

func (*VolumeConsumer) GetOwnerType

func (x *VolumeConsumer) GetOwnerType() string

func (*VolumeConsumer) GetType

func (x *VolumeConsumer) GetType() string

func (*VolumeConsumer) ProtoMessage

func (*VolumeConsumer) ProtoMessage()

func (*VolumeConsumer) ProtoReflect

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

func (*VolumeConsumer) Reset

func (x *VolumeConsumer) Reset()

func (*VolumeConsumer) String

func (x *VolumeConsumer) String() string

type VolumeCreateRequest

type VolumeCreateRequest struct {

	// User specified volume name and labels
	Locator *VolumeLocator `protobuf:"bytes,1,opt,name=locator,proto3" json:"locator,omitempty"`
	// Source to create volume
	Source *Source `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// The storage spec for the volume
	Spec *VolumeSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

VolumeCreateRequest is a structure that has the locator, source and spec to create a volume

func (*VolumeCreateRequest) Descriptor deprecated

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

Deprecated: Use VolumeCreateRequest.ProtoReflect.Descriptor instead.

func (*VolumeCreateRequest) GetLocator

func (x *VolumeCreateRequest) GetLocator() *VolumeLocator

func (*VolumeCreateRequest) GetSource

func (x *VolumeCreateRequest) GetSource() *Source

func (*VolumeCreateRequest) GetSpec

func (x *VolumeCreateRequest) GetSpec() *VolumeSpec

func (*VolumeCreateRequest) ProtoMessage

func (*VolumeCreateRequest) ProtoMessage()

func (*VolumeCreateRequest) ProtoReflect

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

func (*VolumeCreateRequest) Reset

func (x *VolumeCreateRequest) Reset()

func (*VolumeCreateRequest) String

func (x *VolumeCreateRequest) String() string

type VolumeCreateResponse

type VolumeCreateResponse struct {

	// ID of the newly created volume
	//
	// in: body
	// Required: true
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Volume Response
	//
	// in: body
	// Required: true
	VolumeResponse *VolumeResponse `protobuf:"bytes,2,opt,name=volume_response,json=volumeResponse,proto3" json:"volume_response,omitempty"`
	// contains filtered or unexported fields
}

VolumeCreateResponse

func (*VolumeCreateResponse) Descriptor deprecated

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

Deprecated: Use VolumeCreateResponse.ProtoReflect.Descriptor instead.

func (*VolumeCreateResponse) GetId

func (x *VolumeCreateResponse) GetId() string

func (*VolumeCreateResponse) GetVolumeResponse

func (x *VolumeCreateResponse) GetVolumeResponse() *VolumeResponse

func (*VolumeCreateResponse) ProtoMessage

func (*VolumeCreateResponse) ProtoMessage()

func (*VolumeCreateResponse) ProtoReflect

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

func (*VolumeCreateResponse) Reset

func (x *VolumeCreateResponse) Reset()

func (*VolumeCreateResponse) String

func (x *VolumeCreateResponse) String() string

type VolumeInfo

type VolumeInfo struct {
	VolumeId string      `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	Path     string      `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Storage  *VolumeSpec `protobuf:"bytes,3,opt,name=storage,proto3" json:"storage,omitempty"`
	// contains filtered or unexported fields
}

VolumeInfo

func (*VolumeInfo) Descriptor deprecated

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

Deprecated: Use VolumeInfo.ProtoReflect.Descriptor instead.

func (*VolumeInfo) GetPath

func (x *VolumeInfo) GetPath() string

func (*VolumeInfo) GetStorage

func (x *VolumeInfo) GetStorage() *VolumeSpec

func (*VolumeInfo) GetVolumeId

func (x *VolumeInfo) GetVolumeId() string

func (*VolumeInfo) ProtoMessage

func (*VolumeInfo) ProtoMessage()

func (*VolumeInfo) ProtoReflect

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

func (*VolumeInfo) Reset

func (x *VolumeInfo) Reset()

func (*VolumeInfo) String

func (x *VolumeInfo) String() string

type VolumeInspectOptions

type VolumeInspectOptions struct {

	// Deep inspection is used to collect more information about
	// the volume. Setting this value may delay the request.
	Deep bool `protobuf:"varint,1,opt,name=deep,proto3" json:"deep,omitempty"`
	// contains filtered or unexported fields
}

Options used for volume inspection

func (*VolumeInspectOptions) Descriptor deprecated

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

Deprecated: Use VolumeInspectOptions.ProtoReflect.Descriptor instead.

func (*VolumeInspectOptions) GetDeep

func (x *VolumeInspectOptions) GetDeep() bool

func (*VolumeInspectOptions) ProtoMessage

func (*VolumeInspectOptions) ProtoMessage()

func (*VolumeInspectOptions) ProtoReflect

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

func (*VolumeInspectOptions) Reset

func (x *VolumeInspectOptions) Reset()

func (*VolumeInspectOptions) String

func (x *VolumeInspectOptions) String() string

type VolumeLocator

type VolumeLocator struct {

	// User friendly identifier
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A set of name-value pairs that acts as search filters
	VolumeLabels map[string]string `` /* 185-byte string literal not displayed */
	// Filter with ownership
	Ownership *Ownership `protobuf:"bytes,3,opt,name=ownership,proto3" json:"ownership,omitempty"`
	// Filter by group
	Group *Group `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"`
	// Volume Ids to match
	VolumeIds []string `protobuf:"bytes,5,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
	// contains filtered or unexported fields
}

VolumeLocator is a structure that is attached to a volume and is used to carry opaque metadata.

func (*VolumeLocator) Descriptor deprecated

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

Deprecated: Use VolumeLocator.ProtoReflect.Descriptor instead.

func (*VolumeLocator) GetGroup

func (x *VolumeLocator) GetGroup() *Group

func (*VolumeLocator) GetName

func (x *VolumeLocator) GetName() string

func (*VolumeLocator) GetOwnership

func (x *VolumeLocator) GetOwnership() *Ownership

func (*VolumeLocator) GetVolumeIds

func (x *VolumeLocator) GetVolumeIds() []string

func (*VolumeLocator) GetVolumeLabels

func (x *VolumeLocator) GetVolumeLabels() map[string]string

func (*VolumeLocator) MergeVolumeSpecLabels

func (l *VolumeLocator) MergeVolumeSpecLabels(s *VolumeSpec) *VolumeLocator

func (*VolumeLocator) ProtoMessage

func (*VolumeLocator) ProtoMessage()

func (*VolumeLocator) ProtoReflect

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

func (*VolumeLocator) Reset

func (x *VolumeLocator) Reset()

func (*VolumeLocator) String

func (x *VolumeLocator) String() string

type VolumePlacementSpec

type VolumePlacementSpec struct {

	// Weight defines the weight of the rule which allows to break the tie with other matching rules. A rule with
	// higher weight wins over a rule with lower weight.
	// (optional)
	Weight int64 `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"`
	// Enforcement specifies the rule enforcement policy. Can take values: required or preferred.
	// (optional)
	Enforcement EnforcementType `protobuf:"varint,2,opt,name=enforcement,proto3,enum=openstorage.api.EnforcementType" json:"enforcement,omitempty"`
	// TopologyKey key for the matching all segments of the cluster topology with the same key
	// e.g If the key is failure-domain.beta.kubernetes.io/zone, this should match all nodes with
	// the same value for this key (i.e in the same zone)
	TopologyKey string `protobuf:"bytes,3,opt,name=topology_key,json=topologyKey,proto3" json:"topology_key,omitempty"`
	// MatchExpressions is a list of label selector requirements. The requirements are ANDed.
	MatchExpressions []*LabelSelectorRequirement `protobuf:"bytes,4,rep,name=match_expressions,json=matchExpressions,proto3" json:"match_expressions,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumePlacementSpec) Descriptor deprecated

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

Deprecated: Use VolumePlacementSpec.ProtoReflect.Descriptor instead.

func (*VolumePlacementSpec) GetEnforcement

func (x *VolumePlacementSpec) GetEnforcement() EnforcementType

func (*VolumePlacementSpec) GetMatchExpressions

func (x *VolumePlacementSpec) GetMatchExpressions() []*LabelSelectorRequirement

func (*VolumePlacementSpec) GetTopologyKey

func (x *VolumePlacementSpec) GetTopologyKey() string

func (*VolumePlacementSpec) GetWeight

func (x *VolumePlacementSpec) GetWeight() int64

func (*VolumePlacementSpec) ProtoMessage

func (*VolumePlacementSpec) ProtoMessage()

func (*VolumePlacementSpec) ProtoReflect

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

func (*VolumePlacementSpec) Reset

func (x *VolumePlacementSpec) Reset()

func (*VolumePlacementSpec) String

func (x *VolumePlacementSpec) String() string

type VolumePlacementStrategy

type VolumePlacementStrategy struct {

	// ReplicaAffinity defines affinity rules between replicas within a volume
	ReplicaAffinity []*ReplicaPlacementSpec `protobuf:"bytes,1,rep,name=replica_affinity,json=replicaAffinity,proto3" json:"replica_affinity,omitempty"`
	// ReplicaAntiAffinity defines anti-affinity rules between replicas within a volume
	ReplicaAntiAffinity []*ReplicaPlacementSpec `protobuf:"bytes,2,rep,name=replica_anti_affinity,json=replicaAntiAffinity,proto3" json:"replica_anti_affinity,omitempty"`
	// VolumeAffinity defines affinity rules between volumes
	VolumeAffinity []*VolumePlacementSpec `protobuf:"bytes,3,rep,name=volume_affinity,json=volumeAffinity,proto3" json:"volume_affinity,omitempty"`
	// VolumeAntiAffinity defines anti-affinity rules between volumes
	VolumeAntiAffinity []*VolumePlacementSpec `protobuf:"bytes,4,rep,name=volume_anti_affinity,json=volumeAntiAffinity,proto3" json:"volume_anti_affinity,omitempty"`
	// contains filtered or unexported fields
}

VolumePlacementStrategy defines a strategy for placing volumes in the cluster which will be a series of rules All the rules specified will be applied for volume placement. Rules that have enforcement as "required" are strictly enforced while "preferred" are best effort. In situations, where 2 or more rules conflict, the weight of the rules will dictate which wins.

func (*VolumePlacementStrategy) Descriptor deprecated

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

Deprecated: Use VolumePlacementStrategy.ProtoReflect.Descriptor instead.

func (*VolumePlacementStrategy) GetReplicaAffinity

func (x *VolumePlacementStrategy) GetReplicaAffinity() []*ReplicaPlacementSpec

func (*VolumePlacementStrategy) GetReplicaAntiAffinity

func (x *VolumePlacementStrategy) GetReplicaAntiAffinity() []*ReplicaPlacementSpec

func (*VolumePlacementStrategy) GetVolumeAffinity

func (x *VolumePlacementStrategy) GetVolumeAffinity() []*VolumePlacementSpec

func (*VolumePlacementStrategy) GetVolumeAntiAffinity

func (x *VolumePlacementStrategy) GetVolumeAntiAffinity() []*VolumePlacementSpec

func (*VolumePlacementStrategy) ProtoMessage

func (*VolumePlacementStrategy) ProtoMessage()

func (*VolumePlacementStrategy) ProtoReflect

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

func (*VolumePlacementStrategy) Reset

func (x *VolumePlacementStrategy) Reset()

func (*VolumePlacementStrategy) String

func (x *VolumePlacementStrategy) String() string

type VolumeResponse

type VolumeResponse struct {

	// Error message
	//
	// in: body
	// Required: true
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

VolumeResponse is a structure that wraps an error.

func (*VolumeResponse) Descriptor deprecated

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

Deprecated: Use VolumeResponse.ProtoReflect.Descriptor instead.

func (*VolumeResponse) GetError

func (x *VolumeResponse) GetError() string

func (*VolumeResponse) ProtoMessage

func (*VolumeResponse) ProtoMessage()

func (*VolumeResponse) ProtoReflect

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

func (*VolumeResponse) Reset

func (x *VolumeResponse) Reset()

func (*VolumeResponse) String

func (x *VolumeResponse) String() string

type VolumeServiceInstanceResponse

type VolumeServiceInstanceResponse struct {

	// Error code
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// Status information exposed a map
	Status map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VolumeServiceInstanceResponse) Descriptor deprecated

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

Deprecated: Use VolumeServiceInstanceResponse.ProtoReflect.Descriptor instead.

func (*VolumeServiceInstanceResponse) GetError

func (x *VolumeServiceInstanceResponse) GetError() string

func (*VolumeServiceInstanceResponse) GetStatus

func (x *VolumeServiceInstanceResponse) GetStatus() map[string]string

func (*VolumeServiceInstanceResponse) ProtoMessage

func (*VolumeServiceInstanceResponse) ProtoMessage()

func (*VolumeServiceInstanceResponse) ProtoReflect

func (*VolumeServiceInstanceResponse) Reset

func (x *VolumeServiceInstanceResponse) Reset()

func (*VolumeServiceInstanceResponse) String

type VolumeServiceRequest

type VolumeServiceRequest struct {

	// User specified volume service command
	SrvCmd string `protobuf:"bytes,1,opt,name=srv_cmd,json=srvCmd,proto3" json:"srv_cmd,omitempty"`
	// User specified volume service command's params
	SrvCmdParams map[string]string `` /* 187-byte string literal not displayed */
	// contains filtered or unexported fields
}

VolumeServiceRequest provides details on what volume service command to perform in background on the volume

func (*VolumeServiceRequest) Descriptor deprecated

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

Deprecated: Use VolumeServiceRequest.ProtoReflect.Descriptor instead.

func (*VolumeServiceRequest) GetSrvCmd

func (x *VolumeServiceRequest) GetSrvCmd() string

func (*VolumeServiceRequest) GetSrvCmdParams

func (x *VolumeServiceRequest) GetSrvCmdParams() map[string]string

func (*VolumeServiceRequest) ProtoMessage

func (*VolumeServiceRequest) ProtoMessage()

func (*VolumeServiceRequest) ProtoReflect

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

func (*VolumeServiceRequest) Reset

func (x *VolumeServiceRequest) Reset()

func (*VolumeServiceRequest) String

func (x *VolumeServiceRequest) String() string

type VolumeServiceResponse

type VolumeServiceResponse struct {

	// Number of VolumeServiceInstanceResponse returned as part of this response
	// structure
	VolSrvRspObjCnt int32                            `protobuf:"varint,1,opt,name=vol_srv_rsp_obj_cnt,json=volSrvRspObjCnt,proto3" json:"vol_srv_rsp_obj_cnt,omitempty"`
	VolSrvRsp       []*VolumeServiceInstanceResponse `protobuf:"bytes,2,rep,name=vol_srv_rsp,json=volSrvRsp,proto3" json:"vol_srv_rsp,omitempty"`
	// contains filtered or unexported fields
}

VolumeServiceResponse specifies the response to a Volume Service command performed on a volumen

func (*VolumeServiceResponse) Descriptor deprecated

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

Deprecated: Use VolumeServiceResponse.ProtoReflect.Descriptor instead.

func (*VolumeServiceResponse) GetVolSrvRsp

func (*VolumeServiceResponse) GetVolSrvRspObjCnt

func (x *VolumeServiceResponse) GetVolSrvRspObjCnt() int32

func (*VolumeServiceResponse) ProtoMessage

func (*VolumeServiceResponse) ProtoMessage()

func (*VolumeServiceResponse) ProtoReflect

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

func (*VolumeServiceResponse) Reset

func (x *VolumeServiceResponse) Reset()

func (*VolumeServiceResponse) String

func (x *VolumeServiceResponse) String() string

type VolumeSetRequest

type VolumeSetRequest struct {

	// User specified volume name and labels
	Locator *VolumeLocator `protobuf:"bytes,1,opt,name=locator,proto3" json:"locator,omitempty"`
	// The storage spec for the volume
	Spec *VolumeSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// State modification on this volume.
	Action *VolumeStateAction `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
	// additional options
	// required for the Set operation.
	Options map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

VolumeSet specifies a request to update a volume.

func (*VolumeSetRequest) Descriptor deprecated

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

Deprecated: Use VolumeSetRequest.ProtoReflect.Descriptor instead.

func (*VolumeSetRequest) GetAction

func (x *VolumeSetRequest) GetAction() *VolumeStateAction

func (*VolumeSetRequest) GetLocator

func (x *VolumeSetRequest) GetLocator() *VolumeLocator

func (*VolumeSetRequest) GetOptions

func (x *VolumeSetRequest) GetOptions() map[string]string

func (*VolumeSetRequest) GetSpec

func (x *VolumeSetRequest) GetSpec() *VolumeSpec

func (*VolumeSetRequest) ProtoMessage

func (*VolumeSetRequest) ProtoMessage()

func (*VolumeSetRequest) ProtoReflect

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

func (*VolumeSetRequest) Reset

func (x *VolumeSetRequest) Reset()

func (*VolumeSetRequest) String

func (x *VolumeSetRequest) String() string

type VolumeSetResponse

type VolumeSetResponse struct {

	// Volume
	Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	//VolumeResponse
	VolumeResponse *VolumeResponse `protobuf:"bytes,2,opt,name=volume_response,json=volumeResponse,proto3" json:"volume_response,omitempty"`
	// contains filtered or unexported fields
}

VolumeSetResponse

func (*VolumeSetResponse) Descriptor deprecated

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

Deprecated: Use VolumeSetResponse.ProtoReflect.Descriptor instead.

func (*VolumeSetResponse) GetVolume

func (x *VolumeSetResponse) GetVolume() *Volume

func (*VolumeSetResponse) GetVolumeResponse

func (x *VolumeSetResponse) GetVolumeResponse() *VolumeResponse

func (*VolumeSetResponse) ProtoMessage

func (*VolumeSetResponse) ProtoMessage()

func (*VolumeSetResponse) ProtoReflect

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

func (*VolumeSetResponse) Reset

func (x *VolumeSetResponse) Reset()

func (*VolumeSetResponse) String

func (x *VolumeSetResponse) String() string

type VolumeSpec

type VolumeSpec struct {

	// Ephemeral storage
	Ephemeral bool `protobuf:"varint,1,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
	// Size specifies the thin provisioned volume size in bytes
	Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// Format specifies the filesystem for this volume.
	Format FSType `protobuf:"varint,3,opt,name=format,proto3,enum=openstorage.api.FSType" json:"format,omitempty"`
	// BlockSize for the filesystem.
	BlockSize int64 `protobuf:"varint,4,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
	// HaLevel specifies the number of copies of data.
	HaLevel int64 `protobuf:"varint,5,opt,name=ha_level,json=haLevel,proto3" json:"ha_level,omitempty"`
	// Cos specifies the relative class of service.
	Cos CosType `protobuf:"varint,6,opt,name=cos,proto3,enum=openstorage.api.CosType" json:"cos,omitempty"`
	// IoProfile provides a hint about application using this volume.
	IoProfile IoProfile `protobuf:"varint,7,opt,name=io_profile,json=ioProfile,proto3,enum=openstorage.api.IoProfile" json:"io_profile,omitempty"`
	// Dedupe specifies if the volume data is to be de-duplicated.
	Dedupe bool `protobuf:"varint,8,opt,name=dedupe,proto3" json:"dedupe,omitempty"`
	// SnapshotInterval in minutes, set to 0 to disable snapshots
	SnapshotInterval uint32 `protobuf:"varint,9,opt,name=snapshot_interval,json=snapshotInterval,proto3" json:"snapshot_interval,omitempty"`
	// (deprecated, do not use) VolumeLabels configuration labels
	VolumeLabels map[string]string `` /* 186-byte string literal not displayed */
	// Shared is true if this volume can be concurrently accessed by multiple users.
	Shared bool `protobuf:"varint,11,opt,name=shared,proto3" json:"shared,omitempty"`
	// ReplicaSet is the desired set of nodes for the volume data.
	ReplicaSet *ReplicaSet `protobuf:"bytes,12,opt,name=replica_set,json=replicaSet,proto3" json:"replica_set,omitempty"`
	// Aggregation level Specifies the number of parts the volume can be aggregated from.
	AggregationLevel uint32 `protobuf:"varint,13,opt,name=aggregation_level,json=aggregationLevel,proto3" json:"aggregation_level,omitempty"`
	// Encrypted is true if this volume will be cryptographically secured.
	Encrypted bool `protobuf:"varint,14,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
	// Passphrase for an encrypted volume
	Passphrase string `protobuf:"bytes,15,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	// SnapshotSchedule a well known string that specifies when snapshots should be taken.
	SnapshotSchedule string `protobuf:"bytes,16,opt,name=snapshot_schedule,json=snapshotSchedule,proto3" json:"snapshot_schedule,omitempty"`
	// Scale allows autocreation of volumes.
	Scale uint32 `protobuf:"varint,17,opt,name=scale,proto3" json:"scale,omitempty"`
	// Sticky volumes cannot be deleted until the flag is removed.
	Sticky bool `protobuf:"varint,18,opt,name=sticky,proto3" json:"sticky,omitempty"`
	// Group identifies a consistency group
	Group *Group `protobuf:"bytes,21,opt,name=group,proto3" json:"group,omitempty"`
	// GroupEnforced is true if consistency group creation is enforced.
	GroupEnforced bool `protobuf:"varint,22,opt,name=group_enforced,json=groupEnforced,proto3" json:"group_enforced,omitempty"`
	// Compressed is true if this volume is to be compressed.
	Compressed bool `protobuf:"varint,23,opt,name=compressed,proto3" json:"compressed,omitempty"`
	// Cascaded is true if this volume can be populated on any node from an external source.
	Cascaded bool `protobuf:"varint,24,opt,name=cascaded,proto3" json:"cascaded,omitempty"`
	// Journal is true if data for the volume goes into the journal.
	Journal bool `protobuf:"varint,25,opt,name=journal,proto3" json:"journal,omitempty"`
	// Sharedv4 is true if this volume can be accessed via sharedv4.
	Sharedv4 bool `protobuf:"varint,26,opt,name=sharedv4,proto3" json:"sharedv4,omitempty"`
	// QueueDepth defines the desired block device queue depth
	QueueDepth uint32 `protobuf:"varint,27,opt,name=queue_depth,json=queueDepth,proto3" json:"queue_depth,omitempty"`
	// Use to force a file system type which is not recommended.
	// The driver may still refuse to use the file system type.
	ForceUnsupportedFsType bool `` /* 133-byte string literal not displayed */
	// Nodiscard specifies if the volume will be mounted with discard support disabled.
	// i.e. FS will not release allocated blocks back to the backing storage pool.
	Nodiscard bool `protobuf:"varint,29,opt,name=nodiscard,proto3" json:"nodiscard,omitempty"`
	// IoStrategy preferred strategy for I/O.
	IoStrategy *IoStrategy `protobuf:"bytes,30,opt,name=io_strategy,json=ioStrategy,proto3" json:"io_strategy,omitempty"`
	// PlacementStrategy specifies a spec to indicate where to place the volume.
	PlacementStrategy *VolumePlacementStrategy `protobuf:"bytes,31,opt,name=placement_strategy,json=placementStrategy,proto3" json:"placement_strategy,omitempty"`
	// StoragePolicy if applied/specified while creating volume
	StoragePolicy string `protobuf:"bytes,32,opt,name=storage_policy,json=storagePolicy,proto3" json:"storage_policy,omitempty"`
	// Ownership
	Ownership *Ownership `protobuf:"bytes,33,opt,name=ownership,proto3" json:"ownership,omitempty"`
	// ExportSpec defines how the volume should be exported.
	ExportSpec *ExportSpec `protobuf:"bytes,34,opt,name=export_spec,json=exportSpec,proto3" json:"export_spec,omitempty"`
	// fastpath extensions
	FpPreference bool `protobuf:"varint,35,opt,name=fp_preference,json=fpPreference,proto3" json:"fp_preference,omitempty"`
	// Xattr specifies implementation specific volume attributes
	Xattr Xattr_Value `protobuf:"varint,36,opt,name=xattr,proto3,enum=openstorage.api.Xattr_Value" json:"xattr,omitempty"`
	// ScanPolicy specifies the filesystem check policy
	ScanPolicy *ScanPolicy `protobuf:"bytes,37,opt,name=scan_policy,json=scanPolicy,proto3" json:"scan_policy,omitempty"`
	// MountOptions defines the options that will be used while mounting this volume
	MountOptions *MountOptions `protobuf:"bytes,38,opt,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
	// Sharedv4MountOptions defines the options that will be used while mounting a sharedv4 volume
	// from a node where the volume replica does not exist
	Sharedv4MountOptions *MountOptions `protobuf:"bytes,39,opt,name=sharedv4_mount_options,json=sharedv4MountOptions,proto3" json:"sharedv4_mount_options,omitempty"`
	// Proxy_write if true, per volume proxy write replication enabled
	ProxyWrite bool `protobuf:"varint,40,opt,name=proxy_write,json=proxyWrite,proto3" json:"proxy_write,omitempty"`
	// ProxySpec indicates that this volume is used for proxying an external data source
	ProxySpec *ProxySpec `protobuf:"bytes,41,opt,name=proxy_spec,json=proxySpec,proto3" json:"proxy_spec,omitempty"`
	// Sharedv4ServiceSpec specifies a spec for configuring a service for a sharedv4 volume
	Sharedv4ServiceSpec *Sharedv4ServiceSpec `protobuf:"bytes,42,opt,name=sharedv4_service_spec,json=sharedv4ServiceSpec,proto3" json:"sharedv4_service_spec,omitempty"`
	// Sharedv4Spec specifies common properties of sharedv4 and sharedv4 service volumes
	Sharedv4Spec *Sharedv4Spec `protobuf:"bytes,43,opt,name=sharedv4_spec,json=sharedv4Spec,proto3" json:"sharedv4_spec,omitempty"`
	// Autofstrim indicates that fstrim would be run on this volume automatically, without user intervention
	AutoFstrim bool `protobuf:"varint,44,opt,name=auto_fstrim,json=autoFstrim,proto3" json:"auto_fstrim,omitempty"`
	// IoThrottle specifies maximum io(iops/bandwidth) this volume is restricted to
	IoThrottle *IoThrottle `protobuf:"bytes,45,opt,name=io_throttle,json=ioThrottle,proto3" json:"io_throttle,omitempty"`
	// NumberOfChunks indicates how many chunks must be created, 0 and 1 both mean 1
	NumberOfChunks uint32 `protobuf:"varint,46,opt,name=number_of_chunks,json=numberOfChunks,proto3" json:"number_of_chunks,omitempty"`
	// Enable readahead for the volume
	Readahead bool `protobuf:"varint,47,opt,name=readahead,proto3" json:"readahead,omitempty"`
	// TopologyRequirement topology requirement for this volume
	TopologyRequirement *TopologyRequirement `protobuf:"bytes,48,opt,name=topology_requirement,json=topologyRequirement,proto3" json:"topology_requirement,omitempty"`
	// contains filtered or unexported fields
}

VolumeSpec has the properties needed to create a volume.

func (*VolumeSpec) Copy

func (s *VolumeSpec) Copy() *VolumeSpec

Copy makes a deep copy of VolumeSpec

func (*VolumeSpec) Descriptor deprecated

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

Deprecated: Use VolumeSpec.ProtoReflect.Descriptor instead.

func (*VolumeSpec) GetAggregationLevel

func (x *VolumeSpec) GetAggregationLevel() uint32

func (*VolumeSpec) GetAutoFstrim

func (x *VolumeSpec) GetAutoFstrim() bool

func (*VolumeSpec) GetBlockSize

func (x *VolumeSpec) GetBlockSize() int64

func (*VolumeSpec) GetCascaded

func (x *VolumeSpec) GetCascaded() bool

func (*VolumeSpec) GetCloneCreatorOwnership

func (v *VolumeSpec) GetCloneCreatorOwnership(ctx context.Context) (*Ownership, bool)

GetCloneCreatorOwnership returns the appropriate ownership for the new snapshot and if an update is required

func (*VolumeSpec) GetCompressed

func (x *VolumeSpec) GetCompressed() bool

func (*VolumeSpec) GetCos

func (x *VolumeSpec) GetCos() CosType

func (*VolumeSpec) GetDedupe

func (x *VolumeSpec) GetDedupe() bool

func (*VolumeSpec) GetEncrypted

func (x *VolumeSpec) GetEncrypted() bool

func (*VolumeSpec) GetEphemeral

func (x *VolumeSpec) GetEphemeral() bool

func (*VolumeSpec) GetExportSpec

func (x *VolumeSpec) GetExportSpec() *ExportSpec

func (*VolumeSpec) GetForceUnsupportedFsType

func (x *VolumeSpec) GetForceUnsupportedFsType() bool

func (*VolumeSpec) GetFormat

func (x *VolumeSpec) GetFormat() FSType

func (*VolumeSpec) GetFpPreference

func (x *VolumeSpec) GetFpPreference() bool

func (*VolumeSpec) GetGroup

func (x *VolumeSpec) GetGroup() *Group

func (*VolumeSpec) GetGroupEnforced

func (x *VolumeSpec) GetGroupEnforced() bool

func (*VolumeSpec) GetHaLevel

func (x *VolumeSpec) GetHaLevel() int64

func (*VolumeSpec) GetIoProfile

func (x *VolumeSpec) GetIoProfile() IoProfile

func (*VolumeSpec) GetIoStrategy

func (x *VolumeSpec) GetIoStrategy() *IoStrategy

func (*VolumeSpec) GetIoThrottle

func (x *VolumeSpec) GetIoThrottle() *IoThrottle

func (*VolumeSpec) GetJournal

func (x *VolumeSpec) GetJournal() bool

func (*VolumeSpec) GetMountOptions

func (x *VolumeSpec) GetMountOptions() *MountOptions

func (*VolumeSpec) GetNodiscard

func (x *VolumeSpec) GetNodiscard() bool

func (*VolumeSpec) GetNumberOfChunks

func (x *VolumeSpec) GetNumberOfChunks() uint32

func (*VolumeSpec) GetOwnership

func (x *VolumeSpec) GetOwnership() *Ownership

func (*VolumeSpec) GetPassphrase

func (x *VolumeSpec) GetPassphrase() string

func (*VolumeSpec) GetPlacementStrategy

func (x *VolumeSpec) GetPlacementStrategy() *VolumePlacementStrategy

func (*VolumeSpec) GetProxySpec

func (x *VolumeSpec) GetProxySpec() *ProxySpec

func (*VolumeSpec) GetProxyWrite

func (x *VolumeSpec) GetProxyWrite() bool

func (*VolumeSpec) GetQueueDepth

func (x *VolumeSpec) GetQueueDepth() uint32

func (*VolumeSpec) GetReadahead

func (x *VolumeSpec) GetReadahead() bool

func (*VolumeSpec) GetReplicaSet

func (x *VolumeSpec) GetReplicaSet() *ReplicaSet

func (*VolumeSpec) GetScale

func (x *VolumeSpec) GetScale() uint32

func (*VolumeSpec) GetScanPolicy

func (x *VolumeSpec) GetScanPolicy() *ScanPolicy

func (*VolumeSpec) GetShared

func (x *VolumeSpec) GetShared() bool

func (*VolumeSpec) GetSharedv4

func (x *VolumeSpec) GetSharedv4() bool

func (*VolumeSpec) GetSharedv4MountOptions

func (x *VolumeSpec) GetSharedv4MountOptions() *MountOptions

func (*VolumeSpec) GetSharedv4ServiceSpec

func (x *VolumeSpec) GetSharedv4ServiceSpec() *Sharedv4ServiceSpec

func (*VolumeSpec) GetSharedv4Spec

func (x *VolumeSpec) GetSharedv4Spec() *Sharedv4Spec

func (*VolumeSpec) GetSize

func (x *VolumeSpec) GetSize() uint64

func (*VolumeSpec) GetSnapshotInterval

func (x *VolumeSpec) GetSnapshotInterval() uint32

func (*VolumeSpec) GetSnapshotSchedule

func (x *VolumeSpec) GetSnapshotSchedule() string

func (*VolumeSpec) GetSticky

func (x *VolumeSpec) GetSticky() bool

func (*VolumeSpec) GetStoragePolicy

func (x *VolumeSpec) GetStoragePolicy() string

func (*VolumeSpec) GetTopologyRequirement

func (x *VolumeSpec) GetTopologyRequirement() *TopologyRequirement

func (*VolumeSpec) GetVolumeLabels

func (x *VolumeSpec) GetVolumeLabels() map[string]string

func (*VolumeSpec) GetXattr

func (x *VolumeSpec) GetXattr() Xattr_Value

func (*VolumeSpec) IsPermitted

func (v *VolumeSpec) IsPermitted(ctx context.Context, accessType Ownership_AccessType) bool

func (*VolumeSpec) IsPermittedFromUserInfo

func (v *VolumeSpec) IsPermittedFromUserInfo(user *auth.UserInfo, accessType Ownership_AccessType) bool

func (*VolumeSpec) IsPublic

func (v *VolumeSpec) IsPublic(accessType Ownership_AccessType) bool

func (*VolumeSpec) IsPureVolume

func (v *VolumeSpec) IsPureVolume() bool

func (*VolumeSpec) ProtoMessage

func (*VolumeSpec) ProtoMessage()

func (*VolumeSpec) ProtoReflect

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

func (*VolumeSpec) Reset

func (x *VolumeSpec) Reset()

func (*VolumeSpec) String

func (x *VolumeSpec) String() string

type VolumeSpecPolicy

type VolumeSpecPolicy struct {

	// Size specifies the thin provisioned volume size in bytes.
	// Use `size_operator` to show if this value is the min, max, or set.
	//
	// Types that are assignable to SizeOpt:
	//	*VolumeSpecPolicy_Size
	SizeOpt isVolumeSpecPolicy_SizeOpt `protobuf_oneof:"size_opt"`
	// HaLevel specifies the number of copies of data.
	// Use `ha_level_operator` to show if this value is the min, max, or set.
	//
	// Types that are assignable to HaLevelOpt:
	//	*VolumeSpecPolicy_HaLevel
	HaLevelOpt isVolumeSpecPolicy_HaLevelOpt `protobuf_oneof:"ha_level_opt"`
	// Cos specifies the relative class of service.
	//
	// Types that are assignable to CosOpt:
	//	*VolumeSpecPolicy_Cos
	CosOpt isVolumeSpecPolicy_CosOpt `protobuf_oneof:"cos_opt"`
	// IoProfile provides a hint about application using this volume.
	//
	// Types that are assignable to IoProfileOpt:
	//	*VolumeSpecPolicy_IoProfile
	IoProfileOpt isVolumeSpecPolicy_IoProfileOpt `protobuf_oneof:"io_profile_opt"`
	// Dedupe specifies if the volume data is to be de-duplicated.
	//
	// Types that are assignable to DedupeOpt:
	//	*VolumeSpecPolicy_Dedupe
	DedupeOpt isVolumeSpecPolicy_DedupeOpt `protobuf_oneof:"dedupe_opt"`
	// SnapshotInterval in minutes, set to 0 to disable snapshots
	//
	// Types that are assignable to SnapshotIntervalOpt:
	//	*VolumeSpecPolicy_SnapshotInterval
	SnapshotIntervalOpt isVolumeSpecPolicy_SnapshotIntervalOpt `protobuf_oneof:"snapshot_interval_opt"`
	// VolumeLabels configuration labels
	VolumeLabels map[string]string `` /* 185-byte string literal not displayed */
	// Shared is true if this volume can be remotely accessed.
	//
	// Types that are assignable to SharedOpt:
	//	*VolumeSpecPolicy_Shared
	SharedOpt isVolumeSpecPolicy_SharedOpt `protobuf_oneof:"shared_opt"`
	// ReplicaSet is the desired set of nodes for the volume data.
	ReplicaSet *ReplicaSet `protobuf:"bytes,9,opt,name=replica_set,json=replicaSet,proto3" json:"replica_set,omitempty"`
	// Passphrase for an encrypted volume
	//
	// Types that are assignable to PassphraseOpt:
	//	*VolumeSpecPolicy_Passphrase
	PassphraseOpt isVolumeSpecPolicy_PassphraseOpt `protobuf_oneof:"passphrase_opt"`
	// SnapshotSchedule a well known string that specifies when snapshots should be taken.
	//
	// Types that are assignable to SnapshotScheduleOpt:
	//	*VolumeSpecPolicy_SnapshotSchedule
	SnapshotScheduleOpt isVolumeSpecPolicy_SnapshotScheduleOpt `protobuf_oneof:"snapshot_schedule_opt"`
	// Scale allows autocreation of volumes.
	//
	// Types that are assignable to ScaleOpt:
	//	*VolumeSpecPolicy_Scale
	ScaleOpt isVolumeSpecPolicy_ScaleOpt `protobuf_oneof:"scale_opt"`
	// Sticky volumes cannot be deleted until the flag is removed.
	//
	// Types that are assignable to StickyOpt:
	//	*VolumeSpecPolicy_Sticky
	StickyOpt isVolumeSpecPolicy_StickyOpt `protobuf_oneof:"sticky_opt"`
	// Group identifies a consistency group
	//
	// Types that are assignable to GroupOpt:
	//	*VolumeSpecPolicy_Group
	GroupOpt isVolumeSpecPolicy_GroupOpt `protobuf_oneof:"group_opt"`
	// Journal is true if data for the volume goes into the journal.
	//
	// Types that are assignable to JournalOpt:
	//	*VolumeSpecPolicy_Journal
	JournalOpt isVolumeSpecPolicy_JournalOpt `protobuf_oneof:"journal_opt"`
	// Sharedv4 is true if this volume can be accessed via sharedv4.
	//
	// Types that are assignable to Sharedv4Opt:
	//	*VolumeSpecPolicy_Sharedv4
	Sharedv4Opt isVolumeSpecPolicy_Sharedv4Opt `protobuf_oneof:"sharedv4_opt"`
	// QueueDepth defines the desired block device queue depth
	//
	// Types that are assignable to QueueDepthOpt:
	//	*VolumeSpecPolicy_QueueDepth
	QueueDepthOpt isVolumeSpecPolicy_QueueDepthOpt `protobuf_oneof:"queue_depth_opt"`
	// Encrypted is true if this volume will be cryptographically secured.
	//
	// Types that are assignable to EncryptedOpt:
	//	*VolumeSpecPolicy_Encrypted
	EncryptedOpt isVolumeSpecPolicy_EncryptedOpt `protobuf_oneof:"encrypted_opt"`
	// Aggregation level Specifies the number of parts the volume can be aggregated from.
	//
	// Types that are assignable to AggregationLevelOpt:
	//	*VolumeSpecPolicy_AggregationLevel
	AggregationLevelOpt isVolumeSpecPolicy_AggregationLevelOpt `protobuf_oneof:"aggregation_level_opt"`
	// Operator to check size
	SizeOperator VolumeSpecPolicy_PolicyOp `` /* 146-byte string literal not displayed */
	// Operator to check ha_level
	HaLevelOperator VolumeSpecPolicy_PolicyOp `` /* 157-byte string literal not displayed */
	// Operator to check scale
	ScaleOperator VolumeSpecPolicy_PolicyOp `` /* 149-byte string literal not displayed */
	// Operator to check snapshot_interval
	SnapshotIntervalOperator VolumeSpecPolicy_PolicyOp `` /* 184-byte string literal not displayed */
	// Nodiscard specifies if the volume will be mounted with discard support disabled.
	// i.e. FS will not release allocated blocks back to the backing storage pool.
	//
	// Types that are assignable to NodiscardOpt:
	//	*VolumeSpecPolicy_Nodiscard
	NodiscardOpt isVolumeSpecPolicy_NodiscardOpt `protobuf_oneof:"nodiscard_opt"`
	// IoStrategy preferred strategy for I/O.
	IoStrategy *IoStrategy `protobuf:"bytes,55,opt,name=io_strategy,json=ioStrategy,proto3" json:"io_strategy,omitempty"`
	// ExportSpec preferred volume export options.
	//
	// Types that are assignable to ExportSpecOpt:
	//	*VolumeSpecPolicy_ExportSpec
	ExportSpecOpt isVolumeSpecPolicy_ExportSpecOpt `protobuf_oneof:"export_spec_opt"`
	// scan_policy_opt defines the filesystem check policy for the volume
	//
	// Types that are assignable to ScanPolicyOpt:
	//	*VolumeSpecPolicy_ScanPolicy
	ScanPolicyOpt isVolumeSpecPolicy_ScanPolicyOpt `protobuf_oneof:"scan_policy_opt"`
	// mount_opt provides the mount time options for a volume
	//
	// Types that are assignable to MountOpt:
	//	*VolumeSpecPolicy_MountOptSpec
	MountOpt isVolumeSpecPolicy_MountOpt `protobuf_oneof:"mount_opt"`
	// sharedv4_mount_opt provides the client side mount time options for a sharedv4 volume
	//
	// Types that are assignable to Sharedv4MountOpt:
	//	*VolumeSpecPolicy_Sharedv4MountOptSpec
	Sharedv4MountOpt isVolumeSpecPolicy_Sharedv4MountOpt `protobuf_oneof:"sharedv4_mount_opt"`
	// Proxy_write is true if proxy write replication is enabled for the volume
	//
	// Types that are assignable to ProxyWriteOpt:
	//	*VolumeSpecPolicy_ProxyWrite
	ProxyWriteOpt isVolumeSpecPolicy_ProxyWriteOpt `protobuf_oneof:"proxy_write_opt"`
	// proxy_spec_opt provides the spec for a proxy volume.
	//
	// Types that are assignable to ProxySpecOpt:
	//	*VolumeSpecPolicy_ProxySpec
	ProxySpecOpt isVolumeSpecPolicy_ProxySpecOpt `protobuf_oneof:"proxy_spec_opt"`
	// fastpath preference
	//
	// Types that are assignable to FastpathOpt:
	//	*VolumeSpecPolicy_Fastpath
	FastpathOpt isVolumeSpecPolicy_FastpathOpt `protobuf_oneof:"fastpath_opt"`
	// sharedv4_service_spec_opt provides the spec for sharedv4 volume service
	//
	// Types that are assignable to Sharedv4ServiceSpecOpt:
	//	*VolumeSpecPolicy_Sharedv4ServiceSpec
	Sharedv4ServiceSpecOpt isVolumeSpecPolicy_Sharedv4ServiceSpecOpt `protobuf_oneof:"sharedv4_service_spec_opt"`
	// Sharedv4Spec specifies common properties of sharedv4 and sharedv4 service volumes
	//
	// Types that are assignable to Sharedv4SpecOpt:
	//	*VolumeSpecPolicy_Sharedv4Spec
	Sharedv4SpecOpt isVolumeSpecPolicy_Sharedv4SpecOpt `protobuf_oneof:"sharedv4_spec_opt"`
	// Autofstrim is set to true, to enable automatic fstrim on this volume
	//
	// Types that are assignable to AutoFstrimOpt:
	//	*VolumeSpecPolicy_AutoFstrim
	AutoFstrimOpt isVolumeSpecPolicy_AutoFstrimOpt `protobuf_oneof:"auto_fstrim_opt"`
	// io_throttle_opt defines the io throttle limits for the volume
	//
	// Types that are assignable to IoThrottleOpt:
	//	*VolumeSpecPolicy_IoThrottle
	IoThrottleOpt isVolumeSpecPolicy_IoThrottleOpt `protobuf_oneof:"io_throttle_opt"`
	// Enable readahead for the volume
	//
	// Types that are assignable to ReadaheadOpt:
	//	*VolumeSpecPolicy_Readahead
	ReadaheadOpt isVolumeSpecPolicy_ReadaheadOpt `protobuf_oneof:"readahead_opt"`
	// contains filtered or unexported fields
}

VolumeSpecPolicy provides a method to set volume storage policy

func (*VolumeSpecPolicy) Descriptor deprecated

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

Deprecated: Use VolumeSpecPolicy.ProtoReflect.Descriptor instead.

func (*VolumeSpecPolicy) GetAggregationLevel

func (x *VolumeSpecPolicy) GetAggregationLevel() uint32

func (*VolumeSpecPolicy) GetAggregationLevelOpt

func (m *VolumeSpecPolicy) GetAggregationLevelOpt() isVolumeSpecPolicy_AggregationLevelOpt

func (*VolumeSpecPolicy) GetAutoFstrim

func (x *VolumeSpecPolicy) GetAutoFstrim() bool

func (*VolumeSpecPolicy) GetAutoFstrimOpt

func (m *VolumeSpecPolicy) GetAutoFstrimOpt() isVolumeSpecPolicy_AutoFstrimOpt

func (*VolumeSpecPolicy) GetCos

func (x *VolumeSpecPolicy) GetCos() CosType

func (*VolumeSpecPolicy) GetCosOpt

func (m *VolumeSpecPolicy) GetCosOpt() isVolumeSpecPolicy_CosOpt

func (*VolumeSpecPolicy) GetDedupe

func (x *VolumeSpecPolicy) GetDedupe() bool

func (*VolumeSpecPolicy) GetDedupeOpt

func (m *VolumeSpecPolicy) GetDedupeOpt() isVolumeSpecPolicy_DedupeOpt

func (*VolumeSpecPolicy) GetEncrypted

func (x *VolumeSpecPolicy) GetEncrypted() bool

func (*VolumeSpecPolicy) GetEncryptedOpt

func (m *VolumeSpecPolicy) GetEncryptedOpt() isVolumeSpecPolicy_EncryptedOpt

func (*VolumeSpecPolicy) GetExportSpec

func (x *VolumeSpecPolicy) GetExportSpec() *ExportSpec

func (*VolumeSpecPolicy) GetExportSpecOpt

func (m *VolumeSpecPolicy) GetExportSpecOpt() isVolumeSpecPolicy_ExportSpecOpt

func (*VolumeSpecPolicy) GetFastpath

func (x *VolumeSpecPolicy) GetFastpath() bool

func (*VolumeSpecPolicy) GetFastpathOpt

func (m *VolumeSpecPolicy) GetFastpathOpt() isVolumeSpecPolicy_FastpathOpt

func (*VolumeSpecPolicy) GetGroup

func (x *VolumeSpecPolicy) GetGroup() *Group

func (*VolumeSpecPolicy) GetGroupOpt

func (m *VolumeSpecPolicy) GetGroupOpt() isVolumeSpecPolicy_GroupOpt

func (*VolumeSpecPolicy) GetHaLevel

func (x *VolumeSpecPolicy) GetHaLevel() int64

func (*VolumeSpecPolicy) GetHaLevelOperator

func (x *VolumeSpecPolicy) GetHaLevelOperator() VolumeSpecPolicy_PolicyOp

func (*VolumeSpecPolicy) GetHaLevelOpt

func (m *VolumeSpecPolicy) GetHaLevelOpt() isVolumeSpecPolicy_HaLevelOpt

func (*VolumeSpecPolicy) GetIoProfile

func (x *VolumeSpecPolicy) GetIoProfile() IoProfile

func (*VolumeSpecPolicy) GetIoProfileOpt

func (m *VolumeSpecPolicy) GetIoProfileOpt() isVolumeSpecPolicy_IoProfileOpt

func (*VolumeSpecPolicy) GetIoStrategy

func (x *VolumeSpecPolicy) GetIoStrategy() *IoStrategy

func (*VolumeSpecPolicy) GetIoThrottle

func (x *VolumeSpecPolicy) GetIoThrottle() *IoThrottle

func (*VolumeSpecPolicy) GetIoThrottleOpt

func (m *VolumeSpecPolicy) GetIoThrottleOpt() isVolumeSpecPolicy_IoThrottleOpt

func (*VolumeSpecPolicy) GetJournal

func (x *VolumeSpecPolicy) GetJournal() bool

func (*VolumeSpecPolicy) GetJournalOpt

func (m *VolumeSpecPolicy) GetJournalOpt() isVolumeSpecPolicy_JournalOpt

func (*VolumeSpecPolicy) GetMountOpt

func (m *VolumeSpecPolicy) GetMountOpt() isVolumeSpecPolicy_MountOpt

func (*VolumeSpecPolicy) GetMountOptSpec

func (x *VolumeSpecPolicy) GetMountOptSpec() *MountOptions

func (*VolumeSpecPolicy) GetNodiscard

func (x *VolumeSpecPolicy) GetNodiscard() bool

func (*VolumeSpecPolicy) GetNodiscardOpt

func (m *VolumeSpecPolicy) GetNodiscardOpt() isVolumeSpecPolicy_NodiscardOpt

func (*VolumeSpecPolicy) GetPassphrase

func (x *VolumeSpecPolicy) GetPassphrase() string

func (*VolumeSpecPolicy) GetPassphraseOpt

func (m *VolumeSpecPolicy) GetPassphraseOpt() isVolumeSpecPolicy_PassphraseOpt

func (*VolumeSpecPolicy) GetProxySpec

func (x *VolumeSpecPolicy) GetProxySpec() *ProxySpec

func (*VolumeSpecPolicy) GetProxySpecOpt

func (m *VolumeSpecPolicy) GetProxySpecOpt() isVolumeSpecPolicy_ProxySpecOpt

func (*VolumeSpecPolicy) GetProxyWrite

func (x *VolumeSpecPolicy) GetProxyWrite() bool

func (*VolumeSpecPolicy) GetProxyWriteOpt

func (m *VolumeSpecPolicy) GetProxyWriteOpt() isVolumeSpecPolicy_ProxyWriteOpt

func (*VolumeSpecPolicy) GetQueueDepth

func (x *VolumeSpecPolicy) GetQueueDepth() uint32

func (*VolumeSpecPolicy) GetQueueDepthOpt

func (m *VolumeSpecPolicy) GetQueueDepthOpt() isVolumeSpecPolicy_QueueDepthOpt

func (*VolumeSpecPolicy) GetReadahead

func (x *VolumeSpecPolicy) GetReadahead() bool

func (*VolumeSpecPolicy) GetReadaheadOpt

func (m *VolumeSpecPolicy) GetReadaheadOpt() isVolumeSpecPolicy_ReadaheadOpt

func (*VolumeSpecPolicy) GetReplicaSet

func (x *VolumeSpecPolicy) GetReplicaSet() *ReplicaSet

func (*VolumeSpecPolicy) GetScale

func (x *VolumeSpecPolicy) GetScale() uint32

func (*VolumeSpecPolicy) GetScaleOperator

func (x *VolumeSpecPolicy) GetScaleOperator() VolumeSpecPolicy_PolicyOp

func (*VolumeSpecPolicy) GetScaleOpt

func (m *VolumeSpecPolicy) GetScaleOpt() isVolumeSpecPolicy_ScaleOpt

func (*VolumeSpecPolicy) GetScanPolicy

func (x *VolumeSpecPolicy) GetScanPolicy() *ScanPolicy

func (*VolumeSpecPolicy) GetScanPolicyOpt

func (m *VolumeSpecPolicy) GetScanPolicyOpt() isVolumeSpecPolicy_ScanPolicyOpt

func (*VolumeSpecPolicy) GetShared

func (x *VolumeSpecPolicy) GetShared() bool

func (*VolumeSpecPolicy) GetSharedOpt

func (m *VolumeSpecPolicy) GetSharedOpt() isVolumeSpecPolicy_SharedOpt

func (*VolumeSpecPolicy) GetSharedv4

func (x *VolumeSpecPolicy) GetSharedv4() bool

func (*VolumeSpecPolicy) GetSharedv4MountOpt

func (m *VolumeSpecPolicy) GetSharedv4MountOpt() isVolumeSpecPolicy_Sharedv4MountOpt

func (*VolumeSpecPolicy) GetSharedv4MountOptSpec

func (x *VolumeSpecPolicy) GetSharedv4MountOptSpec() *MountOptions

func (*VolumeSpecPolicy) GetSharedv4Opt

func (m *VolumeSpecPolicy) GetSharedv4Opt() isVolumeSpecPolicy_Sharedv4Opt

func (*VolumeSpecPolicy) GetSharedv4ServiceSpec

func (x *VolumeSpecPolicy) GetSharedv4ServiceSpec() *Sharedv4ServiceSpec

func (*VolumeSpecPolicy) GetSharedv4ServiceSpecOpt

func (m *VolumeSpecPolicy) GetSharedv4ServiceSpecOpt() isVolumeSpecPolicy_Sharedv4ServiceSpecOpt

func (*VolumeSpecPolicy) GetSharedv4Spec

func (x *VolumeSpecPolicy) GetSharedv4Spec() *Sharedv4Spec

func (*VolumeSpecPolicy) GetSharedv4SpecOpt

func (m *VolumeSpecPolicy) GetSharedv4SpecOpt() isVolumeSpecPolicy_Sharedv4SpecOpt

func (*VolumeSpecPolicy) GetSize

func (x *VolumeSpecPolicy) GetSize() uint64

func (*VolumeSpecPolicy) GetSizeOperator

func (x *VolumeSpecPolicy) GetSizeOperator() VolumeSpecPolicy_PolicyOp

func (*VolumeSpecPolicy) GetSizeOpt

func (m *VolumeSpecPolicy) GetSizeOpt() isVolumeSpecPolicy_SizeOpt

func (*VolumeSpecPolicy) GetSnapshotInterval

func (x *VolumeSpecPolicy) GetSnapshotInterval() uint32

func (*VolumeSpecPolicy) GetSnapshotIntervalOperator

func (x *VolumeSpecPolicy) GetSnapshotIntervalOperator() VolumeSpecPolicy_PolicyOp

func (*VolumeSpecPolicy) GetSnapshotIntervalOpt

func (m *VolumeSpecPolicy) GetSnapshotIntervalOpt() isVolumeSpecPolicy_SnapshotIntervalOpt

func (*VolumeSpecPolicy) GetSnapshotSchedule

func (x *VolumeSpecPolicy) GetSnapshotSchedule() string

func (*VolumeSpecPolicy) GetSnapshotScheduleOpt

func (m *VolumeSpecPolicy) GetSnapshotScheduleOpt() isVolumeSpecPolicy_SnapshotScheduleOpt

func (*VolumeSpecPolicy) GetSticky

func (x *VolumeSpecPolicy) GetSticky() bool

func (*VolumeSpecPolicy) GetStickyOpt

func (m *VolumeSpecPolicy) GetStickyOpt() isVolumeSpecPolicy_StickyOpt

func (*VolumeSpecPolicy) GetVolumeLabels

func (x *VolumeSpecPolicy) GetVolumeLabels() map[string]string

func (*VolumeSpecPolicy) ProtoMessage

func (*VolumeSpecPolicy) ProtoMessage()

func (*VolumeSpecPolicy) ProtoReflect

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

func (*VolumeSpecPolicy) Reset

func (x *VolumeSpecPolicy) Reset()

func (*VolumeSpecPolicy) String

func (x *VolumeSpecPolicy) String() string

type VolumeSpecPolicy_AggregationLevel

type VolumeSpecPolicy_AggregationLevel struct {
	AggregationLevel uint32 `protobuf:"varint,19,opt,name=aggregation_level,json=aggregationLevel,proto3,oneof"`
}

type VolumeSpecPolicy_AutoFstrim

type VolumeSpecPolicy_AutoFstrim struct {
	AutoFstrim bool `protobuf:"varint,65,opt,name=auto_fstrim,json=autoFstrim,proto3,oneof"`
}

type VolumeSpecPolicy_Cos

type VolumeSpecPolicy_Cos struct {
	Cos CosType `protobuf:"varint,3,opt,name=cos,proto3,enum=openstorage.api.CosType,oneof"`
}

type VolumeSpecPolicy_Dedupe

type VolumeSpecPolicy_Dedupe struct {
	Dedupe bool `protobuf:"varint,5,opt,name=dedupe,proto3,oneof"`
}

type VolumeSpecPolicy_Encrypted

type VolumeSpecPolicy_Encrypted struct {
	Encrypted bool `protobuf:"varint,18,opt,name=encrypted,proto3,oneof"`
}

type VolumeSpecPolicy_ExportSpec

type VolumeSpecPolicy_ExportSpec struct {
	ExportSpec *ExportSpec `protobuf:"bytes,56,opt,name=export_spec,json=exportSpec,proto3,oneof"`
}

type VolumeSpecPolicy_Fastpath

type VolumeSpecPolicy_Fastpath struct {
	Fastpath bool `protobuf:"varint,62,opt,name=fastpath,proto3,oneof"`
}

type VolumeSpecPolicy_Group

type VolumeSpecPolicy_Group struct {
	Group *Group `protobuf:"bytes,14,opt,name=group,proto3,oneof"`
}

type VolumeSpecPolicy_HaLevel

type VolumeSpecPolicy_HaLevel struct {
	HaLevel int64 `protobuf:"varint,2,opt,name=ha_level,json=haLevel,proto3,oneof"`
}

type VolumeSpecPolicy_IoProfile

type VolumeSpecPolicy_IoProfile struct {
	IoProfile IoProfile `protobuf:"varint,4,opt,name=io_profile,json=ioProfile,proto3,enum=openstorage.api.IoProfile,oneof"`
}

type VolumeSpecPolicy_IoThrottle

type VolumeSpecPolicy_IoThrottle struct {
	IoThrottle *IoThrottle `protobuf:"bytes,66,opt,name=io_throttle,json=ioThrottle,proto3,oneof"`
}

type VolumeSpecPolicy_Journal

type VolumeSpecPolicy_Journal struct {
	Journal bool `protobuf:"varint,15,opt,name=journal,proto3,oneof"`
}

type VolumeSpecPolicy_MountOptSpec

type VolumeSpecPolicy_MountOptSpec struct {
	MountOptSpec *MountOptions `protobuf:"bytes,58,opt,name=mount_opt_spec,json=mountOptSpec,proto3,oneof"`
}

type VolumeSpecPolicy_Nodiscard

type VolumeSpecPolicy_Nodiscard struct {
	Nodiscard bool `protobuf:"varint,54,opt,name=nodiscard,proto3,oneof"`
}

type VolumeSpecPolicy_Passphrase

type VolumeSpecPolicy_Passphrase struct {
	Passphrase string `protobuf:"bytes,10,opt,name=passphrase,proto3,oneof"`
}

type VolumeSpecPolicy_PolicyOp

type VolumeSpecPolicy_PolicyOp int32

This defines an operator for the policy comparisons

const (
	// Policy will make sure the value must be equal
	VolumeSpecPolicy_Equal VolumeSpecPolicy_PolicyOp = 0
	// Policy will make sure the requested value must be greater than or equal
	VolumeSpecPolicy_Minimum VolumeSpecPolicy_PolicyOp = 1
	// Policy will make sure the requested value must be less than or equal
	VolumeSpecPolicy_Maximum VolumeSpecPolicy_PolicyOp = 2
)

func (VolumeSpecPolicy_PolicyOp) Descriptor

func (VolumeSpecPolicy_PolicyOp) Enum

func (VolumeSpecPolicy_PolicyOp) EnumDescriptor deprecated

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

Deprecated: Use VolumeSpecPolicy_PolicyOp.Descriptor instead.

func (VolumeSpecPolicy_PolicyOp) Number

func (VolumeSpecPolicy_PolicyOp) String

func (x VolumeSpecPolicy_PolicyOp) String() string

func (VolumeSpecPolicy_PolicyOp) Type

type VolumeSpecPolicy_ProxySpec

type VolumeSpecPolicy_ProxySpec struct {
	ProxySpec *ProxySpec `protobuf:"bytes,61,opt,name=proxy_spec,json=proxySpec,proto3,oneof"`
}

type VolumeSpecPolicy_ProxyWrite

type VolumeSpecPolicy_ProxyWrite struct {
	ProxyWrite bool `protobuf:"varint,60,opt,name=proxy_write,json=proxyWrite,proto3,oneof"`
}

type VolumeSpecPolicy_QueueDepth

type VolumeSpecPolicy_QueueDepth struct {
	QueueDepth uint32 `protobuf:"varint,17,opt,name=queue_depth,json=queueDepth,proto3,oneof"`
}

type VolumeSpecPolicy_Readahead

type VolumeSpecPolicy_Readahead struct {
	Readahead bool `protobuf:"varint,67,opt,name=readahead,proto3,oneof"`
}

type VolumeSpecPolicy_Scale

type VolumeSpecPolicy_Scale struct {
	Scale uint32 `protobuf:"varint,12,opt,name=scale,proto3,oneof"`
}

type VolumeSpecPolicy_ScanPolicy

type VolumeSpecPolicy_ScanPolicy struct {
	ScanPolicy *ScanPolicy `protobuf:"bytes,57,opt,name=scan_policy,json=scanPolicy,proto3,oneof"`
}

type VolumeSpecPolicy_Shared

type VolumeSpecPolicy_Shared struct {
	Shared bool `protobuf:"varint,8,opt,name=shared,proto3,oneof"`
}

type VolumeSpecPolicy_Sharedv4

type VolumeSpecPolicy_Sharedv4 struct {
	Sharedv4 bool `protobuf:"varint,16,opt,name=sharedv4,proto3,oneof"`
}

type VolumeSpecPolicy_Sharedv4MountOptSpec

type VolumeSpecPolicy_Sharedv4MountOptSpec struct {
	Sharedv4MountOptSpec *MountOptions `protobuf:"bytes,59,opt,name=sharedv4_mount_opt_spec,json=sharedv4MountOptSpec,proto3,oneof"`
}

type VolumeSpecPolicy_Sharedv4ServiceSpec

type VolumeSpecPolicy_Sharedv4ServiceSpec struct {
	Sharedv4ServiceSpec *Sharedv4ServiceSpec `protobuf:"bytes,63,opt,name=sharedv4_service_spec,json=sharedv4ServiceSpec,proto3,oneof"`
}

type VolumeSpecPolicy_Sharedv4Spec

type VolumeSpecPolicy_Sharedv4Spec struct {
	Sharedv4Spec *Sharedv4Spec `protobuf:"bytes,64,opt,name=sharedv4_spec,json=sharedv4Spec,proto3,oneof"`
}

type VolumeSpecPolicy_Size

type VolumeSpecPolicy_Size struct {
	Size uint64 `protobuf:"varint,1,opt,name=size,proto3,oneof"`
}

type VolumeSpecPolicy_SnapshotInterval

type VolumeSpecPolicy_SnapshotInterval struct {
	SnapshotInterval uint32 `protobuf:"varint,6,opt,name=snapshot_interval,json=snapshotInterval,proto3,oneof"`
}

type VolumeSpecPolicy_SnapshotSchedule

type VolumeSpecPolicy_SnapshotSchedule struct {
	SnapshotSchedule string `protobuf:"bytes,11,opt,name=snapshot_schedule,json=snapshotSchedule,proto3,oneof"`
}

type VolumeSpecPolicy_Sticky

type VolumeSpecPolicy_Sticky struct {
	Sticky bool `protobuf:"varint,13,opt,name=sticky,proto3,oneof"`
}

type VolumeSpecUpdate

type VolumeSpecUpdate struct {

	// Size specifies the thin provisioned volume size in bytes
	//
	// Types that are assignable to SizeOpt:
	//	*VolumeSpecUpdate_Size
	SizeOpt isVolumeSpecUpdate_SizeOpt `protobuf_oneof:"size_opt"`
	// HaLevel specifies the number of copies of data.
	//
	// Types that are assignable to HaLevelOpt:
	//	*VolumeSpecUpdate_HaLevel
	HaLevelOpt isVolumeSpecUpdate_HaLevelOpt `protobuf_oneof:"ha_level_opt"`
	// Cos specifies the relative class of service.
	//
	// Types that are assignable to CosOpt:
	//	*VolumeSpecUpdate_Cos
	CosOpt isVolumeSpecUpdate_CosOpt `protobuf_oneof:"cos_opt"`
	// IoProfile provides a hint about application using this volume.
	//
	// Types that are assignable to IoProfileOpt:
	//	*VolumeSpecUpdate_IoProfile
	IoProfileOpt isVolumeSpecUpdate_IoProfileOpt `protobuf_oneof:"io_profile_opt"`
	// Dedupe specifies if the volume data is to be de-duplicated.
	//
	// Types that are assignable to DedupeOpt:
	//	*VolumeSpecUpdate_Dedupe
	DedupeOpt isVolumeSpecUpdate_DedupeOpt `protobuf_oneof:"dedupe_opt"`
	// SnapshotInterval in minutes, set to 0 to disable snapshots
	//
	// Types that are assignable to SnapshotIntervalOpt:
	//	*VolumeSpecUpdate_SnapshotInterval
	SnapshotIntervalOpt isVolumeSpecUpdate_SnapshotIntervalOpt `protobuf_oneof:"snapshot_interval_opt"`
	// Shared is true if this volume can be remotely accessed.
	//
	// Types that are assignable to SharedOpt:
	//	*VolumeSpecUpdate_Shared
	SharedOpt isVolumeSpecUpdate_SharedOpt `protobuf_oneof:"shared_opt"`
	// ReplicaSet is the desired set of nodes for the volume data.
	ReplicaSet *ReplicaSet `protobuf:"bytes,12,opt,name=replica_set,json=replicaSet,proto3" json:"replica_set,omitempty"`
	// Passphrase for an encrypted volume
	//
	// Types that are assignable to PassphraseOpt:
	//	*VolumeSpecUpdate_Passphrase
	PassphraseOpt isVolumeSpecUpdate_PassphraseOpt `protobuf_oneof:"passphrase_opt"`
	// SnapshotSchedule a well known string that specifies when snapshots should be taken.
	//
	// Types that are assignable to SnapshotScheduleOpt:
	//	*VolumeSpecUpdate_SnapshotSchedule
	SnapshotScheduleOpt isVolumeSpecUpdate_SnapshotScheduleOpt `protobuf_oneof:"snapshot_schedule_opt"`
	// Scale allows autocreation of volumes.
	//
	// Types that are assignable to ScaleOpt:
	//	*VolumeSpecUpdate_Scale
	ScaleOpt isVolumeSpecUpdate_ScaleOpt `protobuf_oneof:"scale_opt"`
	// Sticky volumes cannot be deleted until the flag is removed.
	//
	// Types that are assignable to StickyOpt:
	//	*VolumeSpecUpdate_Sticky
	StickyOpt isVolumeSpecUpdate_StickyOpt `protobuf_oneof:"sticky_opt"`
	// Group identifies a consistency group
	//
	// Types that are assignable to GroupOpt:
	//	*VolumeSpecUpdate_Group
	GroupOpt isVolumeSpecUpdate_GroupOpt `protobuf_oneof:"group_opt"`
	// Journal is true if data for the volume goes into the journal.
	//
	// Types that are assignable to JournalOpt:
	//	*VolumeSpecUpdate_Journal
	JournalOpt isVolumeSpecUpdate_JournalOpt `protobuf_oneof:"journal_opt"`
	// Sharedv4 is true if this volume can be accessed via sharedv4.
	//
	// Types that are assignable to Sharedv4Opt:
	//	*VolumeSpecUpdate_Sharedv4
	Sharedv4Opt isVolumeSpecUpdate_Sharedv4Opt `protobuf_oneof:"sharedv4_opt"`
	// QueueDepth defines the desired block device queue depth
	//
	// Types that are assignable to QueueDepthOpt:
	//	*VolumeSpecUpdate_QueueDepth
	QueueDepthOpt isVolumeSpecUpdate_QueueDepthOpt `protobuf_oneof:"queue_depth_opt"`
	// Ownership volume information to update. If the value of `owner` in the
	// `ownership` message is an empty string then the value of `owner` in
	// the `VolumeSpec.Ownership.owner` will not be updated.
	Ownership *Ownership `protobuf:"bytes,26,opt,name=ownership,proto3" json:"ownership,omitempty"`
	// Nodiscard specifies if the volume will be mounted with discard support disabled.
	// i.e. FS will not release allocated blocks back to the backing storage pool.
	//
	// Types that are assignable to NodiscardOpt:
	//	*VolumeSpecUpdate_Nodiscard
	NodiscardOpt isVolumeSpecUpdate_NodiscardOpt `protobuf_oneof:"nodiscard_opt"`
	// IoStrategy preferred strategy for I/O.
	IoStrategy *IoStrategy `protobuf:"bytes,28,opt,name=io_strategy,json=ioStrategy,proto3" json:"io_strategy,omitempty"`
	// ExportSpec volume export spec
	//
	// Types that are assignable to ExportSpecOpt:
	//	*VolumeSpecUpdate_ExportSpec
	ExportSpecOpt isVolumeSpecUpdate_ExportSpecOpt `protobuf_oneof:"export_spec_opt"`
	// fastpath preference
	//
	// Types that are assignable to FastpathOpt:
	//	*VolumeSpecUpdate_Fastpath
	FastpathOpt isVolumeSpecUpdate_FastpathOpt `protobuf_oneof:"fastpath_opt"`
	// Xattr specifies implementation specific volume attributes
	//
	// Types that are assignable to XattrOpt:
	//	*VolumeSpecUpdate_Xattr
	XattrOpt isVolumeSpecUpdate_XattrOpt `protobuf_oneof:"xattr_opt"`
	// scan_policy_opt defines the filesystem check policy for the volume
	//
	// Types that are assignable to ScanPolicyOpt:
	//	*VolumeSpecUpdate_ScanPolicy
	ScanPolicyOpt isVolumeSpecUpdate_ScanPolicyOpt `protobuf_oneof:"scan_policy_opt"`
	// mount_opt provides the mount time options for a volume
	//
	// Types that are assignable to MountOpt:
	//	*VolumeSpecUpdate_MountOptSpec
	MountOpt isVolumeSpecUpdate_MountOpt `protobuf_oneof:"mount_opt"`
	// sharedv4_mount_opt provides the client side mount time options for a sharedv4 volume
	//
	// Types that are assignable to Sharedv4MountOpt:
	//	*VolumeSpecUpdate_Sharedv4MountOptSpec
	Sharedv4MountOpt isVolumeSpecUpdate_Sharedv4MountOpt `protobuf_oneof:"sharedv4_mount_opt"`
	// Proxy_write is true if proxy write replication is enabled for the volume
	//
	// Types that are assignable to ProxyWriteOpt:
	//	*VolumeSpecUpdate_ProxyWrite
	ProxyWriteOpt isVolumeSpecUpdate_ProxyWriteOpt `protobuf_oneof:"proxy_write_opt"`
	// proxy_spec_opt provides the spec for a proxy volume
	//
	// Types that are assignable to ProxySpecOpt:
	//	*VolumeSpecUpdate_ProxySpec
	ProxySpecOpt isVolumeSpecUpdate_ProxySpecOpt `protobuf_oneof:"proxy_spec_opt"`
	// sharedv4_service_spec_opt provides the spec for sharedv4 volume service
	//
	// Types that are assignable to Sharedv4ServiceSpecOpt:
	//	*VolumeSpecUpdate_Sharedv4ServiceSpec
	Sharedv4ServiceSpecOpt isVolumeSpecUpdate_Sharedv4ServiceSpecOpt `protobuf_oneof:"sharedv4_service_spec_opt"`
	// Sharedv4Spec specifies common properties of sharedv4 and sharedv4 service volumes
	//
	// Types that are assignable to Sharedv4SpecOpt:
	//	*VolumeSpecUpdate_Sharedv4Spec
	Sharedv4SpecOpt isVolumeSpecUpdate_Sharedv4SpecOpt `protobuf_oneof:"sharedv4_spec_opt"`
	// Autofstrim is set to true, to enable automatic fstrim on this volume
	//
	// Types that are assignable to AutoFstrimOpt:
	//	*VolumeSpecUpdate_AutoFstrim
	AutoFstrimOpt isVolumeSpecUpdate_AutoFstrimOpt `protobuf_oneof:"auto_fstrim_opt"`
	// io_throttle_opt defines the io throttle limits for the volume
	//
	// Types that are assignable to IoThrottleOpt:
	//	*VolumeSpecUpdate_IoThrottle
	IoThrottleOpt isVolumeSpecUpdate_IoThrottleOpt `protobuf_oneof:"io_throttle_opt"`
	// Enable readahead for the volume
	//
	// Types that are assignable to ReadaheadOpt:
	//	*VolumeSpecUpdate_Readahead
	ReadaheadOpt isVolumeSpecUpdate_ReadaheadOpt `protobuf_oneof:"readahead_opt"`
	// contains filtered or unexported fields
}

VolumeSpecUpdate provides a method to set any of the VolumeSpec of an existing volume

func (*VolumeSpecUpdate) Descriptor deprecated

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

Deprecated: Use VolumeSpecUpdate.ProtoReflect.Descriptor instead.

func (*VolumeSpecUpdate) GetAutoFstrim

func (x *VolumeSpecUpdate) GetAutoFstrim() bool

func (*VolumeSpecUpdate) GetAutoFstrimOpt

func (m *VolumeSpecUpdate) GetAutoFstrimOpt() isVolumeSpecUpdate_AutoFstrimOpt

func (*VolumeSpecUpdate) GetCos

func (x *VolumeSpecUpdate) GetCos() CosType

func (*VolumeSpecUpdate) GetCosOpt

func (m *VolumeSpecUpdate) GetCosOpt() isVolumeSpecUpdate_CosOpt

func (*VolumeSpecUpdate) GetDedupe

func (x *VolumeSpecUpdate) GetDedupe() bool

func (*VolumeSpecUpdate) GetDedupeOpt

func (m *VolumeSpecUpdate) GetDedupeOpt() isVolumeSpecUpdate_DedupeOpt

func (*VolumeSpecUpdate) GetExportSpec

func (x *VolumeSpecUpdate) GetExportSpec() *ExportSpec

func (*VolumeSpecUpdate) GetExportSpecOpt

func (m *VolumeSpecUpdate) GetExportSpecOpt() isVolumeSpecUpdate_ExportSpecOpt

func (*VolumeSpecUpdate) GetFastpath

func (x *VolumeSpecUpdate) GetFastpath() bool

func (*VolumeSpecUpdate) GetFastpathOpt

func (m *VolumeSpecUpdate) GetFastpathOpt() isVolumeSpecUpdate_FastpathOpt

func (*VolumeSpecUpdate) GetGroup

func (x *VolumeSpecUpdate) GetGroup() *Group

func (*VolumeSpecUpdate) GetGroupOpt

func (m *VolumeSpecUpdate) GetGroupOpt() isVolumeSpecUpdate_GroupOpt

func (*VolumeSpecUpdate) GetHaLevel

func (x *VolumeSpecUpdate) GetHaLevel() int64

func (*VolumeSpecUpdate) GetHaLevelOpt

func (m *VolumeSpecUpdate) GetHaLevelOpt() isVolumeSpecUpdate_HaLevelOpt

func (*VolumeSpecUpdate) GetIoProfile

func (x *VolumeSpecUpdate) GetIoProfile() IoProfile

func (*VolumeSpecUpdate) GetIoProfileOpt

func (m *VolumeSpecUpdate) GetIoProfileOpt() isVolumeSpecUpdate_IoProfileOpt

func (*VolumeSpecUpdate) GetIoStrategy

func (x *VolumeSpecUpdate) GetIoStrategy() *IoStrategy

func (*VolumeSpecUpdate) GetIoThrottle

func (x *VolumeSpecUpdate) GetIoThrottle() *IoThrottle

func (*VolumeSpecUpdate) GetIoThrottleOpt

func (m *VolumeSpecUpdate) GetIoThrottleOpt() isVolumeSpecUpdate_IoThrottleOpt

func (*VolumeSpecUpdate) GetJournal

func (x *VolumeSpecUpdate) GetJournal() bool

func (*VolumeSpecUpdate) GetJournalOpt

func (m *VolumeSpecUpdate) GetJournalOpt() isVolumeSpecUpdate_JournalOpt

func (*VolumeSpecUpdate) GetMountOpt

func (m *VolumeSpecUpdate) GetMountOpt() isVolumeSpecUpdate_MountOpt

func (*VolumeSpecUpdate) GetMountOptSpec

func (x *VolumeSpecUpdate) GetMountOptSpec() *MountOptions

func (*VolumeSpecUpdate) GetNodiscard

func (x *VolumeSpecUpdate) GetNodiscard() bool

func (*VolumeSpecUpdate) GetNodiscardOpt

func (m *VolumeSpecUpdate) GetNodiscardOpt() isVolumeSpecUpdate_NodiscardOpt

func (*VolumeSpecUpdate) GetOwnership

func (x *VolumeSpecUpdate) GetOwnership() *Ownership

func (*VolumeSpecUpdate) GetPassphrase

func (x *VolumeSpecUpdate) GetPassphrase() string

func (*VolumeSpecUpdate) GetPassphraseOpt

func (m *VolumeSpecUpdate) GetPassphraseOpt() isVolumeSpecUpdate_PassphraseOpt

func (*VolumeSpecUpdate) GetProxySpec

func (x *VolumeSpecUpdate) GetProxySpec() *ProxySpec

func (*VolumeSpecUpdate) GetProxySpecOpt

func (m *VolumeSpecUpdate) GetProxySpecOpt() isVolumeSpecUpdate_ProxySpecOpt

func (*VolumeSpecUpdate) GetProxyWrite

func (x *VolumeSpecUpdate) GetProxyWrite() bool

func (*VolumeSpecUpdate) GetProxyWriteOpt

func (m *VolumeSpecUpdate) GetProxyWriteOpt() isVolumeSpecUpdate_ProxyWriteOpt

func (*VolumeSpecUpdate) GetQueueDepth

func (x *VolumeSpecUpdate) GetQueueDepth() uint32

func (*VolumeSpecUpdate) GetQueueDepthOpt

func (m *VolumeSpecUpdate) GetQueueDepthOpt() isVolumeSpecUpdate_QueueDepthOpt

func (*VolumeSpecUpdate) GetReadahead

func (x *VolumeSpecUpdate) GetReadahead() bool

func (*VolumeSpecUpdate) GetReadaheadOpt

func (m *VolumeSpecUpdate) GetReadaheadOpt() isVolumeSpecUpdate_ReadaheadOpt

func (*VolumeSpecUpdate) GetReplicaSet

func (x *VolumeSpecUpdate) GetReplicaSet() *ReplicaSet

func (*VolumeSpecUpdate) GetScale

func (x *VolumeSpecUpdate) GetScale() uint32

func (*VolumeSpecUpdate) GetScaleOpt

func (m *VolumeSpecUpdate) GetScaleOpt() isVolumeSpecUpdate_ScaleOpt

func (*VolumeSpecUpdate) GetScanPolicy

func (x *VolumeSpecUpdate) GetScanPolicy() *ScanPolicy

func (*VolumeSpecUpdate) GetScanPolicyOpt

func (m *VolumeSpecUpdate) GetScanPolicyOpt() isVolumeSpecUpdate_ScanPolicyOpt

func (*VolumeSpecUpdate) GetShared

func (x *VolumeSpecUpdate) GetShared() bool

func (*VolumeSpecUpdate) GetSharedOpt

func (m *VolumeSpecUpdate) GetSharedOpt() isVolumeSpecUpdate_SharedOpt

func (*VolumeSpecUpdate) GetSharedv4

func (x *VolumeSpecUpdate) GetSharedv4() bool

func (*VolumeSpecUpdate) GetSharedv4MountOpt

func (m *VolumeSpecUpdate) GetSharedv4MountOpt() isVolumeSpecUpdate_Sharedv4MountOpt

func (*VolumeSpecUpdate) GetSharedv4MountOptSpec

func (x *VolumeSpecUpdate) GetSharedv4MountOptSpec() *MountOptions

func (*VolumeSpecUpdate) GetSharedv4Opt

func (m *VolumeSpecUpdate) GetSharedv4Opt() isVolumeSpecUpdate_Sharedv4Opt

func (*VolumeSpecUpdate) GetSharedv4ServiceSpec

func (x *VolumeSpecUpdate) GetSharedv4ServiceSpec() *Sharedv4ServiceSpec

func (*VolumeSpecUpdate) GetSharedv4ServiceSpecOpt

func (m *VolumeSpecUpdate) GetSharedv4ServiceSpecOpt() isVolumeSpecUpdate_Sharedv4ServiceSpecOpt

func (*VolumeSpecUpdate) GetSharedv4Spec

func (x *VolumeSpecUpdate) GetSharedv4Spec() *Sharedv4Spec

func (*VolumeSpecUpdate) GetSharedv4SpecOpt

func (m *VolumeSpecUpdate) GetSharedv4SpecOpt() isVolumeSpecUpdate_Sharedv4SpecOpt

func (*VolumeSpecUpdate) GetSize

func (x *VolumeSpecUpdate) GetSize() uint64

func (*VolumeSpecUpdate) GetSizeOpt

func (m *VolumeSpecUpdate) GetSizeOpt() isVolumeSpecUpdate_SizeOpt

func (*VolumeSpecUpdate) GetSnapshotInterval

func (x *VolumeSpecUpdate) GetSnapshotInterval() uint32

func (*VolumeSpecUpdate) GetSnapshotIntervalOpt

func (m *VolumeSpecUpdate) GetSnapshotIntervalOpt() isVolumeSpecUpdate_SnapshotIntervalOpt

func (*VolumeSpecUpdate) GetSnapshotSchedule

func (x *VolumeSpecUpdate) GetSnapshotSchedule() string

func (*VolumeSpecUpdate) GetSnapshotScheduleOpt

func (m *VolumeSpecUpdate) GetSnapshotScheduleOpt() isVolumeSpecUpdate_SnapshotScheduleOpt

func (*VolumeSpecUpdate) GetSticky

func (x *VolumeSpecUpdate) GetSticky() bool

func (*VolumeSpecUpdate) GetStickyOpt

func (m *VolumeSpecUpdate) GetStickyOpt() isVolumeSpecUpdate_StickyOpt

func (*VolumeSpecUpdate) GetXattr

func (x *VolumeSpecUpdate) GetXattr() Xattr_Value

func (*VolumeSpecUpdate) GetXattrOpt

func (m *VolumeSpecUpdate) GetXattrOpt() isVolumeSpecUpdate_XattrOpt

func (*VolumeSpecUpdate) ProtoMessage

func (*VolumeSpecUpdate) ProtoMessage()

func (*VolumeSpecUpdate) ProtoReflect

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

func (*VolumeSpecUpdate) Reset

func (x *VolumeSpecUpdate) Reset()

func (*VolumeSpecUpdate) String

func (x *VolumeSpecUpdate) String() string

type VolumeSpecUpdate_AutoFstrim

type VolumeSpecUpdate_AutoFstrim struct {
	AutoFstrim bool `protobuf:"varint,39,opt,name=auto_fstrim,json=autoFstrim,proto3,oneof"`
}

type VolumeSpecUpdate_Cos

type VolumeSpecUpdate_Cos struct {
	Cos CosType `protobuf:"varint,6,opt,name=cos,proto3,enum=openstorage.api.CosType,oneof"`
}

type VolumeSpecUpdate_Dedupe

type VolumeSpecUpdate_Dedupe struct {
	Dedupe bool `protobuf:"varint,8,opt,name=dedupe,proto3,oneof"`
}

type VolumeSpecUpdate_ExportSpec

type VolumeSpecUpdate_ExportSpec struct {
	ExportSpec *ExportSpec `protobuf:"bytes,29,opt,name=export_spec,json=exportSpec,proto3,oneof"`
}

type VolumeSpecUpdate_Fastpath

type VolumeSpecUpdate_Fastpath struct {
	Fastpath bool `protobuf:"varint,30,opt,name=fastpath,proto3,oneof"`
}

type VolumeSpecUpdate_Group

type VolumeSpecUpdate_Group struct {
	Group *Group `protobuf:"bytes,19,opt,name=group,proto3,oneof"`
}

type VolumeSpecUpdate_HaLevel

type VolumeSpecUpdate_HaLevel struct {
	HaLevel int64 `protobuf:"varint,5,opt,name=ha_level,json=haLevel,proto3,oneof"`
}

type VolumeSpecUpdate_IoProfile

type VolumeSpecUpdate_IoProfile struct {
	IoProfile IoProfile `protobuf:"varint,7,opt,name=io_profile,json=ioProfile,proto3,enum=openstorage.api.IoProfile,oneof"`
}

type VolumeSpecUpdate_IoThrottle

type VolumeSpecUpdate_IoThrottle struct {
	IoThrottle *IoThrottle `protobuf:"bytes,40,opt,name=io_throttle,json=ioThrottle,proto3,oneof"`
}

type VolumeSpecUpdate_Journal

type VolumeSpecUpdate_Journal struct {
	Journal bool `protobuf:"varint,23,opt,name=journal,proto3,oneof"`
}

type VolumeSpecUpdate_MountOptSpec

type VolumeSpecUpdate_MountOptSpec struct {
	MountOptSpec *MountOptions `protobuf:"bytes,33,opt,name=mount_opt_spec,json=mountOptSpec,proto3,oneof"`
}

type VolumeSpecUpdate_Nodiscard

type VolumeSpecUpdate_Nodiscard struct {
	Nodiscard bool `protobuf:"varint,27,opt,name=nodiscard,proto3,oneof"`
}

type VolumeSpecUpdate_Passphrase

type VolumeSpecUpdate_Passphrase struct {
	Passphrase string `protobuf:"bytes,15,opt,name=passphrase,proto3,oneof"`
}

type VolumeSpecUpdate_ProxySpec

type VolumeSpecUpdate_ProxySpec struct {
	ProxySpec *ProxySpec `protobuf:"bytes,36,opt,name=proxy_spec,json=proxySpec,proto3,oneof"`
}

type VolumeSpecUpdate_ProxyWrite

type VolumeSpecUpdate_ProxyWrite struct {
	ProxyWrite bool `protobuf:"varint,35,opt,name=proxy_write,json=proxyWrite,proto3,oneof"`
}

type VolumeSpecUpdate_QueueDepth

type VolumeSpecUpdate_QueueDepth struct {
	QueueDepth uint32 `protobuf:"varint,25,opt,name=queue_depth,json=queueDepth,proto3,oneof"`
}

type VolumeSpecUpdate_Readahead

type VolumeSpecUpdate_Readahead struct {
	Readahead bool `protobuf:"varint,41,opt,name=readahead,proto3,oneof"`
}

type VolumeSpecUpdate_Scale

type VolumeSpecUpdate_Scale struct {
	Scale uint32 `protobuf:"varint,17,opt,name=scale,proto3,oneof"`
}

type VolumeSpecUpdate_ScanPolicy

type VolumeSpecUpdate_ScanPolicy struct {
	ScanPolicy *ScanPolicy `protobuf:"bytes,32,opt,name=scan_policy,json=scanPolicy,proto3,oneof"`
}

type VolumeSpecUpdate_Shared

type VolumeSpecUpdate_Shared struct {
	Shared bool `protobuf:"varint,11,opt,name=shared,proto3,oneof"`
}

type VolumeSpecUpdate_Sharedv4

type VolumeSpecUpdate_Sharedv4 struct {
	Sharedv4 bool `protobuf:"varint,24,opt,name=sharedv4,proto3,oneof"`
}

type VolumeSpecUpdate_Sharedv4MountOptSpec

type VolumeSpecUpdate_Sharedv4MountOptSpec struct {
	Sharedv4MountOptSpec *MountOptions `protobuf:"bytes,34,opt,name=sharedv4_mount_opt_spec,json=sharedv4MountOptSpec,proto3,oneof"`
}

type VolumeSpecUpdate_Sharedv4ServiceSpec

type VolumeSpecUpdate_Sharedv4ServiceSpec struct {
	Sharedv4ServiceSpec *Sharedv4ServiceSpec `protobuf:"bytes,37,opt,name=sharedv4_service_spec,json=sharedv4ServiceSpec,proto3,oneof"`
}

type VolumeSpecUpdate_Sharedv4Spec

type VolumeSpecUpdate_Sharedv4Spec struct {
	Sharedv4Spec *Sharedv4Spec `protobuf:"bytes,38,opt,name=sharedv4_spec,json=sharedv4Spec,proto3,oneof"`
}

type VolumeSpecUpdate_Size

type VolumeSpecUpdate_Size struct {
	Size uint64 `protobuf:"varint,2,opt,name=size,proto3,oneof"`
}

type VolumeSpecUpdate_SnapshotInterval

type VolumeSpecUpdate_SnapshotInterval struct {
	SnapshotInterval uint32 `protobuf:"varint,9,opt,name=snapshot_interval,json=snapshotInterval,proto3,oneof"`
}

type VolumeSpecUpdate_SnapshotSchedule

type VolumeSpecUpdate_SnapshotSchedule struct {
	SnapshotSchedule string `protobuf:"bytes,16,opt,name=snapshot_schedule,json=snapshotSchedule,proto3,oneof"`
}

type VolumeSpecUpdate_Sticky

type VolumeSpecUpdate_Sticky struct {
	Sticky bool `protobuf:"varint,18,opt,name=sticky,proto3,oneof"`
}

type VolumeSpecUpdate_Xattr

type VolumeSpecUpdate_Xattr struct {
	Xattr Xattr_Value `protobuf:"varint,31,opt,name=xattr,proto3,enum=openstorage.api.Xattr_Value,oneof"`
}

type VolumeState

type VolumeState int32

VolumeState represents the state of a volume.

const (
	VolumeState_VOLUME_STATE_NONE VolumeState = 0
	// Volume is transitioning to new state
	VolumeState_VOLUME_STATE_PENDING VolumeState = 1
	// Volume is ready to be assigned to a container
	VolumeState_VOLUME_STATE_AVAILABLE VolumeState = 2
	// Volume is attached to container
	VolumeState_VOLUME_STATE_ATTACHED VolumeState = 3
	// Volume is detached but associated with a container
	VolumeState_VOLUME_STATE_DETACHED VolumeState = 4
	// Volume detach is in progress
	VolumeState_VOLUME_STATE_DETATCHING VolumeState = 5
	// Volume is in error state
	VolumeState_VOLUME_STATE_ERROR VolumeState = 6
	// Volume is deleted, it will remain in this state
	// while resources are asynchronously reclaimed
	VolumeState_VOLUME_STATE_DELETED VolumeState = 7
	// Volume is trying to be detached
	VolumeState_VOLUME_STATE_TRY_DETACHING VolumeState = 8
	// Volume is undergoing restore
	VolumeState_VOLUME_STATE_RESTORE VolumeState = 9
)

func VolumeStateSimpleValueOf

func VolumeStateSimpleValueOf(s string) (VolumeState, error)

VolumeStateSimpleValueOf returns the string format of VolumeState

func (VolumeState) Descriptor

func (VolumeState) Enum

func (x VolumeState) Enum() *VolumeState

func (VolumeState) EnumDescriptor deprecated

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

Deprecated: Use VolumeState.Descriptor instead.

func (VolumeState) Number

func (x VolumeState) Number() protoreflect.EnumNumber

func (VolumeState) SimpleString

func (x VolumeState) SimpleString() string

SimpleString returns the string format of VolumeState

func (VolumeState) String

func (x VolumeState) String() string

func (VolumeState) Type

type VolumeStateAction

type VolumeStateAction struct {

	// Attach or Detach volume
	Attach VolumeActionParam `protobuf:"varint,1,opt,name=attach,proto3,enum=openstorage.api.VolumeActionParam" json:"attach,omitempty"`
	// Mount or unmount volume
	Mount VolumeActionParam `protobuf:"varint,2,opt,name=mount,proto3,enum=openstorage.api.VolumeActionParam" json:"mount,omitempty"`
	// MountPath Path where the device is mounted
	MountPath string `protobuf:"bytes,3,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// DevicePath Path returned in attach
	DevicePath string `protobuf:"bytes,4,opt,name=device_path,json=devicePath,proto3" json:"device_path,omitempty"`
	// contains filtered or unexported fields
}

VolumeStateAction specifies desired actions.

func (*VolumeStateAction) Descriptor deprecated

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

Deprecated: Use VolumeStateAction.ProtoReflect.Descriptor instead.

func (*VolumeStateAction) GetAttach

func (x *VolumeStateAction) GetAttach() VolumeActionParam

func (*VolumeStateAction) GetDevicePath

func (x *VolumeStateAction) GetDevicePath() string

func (*VolumeStateAction) GetMount

func (x *VolumeStateAction) GetMount() VolumeActionParam

func (*VolumeStateAction) GetMountPath

func (x *VolumeStateAction) GetMountPath() string

func (*VolumeStateAction) IsAttach

func (m *VolumeStateAction) IsAttach() bool

Helpers for volume state action

func (*VolumeStateAction) IsDetach

func (m *VolumeStateAction) IsDetach() bool

func (*VolumeStateAction) IsMount

func (m *VolumeStateAction) IsMount() bool

func (*VolumeStateAction) IsUnMount

func (m *VolumeStateAction) IsUnMount() bool

func (*VolumeStateAction) ProtoMessage

func (*VolumeStateAction) ProtoMessage()

func (*VolumeStateAction) ProtoReflect

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

func (*VolumeStateAction) Reset

func (x *VolumeStateAction) Reset()

func (*VolumeStateAction) String

func (x *VolumeStateAction) String() string

type VolumeStatus

type VolumeStatus int32

VolumeStatus represents a health status for a volume.

const (
	VolumeStatus_VOLUME_STATUS_NONE VolumeStatus = 0
	// Volume is not present
	VolumeStatus_VOLUME_STATUS_NOT_PRESENT VolumeStatus = 1
	// Volume is healthy
	VolumeStatus_VOLUME_STATUS_UP VolumeStatus = 2
	// Volume is in fail mode
	VolumeStatus_VOLUME_STATUS_DOWN VolumeStatus = 3
	// Volume is up but with degraded performance
	// In a RAID group, this may indicate a problem with one or more drives
	VolumeStatus_VOLUME_STATUS_DEGRADED VolumeStatus = 4
)

func VolumeStatusSimpleValueOf

func VolumeStatusSimpleValueOf(s string) (VolumeStatus, error)

VolumeStatusSimpleValueOf returns the string format of VolumeStatus

func (VolumeStatus) Descriptor

func (VolumeStatus) Enum

func (x VolumeStatus) Enum() *VolumeStatus

func (VolumeStatus) EnumDescriptor deprecated

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

Deprecated: Use VolumeStatus.Descriptor instead.

func (VolumeStatus) Number

func (VolumeStatus) SimpleString

func (x VolumeStatus) SimpleString() string

SimpleString returns the string format of VolumeStatus

func (VolumeStatus) String

func (x VolumeStatus) String() string

func (VolumeStatus) Type

type VolumeUsage

type VolumeUsage struct {

	// id for the volume/snapshot
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// name of the volume/snapshot
	VolumeName string `protobuf:"bytes,2,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
	// uuid of the pool that this volume belongs to
	PoolUuid string `protobuf:"bytes,3,opt,name=pool_uuid,json=poolUuid,proto3" json:"pool_uuid,omitempty"`
	// size in bytes exclusively used by the volume/snapshot
	ExclusiveBytes uint64 `protobuf:"varint,4,opt,name=exclusive_bytes,json=exclusiveBytes,proto3" json:"exclusive_bytes,omitempty"`
	//  size in bytes by the volume/snapshot
	TotalBytes uint64 `protobuf:"varint,5,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	// set to true if this volume is snapshot created by cloudbackups
	LocalCloudSnapshot bool `protobuf:"varint,6,opt,name=local_cloud_snapshot,json=localCloudSnapshot,proto3" json:"local_cloud_snapshot,omitempty"`
	// contains filtered or unexported fields
}

Provides volume's exclusive bytes and its total usage. This cannot be retrieved individually and is obtained as part node's usage for a given node.

func (*VolumeUsage) Descriptor deprecated

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

Deprecated: Use VolumeUsage.ProtoReflect.Descriptor instead.

func (*VolumeUsage) GetExclusiveBytes

func (x *VolumeUsage) GetExclusiveBytes() uint64

func (*VolumeUsage) GetLocalCloudSnapshot

func (x *VolumeUsage) GetLocalCloudSnapshot() bool

func (*VolumeUsage) GetPoolUuid

func (x *VolumeUsage) GetPoolUuid() string

func (*VolumeUsage) GetTotalBytes

func (x *VolumeUsage) GetTotalBytes() uint64

func (*VolumeUsage) GetVolumeId

func (x *VolumeUsage) GetVolumeId() string

func (*VolumeUsage) GetVolumeName

func (x *VolumeUsage) GetVolumeName() string

func (*VolumeUsage) ProtoMessage

func (*VolumeUsage) ProtoMessage()

func (*VolumeUsage) ProtoReflect

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

func (*VolumeUsage) Reset

func (x *VolumeUsage) Reset()

func (*VolumeUsage) String

func (x *VolumeUsage) String() string

type VolumeUsageByNode

type VolumeUsageByNode struct {

	// VolumeUsage returns list of VolumeUsage for given node
	VolumeUsage []*VolumeUsage `protobuf:"bytes,1,rep,name=volume_usage,json=volumeUsage,proto3" json:"volume_usage,omitempty"`
	// contains filtered or unexported fields
}

Provides capacity usage of a node in terms of volumes. Returns VolumeUsage for all the volume/snapshot(s) in the node.

func (*VolumeUsageByNode) Descriptor deprecated

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

Deprecated: Use VolumeUsageByNode.ProtoReflect.Descriptor instead.

func (*VolumeUsageByNode) GetVolumeUsage

func (x *VolumeUsageByNode) GetVolumeUsage() []*VolumeUsage

func (*VolumeUsageByNode) ProtoMessage

func (*VolumeUsageByNode) ProtoMessage()

func (*VolumeUsageByNode) ProtoReflect

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

func (*VolumeUsageByNode) Reset

func (x *VolumeUsageByNode) Reset()

func (*VolumeUsageByNode) String

func (x *VolumeUsageByNode) String() string

type Xattr

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

Xattr defines implementation specific volume attribute

func (*Xattr) Descriptor deprecated

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

Deprecated: Use Xattr.ProtoReflect.Descriptor instead.

func (*Xattr) ProtoMessage

func (*Xattr) ProtoMessage()

func (*Xattr) ProtoReflect

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

func (*Xattr) Reset

func (x *Xattr) Reset()

func (*Xattr) String

func (x *Xattr) String() string

type Xattr_Value

type Xattr_Value int32
const (
	// Value is uninitialized or unknown
	Xattr_UNSPECIFIED Xattr_Value = 0
	// Enable on-demand copy-on-write on the volume
	Xattr_COW_ON_DEMAND Xattr_Value = 1
)

func (Xattr_Value) Descriptor

func (Xattr_Value) Enum

func (x Xattr_Value) Enum() *Xattr_Value

func (Xattr_Value) EnumDescriptor deprecated

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

Deprecated: Use Xattr_Value.Descriptor instead.

func (Xattr_Value) Number

func (x Xattr_Value) Number() protoreflect.EnumNumber

func (Xattr_Value) String

func (x Xattr_Value) String() string

func (Xattr_Value) Type

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
sdk
Package sdk is the gRPC implementation of the SDK gRPC server Copyright 2018 Portworx Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Package sdk is the gRPC implementation of the SDK gRPC server Copyright 2018 Portworx Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

Jump to

Keyboard shortcuts

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