api

package
v9.4.10+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 21 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"
	SpecFastpath                            = "fastpath"
	SpecSharedv4ServiceType                 = "sharedv4_svc_type"
	SpecSharedv4ServiceName                 = "sharedv4_svc_name"
	SpecSharedv4FailoverStrategy            = "sharedv4_failover_strategy"
	SpecSharedv4FailoverStrategyNormal      = "normal"
	SpecSharedv4FailoverStrategyAggressive  = "aggressive"
	SpecSharedv4FailoverStrategyUnspecified = ""
	SpecBackendType                         = "backend"
	SpecBackendPureBlock                    = "pure_block"
	SpecBackendPureFile                     = "pure_file"
	SpecPureFileExportRules                 = "pure_export_rules"
	SpecAutoFstrim                          = "auto_fstrim"
	SpecIoThrottleRdIOPS                    = "io_throttle_rd_iops"
	SpecIoThrottleWrIOPS                    = "io_throttle_wr_iops"
	SpecIoThrottleRdBW                      = "io_throttle_rd_bw"
	SpecIoThrottleWrBW                      = "io_throttle_wr_bw"
)

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 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",
}
View Source
var 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,
}
View Source
var AttachState_name = map[int32]string{
	0: "ATTACH_STATE_EXTERNAL",
	1: "ATTACH_STATE_INTERNAL",
	2: "ATTACH_STATE_INTERNAL_SWITCH",
}
View Source
var AttachState_value = map[string]int32{
	"ATTACH_STATE_EXTERNAL":        0,
	"ATTACH_STATE_INTERNAL":        1,
	"ATTACH_STATE_INTERNAL_SWITCH": 2,
}
View Source
var CloudMigrate_OperationType_name = map[int32]string{
	0: "InvalidType",
	1: "MigrateCluster",
	2: "MigrateVolume",
	3: "MigrateVolumeGroup",
}
View Source
var CloudMigrate_OperationType_value = map[string]int32{
	"InvalidType":        0,
	"MigrateCluster":     1,
	"MigrateVolume":      2,
	"MigrateVolumeGroup": 3,
}
View Source
var CloudMigrate_Stage_name = map[int32]string{
	0: "InvalidStage",
	1: "Backup",
	2: "Restore",
	3: "VolumeUpdate",
	4: "Done",
}
View Source
var CloudMigrate_Stage_value = map[string]int32{
	"InvalidStage": 0,
	"Backup":       1,
	"Restore":      2,
	"VolumeUpdate": 3,
	"Done":         4,
}
View Source
var CloudMigrate_Status_name = map[int32]string{
	0: "InvalidStatus",
	1: "Queued",
	2: "Initialized",
	3: "InProgress",
	4: "Failed",
	5: "Complete",
	6: "Canceled",
}
View Source
var CloudMigrate_Status_value = map[string]int32{
	"InvalidStatus": 0,
	"Queued":        1,
	"Initialized":   2,
	"InProgress":    3,
	"Failed":        4,
	"Complete":      5,
	"Canceled":      6,
}
View Source
var ClusterPairMode_Mode_name = map[int32]string{
	0: "Default",
	1: "DisasterRecovery",
	2: "OneTimeMigration",
}
View Source
var ClusterPairMode_Mode_value = map[string]int32{
	"Default":          0,
	"DisasterRecovery": 1,
	"OneTimeMigration": 2,
}
View Source
var CosType_name = map[int32]string{
	0: "NONE",
	1: "LOW",
	2: "MEDIUM",
	3: "HIGH",
}
View Source
var CosType_value = map[string]int32{
	"NONE":   0,
	"LOW":    1,
	"MEDIUM": 2,
	"HIGH":   3,
}
View Source
var DiagsCollectionStatus_State_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "PENDING",
	2: "RUNNING",
	3: "DONE",
	4: "FAILED",
}
View Source
var DiagsCollectionStatus_State_value = map[string]int32{
	"UNSPECIFIED": 0,
	"PENDING":     1,
	"RUNNING":     2,
	"DONE":        3,
	"FAILED":      4,
}
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",
}
View Source
var 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,
}
View Source
var EnforcementType_name = map[int32]string{
	0: "required",
	1: "preferred",
}
View Source
var EnforcementType_value = map[string]int32{
	"required":  0,
	"preferred": 1,
}
View Source
var ExportProtocol_name = map[int32]string{
	0: "INVALID",
	1: "PXD",
	2: "ISCSI",
	3: "NFS",
	4: "CUSTOM",
}
View Source
var ExportProtocol_value = map[string]int32{
	"INVALID": 0,
	"PXD":     1,
	"ISCSI":   2,
	"NFS":     3,
	"CUSTOM":  4,
}
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",
}
View Source
var 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,
}
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",
}
View Source
var FastpathProtocol_value = map[string]int32{
	"FASTPATH_PROTO_UNKNOWN":    0,
	"FASTPATH_PROTO_NVMEOF_TCP": 1,
	"FASTPATH_PROTO_ISCSI":      2,
	"FASTPATH_PROTO_LOCAL":      3,
}
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",
}
View Source
var FastpathStatus_value = map[string]int32{
	"FASTPATH_UNKNOWN":     0,
	"FASTPATH_ACTIVE":      1,
	"FASTPATH_INACTIVE":    2,
	"FASTPATH_UNSUPPORTED": 3,
	"FASTPATH_PENDING":     4,
	"FASTPATH_ERRORED":     5,
}
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",
}
View Source
var 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,
}
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",
}
View Source
var 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,
}
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",
}
View Source
var 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,
}
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",
}
View Source
var 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,
}
View Source
var HardwareType_name = map[int32]string{
	0: "UnknownMachine",
	1: "VirtualMachine",
	2: "BareMetalMachine",
}
View Source
var HardwareType_value = map[string]int32{
	"UnknownMachine":   0,
	"VirtualMachine":   1,
	"BareMetalMachine": 2,
}
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",
}
View Source
var 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,
}
View Source
var Job_State_name = map[int32]string{
	0: "UNSPECIFIED_STATE",
	1: "PENDING",
	2: "RUNNING",
	3: "DONE",
	4: "PAUSED",
	5: "CANCELLED",
	6: "FAILED",
}
View Source
var Job_State_value = map[string]int32{
	"UNSPECIFIED_STATE": 0,
	"PENDING":           1,
	"RUNNING":           2,
	"DONE":              3,
	"PAUSED":            4,
	"CANCELLED":         5,
	"FAILED":            6,
}
View Source
var Job_Type_name = map[int32]string{
	0: "UNSPECIFIED_TYPE",
	1: "NONE",
	2: "DRAIN_ATTACHMENTS",
	3: "CLOUD_DRIVE_TRANSFER",
	4: "COLLECT_DIAGS",
}
View Source
var Job_Type_value = map[string]int32{
	"UNSPECIFIED_TYPE":     0,
	"NONE":                 1,
	"DRAIN_ATTACHMENTS":    2,
	"CLOUD_DRIVE_TRANSFER": 3,
	"COLLECT_DIAGS":        4,
}
View Source
var LabelSelectorRequirement_Operator_name = map[int32]string{
	0: "In",
	1: "NotIn",
	2: "Exists",
	3: "DoesNotExist",
	4: "Gt",
	5: "Lt",
}
View Source
var LabelSelectorRequirement_Operator_value = map[string]int32{
	"In":           0,
	"NotIn":        1,
	"Exists":       2,
	"DoesNotExist": 3,
	"Gt":           4,
	"Lt":           5,
}
View Source
var OperationFlags_name = map[int32]string{
	0: "OP_FLAGS_UNKNOWN",
	1: "OP_FLAGS_NONE",
	2: "OP_FLAGS_DETACH_FORCE",
}
View Source
var OperationFlags_value = map[string]int32{
	"OP_FLAGS_UNKNOWN":      0,
	"OP_FLAGS_NONE":         1,
	"OP_FLAGS_DETACH_FORCE": 2,
}
View Source
var Ownership_AccessType_name = map[int32]string{
	0: "Read",
	1: "Write",
	2: "Admin",
}
View Source
var Ownership_AccessType_value = map[string]int32{
	"Read":  0,
	"Write": 1,
	"Admin": 2,
}
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",
}
View Source
var 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,
}
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",
}
View Source
var 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,
}
View Source
var RestoreParamBoolType_name = map[int32]string{
	0: "PARAM_BKUPSRC",
	1: "PARAM_FALSE",
	2: "PARAM_TRUE",
}
View Source
var RestoreParamBoolType_value = map[string]int32{
	"PARAM_BKUPSRC": 0,
	"PARAM_FALSE":   1,
	"PARAM_TRUE":    2,
}
View Source
var ScanPolicy_ScanAction_name = map[int32]string{
	0: "SCAN_ACTION_NONE",
	1: "SCAN_ACTION_SCAN_ONLY",
	2: "SCAN_ACTION_SCAN_REPAIR",
}
View Source
var ScanPolicy_ScanAction_value = map[string]int32{
	"SCAN_ACTION_NONE":        0,
	"SCAN_ACTION_SCAN_ONLY":   1,
	"SCAN_ACTION_SCAN_REPAIR": 2,
}
View Source
var ScanPolicy_ScanTrigger_name = map[int32]string{
	0: "SCAN_TRIGGER_NONE",
	1: "SCAN_TRIGGER_ON_MOUNT",
	2: "SCAN_TRIGGER_ON_NEXT_MOUNT",
}
View Source
var ScanPolicy_ScanTrigger_value = map[string]int32{
	"SCAN_TRIGGER_NONE":          0,
	"SCAN_TRIGGER_ON_MOUNT":      1,
	"SCAN_TRIGGER_ON_NEXT_MOUNT": 2,
}
View Source
var SdkCloudBackupClusterType_Value_name = map[int32]string{
	0: "UNKNOWN",
	1: "CURRENT_CLUSTER",
	2: "OTHER_CLUSTER",
}
View Source
var SdkCloudBackupClusterType_Value_value = map[string]int32{
	"UNKNOWN":         0,
	"CURRENT_CLUSTER": 1,
	"OTHER_CLUSTER":   2,
}
View Source
var SdkCloudBackupOpType_name = map[int32]string{
	0: "SdkCloudBackupOpTypeUnknown",
	1: "SdkCloudBackupOpTypeBackupOp",
	2: "SdkCloudBackupOpTypeRestoreOp",
}
View Source
var SdkCloudBackupOpType_value = map[string]int32{
	"SdkCloudBackupOpTypeUnknown":   0,
	"SdkCloudBackupOpTypeBackupOp":  1,
	"SdkCloudBackupOpTypeRestoreOp": 2,
}
View Source
var SdkCloudBackupRequestedState_name = map[int32]string{
	0: "SdkCloudBackupRequestedStateUnknown",
	1: "SdkCloudBackupRequestedStatePause",
	2: "SdkCloudBackupRequestedStateResume",
	3: "SdkCloudBackupRequestedStateStop",
}
View Source
var SdkCloudBackupRequestedState_value = map[string]int32{
	"SdkCloudBackupRequestedStateUnknown": 0,
	"SdkCloudBackupRequestedStatePause":   1,
	"SdkCloudBackupRequestedStateResume":  2,
	"SdkCloudBackupRequestedStateStop":    3,
}
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",
}
View Source
var 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,
}
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",
}
View Source
var 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,
}
View Source
var SdkStoragePool_OperationStatus_name = map[int32]string{
	0: "OPERATION_PENDING",
	1: "OPERATION_IN_PROGRESS",
	2: "OPERATION_SUCCESSFUL",
	3: "OPERATION_FAILED",
}
View Source
var SdkStoragePool_OperationStatus_value = map[string]int32{
	"OPERATION_PENDING":     0,
	"OPERATION_IN_PROGRESS": 1,
	"OPERATION_SUCCESSFUL":  2,
	"OPERATION_FAILED":      3,
}
View Source
var SdkStoragePool_OperationType_name = map[int32]string{
	0: "OPERATION_RESIZE",
}
View Source
var SdkStoragePool_OperationType_value = map[string]int32{
	"OPERATION_RESIZE": 0,
}
View Source
var SdkStoragePool_ResizeOperationType_name = map[int32]string{
	0: "RESIZE_TYPE_AUTO",
	1: "RESIZE_TYPE_ADD_DISK",
	2: "RESIZE_TYPE_RESIZE_DISK",
}
View Source
var SdkStoragePool_ResizeOperationType_value = map[string]int32{
	"RESIZE_TYPE_AUTO":        0,
	"RESIZE_TYPE_ADD_DISK":    1,
	"RESIZE_TYPE_RESIZE_DISK": 2,
}
View Source
var SdkTimeWeekday_name = map[int32]string{
	0: "SdkTimeWeekdaySunday",
	1: "SdkTimeWeekdayMonday",
	2: "SdkTimeWeekdayTuesday",
	3: "SdkTimeWeekdayWednesday",
	4: "SdkTimeWeekdayThursday",
	5: "SdkTimeWeekdayFriday",
	6: "SdkTimeWeekdaySaturday",
}
View Source
var SdkTimeWeekday_value = map[string]int32{
	"SdkTimeWeekdaySunday":    0,
	"SdkTimeWeekdayMonday":    1,
	"SdkTimeWeekdayTuesday":   2,
	"SdkTimeWeekdayWednesday": 3,
	"SdkTimeWeekdayThursday":  4,
	"SdkTimeWeekdayFriday":    5,
	"SdkTimeWeekdaySaturday":  6,
}
View Source
var SdkVersion_Version_name = map[int32]string{
	0: "MUST_HAVE_ZERO_VALUE",

	101: "Minor",
	25:  "Patch",
}
View Source
var SdkVersion_Version_value = map[string]int32{
	"MUST_HAVE_ZERO_VALUE": 0,
	"Major":                0,
	"Minor":                101,
	"Patch":                25,
}
View Source
var SeverityType_name = map[int32]string{
	0: "SEVERITY_TYPE_NONE",
	1: "SEVERITY_TYPE_ALARM",
	2: "SEVERITY_TYPE_WARNING",
	3: "SEVERITY_TYPE_NOTIFY",
}
View Source
var SeverityType_value = map[string]int32{
	"SEVERITY_TYPE_NONE":    0,
	"SEVERITY_TYPE_ALARM":   1,
	"SEVERITY_TYPE_WARNING": 2,
	"SEVERITY_TYPE_NOTIFY":  3,
}
View Source
var Sharedv4FailoverStrategy_Value_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "AGGRESSIVE",
	2: "NORMAL",
}
View Source
var Sharedv4FailoverStrategy_Value_value = map[string]int32{
	"UNSPECIFIED": 0,
	"AGGRESSIVE":  1,
	"NORMAL":      2,
}
View Source
var Sharedv4ServiceSpec_ServiceType_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "NODEPORT",
	2: "CLUSTERIP",
	3: "LOADBALANCER",
}
View Source
var Sharedv4ServiceSpec_ServiceType_value = map[string]int32{
	"UNSPECIFIED":  0,
	"NODEPORT":     1,
	"CLUSTERIP":    2,
	"LOADBALANCER": 3,
}
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",
}
View Source
var 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,
}
View Source
var StorageMedium_name = map[int32]string{
	0: "STORAGE_MEDIUM_MAGNETIC",
	1: "STORAGE_MEDIUM_SSD",
	2: "STORAGE_MEDIUM_NVME",
}
View Source
var StorageMedium_value = map[string]int32{
	"STORAGE_MEDIUM_MAGNETIC": 0,
	"STORAGE_MEDIUM_SSD":      1,
	"STORAGE_MEDIUM_NVME":     2,
}
View Source
var StorageNode_SecurityStatus_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "UNSECURED",
	2: "SECURED",
	3: "SECURED_ALLOW_SECURITY_REMOVAL",
}
View Source
var StorageNode_SecurityStatus_value = map[string]int32{
	"UNSPECIFIED":                    0,
	"UNSECURED":                      1,
	"SECURED":                        2,
	"SECURED_ALLOW_SECURITY_REMOVAL": 3,
}
View Source
var StorageRebalanceAudit_StorageRebalanceAction_name = map[int32]string{
	0: "ADD_REPLICA",
	1: "REMOVE_REPLICA",
}
View Source
var StorageRebalanceAudit_StorageRebalanceAction_value = map[string]int32{
	"ADD_REPLICA":    0,
	"REMOVE_REPLICA": 1,
}
View Source
var StorageRebalanceJobState_name = map[int32]string{
	0: "PENDING",
	1: "RUNNING",
	2: "DONE",
	3: "PAUSED",
	4: "CANCELLED",
}
View Source
var StorageRebalanceJobState_value = map[string]int32{
	"PENDING":   0,
	"RUNNING":   1,
	"DONE":      2,
	"PAUSED":    3,
	"CANCELLED": 4,
}
View Source
var StorageRebalanceTriggerThreshold_Metric_name = map[int32]string{
	0: "PROVISION_SPACE",
	1: "USED_SPACE",
}
View Source
var StorageRebalanceTriggerThreshold_Metric_value = map[string]int32{
	"PROVISION_SPACE": 0,
	"USED_SPACE":      1,
}
View Source
var StorageRebalanceTriggerThreshold_Type_name = map[int32]string{
	0: "ABSOLUTE_PERCENT",
	1: "DELTA_MEAN_PERCENT",
}
View Source
var StorageRebalanceTriggerThreshold_Type_value = map[string]int32{
	"ABSOLUTE_PERCENT":   0,
	"DELTA_MEAN_PERCENT": 1,
}
View Source
var StorageRebalanceWorkSummary_Type_name = map[int32]string{
	0: "UnbalancedPools",
	1: "UnbalancedVolumes",
	2: "UnbalancedProvisionedSpaceBytes",
	3: "UnbalancedUsedSpaceBytes",
}
View Source
var StorageRebalanceWorkSummary_Type_value = map[string]int32{
	"UnbalancedPools":                 0,
	"UnbalancedVolumes":               1,
	"UnbalancedProvisionedSpaceBytes": 2,
	"UnbalancedUsedSpaceBytes":        3,
}
View Source
var VolumeActionParam_name = map[int32]string{
	0: "VOLUME_ACTION_PARAM_NONE",
	1: "VOLUME_ACTION_PARAM_OFF",
	2: "VOLUME_ACTION_PARAM_ON",
}
View Source
var VolumeActionParam_value = map[string]int32{
	"VOLUME_ACTION_PARAM_NONE": 0,
	"VOLUME_ACTION_PARAM_OFF":  1,
	"VOLUME_ACTION_PARAM_ON":   2,
}
View Source
var VolumeSpecPolicy_PolicyOp_name = map[int32]string{
	0: "Equal",
	1: "Minimum",
	2: "Maximum",
}
View Source
var VolumeSpecPolicy_PolicyOp_value = map[string]int32{
	"Equal":   0,
	"Minimum": 1,
	"Maximum": 2,
}
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",
}
View Source
var 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,
}
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",
}
View Source
var 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,
}
View Source
var Xattr_Value_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "COW_ON_DEMAND",
}
View Source
var Xattr_Value_value = map[string]int32{
	"UNSPECIFIED":   0,
	"COW_ON_DEMAND": 1,
}

Functions

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

RegisterOpenStorageAlertsHandler 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 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

RegisterOpenStorageCloudBackupHandler 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 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

RegisterOpenStorageClusterDomainsHandler 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 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

RegisterOpenStorageClusterHandler 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 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

RegisterOpenStorageClusterPairHandler 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 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

RegisterOpenStorageCredentialsHandler 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 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

RegisterOpenStorageDiagsHandler 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 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

RegisterOpenStorageFilesystemCheckHandler 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 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

RegisterOpenStorageFilesystemTrimHandler 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 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

RegisterOpenStorageIdentityHandler 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 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

RegisterOpenStorageJobHandler 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 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

RegisterOpenStorageMigrateHandler 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 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

RegisterOpenStorageMountAttachHandler 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 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

RegisterOpenStorageNodeHandler 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 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

RegisterOpenStorageObjectstoreHandler 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 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

RegisterOpenStoragePolicyHandler 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 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

RegisterOpenStoragePoolHandler 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 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

RegisterOpenStorageRoleHandler 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 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

RegisterOpenStorageSchedulePolicyHandler 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 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

RegisterOpenStorageVolumeHandler 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 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 `` /* 137-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Active Request

func (*ActiveRequest) Descriptor

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

func (*ActiveRequest) GetReqestKV

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

func (*ActiveRequest) ProtoMessage

func (*ActiveRequest) ProtoMessage()

func (*ActiveRequest) Reset

func (m *ActiveRequest) Reset()

func (*ActiveRequest) String

func (m *ActiveRequest) String() string

func (*ActiveRequest) XXX_DiscardUnknown

func (m *ActiveRequest) XXX_DiscardUnknown()

func (*ActiveRequest) XXX_Marshal

func (m *ActiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActiveRequest) XXX_Merge

func (dst *ActiveRequest) XXX_Merge(src proto.Message)

func (*ActiveRequest) XXX_Size

func (m *ActiveRequest) XXX_Size() int

func (*ActiveRequest) XXX_Unmarshal

func (m *ActiveRequest) XXX_Unmarshal(b []byte) error

type ActiveRequests

type ActiveRequests struct {
	RequestCount         int64            `protobuf:"varint,1,opt,name=RequestCount" json:"RequestCount,omitempty"`
	ActiveRequest        []*ActiveRequest `protobuf:"bytes,2,rep,name=ActiveRequest" json:"ActiveRequest,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Active Requests

func (*ActiveRequests) Descriptor

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

func (*ActiveRequests) GetActiveRequest

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

func (*ActiveRequests) GetRequestCount

func (m *ActiveRequests) GetRequestCount() int64

func (*ActiveRequests) ProtoMessage

func (*ActiveRequests) ProtoMessage()

func (*ActiveRequests) Reset

func (m *ActiveRequests) Reset()

func (*ActiveRequests) String

func (m *ActiveRequests) String() string

func (*ActiveRequests) XXX_DiscardUnknown

func (m *ActiveRequests) XXX_DiscardUnknown()

func (*ActiveRequests) XXX_Marshal

func (m *ActiveRequests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActiveRequests) XXX_Merge

func (dst *ActiveRequests) XXX_Merge(src proto.Message)

func (*ActiveRequests) XXX_Size

func (m *ActiveRequests) XXX_Size() int

func (*ActiveRequests) XXX_Unmarshal

func (m *ActiveRequests) XXX_Unmarshal(b []byte) error

type Alert

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

Alert is a structure that represents an alert object

func (*Alert) Descriptor

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

func (*Alert) GetAlertType

func (m *Alert) GetAlertType() int64

func (*Alert) GetCleared

func (m *Alert) GetCleared() bool

func (*Alert) GetCount

func (m *Alert) GetCount() int64

func (*Alert) GetFirstSeen

func (m *Alert) GetFirstSeen() *timestamp.Timestamp

func (*Alert) GetId

func (m *Alert) GetId() int64

func (*Alert) GetMessage

func (m *Alert) GetMessage() string

func (*Alert) GetResource

func (m *Alert) GetResource() ResourceType

func (*Alert) GetResourceId

func (m *Alert) GetResourceId() string

func (*Alert) GetSeverity

func (m *Alert) GetSeverity() SeverityType

func (*Alert) GetTimestamp

func (m *Alert) GetTimestamp() *timestamp.Timestamp

func (*Alert) GetTtl

func (m *Alert) GetTtl() uint64

func (*Alert) GetUniqueTag

func (m *Alert) GetUniqueTag() string

func (*Alert) ProtoMessage

func (*Alert) ProtoMessage()

func (*Alert) Reset

func (m *Alert) Reset()

func (*Alert) String

func (m *Alert) String() string

func (*Alert) XXX_DiscardUnknown

func (m *Alert) XXX_DiscardUnknown()

func (*Alert) XXX_Marshal

func (m *Alert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Alert) XXX_Merge

func (dst *Alert) XXX_Merge(src proto.Message)

func (*Alert) XXX_Size

func (m *Alert) XXX_Size() int

func (*Alert) XXX_Unmarshal

func (m *Alert) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (AlertActionType) String

func (x AlertActionType) String() string

type Alerts

type Alerts struct {
	Alert                []*Alert `protobuf:"bytes,1,rep,name=alert" json:"alert,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Alerts is an array of Alert objects

func (*Alerts) Descriptor

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

func (*Alerts) GetAlert

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

func (*Alerts) ProtoMessage

func (*Alerts) ProtoMessage()

func (*Alerts) Reset

func (m *Alerts) Reset()

func (*Alerts) String

func (m *Alerts) String() string

func (*Alerts) XXX_DiscardUnknown

func (m *Alerts) XXX_DiscardUnknown()

func (*Alerts) XXX_Marshal

func (m *Alerts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Alerts) XXX_Merge

func (dst *Alerts) XXX_Merge(src proto.Message)

func (*Alerts) XXX_Size

func (m *Alerts) XXX_Size() int

func (*Alerts) XXX_Unmarshal

func (m *Alerts) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (AttachState) String

func (x AttachState) String() string

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" 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" json:"shared_bytes,omitempty"`
	// TotalBytes used by this volume
	TotalBytes           int64    `protobuf:"varint,3,opt,name=total_bytes,json=totalBytes" json:"total_bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*CapacityUsageInfo) Descriptor

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

func (*CapacityUsageInfo) GetExclusiveBytes

func (m *CapacityUsageInfo) GetExclusiveBytes() int64

func (*CapacityUsageInfo) GetSharedBytes

func (m *CapacityUsageInfo) GetSharedBytes() int64

func (*CapacityUsageInfo) GetTotalBytes

func (m *CapacityUsageInfo) GetTotalBytes() int64

func (*CapacityUsageInfo) ProtoMessage

func (*CapacityUsageInfo) ProtoMessage()

func (*CapacityUsageInfo) Reset

func (m *CapacityUsageInfo) Reset()

func (*CapacityUsageInfo) String

func (m *CapacityUsageInfo) String() string

func (*CapacityUsageInfo) XXX_DiscardUnknown

func (m *CapacityUsageInfo) XXX_DiscardUnknown()

func (*CapacityUsageInfo) XXX_Marshal

func (m *CapacityUsageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CapacityUsageInfo) XXX_Merge

func (dst *CapacityUsageInfo) XXX_Merge(src proto.Message)

func (*CapacityUsageInfo) XXX_Size

func (m *CapacityUsageInfo) XXX_Size() int

func (*CapacityUsageInfo) XXX_Unmarshal

func (m *CapacityUsageInfo) XXX_Unmarshal(b []byte) error

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" json:"name,omitempty"`
	// Full Path of the Directory/File
	Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	// Type Directory or File
	Type string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"`
	// File or Directory Size
	Size uint64 `protobuf:"varint,4,opt,name=size" json:"size,omitempty"`
	// Last Modified
	LastModified *timestamp.Timestamp `protobuf:"bytes,5,opt,name=LastModified" json:"LastModified,omitempty"`
	// Children
	Children             []*Catalog `protobuf:"bytes,6,rep,name=children" json:"children,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Catalog) Descriptor

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

func (*Catalog) GetChildren

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

func (*Catalog) GetLastModified

func (m *Catalog) GetLastModified() *timestamp.Timestamp

func (*Catalog) GetName

func (m *Catalog) GetName() string

func (*Catalog) GetPath

func (m *Catalog) GetPath() string

func (*Catalog) GetSize

func (m *Catalog) GetSize() uint64

func (*Catalog) GetType

func (m *Catalog) GetType() string

func (*Catalog) ProtoMessage

func (*Catalog) ProtoMessage()

func (*Catalog) Reset

func (m *Catalog) Reset()

func (*Catalog) String

func (m *Catalog) String() string

func (*Catalog) XXX_DiscardUnknown

func (m *Catalog) XXX_DiscardUnknown()

func (*Catalog) XXX_Marshal

func (m *Catalog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Catalog) XXX_Merge

func (dst *Catalog) XXX_Merge(src proto.Message)

func (*Catalog) XXX_Size

func (m *Catalog) XXX_Size() int

func (*Catalog) XXX_Unmarshal

func (m *Catalog) XXX_Unmarshal(b []byte) error

type CatalogResponse

type CatalogResponse struct {
	// Root Catalog
	Root *Catalog `protobuf:"bytes,1,opt,name=root" json:"root,omitempty"`
	// Report of total directories and files count
	Report               *Report  `protobuf:"bytes,2,opt,name=report" json:"report,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CatalogResponse) Descriptor

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

func (*CatalogResponse) GetReport

func (m *CatalogResponse) GetReport() *Report

func (*CatalogResponse) GetRoot

func (m *CatalogResponse) GetRoot() *Catalog

func (*CatalogResponse) ProtoMessage

func (*CatalogResponse) ProtoMessage()

func (*CatalogResponse) Reset

func (m *CatalogResponse) Reset()

func (*CatalogResponse) String

func (m *CatalogResponse) String() string

func (*CatalogResponse) XXX_DiscardUnknown

func (m *CatalogResponse) XXX_DiscardUnknown()

func (*CatalogResponse) XXX_Marshal

func (m *CatalogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CatalogResponse) XXX_Merge

func (dst *CatalogResponse) XXX_Merge(src proto.Message)

func (*CatalogResponse) XXX_Size

func (m *CatalogResponse) XXX_Size() int

func (*CatalogResponse) XXX_Unmarshal

func (m *CatalogResponse) XXX_Unmarshal(b []byte) error

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 whcih
	// 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
	// this is specified, everything else in 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_Value
	// 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 frequence 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" json:"source_driveset_id,omitempty"`
	// DestinationInstanceID is the ID of the storageless instance that needs to take over the SourceDriveSetID
	DestinationInstanceId string `protobuf:"bytes,2,opt,name=destination_instance_id,json=destinationInstanceId" json:"destination_instance_id,omitempty"`
	// Status describes a helpful status of this operation
	Status               string   `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CloudDriveTransferJob) Descriptor

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

func (*CloudDriveTransferJob) GetDestinationInstanceId

func (m *CloudDriveTransferJob) GetDestinationInstanceId() string

func (*CloudDriveTransferJob) GetSourceDrivesetId

func (m *CloudDriveTransferJob) GetSourceDrivesetId() string

func (*CloudDriveTransferJob) GetStatus

func (m *CloudDriveTransferJob) GetStatus() string

func (*CloudDriveTransferJob) ProtoMessage

func (*CloudDriveTransferJob) ProtoMessage()

func (*CloudDriveTransferJob) Reset

func (m *CloudDriveTransferJob) Reset()

func (*CloudDriveTransferJob) String

func (m *CloudDriveTransferJob) String() string

func (*CloudDriveTransferJob) XXX_DiscardUnknown

func (m *CloudDriveTransferJob) XXX_DiscardUnknown()

func (*CloudDriveTransferJob) XXX_Marshal

func (m *CloudDriveTransferJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudDriveTransferJob) XXX_Merge

func (dst *CloudDriveTransferJob) XXX_Merge(src proto.Message)

func (*CloudDriveTransferJob) XXX_Size

func (m *CloudDriveTransferJob) XXX_Size() int

func (*CloudDriveTransferJob) XXX_Unmarshal

func (m *CloudDriveTransferJob) XXX_Unmarshal(b []byte) error

type CloudMigrate

type CloudMigrate struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CloudMigrate) Descriptor

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

func (*CloudMigrate) ProtoMessage

func (*CloudMigrate) ProtoMessage()

func (*CloudMigrate) Reset

func (m *CloudMigrate) Reset()

func (*CloudMigrate) String

func (m *CloudMigrate) String() string

func (*CloudMigrate) XXX_DiscardUnknown

func (m *CloudMigrate) XXX_DiscardUnknown()

func (*CloudMigrate) XXX_Marshal

func (m *CloudMigrate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudMigrate) XXX_Merge

func (dst *CloudMigrate) XXX_Merge(src proto.Message)

func (*CloudMigrate) XXX_Size

func (m *CloudMigrate) XXX_Size() int

func (*CloudMigrate) XXX_Unmarshal

func (m *CloudMigrate) XXX_Unmarshal(b []byte) error

type CloudMigrateCancelRequest

type CloudMigrateCancelRequest struct {
	// The id of the task to cancel
	TaskId               string   `protobuf:"bytes,1,opt,name=task_id,json=taskId" json:"task_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to stop a cloud migration

func (*CloudMigrateCancelRequest) Descriptor

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

func (*CloudMigrateCancelRequest) GetTaskId

func (m *CloudMigrateCancelRequest) GetTaskId() string

func (*CloudMigrateCancelRequest) ProtoMessage

func (*CloudMigrateCancelRequest) ProtoMessage()

func (*CloudMigrateCancelRequest) Reset

func (m *CloudMigrateCancelRequest) Reset()

func (*CloudMigrateCancelRequest) String

func (m *CloudMigrateCancelRequest) String() string

func (*CloudMigrateCancelRequest) XXX_DiscardUnknown

func (m *CloudMigrateCancelRequest) XXX_DiscardUnknown()

func (*CloudMigrateCancelRequest) XXX_Marshal

func (m *CloudMigrateCancelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudMigrateCancelRequest) XXX_Merge

func (dst *CloudMigrateCancelRequest) XXX_Merge(src proto.Message)

func (*CloudMigrateCancelRequest) XXX_Size

func (m *CloudMigrateCancelRequest) XXX_Size() int

func (*CloudMigrateCancelRequest) XXX_Unmarshal

func (m *CloudMigrateCancelRequest) XXX_Unmarshal(b []byte) error

type CloudMigrateInfo

type CloudMigrateInfo struct {
	// Task id associated with this migration
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId" 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" json:"cluster_id,omitempty"`
	// ID of the volume on the local cluster
	LocalVolumeId string `protobuf:"bytes,3,opt,name=local_volume_id,json=localVolumeId" 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" 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" json:"remote_volume_id,omitempty"`
	// ID of the cloudbackup used for the migration
	CloudbackupId string `protobuf:"bytes,6,opt,name=cloudbackup_id,json=cloudbackupId" json:"cloudbackup_id,omitempty"`
	// Current stage of the volume migration
	CurrentStage CloudMigrate_Stage `` /* 131-byte string literal not displayed */
	// Status of the current stage
	Status CloudMigrate_Status `protobuf:"varint,8,opt,name=status,enum=openstorage.api.CloudMigrate_Status" json:"status,omitempty"`
	// Last time the status was updated
	LastUpdate *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_update,json=lastUpdate" json:"last_update,omitempty"`
	// Contains the reason for the migration error
	ErrorReason string `protobuf:"bytes,10,opt,name=error_reason,json=errorReason" json:"error_reason,omitempty"`
	// StartTime indicates Op's start time
	StartTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
	// CompletedTime indicates Op's completed time
	CompletedTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=completed_time,json=completedTime" json:"completed_time,omitempty"`
	// BytesTotal is the number of bytes being transferred
	BytesTotal uint64 `protobuf:"varint,13,opt,name=bytes_total,json=bytesTotal" json:"bytes_total,omitempty"`
	// BytesDone is the number of bytes already transferred
	BytesDone uint64 `protobuf:"varint,14,opt,name=bytes_done,json=bytesDone" 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" json:"eta_seconds,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CloudMigrateInfo) Descriptor

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

func (*CloudMigrateInfo) GetBytesDone

func (m *CloudMigrateInfo) GetBytesDone() uint64

func (*CloudMigrateInfo) GetBytesTotal

func (m *CloudMigrateInfo) GetBytesTotal() uint64

func (*CloudMigrateInfo) GetCloudbackupId

func (m *CloudMigrateInfo) GetCloudbackupId() string

func (*CloudMigrateInfo) GetClusterId

func (m *CloudMigrateInfo) GetClusterId() string

func (*CloudMigrateInfo) GetCompletedTime

func (m *CloudMigrateInfo) GetCompletedTime() *timestamp.Timestamp

func (*CloudMigrateInfo) GetCurrentStage

func (m *CloudMigrateInfo) GetCurrentStage() CloudMigrate_Stage

func (*CloudMigrateInfo) GetErrorReason

func (m *CloudMigrateInfo) GetErrorReason() string

func (*CloudMigrateInfo) GetEtaSeconds

func (m *CloudMigrateInfo) GetEtaSeconds() int64

func (*CloudMigrateInfo) GetLastUpdate

func (m *CloudMigrateInfo) GetLastUpdate() *timestamp.Timestamp

func (*CloudMigrateInfo) GetLocalVolumeId

func (m *CloudMigrateInfo) GetLocalVolumeId() string

func (*CloudMigrateInfo) GetLocalVolumeName

func (m *CloudMigrateInfo) GetLocalVolumeName() string

func (*CloudMigrateInfo) GetRemoteVolumeId

func (m *CloudMigrateInfo) GetRemoteVolumeId() string

func (*CloudMigrateInfo) GetStartTime

func (m *CloudMigrateInfo) GetStartTime() *timestamp.Timestamp

func (*CloudMigrateInfo) GetStatus

func (m *CloudMigrateInfo) GetStatus() CloudMigrate_Status

func (*CloudMigrateInfo) GetTaskId

func (m *CloudMigrateInfo) GetTaskId() string

func (*CloudMigrateInfo) ProtoMessage

func (*CloudMigrateInfo) ProtoMessage()

func (*CloudMigrateInfo) Reset

func (m *CloudMigrateInfo) Reset()

func (*CloudMigrateInfo) String

func (m *CloudMigrateInfo) String() string

func (*CloudMigrateInfo) XXX_DiscardUnknown

func (m *CloudMigrateInfo) XXX_DiscardUnknown()

func (*CloudMigrateInfo) XXX_Marshal

func (m *CloudMigrateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudMigrateInfo) XXX_Merge

func (dst *CloudMigrateInfo) XXX_Merge(src proto.Message)

func (*CloudMigrateInfo) XXX_Size

func (m *CloudMigrateInfo) XXX_Size() int

func (*CloudMigrateInfo) XXX_Unmarshal

func (m *CloudMigrateInfo) XXX_Unmarshal(b []byte) error

type CloudMigrateInfoList

type CloudMigrateInfoList struct {
	List                 []*CloudMigrateInfo `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*CloudMigrateInfoList) Descriptor

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

func (*CloudMigrateInfoList) GetList

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

func (*CloudMigrateInfoList) ProtoMessage

func (*CloudMigrateInfoList) ProtoMessage()

func (*CloudMigrateInfoList) Reset

func (m *CloudMigrateInfoList) Reset()

func (*CloudMigrateInfoList) String

func (m *CloudMigrateInfoList) String() string

func (*CloudMigrateInfoList) XXX_DiscardUnknown

func (m *CloudMigrateInfoList) XXX_DiscardUnknown()

func (*CloudMigrateInfoList) XXX_Marshal

func (m *CloudMigrateInfoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudMigrateInfoList) XXX_Merge

func (dst *CloudMigrateInfoList) XXX_Merge(src proto.Message)

func (*CloudMigrateInfoList) XXX_Size

func (m *CloudMigrateInfoList) XXX_Size() int

func (*CloudMigrateInfoList) XXX_Unmarshal

func (m *CloudMigrateInfoList) XXX_Unmarshal(b []byte) error

type CloudMigrateStartRequest

type CloudMigrateStartRequest struct {
	// The type of operation to start
	Operation CloudMigrate_OperationType `protobuf:"varint,1,opt,name=operation,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" 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" 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" json:"task_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to start a cloud migration

func (*CloudMigrateStartRequest) Descriptor

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

func (*CloudMigrateStartRequest) GetClusterId

func (m *CloudMigrateStartRequest) GetClusterId() string

func (*CloudMigrateStartRequest) GetOperation

func (*CloudMigrateStartRequest) GetTargetId

func (m *CloudMigrateStartRequest) GetTargetId() string

func (*CloudMigrateStartRequest) GetTaskId

func (m *CloudMigrateStartRequest) GetTaskId() string

func (*CloudMigrateStartRequest) ProtoMessage

func (*CloudMigrateStartRequest) ProtoMessage()

func (*CloudMigrateStartRequest) Reset

func (m *CloudMigrateStartRequest) Reset()

func (*CloudMigrateStartRequest) String

func (m *CloudMigrateStartRequest) String() string

func (*CloudMigrateStartRequest) XXX_DiscardUnknown

func (m *CloudMigrateStartRequest) XXX_DiscardUnknown()

func (*CloudMigrateStartRequest) XXX_Marshal

func (m *CloudMigrateStartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudMigrateStartRequest) XXX_Merge

func (dst *CloudMigrateStartRequest) XXX_Merge(src proto.Message)

func (*CloudMigrateStartRequest) XXX_Size

func (m *CloudMigrateStartRequest) XXX_Size() int

func (*CloudMigrateStartRequest) XXX_Unmarshal

func (m *CloudMigrateStartRequest) XXX_Unmarshal(b []byte) error

type CloudMigrateStartResponse

type CloudMigrateStartResponse struct {
	// TaskId assocaiated with the migration that was started
	TaskId               string   `protobuf:"bytes,1,opt,name=task_id,json=taskId" json:"task_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response to start a cloud migration

func (*CloudMigrateStartResponse) Descriptor

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

func (*CloudMigrateStartResponse) GetTaskId

func (m *CloudMigrateStartResponse) GetTaskId() string

func (*CloudMigrateStartResponse) ProtoMessage

func (*CloudMigrateStartResponse) ProtoMessage()

func (*CloudMigrateStartResponse) Reset

func (m *CloudMigrateStartResponse) Reset()

func (*CloudMigrateStartResponse) String

func (m *CloudMigrateStartResponse) String() string

func (*CloudMigrateStartResponse) XXX_DiscardUnknown

func (m *CloudMigrateStartResponse) XXX_DiscardUnknown()

func (*CloudMigrateStartResponse) XXX_Marshal

func (m *CloudMigrateStartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudMigrateStartResponse) XXX_Merge

func (dst *CloudMigrateStartResponse) XXX_Merge(src proto.Message)

func (*CloudMigrateStartResponse) XXX_Size

func (m *CloudMigrateStartResponse) XXX_Size() int

func (*CloudMigrateStartResponse) XXX_Unmarshal

func (m *CloudMigrateStartResponse) XXX_Unmarshal(b []byte) error

type CloudMigrateStatusRequest

type CloudMigrateStatusRequest struct {
	// Task id for which to return status
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId" 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" json:"cluster_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for cloud migration operation status

func (*CloudMigrateStatusRequest) Descriptor

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

func (*CloudMigrateStatusRequest) GetClusterId

func (m *CloudMigrateStatusRequest) GetClusterId() string

func (*CloudMigrateStatusRequest) GetTaskId

func (m *CloudMigrateStatusRequest) GetTaskId() string

func (*CloudMigrateStatusRequest) ProtoMessage

func (*CloudMigrateStatusRequest) ProtoMessage()

func (*CloudMigrateStatusRequest) Reset

func (m *CloudMigrateStatusRequest) Reset()

func (*CloudMigrateStatusRequest) String

func (m *CloudMigrateStatusRequest) String() string

func (*CloudMigrateStatusRequest) XXX_DiscardUnknown

func (m *CloudMigrateStatusRequest) XXX_DiscardUnknown()

func (*CloudMigrateStatusRequest) XXX_Marshal

func (m *CloudMigrateStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudMigrateStatusRequest) XXX_Merge

func (dst *CloudMigrateStatusRequest) XXX_Merge(src proto.Message)

func (*CloudMigrateStatusRequest) XXX_Size

func (m *CloudMigrateStatusRequest) XXX_Size() int

func (*CloudMigrateStatusRequest) XXX_Unmarshal

func (m *CloudMigrateStatusRequest) XXX_Unmarshal(b []byte) error

type CloudMigrateStatusResponse

type CloudMigrateStatusResponse struct {
	// Map of cluster id to the status of volumes being migrated
	Info                 map[string]*CloudMigrateInfoList `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

Response with a status of the cloud migration operations

func (*CloudMigrateStatusResponse) Descriptor

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

func (*CloudMigrateStatusResponse) GetInfo

func (*CloudMigrateStatusResponse) ProtoMessage

func (*CloudMigrateStatusResponse) ProtoMessage()

func (*CloudMigrateStatusResponse) Reset

func (m *CloudMigrateStatusResponse) Reset()

func (*CloudMigrateStatusResponse) String

func (m *CloudMigrateStatusResponse) String() string

func (*CloudMigrateStatusResponse) XXX_DiscardUnknown

func (m *CloudMigrateStatusResponse) XXX_DiscardUnknown()

func (*CloudMigrateStatusResponse) XXX_Marshal

func (m *CloudMigrateStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudMigrateStatusResponse) XXX_Merge

func (dst *CloudMigrateStatusResponse) XXX_Merge(src proto.Message)

func (*CloudMigrateStatusResponse) XXX_Size

func (m *CloudMigrateStatusResponse) XXX_Size() int

func (*CloudMigrateStatusResponse) XXX_Unmarshal

func (m *CloudMigrateStatusResponse) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (CloudMigrate_OperationType) String

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) EnumDescriptor

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

func (CloudMigrate_Stage) String

func (x CloudMigrate_Stage) String() string

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) EnumDescriptor

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

func (CloudMigrate_Status) String

func (x CloudMigrate_Status) String() string

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" json:"remote_cluster_ip,omitempty"`
	// Port for the remote cluster
	RemoteClusterPort uint32 `protobuf:"varint,2,opt,name=remote_cluster_port,json=remoteClusterPort" 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" json:"remote_cluster_token,omitempty"`
	// Set the new pair as the default
	SetDefault bool `protobuf:"varint,4,opt,name=set_default,json=setDefault" json:"set_default,omitempty"`
	// The mode to use for the cluster pair
	Mode ClusterPairMode_Mode `protobuf:"varint,5,opt,name=mode,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" json:"credential_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Used to send a request to create a cluster pair

func (*ClusterPairCreateRequest) Descriptor

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

func (*ClusterPairCreateRequest) GetCredentialId

func (m *ClusterPairCreateRequest) GetCredentialId() string

func (*ClusterPairCreateRequest) GetMode

func (*ClusterPairCreateRequest) GetRemoteClusterIp

func (m *ClusterPairCreateRequest) GetRemoteClusterIp() string

func (*ClusterPairCreateRequest) GetRemoteClusterPort

func (m *ClusterPairCreateRequest) GetRemoteClusterPort() uint32

func (*ClusterPairCreateRequest) GetRemoteClusterToken

func (m *ClusterPairCreateRequest) GetRemoteClusterToken() string

func (*ClusterPairCreateRequest) GetSetDefault

func (m *ClusterPairCreateRequest) GetSetDefault() bool

func (*ClusterPairCreateRequest) ProtoMessage

func (*ClusterPairCreateRequest) ProtoMessage()

func (*ClusterPairCreateRequest) Reset

func (m *ClusterPairCreateRequest) Reset()

func (*ClusterPairCreateRequest) String

func (m *ClusterPairCreateRequest) String() string

func (*ClusterPairCreateRequest) XXX_DiscardUnknown

func (m *ClusterPairCreateRequest) XXX_DiscardUnknown()

func (*ClusterPairCreateRequest) XXX_Marshal

func (m *ClusterPairCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterPairCreateRequest) XXX_Merge

func (dst *ClusterPairCreateRequest) XXX_Merge(src proto.Message)

func (*ClusterPairCreateRequest) XXX_Size

func (m *ClusterPairCreateRequest) XXX_Size() int

func (*ClusterPairCreateRequest) XXX_Unmarshal

func (m *ClusterPairCreateRequest) XXX_Unmarshal(b []byte) error

type ClusterPairCreateResponse

type ClusterPairCreateResponse struct {
	// ID of the remote cluster
	RemoteClusterId string `protobuf:"bytes,1,opt,name=remote_cluster_id,json=remoteClusterId" json:"remote_cluster_id,omitempty"`
	// Name of the remote cluster
	RemoteClusterName    string   `protobuf:"bytes,2,opt,name=remote_cluster_name,json=remoteClusterName" json:"remote_cluster_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for a pair request

func (*ClusterPairCreateResponse) Descriptor

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

func (*ClusterPairCreateResponse) GetRemoteClusterId

func (m *ClusterPairCreateResponse) GetRemoteClusterId() string

func (*ClusterPairCreateResponse) GetRemoteClusterName

func (m *ClusterPairCreateResponse) GetRemoteClusterName() string

func (*ClusterPairCreateResponse) ProtoMessage

func (*ClusterPairCreateResponse) ProtoMessage()

func (*ClusterPairCreateResponse) Reset

func (m *ClusterPairCreateResponse) Reset()

func (*ClusterPairCreateResponse) String

func (m *ClusterPairCreateResponse) String() string

func (*ClusterPairCreateResponse) XXX_DiscardUnknown

func (m *ClusterPairCreateResponse) XXX_DiscardUnknown()

func (*ClusterPairCreateResponse) XXX_Marshal

func (m *ClusterPairCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterPairCreateResponse) XXX_Merge

func (dst *ClusterPairCreateResponse) XXX_Merge(src proto.Message)

func (*ClusterPairCreateResponse) XXX_Size

func (m *ClusterPairCreateResponse) XXX_Size() int

func (*ClusterPairCreateResponse) XXX_Unmarshal

func (m *ClusterPairCreateResponse) XXX_Unmarshal(b []byte) error

type ClusterPairGetResponse

type ClusterPairGetResponse struct {
	// Info about the cluster pair
	PairInfo             *ClusterPairInfo `protobuf:"bytes,1,opt,name=pair_info,json=pairInfo" json:"pair_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Reponse to get a cluster pair

func (*ClusterPairGetResponse) Descriptor

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

func (*ClusterPairGetResponse) GetPairInfo

func (m *ClusterPairGetResponse) GetPairInfo() *ClusterPairInfo

func (*ClusterPairGetResponse) ProtoMessage

func (*ClusterPairGetResponse) ProtoMessage()

func (*ClusterPairGetResponse) Reset

func (m *ClusterPairGetResponse) Reset()

func (*ClusterPairGetResponse) String

func (m *ClusterPairGetResponse) String() string

func (*ClusterPairGetResponse) XXX_DiscardUnknown

func (m *ClusterPairGetResponse) XXX_DiscardUnknown()

func (*ClusterPairGetResponse) XXX_Marshal

func (m *ClusterPairGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterPairGetResponse) XXX_Merge

func (dst *ClusterPairGetResponse) XXX_Merge(src proto.Message)

func (*ClusterPairGetResponse) XXX_Size

func (m *ClusterPairGetResponse) XXX_Size() int

func (*ClusterPairGetResponse) XXX_Unmarshal

func (m *ClusterPairGetResponse) XXX_Unmarshal(b []byte) error

type ClusterPairInfo

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

Information about a cluster pair

func (*ClusterPairInfo) Descriptor

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

func (*ClusterPairInfo) GetCurrentEndpoints

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

func (*ClusterPairInfo) GetEndpoint

func (m *ClusterPairInfo) GetEndpoint() string

func (*ClusterPairInfo) GetId

func (m *ClusterPairInfo) GetId() string

func (*ClusterPairInfo) GetMode

func (*ClusterPairInfo) GetName

func (m *ClusterPairInfo) GetName() string

func (*ClusterPairInfo) GetOptions

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

func (*ClusterPairInfo) GetSecure

func (m *ClusterPairInfo) GetSecure() bool

func (*ClusterPairInfo) GetToken

func (m *ClusterPairInfo) GetToken() string

func (*ClusterPairInfo) ProtoMessage

func (*ClusterPairInfo) ProtoMessage()

func (*ClusterPairInfo) Reset

func (m *ClusterPairInfo) Reset()

func (*ClusterPairInfo) String

func (m *ClusterPairInfo) String() string

func (*ClusterPairInfo) XXX_DiscardUnknown

func (m *ClusterPairInfo) XXX_DiscardUnknown()

func (*ClusterPairInfo) XXX_Marshal

func (m *ClusterPairInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterPairInfo) XXX_Merge

func (dst *ClusterPairInfo) XXX_Merge(src proto.Message)

func (*ClusterPairInfo) XXX_Size

func (m *ClusterPairInfo) XXX_Size() int

func (*ClusterPairInfo) XXX_Unmarshal

func (m *ClusterPairInfo) XXX_Unmarshal(b []byte) error

type ClusterPairMode

type ClusterPairMode struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClusterPairMode) Descriptor

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

func (*ClusterPairMode) ProtoMessage

func (*ClusterPairMode) ProtoMessage()

func (*ClusterPairMode) Reset

func (m *ClusterPairMode) Reset()

func (*ClusterPairMode) String

func (m *ClusterPairMode) String() string

func (*ClusterPairMode) XXX_DiscardUnknown

func (m *ClusterPairMode) XXX_DiscardUnknown()

func (*ClusterPairMode) XXX_Marshal

func (m *ClusterPairMode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterPairMode) XXX_Merge

func (dst *ClusterPairMode) XXX_Merge(src proto.Message)

func (*ClusterPairMode) XXX_Size

func (m *ClusterPairMode) XXX_Size() int

func (*ClusterPairMode) XXX_Unmarshal

func (m *ClusterPairMode) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (ClusterPairMode_Mode) String

func (x ClusterPairMode_Mode) String() string

type ClusterPairProcessRequest

type ClusterPairProcessRequest struct {
	// ID of the cluster requesting the pairing
	SourceClusterId string `protobuf:"bytes,1,opt,name=source_cluster_id,json=sourceClusterId" 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" json:"remote_cluster_token,omitempty"`
	// The mode to use for the cluster pair
	Mode ClusterPairMode_Mode `protobuf:"varint,3,opt,name=mode,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" json:"credential_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Used to process a pair request from a remote cluster

func (*ClusterPairProcessRequest) Descriptor

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

func (*ClusterPairProcessRequest) GetCredentialId

func (m *ClusterPairProcessRequest) GetCredentialId() string

func (*ClusterPairProcessRequest) GetMode

func (*ClusterPairProcessRequest) GetRemoteClusterToken

func (m *ClusterPairProcessRequest) GetRemoteClusterToken() string

func (*ClusterPairProcessRequest) GetSourceClusterId

func (m *ClusterPairProcessRequest) GetSourceClusterId() string

func (*ClusterPairProcessRequest) ProtoMessage

func (*ClusterPairProcessRequest) ProtoMessage()

func (*ClusterPairProcessRequest) Reset

func (m *ClusterPairProcessRequest) Reset()

func (*ClusterPairProcessRequest) String

func (m *ClusterPairProcessRequest) String() string

func (*ClusterPairProcessRequest) XXX_DiscardUnknown

func (m *ClusterPairProcessRequest) XXX_DiscardUnknown()

func (*ClusterPairProcessRequest) XXX_Marshal

func (m *ClusterPairProcessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterPairProcessRequest) XXX_Merge

func (dst *ClusterPairProcessRequest) XXX_Merge(src proto.Message)

func (*ClusterPairProcessRequest) XXX_Size

func (m *ClusterPairProcessRequest) XXX_Size() int

func (*ClusterPairProcessRequest) XXX_Unmarshal

func (m *ClusterPairProcessRequest) XXX_Unmarshal(b []byte) error

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" 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" json:"remote_cluster_name,omitempty"`
	// List of endpoints that can be used to communicate with the cluster
	RemoteClusterEndpoints []string `protobuf:"bytes,3,rep,name=remote_cluster_endpoints,json=remoteClusterEndpoints" json:"remote_cluster_endpoints,omitempty"`
	// Key/value pair of options returned on successful pairing.
	// Opaque to openstorage and interpreted by the drivers
	Options              map[string]string `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Response after a pairing has been processed

func (*ClusterPairProcessResponse) Descriptor

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

func (*ClusterPairProcessResponse) GetOptions

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

func (*ClusterPairProcessResponse) GetRemoteClusterEndpoints

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

func (*ClusterPairProcessResponse) GetRemoteClusterId

func (m *ClusterPairProcessResponse) GetRemoteClusterId() string

func (*ClusterPairProcessResponse) GetRemoteClusterName

func (m *ClusterPairProcessResponse) GetRemoteClusterName() string

func (*ClusterPairProcessResponse) ProtoMessage

func (*ClusterPairProcessResponse) ProtoMessage()

func (*ClusterPairProcessResponse) Reset

func (m *ClusterPairProcessResponse) Reset()

func (*ClusterPairProcessResponse) String

func (m *ClusterPairProcessResponse) String() string

func (*ClusterPairProcessResponse) XXX_DiscardUnknown

func (m *ClusterPairProcessResponse) XXX_DiscardUnknown()

func (*ClusterPairProcessResponse) XXX_Marshal

func (m *ClusterPairProcessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterPairProcessResponse) XXX_Merge

func (dst *ClusterPairProcessResponse) XXX_Merge(src proto.Message)

func (*ClusterPairProcessResponse) XXX_Size

func (m *ClusterPairProcessResponse) XXX_Size() int

func (*ClusterPairProcessResponse) XXX_Unmarshal

func (m *ClusterPairProcessResponse) XXX_Unmarshal(b []byte) error

type ClusterPairTokenGetResponse

type ClusterPairTokenGetResponse struct {
	// Token used to authenticate clusters
	Token                string   `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response to get the cluster token

func (*ClusterPairTokenGetResponse) Descriptor

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

func (*ClusterPairTokenGetResponse) GetToken

func (m *ClusterPairTokenGetResponse) GetToken() string

func (*ClusterPairTokenGetResponse) ProtoMessage

func (*ClusterPairTokenGetResponse) ProtoMessage()

func (*ClusterPairTokenGetResponse) Reset

func (m *ClusterPairTokenGetResponse) Reset()

func (*ClusterPairTokenGetResponse) String

func (m *ClusterPairTokenGetResponse) String() string

func (*ClusterPairTokenGetResponse) XXX_DiscardUnknown

func (m *ClusterPairTokenGetResponse) XXX_DiscardUnknown()

func (*ClusterPairTokenGetResponse) XXX_Marshal

func (m *ClusterPairTokenGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterPairTokenGetResponse) XXX_Merge

func (dst *ClusterPairTokenGetResponse) XXX_Merge(src proto.Message)

func (*ClusterPairTokenGetResponse) XXX_Size

func (m *ClusterPairTokenGetResponse) XXX_Size() int

func (*ClusterPairTokenGetResponse) XXX_Unmarshal

func (m *ClusterPairTokenGetResponse) XXX_Unmarshal(b []byte) error

type ClusterPairsEnumerateResponse

type ClusterPairsEnumerateResponse struct {
	// ID of the default cluster pair
	DefaultId string `protobuf:"bytes,1,opt,name=default_id,json=defaultId" json:"default_id,omitempty"`
	// Pairs Info about the cluster pairs
	Pairs                map[string]*ClusterPairInfo `` /* 130-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Response to enumerate all the cluster pairs

func (*ClusterPairsEnumerateResponse) Descriptor

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

func (*ClusterPairsEnumerateResponse) GetDefaultId

func (m *ClusterPairsEnumerateResponse) GetDefaultId() string

func (*ClusterPairsEnumerateResponse) GetPairs

func (*ClusterPairsEnumerateResponse) ProtoMessage

func (*ClusterPairsEnumerateResponse) ProtoMessage()

func (*ClusterPairsEnumerateResponse) Reset

func (m *ClusterPairsEnumerateResponse) Reset()

func (*ClusterPairsEnumerateResponse) String

func (*ClusterPairsEnumerateResponse) XXX_DiscardUnknown

func (m *ClusterPairsEnumerateResponse) XXX_DiscardUnknown()

func (*ClusterPairsEnumerateResponse) XXX_Marshal

func (m *ClusterPairsEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterPairsEnumerateResponse) XXX_Merge

func (dst *ClusterPairsEnumerateResponse) XXX_Merge(src proto.Message)

func (*ClusterPairsEnumerateResponse) XXX_Size

func (m *ClusterPairsEnumerateResponse) XXX_Size() int

func (*ClusterPairsEnumerateResponse) XXX_Unmarshal

func (m *ClusterPairsEnumerateResponse) XXX_Unmarshal(b []byte) error

type ClusterResponse

type ClusterResponse struct {
	// Error code
	//
	// in: body
	Error                string   `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ClusterResponse specifies a response that gets returned when requesting the cluster

func (*ClusterResponse) Descriptor

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

func (*ClusterResponse) GetError

func (m *ClusterResponse) GetError() string

func (*ClusterResponse) ProtoMessage

func (*ClusterResponse) ProtoMessage()

func (*ClusterResponse) Reset

func (m *ClusterResponse) Reset()

func (*ClusterResponse) String

func (m *ClusterResponse) String() string

func (*ClusterResponse) XXX_DiscardUnknown

func (m *ClusterResponse) XXX_DiscardUnknown()

func (*ClusterResponse) XXX_Marshal

func (m *ClusterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterResponse) XXX_Merge

func (dst *ClusterResponse) XXX_Merge(src proto.Message)

func (*ClusterResponse) XXX_Size

func (m *ClusterResponse) XXX_Size() int

func (*ClusterResponse) XXX_Unmarshal

func (m *ClusterResponse) XXX_Unmarshal(b []byte) error

type CollectDiagsJob

type CollectDiagsJob struct {
	// Request is the user request for this diags collection job
	Request *SdkDiagsCollectRequest `protobuf:"bytes,1,opt,name=request" 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" json:"statuses,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*CollectDiagsJob) Descriptor

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

func (*CollectDiagsJob) GetRequest

func (m *CollectDiagsJob) GetRequest() *SdkDiagsCollectRequest

func (*CollectDiagsJob) GetStatuses

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

func (*CollectDiagsJob) ProtoMessage

func (*CollectDiagsJob) ProtoMessage()

func (*CollectDiagsJob) Reset

func (m *CollectDiagsJob) Reset()

func (*CollectDiagsJob) String

func (m *CollectDiagsJob) String() string

func (*CollectDiagsJob) XXX_DiscardUnknown

func (m *CollectDiagsJob) XXX_DiscardUnknown()

func (*CollectDiagsJob) XXX_Marshal

func (m *CollectDiagsJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectDiagsJob) XXX_Merge

func (dst *CollectDiagsJob) XXX_Merge(src proto.Message)

func (*CollectDiagsJob) XXX_Size

func (m *CollectDiagsJob) XXX_Size() int

func (*CollectDiagsJob) XXX_Unmarshal

func (m *CollectDiagsJob) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (CosType) SimpleString

func (x CosType) SimpleString() string

SimpleString returns the string format of CosType

func (CosType) String

func (x CosType) String() string

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" json:"node,omitempty"`
	// State is the current state of diags collection on the node
	State DiagsCollectionStatus_State `protobuf:"varint,2,opt,name=state,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" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DiagsCollectionStatus) Descriptor

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

func (*DiagsCollectionStatus) GetMessage

func (m *DiagsCollectionStatus) GetMessage() string

func (*DiagsCollectionStatus) GetNode

func (m *DiagsCollectionStatus) GetNode() string

func (*DiagsCollectionStatus) GetState

func (*DiagsCollectionStatus) ProtoMessage

func (*DiagsCollectionStatus) ProtoMessage()

func (*DiagsCollectionStatus) Reset

func (m *DiagsCollectionStatus) Reset()

func (*DiagsCollectionStatus) String

func (m *DiagsCollectionStatus) String() string

func (*DiagsCollectionStatus) XXX_DiscardUnknown

func (m *DiagsCollectionStatus) XXX_DiscardUnknown()

func (*DiagsCollectionStatus) XXX_Marshal

func (m *DiagsCollectionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiagsCollectionStatus) XXX_Merge

func (dst *DiagsCollectionStatus) XXX_Merge(src proto.Message)

func (*DiagsCollectionStatus) XXX_Size

func (m *DiagsCollectionStatus) XXX_Size() int

func (*DiagsCollectionStatus) XXX_Unmarshal

func (m *DiagsCollectionStatus) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (DiagsCollectionStatus_State) String

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" 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" json:"node_ids,omitempty"`
	// All selects all nodes for diags collection
	All                  bool     `protobuf:"varint,3,opt,name=all" json:"all,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*DiagsNodeSelector) GetAll

func (m *DiagsNodeSelector) GetAll() bool

func (*DiagsNodeSelector) GetNodeIds

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

func (*DiagsNodeSelector) GetNodeLabelSelector

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

func (*DiagsNodeSelector) ProtoMessage

func (*DiagsNodeSelector) ProtoMessage()

func (*DiagsNodeSelector) Reset

func (m *DiagsNodeSelector) Reset()

func (*DiagsNodeSelector) String

func (m *DiagsNodeSelector) String() string

func (*DiagsNodeSelector) XXX_DiscardUnknown

func (m *DiagsNodeSelector) XXX_DiscardUnknown()

func (*DiagsNodeSelector) XXX_Marshal

func (m *DiagsNodeSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiagsNodeSelector) XXX_Merge

func (dst *DiagsNodeSelector) XXX_Merge(src proto.Message)

func (*DiagsNodeSelector) XXX_Size

func (m *DiagsNodeSelector) XXX_Size() int

func (*DiagsNodeSelector) XXX_Unmarshal

func (m *DiagsNodeSelector) XXX_Unmarshal(b []byte) error

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" 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" json:"volume_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*DiagsVolumeSelector) GetVolumeIds

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

func (*DiagsVolumeSelector) GetVolumeLabelSelector

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

func (*DiagsVolumeSelector) ProtoMessage

func (*DiagsVolumeSelector) ProtoMessage()

func (*DiagsVolumeSelector) Reset

func (m *DiagsVolumeSelector) Reset()

func (*DiagsVolumeSelector) String

func (m *DiagsVolumeSelector) String() string

func (*DiagsVolumeSelector) XXX_DiscardUnknown

func (m *DiagsVolumeSelector) XXX_DiscardUnknown()

func (*DiagsVolumeSelector) XXX_Marshal

func (m *DiagsVolumeSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiagsVolumeSelector) XXX_Merge

func (dst *DiagsVolumeSelector) XXX_Merge(src proto.Message)

func (*DiagsVolumeSelector) XXX_Size

func (m *DiagsVolumeSelector) XXX_Size() int

func (*DiagsVolumeSelector) XXX_Unmarshal

func (m *DiagsVolumeSelector) XXX_Unmarshal(b []byte) error

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" json:"num_volumes_total,omitempty"`
	// Number of volumes which have been drained
	NumVolumesDone uint64 `protobuf:"varint,3,opt,name=num_volumes_done,json=numVolumesDone" 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" json:"num_volumes_pending,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*DrainAttachmentsSummary) Descriptor

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

func (*DrainAttachmentsSummary) GetNumVolumesDone

func (m *DrainAttachmentsSummary) GetNumVolumesDone() uint64

func (*DrainAttachmentsSummary) GetNumVolumesPending

func (m *DrainAttachmentsSummary) GetNumVolumesPending() uint64

func (*DrainAttachmentsSummary) GetNumVolumesTotal

func (m *DrainAttachmentsSummary) GetNumVolumesTotal() uint64

func (*DrainAttachmentsSummary) ProtoMessage

func (*DrainAttachmentsSummary) ProtoMessage()

func (*DrainAttachmentsSummary) Reset

func (m *DrainAttachmentsSummary) Reset()

func (*DrainAttachmentsSummary) String

func (m *DrainAttachmentsSummary) String() string

func (*DrainAttachmentsSummary) XXX_DiscardUnknown

func (m *DrainAttachmentsSummary) XXX_DiscardUnknown()

func (*DrainAttachmentsSummary) XXX_Marshal

func (m *DrainAttachmentsSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DrainAttachmentsSummary) XXX_Merge

func (dst *DrainAttachmentsSummary) XXX_Merge(src proto.Message)

func (*DrainAttachmentsSummary) XXX_Size

func (m *DrainAttachmentsSummary) XXX_Size() int

func (*DrainAttachmentsSummary) XXX_Unmarshal

func (m *DrainAttachmentsSummary) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (DriverType) SimpleString

func (x DriverType) SimpleString() string

SimpleString returns the string format of DriverType

func (DriverType) String

func (x DriverType) String() string

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) EnumDescriptor

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

func (EnforcementType) String

func (x EnforcementType) String() string

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 interace.
	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 interace.
	ExportProtocol_CUSTOM ExportProtocol = 4
)

func (ExportProtocol) EnumDescriptor

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

func (ExportProtocol) String

func (x ExportProtocol) String() string

type ExportSpec

type ExportSpec struct {
	// ExportProtocol defines how the volume is exported.
	ExportProtocol ExportProtocol `` /* 133-byte string literal not displayed */
	// ExportOptions options exporting the volume.
	ExportOptions        string   `protobuf:"bytes,2,opt,name=export_options,json=exportOptions" json:"export_options,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ExportSpec defines how the volume is exported..

func (*ExportSpec) Descriptor

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

func (*ExportSpec) GetExportOptions

func (m *ExportSpec) GetExportOptions() string

func (*ExportSpec) GetExportProtocol

func (m *ExportSpec) GetExportProtocol() ExportProtocol

func (*ExportSpec) ProtoMessage

func (*ExportSpec) ProtoMessage()

func (*ExportSpec) Reset

func (m *ExportSpec) Reset()

func (*ExportSpec) String

func (m *ExportSpec) String() string

func (*ExportSpec) XXX_DiscardUnknown

func (m *ExportSpec) XXX_DiscardUnknown()

func (*ExportSpec) XXX_Marshal

func (m *ExportSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportSpec) XXX_Merge

func (dst *ExportSpec) XXX_Merge(src proto.Message)

func (*ExportSpec) XXX_Size

func (m *ExportSpec) XXX_Size() int

func (*ExportSpec) XXX_Unmarshal

func (m *ExportSpec) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (FSType) SimpleString

func (x FSType) SimpleString() string

SimpleString returns the string format of DriverType

func (FSType) String

func (x FSType) String() string

type FastpathConfig

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

FastpathConfig part of volume

func (*FastpathConfig) Descriptor

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

func (*FastpathConfig) GetCoordUuid

func (m *FastpathConfig) GetCoordUuid() string

func (*FastpathConfig) GetDirty

func (m *FastpathConfig) GetDirty() bool

func (*FastpathConfig) GetPromote

func (m *FastpathConfig) GetPromote() bool

func (*FastpathConfig) GetReplicas

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

func (*FastpathConfig) GetSetupOn

func (m *FastpathConfig) GetSetupOn() int32

func (*FastpathConfig) GetStatus

func (m *FastpathConfig) GetStatus() FastpathStatus

func (*FastpathConfig) ProtoMessage

func (*FastpathConfig) ProtoMessage()

func (*FastpathConfig) Reset

func (m *FastpathConfig) Reset()

func (*FastpathConfig) String

func (m *FastpathConfig) String() string

func (*FastpathConfig) XXX_DiscardUnknown

func (m *FastpathConfig) XXX_DiscardUnknown()

func (*FastpathConfig) XXX_Marshal

func (m *FastpathConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FastpathConfig) XXX_Merge

func (dst *FastpathConfig) XXX_Merge(src proto.Message)

func (*FastpathConfig) XXX_Size

func (m *FastpathConfig) XXX_Size() int

func (*FastpathConfig) XXX_Unmarshal

func (m *FastpathConfig) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (FastpathProtocol) String

func (x FastpathProtocol) String() string

type FastpathReplState

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

func (*FastpathReplState) Descriptor

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

func (*FastpathReplState) GetAcl

func (m *FastpathReplState) GetAcl() bool

func (*FastpathReplState) GetBlock

func (m *FastpathReplState) GetBlock() bool

func (*FastpathReplState) GetDevId

func (m *FastpathReplState) GetDevId() uint64

func (*FastpathReplState) GetDevpath

func (m *FastpathReplState) GetDevpath() string

func (*FastpathReplState) GetExported

func (m *FastpathReplState) GetExported() bool

func (*FastpathReplState) GetExportedDevice

func (m *FastpathReplState) GetExportedDevice() string

func (*FastpathReplState) GetImported

func (m *FastpathReplState) GetImported() bool

func (*FastpathReplState) GetNodeId

func (m *FastpathReplState) GetNodeId() uint32

func (*FastpathReplState) GetNodeUuid

func (m *FastpathReplState) GetNodeUuid() string

func (*FastpathReplState) GetProtocol

func (m *FastpathReplState) GetProtocol() FastpathProtocol

func (*FastpathReplState) GetTarget

func (m *FastpathReplState) GetTarget() string

func (*FastpathReplState) ProtoMessage

func (*FastpathReplState) ProtoMessage()

func (*FastpathReplState) Reset

func (m *FastpathReplState) Reset()

func (*FastpathReplState) String

func (m *FastpathReplState) String() string

func (*FastpathReplState) XXX_DiscardUnknown

func (m *FastpathReplState) XXX_DiscardUnknown()

func (*FastpathReplState) XXX_Marshal

func (m *FastpathReplState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FastpathReplState) XXX_Merge

func (dst *FastpathReplState) XXX_Merge(src proto.Message)

func (*FastpathReplState) XXX_Size

func (m *FastpathReplState) XXX_Size() int

func (*FastpathReplState) XXX_Unmarshal

func (m *FastpathReplState) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (FastpathStatus) String

func (x FastpathStatus) String() string

type FilesystemCheck

type FilesystemCheck struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FilesystemCheck) Descriptor

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

func (*FilesystemCheck) ProtoMessage

func (*FilesystemCheck) ProtoMessage()

func (*FilesystemCheck) Reset

func (m *FilesystemCheck) Reset()

func (*FilesystemCheck) String

func (m *FilesystemCheck) String() string

func (*FilesystemCheck) XXX_DiscardUnknown

func (m *FilesystemCheck) XXX_DiscardUnknown()

func (*FilesystemCheck) XXX_Marshal

func (m *FilesystemCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FilesystemCheck) XXX_Merge

func (dst *FilesystemCheck) XXX_Merge(src proto.Message)

func (*FilesystemCheck) XXX_Size

func (m *FilesystemCheck) XXX_Size() int

func (*FilesystemCheck) XXX_Unmarshal

func (m *FilesystemCheck) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (FilesystemCheck_FilesystemCheckStatus) String

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) EnumDescriptor

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

func (FilesystemHealthStatus) String

func (x FilesystemHealthStatus) String() string

type FilesystemTrim

type FilesystemTrim struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FilesystemTrim) Descriptor

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

func (*FilesystemTrim) ProtoMessage

func (*FilesystemTrim) ProtoMessage()

func (*FilesystemTrim) Reset

func (m *FilesystemTrim) Reset()

func (*FilesystemTrim) String

func (m *FilesystemTrim) String() string

func (*FilesystemTrim) XXX_DiscardUnknown

func (m *FilesystemTrim) XXX_DiscardUnknown()

func (*FilesystemTrim) XXX_Marshal

func (m *FilesystemTrim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FilesystemTrim) XXX_Merge

func (dst *FilesystemTrim) XXX_Merge(src proto.Message)

func (*FilesystemTrim) XXX_Size

func (m *FilesystemTrim) XXX_Size() int

func (*FilesystemTrim) XXX_Unmarshal

func (m *FilesystemTrim) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (FilesystemTrim_FilesystemTrimStatus) String

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" json:"volume_name,omitempty"`
	// Volume size
	VolumeSize uint64 `protobuf:"varint,2,opt,name=volume_size,json=volumeSize" json:"volume_size,omitempty"`
	// Disk usage in bytes
	DuUsage uint64 `protobuf:"varint,3,opt,name=du_usage,json=duUsage" json:"du_usage,omitempty"`
	// Disk usage seen in Portworx in bytes
	PxUsage uint64 `protobuf:"varint,4,opt,name=px_usage,json=pxUsage" 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" json:"perform_auto_fstrim,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

FstrimVolUsageInfo

func (*FstrimVolumeUsageInfo) Descriptor

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

func (*FstrimVolumeUsageInfo) GetDuUsage

func (m *FstrimVolumeUsageInfo) GetDuUsage() uint64

func (*FstrimVolumeUsageInfo) GetPerformAutoFstrim

func (m *FstrimVolumeUsageInfo) GetPerformAutoFstrim() string

func (*FstrimVolumeUsageInfo) GetPxUsage

func (m *FstrimVolumeUsageInfo) GetPxUsage() uint64

func (*FstrimVolumeUsageInfo) GetVolumeName

func (m *FstrimVolumeUsageInfo) GetVolumeName() string

func (*FstrimVolumeUsageInfo) GetVolumeSize

func (m *FstrimVolumeUsageInfo) GetVolumeSize() uint64

func (*FstrimVolumeUsageInfo) ProtoMessage

func (*FstrimVolumeUsageInfo) ProtoMessage()

func (*FstrimVolumeUsageInfo) Reset

func (m *FstrimVolumeUsageInfo) Reset()

func (*FstrimVolumeUsageInfo) String

func (m *FstrimVolumeUsageInfo) String() string

func (*FstrimVolumeUsageInfo) XXX_DiscardUnknown

func (m *FstrimVolumeUsageInfo) XXX_DiscardUnknown()

func (*FstrimVolumeUsageInfo) XXX_Marshal

func (m *FstrimVolumeUsageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FstrimVolumeUsageInfo) XXX_Merge

func (dst *FstrimVolumeUsageInfo) XXX_Merge(src proto.Message)

func (*FstrimVolumeUsageInfo) XXX_Size

func (m *FstrimVolumeUsageInfo) XXX_Size() int

func (*FstrimVolumeUsageInfo) XXX_Unmarshal

func (m *FstrimVolumeUsageInfo) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (GraphDriverChangeType) SimpleString

func (x GraphDriverChangeType) SimpleString() string

SimpleString returns the string format of GraphDriverChangeType

func (GraphDriverChangeType) String

func (x GraphDriverChangeType) String() string

type GraphDriverChanges

type GraphDriverChanges struct {
	Path                 string                `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	Kind                 GraphDriverChangeType `protobuf:"varint,2,opt,name=kind,enum=openstorage.api.GraphDriverChangeType" json:"kind,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

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

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

func (*GraphDriverChanges) GetKind

func (*GraphDriverChanges) GetPath

func (m *GraphDriverChanges) GetPath() string

func (*GraphDriverChanges) ProtoMessage

func (*GraphDriverChanges) ProtoMessage()

func (*GraphDriverChanges) Reset

func (m *GraphDriverChanges) Reset()

func (*GraphDriverChanges) String

func (m *GraphDriverChanges) String() string

func (*GraphDriverChanges) XXX_DiscardUnknown

func (m *GraphDriverChanges) XXX_DiscardUnknown()

func (*GraphDriverChanges) XXX_Marshal

func (m *GraphDriverChanges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphDriverChanges) XXX_Merge

func (dst *GraphDriverChanges) XXX_Merge(src proto.Message)

func (*GraphDriverChanges) XXX_Size

func (m *GraphDriverChanges) XXX_Size() int

func (*GraphDriverChanges) XXX_Unmarshal

func (m *GraphDriverChanges) XXX_Unmarshal(b []byte) error

type Group

type Group struct {
	// Id common identifier across volumes that have the same group.
	Id                   string   `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*Group) Descriptor

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

func (*Group) GetId

func (m *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) Reset

func (m *Group) Reset()

func (*Group) String

func (m *Group) String() string

func (*Group) XXX_DiscardUnknown

func (m *Group) XXX_DiscardUnknown()

func (*Group) XXX_Marshal

func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Group) XXX_Merge

func (dst *Group) XXX_Merge(src proto.Message)

func (*Group) XXX_Size

func (m *Group) XXX_Size() int

func (*Group) XXX_Unmarshal

func (m *Group) XXX_Unmarshal(b []byte) error

type GroupSnapCreateRequest

type GroupSnapCreateRequest struct {
	Id                   string            `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Labels               map[string]string `` /* 132-byte string literal not displayed */
	VolumeIds            []string          `protobuf:"bytes,3,rep,name=volume_ids,json=volumeIds" json:"volume_ids,omitempty"`
	DeleteOnFailure      bool              `protobuf:"varint,4,opt,name=delete_on_failure,json=deleteOnFailure" json:"delete_on_failure,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*GroupSnapCreateRequest) Descriptor

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

func (*GroupSnapCreateRequest) GetDeleteOnFailure

func (m *GroupSnapCreateRequest) GetDeleteOnFailure() bool

func (*GroupSnapCreateRequest) GetId

func (m *GroupSnapCreateRequest) GetId() string

func (*GroupSnapCreateRequest) GetLabels

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

func (*GroupSnapCreateRequest) GetVolumeIds

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

func (*GroupSnapCreateRequest) ProtoMessage

func (*GroupSnapCreateRequest) ProtoMessage()

func (*GroupSnapCreateRequest) Reset

func (m *GroupSnapCreateRequest) Reset()

func (*GroupSnapCreateRequest) String

func (m *GroupSnapCreateRequest) String() string

func (*GroupSnapCreateRequest) XXX_DiscardUnknown

func (m *GroupSnapCreateRequest) XXX_DiscardUnknown()

func (*GroupSnapCreateRequest) XXX_Marshal

func (m *GroupSnapCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupSnapCreateRequest) XXX_Merge

func (dst *GroupSnapCreateRequest) XXX_Merge(src proto.Message)

func (*GroupSnapCreateRequest) XXX_Size

func (m *GroupSnapCreateRequest) XXX_Size() int

func (*GroupSnapCreateRequest) XXX_Unmarshal

func (m *GroupSnapCreateRequest) XXX_Unmarshal(b []byte) error

type GroupSnapCreateResponse

type GroupSnapCreateResponse struct {
	// Created snapshots
	//
	// in: body
	// Required: true
	Snapshots map[string]*SnapCreateResponse `` /* 138-byte string literal not displayed */
	// Error message
	//
	// in: body
	// Required: true
	Error                string   `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GroupSnapCreateResponse) Descriptor

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

func (*GroupSnapCreateResponse) GetError

func (m *GroupSnapCreateResponse) GetError() string

func (*GroupSnapCreateResponse) GetSnapshots

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

func (*GroupSnapCreateResponse) ProtoMessage

func (*GroupSnapCreateResponse) ProtoMessage()

func (*GroupSnapCreateResponse) Reset

func (m *GroupSnapCreateResponse) Reset()

func (*GroupSnapCreateResponse) String

func (m *GroupSnapCreateResponse) String() string

func (*GroupSnapCreateResponse) XXX_DiscardUnknown

func (m *GroupSnapCreateResponse) XXX_DiscardUnknown()

func (*GroupSnapCreateResponse) XXX_Marshal

func (m *GroupSnapCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupSnapCreateResponse) XXX_Merge

func (dst *GroupSnapCreateResponse) XXX_Merge(src proto.Message)

func (*GroupSnapCreateResponse) XXX_Size

func (m *GroupSnapCreateResponse) XXX_Size() int

func (*GroupSnapCreateResponse) XXX_Unmarshal

func (m *GroupSnapCreateResponse) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (HardwareType) String

func (x HardwareType) String() string

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) EnumDescriptor

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

func (IoProfile) SimpleString

func (x IoProfile) SimpleString() string

SimpleString returns the string format of IoProfile

func (IoProfile) String

func (x IoProfile) String() string

type IoStrategy

type IoStrategy struct {
	// AsyncIO enables kaio.
	AsyncIo bool `protobuf:"varint,1,opt,name=async_io,json=asyncIo" 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" json:"early_ack,omitempty"`
	// Enable direct I/O on the backing datastore
	DirectIo             bool     `protobuf:"varint,3,opt,name=direct_io,json=directIo" json:"direct_io,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*IoStrategy) Descriptor

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

func (*IoStrategy) GetAsyncIo

func (m *IoStrategy) GetAsyncIo() bool

func (*IoStrategy) GetDirectIo

func (m *IoStrategy) GetDirectIo() bool

func (*IoStrategy) GetEarlyAck

func (m *IoStrategy) GetEarlyAck() bool

func (*IoStrategy) ProtoMessage

func (*IoStrategy) ProtoMessage()

func (*IoStrategy) Reset

func (m *IoStrategy) Reset()

func (*IoStrategy) String

func (m *IoStrategy) String() string

func (*IoStrategy) XXX_DiscardUnknown

func (m *IoStrategy) XXX_DiscardUnknown()

func (*IoStrategy) XXX_Marshal

func (m *IoStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IoStrategy) XXX_Merge

func (dst *IoStrategy) XXX_Merge(src proto.Message)

func (*IoStrategy) XXX_Size

func (m *IoStrategy) XXX_Size() int

func (*IoStrategy) XXX_Unmarshal

func (m *IoStrategy) XXX_Unmarshal(b []byte) error

type IoThrottle

type IoThrottle struct {
	ReadIops             uint32   `protobuf:"varint,1,opt,name=read_iops,json=readIops" json:"read_iops,omitempty"`
	WriteIops            uint32   `protobuf:"varint,2,opt,name=write_iops,json=writeIops" json:"write_iops,omitempty"`
	ReadBwMbytes         uint32   `protobuf:"varint,3,opt,name=read_bw_mbytes,json=readBwMbytes" json:"read_bw_mbytes,omitempty"`
	WriteBwMbytes        uint32   `protobuf:"varint,4,opt,name=write_bw_mbytes,json=writeBwMbytes" json:"write_bw_mbytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*IoThrottle) GetReadBwMbytes

func (m *IoThrottle) GetReadBwMbytes() uint32

func (*IoThrottle) GetReadIops

func (m *IoThrottle) GetReadIops() uint32

func (*IoThrottle) GetWriteBwMbytes

func (m *IoThrottle) GetWriteBwMbytes() uint32

func (*IoThrottle) GetWriteIops

func (m *IoThrottle) GetWriteIops() uint32

func (*IoThrottle) ProtoMessage

func (*IoThrottle) ProtoMessage()

func (*IoThrottle) Reset

func (m *IoThrottle) Reset()

func (*IoThrottle) String

func (m *IoThrottle) String() string

func (*IoThrottle) XXX_DiscardUnknown

func (m *IoThrottle) XXX_DiscardUnknown()

func (*IoThrottle) XXX_Marshal

func (m *IoThrottle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IoThrottle) XXX_Merge

func (dst *IoThrottle) XXX_Merge(src proto.Message)

func (*IoThrottle) XXX_Size

func (m *IoThrottle) XXX_Size() int

func (*IoThrottle) XXX_Unmarshal

func (m *IoThrottle) XXX_Unmarshal(b []byte) error

type Job

type Job struct {
	// ID of the job
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// State of the current job
	State Job_State `protobuf:"varint,2,opt,name=state,enum=openstorage.api.Job_State" json:"state,omitempty"`
	// Type is the job type
	Type Job_Type `protobuf:"varint,3,opt,name=type,enum=openstorage.api.Job_Type" json:"type,omitempty"`
	// Job is one of the supported jobs
	//
	// Types that are valid to be assigned to Job:
	//	*Job_DrainAttachments
	//	*Job_ClouddriveTransfer
	//	*Job_CollectDiags
	Job isJob_Job `protobuf_oneof:"job"`
	// CreateTime is the time the job was created
	CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
	// LastUpdateTime is the time the job was updated
	LastUpdateTime       *timestamp.Timestamp `protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime" json:"last_update_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

func (*Job) Descriptor

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

func (*Job) GetClouddriveTransfer

func (m *Job) GetClouddriveTransfer() *CloudDriveTransferJob

func (*Job) GetCollectDiags

func (m *Job) GetCollectDiags() *CollectDiagsJob

func (*Job) GetCreateTime

func (m *Job) GetCreateTime() *timestamp.Timestamp

func (*Job) GetDrainAttachments

func (m *Job) GetDrainAttachments() *NodeDrainAttachmentsJob

func (*Job) GetId

func (m *Job) GetId() string

func (*Job) GetJob

func (m *Job) GetJob() isJob_Job

func (*Job) GetLastUpdateTime

func (m *Job) GetLastUpdateTime() *timestamp.Timestamp

func (*Job) GetState

func (m *Job) GetState() Job_State

func (*Job) GetType

func (m *Job) GetType() Job_Type

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) Reset

func (m *Job) Reset()

func (*Job) String

func (m *Job) String() string

func (*Job) XXX_DiscardUnknown

func (m *Job) XXX_DiscardUnknown()

func (*Job) XXX_Marshal

func (m *Job) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Job) XXX_Merge

func (dst *Job) XXX_Merge(src proto.Message)

func (*Job) XXX_OneofFuncs

func (*Job) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Job) XXX_Size

func (m *Job) XXX_Size() int

func (*Job) XXX_Unmarshal

func (m *Job) XXX_Unmarshal(b []byte) error

type JobAudit

type JobAudit struct {
	Summary              []*JobWorkSummary `protobuf:"bytes,1,rep,name=summary" json:"summary,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*JobAudit) Descriptor

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

func (*JobAudit) GetSummary

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

func (*JobAudit) ProtoMessage

func (*JobAudit) ProtoMessage()

func (*JobAudit) Reset

func (m *JobAudit) Reset()

func (*JobAudit) String

func (m *JobAudit) String() string

func (*JobAudit) XXX_DiscardUnknown

func (m *JobAudit) XXX_DiscardUnknown()

func (*JobAudit) XXX_Marshal

func (m *JobAudit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JobAudit) XXX_Merge

func (dst *JobAudit) XXX_Merge(src proto.Message)

func (*JobAudit) XXX_Size

func (m *JobAudit) XXX_Size() int

func (*JobAudit) XXX_Unmarshal

func (m *JobAudit) XXX_Unmarshal(b []byte) error

type JobSummary

type JobSummary struct {
	// ID of the job
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Total runtime in seconds
	TotalRuntimeSeconds uint64 `protobuf:"varint,2,opt,name=total_runtime_seconds,json=totalRuntimeSeconds" 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" json:"work_summaries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

JobSummary provides a summary of a job

func (*JobSummary) Descriptor

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

func (*JobSummary) GetId

func (m *JobSummary) GetId() string

func (*JobSummary) GetTotalRuntimeSeconds

func (m *JobSummary) GetTotalRuntimeSeconds() uint64

func (*JobSummary) GetWorkSummaries

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

func (*JobSummary) ProtoMessage

func (*JobSummary) ProtoMessage()

func (*JobSummary) Reset

func (m *JobSummary) Reset()

func (*JobSummary) String

func (m *JobSummary) String() string

func (*JobSummary) XXX_DiscardUnknown

func (m *JobSummary) XXX_DiscardUnknown()

func (*JobSummary) XXX_Marshal

func (m *JobSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JobSummary) XXX_Merge

func (dst *JobSummary) XXX_Merge(src proto.Message)

func (*JobSummary) XXX_Size

func (m *JobSummary) XXX_Size() int

func (*JobSummary) XXX_Unmarshal

func (m *JobSummary) XXX_Unmarshal(b []byte) error

type JobWorkSummary

type JobWorkSummary struct {
	// Summary provides more information about the on-going job
	//
	// Types that are valid to be assigned to Summary:
	//	*JobWorkSummary_DrainAttachmentsSummary
	Summary              isJobWorkSummary_Summary `protobuf_oneof:"summary"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

JobWorkSummary describes an action taken while performing the hob

func (*JobWorkSummary) Descriptor

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

func (*JobWorkSummary) GetDrainAttachmentsSummary

func (m *JobWorkSummary) GetDrainAttachmentsSummary() *DrainAttachmentsSummary

func (*JobWorkSummary) GetSummary

func (m *JobWorkSummary) GetSummary() isJobWorkSummary_Summary

func (*JobWorkSummary) ProtoMessage

func (*JobWorkSummary) ProtoMessage()

func (*JobWorkSummary) Reset

func (m *JobWorkSummary) Reset()

func (*JobWorkSummary) String

func (m *JobWorkSummary) String() string

func (*JobWorkSummary) XXX_DiscardUnknown

func (m *JobWorkSummary) XXX_DiscardUnknown()

func (*JobWorkSummary) XXX_Marshal

func (m *JobWorkSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JobWorkSummary) XXX_Merge

func (dst *JobWorkSummary) XXX_Merge(src proto.Message)

func (*JobWorkSummary) XXX_OneofFuncs

func (*JobWorkSummary) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*JobWorkSummary) XXX_Size

func (m *JobWorkSummary) XXX_Size() int

func (*JobWorkSummary) XXX_Unmarshal

func (m *JobWorkSummary) XXX_Unmarshal(b []byte) error

type JobWorkSummary_DrainAttachmentsSummary

type JobWorkSummary_DrainAttachmentsSummary struct {
	DrainAttachmentsSummary *DrainAttachmentsSummary `protobuf:"bytes,3,opt,name=drain_attachments_summary,json=drainAttachmentsSummary,oneof"`
}

type Job_ClouddriveTransfer

type Job_ClouddriveTransfer struct {
	ClouddriveTransfer *CloudDriveTransferJob `protobuf:"bytes,401,opt,name=clouddrive_transfer,json=clouddriveTransfer,oneof"`
}

type Job_CollectDiags

type Job_CollectDiags struct {
	CollectDiags *CollectDiagsJob `protobuf:"bytes,402,opt,name=collect_diags,json=collectDiags,oneof"`
}

type Job_DrainAttachments

type Job_DrainAttachments struct {
	DrainAttachments *NodeDrainAttachmentsJob `protobuf:"bytes,400,opt,name=drain_attachments,json=drainAttachments,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) EnumDescriptor

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

func (Job_State) String

func (x Job_State) String() string

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) EnumDescriptor

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

func (Job_Type) String

func (x Job_Type) String() string

type LabelSelectorRequirement

type LabelSelectorRequirement struct {
	// Key is the label key that the selector applies to.
	Key string `protobuf:"bytes,1,opt,name=key" 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,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" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*LabelSelectorRequirement) Descriptor

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

func (*LabelSelectorRequirement) GetKey

func (m *LabelSelectorRequirement) GetKey() string

func (*LabelSelectorRequirement) GetOperator

func (*LabelSelectorRequirement) GetValues

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

func (*LabelSelectorRequirement) ProtoMessage

func (*LabelSelectorRequirement) ProtoMessage()

func (*LabelSelectorRequirement) Reset

func (m *LabelSelectorRequirement) Reset()

func (*LabelSelectorRequirement) String

func (m *LabelSelectorRequirement) String() string

func (*LabelSelectorRequirement) XXX_DiscardUnknown

func (m *LabelSelectorRequirement) XXX_DiscardUnknown()

func (*LabelSelectorRequirement) XXX_Marshal

func (m *LabelSelectorRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelSelectorRequirement) XXX_Merge

func (dst *LabelSelectorRequirement) XXX_Merge(src proto.Message)

func (*LabelSelectorRequirement) XXX_Size

func (m *LabelSelectorRequirement) XXX_Size() int

func (*LabelSelectorRequirement) XXX_Unmarshal

func (m *LabelSelectorRequirement) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (LabelSelectorRequirement_Operator) String

type LocateResponse

type LocateResponse struct {
	// Map of mounts
	// <host>: /var/lib/osd/<volumemount>
	Mounts map[string]string `` /* 132-byte string literal not displayed */
	// Map of docker id's and their mounts
	// <containerid>: /var/www
	Dockerids            map[string]string `` /* 138-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*LocateResponse) Descriptor

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

func (*LocateResponse) GetDockerids

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

func (*LocateResponse) GetMounts

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

func (*LocateResponse) ProtoMessage

func (*LocateResponse) ProtoMessage()

func (*LocateResponse) Reset

func (m *LocateResponse) Reset()

func (*LocateResponse) String

func (m *LocateResponse) String() string

func (*LocateResponse) XXX_DiscardUnknown

func (m *LocateResponse) XXX_DiscardUnknown()

func (*LocateResponse) XXX_Marshal

func (m *LocateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LocateResponse) XXX_Merge

func (dst *LocateResponse) XXX_Merge(src proto.Message)

func (*LocateResponse) XXX_Size

func (m *LocateResponse) XXX_Size() int

func (*LocateResponse) XXX_Unmarshal

func (m *LocateResponse) XXX_Unmarshal(b []byte) error

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 `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*MountOptions) Descriptor

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

func (*MountOptions) GetOptions

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

func (*MountOptions) ProtoMessage

func (*MountOptions) ProtoMessage()

func (*MountOptions) Reset

func (m *MountOptions) Reset()

func (*MountOptions) String

func (m *MountOptions) String() string

func (*MountOptions) XXX_DiscardUnknown

func (m *MountOptions) XXX_DiscardUnknown()

func (*MountOptions) XXX_Marshal

func (m *MountOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MountOptions) XXX_Merge

func (dst *MountOptions) XXX_Merge(src proto.Message)

func (*MountOptions) XXX_Size

func (m *MountOptions) XXX_Size() int

func (*MountOptions) XXX_Unmarshal

func (m *MountOptions) XXX_Unmarshal(b []byte) error

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" 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" json:"sub_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

NFSProxySpec is the spec for proxying an NFS share.

func (*NFSProxySpec) Descriptor

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

func (*NFSProxySpec) GetExportPath

func (m *NFSProxySpec) GetExportPath() string

func (*NFSProxySpec) GetSubPath

func (m *NFSProxySpec) GetSubPath() string

func (*NFSProxySpec) ProtoMessage

func (*NFSProxySpec) ProtoMessage()

func (*NFSProxySpec) Reset

func (m *NFSProxySpec) Reset()

func (*NFSProxySpec) String

func (m *NFSProxySpec) String() string

func (*NFSProxySpec) XXX_DiscardUnknown

func (m *NFSProxySpec) XXX_DiscardUnknown()

func (*NFSProxySpec) XXX_Marshal

func (m *NFSProxySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NFSProxySpec) XXX_Merge

func (dst *NFSProxySpec) XXX_Merge(src proto.Message)

func (*NFSProxySpec) XXX_Size

func (m *NFSProxySpec) XXX_Size() int

func (*NFSProxySpec) XXX_Unmarshal

func (m *NFSProxySpec) XXX_Unmarshal(b []byte) error

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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Options for draining volume attachment from a node

func (*NodeDrainAttachmentOptions) Descriptor

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

func (*NodeDrainAttachmentOptions) ProtoMessage

func (*NodeDrainAttachmentOptions) ProtoMessage()

func (*NodeDrainAttachmentOptions) Reset

func (m *NodeDrainAttachmentOptions) Reset()

func (*NodeDrainAttachmentOptions) String

func (m *NodeDrainAttachmentOptions) String() string

func (*NodeDrainAttachmentOptions) XXX_DiscardUnknown

func (m *NodeDrainAttachmentOptions) XXX_DiscardUnknown()

func (*NodeDrainAttachmentOptions) XXX_Marshal

func (m *NodeDrainAttachmentOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeDrainAttachmentOptions) XXX_Merge

func (dst *NodeDrainAttachmentOptions) XXX_Merge(src proto.Message)

func (*NodeDrainAttachmentOptions) XXX_Size

func (m *NodeDrainAttachmentOptions) XXX_Size() int

func (*NodeDrainAttachmentOptions) XXX_Unmarshal

func (m *NodeDrainAttachmentOptions) XXX_Unmarshal(b []byte) error

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" json:"node_id,omitempty"`
	// Status describes a helpful status of this node drain operation
	Status string `protobuf:"bytes,2,opt,name=Status" 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" 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" json:"parameters,omitempty"`
	// CreateTime is the time the job was created
	CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
	// LastUpdateTime is the time the job was updated
	LastUpdateTime       *timestamp.Timestamp `protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime" json:"last_update_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

NodeDrainAttachmentsJob describe a job to drain volume attachments from a node

func (*NodeDrainAttachmentsJob) Descriptor

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

func (*NodeDrainAttachmentsJob) GetCreateTime

func (m *NodeDrainAttachmentsJob) GetCreateTime() *timestamp.Timestamp

func (*NodeDrainAttachmentsJob) GetIssuer

func (m *NodeDrainAttachmentsJob) GetIssuer() string

func (*NodeDrainAttachmentsJob) GetLastUpdateTime

func (m *NodeDrainAttachmentsJob) GetLastUpdateTime() *timestamp.Timestamp

func (*NodeDrainAttachmentsJob) GetNodeId

func (m *NodeDrainAttachmentsJob) GetNodeId() string

func (*NodeDrainAttachmentsJob) GetParameters

func (*NodeDrainAttachmentsJob) GetStatus

func (m *NodeDrainAttachmentsJob) GetStatus() string

func (*NodeDrainAttachmentsJob) ProtoMessage

func (*NodeDrainAttachmentsJob) ProtoMessage()

func (*NodeDrainAttachmentsJob) Reset

func (m *NodeDrainAttachmentsJob) Reset()

func (*NodeDrainAttachmentsJob) String

func (m *NodeDrainAttachmentsJob) String() string

func (*NodeDrainAttachmentsJob) XXX_DiscardUnknown

func (m *NodeDrainAttachmentsJob) XXX_DiscardUnknown()

func (*NodeDrainAttachmentsJob) XXX_Marshal

func (m *NodeDrainAttachmentsJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeDrainAttachmentsJob) XXX_Merge

func (dst *NodeDrainAttachmentsJob) XXX_Merge(src proto.Message)

func (*NodeDrainAttachmentsJob) XXX_Size

func (m *NodeDrainAttachmentsJob) XXX_Size() int

func (*NodeDrainAttachmentsJob) XXX_Unmarshal

func (m *NodeDrainAttachmentsJob) XXX_Unmarshal(b []byte) error

type ObjectstoreInfo

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

ObjectstoreInfo is a structure that has current objectstore info

func (*ObjectstoreInfo) Descriptor

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

func (*ObjectstoreInfo) GetAccessKey

func (m *ObjectstoreInfo) GetAccessKey() string

func (*ObjectstoreInfo) GetAccessPort

func (m *ObjectstoreInfo) GetAccessPort() int64

func (*ObjectstoreInfo) GetAction

func (m *ObjectstoreInfo) GetAction() int64

func (*ObjectstoreInfo) GetCurrentEndpoint

func (m *ObjectstoreInfo) GetCurrentEndpoint() string

func (*ObjectstoreInfo) GetEnabled

func (m *ObjectstoreInfo) GetEnabled() bool

func (*ObjectstoreInfo) GetEndpoints

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

func (*ObjectstoreInfo) GetRegion

func (m *ObjectstoreInfo) GetRegion() string

func (*ObjectstoreInfo) GetSecretKey

func (m *ObjectstoreInfo) GetSecretKey() string

func (*ObjectstoreInfo) GetStatus

func (m *ObjectstoreInfo) GetStatus() string

func (*ObjectstoreInfo) GetUuid

func (m *ObjectstoreInfo) GetUuid() string

func (*ObjectstoreInfo) GetVolumeId

func (m *ObjectstoreInfo) GetVolumeId() string

func (*ObjectstoreInfo) ProtoMessage

func (*ObjectstoreInfo) ProtoMessage()

func (*ObjectstoreInfo) Reset

func (m *ObjectstoreInfo) Reset()

func (*ObjectstoreInfo) String

func (m *ObjectstoreInfo) String() string

func (*ObjectstoreInfo) XXX_DiscardUnknown

func (m *ObjectstoreInfo) XXX_DiscardUnknown()

func (*ObjectstoreInfo) XXX_Marshal

func (m *ObjectstoreInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectstoreInfo) XXX_Merge

func (dst *ObjectstoreInfo) XXX_Merge(src proto.Message)

func (*ObjectstoreInfo) XXX_Size

func (m *ObjectstoreInfo) XXX_Size() int

func (*ObjectstoreInfo) XXX_Unmarshal

func (m *ObjectstoreInfo) XXX_Unmarshal(b []byte) error

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 ouput 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)
}

func NewOpenStorageAlertsClient

func NewOpenStorageAlertsClient(cc *grpc.ClientConn) OpenStorageAlertsClient

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 ouput 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)
}

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)
}

func NewOpenStorageCloudBackupClient

func NewOpenStorageCloudBackupClient(cc *grpc.ClientConn) OpenStorageCloudBackupClient

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)
}

type OpenStorageClusterClient

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

func NewOpenStorageClusterClient

func NewOpenStorageClusterClient(cc *grpc.ClientConn) OpenStorageClusterClient

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)
}

func NewOpenStorageClusterDomainsClient

func NewOpenStorageClusterDomainsClient(cc *grpc.ClientConn) OpenStorageClusterDomainsClient

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)
}

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)
}

func NewOpenStorageClusterPairClient

func NewOpenStorageClusterPairClient(cc *grpc.ClientConn) OpenStorageClusterPairClient

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)
}

type OpenStorageClusterServer

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

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)
}

func NewOpenStorageCredentialsClient

func NewOpenStorageCredentialsClient(cc *grpc.ClientConn) OpenStorageCredentialsClient

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)
}

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)
}

func NewOpenStorageDiagsClient

func NewOpenStorageDiagsClient(cc *grpc.ClientConn) OpenStorageDiagsClient

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)
}

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)
}

func NewOpenStorageFilesystemCheckClient

func NewOpenStorageFilesystemCheckClient(cc *grpc.ClientConn) OpenStorageFilesystemCheckClient

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)
}

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)
}

func NewOpenStorageFilesystemTrimClient

func NewOpenStorageFilesystemTrimClient(cc *grpc.ClientConn) OpenStorageFilesystemTrimClient

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)
}

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)
}

func NewOpenStorageIdentityClient

func NewOpenStorageIdentityClient(cc *grpc.ClientConn) OpenStorageIdentityClient

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)
}

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)
}

func NewOpenStorageJobClient

func NewOpenStorageJobClient(cc *grpc.ClientConn) OpenStorageJobClient

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)
}

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)
}

func NewOpenStorageMigrateClient

func NewOpenStorageMigrateClient(cc *grpc.ClientConn) OpenStorageMigrateClient

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)
}

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)
}

func NewOpenStorageMountAttachClient

func NewOpenStorageMountAttachClient(cc *grpc.ClientConn) OpenStorageMountAttachClient

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)
}

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)
	// 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)
}

func NewOpenStorageNodeClient

func NewOpenStorageNodeClient(cc *grpc.ClientConn) OpenStorageNodeClient

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)
	// 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)
}

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)
}

func NewOpenStorageObjectstoreClient

func NewOpenStorageObjectstoreClient(cc *grpc.ClientConn) OpenStorageObjectstoreClient

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)
}

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)
}

func NewOpenStoragePolicyClient

func NewOpenStoragePolicyClient(cc *grpc.ClientConn) OpenStoragePolicyClient

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)
}

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)
}

func NewOpenStoragePoolClient

func NewOpenStoragePoolClient(cc *grpc.ClientConn) OpenStoragePoolClient

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)
}

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)
}

func NewOpenStorageRoleClient

func NewOpenStorageRoleClient(cc *grpc.ClientConn) OpenStorageRoleClient

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)
}

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)
}

func NewOpenStorageSchedulePolicyClient

func NewOpenStorageSchedulePolicyClient(cc *grpc.ClientConn) OpenStorageSchedulePolicyClient

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)
}

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,
	// specifiy 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)
}

func NewOpenStorageVolumeClient

func NewOpenStorageVolumeClient(cc *grpc.ClientConn) OpenStorageVolumeClient

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,
	// specifiy 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)
}

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) EnumDescriptor

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

func (OperationFlags) String

func (x OperationFlags) String() string

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" 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" json:"acls,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

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

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

func (*Ownership) GetAcls

func (m *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 (m *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) Reset

func (m *Ownership) Reset()

func (*Ownership) String

func (m *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

func (*Ownership) XXX_DiscardUnknown

func (m *Ownership) XXX_DiscardUnknown()

func (*Ownership) XXX_Marshal

func (m *Ownership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ownership) XXX_Merge

func (dst *Ownership) XXX_Merge(src proto.Message)

func (*Ownership) XXX_Size

func (m *Ownership) XXX_Size() int

func (*Ownership) XXX_Unmarshal

func (m *Ownership) XXX_Unmarshal(b []byte) error

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 `` /* 175-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 `` /* 189-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" json:"public,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*Ownership_AccessControl) Descriptor

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

func (*Ownership_AccessControl) GetCollaborators

func (m *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) Reset

func (m *Ownership_AccessControl) Reset()

func (*Ownership_AccessControl) String

func (m *Ownership_AccessControl) String() string

func (*Ownership_AccessControl) XXX_DiscardUnknown

func (m *Ownership_AccessControl) XXX_DiscardUnknown()

func (*Ownership_AccessControl) XXX_Marshal

func (m *Ownership_AccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ownership_AccessControl) XXX_Merge

func (dst *Ownership_AccessControl) XXX_Merge(src proto.Message)

func (*Ownership_AccessControl) XXX_Size

func (m *Ownership_AccessControl) XXX_Size() int

func (*Ownership_AccessControl) XXX_Unmarshal

func (m *Ownership_AccessControl) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (Ownership_AccessType) String

func (x Ownership_AccessType) String() string

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,enum=openstorage.api.Ownership_AccessType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

PublicAccessControl allows assigning public ownership

func (*Ownership_PublicAccessControl) Descriptor

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

func (*Ownership_PublicAccessControl) GetType

func (*Ownership_PublicAccessControl) ProtoMessage

func (*Ownership_PublicAccessControl) ProtoMessage()

func (*Ownership_PublicAccessControl) Reset

func (m *Ownership_PublicAccessControl) Reset()

func (*Ownership_PublicAccessControl) String

func (*Ownership_PublicAccessControl) XXX_DiscardUnknown

func (m *Ownership_PublicAccessControl) XXX_DiscardUnknown()

func (*Ownership_PublicAccessControl) XXX_Marshal

func (m *Ownership_PublicAccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ownership_PublicAccessControl) XXX_Merge

func (dst *Ownership_PublicAccessControl) XXX_Merge(src proto.Message)

func (*Ownership_PublicAccessControl) XXX_Size

func (m *Ownership_PublicAccessControl) XXX_Size() int

func (*Ownership_PublicAccessControl) XXX_Unmarshal

func (m *Ownership_PublicAccessControl) XXX_Unmarshal(b []byte) error

type PXDProxySpec

type PXDProxySpec struct {
	// ID of the remote portworx volume
	Id                   string   `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PXDProxySpec is the spec for proxying a Portworx volume

func (*PXDProxySpec) Descriptor

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

func (*PXDProxySpec) GetId

func (m *PXDProxySpec) GetId() string

func (*PXDProxySpec) ProtoMessage

func (*PXDProxySpec) ProtoMessage()

func (*PXDProxySpec) Reset

func (m *PXDProxySpec) Reset()

func (*PXDProxySpec) String

func (m *PXDProxySpec) String() string

func (*PXDProxySpec) XXX_DiscardUnknown

func (m *PXDProxySpec) XXX_DiscardUnknown()

func (*PXDProxySpec) XXX_Marshal

func (m *PXDProxySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PXDProxySpec) XXX_Merge

func (dst *PXDProxySpec) XXX_Merge(src proto.Message)

func (*PXDProxySpec) XXX_Size

func (m *PXDProxySpec) XXX_Size() int

func (*PXDProxySpec) XXX_Unmarshal

func (m *PXDProxySpec) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (ProxyProtocol) SimpleString

func (x ProxyProtocol) SimpleString() string

SimpleString returns the string format of ProxyProtocol

func (ProxyProtocol) String

func (x ProxyProtocol) String() string

type ProxySpec

type ProxySpec struct {
	// ProxyProtocol defines the protocol used for proxy.
	ProxyProtocol ProxyProtocol `` /* 129-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" json:"endpoint,omitempty"`
	// NFSProxySpec is the spec for proxying an NFS share
	NfsSpec *NFSProxySpec `protobuf:"bytes,3,opt,name=nfs_spec,json=nfsSpec" 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" json:"s3_spec,omitempty"`
	// PXDProxySpec is the spec for proxying a Portworx volume
	PxdSpec *PXDProxySpec `protobuf:"bytes,5,opt,name=pxd_spec,json=pxdSpec" 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" 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" json:"pure_file_spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*ProxySpec) Descriptor

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

func (*ProxySpec) GetEndpoint

func (m *ProxySpec) GetEndpoint() string

func (*ProxySpec) GetNfsSpec

func (m *ProxySpec) GetNfsSpec() *NFSProxySpec

func (*ProxySpec) GetProxyProtocol

func (m *ProxySpec) GetProxyProtocol() ProxyProtocol

func (*ProxySpec) GetPureBlockSpec

func (m *ProxySpec) GetPureBlockSpec() *PureBlockSpec

func (*ProxySpec) GetPureFileSpec

func (m *ProxySpec) GetPureFileSpec() *PureFileSpec

func (*ProxySpec) GetPxdSpec

func (m *ProxySpec) GetPxdSpec() *PXDProxySpec

func (*ProxySpec) GetS3Spec

func (m *ProxySpec) GetS3Spec() *S3ProxySpec

func (*ProxySpec) IsPureBackend

func (s *ProxySpec) IsPureBackend() bool

func (*ProxySpec) ProtoMessage

func (*ProxySpec) ProtoMessage()

func (*ProxySpec) Reset

func (m *ProxySpec) Reset()

func (*ProxySpec) String

func (m *ProxySpec) String() string

func (*ProxySpec) XXX_DiscardUnknown

func (m *ProxySpec) XXX_DiscardUnknown()

func (*ProxySpec) XXX_Marshal

func (m *ProxySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProxySpec) XXX_Merge

func (dst *ProxySpec) XXX_Merge(src proto.Message)

func (*ProxySpec) XXX_Size

func (m *ProxySpec) XXX_Size() int

func (*ProxySpec) XXX_Unmarshal

func (m *ProxySpec) XXX_Unmarshal(b []byte) error

type PureBlockSpec

type PureBlockSpec struct {
	SerialNum            string   `protobuf:"bytes,1,opt,name=serial_num,json=serialNum" json:"serial_num,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PureBlockSpec is the spec for proxying a volume on pure_block backends

func (*PureBlockSpec) Descriptor

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

func (*PureBlockSpec) GetSerialNum

func (m *PureBlockSpec) GetSerialNum() string

func (*PureBlockSpec) ProtoMessage

func (*PureBlockSpec) ProtoMessage()

func (*PureBlockSpec) Reset

func (m *PureBlockSpec) Reset()

func (*PureBlockSpec) String

func (m *PureBlockSpec) String() string

func (*PureBlockSpec) XXX_DiscardUnknown

func (m *PureBlockSpec) XXX_DiscardUnknown()

func (*PureBlockSpec) XXX_Marshal

func (m *PureBlockSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PureBlockSpec) XXX_Merge

func (dst *PureBlockSpec) XXX_Merge(src proto.Message)

func (*PureBlockSpec) XXX_Size

func (m *PureBlockSpec) XXX_Size() int

func (*PureBlockSpec) XXX_Unmarshal

func (m *PureBlockSpec) XXX_Unmarshal(b []byte) error

type PureFileSpec

type PureFileSpec struct {
	ExportRules          string   `protobuf:"bytes,1,opt,name=export_rules,json=exportRules" json:"export_rules,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PureFileSpec is the spec for proxying a volume on pure_file backends

func (*PureFileSpec) Descriptor

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

func (*PureFileSpec) GetExportRules

func (m *PureFileSpec) GetExportRules() string

func (*PureFileSpec) ProtoMessage

func (*PureFileSpec) ProtoMessage()

func (*PureFileSpec) Reset

func (m *PureFileSpec) Reset()

func (*PureFileSpec) String

func (m *PureFileSpec) String() string

func (*PureFileSpec) XXX_DiscardUnknown

func (m *PureFileSpec) XXX_DiscardUnknown()

func (*PureFileSpec) XXX_Marshal

func (m *PureFileSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PureFileSpec) XXX_Merge

func (dst *PureFileSpec) XXX_Merge(src proto.Message)

func (*PureFileSpec) XXX_Size

func (m *PureFileSpec) XXX_Size() int

func (*PureFileSpec) XXX_Unmarshal

func (m *PureFileSpec) XXX_Unmarshal(b []byte) error

type RelaxedReclaimPurge

type RelaxedReclaimPurge struct {
	// num_purged returns number of volumes purged
	NumPurged            uint64   `protobuf:"varint,1,opt,name=num_purged,json=numPurged" json:"num_purged,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Purges the RelaxedReclaim queue

func (*RelaxedReclaimPurge) Descriptor

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

func (*RelaxedReclaimPurge) GetNumPurged

func (m *RelaxedReclaimPurge) GetNumPurged() uint64

func (*RelaxedReclaimPurge) ProtoMessage

func (*RelaxedReclaimPurge) ProtoMessage()

func (*RelaxedReclaimPurge) Reset

func (m *RelaxedReclaimPurge) Reset()

func (*RelaxedReclaimPurge) String

func (m *RelaxedReclaimPurge) String() string

func (*RelaxedReclaimPurge) XXX_DiscardUnknown

func (m *RelaxedReclaimPurge) XXX_DiscardUnknown()

func (*RelaxedReclaimPurge) XXX_Marshal

func (m *RelaxedReclaimPurge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RelaxedReclaimPurge) XXX_Merge

func (dst *RelaxedReclaimPurge) XXX_Merge(src proto.Message)

func (*RelaxedReclaimPurge) XXX_Size

func (m *RelaxedReclaimPurge) XXX_Size() int

func (*RelaxedReclaimPurge) XXX_Unmarshal

func (m *RelaxedReclaimPurge) XXX_Unmarshal(b []byte) error

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" json:"weight,omitempty"`
	// Enforcement specifies the rule enforcement policy. Can take values: required or preferred.
	// (optional)
	Enforcement EnforcementType `protobuf:"varint,2,opt,name=enforcement,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" 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" 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" json:"match_expressions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ReplicaPlacementSpec) Descriptor

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

func (*ReplicaPlacementSpec) GetAffectedReplicas

func (m *ReplicaPlacementSpec) GetAffectedReplicas() int32

func (*ReplicaPlacementSpec) GetEnforcement

func (m *ReplicaPlacementSpec) GetEnforcement() EnforcementType

func (*ReplicaPlacementSpec) GetMatchExpressions

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

func (*ReplicaPlacementSpec) GetTopologyKey

func (m *ReplicaPlacementSpec) GetTopologyKey() string

func (*ReplicaPlacementSpec) GetWeight

func (m *ReplicaPlacementSpec) GetWeight() int64

func (*ReplicaPlacementSpec) ProtoMessage

func (*ReplicaPlacementSpec) ProtoMessage()

func (*ReplicaPlacementSpec) Reset

func (m *ReplicaPlacementSpec) Reset()

func (*ReplicaPlacementSpec) String

func (m *ReplicaPlacementSpec) String() string

func (*ReplicaPlacementSpec) XXX_DiscardUnknown

func (m *ReplicaPlacementSpec) XXX_DiscardUnknown()

func (*ReplicaPlacementSpec) XXX_Marshal

func (m *ReplicaPlacementSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicaPlacementSpec) XXX_Merge

func (dst *ReplicaPlacementSpec) XXX_Merge(src proto.Message)

func (*ReplicaPlacementSpec) XXX_Size

func (m *ReplicaPlacementSpec) XXX_Size() int

func (*ReplicaPlacementSpec) XXX_Unmarshal

func (m *ReplicaPlacementSpec) XXX_Unmarshal(b []byte) error

type ReplicaSet

type ReplicaSet struct {
	Nodes []string `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"`
	// Unique IDs of the storage pools for this replica set
	PoolUuids            []string `protobuf:"bytes,2,rep,name=pool_uuids,json=poolUuids" json:"pool_uuids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*ReplicaSet) Descriptor

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

func (*ReplicaSet) GetNodes

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

func (*ReplicaSet) GetPoolUuids

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

func (*ReplicaSet) ProtoMessage

func (*ReplicaSet) ProtoMessage()

func (*ReplicaSet) Reset

func (m *ReplicaSet) Reset()

func (*ReplicaSet) String

func (m *ReplicaSet) String() string

func (*ReplicaSet) XXX_DiscardUnknown

func (m *ReplicaSet) XXX_DiscardUnknown()

func (*ReplicaSet) XXX_Marshal

func (m *ReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicaSet) XXX_Merge

func (dst *ReplicaSet) XXX_Merge(src proto.Message)

func (*ReplicaSet) XXX_Size

func (m *ReplicaSet) XXX_Size() int

func (*ReplicaSet) XXX_Unmarshal

func (m *ReplicaSet) XXX_Unmarshal(b []byte) error

type Report

type Report struct {
	// Directory count
	Directories int64 `protobuf:"varint,2,opt,name=directories" json:"directories,omitempty"`
	// File count
	Files                int64    `protobuf:"varint,3,opt,name=files" json:"files,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Report) Descriptor

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

func (*Report) GetDirectories

func (m *Report) GetDirectories() int64

func (*Report) GetFiles

func (m *Report) GetFiles() int64

func (*Report) ProtoMessage

func (*Report) ProtoMessage()

func (*Report) Reset

func (m *Report) Reset()

func (*Report) String

func (m *Report) String() string

func (*Report) XXX_DiscardUnknown

func (m *Report) XXX_DiscardUnknown()

func (*Report) XXX_Marshal

func (m *Report) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Report) XXX_Merge

func (dst *Report) XXX_Merge(src proto.Message)

func (*Report) XXX_Size

func (m *Report) XXX_Size() int

func (*Report) XXX_Unmarshal

func (m *Report) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (ResourceType) String

func (x ResourceType) String() string

type RestoreParamBoolType

type RestoreParamBoolType int32
const (
	RestoreParamBoolType_PARAM_BKUPSRC RestoreParamBoolType = 0
	RestoreParamBoolType_PARAM_FALSE   RestoreParamBoolType = 1
	RestoreParamBoolType_PARAM_TRUE    RestoreParamBoolType = 2
)

func (RestoreParamBoolType) EnumDescriptor

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

func (RestoreParamBoolType) String

func (x RestoreParamBoolType) String() string

type RestoreVolSnashotSchedule

type RestoreVolSnashotSchedule struct {
	Schedule             string   `protobuf:"bytes,1,opt,name=schedule" json:"schedule,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RestoreVolSnashotSchedule) Descriptor

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

func (*RestoreVolSnashotSchedule) GetSchedule

func (m *RestoreVolSnashotSchedule) GetSchedule() string

func (*RestoreVolSnashotSchedule) ProtoMessage

func (*RestoreVolSnashotSchedule) ProtoMessage()

func (*RestoreVolSnashotSchedule) Reset

func (m *RestoreVolSnashotSchedule) Reset()

func (*RestoreVolSnashotSchedule) String

func (m *RestoreVolSnashotSchedule) String() string

func (*RestoreVolSnashotSchedule) XXX_DiscardUnknown

func (m *RestoreVolSnashotSchedule) XXX_DiscardUnknown()

func (*RestoreVolSnashotSchedule) XXX_Marshal

func (m *RestoreVolSnashotSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreVolSnashotSchedule) XXX_Merge

func (dst *RestoreVolSnashotSchedule) XXX_Merge(src proto.Message)

func (*RestoreVolSnashotSchedule) XXX_Size

func (m *RestoreVolSnashotSchedule) XXX_Size() int

func (*RestoreVolSnashotSchedule) XXX_Unmarshal

func (m *RestoreVolSnashotSchedule) XXX_Unmarshal(b []byte) error

type RestoreVolStoragePolicy

type RestoreVolStoragePolicy struct {
	Policy               string   `protobuf:"bytes,1,opt,name=policy" json:"policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RestoreVolStoragePolicy) Descriptor

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

func (*RestoreVolStoragePolicy) GetPolicy

func (m *RestoreVolStoragePolicy) GetPolicy() string

func (*RestoreVolStoragePolicy) ProtoMessage

func (*RestoreVolStoragePolicy) ProtoMessage()

func (*RestoreVolStoragePolicy) Reset

func (m *RestoreVolStoragePolicy) Reset()

func (*RestoreVolStoragePolicy) String

func (m *RestoreVolStoragePolicy) String() string

func (*RestoreVolStoragePolicy) XXX_DiscardUnknown

func (m *RestoreVolStoragePolicy) XXX_DiscardUnknown()

func (*RestoreVolStoragePolicy) XXX_Marshal

func (m *RestoreVolStoragePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreVolStoragePolicy) XXX_Merge

func (dst *RestoreVolStoragePolicy) XXX_Merge(src proto.Message)

func (*RestoreVolStoragePolicy) XXX_Size

func (m *RestoreVolStoragePolicy) XXX_Size() int

func (*RestoreVolStoragePolicy) XXX_Unmarshal

func (m *RestoreVolStoragePolicy) XXX_Unmarshal(b []byte) error

type RestoreVolumeSpec

type RestoreVolumeSpec struct {
	// HaLevel specifies the number of copies of data.
	HaLevel int64 `protobuf:"varint,1,opt,name=ha_level,json=haLevel" json:"ha_level,omitempty"`
	// Cos specifies the relative class of service.
	Cos CosType `protobuf:"varint,2,opt,name=cos,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,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" 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,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" 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" 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" json:"snapshot_schedule,omitempty"`
	// Sticky volumes cannot be deleted until the flag is removed.
	Sticky RestoreParamBoolType `protobuf:"varint,9,opt,name=sticky,enum=openstorage.api.RestoreParamBoolType" json:"sticky,omitempty"`
	// Group identifies a consistency group
	Group *Group `protobuf:"bytes,10,opt,name=group" json:"group,omitempty"`
	// GroupEnforced is true if consistency group creation is enforced.
	GroupEnforced bool `protobuf:"varint,11,opt,name=group_enforced,json=groupEnforced" json:"group_enforced,omitempty"`
	// Journal is true if data for the volume goes into the journal.
	Journal RestoreParamBoolType `protobuf:"varint,12,opt,name=journal,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,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" 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,enum=openstorage.api.RestoreParamBoolType" json:"nodiscard,omitempty"`
	// IoStrategy preferred strategy for I/O.
	IoStrategy *IoStrategy `protobuf:"bytes,16,opt,name=io_strategy,json=ioStrategy" 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" json:"placement_strategy,omitempty"`
	// StoragePolicy if applied/specified while creating volume
	StoragePolicy *RestoreVolStoragePolicy `protobuf:"bytes,18,opt,name=storage_policy,json=storagePolicy" json:"storage_policy,omitempty"`
	// Ownership
	Ownership *Ownership `protobuf:"bytes,19,opt,name=ownership" json:"ownership,omitempty"`
	// ExportSpec defines how the volume should be exported.
	ExportSpec *ExportSpec `protobuf:"bytes,20,opt,name=export_spec,json=exportSpec" json:"export_spec,omitempty"`
	// fastpath extensions
	FpPreference RestoreParamBoolType `` /* 134-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" 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" json:"sharedv4_mount_options,omitempty"`
	// Proxy_write is true if proxy write replication is enabled for the volume
	ProxyWrite RestoreParamBoolType `` /* 128-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" 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" 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" 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" json:"sharedv4_spec,omitempty"`
	// Autofstrim is true if automatic fstrim is enabled for the volume
	AutoFstrim RestoreParamBoolType `` /* 128-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" json:"io_throttle,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

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

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

func (*RestoreVolumeSpec) GetAggregationLevel

func (m *RestoreVolumeSpec) GetAggregationLevel() uint32

func (*RestoreVolumeSpec) GetAutoFstrim

func (m *RestoreVolumeSpec) GetAutoFstrim() RestoreParamBoolType

func (*RestoreVolumeSpec) GetCos

func (m *RestoreVolumeSpec) GetCos() CosType

func (*RestoreVolumeSpec) GetExportSpec

func (m *RestoreVolumeSpec) GetExportSpec() *ExportSpec

func (*RestoreVolumeSpec) GetFpPreference

func (m *RestoreVolumeSpec) GetFpPreference() RestoreParamBoolType

func (*RestoreVolumeSpec) GetGroup

func (m *RestoreVolumeSpec) GetGroup() *Group

func (*RestoreVolumeSpec) GetGroupEnforced

func (m *RestoreVolumeSpec) GetGroupEnforced() bool

func (*RestoreVolumeSpec) GetHaLevel

func (m *RestoreVolumeSpec) GetHaLevel() int64

func (*RestoreVolumeSpec) GetIoProfile

func (m *RestoreVolumeSpec) GetIoProfile() IoProfile

func (*RestoreVolumeSpec) GetIoProfileBkupSrc

func (m *RestoreVolumeSpec) GetIoProfileBkupSrc() bool

func (*RestoreVolumeSpec) GetIoStrategy

func (m *RestoreVolumeSpec) GetIoStrategy() *IoStrategy

func (*RestoreVolumeSpec) GetIoThrottle

func (m *RestoreVolumeSpec) GetIoThrottle() *IoThrottle

func (*RestoreVolumeSpec) GetJournal

func (m *RestoreVolumeSpec) GetJournal() RestoreParamBoolType

func (*RestoreVolumeSpec) GetMountOptions

func (m *RestoreVolumeSpec) GetMountOptions() *MountOptions

func (*RestoreVolumeSpec) GetNodiscard

func (m *RestoreVolumeSpec) GetNodiscard() RestoreParamBoolType

func (*RestoreVolumeSpec) GetOwnership

func (m *RestoreVolumeSpec) GetOwnership() *Ownership

func (*RestoreVolumeSpec) GetPlacementStrategy

func (m *RestoreVolumeSpec) GetPlacementStrategy() *VolumePlacementStrategy

func (*RestoreVolumeSpec) GetProxySpec

func (m *RestoreVolumeSpec) GetProxySpec() *ProxySpec

func (*RestoreVolumeSpec) GetProxyWrite

func (m *RestoreVolumeSpec) GetProxyWrite() RestoreParamBoolType

func (*RestoreVolumeSpec) GetQueueDepth

func (m *RestoreVolumeSpec) GetQueueDepth() uint32

func (*RestoreVolumeSpec) GetReplicaSet

func (m *RestoreVolumeSpec) GetReplicaSet() *ReplicaSet

func (*RestoreVolumeSpec) GetShared

func (m *RestoreVolumeSpec) GetShared() RestoreParamBoolType

func (*RestoreVolumeSpec) GetSharedv4

func (m *RestoreVolumeSpec) GetSharedv4() RestoreParamBoolType

func (*RestoreVolumeSpec) GetSharedv4MountOptions

func (m *RestoreVolumeSpec) GetSharedv4MountOptions() *MountOptions

func (*RestoreVolumeSpec) GetSharedv4ServiceSpec

func (m *RestoreVolumeSpec) GetSharedv4ServiceSpec() *Sharedv4ServiceSpec

func (*RestoreVolumeSpec) GetSharedv4Spec

func (m *RestoreVolumeSpec) GetSharedv4Spec() *Sharedv4Spec

func (*RestoreVolumeSpec) GetSnapshotInterval

func (m *RestoreVolumeSpec) GetSnapshotInterval() uint32

func (*RestoreVolumeSpec) GetSnapshotSchedule

func (m *RestoreVolumeSpec) GetSnapshotSchedule() *RestoreVolSnashotSchedule

func (*RestoreVolumeSpec) GetSticky

func (m *RestoreVolumeSpec) GetSticky() RestoreParamBoolType

func (*RestoreVolumeSpec) GetStoragePolicy

func (m *RestoreVolumeSpec) GetStoragePolicy() *RestoreVolStoragePolicy

func (*RestoreVolumeSpec) ProtoMessage

func (*RestoreVolumeSpec) ProtoMessage()

func (*RestoreVolumeSpec) Reset

func (m *RestoreVolumeSpec) Reset()

func (*RestoreVolumeSpec) String

func (m *RestoreVolumeSpec) String() string

func (*RestoreVolumeSpec) XXX_DiscardUnknown

func (m *RestoreVolumeSpec) XXX_DiscardUnknown()

func (*RestoreVolumeSpec) XXX_Marshal

func (m *RestoreVolumeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreVolumeSpec) XXX_Merge

func (dst *RestoreVolumeSpec) XXX_Merge(src proto.Message)

func (*RestoreVolumeSpec) XXX_Size

func (m *RestoreVolumeSpec) XXX_Size() int

func (*RestoreVolumeSpec) XXX_Unmarshal

func (m *RestoreVolumeSpec) XXX_Unmarshal(b []byte) error

type RuntimeStateMap

type RuntimeStateMap struct {
	RuntimeState         map[string]string `` /* 164-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*RuntimeStateMap) Descriptor

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

func (*RuntimeStateMap) GetRuntimeState

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

func (*RuntimeStateMap) ProtoMessage

func (*RuntimeStateMap) ProtoMessage()

func (*RuntimeStateMap) Reset

func (m *RuntimeStateMap) Reset()

func (*RuntimeStateMap) String

func (m *RuntimeStateMap) String() string

func (*RuntimeStateMap) XXX_DiscardUnknown

func (m *RuntimeStateMap) XXX_DiscardUnknown()

func (*RuntimeStateMap) XXX_Marshal

func (m *RuntimeStateMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeStateMap) XXX_Merge

func (dst *RuntimeStateMap) XXX_Merge(src proto.Message)

func (*RuntimeStateMap) XXX_Size

func (m *RuntimeStateMap) XXX_Size() int

func (*RuntimeStateMap) XXX_Unmarshal

func (m *RuntimeStateMap) XXX_Unmarshal(b []byte) error

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" json:"bucket_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

S3ProxySpec is the spec for proxying an external object store.

func (*S3ProxySpec) Descriptor

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

func (*S3ProxySpec) GetBucketName

func (m *S3ProxySpec) GetBucketName() string

func (*S3ProxySpec) ProtoMessage

func (*S3ProxySpec) ProtoMessage()

func (*S3ProxySpec) Reset

func (m *S3ProxySpec) Reset()

func (*S3ProxySpec) String

func (m *S3ProxySpec) String() string

func (*S3ProxySpec) XXX_DiscardUnknown

func (m *S3ProxySpec) XXX_DiscardUnknown()

func (*S3ProxySpec) XXX_Marshal

func (m *S3ProxySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*S3ProxySpec) XXX_Merge

func (dst *S3ProxySpec) XXX_Merge(src proto.Message)

func (*S3ProxySpec) XXX_Size

func (m *S3ProxySpec) XXX_Size() int

func (*S3ProxySpec) XXX_Unmarshal

func (m *S3ProxySpec) XXX_Unmarshal(b []byte) error

type ScanPolicy

type ScanPolicy struct {
	Trigger              ScanPolicy_ScanTrigger `protobuf:"varint,1,opt,name=trigger,enum=openstorage.api.ScanPolicy_ScanTrigger" json:"trigger,omitempty"`
	Action               ScanPolicy_ScanAction  `protobuf:"varint,2,opt,name=action,enum=openstorage.api.ScanPolicy_ScanAction" json:"action,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

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

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

func (*ScanPolicy) GetAction

func (m *ScanPolicy) GetAction() ScanPolicy_ScanAction

func (*ScanPolicy) GetTrigger

func (m *ScanPolicy) GetTrigger() ScanPolicy_ScanTrigger

func (*ScanPolicy) ProtoMessage

func (*ScanPolicy) ProtoMessage()

func (*ScanPolicy) Reset

func (m *ScanPolicy) Reset()

func (*ScanPolicy) String

func (m *ScanPolicy) String() string

func (*ScanPolicy) XXX_DiscardUnknown

func (m *ScanPolicy) XXX_DiscardUnknown()

func (*ScanPolicy) XXX_Marshal

func (m *ScanPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScanPolicy) XXX_Merge

func (dst *ScanPolicy) XXX_Merge(src proto.Message)

func (*ScanPolicy) XXX_Size

func (m *ScanPolicy) XXX_Size() int

func (*ScanPolicy) XXX_Unmarshal

func (m *ScanPolicy) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

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

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) EnumDescriptor

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

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

type SchedulerTopology

type SchedulerTopology struct {
	// Key-value pairs defining the topology of the node
	Labels               map[string]string `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*SchedulerTopology) Descriptor

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

func (*SchedulerTopology) GetLabels

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

func (*SchedulerTopology) ProtoMessage

func (*SchedulerTopology) ProtoMessage()

func (*SchedulerTopology) Reset

func (m *SchedulerTopology) Reset()

func (*SchedulerTopology) String

func (m *SchedulerTopology) String() string

func (*SchedulerTopology) XXX_DiscardUnknown

func (m *SchedulerTopology) XXX_DiscardUnknown()

func (*SchedulerTopology) XXX_Marshal

func (m *SchedulerTopology) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulerTopology) XXX_Merge

func (dst *SchedulerTopology) XXX_Merge(src proto.Message)

func (*SchedulerTopology) XXX_Size

func (m *SchedulerTopology) XXX_Size() int

func (*SchedulerTopology) XXX_Unmarshal

func (m *SchedulerTopology) XXX_Unmarshal(b []byte) error

type SdkAlertsAlertTypeQuery

type SdkAlertsAlertTypeQuery struct {
	// Resource type used to build query.
	ResourceType ResourceType `protobuf:"varint,1,opt,name=resource_type,json=resourceType,enum=openstorage.api.ResourceType" json:"resource_type,omitempty"`
	// Alert type used to build query.
	AlertType            int64    `protobuf:"varint,2,opt,name=alert_type,json=alertType" json:"alert_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*SdkAlertsAlertTypeQuery) Descriptor

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

func (*SdkAlertsAlertTypeQuery) GetAlertType

func (m *SdkAlertsAlertTypeQuery) GetAlertType() int64

func (*SdkAlertsAlertTypeQuery) GetResourceType

func (m *SdkAlertsAlertTypeQuery) GetResourceType() ResourceType

func (*SdkAlertsAlertTypeQuery) ProtoMessage

func (*SdkAlertsAlertTypeQuery) ProtoMessage()

func (*SdkAlertsAlertTypeQuery) Reset

func (m *SdkAlertsAlertTypeQuery) Reset()

func (*SdkAlertsAlertTypeQuery) String

func (m *SdkAlertsAlertTypeQuery) String() string

func (*SdkAlertsAlertTypeQuery) XXX_DiscardUnknown

func (m *SdkAlertsAlertTypeQuery) XXX_DiscardUnknown()

func (*SdkAlertsAlertTypeQuery) XXX_Marshal

func (m *SdkAlertsAlertTypeQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAlertsAlertTypeQuery) XXX_Merge

func (dst *SdkAlertsAlertTypeQuery) XXX_Merge(src proto.Message)

func (*SdkAlertsAlertTypeQuery) XXX_Size

func (m *SdkAlertsAlertTypeQuery) XXX_Size() int

func (*SdkAlertsAlertTypeQuery) XXX_Unmarshal

func (m *SdkAlertsAlertTypeQuery) XXX_Unmarshal(b []byte) error

type SdkAlertsCountSpan

type SdkAlertsCountSpan struct {
	// Min count of such alerts raised so far.
	MinCount int64 `protobuf:"varint,1,opt,name=min_count,json=minCount" json:"min_count,omitempty"`
	// Max count of such alerts raised so far.
	MaxCount             int64    `protobuf:"varint,2,opt,name=max_count,json=maxCount" json:"max_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkAlertsCountSpan to store count range information.

func (*SdkAlertsCountSpan) Descriptor

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

func (*SdkAlertsCountSpan) GetMaxCount

func (m *SdkAlertsCountSpan) GetMaxCount() int64

func (*SdkAlertsCountSpan) GetMinCount

func (m *SdkAlertsCountSpan) GetMinCount() int64

func (*SdkAlertsCountSpan) ProtoMessage

func (*SdkAlertsCountSpan) ProtoMessage()

func (*SdkAlertsCountSpan) Reset

func (m *SdkAlertsCountSpan) Reset()

func (*SdkAlertsCountSpan) String

func (m *SdkAlertsCountSpan) String() string

func (*SdkAlertsCountSpan) XXX_DiscardUnknown

func (m *SdkAlertsCountSpan) XXX_DiscardUnknown()

func (*SdkAlertsCountSpan) XXX_Marshal

func (m *SdkAlertsCountSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAlertsCountSpan) XXX_Merge

func (dst *SdkAlertsCountSpan) XXX_Merge(src proto.Message)

func (*SdkAlertsCountSpan) XXX_Size

func (m *SdkAlertsCountSpan) XXX_Size() int

func (*SdkAlertsCountSpan) XXX_Unmarshal

func (m *SdkAlertsCountSpan) XXX_Unmarshal(b []byte) error

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" json:"queries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

SdkAlertsDeleteRequest is a request message to delete alerts.

func (*SdkAlertsDeleteRequest) Descriptor

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

func (*SdkAlertsDeleteRequest) GetQueries

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

func (*SdkAlertsDeleteRequest) ProtoMessage

func (*SdkAlertsDeleteRequest) ProtoMessage()

func (*SdkAlertsDeleteRequest) Reset

func (m *SdkAlertsDeleteRequest) Reset()

func (*SdkAlertsDeleteRequest) String

func (m *SdkAlertsDeleteRequest) String() string

func (*SdkAlertsDeleteRequest) XXX_DiscardUnknown

func (m *SdkAlertsDeleteRequest) XXX_DiscardUnknown()

func (*SdkAlertsDeleteRequest) XXX_Marshal

func (m *SdkAlertsDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAlertsDeleteRequest) XXX_Merge

func (dst *SdkAlertsDeleteRequest) XXX_Merge(src proto.Message)

func (*SdkAlertsDeleteRequest) XXX_Size

func (m *SdkAlertsDeleteRequest) XXX_Size() int

func (*SdkAlertsDeleteRequest) XXX_Unmarshal

func (m *SdkAlertsDeleteRequest) XXX_Unmarshal(b []byte) error

type SdkAlertsDeleteResponse

type SdkAlertsDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkAlertsDeleteResponse is empty.

func (*SdkAlertsDeleteResponse) Descriptor

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

func (*SdkAlertsDeleteResponse) ProtoMessage

func (*SdkAlertsDeleteResponse) ProtoMessage()

func (*SdkAlertsDeleteResponse) Reset

func (m *SdkAlertsDeleteResponse) Reset()

func (*SdkAlertsDeleteResponse) String

func (m *SdkAlertsDeleteResponse) String() string

func (*SdkAlertsDeleteResponse) XXX_DiscardUnknown

func (m *SdkAlertsDeleteResponse) XXX_DiscardUnknown()

func (*SdkAlertsDeleteResponse) XXX_Marshal

func (m *SdkAlertsDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAlertsDeleteResponse) XXX_Merge

func (dst *SdkAlertsDeleteResponse) XXX_Merge(src proto.Message)

func (*SdkAlertsDeleteResponse) XXX_Size

func (m *SdkAlertsDeleteResponse) XXX_Size() int

func (*SdkAlertsDeleteResponse) XXX_Unmarshal

func (m *SdkAlertsDeleteResponse) XXX_Unmarshal(b []byte) error

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" json:"queries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

SdkAlertsEnumerateRequest is a request message to enumerate alerts.

func (*SdkAlertsEnumerateWithFiltersRequest) Descriptor

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

func (*SdkAlertsEnumerateWithFiltersRequest) GetQueries

func (*SdkAlertsEnumerateWithFiltersRequest) ProtoMessage

func (*SdkAlertsEnumerateWithFiltersRequest) ProtoMessage()

func (*SdkAlertsEnumerateWithFiltersRequest) Reset

func (*SdkAlertsEnumerateWithFiltersRequest) String

func (*SdkAlertsEnumerateWithFiltersRequest) XXX_DiscardUnknown

func (m *SdkAlertsEnumerateWithFiltersRequest) XXX_DiscardUnknown()

func (*SdkAlertsEnumerateWithFiltersRequest) XXX_Marshal

func (m *SdkAlertsEnumerateWithFiltersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAlertsEnumerateWithFiltersRequest) XXX_Merge

func (*SdkAlertsEnumerateWithFiltersRequest) XXX_Size

func (*SdkAlertsEnumerateWithFiltersRequest) XXX_Unmarshal

func (m *SdkAlertsEnumerateWithFiltersRequest) XXX_Unmarshal(b []byte) error

type SdkAlertsEnumerateWithFiltersResponse

type SdkAlertsEnumerateWithFiltersResponse struct {
	// Response contains a list of alerts.
	Alerts               []*Alert `protobuf:"bytes,1,rep,name=alerts" json:"alerts,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkAlertsEnumerateResponse is a list of alerts.

func (*SdkAlertsEnumerateWithFiltersResponse) Descriptor

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

func (*SdkAlertsEnumerateWithFiltersResponse) GetAlerts

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

func (*SdkAlertsEnumerateWithFiltersResponse) ProtoMessage

func (*SdkAlertsEnumerateWithFiltersResponse) ProtoMessage()

func (*SdkAlertsEnumerateWithFiltersResponse) Reset

func (*SdkAlertsEnumerateWithFiltersResponse) String

func (*SdkAlertsEnumerateWithFiltersResponse) XXX_DiscardUnknown

func (m *SdkAlertsEnumerateWithFiltersResponse) XXX_DiscardUnknown()

func (*SdkAlertsEnumerateWithFiltersResponse) XXX_Marshal

func (m *SdkAlertsEnumerateWithFiltersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAlertsEnumerateWithFiltersResponse) XXX_Merge

func (*SdkAlertsEnumerateWithFiltersResponse) XXX_Size

func (*SdkAlertsEnumerateWithFiltersResponse) XXX_Unmarshal

func (m *SdkAlertsEnumerateWithFiltersResponse) XXX_Unmarshal(b []byte) error

type SdkAlertsOption

type SdkAlertsOption struct {
	// Types that are valid to be assigned to Opt:
	//	*SdkAlertsOption_MinSeverityType
	//	*SdkAlertsOption_IsCleared
	//	*SdkAlertsOption_TimeSpan
	//	*SdkAlertsOption_CountSpan
	Opt                  isSdkAlertsOption_Opt `protobuf_oneof:"opt"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

SdkAlertsOption contains options for filtering alerts.

func (*SdkAlertsOption) Descriptor

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

func (*SdkAlertsOption) GetCountSpan

func (m *SdkAlertsOption) GetCountSpan() *SdkAlertsCountSpan

func (*SdkAlertsOption) GetIsCleared

func (m *SdkAlertsOption) GetIsCleared() bool

func (*SdkAlertsOption) GetMinSeverityType

func (m *SdkAlertsOption) GetMinSeverityType() SeverityType

func (*SdkAlertsOption) GetOpt

func (m *SdkAlertsOption) GetOpt() isSdkAlertsOption_Opt

func (*SdkAlertsOption) GetTimeSpan

func (m *SdkAlertsOption) GetTimeSpan() *SdkAlertsTimeSpan

func (*SdkAlertsOption) ProtoMessage

func (*SdkAlertsOption) ProtoMessage()

func (*SdkAlertsOption) Reset

func (m *SdkAlertsOption) Reset()

func (*SdkAlertsOption) String

func (m *SdkAlertsOption) String() string

func (*SdkAlertsOption) XXX_DiscardUnknown

func (m *SdkAlertsOption) XXX_DiscardUnknown()

func (*SdkAlertsOption) XXX_Marshal

func (m *SdkAlertsOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAlertsOption) XXX_Merge

func (dst *SdkAlertsOption) XXX_Merge(src proto.Message)

func (*SdkAlertsOption) XXX_OneofFuncs

func (*SdkAlertsOption) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*SdkAlertsOption) XXX_Size

func (m *SdkAlertsOption) XXX_Size() int

func (*SdkAlertsOption) XXX_Unmarshal

func (m *SdkAlertsOption) XXX_Unmarshal(b []byte) error

type SdkAlertsOption_CountSpan

type SdkAlertsOption_CountSpan struct {
	CountSpan *SdkAlertsCountSpan `protobuf:"bytes,4,opt,name=count_span,json=countSpan,oneof"`
}

type SdkAlertsOption_IsCleared

type SdkAlertsOption_IsCleared struct {
	IsCleared bool `protobuf:"varint,2,opt,name=is_cleared,json=isCleared,oneof"`
}

type SdkAlertsOption_MinSeverityType

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

type SdkAlertsOption_TimeSpan

type SdkAlertsOption_TimeSpan struct {
	TimeSpan *SdkAlertsTimeSpan `protobuf:"bytes,3,opt,name=time_span,json=timeSpan,oneof"`
}

type SdkAlertsQuery

type SdkAlertsQuery struct {
	// One of the query types can be used to build SdkAlertsQuery.
	//
	// Types that are valid to be assigned 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" json:"opts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

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

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

func (*SdkAlertsQuery) GetAlertTypeQuery

func (m *SdkAlertsQuery) GetAlertTypeQuery() *SdkAlertsAlertTypeQuery

func (*SdkAlertsQuery) GetOpts

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

func (*SdkAlertsQuery) GetQuery

func (m *SdkAlertsQuery) GetQuery() isSdkAlertsQuery_Query

func (*SdkAlertsQuery) GetResourceIdQuery

func (m *SdkAlertsQuery) GetResourceIdQuery() *SdkAlertsResourceIdQuery

func (*SdkAlertsQuery) GetResourceTypeQuery

func (m *SdkAlertsQuery) GetResourceTypeQuery() *SdkAlertsResourceTypeQuery

func (*SdkAlertsQuery) ProtoMessage

func (*SdkAlertsQuery) ProtoMessage()

func (*SdkAlertsQuery) Reset

func (m *SdkAlertsQuery) Reset()

func (*SdkAlertsQuery) String

func (m *SdkAlertsQuery) String() string

func (*SdkAlertsQuery) XXX_DiscardUnknown

func (m *SdkAlertsQuery) XXX_DiscardUnknown()

func (*SdkAlertsQuery) XXX_Marshal

func (m *SdkAlertsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAlertsQuery) XXX_Merge

func (dst *SdkAlertsQuery) XXX_Merge(src proto.Message)

func (*SdkAlertsQuery) XXX_OneofFuncs

func (*SdkAlertsQuery) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*SdkAlertsQuery) XXX_Size

func (m *SdkAlertsQuery) XXX_Size() int

func (*SdkAlertsQuery) XXX_Unmarshal

func (m *SdkAlertsQuery) XXX_Unmarshal(b []byte) error

type SdkAlertsQuery_AlertTypeQuery

type SdkAlertsQuery_AlertTypeQuery struct {
	AlertTypeQuery *SdkAlertsAlertTypeQuery `protobuf:"bytes,2,opt,name=alert_type_query,json=alertTypeQuery,oneof"`
}

type SdkAlertsQuery_ResourceIdQuery

type SdkAlertsQuery_ResourceIdQuery struct {
	ResourceIdQuery *SdkAlertsResourceIdQuery `protobuf:"bytes,3,opt,name=resource_id_query,json=resourceIdQuery,oneof"`
}

type SdkAlertsQuery_ResourceTypeQuery

type SdkAlertsQuery_ResourceTypeQuery struct {
	ResourceTypeQuery *SdkAlertsResourceTypeQuery `protobuf:"bytes,1,opt,name=resource_type_query,json=resourceTypeQuery,oneof"`
}

type SdkAlertsResourceIdQuery

type SdkAlertsResourceIdQuery struct {
	// Resource type used to build query.
	ResourceType ResourceType `protobuf:"varint,1,opt,name=resource_type,json=resourceType,enum=openstorage.api.ResourceType" json:"resource_type,omitempty"`
	// Alert type used to build query.
	AlertType int64 `protobuf:"varint,2,opt,name=alert_type,json=alertType" json:"alert_type,omitempty"`
	// Resource ID used to build query.
	ResourceId           string   `protobuf:"bytes,3,opt,name=resource_id,json=resourceId" json:"resource_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*SdkAlertsResourceIdQuery) Descriptor

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

func (*SdkAlertsResourceIdQuery) GetAlertType

func (m *SdkAlertsResourceIdQuery) GetAlertType() int64

func (*SdkAlertsResourceIdQuery) GetResourceId

func (m *SdkAlertsResourceIdQuery) GetResourceId() string

func (*SdkAlertsResourceIdQuery) GetResourceType

func (m *SdkAlertsResourceIdQuery) GetResourceType() ResourceType

func (*SdkAlertsResourceIdQuery) ProtoMessage

func (*SdkAlertsResourceIdQuery) ProtoMessage()

func (*SdkAlertsResourceIdQuery) Reset

func (m *SdkAlertsResourceIdQuery) Reset()

func (*SdkAlertsResourceIdQuery) String

func (m *SdkAlertsResourceIdQuery) String() string

func (*SdkAlertsResourceIdQuery) XXX_DiscardUnknown

func (m *SdkAlertsResourceIdQuery) XXX_DiscardUnknown()

func (*SdkAlertsResourceIdQuery) XXX_Marshal

func (m *SdkAlertsResourceIdQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAlertsResourceIdQuery) XXX_Merge

func (dst *SdkAlertsResourceIdQuery) XXX_Merge(src proto.Message)

func (*SdkAlertsResourceIdQuery) XXX_Size

func (m *SdkAlertsResourceIdQuery) XXX_Size() int

func (*SdkAlertsResourceIdQuery) XXX_Unmarshal

func (m *SdkAlertsResourceIdQuery) XXX_Unmarshal(b []byte) error

type SdkAlertsResourceTypeQuery

type SdkAlertsResourceTypeQuery struct {
	// Resource type used to build query.
	ResourceType         ResourceType `protobuf:"varint,1,opt,name=resource_type,json=resourceType,enum=openstorage.api.ResourceType" json:"resource_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

SdkAlertsResourceTypeQuery queries for alerts using only resource id.

func (*SdkAlertsResourceTypeQuery) Descriptor

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

func (*SdkAlertsResourceTypeQuery) GetResourceType

func (m *SdkAlertsResourceTypeQuery) GetResourceType() ResourceType

func (*SdkAlertsResourceTypeQuery) ProtoMessage

func (*SdkAlertsResourceTypeQuery) ProtoMessage()

func (*SdkAlertsResourceTypeQuery) Reset

func (m *SdkAlertsResourceTypeQuery) Reset()

func (*SdkAlertsResourceTypeQuery) String

func (m *SdkAlertsResourceTypeQuery) String() string

func (*SdkAlertsResourceTypeQuery) XXX_DiscardUnknown

func (m *SdkAlertsResourceTypeQuery) XXX_DiscardUnknown()

func (*SdkAlertsResourceTypeQuery) XXX_Marshal

func (m *SdkAlertsResourceTypeQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAlertsResourceTypeQuery) XXX_Merge

func (dst *SdkAlertsResourceTypeQuery) XXX_Merge(src proto.Message)

func (*SdkAlertsResourceTypeQuery) XXX_Size

func (m *SdkAlertsResourceTypeQuery) XXX_Size() int

func (*SdkAlertsResourceTypeQuery) XXX_Unmarshal

func (m *SdkAlertsResourceTypeQuery) XXX_Unmarshal(b []byte) error

type SdkAlertsTimeSpan

type SdkAlertsTimeSpan struct {
	// Start timestamp when Alert occured
	StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
	// End timestamp when Alert occured
	EndTime              *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

SdkAlertsTimeSpan to store time window information.

func (*SdkAlertsTimeSpan) Descriptor

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

func (*SdkAlertsTimeSpan) GetEndTime

func (m *SdkAlertsTimeSpan) GetEndTime() *timestamp.Timestamp

func (*SdkAlertsTimeSpan) GetStartTime

func (m *SdkAlertsTimeSpan) GetStartTime() *timestamp.Timestamp

func (*SdkAlertsTimeSpan) ProtoMessage

func (*SdkAlertsTimeSpan) ProtoMessage()

func (*SdkAlertsTimeSpan) Reset

func (m *SdkAlertsTimeSpan) Reset()

func (*SdkAlertsTimeSpan) String

func (m *SdkAlertsTimeSpan) String() string

func (*SdkAlertsTimeSpan) XXX_DiscardUnknown

func (m *SdkAlertsTimeSpan) XXX_DiscardUnknown()

func (*SdkAlertsTimeSpan) XXX_Marshal

func (m *SdkAlertsTimeSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAlertsTimeSpan) XXX_Merge

func (dst *SdkAlertsTimeSpan) XXX_Merge(src proto.Message)

func (*SdkAlertsTimeSpan) XXX_Size

func (m *SdkAlertsTimeSpan) XXX_Size() int

func (*SdkAlertsTimeSpan) XXX_Unmarshal

func (m *SdkAlertsTimeSpan) XXX_Unmarshal(b []byte) error

type SdkAutoFSTrimStatusRequest

type SdkAutoFSTrimStatusRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkAutoFSTrimStatusRequest defines a request to get status of autofs trim operation

func (*SdkAutoFSTrimStatusRequest) Descriptor

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

func (*SdkAutoFSTrimStatusRequest) ProtoMessage

func (*SdkAutoFSTrimStatusRequest) ProtoMessage()

func (*SdkAutoFSTrimStatusRequest) Reset

func (m *SdkAutoFSTrimStatusRequest) Reset()

func (*SdkAutoFSTrimStatusRequest) String

func (m *SdkAutoFSTrimStatusRequest) String() string

func (*SdkAutoFSTrimStatusRequest) XXX_DiscardUnknown

func (m *SdkAutoFSTrimStatusRequest) XXX_DiscardUnknown()

func (*SdkAutoFSTrimStatusRequest) XXX_Marshal

func (m *SdkAutoFSTrimStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAutoFSTrimStatusRequest) XXX_Merge

func (dst *SdkAutoFSTrimStatusRequest) XXX_Merge(src proto.Message)

func (*SdkAutoFSTrimStatusRequest) XXX_Size

func (m *SdkAutoFSTrimStatusRequest) XXX_Size() int

func (*SdkAutoFSTrimStatusRequest) XXX_Unmarshal

func (m *SdkAutoFSTrimStatusRequest) XXX_Unmarshal(b []byte) error

type SdkAutoFSTrimStatusResponse

type SdkAutoFSTrimStatusResponse struct {
	// map of volume id and the state of the filesystem trim operation
	TrimStatus map[string]FilesystemTrim_FilesystemTrimStatus `` /* 216-byte string literal not displayed */
	// Text blob containing ASCII text providing details of the operation
	Message              string   `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkAutoFSTrimStatusResponse defines the response for a SdkAutoFSTrimStatusRequest.

func (*SdkAutoFSTrimStatusResponse) Descriptor

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

func (*SdkAutoFSTrimStatusResponse) GetMessage

func (m *SdkAutoFSTrimStatusResponse) GetMessage() string

func (*SdkAutoFSTrimStatusResponse) GetTrimStatus

func (*SdkAutoFSTrimStatusResponse) ProtoMessage

func (*SdkAutoFSTrimStatusResponse) ProtoMessage()

func (*SdkAutoFSTrimStatusResponse) Reset

func (m *SdkAutoFSTrimStatusResponse) Reset()

func (*SdkAutoFSTrimStatusResponse) String

func (m *SdkAutoFSTrimStatusResponse) String() string

func (*SdkAutoFSTrimStatusResponse) XXX_DiscardUnknown

func (m *SdkAutoFSTrimStatusResponse) XXX_DiscardUnknown()

func (*SdkAutoFSTrimStatusResponse) XXX_Marshal

func (m *SdkAutoFSTrimStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAutoFSTrimStatusResponse) XXX_Merge

func (dst *SdkAutoFSTrimStatusResponse) XXX_Merge(src proto.Message)

func (*SdkAutoFSTrimStatusResponse) XXX_Size

func (m *SdkAutoFSTrimStatusResponse) XXX_Size() int

func (*SdkAutoFSTrimStatusResponse) XXX_Unmarshal

func (m *SdkAutoFSTrimStatusResponse) XXX_Unmarshal(b []byte) error

type SdkAutoFSTrimUsageRequest

type SdkAutoFSTrimUsageRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkAutoFSTrimUsageRequest defines a request to get status of autofs trim operation

func (*SdkAutoFSTrimUsageRequest) Descriptor

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

func (*SdkAutoFSTrimUsageRequest) ProtoMessage

func (*SdkAutoFSTrimUsageRequest) ProtoMessage()

func (*SdkAutoFSTrimUsageRequest) Reset

func (m *SdkAutoFSTrimUsageRequest) Reset()

func (*SdkAutoFSTrimUsageRequest) String

func (m *SdkAutoFSTrimUsageRequest) String() string

func (*SdkAutoFSTrimUsageRequest) XXX_DiscardUnknown

func (m *SdkAutoFSTrimUsageRequest) XXX_DiscardUnknown()

func (*SdkAutoFSTrimUsageRequest) XXX_Marshal

func (m *SdkAutoFSTrimUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAutoFSTrimUsageRequest) XXX_Merge

func (dst *SdkAutoFSTrimUsageRequest) XXX_Merge(src proto.Message)

func (*SdkAutoFSTrimUsageRequest) XXX_Size

func (m *SdkAutoFSTrimUsageRequest) XXX_Size() int

func (*SdkAutoFSTrimUsageRequest) XXX_Unmarshal

func (m *SdkAutoFSTrimUsageRequest) XXX_Unmarshal(b []byte) error

type SdkAutoFSTrimUsageResponse

type SdkAutoFSTrimUsageResponse struct {
	// map of fstrim disk usage and volume name
	Usage map[string]*FstrimVolumeUsageInfo `` /* 130-byte string literal not displayed */
	// Text blob containing ASCII text providing details of the operation
	Message              string   `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkAutoFSTrimUsageResponse defines the response for a SdkAutoFSTrimUsageRequest.

func (*SdkAutoFSTrimUsageResponse) Descriptor

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

func (*SdkAutoFSTrimUsageResponse) GetMessage

func (m *SdkAutoFSTrimUsageResponse) GetMessage() string

func (*SdkAutoFSTrimUsageResponse) GetUsage

func (*SdkAutoFSTrimUsageResponse) ProtoMessage

func (*SdkAutoFSTrimUsageResponse) ProtoMessage()

func (*SdkAutoFSTrimUsageResponse) Reset

func (m *SdkAutoFSTrimUsageResponse) Reset()

func (*SdkAutoFSTrimUsageResponse) String

func (m *SdkAutoFSTrimUsageResponse) String() string

func (*SdkAutoFSTrimUsageResponse) XXX_DiscardUnknown

func (m *SdkAutoFSTrimUsageResponse) XXX_DiscardUnknown()

func (*SdkAutoFSTrimUsageResponse) XXX_Marshal

func (m *SdkAutoFSTrimUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAutoFSTrimUsageResponse) XXX_Merge

func (dst *SdkAutoFSTrimUsageResponse) XXX_Merge(src proto.Message)

func (*SdkAutoFSTrimUsageResponse) XXX_Size

func (m *SdkAutoFSTrimUsageResponse) XXX_Size() int

func (*SdkAutoFSTrimUsageResponse) XXX_Unmarshal

func (m *SdkAutoFSTrimUsageResponse) XXX_Unmarshal(b []byte) error

type SdkAwsCredentialRequest

type SdkAwsCredentialRequest struct {
	// Access key
	AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey" json:"access_key,omitempty"`
	// Secret key
	SecretKey string `protobuf:"bytes,2,opt,name=secret_key,json=secretKey" json:"secret_key,omitempty"`
	// Endpoint
	Endpoint string `protobuf:"bytes,3,opt,name=endpoint" json:"endpoint,omitempty"`
	// Region
	Region string `protobuf:"bytes,4,opt,name=region" json:"region,omitempty"`
	// (optional) Disable SSL connection
	DisableSsl bool `protobuf:"varint,5,opt,name=disable_ssl,json=disableSsl" json:"disable_ssl,omitempty"`
	// (optional) Disable path-style access
	DisablePathStyle     bool     `protobuf:"varint,6,opt,name=disable_path_style,json=disablePathStyle" json:"disable_path_style,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines credentials for Aws/S3 endpoints

func (*SdkAwsCredentialRequest) Descriptor

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

func (*SdkAwsCredentialRequest) GetAccessKey

func (m *SdkAwsCredentialRequest) GetAccessKey() string

func (*SdkAwsCredentialRequest) GetDisablePathStyle

func (m *SdkAwsCredentialRequest) GetDisablePathStyle() bool

func (*SdkAwsCredentialRequest) GetDisableSsl

func (m *SdkAwsCredentialRequest) GetDisableSsl() bool

func (*SdkAwsCredentialRequest) GetEndpoint

func (m *SdkAwsCredentialRequest) GetEndpoint() string

func (*SdkAwsCredentialRequest) GetRegion

func (m *SdkAwsCredentialRequest) GetRegion() string

func (*SdkAwsCredentialRequest) GetSecretKey

func (m *SdkAwsCredentialRequest) GetSecretKey() string

func (*SdkAwsCredentialRequest) ProtoMessage

func (*SdkAwsCredentialRequest) ProtoMessage()

func (*SdkAwsCredentialRequest) Reset

func (m *SdkAwsCredentialRequest) Reset()

func (*SdkAwsCredentialRequest) String

func (m *SdkAwsCredentialRequest) String() string

func (*SdkAwsCredentialRequest) XXX_DiscardUnknown

func (m *SdkAwsCredentialRequest) XXX_DiscardUnknown()

func (*SdkAwsCredentialRequest) XXX_Marshal

func (m *SdkAwsCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAwsCredentialRequest) XXX_Merge

func (dst *SdkAwsCredentialRequest) XXX_Merge(src proto.Message)

func (*SdkAwsCredentialRequest) XXX_Size

func (m *SdkAwsCredentialRequest) XXX_Size() int

func (*SdkAwsCredentialRequest) XXX_Unmarshal

func (m *SdkAwsCredentialRequest) XXX_Unmarshal(b []byte) error

type SdkAwsCredentialResponse

type SdkAwsCredentialResponse struct {
	// Access key
	AccessKey string `protobuf:"bytes,2,opt,name=access_key,json=accessKey" json:"access_key,omitempty"`
	// Endpoint
	Endpoint string `protobuf:"bytes,3,opt,name=endpoint" json:"endpoint,omitempty"`
	// Region
	Region string `protobuf:"bytes,4,opt,name=region" json:"region,omitempty"`
	// (optional) Disable SSL connection
	DisableSsl bool `protobuf:"varint,5,opt,name=disable_ssl,json=disableSsl" json:"disable_ssl,omitempty"`
	// (optional) Disable path-style access
	DisablePathStyle bool `protobuf:"varint,6,opt,name=disable_path_style,json=disablePathStyle" json:"disable_path_style,omitempty"`
	// (optional) Storage class for s3 puts
	S3StorageClass       string   `protobuf:"bytes,7,opt,name=s3_storage_class,json=s3StorageClass" json:"s3_storage_class,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines the response for AWS/S3 credentials

func (*SdkAwsCredentialResponse) Descriptor

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

func (*SdkAwsCredentialResponse) GetAccessKey

func (m *SdkAwsCredentialResponse) GetAccessKey() string

func (*SdkAwsCredentialResponse) GetDisablePathStyle

func (m *SdkAwsCredentialResponse) GetDisablePathStyle() bool

func (*SdkAwsCredentialResponse) GetDisableSsl

func (m *SdkAwsCredentialResponse) GetDisableSsl() bool

func (*SdkAwsCredentialResponse) GetEndpoint

func (m *SdkAwsCredentialResponse) GetEndpoint() string

func (*SdkAwsCredentialResponse) GetRegion

func (m *SdkAwsCredentialResponse) GetRegion() string

func (*SdkAwsCredentialResponse) GetS3StorageClass

func (m *SdkAwsCredentialResponse) GetS3StorageClass() string

func (*SdkAwsCredentialResponse) ProtoMessage

func (*SdkAwsCredentialResponse) ProtoMessage()

func (*SdkAwsCredentialResponse) Reset

func (m *SdkAwsCredentialResponse) Reset()

func (*SdkAwsCredentialResponse) String

func (m *SdkAwsCredentialResponse) String() string

func (*SdkAwsCredentialResponse) XXX_DiscardUnknown

func (m *SdkAwsCredentialResponse) XXX_DiscardUnknown()

func (*SdkAwsCredentialResponse) XXX_Marshal

func (m *SdkAwsCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAwsCredentialResponse) XXX_Merge

func (dst *SdkAwsCredentialResponse) XXX_Merge(src proto.Message)

func (*SdkAwsCredentialResponse) XXX_Size

func (m *SdkAwsCredentialResponse) XXX_Size() int

func (*SdkAwsCredentialResponse) XXX_Unmarshal

func (m *SdkAwsCredentialResponse) XXX_Unmarshal(b []byte) error

type SdkAzureCredentialRequest

type SdkAzureCredentialRequest struct {
	// Account name
	AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// Account key
	AccountKey           string   `protobuf:"bytes,2,opt,name=account_key,json=accountKey" json:"account_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines credentials for Azure

func (*SdkAzureCredentialRequest) Descriptor

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

func (*SdkAzureCredentialRequest) GetAccountKey

func (m *SdkAzureCredentialRequest) GetAccountKey() string

func (*SdkAzureCredentialRequest) GetAccountName

func (m *SdkAzureCredentialRequest) GetAccountName() string

func (*SdkAzureCredentialRequest) ProtoMessage

func (*SdkAzureCredentialRequest) ProtoMessage()

func (*SdkAzureCredentialRequest) Reset

func (m *SdkAzureCredentialRequest) Reset()

func (*SdkAzureCredentialRequest) String

func (m *SdkAzureCredentialRequest) String() string

func (*SdkAzureCredentialRequest) XXX_DiscardUnknown

func (m *SdkAzureCredentialRequest) XXX_DiscardUnknown()

func (*SdkAzureCredentialRequest) XXX_Marshal

func (m *SdkAzureCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAzureCredentialRequest) XXX_Merge

func (dst *SdkAzureCredentialRequest) XXX_Merge(src proto.Message)

func (*SdkAzureCredentialRequest) XXX_Size

func (m *SdkAzureCredentialRequest) XXX_Size() int

func (*SdkAzureCredentialRequest) XXX_Unmarshal

func (m *SdkAzureCredentialRequest) XXX_Unmarshal(b []byte) error

type SdkAzureCredentialResponse

type SdkAzureCredentialResponse struct {
	// Account name
	AccountName          string   `protobuf:"bytes,2,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines the response for Azure credentials

func (*SdkAzureCredentialResponse) Descriptor

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

func (*SdkAzureCredentialResponse) GetAccountName

func (m *SdkAzureCredentialResponse) GetAccountName() string

func (*SdkAzureCredentialResponse) ProtoMessage

func (*SdkAzureCredentialResponse) ProtoMessage()

func (*SdkAzureCredentialResponse) Reset

func (m *SdkAzureCredentialResponse) Reset()

func (*SdkAzureCredentialResponse) String

func (m *SdkAzureCredentialResponse) String() string

func (*SdkAzureCredentialResponse) XXX_DiscardUnknown

func (m *SdkAzureCredentialResponse) XXX_DiscardUnknown()

func (*SdkAzureCredentialResponse) XXX_Marshal

func (m *SdkAzureCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkAzureCredentialResponse) XXX_Merge

func (dst *SdkAzureCredentialResponse) XXX_Merge(src proto.Message)

func (*SdkAzureCredentialResponse) XXX_Size

func (m *SdkAzureCredentialResponse) XXX_Size() int

func (*SdkAzureCredentialResponse) XXX_Unmarshal

func (m *SdkAzureCredentialResponse) XXX_Unmarshal(b []byte) error

type SdkCloudBackupCatalogRequest

type SdkCloudBackupCatalogRequest struct {
	// Id of the backup
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId" json:"backup_id,omitempty"`
	// Credential id describe the credentials for the cloud
	CredentialId         string   `protobuf:"bytes,2,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*SdkCloudBackupCatalogRequest) Descriptor

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

func (*SdkCloudBackupCatalogRequest) GetBackupId

func (m *SdkCloudBackupCatalogRequest) GetBackupId() string

func (*SdkCloudBackupCatalogRequest) GetCredentialId

func (m *SdkCloudBackupCatalogRequest) GetCredentialId() string

func (*SdkCloudBackupCatalogRequest) ProtoMessage

func (*SdkCloudBackupCatalogRequest) ProtoMessage()

func (*SdkCloudBackupCatalogRequest) Reset

func (m *SdkCloudBackupCatalogRequest) Reset()

func (*SdkCloudBackupCatalogRequest) String

func (*SdkCloudBackupCatalogRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupCatalogRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupCatalogRequest) XXX_Marshal

func (m *SdkCloudBackupCatalogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupCatalogRequest) XXX_Merge

func (dst *SdkCloudBackupCatalogRequest) XXX_Merge(src proto.Message)

func (*SdkCloudBackupCatalogRequest) XXX_Size

func (m *SdkCloudBackupCatalogRequest) XXX_Size() int

func (*SdkCloudBackupCatalogRequest) XXX_Unmarshal

func (m *SdkCloudBackupCatalogRequest) XXX_Unmarshal(b []byte) error

type SdkCloudBackupCatalogResponse

type SdkCloudBackupCatalogResponse struct {
	// Contents is listing of backup contents
	Contents             []string `protobuf:"bytes,1,rep,name=contents" json:"contents,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*SdkCloudBackupCatalogResponse) Descriptor

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

func (*SdkCloudBackupCatalogResponse) GetContents

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

func (*SdkCloudBackupCatalogResponse) ProtoMessage

func (*SdkCloudBackupCatalogResponse) ProtoMessage()

func (*SdkCloudBackupCatalogResponse) Reset

func (m *SdkCloudBackupCatalogResponse) Reset()

func (*SdkCloudBackupCatalogResponse) String

func (*SdkCloudBackupCatalogResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupCatalogResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupCatalogResponse) XXX_Marshal

func (m *SdkCloudBackupCatalogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupCatalogResponse) XXX_Merge

func (dst *SdkCloudBackupCatalogResponse) XXX_Merge(src proto.Message)

func (*SdkCloudBackupCatalogResponse) XXX_Size

func (m *SdkCloudBackupCatalogResponse) XXX_Size() int

func (*SdkCloudBackupCatalogResponse) XXX_Unmarshal

func (m *SdkCloudBackupCatalogResponse) XXX_Unmarshal(b []byte) error

type SdkCloudBackupClusterType

type SdkCloudBackupClusterType struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CloudBackup owner cluster

func (*SdkCloudBackupClusterType) Descriptor

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

func (*SdkCloudBackupClusterType) ProtoMessage

func (*SdkCloudBackupClusterType) ProtoMessage()

func (*SdkCloudBackupClusterType) Reset

func (m *SdkCloudBackupClusterType) Reset()

func (*SdkCloudBackupClusterType) String

func (m *SdkCloudBackupClusterType) String() string

func (*SdkCloudBackupClusterType) XXX_DiscardUnknown

func (m *SdkCloudBackupClusterType) XXX_DiscardUnknown()

func (*SdkCloudBackupClusterType) XXX_Marshal

func (m *SdkCloudBackupClusterType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupClusterType) XXX_Merge

func (dst *SdkCloudBackupClusterType) XXX_Merge(src proto.Message)

func (*SdkCloudBackupClusterType) XXX_Size

func (m *SdkCloudBackupClusterType) XXX_Size() int

func (*SdkCloudBackupClusterType) XXX_Unmarshal

func (m *SdkCloudBackupClusterType) XXX_Unmarshal(b []byte) error

type SdkCloudBackupClusterType_Value

type SdkCloudBackupClusterType_Value int32
const (
	// Unknown
	SdkCloudBackupClusterType_UNKNOWN SdkCloudBackupClusterType_Value = 0
	// Belongs to this cluster
	SdkCloudBackupClusterType_CURRENT_CLUSTER SdkCloudBackupClusterType_Value = 1
	// belongs to other cluster
	SdkCloudBackupClusterType_OTHER_CLUSTER SdkCloudBackupClusterType_Value = 2
)

func (SdkCloudBackupClusterType_Value) EnumDescriptor

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

func (SdkCloudBackupClusterType_Value) String

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" 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" json:"credential_id,omitempty"`
	// Full indicates if full backup is desired even though incremental is possible
	Full bool `protobuf:"varint,3,opt,name=full" 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" 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 `` /* 132-byte string literal not displayed */
	// FullBackupFrequency indicates number of incremental backup after whcih
	// 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" 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" json:"delete_local,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*SdkCloudBackupCreateRequest) Descriptor

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

func (*SdkCloudBackupCreateRequest) GetCredentialId

func (m *SdkCloudBackupCreateRequest) GetCredentialId() string

func (*SdkCloudBackupCreateRequest) GetDeleteLocal

func (m *SdkCloudBackupCreateRequest) GetDeleteLocal() bool

func (*SdkCloudBackupCreateRequest) GetFull

func (m *SdkCloudBackupCreateRequest) GetFull() bool

func (*SdkCloudBackupCreateRequest) GetFullBackupFrequency

func (m *SdkCloudBackupCreateRequest) GetFullBackupFrequency() uint32

func (*SdkCloudBackupCreateRequest) GetLabels

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

func (*SdkCloudBackupCreateRequest) GetTaskId

func (m *SdkCloudBackupCreateRequest) GetTaskId() string

func (*SdkCloudBackupCreateRequest) GetVolumeId

func (m *SdkCloudBackupCreateRequest) GetVolumeId() string

func (*SdkCloudBackupCreateRequest) ProtoMessage

func (*SdkCloudBackupCreateRequest) ProtoMessage()

func (*SdkCloudBackupCreateRequest) Reset

func (m *SdkCloudBackupCreateRequest) Reset()

func (*SdkCloudBackupCreateRequest) String

func (m *SdkCloudBackupCreateRequest) String() string

func (*SdkCloudBackupCreateRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupCreateRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupCreateRequest) XXX_Marshal

func (m *SdkCloudBackupCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupCreateRequest) XXX_Merge

func (dst *SdkCloudBackupCreateRequest) XXX_Merge(src proto.Message)

func (*SdkCloudBackupCreateRequest) XXX_Size

func (m *SdkCloudBackupCreateRequest) XXX_Size() int

func (*SdkCloudBackupCreateRequest) XXX_Unmarshal

func (m *SdkCloudBackupCreateRequest) XXX_Unmarshal(b []byte) error

type SdkCloudBackupCreateResponse

type SdkCloudBackupCreateResponse struct {
	// TaskId of the task performing the backup
	TaskId               string   `protobuf:"bytes,1,opt,name=task_id,json=taskId" json:"task_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkCloudBackupCreateResponse) Descriptor

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

func (*SdkCloudBackupCreateResponse) GetTaskId

func (m *SdkCloudBackupCreateResponse) GetTaskId() string

func (*SdkCloudBackupCreateResponse) ProtoMessage

func (*SdkCloudBackupCreateResponse) ProtoMessage()

func (*SdkCloudBackupCreateResponse) Reset

func (m *SdkCloudBackupCreateResponse) Reset()

func (*SdkCloudBackupCreateResponse) String

func (*SdkCloudBackupCreateResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupCreateResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupCreateResponse) XXX_Marshal

func (m *SdkCloudBackupCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupCreateResponse) XXX_Merge

func (dst *SdkCloudBackupCreateResponse) XXX_Merge(src proto.Message)

func (*SdkCloudBackupCreateResponse) XXX_Size

func (m *SdkCloudBackupCreateResponse) XXX_Size() int

func (*SdkCloudBackupCreateResponse) XXX_Unmarshal

func (m *SdkCloudBackupCreateResponse) XXX_Unmarshal(b []byte) error

type SdkCloudBackupDeleteAllRequest

type SdkCloudBackupDeleteAllRequest struct {
	// id of the volume for the request
	SrcVolumeId string `protobuf:"bytes,1,opt,name=src_volume_id,json=srcVolumeId" 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" json:"credential_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*SdkCloudBackupDeleteAllRequest) Descriptor

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

func (*SdkCloudBackupDeleteAllRequest) GetCredentialId

func (m *SdkCloudBackupDeleteAllRequest) GetCredentialId() string

func (*SdkCloudBackupDeleteAllRequest) GetSrcVolumeId

func (m *SdkCloudBackupDeleteAllRequest) GetSrcVolumeId() string

func (*SdkCloudBackupDeleteAllRequest) ProtoMessage

func (*SdkCloudBackupDeleteAllRequest) ProtoMessage()

func (*SdkCloudBackupDeleteAllRequest) Reset

func (m *SdkCloudBackupDeleteAllRequest) Reset()

func (*SdkCloudBackupDeleteAllRequest) String

func (*SdkCloudBackupDeleteAllRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupDeleteAllRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupDeleteAllRequest) XXX_Marshal

func (m *SdkCloudBackupDeleteAllRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupDeleteAllRequest) XXX_Merge

func (dst *SdkCloudBackupDeleteAllRequest) XXX_Merge(src proto.Message)

func (*SdkCloudBackupDeleteAllRequest) XXX_Size

func (m *SdkCloudBackupDeleteAllRequest) XXX_Size() int

func (*SdkCloudBackupDeleteAllRequest) XXX_Unmarshal

func (m *SdkCloudBackupDeleteAllRequest) XXX_Unmarshal(b []byte) error

type SdkCloudBackupDeleteAllResponse

type SdkCloudBackupDeleteAllResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkCloudBackupDeleteAllResponse) Descriptor

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

func (*SdkCloudBackupDeleteAllResponse) ProtoMessage

func (*SdkCloudBackupDeleteAllResponse) ProtoMessage()

func (*SdkCloudBackupDeleteAllResponse) Reset

func (*SdkCloudBackupDeleteAllResponse) String

func (*SdkCloudBackupDeleteAllResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupDeleteAllResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupDeleteAllResponse) XXX_Marshal

func (m *SdkCloudBackupDeleteAllResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupDeleteAllResponse) XXX_Merge

func (dst *SdkCloudBackupDeleteAllResponse) XXX_Merge(src proto.Message)

func (*SdkCloudBackupDeleteAllResponse) XXX_Size

func (m *SdkCloudBackupDeleteAllResponse) XXX_Size() int

func (*SdkCloudBackupDeleteAllResponse) XXX_Unmarshal

func (m *SdkCloudBackupDeleteAllResponse) XXX_Unmarshal(b []byte) error

type SdkCloudBackupDeleteRequest

type SdkCloudBackupDeleteRequest struct {
	// ID is the ID of the cloud backup
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId" 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" 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" json:"force,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to delete a single backup stored by a cloud provider

func (*SdkCloudBackupDeleteRequest) Descriptor

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

func (*SdkCloudBackupDeleteRequest) GetBackupId

func (m *SdkCloudBackupDeleteRequest) GetBackupId() string

func (*SdkCloudBackupDeleteRequest) GetCredentialId

func (m *SdkCloudBackupDeleteRequest) GetCredentialId() string

func (*SdkCloudBackupDeleteRequest) GetForce

func (m *SdkCloudBackupDeleteRequest) GetForce() bool

func (*SdkCloudBackupDeleteRequest) ProtoMessage

func (*SdkCloudBackupDeleteRequest) ProtoMessage()

func (*SdkCloudBackupDeleteRequest) Reset

func (m *SdkCloudBackupDeleteRequest) Reset()

func (*SdkCloudBackupDeleteRequest) String

func (m *SdkCloudBackupDeleteRequest) String() string

func (*SdkCloudBackupDeleteRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupDeleteRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupDeleteRequest) XXX_Marshal

func (m *SdkCloudBackupDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupDeleteRequest) XXX_Merge

func (dst *SdkCloudBackupDeleteRequest) XXX_Merge(src proto.Message)

func (*SdkCloudBackupDeleteRequest) XXX_Size

func (m *SdkCloudBackupDeleteRequest) XXX_Size() int

func (*SdkCloudBackupDeleteRequest) XXX_Unmarshal

func (m *SdkCloudBackupDeleteRequest) XXX_Unmarshal(b []byte) error

type SdkCloudBackupDeleteResponse

type SdkCloudBackupDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkCloudBackupDeleteResponse) Descriptor

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

func (*SdkCloudBackupDeleteResponse) ProtoMessage

func (*SdkCloudBackupDeleteResponse) ProtoMessage()

func (*SdkCloudBackupDeleteResponse) Reset

func (m *SdkCloudBackupDeleteResponse) Reset()

func (*SdkCloudBackupDeleteResponse) String

func (*SdkCloudBackupDeleteResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupDeleteResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupDeleteResponse) XXX_Marshal

func (m *SdkCloudBackupDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupDeleteResponse) XXX_Merge

func (dst *SdkCloudBackupDeleteResponse) XXX_Merge(src proto.Message)

func (*SdkCloudBackupDeleteResponse) XXX_Size

func (m *SdkCloudBackupDeleteResponse) XXX_Size() int

func (*SdkCloudBackupDeleteResponse) XXX_Unmarshal

func (m *SdkCloudBackupDeleteResponse) XXX_Unmarshal(b []byte) error

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" 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" 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" 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" json:"all,omitempty"`
	// (optional) enumerates backups that have status specified by this type
	StatusFilter SdkCloudBackupStatusType `` /* 137-byte string literal not displayed */
	// (optional) Enumerates backups that have tags of this type
	MetadataFilter map[string]string `` /* 170-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" 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" 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" 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" json:"missing_src_volumes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetAll

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetCloudBackupId

func (m *SdkCloudBackupEnumerateWithFiltersRequest) GetCloudBackupId() string

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetClusterId

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetContinuationToken

func (m *SdkCloudBackupEnumerateWithFiltersRequest) GetContinuationToken() string

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetCredentialId

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetMaxBackups

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetMetadataFilter

func (m *SdkCloudBackupEnumerateWithFiltersRequest) GetMetadataFilter() map[string]string

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetMissingSrcVolumes

func (m *SdkCloudBackupEnumerateWithFiltersRequest) GetMissingSrcVolumes() bool

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetSrcVolumeId

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetStatusFilter

func (*SdkCloudBackupEnumerateWithFiltersRequest) ProtoMessage

func (*SdkCloudBackupEnumerateWithFiltersRequest) Reset

func (*SdkCloudBackupEnumerateWithFiltersRequest) String

func (*SdkCloudBackupEnumerateWithFiltersRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupEnumerateWithFiltersRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupEnumerateWithFiltersRequest) XXX_Marshal

func (m *SdkCloudBackupEnumerateWithFiltersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupEnumerateWithFiltersRequest) XXX_Merge

func (*SdkCloudBackupEnumerateWithFiltersRequest) XXX_Size

func (*SdkCloudBackupEnumerateWithFiltersRequest) XXX_Unmarshal

type SdkCloudBackupEnumerateWithFiltersResponse

type SdkCloudBackupEnumerateWithFiltersResponse struct {
	Backups []*SdkCloudBackupInfo `protobuf:"bytes,1,rep,name=backups" 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" json:"continuation_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response which lists all the backups stored by a cloud provider

func (*SdkCloudBackupEnumerateWithFiltersResponse) Descriptor

func (*SdkCloudBackupEnumerateWithFiltersResponse) GetBackups

func (*SdkCloudBackupEnumerateWithFiltersResponse) GetContinuationToken

func (m *SdkCloudBackupEnumerateWithFiltersResponse) GetContinuationToken() string

func (*SdkCloudBackupEnumerateWithFiltersResponse) ProtoMessage

func (*SdkCloudBackupEnumerateWithFiltersResponse) Reset

func (*SdkCloudBackupEnumerateWithFiltersResponse) String

func (*SdkCloudBackupEnumerateWithFiltersResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupEnumerateWithFiltersResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupEnumerateWithFiltersResponse) XXX_Marshal

func (m *SdkCloudBackupEnumerateWithFiltersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupEnumerateWithFiltersResponse) XXX_Merge

func (*SdkCloudBackupEnumerateWithFiltersResponse) XXX_Size

func (*SdkCloudBackupEnumerateWithFiltersResponse) XXX_Unmarshal

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" 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" 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" json:"credential_id,omitempty"`
	// Full indicates if full backup is desired even though incremental is possible
	Full bool `protobuf:"varint,4,opt,name=full" 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 `` /* 132-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" json:"delete_local,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*SdkCloudBackupGroupCreateRequest) Descriptor

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

func (*SdkCloudBackupGroupCreateRequest) GetCredentialId

func (m *SdkCloudBackupGroupCreateRequest) GetCredentialId() string

func (*SdkCloudBackupGroupCreateRequest) GetDeleteLocal

func (m *SdkCloudBackupGroupCreateRequest) GetDeleteLocal() bool

func (*SdkCloudBackupGroupCreateRequest) GetFull

func (*SdkCloudBackupGroupCreateRequest) GetGroupId

func (m *SdkCloudBackupGroupCreateRequest) GetGroupId() string

func (*SdkCloudBackupGroupCreateRequest) GetLabels

func (m *SdkCloudBackupGroupCreateRequest) GetLabels() map[string]string

func (*SdkCloudBackupGroupCreateRequest) GetVolumeIds

func (m *SdkCloudBackupGroupCreateRequest) GetVolumeIds() []string

func (*SdkCloudBackupGroupCreateRequest) ProtoMessage

func (*SdkCloudBackupGroupCreateRequest) ProtoMessage()

func (*SdkCloudBackupGroupCreateRequest) Reset

func (*SdkCloudBackupGroupCreateRequest) String

func (*SdkCloudBackupGroupCreateRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupGroupCreateRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupGroupCreateRequest) XXX_Marshal

func (m *SdkCloudBackupGroupCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupGroupCreateRequest) XXX_Merge

func (dst *SdkCloudBackupGroupCreateRequest) XXX_Merge(src proto.Message)

func (*SdkCloudBackupGroupCreateRequest) XXX_Size

func (m *SdkCloudBackupGroupCreateRequest) XXX_Size() int

func (*SdkCloudBackupGroupCreateRequest) XXX_Unmarshal

func (m *SdkCloudBackupGroupCreateRequest) XXX_Unmarshal(b []byte) error

type SdkCloudBackupGroupCreateResponse

type SdkCloudBackupGroupCreateResponse struct {
	// ID for this group of backups
	GroupCloudBackupId string `protobuf:"bytes,1,opt,name=group_cloud_backup_id,json=groupCloudBackupId" 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" json:"task_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkCloudBackupGroupCreateResponse) Descriptor

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

func (*SdkCloudBackupGroupCreateResponse) GetGroupCloudBackupId

func (m *SdkCloudBackupGroupCreateResponse) GetGroupCloudBackupId() string

func (*SdkCloudBackupGroupCreateResponse) GetTaskIds

func (m *SdkCloudBackupGroupCreateResponse) GetTaskIds() []string

func (*SdkCloudBackupGroupCreateResponse) ProtoMessage

func (*SdkCloudBackupGroupCreateResponse) ProtoMessage()

func (*SdkCloudBackupGroupCreateResponse) Reset

func (*SdkCloudBackupGroupCreateResponse) String

func (*SdkCloudBackupGroupCreateResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupGroupCreateResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupGroupCreateResponse) XXX_Marshal

func (m *SdkCloudBackupGroupCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupGroupCreateResponse) XXX_Merge

func (dst *SdkCloudBackupGroupCreateResponse) XXX_Merge(src proto.Message)

func (*SdkCloudBackupGroupCreateResponse) XXX_Size

func (m *SdkCloudBackupGroupCreateResponse) XXX_Size() int

func (*SdkCloudBackupGroupCreateResponse) XXX_Unmarshal

func (m *SdkCloudBackupGroupCreateResponse) XXX_Unmarshal(b []byte) error

type SdkCloudBackupHistoryItem

type SdkCloudBackupHistoryItem struct {
	// SrcVolumeID is volume ID which was backedup
	SrcVolumeId string `protobuf:"bytes,1,opt,name=src_volume_id,json=srcVolumeId" json:"src_volume_id,omitempty"`
	// TimeStamp is the time at which either backup completed/failed
	Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp" json:"timestamp,omitempty"`
	// Status indicates whether backup was completed/failed
	Status               SdkCloudBackupStatusType `protobuf:"varint,3,opt,name=status,enum=openstorage.api.SdkCloudBackupStatusType" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

SdkCloudBackupHistoryItem contains information about a backup for a specific volume

func (*SdkCloudBackupHistoryItem) Descriptor

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

func (*SdkCloudBackupHistoryItem) GetSrcVolumeId

func (m *SdkCloudBackupHistoryItem) GetSrcVolumeId() string

func (*SdkCloudBackupHistoryItem) GetStatus

func (*SdkCloudBackupHistoryItem) GetTimestamp

func (m *SdkCloudBackupHistoryItem) GetTimestamp() *timestamp.Timestamp

func (*SdkCloudBackupHistoryItem) ProtoMessage

func (*SdkCloudBackupHistoryItem) ProtoMessage()

func (*SdkCloudBackupHistoryItem) Reset

func (m *SdkCloudBackupHistoryItem) Reset()

func (*SdkCloudBackupHistoryItem) String

func (m *SdkCloudBackupHistoryItem) String() string

func (*SdkCloudBackupHistoryItem) XXX_DiscardUnknown

func (m *SdkCloudBackupHistoryItem) XXX_DiscardUnknown()

func (*SdkCloudBackupHistoryItem) XXX_Marshal

func (m *SdkCloudBackupHistoryItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupHistoryItem) XXX_Merge

func (dst *SdkCloudBackupHistoryItem) XXX_Merge(src proto.Message)

func (*SdkCloudBackupHistoryItem) XXX_Size

func (m *SdkCloudBackupHistoryItem) XXX_Size() int

func (*SdkCloudBackupHistoryItem) XXX_Unmarshal

func (m *SdkCloudBackupHistoryItem) XXX_Unmarshal(b []byte) error

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" json:"src_volume_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to retreive the history of the backups for a specific volume to a cloud provider

func (*SdkCloudBackupHistoryRequest) Descriptor

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

func (*SdkCloudBackupHistoryRequest) GetSrcVolumeId

func (m *SdkCloudBackupHistoryRequest) GetSrcVolumeId() string

func (*SdkCloudBackupHistoryRequest) ProtoMessage

func (*SdkCloudBackupHistoryRequest) ProtoMessage()

func (*SdkCloudBackupHistoryRequest) Reset

func (m *SdkCloudBackupHistoryRequest) Reset()

func (*SdkCloudBackupHistoryRequest) String

func (*SdkCloudBackupHistoryRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupHistoryRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupHistoryRequest) XXX_Marshal

func (m *SdkCloudBackupHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupHistoryRequest) XXX_Merge

func (dst *SdkCloudBackupHistoryRequest) XXX_Merge(src proto.Message)

func (*SdkCloudBackupHistoryRequest) XXX_Size

func (m *SdkCloudBackupHistoryRequest) XXX_Size() int

func (*SdkCloudBackupHistoryRequest) XXX_Unmarshal

func (m *SdkCloudBackupHistoryRequest) XXX_Unmarshal(b []byte) error

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" json:"history_list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

Defines a response containing a list of history of backups to a cloud provider

func (*SdkCloudBackupHistoryResponse) Descriptor

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

func (*SdkCloudBackupHistoryResponse) GetHistoryList

func (*SdkCloudBackupHistoryResponse) ProtoMessage

func (*SdkCloudBackupHistoryResponse) ProtoMessage()

func (*SdkCloudBackupHistoryResponse) Reset

func (m *SdkCloudBackupHistoryResponse) Reset()

func (*SdkCloudBackupHistoryResponse) String

func (*SdkCloudBackupHistoryResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupHistoryResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupHistoryResponse) XXX_Marshal

func (m *SdkCloudBackupHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupHistoryResponse) XXX_Merge

func (dst *SdkCloudBackupHistoryResponse) XXX_Merge(src proto.Message)

func (*SdkCloudBackupHistoryResponse) XXX_Size

func (m *SdkCloudBackupHistoryResponse) XXX_Size() int

func (*SdkCloudBackupHistoryResponse) XXX_Unmarshal

func (m *SdkCloudBackupHistoryResponse) XXX_Unmarshal(b []byte) error

type SdkCloudBackupInfo

type SdkCloudBackupInfo struct {
	// This is the id as represented by the cloud provider
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Source volumeID of the backup
	SrcVolumeId string `protobuf:"bytes,2,opt,name=src_volume_id,json=srcVolumeId" json:"src_volume_id,omitempty"`
	// Name of the sourceVolume of the backup
	SrcVolumeName string `protobuf:"bytes,3,opt,name=src_volume_name,json=srcVolumeName" json:"src_volume_name,omitempty"`
	// Timestamp is the timestamp at which the source volume
	// was backed up to cloud
	Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp" json:"timestamp,omitempty"`
	// Metadata associated with the backup
	Metadata map[string]string `` /* 136-byte string literal not displayed */
	// Status indicates the status of the backup
	Status SdkCloudBackupStatusType `protobuf:"varint,6,opt,name=status,enum=openstorage.api.SdkCloudBackupStatusType" json:"status,omitempty"`
	// indicates if the cloudbackup belongs to current cluster,
	// with older cluster this value may be unknown
	ClusterType SdkCloudBackupClusterType_Value `` /* 141-byte string literal not displayed */
	// k8s namespace to which this backup belongs to
	Namespace            string   `protobuf:"bytes,8,opt,name=namespace" json:"namespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkCloudBackupInfo has information about a backup stored by a cloud provider

func (*SdkCloudBackupInfo) Descriptor

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

func (*SdkCloudBackupInfo) GetClusterType

func (*SdkCloudBackupInfo) GetId

func (m *SdkCloudBackupInfo) GetId() string

func (*SdkCloudBackupInfo) GetMetadata

func (m *SdkCloudBackupInfo) GetMetadata() map[string]string

func (*SdkCloudBackupInfo) GetNamespace

func (m *SdkCloudBackupInfo) GetNamespace() string

func (*SdkCloudBackupInfo) GetSrcVolumeId

func (m *SdkCloudBackupInfo) GetSrcVolumeId() string

func (*SdkCloudBackupInfo) GetSrcVolumeName

func (m *SdkCloudBackupInfo) GetSrcVolumeName() string

func (*SdkCloudBackupInfo) GetStatus

func (*SdkCloudBackupInfo) GetTimestamp

func (m *SdkCloudBackupInfo) GetTimestamp() *timestamp.Timestamp

func (*SdkCloudBackupInfo) ProtoMessage

func (*SdkCloudBackupInfo) ProtoMessage()

func (*SdkCloudBackupInfo) Reset

func (m *SdkCloudBackupInfo) Reset()

func (*SdkCloudBackupInfo) String

func (m *SdkCloudBackupInfo) String() string

func (*SdkCloudBackupInfo) XXX_DiscardUnknown

func (m *SdkCloudBackupInfo) XXX_DiscardUnknown()

func (*SdkCloudBackupInfo) XXX_Marshal

func (m *SdkCloudBackupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupInfo) XXX_Merge

func (dst *SdkCloudBackupInfo) XXX_Merge(src proto.Message)

func (*SdkCloudBackupInfo) XXX_Size

func (m *SdkCloudBackupInfo) XXX_Size() int

func (*SdkCloudBackupInfo) XXX_Unmarshal

func (m *SdkCloudBackupInfo) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (SdkCloudBackupOpType) String

func (x SdkCloudBackupOpType) String() string

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) EnumDescriptor

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

func (SdkCloudBackupRequestedState) String

type SdkCloudBackupRestoreRequest

type SdkCloudBackupRestoreRequest struct {
	// Backup ID being restored
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId" 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" json:"restore_volume_name,omitempty"`
	// The credential to be used for restore operation
	CredentialId string `protobuf:"bytes,3,opt,name=credential_id,json=credentialId" 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" json:"node_id,omitempty"`
	// TaskId of the task performing this restore
	TaskId string `protobuf:"bytes,5,opt,name=task_id,json=taskId" json:"task_id,omitempty"`
	// Modifiable Restore volume spec
	Spec *RestoreVolumeSpec `protobuf:"bytes,6,opt,name=spec" json:"spec,omitempty"`
	// RestoreVolume locator
	Locator              *VolumeLocator `protobuf:"bytes,7,opt,name=locator" json:"locator,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Defines a request to restore a volume from an existing backup stored by a cloud provider

func (*SdkCloudBackupRestoreRequest) Descriptor

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

func (*SdkCloudBackupRestoreRequest) GetBackupId

func (m *SdkCloudBackupRestoreRequest) GetBackupId() string

func (*SdkCloudBackupRestoreRequest) GetCredentialId

func (m *SdkCloudBackupRestoreRequest) GetCredentialId() string

func (*SdkCloudBackupRestoreRequest) GetLocator

func (*SdkCloudBackupRestoreRequest) GetNodeId

func (m *SdkCloudBackupRestoreRequest) GetNodeId() string

func (*SdkCloudBackupRestoreRequest) GetRestoreVolumeName

func (m *SdkCloudBackupRestoreRequest) GetRestoreVolumeName() string

func (*SdkCloudBackupRestoreRequest) GetSpec

func (*SdkCloudBackupRestoreRequest) GetTaskId

func (m *SdkCloudBackupRestoreRequest) GetTaskId() string

func (*SdkCloudBackupRestoreRequest) ProtoMessage

func (*SdkCloudBackupRestoreRequest) ProtoMessage()

func (*SdkCloudBackupRestoreRequest) Reset

func (m *SdkCloudBackupRestoreRequest) Reset()

func (*SdkCloudBackupRestoreRequest) String

func (*SdkCloudBackupRestoreRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupRestoreRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupRestoreRequest) XXX_Marshal

func (m *SdkCloudBackupRestoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupRestoreRequest) XXX_Merge

func (dst *SdkCloudBackupRestoreRequest) XXX_Merge(src proto.Message)

func (*SdkCloudBackupRestoreRequest) XXX_Size

func (m *SdkCloudBackupRestoreRequest) XXX_Size() int

func (*SdkCloudBackupRestoreRequest) XXX_Unmarshal

func (m *SdkCloudBackupRestoreRequest) XXX_Unmarshal(b []byte) error

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" json:"restore_volume_id,omitempty"`
	// TaskId of the task performing the restore
	TaskId               string   `protobuf:"bytes,2,opt,name=task_id,json=taskId" json:"task_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response when restoring a volume from a backup stored by a cloud provider

func (*SdkCloudBackupRestoreResponse) Descriptor

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

func (*SdkCloudBackupRestoreResponse) GetRestoreVolumeId

func (m *SdkCloudBackupRestoreResponse) GetRestoreVolumeId() string

func (*SdkCloudBackupRestoreResponse) GetTaskId

func (m *SdkCloudBackupRestoreResponse) GetTaskId() string

func (*SdkCloudBackupRestoreResponse) ProtoMessage

func (*SdkCloudBackupRestoreResponse) ProtoMessage()

func (*SdkCloudBackupRestoreResponse) Reset

func (m *SdkCloudBackupRestoreResponse) Reset()

func (*SdkCloudBackupRestoreResponse) String

func (*SdkCloudBackupRestoreResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupRestoreResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupRestoreResponse) XXX_Marshal

func (m *SdkCloudBackupRestoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupRestoreResponse) XXX_Merge

func (dst *SdkCloudBackupRestoreResponse) XXX_Merge(src proto.Message)

func (*SdkCloudBackupRestoreResponse) XXX_Size

func (m *SdkCloudBackupRestoreResponse) XXX_Size() int

func (*SdkCloudBackupRestoreResponse) XXX_Unmarshal

func (m *SdkCloudBackupRestoreResponse) XXX_Unmarshal(b []byte) error

type SdkCloudBackupSchedCreateRequest

type SdkCloudBackupSchedCreateRequest struct {
	// Cloud Backup Schedule info
	CloudSchedInfo       *SdkCloudBackupScheduleInfo `protobuf:"bytes,1,opt,name=cloud_sched_info,json=cloudSchedInfo" json:"cloud_sched_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Defines a request to create a schedule for volume backups to a cloud provider

func (*SdkCloudBackupSchedCreateRequest) Descriptor

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

func (*SdkCloudBackupSchedCreateRequest) GetCloudSchedInfo

func (*SdkCloudBackupSchedCreateRequest) ProtoMessage

func (*SdkCloudBackupSchedCreateRequest) ProtoMessage()

func (*SdkCloudBackupSchedCreateRequest) Reset

func (*SdkCloudBackupSchedCreateRequest) String

func (*SdkCloudBackupSchedCreateRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupSchedCreateRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupSchedCreateRequest) XXX_Marshal

func (m *SdkCloudBackupSchedCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupSchedCreateRequest) XXX_Merge

func (dst *SdkCloudBackupSchedCreateRequest) XXX_Merge(src proto.Message)

func (*SdkCloudBackupSchedCreateRequest) XXX_Size

func (m *SdkCloudBackupSchedCreateRequest) XXX_Size() int

func (*SdkCloudBackupSchedCreateRequest) XXX_Unmarshal

func (m *SdkCloudBackupSchedCreateRequest) XXX_Unmarshal(b []byte) error

type SdkCloudBackupSchedCreateResponse

type SdkCloudBackupSchedCreateResponse struct {
	// Id of newly created backup schedule
	BackupScheduleId     string   `protobuf:"bytes,1,opt,name=backup_schedule_id,json=backupScheduleId" json:"backup_schedule_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response containing the id of a schedule for a volume backup to a cloud provider

func (*SdkCloudBackupSchedCreateResponse) Descriptor

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

func (*SdkCloudBackupSchedCreateResponse) GetBackupScheduleId

func (m *SdkCloudBackupSchedCreateResponse) GetBackupScheduleId() string

func (*SdkCloudBackupSchedCreateResponse) ProtoMessage

func (*SdkCloudBackupSchedCreateResponse) ProtoMessage()

func (*SdkCloudBackupSchedCreateResponse) Reset

func (*SdkCloudBackupSchedCreateResponse) String

func (*SdkCloudBackupSchedCreateResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupSchedCreateResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupSchedCreateResponse) XXX_Marshal

func (m *SdkCloudBackupSchedCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupSchedCreateResponse) XXX_Merge

func (dst *SdkCloudBackupSchedCreateResponse) XXX_Merge(src proto.Message)

func (*SdkCloudBackupSchedCreateResponse) XXX_Size

func (m *SdkCloudBackupSchedCreateResponse) XXX_Size() int

func (*SdkCloudBackupSchedCreateResponse) XXX_Unmarshal

func (m *SdkCloudBackupSchedCreateResponse) XXX_Unmarshal(b []byte) error

type SdkCloudBackupSchedDeleteRequest

type SdkCloudBackupSchedDeleteRequest struct {
	// Id of cloud backup to delete
	BackupScheduleId     string   `protobuf:"bytes,1,opt,name=backup_schedule_id,json=backupScheduleId" json:"backup_schedule_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to delete a backup schedule

func (*SdkCloudBackupSchedDeleteRequest) Descriptor

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

func (*SdkCloudBackupSchedDeleteRequest) GetBackupScheduleId

func (m *SdkCloudBackupSchedDeleteRequest) GetBackupScheduleId() string

func (*SdkCloudBackupSchedDeleteRequest) ProtoMessage

func (*SdkCloudBackupSchedDeleteRequest) ProtoMessage()

func (*SdkCloudBackupSchedDeleteRequest) Reset

func (*SdkCloudBackupSchedDeleteRequest) String

func (*SdkCloudBackupSchedDeleteRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupSchedDeleteRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupSchedDeleteRequest) XXX_Marshal

func (m *SdkCloudBackupSchedDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupSchedDeleteRequest) XXX_Merge

func (dst *SdkCloudBackupSchedDeleteRequest) XXX_Merge(src proto.Message)

func (*SdkCloudBackupSchedDeleteRequest) XXX_Size

func (m *SdkCloudBackupSchedDeleteRequest) XXX_Size() int

func (*SdkCloudBackupSchedDeleteRequest) XXX_Unmarshal

func (m *SdkCloudBackupSchedDeleteRequest) XXX_Unmarshal(b []byte) error

type SdkCloudBackupSchedDeleteResponse

type SdkCloudBackupSchedDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkCloudBackupSchedDeleteResponse) Descriptor

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

func (*SdkCloudBackupSchedDeleteResponse) ProtoMessage

func (*SdkCloudBackupSchedDeleteResponse) ProtoMessage()

func (*SdkCloudBackupSchedDeleteResponse) Reset

func (*SdkCloudBackupSchedDeleteResponse) String

func (*SdkCloudBackupSchedDeleteResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupSchedDeleteResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupSchedDeleteResponse) XXX_Marshal

func (m *SdkCloudBackupSchedDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupSchedDeleteResponse) XXX_Merge

func (dst *SdkCloudBackupSchedDeleteResponse) XXX_Merge(src proto.Message)

func (*SdkCloudBackupSchedDeleteResponse) XXX_Size

func (m *SdkCloudBackupSchedDeleteResponse) XXX_Size() int

func (*SdkCloudBackupSchedDeleteResponse) XXX_Unmarshal

func (m *SdkCloudBackupSchedDeleteResponse) XXX_Unmarshal(b []byte) error

type SdkCloudBackupSchedEnumerateRequest

type SdkCloudBackupSchedEnumerateRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty request

func (*SdkCloudBackupSchedEnumerateRequest) Descriptor

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

func (*SdkCloudBackupSchedEnumerateRequest) ProtoMessage

func (*SdkCloudBackupSchedEnumerateRequest) ProtoMessage()

func (*SdkCloudBackupSchedEnumerateRequest) Reset

func (*SdkCloudBackupSchedEnumerateRequest) String

func (*SdkCloudBackupSchedEnumerateRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupSchedEnumerateRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupSchedEnumerateRequest) XXX_Marshal

func (m *SdkCloudBackupSchedEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupSchedEnumerateRequest) XXX_Merge

func (*SdkCloudBackupSchedEnumerateRequest) XXX_Size

func (*SdkCloudBackupSchedEnumerateRequest) XXX_Unmarshal

func (m *SdkCloudBackupSchedEnumerateRequest) XXX_Unmarshal(b []byte) error

type SdkCloudBackupSchedEnumerateResponse

type SdkCloudBackupSchedEnumerateResponse struct {
	// Returns list of backup schedules
	CloudSchedList       map[string]*SdkCloudBackupScheduleInfo `` /* 172-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                               `json:"-"`
	XXX_unrecognized     []byte                                 `json:"-"`
	XXX_sizecache        int32                                  `json:"-"`
}

Defines a response containing a map listing the schedules for volume backups to a cloud provider

func (*SdkCloudBackupSchedEnumerateResponse) Descriptor

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

func (*SdkCloudBackupSchedEnumerateResponse) GetCloudSchedList

func (*SdkCloudBackupSchedEnumerateResponse) ProtoMessage

func (*SdkCloudBackupSchedEnumerateResponse) ProtoMessage()

func (*SdkCloudBackupSchedEnumerateResponse) Reset

func (*SdkCloudBackupSchedEnumerateResponse) String

func (*SdkCloudBackupSchedEnumerateResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupSchedEnumerateResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupSchedEnumerateResponse) XXX_Marshal

func (m *SdkCloudBackupSchedEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupSchedEnumerateResponse) XXX_Merge

func (*SdkCloudBackupSchedEnumerateResponse) XXX_Size

func (*SdkCloudBackupSchedEnumerateResponse) XXX_Unmarshal

func (m *SdkCloudBackupSchedEnumerateResponse) XXX_Unmarshal(b []byte) error

type SdkCloudBackupSchedUpdateRequest

type SdkCloudBackupSchedUpdateRequest struct {
	// Cloud Backup Schedule info
	CloudSchedInfo       *SdkCloudBackupScheduleInfo `protobuf:"bytes,1,opt,name=cloud_sched_info,json=cloudSchedInfo" json:"cloud_sched_info,omitempty"`
	SchedUuid            string                      `protobuf:"bytes,2,opt,name=sched_uuid,json=schedUuid" json:"sched_uuid,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Defines a request to update a schedule for volume backups to a cloud provider

func (*SdkCloudBackupSchedUpdateRequest) Descriptor

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

func (*SdkCloudBackupSchedUpdateRequest) GetCloudSchedInfo

func (*SdkCloudBackupSchedUpdateRequest) GetSchedUuid

func (m *SdkCloudBackupSchedUpdateRequest) GetSchedUuid() string

func (*SdkCloudBackupSchedUpdateRequest) ProtoMessage

func (*SdkCloudBackupSchedUpdateRequest) ProtoMessage()

func (*SdkCloudBackupSchedUpdateRequest) Reset

func (*SdkCloudBackupSchedUpdateRequest) String

func (*SdkCloudBackupSchedUpdateRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupSchedUpdateRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupSchedUpdateRequest) XXX_Marshal

func (m *SdkCloudBackupSchedUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupSchedUpdateRequest) XXX_Merge

func (dst *SdkCloudBackupSchedUpdateRequest) XXX_Merge(src proto.Message)

func (*SdkCloudBackupSchedUpdateRequest) XXX_Size

func (m *SdkCloudBackupSchedUpdateRequest) XXX_Size() int

func (*SdkCloudBackupSchedUpdateRequest) XXX_Unmarshal

func (m *SdkCloudBackupSchedUpdateRequest) XXX_Unmarshal(b []byte) error

type SdkCloudBackupSchedUpdateResponse

type SdkCloudBackupSchedUpdateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkCloudBackupSchedUpdateResponse) Descriptor

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

func (*SdkCloudBackupSchedUpdateResponse) ProtoMessage

func (*SdkCloudBackupSchedUpdateResponse) ProtoMessage()

func (*SdkCloudBackupSchedUpdateResponse) Reset

func (*SdkCloudBackupSchedUpdateResponse) String

func (*SdkCloudBackupSchedUpdateResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupSchedUpdateResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupSchedUpdateResponse) XXX_Marshal

func (m *SdkCloudBackupSchedUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupSchedUpdateResponse) XXX_Merge

func (dst *SdkCloudBackupSchedUpdateResponse) XXX_Merge(src proto.Message)

func (*SdkCloudBackupSchedUpdateResponse) XXX_Size

func (m *SdkCloudBackupSchedUpdateResponse) XXX_Size() int

func (*SdkCloudBackupSchedUpdateResponse) XXX_Unmarshal

func (m *SdkCloudBackupSchedUpdateResponse) XXX_Unmarshal(b []byte) error

type SdkCloudBackupScheduleInfo

type SdkCloudBackupScheduleInfo struct {
	// The schedule's source volume
	SrcVolumeId string `protobuf:"bytes,1,opt,name=src_volume_id,json=srcVolumeId" json:"src_volume_id,omitempty"`
	// The cloud credential used with this schedule
	CredentialId string `protobuf:"bytes,2,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	// Schedules are the frequencies of the backup
	Schedules []*SdkSchedulePolicyInterval `protobuf:"bytes,3,rep,name=schedules" 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" json:"max_backups,omitempty"`
	// Full indicates if scheduled backups should always be full and never incremental.
	Full bool `protobuf:"varint,5,opt,name=full" 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" 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" json:"group_id,omitempty"`
	// labels indicates group of volumes with similar labels for which this schedule applies
	Labels               map[string]string `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

SdkCloudBackupScheduleInfo describes a schedule for volume backups to a cloud provider

func (*SdkCloudBackupScheduleInfo) Descriptor

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

func (*SdkCloudBackupScheduleInfo) GetCredentialId

func (m *SdkCloudBackupScheduleInfo) GetCredentialId() string

func (*SdkCloudBackupScheduleInfo) GetFull

func (m *SdkCloudBackupScheduleInfo) GetFull() bool

func (*SdkCloudBackupScheduleInfo) GetGroupId

func (m *SdkCloudBackupScheduleInfo) GetGroupId() string

func (*SdkCloudBackupScheduleInfo) GetLabels

func (m *SdkCloudBackupScheduleInfo) GetLabels() map[string]string

func (*SdkCloudBackupScheduleInfo) GetMaxBackups

func (m *SdkCloudBackupScheduleInfo) GetMaxBackups() uint64

func (*SdkCloudBackupScheduleInfo) GetRetentionDays

func (m *SdkCloudBackupScheduleInfo) GetRetentionDays() uint32

func (*SdkCloudBackupScheduleInfo) GetSchedules

func (*SdkCloudBackupScheduleInfo) GetSrcVolumeId

func (m *SdkCloudBackupScheduleInfo) GetSrcVolumeId() string

func (*SdkCloudBackupScheduleInfo) ProtoMessage

func (*SdkCloudBackupScheduleInfo) ProtoMessage()

func (*SdkCloudBackupScheduleInfo) Reset

func (m *SdkCloudBackupScheduleInfo) Reset()

func (*SdkCloudBackupScheduleInfo) String

func (m *SdkCloudBackupScheduleInfo) String() string

func (*SdkCloudBackupScheduleInfo) XXX_DiscardUnknown

func (m *SdkCloudBackupScheduleInfo) XXX_DiscardUnknown()

func (*SdkCloudBackupScheduleInfo) XXX_Marshal

func (m *SdkCloudBackupScheduleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupScheduleInfo) XXX_Merge

func (dst *SdkCloudBackupScheduleInfo) XXX_Merge(src proto.Message)

func (*SdkCloudBackupScheduleInfo) XXX_Size

func (m *SdkCloudBackupScheduleInfo) XXX_Size() int

func (*SdkCloudBackupScheduleInfo) XXX_Unmarshal

func (m *SdkCloudBackupScheduleInfo) XXX_Unmarshal(b []byte) error

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" json:"backup_id,omitempty"`
	// Credential id describe the credentials for the cloud
	CredentialId         string   `protobuf:"bytes,2,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to retrieve the size of the volume for the specificed volume

func (*SdkCloudBackupSizeRequest) Descriptor

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

func (*SdkCloudBackupSizeRequest) GetBackupId

func (m *SdkCloudBackupSizeRequest) GetBackupId() string

func (*SdkCloudBackupSizeRequest) GetCredentialId

func (m *SdkCloudBackupSizeRequest) GetCredentialId() string

func (*SdkCloudBackupSizeRequest) ProtoMessage

func (*SdkCloudBackupSizeRequest) ProtoMessage()

func (*SdkCloudBackupSizeRequest) Reset

func (m *SdkCloudBackupSizeRequest) Reset()

func (*SdkCloudBackupSizeRequest) String

func (m *SdkCloudBackupSizeRequest) String() string

func (*SdkCloudBackupSizeRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupSizeRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupSizeRequest) XXX_Marshal

func (m *SdkCloudBackupSizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupSizeRequest) XXX_Merge

func (dst *SdkCloudBackupSizeRequest) XXX_Merge(src proto.Message)

func (*SdkCloudBackupSizeRequest) XXX_Size

func (m *SdkCloudBackupSizeRequest) XXX_Size() int

func (*SdkCloudBackupSizeRequest) XXX_Unmarshal

func (m *SdkCloudBackupSizeRequest) XXX_Unmarshal(b []byte) error

type SdkCloudBackupSizeResponse

type SdkCloudBackupSizeResponse struct {
	// Size is the size of the volume in bytes
	Size                 uint64   `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response containing the size of the volume

func (*SdkCloudBackupSizeResponse) Descriptor

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

func (*SdkCloudBackupSizeResponse) GetSize

func (m *SdkCloudBackupSizeResponse) GetSize() uint64

func (*SdkCloudBackupSizeResponse) ProtoMessage

func (*SdkCloudBackupSizeResponse) ProtoMessage()

func (*SdkCloudBackupSizeResponse) Reset

func (m *SdkCloudBackupSizeResponse) Reset()

func (*SdkCloudBackupSizeResponse) String

func (m *SdkCloudBackupSizeResponse) String() string

func (*SdkCloudBackupSizeResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupSizeResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupSizeResponse) XXX_Marshal

func (m *SdkCloudBackupSizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupSizeResponse) XXX_Merge

func (dst *SdkCloudBackupSizeResponse) XXX_Merge(src proto.Message)

func (*SdkCloudBackupSizeResponse) XXX_Size

func (m *SdkCloudBackupSizeResponse) XXX_Size() int

func (*SdkCloudBackupSizeResponse) XXX_Unmarshal

func (m *SdkCloudBackupSizeResponse) XXX_Unmarshal(b []byte) error

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" json:"task_id,omitempty"`
	// The desired state of the operation
	RequestedState       SdkCloudBackupRequestedState `` /* 147-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

Defines a request to change the state of a backup or restore to or from a cloud provider

func (*SdkCloudBackupStateChangeRequest) Descriptor

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

func (*SdkCloudBackupStateChangeRequest) GetRequestedState

func (*SdkCloudBackupStateChangeRequest) GetTaskId

func (*SdkCloudBackupStateChangeRequest) ProtoMessage

func (*SdkCloudBackupStateChangeRequest) ProtoMessage()

func (*SdkCloudBackupStateChangeRequest) Reset

func (*SdkCloudBackupStateChangeRequest) String

func (*SdkCloudBackupStateChangeRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupStateChangeRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupStateChangeRequest) XXX_Marshal

func (m *SdkCloudBackupStateChangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupStateChangeRequest) XXX_Merge

func (dst *SdkCloudBackupStateChangeRequest) XXX_Merge(src proto.Message)

func (*SdkCloudBackupStateChangeRequest) XXX_Size

func (m *SdkCloudBackupStateChangeRequest) XXX_Size() int

func (*SdkCloudBackupStateChangeRequest) XXX_Unmarshal

func (m *SdkCloudBackupStateChangeRequest) XXX_Unmarshal(b []byte) error

type SdkCloudBackupStateChangeResponse

type SdkCloudBackupStateChangeResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkCloudBackupStateChangeResponse) Descriptor

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

func (*SdkCloudBackupStateChangeResponse) ProtoMessage

func (*SdkCloudBackupStateChangeResponse) ProtoMessage()

func (*SdkCloudBackupStateChangeResponse) Reset

func (*SdkCloudBackupStateChangeResponse) String

func (*SdkCloudBackupStateChangeResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupStateChangeResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupStateChangeResponse) XXX_Marshal

func (m *SdkCloudBackupStateChangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupStateChangeResponse) XXX_Merge

func (dst *SdkCloudBackupStateChangeResponse) XXX_Merge(src proto.Message)

func (*SdkCloudBackupStateChangeResponse) XXX_Size

func (m *SdkCloudBackupStateChangeResponse) XXX_Size() int

func (*SdkCloudBackupStateChangeResponse) XXX_Unmarshal

func (m *SdkCloudBackupStateChangeResponse) XXX_Unmarshal(b []byte) error

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" json:"backup_id,omitempty"`
	// OpType indicates if this is a backup or restore
	Optype SdkCloudBackupOpType `protobuf:"varint,2,opt,name=optype,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,enum=openstorage.api.SdkCloudBackupStatusType" json:"status,omitempty"`
	// BytesDone indicates total Bytes uploaded/downloaded
	BytesDone uint64 `protobuf:"varint,4,opt,name=bytes_done,json=bytesDone" json:"bytes_done,omitempty"`
	// StartTime indicates Op's start time
	StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
	// CompletedTime indicates Op's completed time
	CompletedTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=completed_time,json=completedTime" 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" 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" json:"src_volume_id,omitempty"`
	// Info currently indicates the failure cause for failed backup/restore
	Info []string `protobuf:"bytes,9,rep,name=info" 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" json:"credential_id,omitempty"`
	// BytesTotal is the total number of bytes being transferred
	BytesTotal uint64 `protobuf:"varint,11,opt,name=bytes_total,json=bytesTotal" 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" 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" json:"group_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkCloudBackupStatus defines the status of a backup stored by a cloud provider

func (*SdkCloudBackupStatus) Descriptor

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

func (*SdkCloudBackupStatus) GetBackupId

func (m *SdkCloudBackupStatus) GetBackupId() string

func (*SdkCloudBackupStatus) GetBytesDone

func (m *SdkCloudBackupStatus) GetBytesDone() uint64

func (*SdkCloudBackupStatus) GetBytesTotal

func (m *SdkCloudBackupStatus) GetBytesTotal() uint64

func (*SdkCloudBackupStatus) GetCompletedTime

func (m *SdkCloudBackupStatus) GetCompletedTime() *timestamp.Timestamp

func (*SdkCloudBackupStatus) GetCredentialId

func (m *SdkCloudBackupStatus) GetCredentialId() string

func (*SdkCloudBackupStatus) GetEtaSeconds

func (m *SdkCloudBackupStatus) GetEtaSeconds() int64

func (*SdkCloudBackupStatus) GetGroupId

func (m *SdkCloudBackupStatus) GetGroupId() string

func (*SdkCloudBackupStatus) GetInfo

func (m *SdkCloudBackupStatus) GetInfo() []string

func (*SdkCloudBackupStatus) GetNodeId

func (m *SdkCloudBackupStatus) GetNodeId() string

func (*SdkCloudBackupStatus) GetOptype

func (*SdkCloudBackupStatus) GetSrcVolumeId

func (m *SdkCloudBackupStatus) GetSrcVolumeId() string

func (*SdkCloudBackupStatus) GetStartTime

func (m *SdkCloudBackupStatus) GetStartTime() *timestamp.Timestamp

func (*SdkCloudBackupStatus) GetStatus

func (*SdkCloudBackupStatus) ProtoMessage

func (*SdkCloudBackupStatus) ProtoMessage()

func (*SdkCloudBackupStatus) Reset

func (m *SdkCloudBackupStatus) Reset()

func (*SdkCloudBackupStatus) String

func (m *SdkCloudBackupStatus) String() string

func (*SdkCloudBackupStatus) XXX_DiscardUnknown

func (m *SdkCloudBackupStatus) XXX_DiscardUnknown()

func (*SdkCloudBackupStatus) XXX_Marshal

func (m *SdkCloudBackupStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupStatus) XXX_Merge

func (dst *SdkCloudBackupStatus) XXX_Merge(src proto.Message)

func (*SdkCloudBackupStatus) XXX_Size

func (m *SdkCloudBackupStatus) XXX_Size() int

func (*SdkCloudBackupStatus) XXX_Unmarshal

func (m *SdkCloudBackupStatus) XXX_Unmarshal(b []byte) error

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" 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" 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" json:"task_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to retreive the status of a backup or restore for a specified volume

func (*SdkCloudBackupStatusRequest) Descriptor

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

func (*SdkCloudBackupStatusRequest) GetLocal

func (m *SdkCloudBackupStatusRequest) GetLocal() bool

func (*SdkCloudBackupStatusRequest) GetTaskId

func (m *SdkCloudBackupStatusRequest) GetTaskId() string

func (*SdkCloudBackupStatusRequest) GetVolumeId

func (m *SdkCloudBackupStatusRequest) GetVolumeId() string

func (*SdkCloudBackupStatusRequest) ProtoMessage

func (*SdkCloudBackupStatusRequest) ProtoMessage()

func (*SdkCloudBackupStatusRequest) Reset

func (m *SdkCloudBackupStatusRequest) Reset()

func (*SdkCloudBackupStatusRequest) String

func (m *SdkCloudBackupStatusRequest) String() string

func (*SdkCloudBackupStatusRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupStatusRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupStatusRequest) XXX_Marshal

func (m *SdkCloudBackupStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupStatusRequest) XXX_Merge

func (dst *SdkCloudBackupStatusRequest) XXX_Merge(src proto.Message)

func (*SdkCloudBackupStatusRequest) XXX_Size

func (m *SdkCloudBackupStatusRequest) XXX_Size() int

func (*SdkCloudBackupStatusRequest) XXX_Unmarshal

func (m *SdkCloudBackupStatusRequest) XXX_Unmarshal(b []byte) error

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 `` /* 136-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

Defines a response containing the status of the backups for a specified volume

func (*SdkCloudBackupStatusResponse) Descriptor

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

func (*SdkCloudBackupStatusResponse) GetStatuses

func (*SdkCloudBackupStatusResponse) ProtoMessage

func (*SdkCloudBackupStatusResponse) ProtoMessage()

func (*SdkCloudBackupStatusResponse) Reset

func (m *SdkCloudBackupStatusResponse) Reset()

func (*SdkCloudBackupStatusResponse) String

func (*SdkCloudBackupStatusResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupStatusResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupStatusResponse) XXX_Marshal

func (m *SdkCloudBackupStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudBackupStatusResponse) XXX_Merge

func (dst *SdkCloudBackupStatusResponse) XXX_Merge(src proto.Message)

func (*SdkCloudBackupStatusResponse) XXX_Size

func (m *SdkCloudBackupStatusResponse) XXX_Size() int

func (*SdkCloudBackupStatusResponse) XXX_Unmarshal

func (m *SdkCloudBackupStatusResponse) XXX_Unmarshal(b []byte) error

type SdkCloudBackupStatusType

type SdkCloudBackupStatusType int32

CloudBackup status types

const (
	// Unkonwn
	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) EnumDescriptor

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

func (SdkCloudBackupStatusType) String

func (x SdkCloudBackupStatusType) String() string

type SdkCloudMigrateCancelRequest

type SdkCloudMigrateCancelRequest struct {
	// Request containing the task id to be cancelled
	Request              *CloudMigrateCancelRequest `protobuf:"bytes,1,opt,name=request" json:"request,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

Defines a request to stop a cloud migration

func (*SdkCloudMigrateCancelRequest) Descriptor

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

func (*SdkCloudMigrateCancelRequest) GetRequest

func (*SdkCloudMigrateCancelRequest) ProtoMessage

func (*SdkCloudMigrateCancelRequest) ProtoMessage()

func (*SdkCloudMigrateCancelRequest) Reset

func (m *SdkCloudMigrateCancelRequest) Reset()

func (*SdkCloudMigrateCancelRequest) String

func (*SdkCloudMigrateCancelRequest) XXX_DiscardUnknown

func (m *SdkCloudMigrateCancelRequest) XXX_DiscardUnknown()

func (*SdkCloudMigrateCancelRequest) XXX_Marshal

func (m *SdkCloudMigrateCancelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudMigrateCancelRequest) XXX_Merge

func (dst *SdkCloudMigrateCancelRequest) XXX_Merge(src proto.Message)

func (*SdkCloudMigrateCancelRequest) XXX_Size

func (m *SdkCloudMigrateCancelRequest) XXX_Size() int

func (*SdkCloudMigrateCancelRequest) XXX_Unmarshal

func (m *SdkCloudMigrateCancelRequest) XXX_Unmarshal(b []byte) error

type SdkCloudMigrateCancelResponse

type SdkCloudMigrateCancelResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty Response

func (*SdkCloudMigrateCancelResponse) Descriptor

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

func (*SdkCloudMigrateCancelResponse) ProtoMessage

func (*SdkCloudMigrateCancelResponse) ProtoMessage()

func (*SdkCloudMigrateCancelResponse) Reset

func (m *SdkCloudMigrateCancelResponse) Reset()

func (*SdkCloudMigrateCancelResponse) String

func (*SdkCloudMigrateCancelResponse) XXX_DiscardUnknown

func (m *SdkCloudMigrateCancelResponse) XXX_DiscardUnknown()

func (*SdkCloudMigrateCancelResponse) XXX_Marshal

func (m *SdkCloudMigrateCancelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudMigrateCancelResponse) XXX_Merge

func (dst *SdkCloudMigrateCancelResponse) XXX_Merge(src proto.Message)

func (*SdkCloudMigrateCancelResponse) XXX_Size

func (m *SdkCloudMigrateCancelResponse) XXX_Size() int

func (*SdkCloudMigrateCancelResponse) XXX_Unmarshal

func (m *SdkCloudMigrateCancelResponse) XXX_Unmarshal(b []byte) error

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" 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" json:"task_id,omitempty"`
	// Types that are valid to be assigned to Opt:
	//	*SdkCloudMigrateStartRequest_Volume
	//	*SdkCloudMigrateStartRequest_VolumeGroup
	//	*SdkCloudMigrateStartRequest_AllVolumes
	Opt                  isSdkCloudMigrateStartRequest_Opt `protobuf_oneof:"opt"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

Defines a migration request

func (*SdkCloudMigrateStartRequest) Descriptor

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

func (*SdkCloudMigrateStartRequest) GetAllVolumes

func (*SdkCloudMigrateStartRequest) GetClusterId

func (m *SdkCloudMigrateStartRequest) GetClusterId() string

func (*SdkCloudMigrateStartRequest) GetOpt

func (m *SdkCloudMigrateStartRequest) GetOpt() isSdkCloudMigrateStartRequest_Opt

func (*SdkCloudMigrateStartRequest) GetTaskId

func (m *SdkCloudMigrateStartRequest) GetTaskId() string

func (*SdkCloudMigrateStartRequest) GetVolume

func (*SdkCloudMigrateStartRequest) GetVolumeGroup

func (*SdkCloudMigrateStartRequest) ProtoMessage

func (*SdkCloudMigrateStartRequest) ProtoMessage()

func (*SdkCloudMigrateStartRequest) Reset

func (m *SdkCloudMigrateStartRequest) Reset()

func (*SdkCloudMigrateStartRequest) String

func (m *SdkCloudMigrateStartRequest) String() string

func (*SdkCloudMigrateStartRequest) XXX_DiscardUnknown

func (m *SdkCloudMigrateStartRequest) XXX_DiscardUnknown()

func (*SdkCloudMigrateStartRequest) XXX_Marshal

func (m *SdkCloudMigrateStartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudMigrateStartRequest) XXX_Merge

func (dst *SdkCloudMigrateStartRequest) XXX_Merge(src proto.Message)

func (*SdkCloudMigrateStartRequest) XXX_OneofFuncs

func (*SdkCloudMigrateStartRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*SdkCloudMigrateStartRequest) XXX_Size

func (m *SdkCloudMigrateStartRequest) XXX_Size() int

func (*SdkCloudMigrateStartRequest) XXX_Unmarshal

func (m *SdkCloudMigrateStartRequest) XXX_Unmarshal(b []byte) error

type SdkCloudMigrateStartRequest_AllVolumes

type SdkCloudMigrateStartRequest_AllVolumes struct {
	AllVolumes *SdkCloudMigrateStartRequest_MigrateAllVolumes `protobuf:"bytes,202,opt,name=all_volumes,json=allVolumes,oneof"`
}

type SdkCloudMigrateStartRequest_MigrateAllVolumes

type SdkCloudMigrateStartRequest_MigrateAllVolumes struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a migration request for all volumes in a cluster

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) Descriptor

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) ProtoMessage

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) Reset

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) String

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) XXX_DiscardUnknown

func (m *SdkCloudMigrateStartRequest_MigrateAllVolumes) XXX_DiscardUnknown()

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) XXX_Marshal

func (m *SdkCloudMigrateStartRequest_MigrateAllVolumes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) XXX_Merge

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) XXX_Size

func (*SdkCloudMigrateStartRequest_MigrateAllVolumes) XXX_Unmarshal

type SdkCloudMigrateStartRequest_MigrateVolume

type SdkCloudMigrateStartRequest_MigrateVolume struct {
	VolumeId             string   `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a migration request for a volume

func (*SdkCloudMigrateStartRequest_MigrateVolume) Descriptor

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

func (*SdkCloudMigrateStartRequest_MigrateVolume) GetVolumeId

func (*SdkCloudMigrateStartRequest_MigrateVolume) ProtoMessage

func (*SdkCloudMigrateStartRequest_MigrateVolume) Reset

func (*SdkCloudMigrateStartRequest_MigrateVolume) String

func (*SdkCloudMigrateStartRequest_MigrateVolume) XXX_DiscardUnknown

func (m *SdkCloudMigrateStartRequest_MigrateVolume) XXX_DiscardUnknown()

func (*SdkCloudMigrateStartRequest_MigrateVolume) XXX_Marshal

func (m *SdkCloudMigrateStartRequest_MigrateVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudMigrateStartRequest_MigrateVolume) XXX_Merge

func (*SdkCloudMigrateStartRequest_MigrateVolume) XXX_Size

func (*SdkCloudMigrateStartRequest_MigrateVolume) XXX_Unmarshal

type SdkCloudMigrateStartRequest_MigrateVolumeGroup

type SdkCloudMigrateStartRequest_MigrateVolumeGroup struct {
	GroupId              string   `protobuf:"bytes,1,opt,name=group_id,json=groupId" json:"group_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a migration request for a volume group

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) Descriptor

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) GetGroupId

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) ProtoMessage

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) Reset

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) String

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) XXX_DiscardUnknown

func (m *SdkCloudMigrateStartRequest_MigrateVolumeGroup) XXX_DiscardUnknown()

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) XXX_Marshal

func (m *SdkCloudMigrateStartRequest_MigrateVolumeGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) XXX_Merge

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) XXX_Size

func (*SdkCloudMigrateStartRequest_MigrateVolumeGroup) XXX_Unmarshal

type SdkCloudMigrateStartRequest_Volume

type SdkCloudMigrateStartRequest_Volume struct {
	Volume *SdkCloudMigrateStartRequest_MigrateVolume `protobuf:"bytes,200,opt,name=volume,oneof"`
}

type SdkCloudMigrateStartRequest_VolumeGroup

type SdkCloudMigrateStartRequest_VolumeGroup struct {
	VolumeGroup *SdkCloudMigrateStartRequest_MigrateVolumeGroup `protobuf:"bytes,201,opt,name=volume_group,json=volumeGroup,oneof"`
}

type SdkCloudMigrateStartResponse

type SdkCloudMigrateStartResponse struct {
	// Result assocaiated with the migration that was started
	Result               *CloudMigrateStartResponse `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

Defines a response for the migration that was started

func (*SdkCloudMigrateStartResponse) Descriptor

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

func (*SdkCloudMigrateStartResponse) GetResult

func (*SdkCloudMigrateStartResponse) ProtoMessage

func (*SdkCloudMigrateStartResponse) ProtoMessage()

func (*SdkCloudMigrateStartResponse) Reset

func (m *SdkCloudMigrateStartResponse) Reset()

func (*SdkCloudMigrateStartResponse) String

func (*SdkCloudMigrateStartResponse) XXX_DiscardUnknown

func (m *SdkCloudMigrateStartResponse) XXX_DiscardUnknown()

func (*SdkCloudMigrateStartResponse) XXX_Marshal

func (m *SdkCloudMigrateStartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudMigrateStartResponse) XXX_Merge

func (dst *SdkCloudMigrateStartResponse) XXX_Merge(src proto.Message)

func (*SdkCloudMigrateStartResponse) XXX_Size

func (m *SdkCloudMigrateStartResponse) XXX_Size() int

func (*SdkCloudMigrateStartResponse) XXX_Unmarshal

func (m *SdkCloudMigrateStartResponse) XXX_Unmarshal(b []byte) error

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" json:"request,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

Request for cloud migration operation status

func (*SdkCloudMigrateStatusRequest) Descriptor

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

func (*SdkCloudMigrateStatusRequest) GetRequest

func (*SdkCloudMigrateStatusRequest) ProtoMessage

func (*SdkCloudMigrateStatusRequest) ProtoMessage()

func (*SdkCloudMigrateStatusRequest) Reset

func (m *SdkCloudMigrateStatusRequest) Reset()

func (*SdkCloudMigrateStatusRequest) String

func (*SdkCloudMigrateStatusRequest) XXX_DiscardUnknown

func (m *SdkCloudMigrateStatusRequest) XXX_DiscardUnknown()

func (*SdkCloudMigrateStatusRequest) XXX_Marshal

func (m *SdkCloudMigrateStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudMigrateStatusRequest) XXX_Merge

func (dst *SdkCloudMigrateStatusRequest) XXX_Merge(src proto.Message)

func (*SdkCloudMigrateStatusRequest) XXX_Size

func (m *SdkCloudMigrateStatusRequest) XXX_Size() int

func (*SdkCloudMigrateStatusRequest) XXX_Unmarshal

func (m *SdkCloudMigrateStatusRequest) XXX_Unmarshal(b []byte) error

type SdkCloudMigrateStatusResponse

type SdkCloudMigrateStatusResponse struct {
	// Status of all migration requests
	Result               *CloudMigrateStatusResponse `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Defines a response for the status request

func (*SdkCloudMigrateStatusResponse) Descriptor

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

func (*SdkCloudMigrateStatusResponse) GetResult

func (*SdkCloudMigrateStatusResponse) ProtoMessage

func (*SdkCloudMigrateStatusResponse) ProtoMessage()

func (*SdkCloudMigrateStatusResponse) Reset

func (m *SdkCloudMigrateStatusResponse) Reset()

func (*SdkCloudMigrateStatusResponse) String

func (*SdkCloudMigrateStatusResponse) XXX_DiscardUnknown

func (m *SdkCloudMigrateStatusResponse) XXX_DiscardUnknown()

func (*SdkCloudMigrateStatusResponse) XXX_Marshal

func (m *SdkCloudMigrateStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCloudMigrateStatusResponse) XXX_Merge

func (dst *SdkCloudMigrateStatusResponse) XXX_Merge(src proto.Message)

func (*SdkCloudMigrateStatusResponse) XXX_Size

func (m *SdkCloudMigrateStatusResponse) XXX_Size() int

func (*SdkCloudMigrateStatusResponse) XXX_Unmarshal

func (m *SdkCloudMigrateStatusResponse) XXX_Unmarshal(b []byte) error

type SdkClusterDomainActivateRequest

type SdkClusterDomainActivateRequest struct {
	// Name of the cluster domain to activate
	ClusterDomainName    string   `protobuf:"bytes,1,opt,name=cluster_domain_name,json=clusterDomainName" json:"cluster_domain_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to activate a cluster domain

func (*SdkClusterDomainActivateRequest) Descriptor

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

func (*SdkClusterDomainActivateRequest) GetClusterDomainName

func (m *SdkClusterDomainActivateRequest) GetClusterDomainName() string

func (*SdkClusterDomainActivateRequest) ProtoMessage

func (*SdkClusterDomainActivateRequest) ProtoMessage()

func (*SdkClusterDomainActivateRequest) Reset

func (*SdkClusterDomainActivateRequest) String

func (*SdkClusterDomainActivateRequest) XXX_DiscardUnknown

func (m *SdkClusterDomainActivateRequest) XXX_DiscardUnknown()

func (*SdkClusterDomainActivateRequest) XXX_Marshal

func (m *SdkClusterDomainActivateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterDomainActivateRequest) XXX_Merge

func (dst *SdkClusterDomainActivateRequest) XXX_Merge(src proto.Message)

func (*SdkClusterDomainActivateRequest) XXX_Size

func (m *SdkClusterDomainActivateRequest) XXX_Size() int

func (*SdkClusterDomainActivateRequest) XXX_Unmarshal

func (m *SdkClusterDomainActivateRequest) XXX_Unmarshal(b []byte) error

type SdkClusterDomainActivateResponse

type SdkClusterDomainActivateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkClusterDomainActivateResponse) Descriptor

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

func (*SdkClusterDomainActivateResponse) ProtoMessage

func (*SdkClusterDomainActivateResponse) ProtoMessage()

func (*SdkClusterDomainActivateResponse) Reset

func (*SdkClusterDomainActivateResponse) String

func (*SdkClusterDomainActivateResponse) XXX_DiscardUnknown

func (m *SdkClusterDomainActivateResponse) XXX_DiscardUnknown()

func (*SdkClusterDomainActivateResponse) XXX_Marshal

func (m *SdkClusterDomainActivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterDomainActivateResponse) XXX_Merge

func (dst *SdkClusterDomainActivateResponse) XXX_Merge(src proto.Message)

func (*SdkClusterDomainActivateResponse) XXX_Size

func (m *SdkClusterDomainActivateResponse) XXX_Size() int

func (*SdkClusterDomainActivateResponse) XXX_Unmarshal

func (m *SdkClusterDomainActivateResponse) XXX_Unmarshal(b []byte) error

type SdkClusterDomainDeactivateRequest

type SdkClusterDomainDeactivateRequest struct {
	// Name of the cluster domain to deactivate
	ClusterDomainName    string   `protobuf:"bytes,1,opt,name=cluster_domain_name,json=clusterDomainName" json:"cluster_domain_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to deactivate a cluster domain

func (*SdkClusterDomainDeactivateRequest) Descriptor

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

func (*SdkClusterDomainDeactivateRequest) GetClusterDomainName

func (m *SdkClusterDomainDeactivateRequest) GetClusterDomainName() string

func (*SdkClusterDomainDeactivateRequest) ProtoMessage

func (*SdkClusterDomainDeactivateRequest) ProtoMessage()

func (*SdkClusterDomainDeactivateRequest) Reset

func (*SdkClusterDomainDeactivateRequest) String

func (*SdkClusterDomainDeactivateRequest) XXX_DiscardUnknown

func (m *SdkClusterDomainDeactivateRequest) XXX_DiscardUnknown()

func (*SdkClusterDomainDeactivateRequest) XXX_Marshal

func (m *SdkClusterDomainDeactivateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterDomainDeactivateRequest) XXX_Merge

func (dst *SdkClusterDomainDeactivateRequest) XXX_Merge(src proto.Message)

func (*SdkClusterDomainDeactivateRequest) XXX_Size

func (m *SdkClusterDomainDeactivateRequest) XXX_Size() int

func (*SdkClusterDomainDeactivateRequest) XXX_Unmarshal

func (m *SdkClusterDomainDeactivateRequest) XXX_Unmarshal(b []byte) error

type SdkClusterDomainDeactivateResponse

type SdkClusterDomainDeactivateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkClusterDomainDeactivateResponse) Descriptor

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

func (*SdkClusterDomainDeactivateResponse) ProtoMessage

func (*SdkClusterDomainDeactivateResponse) ProtoMessage()

func (*SdkClusterDomainDeactivateResponse) Reset

func (*SdkClusterDomainDeactivateResponse) String

func (*SdkClusterDomainDeactivateResponse) XXX_DiscardUnknown

func (m *SdkClusterDomainDeactivateResponse) XXX_DiscardUnknown()

func (*SdkClusterDomainDeactivateResponse) XXX_Marshal

func (m *SdkClusterDomainDeactivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterDomainDeactivateResponse) XXX_Merge

func (dst *SdkClusterDomainDeactivateResponse) XXX_Merge(src proto.Message)

func (*SdkClusterDomainDeactivateResponse) XXX_Size

func (*SdkClusterDomainDeactivateResponse) XXX_Unmarshal

func (m *SdkClusterDomainDeactivateResponse) XXX_Unmarshal(b []byte) error

type SdkClusterDomainInspectRequest

type SdkClusterDomainInspectRequest struct {
	// Name of the cluster domain to inspect
	ClusterDomainName    string   `protobuf:"bytes,1,opt,name=cluster_domain_name,json=clusterDomainName" json:"cluster_domain_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to inspect a cluster domain

func (*SdkClusterDomainInspectRequest) Descriptor

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

func (*SdkClusterDomainInspectRequest) GetClusterDomainName

func (m *SdkClusterDomainInspectRequest) GetClusterDomainName() string

func (*SdkClusterDomainInspectRequest) ProtoMessage

func (*SdkClusterDomainInspectRequest) ProtoMessage()

func (*SdkClusterDomainInspectRequest) Reset

func (m *SdkClusterDomainInspectRequest) Reset()

func (*SdkClusterDomainInspectRequest) String

func (*SdkClusterDomainInspectRequest) XXX_DiscardUnknown

func (m *SdkClusterDomainInspectRequest) XXX_DiscardUnknown()

func (*SdkClusterDomainInspectRequest) XXX_Marshal

func (m *SdkClusterDomainInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterDomainInspectRequest) XXX_Merge

func (dst *SdkClusterDomainInspectRequest) XXX_Merge(src proto.Message)

func (*SdkClusterDomainInspectRequest) XXX_Size

func (m *SdkClusterDomainInspectRequest) XXX_Size() int

func (*SdkClusterDomainInspectRequest) XXX_Unmarshal

func (m *SdkClusterDomainInspectRequest) XXX_Unmarshal(b []byte) error

type SdkClusterDomainInspectResponse

type SdkClusterDomainInspectResponse struct {
	// Name of the cluster domain
	ClusterDomainName string `protobuf:"bytes,1,opt,name=cluster_domain_name,json=clusterDomainName" json:"cluster_domain_name,omitempty"`
	// IsActive indicates whether this cluster domain is active
	IsActive             bool     `protobuf:"varint,2,opt,name=is_active,json=isActive" json:"is_active,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response to inspecting a cluster domain

func (*SdkClusterDomainInspectResponse) Descriptor

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

func (*SdkClusterDomainInspectResponse) GetClusterDomainName

func (m *SdkClusterDomainInspectResponse) GetClusterDomainName() string

func (*SdkClusterDomainInspectResponse) GetIsActive

func (m *SdkClusterDomainInspectResponse) GetIsActive() bool

func (*SdkClusterDomainInspectResponse) ProtoMessage

func (*SdkClusterDomainInspectResponse) ProtoMessage()

func (*SdkClusterDomainInspectResponse) Reset

func (*SdkClusterDomainInspectResponse) String

func (*SdkClusterDomainInspectResponse) XXX_DiscardUnknown

func (m *SdkClusterDomainInspectResponse) XXX_DiscardUnknown()

func (*SdkClusterDomainInspectResponse) XXX_Marshal

func (m *SdkClusterDomainInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterDomainInspectResponse) XXX_Merge

func (dst *SdkClusterDomainInspectResponse) XXX_Merge(src proto.Message)

func (*SdkClusterDomainInspectResponse) XXX_Size

func (m *SdkClusterDomainInspectResponse) XXX_Size() int

func (*SdkClusterDomainInspectResponse) XXX_Unmarshal

func (m *SdkClusterDomainInspectResponse) XXX_Unmarshal(b []byte) error

type SdkClusterDomainsEnumerateRequest

type SdkClusterDomainsEnumerateRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty request

func (*SdkClusterDomainsEnumerateRequest) Descriptor

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

func (*SdkClusterDomainsEnumerateRequest) ProtoMessage

func (*SdkClusterDomainsEnumerateRequest) ProtoMessage()

func (*SdkClusterDomainsEnumerateRequest) Reset

func (*SdkClusterDomainsEnumerateRequest) String

func (*SdkClusterDomainsEnumerateRequest) XXX_DiscardUnknown

func (m *SdkClusterDomainsEnumerateRequest) XXX_DiscardUnknown()

func (*SdkClusterDomainsEnumerateRequest) XXX_Marshal

func (m *SdkClusterDomainsEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterDomainsEnumerateRequest) XXX_Merge

func (dst *SdkClusterDomainsEnumerateRequest) XXX_Merge(src proto.Message)

func (*SdkClusterDomainsEnumerateRequest) XXX_Size

func (m *SdkClusterDomainsEnumerateRequest) XXX_Size() int

func (*SdkClusterDomainsEnumerateRequest) XXX_Unmarshal

func (m *SdkClusterDomainsEnumerateRequest) XXX_Unmarshal(b []byte) error

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" json:"cluster_domain_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response when enumerating cluster domains

func (*SdkClusterDomainsEnumerateResponse) Descriptor

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

func (*SdkClusterDomainsEnumerateResponse) GetClusterDomainNames

func (m *SdkClusterDomainsEnumerateResponse) GetClusterDomainNames() []string

func (*SdkClusterDomainsEnumerateResponse) ProtoMessage

func (*SdkClusterDomainsEnumerateResponse) ProtoMessage()

func (*SdkClusterDomainsEnumerateResponse) Reset

func (*SdkClusterDomainsEnumerateResponse) String

func (*SdkClusterDomainsEnumerateResponse) XXX_DiscardUnknown

func (m *SdkClusterDomainsEnumerateResponse) XXX_DiscardUnknown()

func (*SdkClusterDomainsEnumerateResponse) XXX_Marshal

func (m *SdkClusterDomainsEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterDomainsEnumerateResponse) XXX_Merge

func (dst *SdkClusterDomainsEnumerateResponse) XXX_Merge(src proto.Message)

func (*SdkClusterDomainsEnumerateResponse) XXX_Size

func (*SdkClusterDomainsEnumerateResponse) XXX_Unmarshal

func (m *SdkClusterDomainsEnumerateResponse) XXX_Unmarshal(b []byte) error

type SdkClusterInspectCurrentRequest

type SdkClusterInspectCurrentRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty request

func (*SdkClusterInspectCurrentRequest) Descriptor

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

func (*SdkClusterInspectCurrentRequest) ProtoMessage

func (*SdkClusterInspectCurrentRequest) ProtoMessage()

func (*SdkClusterInspectCurrentRequest) Reset

func (*SdkClusterInspectCurrentRequest) String

func (*SdkClusterInspectCurrentRequest) XXX_DiscardUnknown

func (m *SdkClusterInspectCurrentRequest) XXX_DiscardUnknown()

func (*SdkClusterInspectCurrentRequest) XXX_Marshal

func (m *SdkClusterInspectCurrentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterInspectCurrentRequest) XXX_Merge

func (dst *SdkClusterInspectCurrentRequest) XXX_Merge(src proto.Message)

func (*SdkClusterInspectCurrentRequest) XXX_Size

func (m *SdkClusterInspectCurrentRequest) XXX_Size() int

func (*SdkClusterInspectCurrentRequest) XXX_Unmarshal

func (m *SdkClusterInspectCurrentRequest) XXX_Unmarshal(b []byte) error

type SdkClusterInspectCurrentResponse

type SdkClusterInspectCurrentResponse struct {
	// Cluster information
	Cluster              *StorageCluster `protobuf:"bytes,1,opt,name=cluster" json:"cluster,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Defines a response when inspecting the current cluster

func (*SdkClusterInspectCurrentResponse) Descriptor

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

func (*SdkClusterInspectCurrentResponse) GetCluster

func (*SdkClusterInspectCurrentResponse) ProtoMessage

func (*SdkClusterInspectCurrentResponse) ProtoMessage()

func (*SdkClusterInspectCurrentResponse) Reset

func (*SdkClusterInspectCurrentResponse) String

func (*SdkClusterInspectCurrentResponse) XXX_DiscardUnknown

func (m *SdkClusterInspectCurrentResponse) XXX_DiscardUnknown()

func (*SdkClusterInspectCurrentResponse) XXX_Marshal

func (m *SdkClusterInspectCurrentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterInspectCurrentResponse) XXX_Merge

func (dst *SdkClusterInspectCurrentResponse) XXX_Merge(src proto.Message)

func (*SdkClusterInspectCurrentResponse) XXX_Size

func (m *SdkClusterInspectCurrentResponse) XXX_Size() int

func (*SdkClusterInspectCurrentResponse) XXX_Unmarshal

func (m *SdkClusterInspectCurrentResponse) XXX_Unmarshal(b []byte) error

type SdkClusterPairCreateRequest

type SdkClusterPairCreateRequest struct {
	Request              *ClusterPairCreateRequest `protobuf:"bytes,1,opt,name=request" json:"request,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

Defines a request for creating a cluster pair

func (*SdkClusterPairCreateRequest) Descriptor

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

func (*SdkClusterPairCreateRequest) GetRequest

func (*SdkClusterPairCreateRequest) ProtoMessage

func (*SdkClusterPairCreateRequest) ProtoMessage()

func (*SdkClusterPairCreateRequest) Reset

func (m *SdkClusterPairCreateRequest) Reset()

func (*SdkClusterPairCreateRequest) String

func (m *SdkClusterPairCreateRequest) String() string

func (*SdkClusterPairCreateRequest) XXX_DiscardUnknown

func (m *SdkClusterPairCreateRequest) XXX_DiscardUnknown()

func (*SdkClusterPairCreateRequest) XXX_Marshal

func (m *SdkClusterPairCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterPairCreateRequest) XXX_Merge

func (dst *SdkClusterPairCreateRequest) XXX_Merge(src proto.Message)

func (*SdkClusterPairCreateRequest) XXX_Size

func (m *SdkClusterPairCreateRequest) XXX_Size() int

func (*SdkClusterPairCreateRequest) XXX_Unmarshal

func (m *SdkClusterPairCreateRequest) XXX_Unmarshal(b []byte) error

type SdkClusterPairCreateResponse

type SdkClusterPairCreateResponse struct {
	// Contains the information about cluster pair
	Result               *ClusterPairCreateResponse `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

Defines a result of the cluster pair

func (*SdkClusterPairCreateResponse) Descriptor

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

func (*SdkClusterPairCreateResponse) GetResult

func (*SdkClusterPairCreateResponse) ProtoMessage

func (*SdkClusterPairCreateResponse) ProtoMessage()

func (*SdkClusterPairCreateResponse) Reset

func (m *SdkClusterPairCreateResponse) Reset()

func (*SdkClusterPairCreateResponse) String

func (*SdkClusterPairCreateResponse) XXX_DiscardUnknown

func (m *SdkClusterPairCreateResponse) XXX_DiscardUnknown()

func (*SdkClusterPairCreateResponse) XXX_Marshal

func (m *SdkClusterPairCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterPairCreateResponse) XXX_Merge

func (dst *SdkClusterPairCreateResponse) XXX_Merge(src proto.Message)

func (*SdkClusterPairCreateResponse) XXX_Size

func (m *SdkClusterPairCreateResponse) XXX_Size() int

func (*SdkClusterPairCreateResponse) XXX_Unmarshal

func (m *SdkClusterPairCreateResponse) XXX_Unmarshal(b []byte) error

type SdkClusterPairDeleteRequest

type SdkClusterPairDeleteRequest struct {
	// ID of the cluster pair to be deleted
	ClusterId            string   `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a delete request for a cluster pair

func (*SdkClusterPairDeleteRequest) Descriptor

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

func (*SdkClusterPairDeleteRequest) GetClusterId

func (m *SdkClusterPairDeleteRequest) GetClusterId() string

func (*SdkClusterPairDeleteRequest) ProtoMessage

func (*SdkClusterPairDeleteRequest) ProtoMessage()

func (*SdkClusterPairDeleteRequest) Reset

func (m *SdkClusterPairDeleteRequest) Reset()

func (*SdkClusterPairDeleteRequest) String

func (m *SdkClusterPairDeleteRequest) String() string

func (*SdkClusterPairDeleteRequest) XXX_DiscardUnknown

func (m *SdkClusterPairDeleteRequest) XXX_DiscardUnknown()

func (*SdkClusterPairDeleteRequest) XXX_Marshal

func (m *SdkClusterPairDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterPairDeleteRequest) XXX_Merge

func (dst *SdkClusterPairDeleteRequest) XXX_Merge(src proto.Message)

func (*SdkClusterPairDeleteRequest) XXX_Size

func (m *SdkClusterPairDeleteRequest) XXX_Size() int

func (*SdkClusterPairDeleteRequest) XXX_Unmarshal

func (m *SdkClusterPairDeleteRequest) XXX_Unmarshal(b []byte) error

type SdkClusterPairDeleteResponse

type SdkClusterPairDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkClusterPairDeleteResponse) Descriptor

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

func (*SdkClusterPairDeleteResponse) ProtoMessage

func (*SdkClusterPairDeleteResponse) ProtoMessage()

func (*SdkClusterPairDeleteResponse) Reset

func (m *SdkClusterPairDeleteResponse) Reset()

func (*SdkClusterPairDeleteResponse) String

func (*SdkClusterPairDeleteResponse) XXX_DiscardUnknown

func (m *SdkClusterPairDeleteResponse) XXX_DiscardUnknown()

func (*SdkClusterPairDeleteResponse) XXX_Marshal

func (m *SdkClusterPairDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterPairDeleteResponse) XXX_Merge

func (dst *SdkClusterPairDeleteResponse) XXX_Merge(src proto.Message)

func (*SdkClusterPairDeleteResponse) XXX_Size

func (m *SdkClusterPairDeleteResponse) XXX_Size() int

func (*SdkClusterPairDeleteResponse) XXX_Unmarshal

func (m *SdkClusterPairDeleteResponse) XXX_Unmarshal(b []byte) error

type SdkClusterPairEnumerateRequest

type SdkClusterPairEnumerateRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty Request

func (*SdkClusterPairEnumerateRequest) Descriptor

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

func (*SdkClusterPairEnumerateRequest) ProtoMessage

func (*SdkClusterPairEnumerateRequest) ProtoMessage()

func (*SdkClusterPairEnumerateRequest) Reset

func (m *SdkClusterPairEnumerateRequest) Reset()

func (*SdkClusterPairEnumerateRequest) String

func (*SdkClusterPairEnumerateRequest) XXX_DiscardUnknown

func (m *SdkClusterPairEnumerateRequest) XXX_DiscardUnknown()

func (*SdkClusterPairEnumerateRequest) XXX_Marshal

func (m *SdkClusterPairEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterPairEnumerateRequest) XXX_Merge

func (dst *SdkClusterPairEnumerateRequest) XXX_Merge(src proto.Message)

func (*SdkClusterPairEnumerateRequest) XXX_Size

func (m *SdkClusterPairEnumerateRequest) XXX_Size() int

func (*SdkClusterPairEnumerateRequest) XXX_Unmarshal

func (m *SdkClusterPairEnumerateRequest) XXX_Unmarshal(b []byte) error

type SdkClusterPairEnumerateResponse

type SdkClusterPairEnumerateResponse struct {
	// List of all the cluster pairs
	Result               *ClusterPairsEnumerateResponse `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

Defines a list of cluster pair

func (*SdkClusterPairEnumerateResponse) Descriptor

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

func (*SdkClusterPairEnumerateResponse) GetResult

func (*SdkClusterPairEnumerateResponse) ProtoMessage

func (*SdkClusterPairEnumerateResponse) ProtoMessage()

func (*SdkClusterPairEnumerateResponse) Reset

func (*SdkClusterPairEnumerateResponse) String

func (*SdkClusterPairEnumerateResponse) XXX_DiscardUnknown

func (m *SdkClusterPairEnumerateResponse) XXX_DiscardUnknown()

func (*SdkClusterPairEnumerateResponse) XXX_Marshal

func (m *SdkClusterPairEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterPairEnumerateResponse) XXX_Merge

func (dst *SdkClusterPairEnumerateResponse) XXX_Merge(src proto.Message)

func (*SdkClusterPairEnumerateResponse) XXX_Size

func (m *SdkClusterPairEnumerateResponse) XXX_Size() int

func (*SdkClusterPairEnumerateResponse) XXX_Unmarshal

func (m *SdkClusterPairEnumerateResponse) XXX_Unmarshal(b []byte) error

type SdkClusterPairGetTokenRequest

type SdkClusterPairGetTokenRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty request

func (*SdkClusterPairGetTokenRequest) Descriptor

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

func (*SdkClusterPairGetTokenRequest) ProtoMessage

func (*SdkClusterPairGetTokenRequest) ProtoMessage()

func (*SdkClusterPairGetTokenRequest) Reset

func (m *SdkClusterPairGetTokenRequest) Reset()

func (*SdkClusterPairGetTokenRequest) String

func (*SdkClusterPairGetTokenRequest) XXX_DiscardUnknown

func (m *SdkClusterPairGetTokenRequest) XXX_DiscardUnknown()

func (*SdkClusterPairGetTokenRequest) XXX_Marshal

func (m *SdkClusterPairGetTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterPairGetTokenRequest) XXX_Merge

func (dst *SdkClusterPairGetTokenRequest) XXX_Merge(src proto.Message)

func (*SdkClusterPairGetTokenRequest) XXX_Size

func (m *SdkClusterPairGetTokenRequest) XXX_Size() int

func (*SdkClusterPairGetTokenRequest) XXX_Unmarshal

func (m *SdkClusterPairGetTokenRequest) XXX_Unmarshal(b []byte) error

type SdkClusterPairGetTokenResponse

type SdkClusterPairGetTokenResponse struct {
	// Contains authentication token for the cluster
	Result               *ClusterPairTokenGetResponse `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

Defines a response for the token request

func (*SdkClusterPairGetTokenResponse) Descriptor

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

func (*SdkClusterPairGetTokenResponse) GetResult

func (*SdkClusterPairGetTokenResponse) ProtoMessage

func (*SdkClusterPairGetTokenResponse) ProtoMessage()

func (*SdkClusterPairGetTokenResponse) Reset

func (m *SdkClusterPairGetTokenResponse) Reset()

func (*SdkClusterPairGetTokenResponse) String

func (*SdkClusterPairGetTokenResponse) XXX_DiscardUnknown

func (m *SdkClusterPairGetTokenResponse) XXX_DiscardUnknown()

func (*SdkClusterPairGetTokenResponse) XXX_Marshal

func (m *SdkClusterPairGetTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterPairGetTokenResponse) XXX_Merge

func (dst *SdkClusterPairGetTokenResponse) XXX_Merge(src proto.Message)

func (*SdkClusterPairGetTokenResponse) XXX_Size

func (m *SdkClusterPairGetTokenResponse) XXX_Size() int

func (*SdkClusterPairGetTokenResponse) XXX_Unmarshal

func (m *SdkClusterPairGetTokenResponse) XXX_Unmarshal(b []byte) error

type SdkClusterPairInspectRequest

type SdkClusterPairInspectRequest struct {
	// ID of the cluster, if empty gets the default pair
	Id                   string   `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a cluster pair inspect request

func (*SdkClusterPairInspectRequest) Descriptor

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

func (*SdkClusterPairInspectRequest) GetId

func (*SdkClusterPairInspectRequest) ProtoMessage

func (*SdkClusterPairInspectRequest) ProtoMessage()

func (*SdkClusterPairInspectRequest) Reset

func (m *SdkClusterPairInspectRequest) Reset()

func (*SdkClusterPairInspectRequest) String

func (*SdkClusterPairInspectRequest) XXX_DiscardUnknown

func (m *SdkClusterPairInspectRequest) XXX_DiscardUnknown()

func (*SdkClusterPairInspectRequest) XXX_Marshal

func (m *SdkClusterPairInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterPairInspectRequest) XXX_Merge

func (dst *SdkClusterPairInspectRequest) XXX_Merge(src proto.Message)

func (*SdkClusterPairInspectRequest) XXX_Size

func (m *SdkClusterPairInspectRequest) XXX_Size() int

func (*SdkClusterPairInspectRequest) XXX_Unmarshal

func (m *SdkClusterPairInspectRequest) XXX_Unmarshal(b []byte) error

type SdkClusterPairInspectResponse

type SdkClusterPairInspectResponse struct {
	// Information about cluster pair
	Result               *ClusterPairGetResponse `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

Defines a cluster pair inspect response

func (*SdkClusterPairInspectResponse) Descriptor

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

func (*SdkClusterPairInspectResponse) GetResult

func (*SdkClusterPairInspectResponse) ProtoMessage

func (*SdkClusterPairInspectResponse) ProtoMessage()

func (*SdkClusterPairInspectResponse) Reset

func (m *SdkClusterPairInspectResponse) Reset()

func (*SdkClusterPairInspectResponse) String

func (*SdkClusterPairInspectResponse) XXX_DiscardUnknown

func (m *SdkClusterPairInspectResponse) XXX_DiscardUnknown()

func (*SdkClusterPairInspectResponse) XXX_Marshal

func (m *SdkClusterPairInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterPairInspectResponse) XXX_Merge

func (dst *SdkClusterPairInspectResponse) XXX_Merge(src proto.Message)

func (*SdkClusterPairInspectResponse) XXX_Size

func (m *SdkClusterPairInspectResponse) XXX_Size() int

func (*SdkClusterPairInspectResponse) XXX_Unmarshal

func (m *SdkClusterPairInspectResponse) XXX_Unmarshal(b []byte) error

type SdkClusterPairResetTokenRequest

type SdkClusterPairResetTokenRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty request

func (*SdkClusterPairResetTokenRequest) Descriptor

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

func (*SdkClusterPairResetTokenRequest) ProtoMessage

func (*SdkClusterPairResetTokenRequest) ProtoMessage()

func (*SdkClusterPairResetTokenRequest) Reset

func (*SdkClusterPairResetTokenRequest) String

func (*SdkClusterPairResetTokenRequest) XXX_DiscardUnknown

func (m *SdkClusterPairResetTokenRequest) XXX_DiscardUnknown()

func (*SdkClusterPairResetTokenRequest) XXX_Marshal

func (m *SdkClusterPairResetTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterPairResetTokenRequest) XXX_Merge

func (dst *SdkClusterPairResetTokenRequest) XXX_Merge(src proto.Message)

func (*SdkClusterPairResetTokenRequest) XXX_Size

func (m *SdkClusterPairResetTokenRequest) XXX_Size() int

func (*SdkClusterPairResetTokenRequest) XXX_Unmarshal

func (m *SdkClusterPairResetTokenRequest) XXX_Unmarshal(b []byte) error

type SdkClusterPairResetTokenResponse

type SdkClusterPairResetTokenResponse struct {
	// Contains authentication token for the cluster
	Result               *ClusterPairTokenGetResponse `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

Defines a response for the token request

func (*SdkClusterPairResetTokenResponse) Descriptor

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

func (*SdkClusterPairResetTokenResponse) GetResult

func (*SdkClusterPairResetTokenResponse) ProtoMessage

func (*SdkClusterPairResetTokenResponse) ProtoMessage()

func (*SdkClusterPairResetTokenResponse) Reset

func (*SdkClusterPairResetTokenResponse) String

func (*SdkClusterPairResetTokenResponse) XXX_DiscardUnknown

func (m *SdkClusterPairResetTokenResponse) XXX_DiscardUnknown()

func (*SdkClusterPairResetTokenResponse) XXX_Marshal

func (m *SdkClusterPairResetTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkClusterPairResetTokenResponse) XXX_Merge

func (dst *SdkClusterPairResetTokenResponse) XXX_Merge(src proto.Message)

func (*SdkClusterPairResetTokenResponse) XXX_Size

func (m *SdkClusterPairResetTokenResponse) XXX_Size() int

func (*SdkClusterPairResetTokenResponse) XXX_Unmarshal

func (m *SdkClusterPairResetTokenResponse) XXX_Unmarshal(b []byte) error

type SdkCredentialCreateRequest

type SdkCredentialCreateRequest struct {
	// Name of the credential
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// (optional) Name of bucket
	Bucket string `protobuf:"bytes,2,opt,name=bucket" json:"bucket,omitempty"`
	// (optional) Key used to encrypt the data
	EncryptionKey string `protobuf:"bytes,3,opt,name=encryption_key,json=encryptionKey" 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" json:"ownership,omitempty"`
	// use_proxy indicates if a proxy must be used
	UseProxy bool `protobuf:"varint,5,opt,name=use_proxy,json=useProxy" 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" json:"iam_policy,omitempty"`
	// s3StorageClass for object puts, empty indicates default STANDARD
	S3StorageClass string `protobuf:"bytes,7,opt,name=s3_storage_class,json=s3StorageClass" json:"s3_storage_class,omitempty"`
	// Start at field number 200 to allow for expansion
	//
	// Types that are valid to be assigned to CredentialType:
	//	*SdkCredentialCreateRequest_AwsCredential
	//	*SdkCredentialCreateRequest_AzureCredential
	//	*SdkCredentialCreateRequest_GoogleCredential
	CredentialType       isSdkCredentialCreateRequest_CredentialType `protobuf_oneof:"credential_type"`
	XXX_NoUnkeyedLiteral struct{}                                    `json:"-"`
	XXX_unrecognized     []byte                                      `json:"-"`
	XXX_sizecache        int32                                       `json:"-"`
}

Defines a request to create credentials

func (*SdkCredentialCreateRequest) Descriptor

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

func (*SdkCredentialCreateRequest) GetAwsCredential

func (m *SdkCredentialCreateRequest) GetAwsCredential() *SdkAwsCredentialRequest

func (*SdkCredentialCreateRequest) GetAzureCredential

func (m *SdkCredentialCreateRequest) GetAzureCredential() *SdkAzureCredentialRequest

func (*SdkCredentialCreateRequest) GetBucket

func (m *SdkCredentialCreateRequest) GetBucket() string

func (*SdkCredentialCreateRequest) GetCredentialType

func (m *SdkCredentialCreateRequest) GetCredentialType() isSdkCredentialCreateRequest_CredentialType

func (*SdkCredentialCreateRequest) GetEncryptionKey

func (m *SdkCredentialCreateRequest) GetEncryptionKey() string

func (*SdkCredentialCreateRequest) GetGoogleCredential

func (m *SdkCredentialCreateRequest) GetGoogleCredential() *SdkGoogleCredentialRequest

func (*SdkCredentialCreateRequest) GetIamPolicy

func (m *SdkCredentialCreateRequest) GetIamPolicy() bool

func (*SdkCredentialCreateRequest) GetName

func (m *SdkCredentialCreateRequest) GetName() string

func (*SdkCredentialCreateRequest) GetOwnership

func (m *SdkCredentialCreateRequest) GetOwnership() *Ownership

func (*SdkCredentialCreateRequest) GetS3StorageClass

func (m *SdkCredentialCreateRequest) GetS3StorageClass() string

func (*SdkCredentialCreateRequest) GetUseProxy

func (m *SdkCredentialCreateRequest) GetUseProxy() bool

func (*SdkCredentialCreateRequest) ProtoMessage

func (*SdkCredentialCreateRequest) ProtoMessage()

func (*SdkCredentialCreateRequest) Reset

func (m *SdkCredentialCreateRequest) Reset()

func (*SdkCredentialCreateRequest) String

func (m *SdkCredentialCreateRequest) String() string

func (*SdkCredentialCreateRequest) XXX_DiscardUnknown

func (m *SdkCredentialCreateRequest) XXX_DiscardUnknown()

func (*SdkCredentialCreateRequest) XXX_Marshal

func (m *SdkCredentialCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialCreateRequest) XXX_Merge

func (dst *SdkCredentialCreateRequest) XXX_Merge(src proto.Message)

func (*SdkCredentialCreateRequest) XXX_OneofFuncs

func (*SdkCredentialCreateRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*SdkCredentialCreateRequest) XXX_Size

func (m *SdkCredentialCreateRequest) XXX_Size() int

func (*SdkCredentialCreateRequest) XXX_Unmarshal

func (m *SdkCredentialCreateRequest) XXX_Unmarshal(b []byte) error

type SdkCredentialCreateRequest_AwsCredential

type SdkCredentialCreateRequest_AwsCredential struct {
	AwsCredential *SdkAwsCredentialRequest `protobuf:"bytes,200,opt,name=aws_credential,json=awsCredential,oneof"`
}

type SdkCredentialCreateRequest_AzureCredential

type SdkCredentialCreateRequest_AzureCredential struct {
	AzureCredential *SdkAzureCredentialRequest `protobuf:"bytes,201,opt,name=azure_credential,json=azureCredential,oneof"`
}

type SdkCredentialCreateRequest_GoogleCredential

type SdkCredentialCreateRequest_GoogleCredential struct {
	GoogleCredential *SdkGoogleCredentialRequest `protobuf:"bytes,202,opt,name=google_credential,json=googleCredential,oneof"`
}

type SdkCredentialCreateResponse

type SdkCredentialCreateResponse struct {
	// Id of the credentials
	CredentialId         string   `protobuf:"bytes,1,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response from creating a credential

func (*SdkCredentialCreateResponse) Descriptor

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

func (*SdkCredentialCreateResponse) GetCredentialId

func (m *SdkCredentialCreateResponse) GetCredentialId() string

func (*SdkCredentialCreateResponse) ProtoMessage

func (*SdkCredentialCreateResponse) ProtoMessage()

func (*SdkCredentialCreateResponse) Reset

func (m *SdkCredentialCreateResponse) Reset()

func (*SdkCredentialCreateResponse) String

func (m *SdkCredentialCreateResponse) String() string

func (*SdkCredentialCreateResponse) XXX_DiscardUnknown

func (m *SdkCredentialCreateResponse) XXX_DiscardUnknown()

func (*SdkCredentialCreateResponse) XXX_Marshal

func (m *SdkCredentialCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialCreateResponse) XXX_Merge

func (dst *SdkCredentialCreateResponse) XXX_Merge(src proto.Message)

func (*SdkCredentialCreateResponse) XXX_Size

func (m *SdkCredentialCreateResponse) XXX_Size() int

func (*SdkCredentialCreateResponse) XXX_Unmarshal

func (m *SdkCredentialCreateResponse) XXX_Unmarshal(b []byte) error

type SdkCredentialDeleteReferencesRequest

type SdkCredentialDeleteReferencesRequest struct {
	// Id of the credentials
	CredentialId         string   `protobuf:"bytes,1,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to remove any references to credentials

func (*SdkCredentialDeleteReferencesRequest) Descriptor

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

func (*SdkCredentialDeleteReferencesRequest) GetCredentialId

func (m *SdkCredentialDeleteReferencesRequest) GetCredentialId() string

func (*SdkCredentialDeleteReferencesRequest) ProtoMessage

func (*SdkCredentialDeleteReferencesRequest) ProtoMessage()

func (*SdkCredentialDeleteReferencesRequest) Reset

func (*SdkCredentialDeleteReferencesRequest) String

func (*SdkCredentialDeleteReferencesRequest) XXX_DiscardUnknown

func (m *SdkCredentialDeleteReferencesRequest) XXX_DiscardUnknown()

func (*SdkCredentialDeleteReferencesRequest) XXX_Marshal

func (m *SdkCredentialDeleteReferencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialDeleteReferencesRequest) XXX_Merge

func (*SdkCredentialDeleteReferencesRequest) XXX_Size

func (*SdkCredentialDeleteReferencesRequest) XXX_Unmarshal

func (m *SdkCredentialDeleteReferencesRequest) XXX_Unmarshal(b []byte) error

type SdkCredentialDeleteReferencesResponse

type SdkCredentialDeleteReferencesResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkCredentialDeleteReferencesResponse) Descriptor

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

func (*SdkCredentialDeleteReferencesResponse) ProtoMessage

func (*SdkCredentialDeleteReferencesResponse) ProtoMessage()

func (*SdkCredentialDeleteReferencesResponse) Reset

func (*SdkCredentialDeleteReferencesResponse) String

func (*SdkCredentialDeleteReferencesResponse) XXX_DiscardUnknown

func (m *SdkCredentialDeleteReferencesResponse) XXX_DiscardUnknown()

func (*SdkCredentialDeleteReferencesResponse) XXX_Marshal

func (m *SdkCredentialDeleteReferencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialDeleteReferencesResponse) XXX_Merge

func (*SdkCredentialDeleteReferencesResponse) XXX_Size

func (*SdkCredentialDeleteReferencesResponse) XXX_Unmarshal

func (m *SdkCredentialDeleteReferencesResponse) XXX_Unmarshal(b []byte) error

type SdkCredentialDeleteRequest

type SdkCredentialDeleteRequest struct {
	// Id for credentials
	CredentialId         string   `protobuf:"bytes,1,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines the request to delete credentials

func (*SdkCredentialDeleteRequest) Descriptor

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

func (*SdkCredentialDeleteRequest) GetCredentialId

func (m *SdkCredentialDeleteRequest) GetCredentialId() string

func (*SdkCredentialDeleteRequest) ProtoMessage

func (*SdkCredentialDeleteRequest) ProtoMessage()

func (*SdkCredentialDeleteRequest) Reset

func (m *SdkCredentialDeleteRequest) Reset()

func (*SdkCredentialDeleteRequest) String

func (m *SdkCredentialDeleteRequest) String() string

func (*SdkCredentialDeleteRequest) XXX_DiscardUnknown

func (m *SdkCredentialDeleteRequest) XXX_DiscardUnknown()

func (*SdkCredentialDeleteRequest) XXX_Marshal

func (m *SdkCredentialDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialDeleteRequest) XXX_Merge

func (dst *SdkCredentialDeleteRequest) XXX_Merge(src proto.Message)

func (*SdkCredentialDeleteRequest) XXX_Size

func (m *SdkCredentialDeleteRequest) XXX_Size() int

func (*SdkCredentialDeleteRequest) XXX_Unmarshal

func (m *SdkCredentialDeleteRequest) XXX_Unmarshal(b []byte) error

type SdkCredentialDeleteResponse

type SdkCredentialDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkCredentialDeleteResponse) Descriptor

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

func (*SdkCredentialDeleteResponse) ProtoMessage

func (*SdkCredentialDeleteResponse) ProtoMessage()

func (*SdkCredentialDeleteResponse) Reset

func (m *SdkCredentialDeleteResponse) Reset()

func (*SdkCredentialDeleteResponse) String

func (m *SdkCredentialDeleteResponse) String() string

func (*SdkCredentialDeleteResponse) XXX_DiscardUnknown

func (m *SdkCredentialDeleteResponse) XXX_DiscardUnknown()

func (*SdkCredentialDeleteResponse) XXX_Marshal

func (m *SdkCredentialDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialDeleteResponse) XXX_Merge

func (dst *SdkCredentialDeleteResponse) XXX_Merge(src proto.Message)

func (*SdkCredentialDeleteResponse) XXX_Size

func (m *SdkCredentialDeleteResponse) XXX_Size() int

func (*SdkCredentialDeleteResponse) XXX_Unmarshal

func (m *SdkCredentialDeleteResponse) XXX_Unmarshal(b []byte) error

type SdkCredentialEnumerateRequest

type SdkCredentialEnumerateRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty request

func (*SdkCredentialEnumerateRequest) Descriptor

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

func (*SdkCredentialEnumerateRequest) ProtoMessage

func (*SdkCredentialEnumerateRequest) ProtoMessage()

func (*SdkCredentialEnumerateRequest) Reset

func (m *SdkCredentialEnumerateRequest) Reset()

func (*SdkCredentialEnumerateRequest) String

func (*SdkCredentialEnumerateRequest) XXX_DiscardUnknown

func (m *SdkCredentialEnumerateRequest) XXX_DiscardUnknown()

func (*SdkCredentialEnumerateRequest) XXX_Marshal

func (m *SdkCredentialEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialEnumerateRequest) XXX_Merge

func (dst *SdkCredentialEnumerateRequest) XXX_Merge(src proto.Message)

func (*SdkCredentialEnumerateRequest) XXX_Size

func (m *SdkCredentialEnumerateRequest) XXX_Size() int

func (*SdkCredentialEnumerateRequest) XXX_Unmarshal

func (m *SdkCredentialEnumerateRequest) XXX_Unmarshal(b []byte) error

type SdkCredentialEnumerateResponse

type SdkCredentialEnumerateResponse struct {
	// List of credentials
	CredentialIds        []string `protobuf:"bytes,1,rep,name=credential_ids,json=credentialIds" json:"credential_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines response for a enumeration of credentials

func (*SdkCredentialEnumerateResponse) Descriptor

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

func (*SdkCredentialEnumerateResponse) GetCredentialIds

func (m *SdkCredentialEnumerateResponse) GetCredentialIds() []string

func (*SdkCredentialEnumerateResponse) ProtoMessage

func (*SdkCredentialEnumerateResponse) ProtoMessage()

func (*SdkCredentialEnumerateResponse) Reset

func (m *SdkCredentialEnumerateResponse) Reset()

func (*SdkCredentialEnumerateResponse) String

func (*SdkCredentialEnumerateResponse) XXX_DiscardUnknown

func (m *SdkCredentialEnumerateResponse) XXX_DiscardUnknown()

func (*SdkCredentialEnumerateResponse) XXX_Marshal

func (m *SdkCredentialEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialEnumerateResponse) XXX_Merge

func (dst *SdkCredentialEnumerateResponse) XXX_Merge(src proto.Message)

func (*SdkCredentialEnumerateResponse) XXX_Size

func (m *SdkCredentialEnumerateResponse) XXX_Size() int

func (*SdkCredentialEnumerateResponse) XXX_Unmarshal

func (m *SdkCredentialEnumerateResponse) XXX_Unmarshal(b []byte) error

type SdkCredentialInspectRequest

type SdkCredentialInspectRequest struct {
	// Id of the credential
	CredentialId         string   `protobuf:"bytes,1,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines the request to inspection for credentials

func (*SdkCredentialInspectRequest) Descriptor

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

func (*SdkCredentialInspectRequest) GetCredentialId

func (m *SdkCredentialInspectRequest) GetCredentialId() string

func (*SdkCredentialInspectRequest) ProtoMessage

func (*SdkCredentialInspectRequest) ProtoMessage()

func (*SdkCredentialInspectRequest) Reset

func (m *SdkCredentialInspectRequest) Reset()

func (*SdkCredentialInspectRequest) String

func (m *SdkCredentialInspectRequest) String() string

func (*SdkCredentialInspectRequest) XXX_DiscardUnknown

func (m *SdkCredentialInspectRequest) XXX_DiscardUnknown()

func (*SdkCredentialInspectRequest) XXX_Marshal

func (m *SdkCredentialInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialInspectRequest) XXX_Merge

func (dst *SdkCredentialInspectRequest) XXX_Merge(src proto.Message)

func (*SdkCredentialInspectRequest) XXX_Size

func (m *SdkCredentialInspectRequest) XXX_Size() int

func (*SdkCredentialInspectRequest) XXX_Unmarshal

func (m *SdkCredentialInspectRequest) XXX_Unmarshal(b []byte) error

type SdkCredentialInspectResponse

type SdkCredentialInspectResponse struct {
	// Credential id
	CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	// Name of the credential
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// (optional) Name of bucket
	Bucket string `protobuf:"bytes,3,opt,name=bucket" json:"bucket,omitempty"`
	// Ownership of the credential
	Ownership *Ownership `protobuf:"bytes,4,opt,name=ownership" json:"ownership,omitempty"`
	// proxy flag for the credential
	UseProxy bool `protobuf:"varint,5,opt,name=use_proxy,json=useProxy" 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" json:"iam_policy,omitempty"`
	// Start at field number 200 for expansion support
	//
	// Types that are valid to be assigned to CredentialType:
	//	*SdkCredentialInspectResponse_AwsCredential
	//	*SdkCredentialInspectResponse_AzureCredential
	//	*SdkCredentialInspectResponse_GoogleCredential
	CredentialType       isSdkCredentialInspectResponse_CredentialType `protobuf_oneof:"credential_type"`
	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
	XXX_unrecognized     []byte                                        `json:"-"`
	XXX_sizecache        int32                                         `json:"-"`
}

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

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

func (*SdkCredentialInspectResponse) GetAwsCredential

func (*SdkCredentialInspectResponse) GetAzureCredential

func (*SdkCredentialInspectResponse) GetBucket

func (m *SdkCredentialInspectResponse) GetBucket() string

func (*SdkCredentialInspectResponse) GetCredentialId

func (m *SdkCredentialInspectResponse) GetCredentialId() string

func (*SdkCredentialInspectResponse) GetCredentialType

func (m *SdkCredentialInspectResponse) GetCredentialType() isSdkCredentialInspectResponse_CredentialType

func (*SdkCredentialInspectResponse) GetGoogleCredential

func (*SdkCredentialInspectResponse) GetIamPolicy

func (m *SdkCredentialInspectResponse) GetIamPolicy() bool

func (*SdkCredentialInspectResponse) GetName

func (m *SdkCredentialInspectResponse) GetName() string

func (*SdkCredentialInspectResponse) GetOwnership

func (m *SdkCredentialInspectResponse) GetOwnership() *Ownership

func (*SdkCredentialInspectResponse) GetUseProxy

func (m *SdkCredentialInspectResponse) GetUseProxy() bool

func (*SdkCredentialInspectResponse) ProtoMessage

func (*SdkCredentialInspectResponse) ProtoMessage()

func (*SdkCredentialInspectResponse) Reset

func (m *SdkCredentialInspectResponse) Reset()

func (*SdkCredentialInspectResponse) String

func (*SdkCredentialInspectResponse) XXX_DiscardUnknown

func (m *SdkCredentialInspectResponse) XXX_DiscardUnknown()

func (*SdkCredentialInspectResponse) XXX_Marshal

func (m *SdkCredentialInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialInspectResponse) XXX_Merge

func (dst *SdkCredentialInspectResponse) XXX_Merge(src proto.Message)

func (*SdkCredentialInspectResponse) XXX_OneofFuncs

func (*SdkCredentialInspectResponse) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*SdkCredentialInspectResponse) XXX_Size

func (m *SdkCredentialInspectResponse) XXX_Size() int

func (*SdkCredentialInspectResponse) XXX_Unmarshal

func (m *SdkCredentialInspectResponse) XXX_Unmarshal(b []byte) error

type SdkCredentialInspectResponse_AwsCredential

type SdkCredentialInspectResponse_AwsCredential struct {
	AwsCredential *SdkAwsCredentialResponse `protobuf:"bytes,200,opt,name=aws_credential,json=awsCredential,oneof"`
}

type SdkCredentialInspectResponse_AzureCredential

type SdkCredentialInspectResponse_AzureCredential struct {
	AzureCredential *SdkAzureCredentialResponse `protobuf:"bytes,201,opt,name=azure_credential,json=azureCredential,oneof"`
}

type SdkCredentialInspectResponse_GoogleCredential

type SdkCredentialInspectResponse_GoogleCredential struct {
	GoogleCredential *SdkGoogleCredentialResponse `protobuf:"bytes,202,opt,name=google_credential,json=googleCredential,oneof"`
}

type SdkCredentialUpdateRequest

type SdkCredentialUpdateRequest struct {
	CredentialId         string                      `protobuf:"bytes,1,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	UpdateReq            *SdkCredentialCreateRequest `protobuf:"bytes,2,opt,name=update_req,json=updateReq" json:"update_req,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Defines request for credential update

func (*SdkCredentialUpdateRequest) Descriptor

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

func (*SdkCredentialUpdateRequest) GetCredentialId

func (m *SdkCredentialUpdateRequest) GetCredentialId() string

func (*SdkCredentialUpdateRequest) GetUpdateReq

func (*SdkCredentialUpdateRequest) ProtoMessage

func (*SdkCredentialUpdateRequest) ProtoMessage()

func (*SdkCredentialUpdateRequest) Reset

func (m *SdkCredentialUpdateRequest) Reset()

func (*SdkCredentialUpdateRequest) String

func (m *SdkCredentialUpdateRequest) String() string

func (*SdkCredentialUpdateRequest) XXX_DiscardUnknown

func (m *SdkCredentialUpdateRequest) XXX_DiscardUnknown()

func (*SdkCredentialUpdateRequest) XXX_Marshal

func (m *SdkCredentialUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialUpdateRequest) XXX_Merge

func (dst *SdkCredentialUpdateRequest) XXX_Merge(src proto.Message)

func (*SdkCredentialUpdateRequest) XXX_Size

func (m *SdkCredentialUpdateRequest) XXX_Size() int

func (*SdkCredentialUpdateRequest) XXX_Unmarshal

func (m *SdkCredentialUpdateRequest) XXX_Unmarshal(b []byte) error

type SdkCredentialUpdateResponse

type SdkCredentialUpdateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines response for credential update

func (*SdkCredentialUpdateResponse) Descriptor

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

func (*SdkCredentialUpdateResponse) ProtoMessage

func (*SdkCredentialUpdateResponse) ProtoMessage()

func (*SdkCredentialUpdateResponse) Reset

func (m *SdkCredentialUpdateResponse) Reset()

func (*SdkCredentialUpdateResponse) String

func (m *SdkCredentialUpdateResponse) String() string

func (*SdkCredentialUpdateResponse) XXX_DiscardUnknown

func (m *SdkCredentialUpdateResponse) XXX_DiscardUnknown()

func (*SdkCredentialUpdateResponse) XXX_Marshal

func (m *SdkCredentialUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialUpdateResponse) XXX_Merge

func (dst *SdkCredentialUpdateResponse) XXX_Merge(src proto.Message)

func (*SdkCredentialUpdateResponse) XXX_Size

func (m *SdkCredentialUpdateResponse) XXX_Size() int

func (*SdkCredentialUpdateResponse) XXX_Unmarshal

func (m *SdkCredentialUpdateResponse) XXX_Unmarshal(b []byte) error

type SdkCredentialValidateRequest

type SdkCredentialValidateRequest struct {
	// Id of the credentials
	CredentialId         string   `protobuf:"bytes,1,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to validate credentials

func (*SdkCredentialValidateRequest) Descriptor

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

func (*SdkCredentialValidateRequest) GetCredentialId

func (m *SdkCredentialValidateRequest) GetCredentialId() string

func (*SdkCredentialValidateRequest) ProtoMessage

func (*SdkCredentialValidateRequest) ProtoMessage()

func (*SdkCredentialValidateRequest) Reset

func (m *SdkCredentialValidateRequest) Reset()

func (*SdkCredentialValidateRequest) String

func (*SdkCredentialValidateRequest) XXX_DiscardUnknown

func (m *SdkCredentialValidateRequest) XXX_DiscardUnknown()

func (*SdkCredentialValidateRequest) XXX_Marshal

func (m *SdkCredentialValidateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialValidateRequest) XXX_Merge

func (dst *SdkCredentialValidateRequest) XXX_Merge(src proto.Message)

func (*SdkCredentialValidateRequest) XXX_Size

func (m *SdkCredentialValidateRequest) XXX_Size() int

func (*SdkCredentialValidateRequest) XXX_Unmarshal

func (m *SdkCredentialValidateRequest) XXX_Unmarshal(b []byte) error

type SdkCredentialValidateResponse

type SdkCredentialValidateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkCredentialValidateResponse) Descriptor

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

func (*SdkCredentialValidateResponse) ProtoMessage

func (*SdkCredentialValidateResponse) ProtoMessage()

func (*SdkCredentialValidateResponse) Reset

func (m *SdkCredentialValidateResponse) Reset()

func (*SdkCredentialValidateResponse) String

func (*SdkCredentialValidateResponse) XXX_DiscardUnknown

func (m *SdkCredentialValidateResponse) XXX_DiscardUnknown()

func (*SdkCredentialValidateResponse) XXX_Marshal

func (m *SdkCredentialValidateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkCredentialValidateResponse) XXX_Merge

func (dst *SdkCredentialValidateResponse) XXX_Merge(src proto.Message)

func (*SdkCredentialValidateResponse) XXX_Size

func (m *SdkCredentialValidateResponse) XXX_Size() int

func (*SdkCredentialValidateResponse) XXX_Unmarshal

func (m *SdkCredentialValidateResponse) XXX_Unmarshal(b []byte) error

type SdkDiagsCollectRequest

type SdkDiagsCollectRequest struct {
	// Node selects the node(s) for diags collection
	Node *DiagsNodeSelector `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"`
	// Volume selects the volume(s) for diags collection
	Volume *DiagsVolumeSelector `protobuf:"bytes,2,opt,name=volume" 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" 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" 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" 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" json:"live,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*SdkDiagsCollectRequest) GetIssuer

func (m *SdkDiagsCollectRequest) GetIssuer() string

func (*SdkDiagsCollectRequest) GetLive

func (m *SdkDiagsCollectRequest) GetLive() bool

func (*SdkDiagsCollectRequest) GetNode

func (*SdkDiagsCollectRequest) GetProfileOnly

func (m *SdkDiagsCollectRequest) GetProfileOnly() bool

func (*SdkDiagsCollectRequest) GetTimeoutMins

func (m *SdkDiagsCollectRequest) GetTimeoutMins() int64

func (*SdkDiagsCollectRequest) GetVolume

func (*SdkDiagsCollectRequest) ProtoMessage

func (*SdkDiagsCollectRequest) ProtoMessage()

func (*SdkDiagsCollectRequest) Reset

func (m *SdkDiagsCollectRequest) Reset()

func (*SdkDiagsCollectRequest) String

func (m *SdkDiagsCollectRequest) String() string

func (*SdkDiagsCollectRequest) XXX_DiscardUnknown

func (m *SdkDiagsCollectRequest) XXX_DiscardUnknown()

func (*SdkDiagsCollectRequest) XXX_Marshal

func (m *SdkDiagsCollectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkDiagsCollectRequest) XXX_Merge

func (dst *SdkDiagsCollectRequest) XXX_Merge(src proto.Message)

func (*SdkDiagsCollectRequest) XXX_Size

func (m *SdkDiagsCollectRequest) XXX_Size() int

func (*SdkDiagsCollectRequest) XXX_Unmarshal

func (m *SdkDiagsCollectRequest) XXX_Unmarshal(b []byte) error

type SdkDiagsCollectResponse

type SdkDiagsCollectResponse struct {
	// Job that was created for the SDK request
	Job                  *Job     `protobuf:"bytes,1,opt,name=job" json:"job,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkDiagsCollectResponse defines a response for an SDK request to collect diags

func (*SdkDiagsCollectResponse) Descriptor

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

func (*SdkDiagsCollectResponse) GetJob

func (m *SdkDiagsCollectResponse) GetJob() *Job

func (*SdkDiagsCollectResponse) ProtoMessage

func (*SdkDiagsCollectResponse) ProtoMessage()

func (*SdkDiagsCollectResponse) Reset

func (m *SdkDiagsCollectResponse) Reset()

func (*SdkDiagsCollectResponse) String

func (m *SdkDiagsCollectResponse) String() string

func (*SdkDiagsCollectResponse) XXX_DiscardUnknown

func (m *SdkDiagsCollectResponse) XXX_DiscardUnknown()

func (*SdkDiagsCollectResponse) XXX_Marshal

func (m *SdkDiagsCollectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkDiagsCollectResponse) XXX_Merge

func (dst *SdkDiagsCollectResponse) XXX_Merge(src proto.Message)

func (*SdkDiagsCollectResponse) XXX_Size

func (m *SdkDiagsCollectResponse) XXX_Size() int

func (*SdkDiagsCollectResponse) XXX_Unmarshal

func (m *SdkDiagsCollectResponse) XXX_Unmarshal(b []byte) error

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,enum=openstorage.api.Job_Type" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to list all the jobs

func (*SdkEnumerateJobsRequest) Descriptor

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

func (*SdkEnumerateJobsRequest) GetType

func (m *SdkEnumerateJobsRequest) GetType() Job_Type

func (*SdkEnumerateJobsRequest) ProtoMessage

func (*SdkEnumerateJobsRequest) ProtoMessage()

func (*SdkEnumerateJobsRequest) Reset

func (m *SdkEnumerateJobsRequest) Reset()

func (*SdkEnumerateJobsRequest) String

func (m *SdkEnumerateJobsRequest) String() string

func (*SdkEnumerateJobsRequest) XXX_DiscardUnknown

func (m *SdkEnumerateJobsRequest) XXX_DiscardUnknown()

func (*SdkEnumerateJobsRequest) XXX_Marshal

func (m *SdkEnumerateJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkEnumerateJobsRequest) XXX_Merge

func (dst *SdkEnumerateJobsRequest) XXX_Merge(src proto.Message)

func (*SdkEnumerateJobsRequest) XXX_Size

func (m *SdkEnumerateJobsRequest) XXX_Size() int

func (*SdkEnumerateJobsRequest) XXX_Unmarshal

func (m *SdkEnumerateJobsRequest) XXX_Unmarshal(b []byte) error

type SdkEnumerateJobsResponse

type SdkEnumerateJobsResponse struct {
	// Jobs is the list of jobs in the response
	Jobs                 []*Job   `protobuf:"bytes,1,rep,name=jobs" json:"jobs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response will all the known jobs

func (*SdkEnumerateJobsResponse) Descriptor

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

func (*SdkEnumerateJobsResponse) GetJobs

func (m *SdkEnumerateJobsResponse) GetJobs() []*Job

func (*SdkEnumerateJobsResponse) ProtoMessage

func (*SdkEnumerateJobsResponse) ProtoMessage()

func (*SdkEnumerateJobsResponse) Reset

func (m *SdkEnumerateJobsResponse) Reset()

func (*SdkEnumerateJobsResponse) String

func (m *SdkEnumerateJobsResponse) String() string

func (*SdkEnumerateJobsResponse) XXX_DiscardUnknown

func (m *SdkEnumerateJobsResponse) XXX_DiscardUnknown()

func (*SdkEnumerateJobsResponse) XXX_Marshal

func (m *SdkEnumerateJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkEnumerateJobsResponse) XXX_Merge

func (dst *SdkEnumerateJobsResponse) XXX_Merge(src proto.Message)

func (*SdkEnumerateJobsResponse) XXX_Size

func (m *SdkEnumerateJobsResponse) XXX_Size() int

func (*SdkEnumerateJobsResponse) XXX_Unmarshal

func (m *SdkEnumerateJobsResponse) XXX_Unmarshal(b []byte) error

type SdkEnumerateRebalanceJobsRequest

type SdkEnumerateRebalanceJobsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SdkEnumerateRebalanceJobsRequest) Descriptor

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

func (*SdkEnumerateRebalanceJobsRequest) ProtoMessage

func (*SdkEnumerateRebalanceJobsRequest) ProtoMessage()

func (*SdkEnumerateRebalanceJobsRequest) Reset

func (*SdkEnumerateRebalanceJobsRequest) String

func (*SdkEnumerateRebalanceJobsRequest) XXX_DiscardUnknown

func (m *SdkEnumerateRebalanceJobsRequest) XXX_DiscardUnknown()

func (*SdkEnumerateRebalanceJobsRequest) XXX_Marshal

func (m *SdkEnumerateRebalanceJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkEnumerateRebalanceJobsRequest) XXX_Merge

func (dst *SdkEnumerateRebalanceJobsRequest) XXX_Merge(src proto.Message)

func (*SdkEnumerateRebalanceJobsRequest) XXX_Size

func (m *SdkEnumerateRebalanceJobsRequest) XXX_Size() int

func (*SdkEnumerateRebalanceJobsRequest) XXX_Unmarshal

func (m *SdkEnumerateRebalanceJobsRequest) XXX_Unmarshal(b []byte) error

type SdkEnumerateRebalanceJobsResponse

type SdkEnumerateRebalanceJobsResponse struct {
	// Jobs is the list of rebalance jobs in the response
	Jobs                 []*StorageRebalanceJob `protobuf:"bytes,1,rep,name=jobs" json:"jobs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*SdkEnumerateRebalanceJobsResponse) Descriptor

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

func (*SdkEnumerateRebalanceJobsResponse) GetJobs

func (*SdkEnumerateRebalanceJobsResponse) ProtoMessage

func (*SdkEnumerateRebalanceJobsResponse) ProtoMessage()

func (*SdkEnumerateRebalanceJobsResponse) Reset

func (*SdkEnumerateRebalanceJobsResponse) String

func (*SdkEnumerateRebalanceJobsResponse) XXX_DiscardUnknown

func (m *SdkEnumerateRebalanceJobsResponse) XXX_DiscardUnknown()

func (*SdkEnumerateRebalanceJobsResponse) XXX_Marshal

func (m *SdkEnumerateRebalanceJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkEnumerateRebalanceJobsResponse) XXX_Merge

func (dst *SdkEnumerateRebalanceJobsResponse) XXX_Merge(src proto.Message)

func (*SdkEnumerateRebalanceJobsResponse) XXX_Size

func (m *SdkEnumerateRebalanceJobsResponse) XXX_Size() int

func (*SdkEnumerateRebalanceJobsResponse) XXX_Unmarshal

func (m *SdkEnumerateRebalanceJobsResponse) XXX_Unmarshal(b []byte) error

type SdkFilesystemCheckStartRequest

type SdkFilesystemCheckStartRequest struct {
	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Mode of operation
	Mode                 string   `protobuf:"bytes,2,opt,name=mode" json:"mode,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkFilesystemCheckStartRequest defines a request to start a background filesystem consistency check operation

func (*SdkFilesystemCheckStartRequest) Descriptor

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

func (*SdkFilesystemCheckStartRequest) GetMode

func (*SdkFilesystemCheckStartRequest) GetVolumeId

func (m *SdkFilesystemCheckStartRequest) GetVolumeId() string

func (*SdkFilesystemCheckStartRequest) ProtoMessage

func (*SdkFilesystemCheckStartRequest) ProtoMessage()

func (*SdkFilesystemCheckStartRequest) Reset

func (m *SdkFilesystemCheckStartRequest) Reset()

func (*SdkFilesystemCheckStartRequest) String

func (*SdkFilesystemCheckStartRequest) XXX_DiscardUnknown

func (m *SdkFilesystemCheckStartRequest) XXX_DiscardUnknown()

func (*SdkFilesystemCheckStartRequest) XXX_Marshal

func (m *SdkFilesystemCheckStartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkFilesystemCheckStartRequest) XXX_Merge

func (dst *SdkFilesystemCheckStartRequest) XXX_Merge(src proto.Message)

func (*SdkFilesystemCheckStartRequest) XXX_Size

func (m *SdkFilesystemCheckStartRequest) XXX_Size() int

func (*SdkFilesystemCheckStartRequest) XXX_Unmarshal

func (m *SdkFilesystemCheckStartRequest) XXX_Unmarshal(b []byte) error

type SdkFilesystemCheckStartResponse

type SdkFilesystemCheckStartResponse struct {
	// Status code representing the state of the filesystem check operation
	Status FilesystemCheck_FilesystemCheckStatus `protobuf:"varint,1,opt,name=status,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" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkFilesystemCheckStartResponse defines the response for a SdkFilesystemCheckStartRequest.

func (*SdkFilesystemCheckStartResponse) Descriptor

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

func (*SdkFilesystemCheckStartResponse) GetMessage

func (m *SdkFilesystemCheckStartResponse) GetMessage() string

func (*SdkFilesystemCheckStartResponse) GetStatus

func (*SdkFilesystemCheckStartResponse) ProtoMessage

func (*SdkFilesystemCheckStartResponse) ProtoMessage()

func (*SdkFilesystemCheckStartResponse) Reset

func (*SdkFilesystemCheckStartResponse) String

func (*SdkFilesystemCheckStartResponse) XXX_DiscardUnknown

func (m *SdkFilesystemCheckStartResponse) XXX_DiscardUnknown()

func (*SdkFilesystemCheckStartResponse) XXX_Marshal

func (m *SdkFilesystemCheckStartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkFilesystemCheckStartResponse) XXX_Merge

func (dst *SdkFilesystemCheckStartResponse) XXX_Merge(src proto.Message)

func (*SdkFilesystemCheckStartResponse) XXX_Size

func (m *SdkFilesystemCheckStartResponse) XXX_Size() int

func (*SdkFilesystemCheckStartResponse) XXX_Unmarshal

func (m *SdkFilesystemCheckStartResponse) XXX_Unmarshal(b []byte) error

type SdkFilesystemCheckStatusRequest

type SdkFilesystemCheckStatusRequest struct {
	// Id of the volume
	VolumeId             string   `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkFilesystemCheckStatusRequest defines a request to get status of a background filesystem check operation

func (*SdkFilesystemCheckStatusRequest) Descriptor

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

func (*SdkFilesystemCheckStatusRequest) GetVolumeId

func (m *SdkFilesystemCheckStatusRequest) GetVolumeId() string

func (*SdkFilesystemCheckStatusRequest) ProtoMessage

func (*SdkFilesystemCheckStatusRequest) ProtoMessage()

func (*SdkFilesystemCheckStatusRequest) Reset

func (*SdkFilesystemCheckStatusRequest) String

func (*SdkFilesystemCheckStatusRequest) XXX_DiscardUnknown

func (m *SdkFilesystemCheckStatusRequest) XXX_DiscardUnknown()

func (*SdkFilesystemCheckStatusRequest) XXX_Marshal

func (m *SdkFilesystemCheckStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkFilesystemCheckStatusRequest) XXX_Merge

func (dst *SdkFilesystemCheckStatusRequest) XXX_Merge(src proto.Message)

func (*SdkFilesystemCheckStatusRequest) XXX_Size

func (m *SdkFilesystemCheckStatusRequest) XXX_Size() int

func (*SdkFilesystemCheckStatusRequest) XXX_Unmarshal

func (m *SdkFilesystemCheckStatusRequest) XXX_Unmarshal(b []byte) error

type SdkFilesystemCheckStatusResponse

type SdkFilesystemCheckStatusResponse struct {
	// Status code representing the state of the filesystem check operation
	Status FilesystemCheck_FilesystemCheckStatus `protobuf:"varint,1,opt,name=status,enum=openstorage.api.FilesystemCheck_FilesystemCheckStatus" json:"status,omitempty"`
	// Status code representing the health of the filesystem after a checkHealth
	// operation
	HealthStatus FilesystemHealthStatus `` /* 135-byte string literal not displayed */
	// Text string representing the mode of filesystem check operation
	Mode string `protobuf:"bytes,3,opt,name=mode" json:"mode,omitempty"`
	// Text blob containing ASCII text providing details of the operation
	Message              string   `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkFilesystemCheckStatusResponse defines the response for a SdkFilesystemCheckStatusRequest.

func (*SdkFilesystemCheckStatusResponse) Descriptor

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

func (*SdkFilesystemCheckStatusResponse) GetHealthStatus

func (*SdkFilesystemCheckStatusResponse) GetMessage

func (m *SdkFilesystemCheckStatusResponse) GetMessage() string

func (*SdkFilesystemCheckStatusResponse) GetMode

func (*SdkFilesystemCheckStatusResponse) GetStatus

func (*SdkFilesystemCheckStatusResponse) ProtoMessage

func (*SdkFilesystemCheckStatusResponse) ProtoMessage()

func (*SdkFilesystemCheckStatusResponse) Reset

func (*SdkFilesystemCheckStatusResponse) String

func (*SdkFilesystemCheckStatusResponse) XXX_DiscardUnknown

func (m *SdkFilesystemCheckStatusResponse) XXX_DiscardUnknown()

func (*SdkFilesystemCheckStatusResponse) XXX_Marshal

func (m *SdkFilesystemCheckStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkFilesystemCheckStatusResponse) XXX_Merge

func (dst *SdkFilesystemCheckStatusResponse) XXX_Merge(src proto.Message)

func (*SdkFilesystemCheckStatusResponse) XXX_Size

func (m *SdkFilesystemCheckStatusResponse) XXX_Size() int

func (*SdkFilesystemCheckStatusResponse) XXX_Unmarshal

func (m *SdkFilesystemCheckStatusResponse) XXX_Unmarshal(b []byte) error

type SdkFilesystemCheckStopRequest

type SdkFilesystemCheckStopRequest struct {
	// Id of the volume
	VolumeId             string   `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkFilesystemCheckStopRequest defines a request to stop a background filesystem check operation

func (*SdkFilesystemCheckStopRequest) Descriptor

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

func (*SdkFilesystemCheckStopRequest) GetVolumeId

func (m *SdkFilesystemCheckStopRequest) GetVolumeId() string

func (*SdkFilesystemCheckStopRequest) ProtoMessage

func (*SdkFilesystemCheckStopRequest) ProtoMessage()

func (*SdkFilesystemCheckStopRequest) Reset

func (m *SdkFilesystemCheckStopRequest) Reset()

func (*SdkFilesystemCheckStopRequest) String

func (*SdkFilesystemCheckStopRequest) XXX_DiscardUnknown

func (m *SdkFilesystemCheckStopRequest) XXX_DiscardUnknown()

func (*SdkFilesystemCheckStopRequest) XXX_Marshal

func (m *SdkFilesystemCheckStopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkFilesystemCheckStopRequest) XXX_Merge

func (dst *SdkFilesystemCheckStopRequest) XXX_Merge(src proto.Message)

func (*SdkFilesystemCheckStopRequest) XXX_Size

func (m *SdkFilesystemCheckStopRequest) XXX_Size() int

func (*SdkFilesystemCheckStopRequest) XXX_Unmarshal

func (m *SdkFilesystemCheckStopRequest) XXX_Unmarshal(b []byte) error

type SdkFilesystemCheckStopResponse

type SdkFilesystemCheckStopResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkFilesystemCheckStopResponse) Descriptor

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

func (*SdkFilesystemCheckStopResponse) ProtoMessage

func (*SdkFilesystemCheckStopResponse) ProtoMessage()

func (*SdkFilesystemCheckStopResponse) Reset

func (m *SdkFilesystemCheckStopResponse) Reset()

func (*SdkFilesystemCheckStopResponse) String

func (*SdkFilesystemCheckStopResponse) XXX_DiscardUnknown

func (m *SdkFilesystemCheckStopResponse) XXX_DiscardUnknown()

func (*SdkFilesystemCheckStopResponse) XXX_Marshal

func (m *SdkFilesystemCheckStopResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkFilesystemCheckStopResponse) XXX_Merge

func (dst *SdkFilesystemCheckStopResponse) XXX_Merge(src proto.Message)

func (*SdkFilesystemCheckStopResponse) XXX_Size

func (m *SdkFilesystemCheckStopResponse) XXX_Size() int

func (*SdkFilesystemCheckStopResponse) XXX_Unmarshal

func (m *SdkFilesystemCheckStopResponse) XXX_Unmarshal(b []byte) error

type SdkFilesystemTrimStartRequest

type SdkFilesystemTrimStartRequest struct {
	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Path where the volume is mounted
	MountPath            string   `protobuf:"bytes,2,opt,name=mount_path,json=mountPath" json:"mount_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkFilesystemTrimStartRequest defines a request to start a background filesystem trim operation

func (*SdkFilesystemTrimStartRequest) Descriptor

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

func (*SdkFilesystemTrimStartRequest) GetMountPath

func (m *SdkFilesystemTrimStartRequest) GetMountPath() string

func (*SdkFilesystemTrimStartRequest) GetVolumeId

func (m *SdkFilesystemTrimStartRequest) GetVolumeId() string

func (*SdkFilesystemTrimStartRequest) ProtoMessage

func (*SdkFilesystemTrimStartRequest) ProtoMessage()

func (*SdkFilesystemTrimStartRequest) Reset

func (m *SdkFilesystemTrimStartRequest) Reset()

func (*SdkFilesystemTrimStartRequest) String

func (*SdkFilesystemTrimStartRequest) XXX_DiscardUnknown

func (m *SdkFilesystemTrimStartRequest) XXX_DiscardUnknown()

func (*SdkFilesystemTrimStartRequest) XXX_Marshal

func (m *SdkFilesystemTrimStartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkFilesystemTrimStartRequest) XXX_Merge

func (dst *SdkFilesystemTrimStartRequest) XXX_Merge(src proto.Message)

func (*SdkFilesystemTrimStartRequest) XXX_Size

func (m *SdkFilesystemTrimStartRequest) XXX_Size() int

func (*SdkFilesystemTrimStartRequest) XXX_Unmarshal

func (m *SdkFilesystemTrimStartRequest) XXX_Unmarshal(b []byte) error

type SdkFilesystemTrimStartResponse

type SdkFilesystemTrimStartResponse struct {
	// Status code representing the state of the filesystem trim operation
	Status FilesystemTrim_FilesystemTrimStatus `protobuf:"varint,1,opt,name=status,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" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkFilesystemTrimStartResponse defines the response for a SdkFilesystemTrimStartRequest.

func (*SdkFilesystemTrimStartResponse) Descriptor

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

func (*SdkFilesystemTrimStartResponse) GetMessage

func (m *SdkFilesystemTrimStartResponse) GetMessage() string

func (*SdkFilesystemTrimStartResponse) GetStatus

func (*SdkFilesystemTrimStartResponse) ProtoMessage

func (*SdkFilesystemTrimStartResponse) ProtoMessage()

func (*SdkFilesystemTrimStartResponse) Reset

func (m *SdkFilesystemTrimStartResponse) Reset()

func (*SdkFilesystemTrimStartResponse) String

func (*SdkFilesystemTrimStartResponse) XXX_DiscardUnknown

func (m *SdkFilesystemTrimStartResponse) XXX_DiscardUnknown()

func (*SdkFilesystemTrimStartResponse) XXX_Marshal

func (m *SdkFilesystemTrimStartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkFilesystemTrimStartResponse) XXX_Merge

func (dst *SdkFilesystemTrimStartResponse) XXX_Merge(src proto.Message)

func (*SdkFilesystemTrimStartResponse) XXX_Size

func (m *SdkFilesystemTrimStartResponse) XXX_Size() int

func (*SdkFilesystemTrimStartResponse) XXX_Unmarshal

func (m *SdkFilesystemTrimStartResponse) XXX_Unmarshal(b []byte) error

type SdkFilesystemTrimStatusRequest

type SdkFilesystemTrimStatusRequest struct {
	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Path where the volume is mounted
	MountPath            string   `protobuf:"bytes,2,opt,name=mount_path,json=mountPath" json:"mount_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkFilesystemTrimStatusRequest defines a request to get status of a background filesystem trim operation

func (*SdkFilesystemTrimStatusRequest) Descriptor

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

func (*SdkFilesystemTrimStatusRequest) GetMountPath

func (m *SdkFilesystemTrimStatusRequest) GetMountPath() string

func (*SdkFilesystemTrimStatusRequest) GetVolumeId

func (m *SdkFilesystemTrimStatusRequest) GetVolumeId() string

func (*SdkFilesystemTrimStatusRequest) ProtoMessage

func (*SdkFilesystemTrimStatusRequest) ProtoMessage()

func (*SdkFilesystemTrimStatusRequest) Reset

func (m *SdkFilesystemTrimStatusRequest) Reset()

func (*SdkFilesystemTrimStatusRequest) String

func (*SdkFilesystemTrimStatusRequest) XXX_DiscardUnknown

func (m *SdkFilesystemTrimStatusRequest) XXX_DiscardUnknown()

func (*SdkFilesystemTrimStatusRequest) XXX_Marshal

func (m *SdkFilesystemTrimStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkFilesystemTrimStatusRequest) XXX_Merge

func (dst *SdkFilesystemTrimStatusRequest) XXX_Merge(src proto.Message)

func (*SdkFilesystemTrimStatusRequest) XXX_Size

func (m *SdkFilesystemTrimStatusRequest) XXX_Size() int

func (*SdkFilesystemTrimStatusRequest) XXX_Unmarshal

func (m *SdkFilesystemTrimStatusRequest) XXX_Unmarshal(b []byte) error

type SdkFilesystemTrimStatusResponse

type SdkFilesystemTrimStatusResponse struct {
	// Status code representing the state of the filesystem trim operation
	Status FilesystemTrim_FilesystemTrimStatus `protobuf:"varint,1,opt,name=status,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" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkFilesystemTrimStatusResponse defines the response for a SdkFilesystemTrimStatusRequest.

func (*SdkFilesystemTrimStatusResponse) Descriptor

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

func (*SdkFilesystemTrimStatusResponse) GetMessage

func (m *SdkFilesystemTrimStatusResponse) GetMessage() string

func (*SdkFilesystemTrimStatusResponse) GetStatus

func (*SdkFilesystemTrimStatusResponse) ProtoMessage

func (*SdkFilesystemTrimStatusResponse) ProtoMessage()

func (*SdkFilesystemTrimStatusResponse) Reset

func (*SdkFilesystemTrimStatusResponse) String

func (*SdkFilesystemTrimStatusResponse) XXX_DiscardUnknown

func (m *SdkFilesystemTrimStatusResponse) XXX_DiscardUnknown()

func (*SdkFilesystemTrimStatusResponse) XXX_Marshal

func (m *SdkFilesystemTrimStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkFilesystemTrimStatusResponse) XXX_Merge

func (dst *SdkFilesystemTrimStatusResponse) XXX_Merge(src proto.Message)

func (*SdkFilesystemTrimStatusResponse) XXX_Size

func (m *SdkFilesystemTrimStatusResponse) XXX_Size() int

func (*SdkFilesystemTrimStatusResponse) XXX_Unmarshal

func (m *SdkFilesystemTrimStatusResponse) XXX_Unmarshal(b []byte) error

type SdkFilesystemTrimStopRequest

type SdkFilesystemTrimStopRequest struct {
	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Path where the volume is mounted
	MountPath            string   `protobuf:"bytes,2,opt,name=mount_path,json=mountPath" json:"mount_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkFilesystemTrimStopRequest defines a request to stop a background filesystem trim operation

func (*SdkFilesystemTrimStopRequest) Descriptor

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

func (*SdkFilesystemTrimStopRequest) GetMountPath

func (m *SdkFilesystemTrimStopRequest) GetMountPath() string

func (*SdkFilesystemTrimStopRequest) GetVolumeId

func (m *SdkFilesystemTrimStopRequest) GetVolumeId() string

func (*SdkFilesystemTrimStopRequest) ProtoMessage

func (*SdkFilesystemTrimStopRequest) ProtoMessage()

func (*SdkFilesystemTrimStopRequest) Reset

func (m *SdkFilesystemTrimStopRequest) Reset()

func (*SdkFilesystemTrimStopRequest) String

func (*SdkFilesystemTrimStopRequest) XXX_DiscardUnknown

func (m *SdkFilesystemTrimStopRequest) XXX_DiscardUnknown()

func (*SdkFilesystemTrimStopRequest) XXX_Marshal

func (m *SdkFilesystemTrimStopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkFilesystemTrimStopRequest) XXX_Merge

func (dst *SdkFilesystemTrimStopRequest) XXX_Merge(src proto.Message)

func (*SdkFilesystemTrimStopRequest) XXX_Size

func (m *SdkFilesystemTrimStopRequest) XXX_Size() int

func (*SdkFilesystemTrimStopRequest) XXX_Unmarshal

func (m *SdkFilesystemTrimStopRequest) XXX_Unmarshal(b []byte) error

type SdkFilesystemTrimStopResponse

type SdkFilesystemTrimStopResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkFilesystemTrimStopResponse) Descriptor

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

func (*SdkFilesystemTrimStopResponse) ProtoMessage

func (*SdkFilesystemTrimStopResponse) ProtoMessage()

func (*SdkFilesystemTrimStopResponse) Reset

func (m *SdkFilesystemTrimStopResponse) Reset()

func (*SdkFilesystemTrimStopResponse) String

func (*SdkFilesystemTrimStopResponse) XXX_DiscardUnknown

func (m *SdkFilesystemTrimStopResponse) XXX_DiscardUnknown()

func (*SdkFilesystemTrimStopResponse) XXX_Marshal

func (m *SdkFilesystemTrimStopResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkFilesystemTrimStopResponse) XXX_Merge

func (dst *SdkFilesystemTrimStopResponse) XXX_Merge(src proto.Message)

func (*SdkFilesystemTrimStopResponse) XXX_Size

func (m *SdkFilesystemTrimStopResponse) XXX_Size() int

func (*SdkFilesystemTrimStopResponse) XXX_Unmarshal

func (m *SdkFilesystemTrimStopResponse) XXX_Unmarshal(b []byte) error

type SdkGetJobStatusRequest

type SdkGetJobStatusRequest struct {
	// ID of the job
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Type of the job
	Type                 Job_Type `protobuf:"varint,2,opt,name=type,enum=openstorage.api.Job_Type" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to get the status of an existing job

func (*SdkGetJobStatusRequest) Descriptor

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

func (*SdkGetJobStatusRequest) GetId

func (m *SdkGetJobStatusRequest) GetId() string

func (*SdkGetJobStatusRequest) GetType

func (m *SdkGetJobStatusRequest) GetType() Job_Type

func (*SdkGetJobStatusRequest) ProtoMessage

func (*SdkGetJobStatusRequest) ProtoMessage()

func (*SdkGetJobStatusRequest) Reset

func (m *SdkGetJobStatusRequest) Reset()

func (*SdkGetJobStatusRequest) String

func (m *SdkGetJobStatusRequest) String() string

func (*SdkGetJobStatusRequest) XXX_DiscardUnknown

func (m *SdkGetJobStatusRequest) XXX_DiscardUnknown()

func (*SdkGetJobStatusRequest) XXX_Marshal

func (m *SdkGetJobStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkGetJobStatusRequest) XXX_Merge

func (dst *SdkGetJobStatusRequest) XXX_Merge(src proto.Message)

func (*SdkGetJobStatusRequest) XXX_Size

func (m *SdkGetJobStatusRequest) XXX_Size() int

func (*SdkGetJobStatusRequest) XXX_Unmarshal

func (m *SdkGetJobStatusRequest) XXX_Unmarshal(b []byte) error

type SdkGetJobStatusResponse

type SdkGetJobStatusResponse struct {
	// Job for this node drain operation.
	Job *Job `protobuf:"bytes,1,opt,name=job" json:"job,omitempty"`
	// Summary of this job
	Summary              *JobSummary `protobuf:"bytes,2,opt,name=summary" json:"summary,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Defines the status of an existing job

func (*SdkGetJobStatusResponse) Descriptor

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

func (*SdkGetJobStatusResponse) GetJob

func (m *SdkGetJobStatusResponse) GetJob() *Job

func (*SdkGetJobStatusResponse) GetSummary

func (m *SdkGetJobStatusResponse) GetSummary() *JobSummary

func (*SdkGetJobStatusResponse) ProtoMessage

func (*SdkGetJobStatusResponse) ProtoMessage()

func (*SdkGetJobStatusResponse) Reset

func (m *SdkGetJobStatusResponse) Reset()

func (*SdkGetJobStatusResponse) String

func (m *SdkGetJobStatusResponse) String() string

func (*SdkGetJobStatusResponse) XXX_DiscardUnknown

func (m *SdkGetJobStatusResponse) XXX_DiscardUnknown()

func (*SdkGetJobStatusResponse) XXX_Marshal

func (m *SdkGetJobStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkGetJobStatusResponse) XXX_Merge

func (dst *SdkGetJobStatusResponse) XXX_Merge(src proto.Message)

func (*SdkGetJobStatusResponse) XXX_Size

func (m *SdkGetJobStatusResponse) XXX_Size() int

func (*SdkGetJobStatusResponse) XXX_Unmarshal

func (m *SdkGetJobStatusResponse) XXX_Unmarshal(b []byte) error

type SdkGetRebalanceJobStatusRequest

type SdkGetRebalanceJobStatusRequest struct {
	// ID of the rebalance job
	Id                   string   `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SdkGetRebalanceJobStatusRequest) Descriptor

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

func (*SdkGetRebalanceJobStatusRequest) GetId

func (*SdkGetRebalanceJobStatusRequest) ProtoMessage

func (*SdkGetRebalanceJobStatusRequest) ProtoMessage()

func (*SdkGetRebalanceJobStatusRequest) Reset

func (*SdkGetRebalanceJobStatusRequest) String

func (*SdkGetRebalanceJobStatusRequest) XXX_DiscardUnknown

func (m *SdkGetRebalanceJobStatusRequest) XXX_DiscardUnknown()

func (*SdkGetRebalanceJobStatusRequest) XXX_Marshal

func (m *SdkGetRebalanceJobStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkGetRebalanceJobStatusRequest) XXX_Merge

func (dst *SdkGetRebalanceJobStatusRequest) XXX_Merge(src proto.Message)

func (*SdkGetRebalanceJobStatusRequest) XXX_Size

func (m *SdkGetRebalanceJobStatusRequest) XXX_Size() int

func (*SdkGetRebalanceJobStatusRequest) XXX_Unmarshal

func (m *SdkGetRebalanceJobStatusRequest) XXX_Unmarshal(b []byte) error

type SdkGetRebalanceJobStatusResponse

type SdkGetRebalanceJobStatusResponse struct {
	// Job for this rebalance
	Job *StorageRebalanceJob `protobuf:"bytes,1,opt,name=job" json:"job,omitempty"`
	// Summary summarizes the rebalance job
	Summary *StorageRebalanceSummary `protobuf:"bytes,2,opt,name=summary" json:"summary,omitempty"`
	// Actions describe all the actions taken during this rebalance
	Actions              []*StorageRebalanceAudit `protobuf:"bytes,3,rep,name=actions" json:"actions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*SdkGetRebalanceJobStatusResponse) Descriptor

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

func (*SdkGetRebalanceJobStatusResponse) GetActions

func (*SdkGetRebalanceJobStatusResponse) GetJob

func (*SdkGetRebalanceJobStatusResponse) GetSummary

func (*SdkGetRebalanceJobStatusResponse) ProtoMessage

func (*SdkGetRebalanceJobStatusResponse) ProtoMessage()

func (*SdkGetRebalanceJobStatusResponse) Reset

func (*SdkGetRebalanceJobStatusResponse) String

func (*SdkGetRebalanceJobStatusResponse) XXX_DiscardUnknown

func (m *SdkGetRebalanceJobStatusResponse) XXX_DiscardUnknown()

func (*SdkGetRebalanceJobStatusResponse) XXX_Marshal

func (m *SdkGetRebalanceJobStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkGetRebalanceJobStatusResponse) XXX_Merge

func (dst *SdkGetRebalanceJobStatusResponse) XXX_Merge(src proto.Message)

func (*SdkGetRebalanceJobStatusResponse) XXX_Size

func (m *SdkGetRebalanceJobStatusResponse) XXX_Size() int

func (*SdkGetRebalanceJobStatusResponse) XXX_Unmarshal

func (m *SdkGetRebalanceJobStatusResponse) XXX_Unmarshal(b []byte) error

type SdkGoogleCredentialRequest

type SdkGoogleCredentialRequest struct {
	// Project ID
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// JSON Key
	JsonKey              string   `protobuf:"bytes,2,opt,name=json_key,json=jsonKey" json:"json_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines credentials for Google

func (*SdkGoogleCredentialRequest) Descriptor

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

func (*SdkGoogleCredentialRequest) GetJsonKey

func (m *SdkGoogleCredentialRequest) GetJsonKey() string

func (*SdkGoogleCredentialRequest) GetProjectId

func (m *SdkGoogleCredentialRequest) GetProjectId() string

func (*SdkGoogleCredentialRequest) ProtoMessage

func (*SdkGoogleCredentialRequest) ProtoMessage()

func (*SdkGoogleCredentialRequest) Reset

func (m *SdkGoogleCredentialRequest) Reset()

func (*SdkGoogleCredentialRequest) String

func (m *SdkGoogleCredentialRequest) String() string

func (*SdkGoogleCredentialRequest) XXX_DiscardUnknown

func (m *SdkGoogleCredentialRequest) XXX_DiscardUnknown()

func (*SdkGoogleCredentialRequest) XXX_Marshal

func (m *SdkGoogleCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkGoogleCredentialRequest) XXX_Merge

func (dst *SdkGoogleCredentialRequest) XXX_Merge(src proto.Message)

func (*SdkGoogleCredentialRequest) XXX_Size

func (m *SdkGoogleCredentialRequest) XXX_Size() int

func (*SdkGoogleCredentialRequest) XXX_Unmarshal

func (m *SdkGoogleCredentialRequest) XXX_Unmarshal(b []byte) error

type SdkGoogleCredentialResponse

type SdkGoogleCredentialResponse struct {
	// Project ID
	ProjectId            string   `protobuf:"bytes,2,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines the response for Google credentials

func (*SdkGoogleCredentialResponse) Descriptor

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

func (*SdkGoogleCredentialResponse) GetProjectId

func (m *SdkGoogleCredentialResponse) GetProjectId() string

func (*SdkGoogleCredentialResponse) ProtoMessage

func (*SdkGoogleCredentialResponse) ProtoMessage()

func (*SdkGoogleCredentialResponse) Reset

func (m *SdkGoogleCredentialResponse) Reset()

func (*SdkGoogleCredentialResponse) String

func (m *SdkGoogleCredentialResponse) String() string

func (*SdkGoogleCredentialResponse) XXX_DiscardUnknown

func (m *SdkGoogleCredentialResponse) XXX_DiscardUnknown()

func (*SdkGoogleCredentialResponse) XXX_Marshal

func (m *SdkGoogleCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkGoogleCredentialResponse) XXX_Merge

func (dst *SdkGoogleCredentialResponse) XXX_Merge(src proto.Message)

func (*SdkGoogleCredentialResponse) XXX_Size

func (m *SdkGoogleCredentialResponse) XXX_Size() int

func (*SdkGoogleCredentialResponse) XXX_Unmarshal

func (m *SdkGoogleCredentialResponse) XXX_Unmarshal(b []byte) error

type SdkIdentityCapabilitiesRequest

type SdkIdentityCapabilitiesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty request

func (*SdkIdentityCapabilitiesRequest) Descriptor

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

func (*SdkIdentityCapabilitiesRequest) ProtoMessage

func (*SdkIdentityCapabilitiesRequest) ProtoMessage()

func (*SdkIdentityCapabilitiesRequest) Reset

func (m *SdkIdentityCapabilitiesRequest) Reset()

func (*SdkIdentityCapabilitiesRequest) String

func (*SdkIdentityCapabilitiesRequest) XXX_DiscardUnknown

func (m *SdkIdentityCapabilitiesRequest) XXX_DiscardUnknown()

func (*SdkIdentityCapabilitiesRequest) XXX_Marshal

func (m *SdkIdentityCapabilitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkIdentityCapabilitiesRequest) XXX_Merge

func (dst *SdkIdentityCapabilitiesRequest) XXX_Merge(src proto.Message)

func (*SdkIdentityCapabilitiesRequest) XXX_Size

func (m *SdkIdentityCapabilitiesRequest) XXX_Size() int

func (*SdkIdentityCapabilitiesRequest) XXX_Unmarshal

func (m *SdkIdentityCapabilitiesRequest) XXX_Unmarshal(b []byte) error

type SdkIdentityCapabilitiesResponse

type SdkIdentityCapabilitiesResponse struct {
	// Provides all the capabilites supported by the cluster
	Capabilities         []*SdkServiceCapability `protobuf:"bytes,1,rep,name=capabilities" json:"capabilities,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

Defines a response containing the capabilites of the cluster

func (*SdkIdentityCapabilitiesResponse) Descriptor

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

func (*SdkIdentityCapabilitiesResponse) GetCapabilities

func (m *SdkIdentityCapabilitiesResponse) GetCapabilities() []*SdkServiceCapability

func (*SdkIdentityCapabilitiesResponse) ProtoMessage

func (*SdkIdentityCapabilitiesResponse) ProtoMessage()

func (*SdkIdentityCapabilitiesResponse) Reset

func (*SdkIdentityCapabilitiesResponse) String

func (*SdkIdentityCapabilitiesResponse) XXX_DiscardUnknown

func (m *SdkIdentityCapabilitiesResponse) XXX_DiscardUnknown()

func (*SdkIdentityCapabilitiesResponse) XXX_Marshal

func (m *SdkIdentityCapabilitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkIdentityCapabilitiesResponse) XXX_Merge

func (dst *SdkIdentityCapabilitiesResponse) XXX_Merge(src proto.Message)

func (*SdkIdentityCapabilitiesResponse) XXX_Size

func (m *SdkIdentityCapabilitiesResponse) XXX_Size() int

func (*SdkIdentityCapabilitiesResponse) XXX_Unmarshal

func (m *SdkIdentityCapabilitiesResponse) XXX_Unmarshal(b []byte) error

type SdkIdentityVersionRequest

type SdkIdentityVersionRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty request

func (*SdkIdentityVersionRequest) Descriptor

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

func (*SdkIdentityVersionRequest) ProtoMessage

func (*SdkIdentityVersionRequest) ProtoMessage()

func (*SdkIdentityVersionRequest) Reset

func (m *SdkIdentityVersionRequest) Reset()

func (*SdkIdentityVersionRequest) String

func (m *SdkIdentityVersionRequest) String() string

func (*SdkIdentityVersionRequest) XXX_DiscardUnknown

func (m *SdkIdentityVersionRequest) XXX_DiscardUnknown()

func (*SdkIdentityVersionRequest) XXX_Marshal

func (m *SdkIdentityVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkIdentityVersionRequest) XXX_Merge

func (dst *SdkIdentityVersionRequest) XXX_Merge(src proto.Message)

func (*SdkIdentityVersionRequest) XXX_Size

func (m *SdkIdentityVersionRequest) XXX_Size() int

func (*SdkIdentityVersionRequest) XXX_Unmarshal

func (m *SdkIdentityVersionRequest) XXX_Unmarshal(b []byte) error

type SdkIdentityVersionResponse

type SdkIdentityVersionResponse struct {
	// OpenStorage SDK version used by the server
	SdkVersion *SdkVersion `protobuf:"bytes,1,opt,name=sdk_version,json=sdkVersion" json:"sdk_version,omitempty"`
	// Version information about the storage system
	Version              *StorageVersion `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Defines a response containing version information

func (*SdkIdentityVersionResponse) Descriptor

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

func (*SdkIdentityVersionResponse) GetSdkVersion

func (m *SdkIdentityVersionResponse) GetSdkVersion() *SdkVersion

func (*SdkIdentityVersionResponse) GetVersion

func (m *SdkIdentityVersionResponse) GetVersion() *StorageVersion

func (*SdkIdentityVersionResponse) ProtoMessage

func (*SdkIdentityVersionResponse) ProtoMessage()

func (*SdkIdentityVersionResponse) Reset

func (m *SdkIdentityVersionResponse) Reset()

func (*SdkIdentityVersionResponse) String

func (m *SdkIdentityVersionResponse) String() string

func (*SdkIdentityVersionResponse) XXX_DiscardUnknown

func (m *SdkIdentityVersionResponse) XXX_DiscardUnknown()

func (*SdkIdentityVersionResponse) XXX_Marshal

func (m *SdkIdentityVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkIdentityVersionResponse) XXX_Merge

func (dst *SdkIdentityVersionResponse) XXX_Merge(src proto.Message)

func (*SdkIdentityVersionResponse) XXX_Size

func (m *SdkIdentityVersionResponse) XXX_Size() int

func (*SdkIdentityVersionResponse) XXX_Unmarshal

func (m *SdkIdentityVersionResponse) XXX_Unmarshal(b []byte) error

type SdkJobResponse

type SdkJobResponse struct {
	// Job that was created for the SDK request
	Job                  *Job     `protobuf:"bytes,1,opt,name=job" json:"job,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response for an SDK request that spins up a new job to perform the request

func (*SdkJobResponse) Descriptor

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

func (*SdkJobResponse) GetJob

func (m *SdkJobResponse) GetJob() *Job

func (*SdkJobResponse) ProtoMessage

func (*SdkJobResponse) ProtoMessage()

func (*SdkJobResponse) Reset

func (m *SdkJobResponse) Reset()

func (*SdkJobResponse) String

func (m *SdkJobResponse) String() string

func (*SdkJobResponse) XXX_DiscardUnknown

func (m *SdkJobResponse) XXX_DiscardUnknown()

func (*SdkJobResponse) XXX_Marshal

func (m *SdkJobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkJobResponse) XXX_Merge

func (dst *SdkJobResponse) XXX_Merge(src proto.Message)

func (*SdkJobResponse) XXX_Size

func (m *SdkJobResponse) XXX_Size() int

func (*SdkJobResponse) XXX_Unmarshal

func (m *SdkJobResponse) XXX_Unmarshal(b []byte) error

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" json:"node_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkNodeCordonAttachmentsRequest request for disabling new volume attachments from a node

func (*SdkNodeCordonAttachmentsRequest) Descriptor

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

func (*SdkNodeCordonAttachmentsRequest) GetNodeId

func (m *SdkNodeCordonAttachmentsRequest) GetNodeId() string

func (*SdkNodeCordonAttachmentsRequest) ProtoMessage

func (*SdkNodeCordonAttachmentsRequest) ProtoMessage()

func (*SdkNodeCordonAttachmentsRequest) Reset

func (*SdkNodeCordonAttachmentsRequest) String

func (*SdkNodeCordonAttachmentsRequest) XXX_DiscardUnknown

func (m *SdkNodeCordonAttachmentsRequest) XXX_DiscardUnknown()

func (*SdkNodeCordonAttachmentsRequest) XXX_Marshal

func (m *SdkNodeCordonAttachmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeCordonAttachmentsRequest) XXX_Merge

func (dst *SdkNodeCordonAttachmentsRequest) XXX_Merge(src proto.Message)

func (*SdkNodeCordonAttachmentsRequest) XXX_Size

func (m *SdkNodeCordonAttachmentsRequest) XXX_Size() int

func (*SdkNodeCordonAttachmentsRequest) XXX_Unmarshal

func (m *SdkNodeCordonAttachmentsRequest) XXX_Unmarshal(b []byte) error

type SdkNodeCordonAttachmentsResponse

type SdkNodeCordonAttachmentsResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkNodeCordonAttachmentsRespinse response for disabling new volume attachments from a node

func (*SdkNodeCordonAttachmentsResponse) Descriptor

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

func (*SdkNodeCordonAttachmentsResponse) ProtoMessage

func (*SdkNodeCordonAttachmentsResponse) ProtoMessage()

func (*SdkNodeCordonAttachmentsResponse) Reset

func (*SdkNodeCordonAttachmentsResponse) String

func (*SdkNodeCordonAttachmentsResponse) XXX_DiscardUnknown

func (m *SdkNodeCordonAttachmentsResponse) XXX_DiscardUnknown()

func (*SdkNodeCordonAttachmentsResponse) XXX_Marshal

func (m *SdkNodeCordonAttachmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeCordonAttachmentsResponse) XXX_Merge

func (dst *SdkNodeCordonAttachmentsResponse) XXX_Merge(src proto.Message)

func (*SdkNodeCordonAttachmentsResponse) XXX_Size

func (m *SdkNodeCordonAttachmentsResponse) XXX_Size() int

func (*SdkNodeCordonAttachmentsResponse) XXX_Unmarshal

func (m *SdkNodeCordonAttachmentsResponse) XXX_Unmarshal(b []byte) error

type SdkNodeDrainAttachmentsRequest

type SdkNodeDrainAttachmentsRequest struct {
	// Id of the node to drain
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId" 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" 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" 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" json:"issuer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a node drain volume attachments request

func (*SdkNodeDrainAttachmentsRequest) Descriptor

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

func (*SdkNodeDrainAttachmentsRequest) GetIssuer

func (m *SdkNodeDrainAttachmentsRequest) GetIssuer() string

func (*SdkNodeDrainAttachmentsRequest) GetNodeId

func (m *SdkNodeDrainAttachmentsRequest) GetNodeId() string

func (*SdkNodeDrainAttachmentsRequest) GetOnlySharedv4

func (m *SdkNodeDrainAttachmentsRequest) GetOnlySharedv4() bool

func (*SdkNodeDrainAttachmentsRequest) GetSelector

func (*SdkNodeDrainAttachmentsRequest) ProtoMessage

func (*SdkNodeDrainAttachmentsRequest) ProtoMessage()

func (*SdkNodeDrainAttachmentsRequest) Reset

func (m *SdkNodeDrainAttachmentsRequest) Reset()

func (*SdkNodeDrainAttachmentsRequest) String

func (*SdkNodeDrainAttachmentsRequest) XXX_DiscardUnknown

func (m *SdkNodeDrainAttachmentsRequest) XXX_DiscardUnknown()

func (*SdkNodeDrainAttachmentsRequest) XXX_Marshal

func (m *SdkNodeDrainAttachmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeDrainAttachmentsRequest) XXX_Merge

func (dst *SdkNodeDrainAttachmentsRequest) XXX_Merge(src proto.Message)

func (*SdkNodeDrainAttachmentsRequest) XXX_Size

func (m *SdkNodeDrainAttachmentsRequest) XXX_Size() int

func (*SdkNodeDrainAttachmentsRequest) XXX_Unmarshal

func (m *SdkNodeDrainAttachmentsRequest) XXX_Unmarshal(b []byte) error

type SdkNodeEnumerateRequest

type SdkNodeEnumerateRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty request

func (*SdkNodeEnumerateRequest) Descriptor

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

func (*SdkNodeEnumerateRequest) ProtoMessage

func (*SdkNodeEnumerateRequest) ProtoMessage()

func (*SdkNodeEnumerateRequest) Reset

func (m *SdkNodeEnumerateRequest) Reset()

func (*SdkNodeEnumerateRequest) String

func (m *SdkNodeEnumerateRequest) String() string

func (*SdkNodeEnumerateRequest) XXX_DiscardUnknown

func (m *SdkNodeEnumerateRequest) XXX_DiscardUnknown()

func (*SdkNodeEnumerateRequest) XXX_Marshal

func (m *SdkNodeEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeEnumerateRequest) XXX_Merge

func (dst *SdkNodeEnumerateRequest) XXX_Merge(src proto.Message)

func (*SdkNodeEnumerateRequest) XXX_Size

func (m *SdkNodeEnumerateRequest) XXX_Size() int

func (*SdkNodeEnumerateRequest) XXX_Unmarshal

func (m *SdkNodeEnumerateRequest) XXX_Unmarshal(b []byte) error

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" json:"node_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response with a list of node ids

func (*SdkNodeEnumerateResponse) Descriptor

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

func (*SdkNodeEnumerateResponse) GetNodeIds

func (m *SdkNodeEnumerateResponse) GetNodeIds() []string

func (*SdkNodeEnumerateResponse) ProtoMessage

func (*SdkNodeEnumerateResponse) ProtoMessage()

func (*SdkNodeEnumerateResponse) Reset

func (m *SdkNodeEnumerateResponse) Reset()

func (*SdkNodeEnumerateResponse) String

func (m *SdkNodeEnumerateResponse) String() string

func (*SdkNodeEnumerateResponse) XXX_DiscardUnknown

func (m *SdkNodeEnumerateResponse) XXX_DiscardUnknown()

func (*SdkNodeEnumerateResponse) XXX_Marshal

func (m *SdkNodeEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeEnumerateResponse) XXX_Merge

func (dst *SdkNodeEnumerateResponse) XXX_Merge(src proto.Message)

func (*SdkNodeEnumerateResponse) XXX_Size

func (m *SdkNodeEnumerateResponse) XXX_Size() int

func (*SdkNodeEnumerateResponse) XXX_Unmarshal

func (m *SdkNodeEnumerateResponse) XXX_Unmarshal(b []byte) error

type SdkNodeEnumerateWithFiltersRequest

type SdkNodeEnumerateWithFiltersRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to list nodes with given filter. Currently there are no filters and all the nodes will be returned.

func (*SdkNodeEnumerateWithFiltersRequest) Descriptor

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

func (*SdkNodeEnumerateWithFiltersRequest) ProtoMessage

func (*SdkNodeEnumerateWithFiltersRequest) ProtoMessage()

func (*SdkNodeEnumerateWithFiltersRequest) Reset

func (*SdkNodeEnumerateWithFiltersRequest) String

func (*SdkNodeEnumerateWithFiltersRequest) XXX_DiscardUnknown

func (m *SdkNodeEnumerateWithFiltersRequest) XXX_DiscardUnknown()

func (*SdkNodeEnumerateWithFiltersRequest) XXX_Marshal

func (m *SdkNodeEnumerateWithFiltersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeEnumerateWithFiltersRequest) XXX_Merge

func (dst *SdkNodeEnumerateWithFiltersRequest) XXX_Merge(src proto.Message)

func (*SdkNodeEnumerateWithFiltersRequest) XXX_Size

func (*SdkNodeEnumerateWithFiltersRequest) XXX_Unmarshal

func (m *SdkNodeEnumerateWithFiltersRequest) XXX_Unmarshal(b []byte) error

type SdkNodeEnumerateWithFiltersResponse

type SdkNodeEnumerateWithFiltersResponse struct {
	// List of all the nodes in the cluster
	Nodes                []*StorageNode `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Defines a response with a list of nodes

func (*SdkNodeEnumerateWithFiltersResponse) Descriptor

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

func (*SdkNodeEnumerateWithFiltersResponse) GetNodes

func (*SdkNodeEnumerateWithFiltersResponse) ProtoMessage

func (*SdkNodeEnumerateWithFiltersResponse) ProtoMessage()

func (*SdkNodeEnumerateWithFiltersResponse) Reset

func (*SdkNodeEnumerateWithFiltersResponse) String

func (*SdkNodeEnumerateWithFiltersResponse) XXX_DiscardUnknown

func (m *SdkNodeEnumerateWithFiltersResponse) XXX_DiscardUnknown()

func (*SdkNodeEnumerateWithFiltersResponse) XXX_Marshal

func (m *SdkNodeEnumerateWithFiltersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeEnumerateWithFiltersResponse) XXX_Merge

func (*SdkNodeEnumerateWithFiltersResponse) XXX_Size

func (*SdkNodeEnumerateWithFiltersResponse) XXX_Unmarshal

func (m *SdkNodeEnumerateWithFiltersResponse) XXX_Unmarshal(b []byte) error

type SdkNodeInspectCurrentRequest

type SdkNodeInspectCurrentRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty request

func (*SdkNodeInspectCurrentRequest) Descriptor

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

func (*SdkNodeInspectCurrentRequest) ProtoMessage

func (*SdkNodeInspectCurrentRequest) ProtoMessage()

func (*SdkNodeInspectCurrentRequest) Reset

func (m *SdkNodeInspectCurrentRequest) Reset()

func (*SdkNodeInspectCurrentRequest) String

func (*SdkNodeInspectCurrentRequest) XXX_DiscardUnknown

func (m *SdkNodeInspectCurrentRequest) XXX_DiscardUnknown()

func (*SdkNodeInspectCurrentRequest) XXX_Marshal

func (m *SdkNodeInspectCurrentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeInspectCurrentRequest) XXX_Merge

func (dst *SdkNodeInspectCurrentRequest) XXX_Merge(src proto.Message)

func (*SdkNodeInspectCurrentRequest) XXX_Size

func (m *SdkNodeInspectCurrentRequest) XXX_Size() int

func (*SdkNodeInspectCurrentRequest) XXX_Unmarshal

func (m *SdkNodeInspectCurrentRequest) XXX_Unmarshal(b []byte) error

type SdkNodeInspectCurrentResponse

type SdkNodeInspectCurrentResponse struct {
	// Node information
	Node                 *StorageNode `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Defines a response when inspecting a node

func (*SdkNodeInspectCurrentResponse) Descriptor

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

func (*SdkNodeInspectCurrentResponse) GetNode

func (*SdkNodeInspectCurrentResponse) ProtoMessage

func (*SdkNodeInspectCurrentResponse) ProtoMessage()

func (*SdkNodeInspectCurrentResponse) Reset

func (m *SdkNodeInspectCurrentResponse) Reset()

func (*SdkNodeInspectCurrentResponse) String

func (*SdkNodeInspectCurrentResponse) XXX_DiscardUnknown

func (m *SdkNodeInspectCurrentResponse) XXX_DiscardUnknown()

func (*SdkNodeInspectCurrentResponse) XXX_Marshal

func (m *SdkNodeInspectCurrentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeInspectCurrentResponse) XXX_Merge

func (dst *SdkNodeInspectCurrentResponse) XXX_Merge(src proto.Message)

func (*SdkNodeInspectCurrentResponse) XXX_Size

func (m *SdkNodeInspectCurrentResponse) XXX_Size() int

func (*SdkNodeInspectCurrentResponse) XXX_Unmarshal

func (m *SdkNodeInspectCurrentResponse) XXX_Unmarshal(b []byte) error

type SdkNodeInspectRequest

type SdkNodeInspectRequest struct {
	// Id of node to inspect
	NodeId               string   `protobuf:"bytes,1,opt,name=node_id,json=nodeId" json:"node_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request when inspecting a node

func (*SdkNodeInspectRequest) Descriptor

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

func (*SdkNodeInspectRequest) GetNodeId

func (m *SdkNodeInspectRequest) GetNodeId() string

func (*SdkNodeInspectRequest) ProtoMessage

func (*SdkNodeInspectRequest) ProtoMessage()

func (*SdkNodeInspectRequest) Reset

func (m *SdkNodeInspectRequest) Reset()

func (*SdkNodeInspectRequest) String

func (m *SdkNodeInspectRequest) String() string

func (*SdkNodeInspectRequest) XXX_DiscardUnknown

func (m *SdkNodeInspectRequest) XXX_DiscardUnknown()

func (*SdkNodeInspectRequest) XXX_Marshal

func (m *SdkNodeInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeInspectRequest) XXX_Merge

func (dst *SdkNodeInspectRequest) XXX_Merge(src proto.Message)

func (*SdkNodeInspectRequest) XXX_Size

func (m *SdkNodeInspectRequest) XXX_Size() int

func (*SdkNodeInspectRequest) XXX_Unmarshal

func (m *SdkNodeInspectRequest) XXX_Unmarshal(b []byte) error

type SdkNodeInspectResponse

type SdkNodeInspectResponse struct {
	// Node information
	Node                 *StorageNode `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Defines a response when inspecting a node

func (*SdkNodeInspectResponse) Descriptor

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

func (*SdkNodeInspectResponse) GetNode

func (m *SdkNodeInspectResponse) GetNode() *StorageNode

func (*SdkNodeInspectResponse) ProtoMessage

func (*SdkNodeInspectResponse) ProtoMessage()

func (*SdkNodeInspectResponse) Reset

func (m *SdkNodeInspectResponse) Reset()

func (*SdkNodeInspectResponse) String

func (m *SdkNodeInspectResponse) String() string

func (*SdkNodeInspectResponse) XXX_DiscardUnknown

func (m *SdkNodeInspectResponse) XXX_DiscardUnknown()

func (*SdkNodeInspectResponse) XXX_Marshal

func (m *SdkNodeInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeInspectResponse) XXX_Merge

func (dst *SdkNodeInspectResponse) XXX_Merge(src proto.Message)

func (*SdkNodeInspectResponse) XXX_Size

func (m *SdkNodeInspectResponse) XXX_Size() int

func (*SdkNodeInspectResponse) XXX_Unmarshal

func (m *SdkNodeInspectResponse) XXX_Unmarshal(b []byte) error

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" json:"node_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkNodeUncordonAttachmentsRequest request for re-enabling volume attachments for a node

func (*SdkNodeUncordonAttachmentsRequest) Descriptor

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

func (*SdkNodeUncordonAttachmentsRequest) GetNodeId

func (*SdkNodeUncordonAttachmentsRequest) ProtoMessage

func (*SdkNodeUncordonAttachmentsRequest) ProtoMessage()

func (*SdkNodeUncordonAttachmentsRequest) Reset

func (*SdkNodeUncordonAttachmentsRequest) String

func (*SdkNodeUncordonAttachmentsRequest) XXX_DiscardUnknown

func (m *SdkNodeUncordonAttachmentsRequest) XXX_DiscardUnknown()

func (*SdkNodeUncordonAttachmentsRequest) XXX_Marshal

func (m *SdkNodeUncordonAttachmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeUncordonAttachmentsRequest) XXX_Merge

func (dst *SdkNodeUncordonAttachmentsRequest) XXX_Merge(src proto.Message)

func (*SdkNodeUncordonAttachmentsRequest) XXX_Size

func (m *SdkNodeUncordonAttachmentsRequest) XXX_Size() int

func (*SdkNodeUncordonAttachmentsRequest) XXX_Unmarshal

func (m *SdkNodeUncordonAttachmentsRequest) XXX_Unmarshal(b []byte) error

type SdkNodeUncordonAttachmentsResponse

type SdkNodeUncordonAttachmentsResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SdkNodeUncordonAttachmentsRespinse response for enabling new volume attachments from a node

func (*SdkNodeUncordonAttachmentsResponse) Descriptor

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

func (*SdkNodeUncordonAttachmentsResponse) ProtoMessage

func (*SdkNodeUncordonAttachmentsResponse) ProtoMessage()

func (*SdkNodeUncordonAttachmentsResponse) Reset

func (*SdkNodeUncordonAttachmentsResponse) String

func (*SdkNodeUncordonAttachmentsResponse) XXX_DiscardUnknown

func (m *SdkNodeUncordonAttachmentsResponse) XXX_DiscardUnknown()

func (*SdkNodeUncordonAttachmentsResponse) XXX_Marshal

func (m *SdkNodeUncordonAttachmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeUncordonAttachmentsResponse) XXX_Merge

func (dst *SdkNodeUncordonAttachmentsResponse) XXX_Merge(src proto.Message)

func (*SdkNodeUncordonAttachmentsResponse) XXX_Size

func (*SdkNodeUncordonAttachmentsResponse) XXX_Unmarshal

func (m *SdkNodeUncordonAttachmentsResponse) XXX_Unmarshal(b []byte) error

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" json:"node_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines request to retrieve all volumes/snapshots capacity usage details for a given node

func (*SdkNodeVolumeUsageByNodeRequest) Descriptor

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

func (*SdkNodeVolumeUsageByNodeRequest) GetNodeId

func (m *SdkNodeVolumeUsageByNodeRequest) GetNodeId() string

func (*SdkNodeVolumeUsageByNodeRequest) ProtoMessage

func (*SdkNodeVolumeUsageByNodeRequest) ProtoMessage()

func (*SdkNodeVolumeUsageByNodeRequest) Reset

func (*SdkNodeVolumeUsageByNodeRequest) String

func (*SdkNodeVolumeUsageByNodeRequest) XXX_DiscardUnknown

func (m *SdkNodeVolumeUsageByNodeRequest) XXX_DiscardUnknown()

func (*SdkNodeVolumeUsageByNodeRequest) XXX_Marshal

func (m *SdkNodeVolumeUsageByNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeVolumeUsageByNodeRequest) XXX_Merge

func (dst *SdkNodeVolumeUsageByNodeRequest) XXX_Merge(src proto.Message)

func (*SdkNodeVolumeUsageByNodeRequest) XXX_Size

func (m *SdkNodeVolumeUsageByNodeRequest) XXX_Size() int

func (*SdkNodeVolumeUsageByNodeRequest) XXX_Unmarshal

func (m *SdkNodeVolumeUsageByNodeRequest) XXX_Unmarshal(b []byte) error

type SdkNodeVolumeUsageByNodeResponse

type SdkNodeVolumeUsageByNodeResponse struct {
	// VolumeUsageByNode details
	VolumeUsageInfo      *VolumeUsageByNode `protobuf:"bytes,1,opt,name=volume_usage_info,json=volumeUsageInfo" json:"volume_usage_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Defines response containing Node's volumes/snapshot capacity usage details

func (*SdkNodeVolumeUsageByNodeResponse) Descriptor

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

func (*SdkNodeVolumeUsageByNodeResponse) GetVolumeUsageInfo

func (m *SdkNodeVolumeUsageByNodeResponse) GetVolumeUsageInfo() *VolumeUsageByNode

func (*SdkNodeVolumeUsageByNodeResponse) ProtoMessage

func (*SdkNodeVolumeUsageByNodeResponse) ProtoMessage()

func (*SdkNodeVolumeUsageByNodeResponse) Reset

func (*SdkNodeVolumeUsageByNodeResponse) String

func (*SdkNodeVolumeUsageByNodeResponse) XXX_DiscardUnknown

func (m *SdkNodeVolumeUsageByNodeResponse) XXX_DiscardUnknown()

func (*SdkNodeVolumeUsageByNodeResponse) XXX_Marshal

func (m *SdkNodeVolumeUsageByNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkNodeVolumeUsageByNodeResponse) XXX_Merge

func (dst *SdkNodeVolumeUsageByNodeResponse) XXX_Merge(src proto.Message)

func (*SdkNodeVolumeUsageByNodeResponse) XXX_Size

func (m *SdkNodeVolumeUsageByNodeResponse) XXX_Size() int

func (*SdkNodeVolumeUsageByNodeResponse) XXX_Unmarshal

func (m *SdkNodeVolumeUsageByNodeResponse) XXX_Unmarshal(b []byte) error

type SdkObjectstoreCreateRequest

type SdkObjectstoreCreateRequest struct {
	// Volume on which objectstore will be running
	VolumeId             string   `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to create an object store

func (*SdkObjectstoreCreateRequest) Descriptor

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

func (*SdkObjectstoreCreateRequest) GetVolumeId

func (m *SdkObjectstoreCreateRequest) GetVolumeId() string

func (*SdkObjectstoreCreateRequest) ProtoMessage

func (*SdkObjectstoreCreateRequest) ProtoMessage()

func (*SdkObjectstoreCreateRequest) Reset

func (m *SdkObjectstoreCreateRequest) Reset()

func (*SdkObjectstoreCreateRequest) String

func (m *SdkObjectstoreCreateRequest) String() string

func (*SdkObjectstoreCreateRequest) XXX_DiscardUnknown

func (m *SdkObjectstoreCreateRequest) XXX_DiscardUnknown()

func (*SdkObjectstoreCreateRequest) XXX_Marshal

func (m *SdkObjectstoreCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkObjectstoreCreateRequest) XXX_Merge

func (dst *SdkObjectstoreCreateRequest) XXX_Merge(src proto.Message)

func (*SdkObjectstoreCreateRequest) XXX_Size

func (m *SdkObjectstoreCreateRequest) XXX_Size() int

func (*SdkObjectstoreCreateRequest) XXX_Unmarshal

func (m *SdkObjectstoreCreateRequest) XXX_Unmarshal(b []byte) error

type SdkObjectstoreCreateResponse

type SdkObjectstoreCreateResponse struct {
	// Created objecstore status
	ObjectstoreStatus    *ObjectstoreInfo `protobuf:"bytes,1,opt,name=objectstore_status,json=objectstoreStatus" json:"objectstore_status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Defines a response when an object store has been created for a specified volume

func (*SdkObjectstoreCreateResponse) Descriptor

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

func (*SdkObjectstoreCreateResponse) GetObjectstoreStatus

func (m *SdkObjectstoreCreateResponse) GetObjectstoreStatus() *ObjectstoreInfo

func (*SdkObjectstoreCreateResponse) ProtoMessage

func (*SdkObjectstoreCreateResponse) ProtoMessage()

func (*SdkObjectstoreCreateResponse) Reset

func (m *SdkObjectstoreCreateResponse) Reset()

func (*SdkObjectstoreCreateResponse) String

func (*SdkObjectstoreCreateResponse) XXX_DiscardUnknown

func (m *SdkObjectstoreCreateResponse) XXX_DiscardUnknown()

func (*SdkObjectstoreCreateResponse) XXX_Marshal

func (m *SdkObjectstoreCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkObjectstoreCreateResponse) XXX_Merge

func (dst *SdkObjectstoreCreateResponse) XXX_Merge(src proto.Message)

func (*SdkObjectstoreCreateResponse) XXX_Size

func (m *SdkObjectstoreCreateResponse) XXX_Size() int

func (*SdkObjectstoreCreateResponse) XXX_Unmarshal

func (m *SdkObjectstoreCreateResponse) XXX_Unmarshal(b []byte) error

type SdkObjectstoreDeleteRequest

type SdkObjectstoreDeleteRequest struct {
	// Id of the object store to delete
	ObjectstoreId        string   `protobuf:"bytes,1,opt,name=objectstore_id,json=objectstoreId" json:"objectstore_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to delete an object store service from a volume

func (*SdkObjectstoreDeleteRequest) Descriptor

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

func (*SdkObjectstoreDeleteRequest) GetObjectstoreId

func (m *SdkObjectstoreDeleteRequest) GetObjectstoreId() string

func (*SdkObjectstoreDeleteRequest) ProtoMessage

func (*SdkObjectstoreDeleteRequest) ProtoMessage()

func (*SdkObjectstoreDeleteRequest) Reset

func (m *SdkObjectstoreDeleteRequest) Reset()

func (*SdkObjectstoreDeleteRequest) String

func (m *SdkObjectstoreDeleteRequest) String() string

func (*SdkObjectstoreDeleteRequest) XXX_DiscardUnknown

func (m *SdkObjectstoreDeleteRequest) XXX_DiscardUnknown()

func (*SdkObjectstoreDeleteRequest) XXX_Marshal

func (m *SdkObjectstoreDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkObjectstoreDeleteRequest) XXX_Merge

func (dst *SdkObjectstoreDeleteRequest) XXX_Merge(src proto.Message)

func (*SdkObjectstoreDeleteRequest) XXX_Size

func (m *SdkObjectstoreDeleteRequest) XXX_Size() int

func (*SdkObjectstoreDeleteRequest) XXX_Unmarshal

func (m *SdkObjectstoreDeleteRequest) XXX_Unmarshal(b []byte) error

type SdkObjectstoreDeleteResponse

type SdkObjectstoreDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkObjectstoreDeleteResponse) Descriptor

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

func (*SdkObjectstoreDeleteResponse) ProtoMessage

func (*SdkObjectstoreDeleteResponse) ProtoMessage()

func (*SdkObjectstoreDeleteResponse) Reset

func (m *SdkObjectstoreDeleteResponse) Reset()

func (*SdkObjectstoreDeleteResponse) String

func (*SdkObjectstoreDeleteResponse) XXX_DiscardUnknown

func (m *SdkObjectstoreDeleteResponse) XXX_DiscardUnknown()

func (*SdkObjectstoreDeleteResponse) XXX_Marshal

func (m *SdkObjectstoreDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkObjectstoreDeleteResponse) XXX_Merge

func (dst *SdkObjectstoreDeleteResponse) XXX_Merge(src proto.Message)

func (*SdkObjectstoreDeleteResponse) XXX_Size

func (m *SdkObjectstoreDeleteResponse) XXX_Size() int

func (*SdkObjectstoreDeleteResponse) XXX_Unmarshal

func (m *SdkObjectstoreDeleteResponse) XXX_Unmarshal(b []byte) error

type SdkObjectstoreInspectRequest

type SdkObjectstoreInspectRequest struct {
	// Id of the object store
	ObjectstoreId        string   `protobuf:"bytes,1,opt,name=objectstore_id,json=objectstoreId" json:"objectstore_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to get information about an object store endpoint

func (*SdkObjectstoreInspectRequest) Descriptor

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

func (*SdkObjectstoreInspectRequest) GetObjectstoreId

func (m *SdkObjectstoreInspectRequest) GetObjectstoreId() string

func (*SdkObjectstoreInspectRequest) ProtoMessage

func (*SdkObjectstoreInspectRequest) ProtoMessage()

func (*SdkObjectstoreInspectRequest) Reset

func (m *SdkObjectstoreInspectRequest) Reset()

func (*SdkObjectstoreInspectRequest) String

func (*SdkObjectstoreInspectRequest) XXX_DiscardUnknown

func (m *SdkObjectstoreInspectRequest) XXX_DiscardUnknown()

func (*SdkObjectstoreInspectRequest) XXX_Marshal

func (m *SdkObjectstoreInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkObjectstoreInspectRequest) XXX_Merge

func (dst *SdkObjectstoreInspectRequest) XXX_Merge(src proto.Message)

func (*SdkObjectstoreInspectRequest) XXX_Size

func (m *SdkObjectstoreInspectRequest) XXX_Size() int

func (*SdkObjectstoreInspectRequest) XXX_Unmarshal

func (m *SdkObjectstoreInspectRequest) XXX_Unmarshal(b []byte) error

type SdkObjectstoreInspectResponse

type SdkObjectstoreInspectResponse struct {
	// Contains information about the object store requested
	ObjectstoreStatus    *ObjectstoreInfo `protobuf:"bytes,1,opt,name=objectstore_status,json=objectstoreStatus" json:"objectstore_status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Defines a response when inspecting an object store endpoint

func (*SdkObjectstoreInspectResponse) Descriptor

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

func (*SdkObjectstoreInspectResponse) GetObjectstoreStatus

func (m *SdkObjectstoreInspectResponse) GetObjectstoreStatus() *ObjectstoreInfo

func (*SdkObjectstoreInspectResponse) ProtoMessage

func (*SdkObjectstoreInspectResponse) ProtoMessage()

func (*SdkObjectstoreInspectResponse) Reset

func (m *SdkObjectstoreInspectResponse) Reset()

func (*SdkObjectstoreInspectResponse) String

func (*SdkObjectstoreInspectResponse) XXX_DiscardUnknown

func (m *SdkObjectstoreInspectResponse) XXX_DiscardUnknown()

func (*SdkObjectstoreInspectResponse) XXX_Marshal

func (m *SdkObjectstoreInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkObjectstoreInspectResponse) XXX_Merge

func (dst *SdkObjectstoreInspectResponse) XXX_Merge(src proto.Message)

func (*SdkObjectstoreInspectResponse) XXX_Size

func (m *SdkObjectstoreInspectResponse) XXX_Size() int

func (*SdkObjectstoreInspectResponse) XXX_Unmarshal

func (m *SdkObjectstoreInspectResponse) XXX_Unmarshal(b []byte) error

type SdkObjectstoreUpdateRequest

type SdkObjectstoreUpdateRequest struct {
	// Objectstore Id to update
	ObjectstoreId string `protobuf:"bytes,1,opt,name=objectstore_id,json=objectstoreId" json:"objectstore_id,omitempty"`
	// enable/disable objectstore
	Enable               bool     `protobuf:"varint,2,opt,name=enable" json:"enable,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to update an object store

func (*SdkObjectstoreUpdateRequest) Descriptor

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

func (*SdkObjectstoreUpdateRequest) GetEnable

func (m *SdkObjectstoreUpdateRequest) GetEnable() bool

func (*SdkObjectstoreUpdateRequest) GetObjectstoreId

func (m *SdkObjectstoreUpdateRequest) GetObjectstoreId() string

func (*SdkObjectstoreUpdateRequest) ProtoMessage

func (*SdkObjectstoreUpdateRequest) ProtoMessage()

func (*SdkObjectstoreUpdateRequest) Reset

func (m *SdkObjectstoreUpdateRequest) Reset()

func (*SdkObjectstoreUpdateRequest) String

func (m *SdkObjectstoreUpdateRequest) String() string

func (*SdkObjectstoreUpdateRequest) XXX_DiscardUnknown

func (m *SdkObjectstoreUpdateRequest) XXX_DiscardUnknown()

func (*SdkObjectstoreUpdateRequest) XXX_Marshal

func (m *SdkObjectstoreUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkObjectstoreUpdateRequest) XXX_Merge

func (dst *SdkObjectstoreUpdateRequest) XXX_Merge(src proto.Message)

func (*SdkObjectstoreUpdateRequest) XXX_Size

func (m *SdkObjectstoreUpdateRequest) XXX_Size() int

func (*SdkObjectstoreUpdateRequest) XXX_Unmarshal

func (m *SdkObjectstoreUpdateRequest) XXX_Unmarshal(b []byte) error

type SdkObjectstoreUpdateResponse

type SdkObjectstoreUpdateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkObjectstoreUpdateResponse) Descriptor

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

func (*SdkObjectstoreUpdateResponse) ProtoMessage

func (*SdkObjectstoreUpdateResponse) ProtoMessage()

func (*SdkObjectstoreUpdateResponse) Reset

func (m *SdkObjectstoreUpdateResponse) Reset()

func (*SdkObjectstoreUpdateResponse) String

func (*SdkObjectstoreUpdateResponse) XXX_DiscardUnknown

func (m *SdkObjectstoreUpdateResponse) XXX_DiscardUnknown()

func (*SdkObjectstoreUpdateResponse) XXX_Marshal

func (m *SdkObjectstoreUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkObjectstoreUpdateResponse) XXX_Merge

func (dst *SdkObjectstoreUpdateResponse) XXX_Merge(src proto.Message)

func (*SdkObjectstoreUpdateResponse) XXX_Size

func (m *SdkObjectstoreUpdateResponse) XXX_Size() int

func (*SdkObjectstoreUpdateResponse) XXX_Unmarshal

func (m *SdkObjectstoreUpdateResponse) XXX_Unmarshal(b []byte) error

type SdkOpenStoragePolicyCreateRequest

type SdkOpenStoragePolicyCreateRequest struct {
	// storage policy to create
	StoragePolicy        *SdkStoragePolicy `protobuf:"bytes,1,opt,name=storage_policy,json=storagePolicy" json:"storage_policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Define a request to create storage policy

func (*SdkOpenStoragePolicyCreateRequest) Descriptor

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

func (*SdkOpenStoragePolicyCreateRequest) GetStoragePolicy

func (m *SdkOpenStoragePolicyCreateRequest) GetStoragePolicy() *SdkStoragePolicy

func (*SdkOpenStoragePolicyCreateRequest) ProtoMessage

func (*SdkOpenStoragePolicyCreateRequest) ProtoMessage()

func (*SdkOpenStoragePolicyCreateRequest) Reset

func (*SdkOpenStoragePolicyCreateRequest) String

func (*SdkOpenStoragePolicyCreateRequest) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyCreateRequest) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyCreateRequest) XXX_Marshal

func (m *SdkOpenStoragePolicyCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyCreateRequest) XXX_Merge

func (dst *SdkOpenStoragePolicyCreateRequest) XXX_Merge(src proto.Message)

func (*SdkOpenStoragePolicyCreateRequest) XXX_Size

func (m *SdkOpenStoragePolicyCreateRequest) XXX_Size() int

func (*SdkOpenStoragePolicyCreateRequest) XXX_Unmarshal

func (m *SdkOpenStoragePolicyCreateRequest) XXX_Unmarshal(b []byte) error

type SdkOpenStoragePolicyCreateResponse

type SdkOpenStoragePolicyCreateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkOpenStoragePolicyCreateResponse) Descriptor

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

func (*SdkOpenStoragePolicyCreateResponse) ProtoMessage

func (*SdkOpenStoragePolicyCreateResponse) ProtoMessage()

func (*SdkOpenStoragePolicyCreateResponse) Reset

func (*SdkOpenStoragePolicyCreateResponse) String

func (*SdkOpenStoragePolicyCreateResponse) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyCreateResponse) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyCreateResponse) XXX_Marshal

func (m *SdkOpenStoragePolicyCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyCreateResponse) XXX_Merge

func (dst *SdkOpenStoragePolicyCreateResponse) XXX_Merge(src proto.Message)

func (*SdkOpenStoragePolicyCreateResponse) XXX_Size

func (*SdkOpenStoragePolicyCreateResponse) XXX_Unmarshal

func (m *SdkOpenStoragePolicyCreateResponse) XXX_Unmarshal(b []byte) error

type SdkOpenStoragePolicyDefaultInspectRequest

type SdkOpenStoragePolicyDefaultInspectRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty Request

func (*SdkOpenStoragePolicyDefaultInspectRequest) Descriptor

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

func (*SdkOpenStoragePolicyDefaultInspectRequest) ProtoMessage

func (*SdkOpenStoragePolicyDefaultInspectRequest) Reset

func (*SdkOpenStoragePolicyDefaultInspectRequest) String

func (*SdkOpenStoragePolicyDefaultInspectRequest) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyDefaultInspectRequest) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyDefaultInspectRequest) XXX_Marshal

func (m *SdkOpenStoragePolicyDefaultInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyDefaultInspectRequest) XXX_Merge

func (*SdkOpenStoragePolicyDefaultInspectRequest) XXX_Size

func (*SdkOpenStoragePolicyDefaultInspectRequest) XXX_Unmarshal

type SdkOpenStoragePolicyDefaultInspectResponse

type SdkOpenStoragePolicyDefaultInspectResponse struct {
	// storage policy information which is set as default
	StoragePolicy        *SdkStoragePolicy `protobuf:"bytes,1,opt,name=storage_policy,json=storagePolicy" json:"storage_policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Define default storage policy response

func (*SdkOpenStoragePolicyDefaultInspectResponse) Descriptor

func (*SdkOpenStoragePolicyDefaultInspectResponse) GetStoragePolicy

func (*SdkOpenStoragePolicyDefaultInspectResponse) ProtoMessage

func (*SdkOpenStoragePolicyDefaultInspectResponse) Reset

func (*SdkOpenStoragePolicyDefaultInspectResponse) String

func (*SdkOpenStoragePolicyDefaultInspectResponse) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyDefaultInspectResponse) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyDefaultInspectResponse) XXX_Marshal

func (m *SdkOpenStoragePolicyDefaultInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyDefaultInspectResponse) XXX_Merge

func (*SdkOpenStoragePolicyDefaultInspectResponse) XXX_Size

func (*SdkOpenStoragePolicyDefaultInspectResponse) XXX_Unmarshal

type SdkOpenStoragePolicyDeleteRequest

type SdkOpenStoragePolicyDeleteRequest struct {
	// name of storage policy to delete
	Name                 string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Define a request to delete storage policy

func (*SdkOpenStoragePolicyDeleteRequest) Descriptor

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

func (*SdkOpenStoragePolicyDeleteRequest) GetName

func (*SdkOpenStoragePolicyDeleteRequest) ProtoMessage

func (*SdkOpenStoragePolicyDeleteRequest) ProtoMessage()

func (*SdkOpenStoragePolicyDeleteRequest) Reset

func (*SdkOpenStoragePolicyDeleteRequest) String

func (*SdkOpenStoragePolicyDeleteRequest) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyDeleteRequest) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyDeleteRequest) XXX_Marshal

func (m *SdkOpenStoragePolicyDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyDeleteRequest) XXX_Merge

func (dst *SdkOpenStoragePolicyDeleteRequest) XXX_Merge(src proto.Message)

func (*SdkOpenStoragePolicyDeleteRequest) XXX_Size

func (m *SdkOpenStoragePolicyDeleteRequest) XXX_Size() int

func (*SdkOpenStoragePolicyDeleteRequest) XXX_Unmarshal

func (m *SdkOpenStoragePolicyDeleteRequest) XXX_Unmarshal(b []byte) error

type SdkOpenStoragePolicyDeleteResponse

type SdkOpenStoragePolicyDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty Response

func (*SdkOpenStoragePolicyDeleteResponse) Descriptor

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

func (*SdkOpenStoragePolicyDeleteResponse) ProtoMessage

func (*SdkOpenStoragePolicyDeleteResponse) ProtoMessage()

func (*SdkOpenStoragePolicyDeleteResponse) Reset

func (*SdkOpenStoragePolicyDeleteResponse) String

func (*SdkOpenStoragePolicyDeleteResponse) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyDeleteResponse) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyDeleteResponse) XXX_Marshal

func (m *SdkOpenStoragePolicyDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyDeleteResponse) XXX_Merge

func (dst *SdkOpenStoragePolicyDeleteResponse) XXX_Merge(src proto.Message)

func (*SdkOpenStoragePolicyDeleteResponse) XXX_Size

func (*SdkOpenStoragePolicyDeleteResponse) XXX_Unmarshal

func (m *SdkOpenStoragePolicyDeleteResponse) XXX_Unmarshal(b []byte) error

type SdkOpenStoragePolicyEnumerateRequest

type SdkOpenStoragePolicyEnumerateRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty request

func (*SdkOpenStoragePolicyEnumerateRequest) Descriptor

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

func (*SdkOpenStoragePolicyEnumerateRequest) ProtoMessage

func (*SdkOpenStoragePolicyEnumerateRequest) ProtoMessage()

func (*SdkOpenStoragePolicyEnumerateRequest) Reset

func (*SdkOpenStoragePolicyEnumerateRequest) String

func (*SdkOpenStoragePolicyEnumerateRequest) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyEnumerateRequest) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyEnumerateRequest) XXX_Marshal

func (m *SdkOpenStoragePolicyEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyEnumerateRequest) XXX_Merge

func (*SdkOpenStoragePolicyEnumerateRequest) XXX_Size

func (*SdkOpenStoragePolicyEnumerateRequest) XXX_Unmarshal

func (m *SdkOpenStoragePolicyEnumerateRequest) XXX_Unmarshal(b []byte) error

type SdkOpenStoragePolicyEnumerateResponse

type SdkOpenStoragePolicyEnumerateResponse struct {
	// List of storage policies
	StoragePolicies      []*SdkStoragePolicy `protobuf:"bytes,1,rep,name=storage_policies,json=storagePolicies" json:"storage_policies,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Define a storage policy enumerate response

func (*SdkOpenStoragePolicyEnumerateResponse) Descriptor

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

func (*SdkOpenStoragePolicyEnumerateResponse) GetStoragePolicies

func (m *SdkOpenStoragePolicyEnumerateResponse) GetStoragePolicies() []*SdkStoragePolicy

func (*SdkOpenStoragePolicyEnumerateResponse) ProtoMessage

func (*SdkOpenStoragePolicyEnumerateResponse) ProtoMessage()

func (*SdkOpenStoragePolicyEnumerateResponse) Reset

func (*SdkOpenStoragePolicyEnumerateResponse) String

func (*SdkOpenStoragePolicyEnumerateResponse) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyEnumerateResponse) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyEnumerateResponse) XXX_Marshal

func (m *SdkOpenStoragePolicyEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyEnumerateResponse) XXX_Merge

func (*SdkOpenStoragePolicyEnumerateResponse) XXX_Size

func (*SdkOpenStoragePolicyEnumerateResponse) XXX_Unmarshal

func (m *SdkOpenStoragePolicyEnumerateResponse) XXX_Unmarshal(b []byte) error

type SdkOpenStoragePolicyInspectRequest

type SdkOpenStoragePolicyInspectRequest struct {
	// name of storage policy to retrive
	Name                 string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Define a request to inspect storage policy

func (*SdkOpenStoragePolicyInspectRequest) Descriptor

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

func (*SdkOpenStoragePolicyInspectRequest) GetName

func (*SdkOpenStoragePolicyInspectRequest) ProtoMessage

func (*SdkOpenStoragePolicyInspectRequest) ProtoMessage()

func (*SdkOpenStoragePolicyInspectRequest) Reset

func (*SdkOpenStoragePolicyInspectRequest) String

func (*SdkOpenStoragePolicyInspectRequest) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyInspectRequest) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyInspectRequest) XXX_Marshal

func (m *SdkOpenStoragePolicyInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyInspectRequest) XXX_Merge

func (dst *SdkOpenStoragePolicyInspectRequest) XXX_Merge(src proto.Message)

func (*SdkOpenStoragePolicyInspectRequest) XXX_Size

func (*SdkOpenStoragePolicyInspectRequest) XXX_Unmarshal

func (m *SdkOpenStoragePolicyInspectRequest) XXX_Unmarshal(b []byte) error

type SdkOpenStoragePolicyInspectResponse

type SdkOpenStoragePolicyInspectResponse struct {
	// storage policy information requested by name
	StoragePolicy        *SdkStoragePolicy `protobuf:"bytes,1,opt,name=storage_policy,json=storagePolicy" json:"storage_policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Define a storage policy inspect response

func (*SdkOpenStoragePolicyInspectResponse) Descriptor

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

func (*SdkOpenStoragePolicyInspectResponse) GetStoragePolicy

func (*SdkOpenStoragePolicyInspectResponse) ProtoMessage

func (*SdkOpenStoragePolicyInspectResponse) ProtoMessage()

func (*SdkOpenStoragePolicyInspectResponse) Reset

func (*SdkOpenStoragePolicyInspectResponse) String

func (*SdkOpenStoragePolicyInspectResponse) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyInspectResponse) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyInspectResponse) XXX_Marshal

func (m *SdkOpenStoragePolicyInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyInspectResponse) XXX_Merge

func (*SdkOpenStoragePolicyInspectResponse) XXX_Size

func (*SdkOpenStoragePolicyInspectResponse) XXX_Unmarshal

func (m *SdkOpenStoragePolicyInspectResponse) XXX_Unmarshal(b []byte) error

type SdkOpenStoragePolicyReleaseRequest

type SdkOpenStoragePolicyReleaseRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty Request

func (*SdkOpenStoragePolicyReleaseRequest) Descriptor

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

func (*SdkOpenStoragePolicyReleaseRequest) ProtoMessage

func (*SdkOpenStoragePolicyReleaseRequest) ProtoMessage()

func (*SdkOpenStoragePolicyReleaseRequest) Reset

func (*SdkOpenStoragePolicyReleaseRequest) String

func (*SdkOpenStoragePolicyReleaseRequest) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyReleaseRequest) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyReleaseRequest) XXX_Marshal

func (m *SdkOpenStoragePolicyReleaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyReleaseRequest) XXX_Merge

func (dst *SdkOpenStoragePolicyReleaseRequest) XXX_Merge(src proto.Message)

func (*SdkOpenStoragePolicyReleaseRequest) XXX_Size

func (*SdkOpenStoragePolicyReleaseRequest) XXX_Unmarshal

func (m *SdkOpenStoragePolicyReleaseRequest) XXX_Unmarshal(b []byte) error

type SdkOpenStoragePolicyReleaseResponse

type SdkOpenStoragePolicyReleaseResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty Response

func (*SdkOpenStoragePolicyReleaseResponse) Descriptor

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

func (*SdkOpenStoragePolicyReleaseResponse) ProtoMessage

func (*SdkOpenStoragePolicyReleaseResponse) ProtoMessage()

func (*SdkOpenStoragePolicyReleaseResponse) Reset

func (*SdkOpenStoragePolicyReleaseResponse) String

func (*SdkOpenStoragePolicyReleaseResponse) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyReleaseResponse) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyReleaseResponse) XXX_Marshal

func (m *SdkOpenStoragePolicyReleaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyReleaseResponse) XXX_Merge

func (*SdkOpenStoragePolicyReleaseResponse) XXX_Size

func (*SdkOpenStoragePolicyReleaseResponse) XXX_Unmarshal

func (m *SdkOpenStoragePolicyReleaseResponse) XXX_Unmarshal(b []byte) error

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" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Define a request to set default storage policy

func (*SdkOpenStoragePolicySetDefaultRequest) Descriptor

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

func (*SdkOpenStoragePolicySetDefaultRequest) GetName

func (*SdkOpenStoragePolicySetDefaultRequest) ProtoMessage

func (*SdkOpenStoragePolicySetDefaultRequest) ProtoMessage()

func (*SdkOpenStoragePolicySetDefaultRequest) Reset

func (*SdkOpenStoragePolicySetDefaultRequest) String

func (*SdkOpenStoragePolicySetDefaultRequest) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicySetDefaultRequest) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicySetDefaultRequest) XXX_Marshal

func (m *SdkOpenStoragePolicySetDefaultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicySetDefaultRequest) XXX_Merge

func (*SdkOpenStoragePolicySetDefaultRequest) XXX_Size

func (*SdkOpenStoragePolicySetDefaultRequest) XXX_Unmarshal

func (m *SdkOpenStoragePolicySetDefaultRequest) XXX_Unmarshal(b []byte) error

type SdkOpenStoragePolicySetDefaultResponse

type SdkOpenStoragePolicySetDefaultResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty Response

func (*SdkOpenStoragePolicySetDefaultResponse) Descriptor

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

func (*SdkOpenStoragePolicySetDefaultResponse) ProtoMessage

func (*SdkOpenStoragePolicySetDefaultResponse) Reset

func (*SdkOpenStoragePolicySetDefaultResponse) String

func (*SdkOpenStoragePolicySetDefaultResponse) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicySetDefaultResponse) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicySetDefaultResponse) XXX_Marshal

func (m *SdkOpenStoragePolicySetDefaultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicySetDefaultResponse) XXX_Merge

func (*SdkOpenStoragePolicySetDefaultResponse) XXX_Size

func (*SdkOpenStoragePolicySetDefaultResponse) XXX_Unmarshal

func (m *SdkOpenStoragePolicySetDefaultResponse) XXX_Unmarshal(b []byte) error

type SdkOpenStoragePolicyUpdateRequest

type SdkOpenStoragePolicyUpdateRequest struct {
	// storage policy to update
	StoragePolicy        *SdkStoragePolicy `protobuf:"bytes,1,opt,name=storage_policy,json=storagePolicy" json:"storage_policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Define a request to update storage policy

func (*SdkOpenStoragePolicyUpdateRequest) Descriptor

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

func (*SdkOpenStoragePolicyUpdateRequest) GetStoragePolicy

func (m *SdkOpenStoragePolicyUpdateRequest) GetStoragePolicy() *SdkStoragePolicy

func (*SdkOpenStoragePolicyUpdateRequest) ProtoMessage

func (*SdkOpenStoragePolicyUpdateRequest) ProtoMessage()

func (*SdkOpenStoragePolicyUpdateRequest) Reset

func (*SdkOpenStoragePolicyUpdateRequest) String

func (*SdkOpenStoragePolicyUpdateRequest) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyUpdateRequest) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyUpdateRequest) XXX_Marshal

func (m *SdkOpenStoragePolicyUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyUpdateRequest) XXX_Merge

func (dst *SdkOpenStoragePolicyUpdateRequest) XXX_Merge(src proto.Message)

func (*SdkOpenStoragePolicyUpdateRequest) XXX_Size

func (m *SdkOpenStoragePolicyUpdateRequest) XXX_Size() int

func (*SdkOpenStoragePolicyUpdateRequest) XXX_Unmarshal

func (m *SdkOpenStoragePolicyUpdateRequest) XXX_Unmarshal(b []byte) error

type SdkOpenStoragePolicyUpdateResponse

type SdkOpenStoragePolicyUpdateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty Response

func (*SdkOpenStoragePolicyUpdateResponse) Descriptor

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

func (*SdkOpenStoragePolicyUpdateResponse) ProtoMessage

func (*SdkOpenStoragePolicyUpdateResponse) ProtoMessage()

func (*SdkOpenStoragePolicyUpdateResponse) Reset

func (*SdkOpenStoragePolicyUpdateResponse) String

func (*SdkOpenStoragePolicyUpdateResponse) XXX_DiscardUnknown

func (m *SdkOpenStoragePolicyUpdateResponse) XXX_DiscardUnknown()

func (*SdkOpenStoragePolicyUpdateResponse) XXX_Marshal

func (m *SdkOpenStoragePolicyUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkOpenStoragePolicyUpdateResponse) XXX_Merge

func (dst *SdkOpenStoragePolicyUpdateResponse) XXX_Merge(src proto.Message)

func (*SdkOpenStoragePolicyUpdateResponse) XXX_Size

func (*SdkOpenStoragePolicyUpdateResponse) XXX_Unmarshal

func (m *SdkOpenStoragePolicyUpdateResponse) XXX_Unmarshal(b []byte) error

type SdkRole

type SdkRole struct {
	Name                 string     `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Rules                []*SdkRule `protobuf:"bytes,2,rep,name=rules" json:"rules,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*SdkRole) Descriptor

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

func (*SdkRole) GetName

func (m *SdkRole) GetName() string

func (*SdkRole) GetRules

func (m *SdkRole) GetRules() []*SdkRule

func (*SdkRole) ProtoMessage

func (*SdkRole) ProtoMessage()

func (*SdkRole) Reset

func (m *SdkRole) Reset()

func (*SdkRole) String

func (m *SdkRole) String() string

func (*SdkRole) XXX_DiscardUnknown

func (m *SdkRole) XXX_DiscardUnknown()

func (*SdkRole) XXX_Marshal

func (m *SdkRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkRole) XXX_Merge

func (dst *SdkRole) XXX_Merge(src proto.Message)

func (*SdkRole) XXX_Size

func (m *SdkRole) XXX_Size() int

func (*SdkRole) XXX_Unmarshal

func (m *SdkRole) XXX_Unmarshal(b []byte) error

type SdkRoleCreateRequest

type SdkRoleCreateRequest struct {
	// Role
	Role                 *SdkRole `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request for creating a role

func (*SdkRoleCreateRequest) Descriptor

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

func (*SdkRoleCreateRequest) GetRole

func (m *SdkRoleCreateRequest) GetRole() *SdkRole

func (*SdkRoleCreateRequest) ProtoMessage

func (*SdkRoleCreateRequest) ProtoMessage()

func (*SdkRoleCreateRequest) Reset

func (m *SdkRoleCreateRequest) Reset()

func (*SdkRoleCreateRequest) String

func (m *SdkRoleCreateRequest) String() string

func (*SdkRoleCreateRequest) XXX_DiscardUnknown

func (m *SdkRoleCreateRequest) XXX_DiscardUnknown()

func (*SdkRoleCreateRequest) XXX_Marshal

func (m *SdkRoleCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkRoleCreateRequest) XXX_Merge

func (dst *SdkRoleCreateRequest) XXX_Merge(src proto.Message)

func (*SdkRoleCreateRequest) XXX_Size

func (m *SdkRoleCreateRequest) XXX_Size() int

func (*SdkRoleCreateRequest) XXX_Unmarshal

func (m *SdkRoleCreateRequest) XXX_Unmarshal(b []byte) error

type SdkRoleCreateResponse

type SdkRoleCreateResponse struct {
	// Role created
	Role                 *SdkRole `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response contains informaiton about the creation of the role

func (*SdkRoleCreateResponse) Descriptor

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

func (*SdkRoleCreateResponse) GetRole

func (m *SdkRoleCreateResponse) GetRole() *SdkRole

func (*SdkRoleCreateResponse) ProtoMessage

func (*SdkRoleCreateResponse) ProtoMessage()

func (*SdkRoleCreateResponse) Reset

func (m *SdkRoleCreateResponse) Reset()

func (*SdkRoleCreateResponse) String

func (m *SdkRoleCreateResponse) String() string

func (*SdkRoleCreateResponse) XXX_DiscardUnknown

func (m *SdkRoleCreateResponse) XXX_DiscardUnknown()

func (*SdkRoleCreateResponse) XXX_Marshal

func (m *SdkRoleCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkRoleCreateResponse) XXX_Merge

func (dst *SdkRoleCreateResponse) XXX_Merge(src proto.Message)

func (*SdkRoleCreateResponse) XXX_Size

func (m *SdkRoleCreateResponse) XXX_Size() int

func (*SdkRoleCreateResponse) XXX_Unmarshal

func (m *SdkRoleCreateResponse) XXX_Unmarshal(b []byte) error

type SdkRoleDeleteRequest

type SdkRoleDeleteRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to delete a role

func (*SdkRoleDeleteRequest) Descriptor

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

func (*SdkRoleDeleteRequest) GetName

func (m *SdkRoleDeleteRequest) GetName() string

func (*SdkRoleDeleteRequest) ProtoMessage

func (*SdkRoleDeleteRequest) ProtoMessage()

func (*SdkRoleDeleteRequest) Reset

func (m *SdkRoleDeleteRequest) Reset()

func (*SdkRoleDeleteRequest) String

func (m *SdkRoleDeleteRequest) String() string

func (*SdkRoleDeleteRequest) XXX_DiscardUnknown

func (m *SdkRoleDeleteRequest) XXX_DiscardUnknown()

func (*SdkRoleDeleteRequest) XXX_Marshal

func (m *SdkRoleDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkRoleDeleteRequest) XXX_Merge

func (dst *SdkRoleDeleteRequest) XXX_Merge(src proto.Message)

func (*SdkRoleDeleteRequest) XXX_Size

func (m *SdkRoleDeleteRequest) XXX_Size() int

func (*SdkRoleDeleteRequest) XXX_Unmarshal

func (m *SdkRoleDeleteRequest) XXX_Unmarshal(b []byte) error

type SdkRoleDeleteResponse

type SdkRoleDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkRoleDeleteResponse) Descriptor

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

func (*SdkRoleDeleteResponse) ProtoMessage

func (*SdkRoleDeleteResponse) ProtoMessage()

func (*SdkRoleDeleteResponse) Reset

func (m *SdkRoleDeleteResponse) Reset()

func (*SdkRoleDeleteResponse) String

func (m *SdkRoleDeleteResponse) String() string

func (*SdkRoleDeleteResponse) XXX_DiscardUnknown

func (m *SdkRoleDeleteResponse) XXX_DiscardUnknown()

func (*SdkRoleDeleteResponse) XXX_Marshal

func (m *SdkRoleDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkRoleDeleteResponse) XXX_Merge

func (dst *SdkRoleDeleteResponse) XXX_Merge(src proto.Message)

func (*SdkRoleDeleteResponse) XXX_Size

func (m *SdkRoleDeleteResponse) XXX_Size() int

func (*SdkRoleDeleteResponse) XXX_Unmarshal

func (m *SdkRoleDeleteResponse) XXX_Unmarshal(b []byte) error

type SdkRoleEnumerateRequest

type SdkRoleEnumerateRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty request

func (*SdkRoleEnumerateRequest) Descriptor

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

func (*SdkRoleEnumerateRequest) ProtoMessage

func (*SdkRoleEnumerateRequest) ProtoMessage()

func (*SdkRoleEnumerateRequest) Reset

func (m *SdkRoleEnumerateRequest) Reset()

func (*SdkRoleEnumerateRequest) String

func (m *SdkRoleEnumerateRequest) String() string

func (*SdkRoleEnumerateRequest) XXX_DiscardUnknown

func (m *SdkRoleEnumerateRequest) XXX_DiscardUnknown()

func (*SdkRoleEnumerateRequest) XXX_Marshal

func (m *SdkRoleEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkRoleEnumerateRequest) XXX_Merge

func (dst *SdkRoleEnumerateRequest) XXX_Merge(src proto.Message)

func (*SdkRoleEnumerateRequest) XXX_Size

func (m *SdkRoleEnumerateRequest) XXX_Size() int

func (*SdkRoleEnumerateRequest) XXX_Unmarshal

func (m *SdkRoleEnumerateRequest) XXX_Unmarshal(b []byte) error

type SdkRoleEnumerateResponse

type SdkRoleEnumerateResponse struct {
	// List of role names
	Names                []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Respose to enumerate all roles

func (*SdkRoleEnumerateResponse) Descriptor

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

func (*SdkRoleEnumerateResponse) GetNames

func (m *SdkRoleEnumerateResponse) GetNames() []string

func (*SdkRoleEnumerateResponse) ProtoMessage

func (*SdkRoleEnumerateResponse) ProtoMessage()

func (*SdkRoleEnumerateResponse) Reset

func (m *SdkRoleEnumerateResponse) Reset()

func (*SdkRoleEnumerateResponse) String

func (m *SdkRoleEnumerateResponse) String() string

func (*SdkRoleEnumerateResponse) XXX_DiscardUnknown

func (m *SdkRoleEnumerateResponse) XXX_DiscardUnknown()

func (*SdkRoleEnumerateResponse) XXX_Marshal

func (m *SdkRoleEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkRoleEnumerateResponse) XXX_Merge

func (dst *SdkRoleEnumerateResponse) XXX_Merge(src proto.Message)

func (*SdkRoleEnumerateResponse) XXX_Size

func (m *SdkRoleEnumerateResponse) XXX_Size() int

func (*SdkRoleEnumerateResponse) XXX_Unmarshal

func (m *SdkRoleEnumerateResponse) XXX_Unmarshal(b []byte) error

type SdkRoleInspectRequest

type SdkRoleInspectRequest struct {
	// Name of role
	Name                 string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to inspect a role

func (*SdkRoleInspectRequest) Descriptor

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

func (*SdkRoleInspectRequest) GetName

func (m *SdkRoleInspectRequest) GetName() string

func (*SdkRoleInspectRequest) ProtoMessage

func (*SdkRoleInspectRequest) ProtoMessage()

func (*SdkRoleInspectRequest) Reset

func (m *SdkRoleInspectRequest) Reset()

func (*SdkRoleInspectRequest) String

func (m *SdkRoleInspectRequest) String() string

func (*SdkRoleInspectRequest) XXX_DiscardUnknown

func (m *SdkRoleInspectRequest) XXX_DiscardUnknown()

func (*SdkRoleInspectRequest) XXX_Marshal

func (m *SdkRoleInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkRoleInspectRequest) XXX_Merge

func (dst *SdkRoleInspectRequest) XXX_Merge(src proto.Message)

func (*SdkRoleInspectRequest) XXX_Size

func (m *SdkRoleInspectRequest) XXX_Size() int

func (*SdkRoleInspectRequest) XXX_Unmarshal

func (m *SdkRoleInspectRequest) XXX_Unmarshal(b []byte) error

type SdkRoleInspectResponse

type SdkRoleInspectResponse struct {
	// Role requested
	Role                 *SdkRole `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response to inspection request

func (*SdkRoleInspectResponse) Descriptor

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

func (*SdkRoleInspectResponse) GetRole

func (m *SdkRoleInspectResponse) GetRole() *SdkRole

func (*SdkRoleInspectResponse) ProtoMessage

func (*SdkRoleInspectResponse) ProtoMessage()

func (*SdkRoleInspectResponse) Reset

func (m *SdkRoleInspectResponse) Reset()

func (*SdkRoleInspectResponse) String

func (m *SdkRoleInspectResponse) String() string

func (*SdkRoleInspectResponse) XXX_DiscardUnknown

func (m *SdkRoleInspectResponse) XXX_DiscardUnknown()

func (*SdkRoleInspectResponse) XXX_Marshal

func (m *SdkRoleInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkRoleInspectResponse) XXX_Merge

func (dst *SdkRoleInspectResponse) XXX_Merge(src proto.Message)

func (*SdkRoleInspectResponse) XXX_Size

func (m *SdkRoleInspectResponse) XXX_Size() int

func (*SdkRoleInspectResponse) XXX_Unmarshal

func (m *SdkRoleInspectResponse) XXX_Unmarshal(b []byte) error

type SdkRoleUpdateRequest

type SdkRoleUpdateRequest struct {
	// New role update
	Role                 *SdkRole `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to update an existing role

func (*SdkRoleUpdateRequest) Descriptor

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

func (*SdkRoleUpdateRequest) GetRole

func (m *SdkRoleUpdateRequest) GetRole() *SdkRole

func (*SdkRoleUpdateRequest) ProtoMessage

func (*SdkRoleUpdateRequest) ProtoMessage()

func (*SdkRoleUpdateRequest) Reset

func (m *SdkRoleUpdateRequest) Reset()

func (*SdkRoleUpdateRequest) String

func (m *SdkRoleUpdateRequest) String() string

func (*SdkRoleUpdateRequest) XXX_DiscardUnknown

func (m *SdkRoleUpdateRequest) XXX_DiscardUnknown()

func (*SdkRoleUpdateRequest) XXX_Marshal

func (m *SdkRoleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkRoleUpdateRequest) XXX_Merge

func (dst *SdkRoleUpdateRequest) XXX_Merge(src proto.Message)

func (*SdkRoleUpdateRequest) XXX_Size

func (m *SdkRoleUpdateRequest) XXX_Size() int

func (*SdkRoleUpdateRequest) XXX_Unmarshal

func (m *SdkRoleUpdateRequest) XXX_Unmarshal(b []byte) error

type SdkRoleUpdateResponse

type SdkRoleUpdateResponse struct {
	// Role updated
	Role                 *SdkRole `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response contains information about the updated role

func (*SdkRoleUpdateResponse) Descriptor

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

func (*SdkRoleUpdateResponse) GetRole

func (m *SdkRoleUpdateResponse) GetRole() *SdkRole

func (*SdkRoleUpdateResponse) ProtoMessage

func (*SdkRoleUpdateResponse) ProtoMessage()

func (*SdkRoleUpdateResponse) Reset

func (m *SdkRoleUpdateResponse) Reset()

func (*SdkRoleUpdateResponse) String

func (m *SdkRoleUpdateResponse) String() string

func (*SdkRoleUpdateResponse) XXX_DiscardUnknown

func (m *SdkRoleUpdateResponse) XXX_DiscardUnknown()

func (*SdkRoleUpdateResponse) XXX_Marshal

func (m *SdkRoleUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkRoleUpdateResponse) XXX_Merge

func (dst *SdkRoleUpdateResponse) XXX_Merge(src proto.Message)

func (*SdkRoleUpdateResponse) XXX_Size

func (m *SdkRoleUpdateResponse) XXX_Size() int

func (*SdkRoleUpdateResponse) XXX_Unmarshal

func (m *SdkRoleUpdateResponse) XXX_Unmarshal(b []byte) error

type SdkRule

type SdkRule struct {
	// The gRPC service name in `OpenStorage<service name>` in lowercase
	Services []string `protobuf:"bytes,1,rep,name=services" json:"services,omitempty"`
	// The API name in the service in lowercase
	Apis                 []string `protobuf:"bytes,2,rep,name=apis" json:"apis,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*SdkRule) GetApis

func (m *SdkRule) GetApis() []string

func (*SdkRule) GetServices

func (m *SdkRule) GetServices() []string

func (*SdkRule) ProtoMessage

func (*SdkRule) ProtoMessage()

func (*SdkRule) Reset

func (m *SdkRule) Reset()

func (*SdkRule) String

func (m *SdkRule) String() string

func (*SdkRule) XXX_DiscardUnknown

func (m *SdkRule) XXX_DiscardUnknown()

func (*SdkRule) XXX_Marshal

func (m *SdkRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkRule) XXX_Merge

func (dst *SdkRule) XXX_Merge(src proto.Message)

func (*SdkRule) XXX_Size

func (m *SdkRule) XXX_Size() int

func (*SdkRule) XXX_Unmarshal

func (m *SdkRule) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicy

type SdkSchedulePolicy struct {
	// Name of the schedule policy
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Schedule policies
	Schedules            []*SdkSchedulePolicyInterval `protobuf:"bytes,2,rep,name=schedules" json:"schedules,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

Defines a schedule policy

func (*SdkSchedulePolicy) Descriptor

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

func (*SdkSchedulePolicy) GetName

func (m *SdkSchedulePolicy) GetName() string

func (*SdkSchedulePolicy) GetSchedules

func (m *SdkSchedulePolicy) GetSchedules() []*SdkSchedulePolicyInterval

func (*SdkSchedulePolicy) ProtoMessage

func (*SdkSchedulePolicy) ProtoMessage()

func (*SdkSchedulePolicy) Reset

func (m *SdkSchedulePolicy) Reset()

func (*SdkSchedulePolicy) String

func (m *SdkSchedulePolicy) String() string

func (*SdkSchedulePolicy) XXX_DiscardUnknown

func (m *SdkSchedulePolicy) XXX_DiscardUnknown()

func (*SdkSchedulePolicy) XXX_Marshal

func (m *SdkSchedulePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicy) XXX_Merge

func (dst *SdkSchedulePolicy) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicy) XXX_Size

func (m *SdkSchedulePolicy) XXX_Size() int

func (*SdkSchedulePolicy) XXX_Unmarshal

func (m *SdkSchedulePolicy) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyCreateRequest

type SdkSchedulePolicyCreateRequest struct {
	// Schedule Policy
	SchedulePolicy       *SdkSchedulePolicy `protobuf:"bytes,1,opt,name=schedule_policy,json=schedulePolicy" json:"schedule_policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Define a schedule policy request

func (*SdkSchedulePolicyCreateRequest) Descriptor

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

func (*SdkSchedulePolicyCreateRequest) GetSchedulePolicy

func (m *SdkSchedulePolicyCreateRequest) GetSchedulePolicy() *SdkSchedulePolicy

func (*SdkSchedulePolicyCreateRequest) ProtoMessage

func (*SdkSchedulePolicyCreateRequest) ProtoMessage()

func (*SdkSchedulePolicyCreateRequest) Reset

func (m *SdkSchedulePolicyCreateRequest) Reset()

func (*SdkSchedulePolicyCreateRequest) String

func (*SdkSchedulePolicyCreateRequest) XXX_DiscardUnknown

func (m *SdkSchedulePolicyCreateRequest) XXX_DiscardUnknown()

func (*SdkSchedulePolicyCreateRequest) XXX_Marshal

func (m *SdkSchedulePolicyCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyCreateRequest) XXX_Merge

func (dst *SdkSchedulePolicyCreateRequest) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyCreateRequest) XXX_Size

func (m *SdkSchedulePolicyCreateRequest) XXX_Size() int

func (*SdkSchedulePolicyCreateRequest) XXX_Unmarshal

func (m *SdkSchedulePolicyCreateRequest) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyCreateResponse

type SdkSchedulePolicyCreateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkSchedulePolicyCreateResponse) Descriptor

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

func (*SdkSchedulePolicyCreateResponse) ProtoMessage

func (*SdkSchedulePolicyCreateResponse) ProtoMessage()

func (*SdkSchedulePolicyCreateResponse) Reset

func (*SdkSchedulePolicyCreateResponse) String

func (*SdkSchedulePolicyCreateResponse) XXX_DiscardUnknown

func (m *SdkSchedulePolicyCreateResponse) XXX_DiscardUnknown()

func (*SdkSchedulePolicyCreateResponse) XXX_Marshal

func (m *SdkSchedulePolicyCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyCreateResponse) XXX_Merge

func (dst *SdkSchedulePolicyCreateResponse) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyCreateResponse) XXX_Size

func (m *SdkSchedulePolicyCreateResponse) XXX_Size() int

func (*SdkSchedulePolicyCreateResponse) XXX_Unmarshal

func (m *SdkSchedulePolicyCreateResponse) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyDeleteRequest

type SdkSchedulePolicyDeleteRequest struct {
	// Name of the schedule policy
	Name                 string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Define schedule policy deletion request

func (*SdkSchedulePolicyDeleteRequest) Descriptor

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

func (*SdkSchedulePolicyDeleteRequest) GetName

func (*SdkSchedulePolicyDeleteRequest) ProtoMessage

func (*SdkSchedulePolicyDeleteRequest) ProtoMessage()

func (*SdkSchedulePolicyDeleteRequest) Reset

func (m *SdkSchedulePolicyDeleteRequest) Reset()

func (*SdkSchedulePolicyDeleteRequest) String

func (*SdkSchedulePolicyDeleteRequest) XXX_DiscardUnknown

func (m *SdkSchedulePolicyDeleteRequest) XXX_DiscardUnknown()

func (*SdkSchedulePolicyDeleteRequest) XXX_Marshal

func (m *SdkSchedulePolicyDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyDeleteRequest) XXX_Merge

func (dst *SdkSchedulePolicyDeleteRequest) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyDeleteRequest) XXX_Size

func (m *SdkSchedulePolicyDeleteRequest) XXX_Size() int

func (*SdkSchedulePolicyDeleteRequest) XXX_Unmarshal

func (m *SdkSchedulePolicyDeleteRequest) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyDeleteResponse

type SdkSchedulePolicyDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkSchedulePolicyDeleteResponse) Descriptor

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

func (*SdkSchedulePolicyDeleteResponse) ProtoMessage

func (*SdkSchedulePolicyDeleteResponse) ProtoMessage()

func (*SdkSchedulePolicyDeleteResponse) Reset

func (*SdkSchedulePolicyDeleteResponse) String

func (*SdkSchedulePolicyDeleteResponse) XXX_DiscardUnknown

func (m *SdkSchedulePolicyDeleteResponse) XXX_DiscardUnknown()

func (*SdkSchedulePolicyDeleteResponse) XXX_Marshal

func (m *SdkSchedulePolicyDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyDeleteResponse) XXX_Merge

func (dst *SdkSchedulePolicyDeleteResponse) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyDeleteResponse) XXX_Size

func (m *SdkSchedulePolicyDeleteResponse) XXX_Size() int

func (*SdkSchedulePolicyDeleteResponse) XXX_Unmarshal

func (m *SdkSchedulePolicyDeleteResponse) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyEnumerateRequest

type SdkSchedulePolicyEnumerateRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty request

func (*SdkSchedulePolicyEnumerateRequest) Descriptor

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

func (*SdkSchedulePolicyEnumerateRequest) ProtoMessage

func (*SdkSchedulePolicyEnumerateRequest) ProtoMessage()

func (*SdkSchedulePolicyEnumerateRequest) Reset

func (*SdkSchedulePolicyEnumerateRequest) String

func (*SdkSchedulePolicyEnumerateRequest) XXX_DiscardUnknown

func (m *SdkSchedulePolicyEnumerateRequest) XXX_DiscardUnknown()

func (*SdkSchedulePolicyEnumerateRequest) XXX_Marshal

func (m *SdkSchedulePolicyEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyEnumerateRequest) XXX_Merge

func (dst *SdkSchedulePolicyEnumerateRequest) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyEnumerateRequest) XXX_Size

func (m *SdkSchedulePolicyEnumerateRequest) XXX_Size() int

func (*SdkSchedulePolicyEnumerateRequest) XXX_Unmarshal

func (m *SdkSchedulePolicyEnumerateRequest) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyEnumerateResponse

type SdkSchedulePolicyEnumerateResponse struct {
	// List of Schedule Policy
	Policies             []*SdkSchedulePolicy `protobuf:"bytes,1,rep,name=policies" json:"policies,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Defines a schedule policy enumerate response

func (*SdkSchedulePolicyEnumerateResponse) Descriptor

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

func (*SdkSchedulePolicyEnumerateResponse) GetPolicies

func (*SdkSchedulePolicyEnumerateResponse) ProtoMessage

func (*SdkSchedulePolicyEnumerateResponse) ProtoMessage()

func (*SdkSchedulePolicyEnumerateResponse) Reset

func (*SdkSchedulePolicyEnumerateResponse) String

func (*SdkSchedulePolicyEnumerateResponse) XXX_DiscardUnknown

func (m *SdkSchedulePolicyEnumerateResponse) XXX_DiscardUnknown()

func (*SdkSchedulePolicyEnumerateResponse) XXX_Marshal

func (m *SdkSchedulePolicyEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyEnumerateResponse) XXX_Merge

func (dst *SdkSchedulePolicyEnumerateResponse) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyEnumerateResponse) XXX_Size

func (*SdkSchedulePolicyEnumerateResponse) XXX_Unmarshal

func (m *SdkSchedulePolicyEnumerateResponse) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyInspectRequest

type SdkSchedulePolicyInspectRequest struct {
	// Name of the schedule Policy
	Name                 string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Define a schedule policy inspection request

func (*SdkSchedulePolicyInspectRequest) Descriptor

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

func (*SdkSchedulePolicyInspectRequest) GetName

func (*SdkSchedulePolicyInspectRequest) ProtoMessage

func (*SdkSchedulePolicyInspectRequest) ProtoMessage()

func (*SdkSchedulePolicyInspectRequest) Reset

func (*SdkSchedulePolicyInspectRequest) String

func (*SdkSchedulePolicyInspectRequest) XXX_DiscardUnknown

func (m *SdkSchedulePolicyInspectRequest) XXX_DiscardUnknown()

func (*SdkSchedulePolicyInspectRequest) XXX_Marshal

func (m *SdkSchedulePolicyInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyInspectRequest) XXX_Merge

func (dst *SdkSchedulePolicyInspectRequest) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyInspectRequest) XXX_Size

func (m *SdkSchedulePolicyInspectRequest) XXX_Size() int

func (*SdkSchedulePolicyInspectRequest) XXX_Unmarshal

func (m *SdkSchedulePolicyInspectRequest) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyInspectResponse

type SdkSchedulePolicyInspectResponse struct {
	// List of Schedule Policy
	Policy               *SdkSchedulePolicy `protobuf:"bytes,1,opt,name=policy" json:"policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Defines a schedule policy inspection response

func (*SdkSchedulePolicyInspectResponse) Descriptor

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

func (*SdkSchedulePolicyInspectResponse) GetPolicy

func (*SdkSchedulePolicyInspectResponse) ProtoMessage

func (*SdkSchedulePolicyInspectResponse) ProtoMessage()

func (*SdkSchedulePolicyInspectResponse) Reset

func (*SdkSchedulePolicyInspectResponse) String

func (*SdkSchedulePolicyInspectResponse) XXX_DiscardUnknown

func (m *SdkSchedulePolicyInspectResponse) XXX_DiscardUnknown()

func (*SdkSchedulePolicyInspectResponse) XXX_Marshal

func (m *SdkSchedulePolicyInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyInspectResponse) XXX_Merge

func (dst *SdkSchedulePolicyInspectResponse) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyInspectResponse) XXX_Size

func (m *SdkSchedulePolicyInspectResponse) XXX_Size() int

func (*SdkSchedulePolicyInspectResponse) XXX_Unmarshal

func (m *SdkSchedulePolicyInspectResponse) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyInterval

type SdkSchedulePolicyInterval struct {
	// Number of instances to retain
	Retain int64 `protobuf:"varint,1,opt,name=retain" json:"retain,omitempty"`
	// Start oneof at field number 200 to allow for expansion
	//
	// Types that are valid to be assigned to PeriodType:
	//	*SdkSchedulePolicyInterval_Daily
	//	*SdkSchedulePolicyInterval_Weekly
	//	*SdkSchedulePolicyInterval_Monthly
	//	*SdkSchedulePolicyInterval_Periodic
	PeriodType           isSdkSchedulePolicyInterval_PeriodType `protobuf_oneof:"period_type"`
	XXX_NoUnkeyedLiteral struct{}                               `json:"-"`
	XXX_unrecognized     []byte                                 `json:"-"`
	XXX_sizecache        int32                                  `json:"-"`
}

Defines a schedule policy interval

func (*SdkSchedulePolicyInterval) Descriptor

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

func (*SdkSchedulePolicyInterval) GetDaily

func (*SdkSchedulePolicyInterval) GetMonthly

func (*SdkSchedulePolicyInterval) GetPeriodType

func (m *SdkSchedulePolicyInterval) GetPeriodType() isSdkSchedulePolicyInterval_PeriodType

func (*SdkSchedulePolicyInterval) GetPeriodic

func (*SdkSchedulePolicyInterval) GetRetain

func (m *SdkSchedulePolicyInterval) GetRetain() int64

func (*SdkSchedulePolicyInterval) GetWeekly

func (*SdkSchedulePolicyInterval) ProtoMessage

func (*SdkSchedulePolicyInterval) ProtoMessage()

func (*SdkSchedulePolicyInterval) Reset

func (m *SdkSchedulePolicyInterval) Reset()

func (*SdkSchedulePolicyInterval) String

func (m *SdkSchedulePolicyInterval) String() string

func (*SdkSchedulePolicyInterval) XXX_DiscardUnknown

func (m *SdkSchedulePolicyInterval) XXX_DiscardUnknown()

func (*SdkSchedulePolicyInterval) XXX_Marshal

func (m *SdkSchedulePolicyInterval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyInterval) XXX_Merge

func (dst *SdkSchedulePolicyInterval) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyInterval) XXX_OneofFuncs

func (*SdkSchedulePolicyInterval) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*SdkSchedulePolicyInterval) XXX_Size

func (m *SdkSchedulePolicyInterval) XXX_Size() int

func (*SdkSchedulePolicyInterval) XXX_Unmarshal

func (m *SdkSchedulePolicyInterval) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyIntervalDaily

type SdkSchedulePolicyIntervalDaily struct {
	// Range: 0-23
	Hour int32 `protobuf:"varint,1,opt,name=hour" json:"hour,omitempty"`
	// Range: 0-59
	Minute               int32    `protobuf:"varint,2,opt,name=minute" json:"minute,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a daily schedule

func (*SdkSchedulePolicyIntervalDaily) Descriptor

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

func (*SdkSchedulePolicyIntervalDaily) GetHour

func (*SdkSchedulePolicyIntervalDaily) GetMinute

func (m *SdkSchedulePolicyIntervalDaily) GetMinute() int32

func (*SdkSchedulePolicyIntervalDaily) ProtoMessage

func (*SdkSchedulePolicyIntervalDaily) ProtoMessage()

func (*SdkSchedulePolicyIntervalDaily) Reset

func (m *SdkSchedulePolicyIntervalDaily) Reset()

func (*SdkSchedulePolicyIntervalDaily) String

func (*SdkSchedulePolicyIntervalDaily) XXX_DiscardUnknown

func (m *SdkSchedulePolicyIntervalDaily) XXX_DiscardUnknown()

func (*SdkSchedulePolicyIntervalDaily) XXX_Marshal

func (m *SdkSchedulePolicyIntervalDaily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyIntervalDaily) XXX_Merge

func (dst *SdkSchedulePolicyIntervalDaily) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyIntervalDaily) XXX_Size

func (m *SdkSchedulePolicyIntervalDaily) XXX_Size() int

func (*SdkSchedulePolicyIntervalDaily) XXX_Unmarshal

func (m *SdkSchedulePolicyIntervalDaily) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyIntervalMonthly

type SdkSchedulePolicyIntervalMonthly struct {
	// Range: 1-28
	Day int32 `protobuf:"varint,1,opt,name=day" json:"day,omitempty"`
	// Range: 0-59
	Hour int32 `protobuf:"varint,2,opt,name=hour" json:"hour,omitempty"`
	// Range: 0-59
	Minute               int32    `protobuf:"varint,3,opt,name=minute" json:"minute,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a monthly schedule

func (*SdkSchedulePolicyIntervalMonthly) Descriptor

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

func (*SdkSchedulePolicyIntervalMonthly) GetDay

func (*SdkSchedulePolicyIntervalMonthly) GetHour

func (*SdkSchedulePolicyIntervalMonthly) GetMinute

func (m *SdkSchedulePolicyIntervalMonthly) GetMinute() int32

func (*SdkSchedulePolicyIntervalMonthly) ProtoMessage

func (*SdkSchedulePolicyIntervalMonthly) ProtoMessage()

func (*SdkSchedulePolicyIntervalMonthly) Reset

func (*SdkSchedulePolicyIntervalMonthly) String

func (*SdkSchedulePolicyIntervalMonthly) XXX_DiscardUnknown

func (m *SdkSchedulePolicyIntervalMonthly) XXX_DiscardUnknown()

func (*SdkSchedulePolicyIntervalMonthly) XXX_Marshal

func (m *SdkSchedulePolicyIntervalMonthly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyIntervalMonthly) XXX_Merge

func (dst *SdkSchedulePolicyIntervalMonthly) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyIntervalMonthly) XXX_Size

func (m *SdkSchedulePolicyIntervalMonthly) XXX_Size() int

func (*SdkSchedulePolicyIntervalMonthly) XXX_Unmarshal

func (m *SdkSchedulePolicyIntervalMonthly) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyIntervalPeriodic

type SdkSchedulePolicyIntervalPeriodic struct {
	// Specify the number of seconds between intervals
	Seconds              int64    `protobuf:"varint,1,opt,name=seconds" json:"seconds,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a periodic schedule

func (*SdkSchedulePolicyIntervalPeriodic) Descriptor

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

func (*SdkSchedulePolicyIntervalPeriodic) GetSeconds

func (m *SdkSchedulePolicyIntervalPeriodic) GetSeconds() int64

func (*SdkSchedulePolicyIntervalPeriodic) ProtoMessage

func (*SdkSchedulePolicyIntervalPeriodic) ProtoMessage()

func (*SdkSchedulePolicyIntervalPeriodic) Reset

func (*SdkSchedulePolicyIntervalPeriodic) String

func (*SdkSchedulePolicyIntervalPeriodic) XXX_DiscardUnknown

func (m *SdkSchedulePolicyIntervalPeriodic) XXX_DiscardUnknown()

func (*SdkSchedulePolicyIntervalPeriodic) XXX_Marshal

func (m *SdkSchedulePolicyIntervalPeriodic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyIntervalPeriodic) XXX_Merge

func (dst *SdkSchedulePolicyIntervalPeriodic) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyIntervalPeriodic) XXX_Size

func (m *SdkSchedulePolicyIntervalPeriodic) XXX_Size() int

func (*SdkSchedulePolicyIntervalPeriodic) XXX_Unmarshal

func (m *SdkSchedulePolicyIntervalPeriodic) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyIntervalWeekly

type SdkSchedulePolicyIntervalWeekly struct {
	Day SdkTimeWeekday `protobuf:"varint,1,opt,name=day,enum=openstorage.api.SdkTimeWeekday" json:"day,omitempty"`
	// Range: 0-23
	Hour int32 `protobuf:"varint,2,opt,name=hour" json:"hour,omitempty"`
	// Range: 0-59
	Minute               int32    `protobuf:"varint,3,opt,name=minute" json:"minute,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a weekly schedule

func (*SdkSchedulePolicyIntervalWeekly) Descriptor

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

func (*SdkSchedulePolicyIntervalWeekly) GetDay

func (*SdkSchedulePolicyIntervalWeekly) GetHour

func (*SdkSchedulePolicyIntervalWeekly) GetMinute

func (m *SdkSchedulePolicyIntervalWeekly) GetMinute() int32

func (*SdkSchedulePolicyIntervalWeekly) ProtoMessage

func (*SdkSchedulePolicyIntervalWeekly) ProtoMessage()

func (*SdkSchedulePolicyIntervalWeekly) Reset

func (*SdkSchedulePolicyIntervalWeekly) String

func (*SdkSchedulePolicyIntervalWeekly) XXX_DiscardUnknown

func (m *SdkSchedulePolicyIntervalWeekly) XXX_DiscardUnknown()

func (*SdkSchedulePolicyIntervalWeekly) XXX_Marshal

func (m *SdkSchedulePolicyIntervalWeekly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyIntervalWeekly) XXX_Merge

func (dst *SdkSchedulePolicyIntervalWeekly) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyIntervalWeekly) XXX_Size

func (m *SdkSchedulePolicyIntervalWeekly) XXX_Size() int

func (*SdkSchedulePolicyIntervalWeekly) XXX_Unmarshal

func (m *SdkSchedulePolicyIntervalWeekly) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyInterval_Daily

type SdkSchedulePolicyInterval_Daily struct {
	Daily *SdkSchedulePolicyIntervalDaily `protobuf:"bytes,200,opt,name=daily,oneof"`
}

type SdkSchedulePolicyInterval_Monthly

type SdkSchedulePolicyInterval_Monthly struct {
	Monthly *SdkSchedulePolicyIntervalMonthly `protobuf:"bytes,202,opt,name=monthly,oneof"`
}

type SdkSchedulePolicyInterval_Periodic

type SdkSchedulePolicyInterval_Periodic struct {
	Periodic *SdkSchedulePolicyIntervalPeriodic `protobuf:"bytes,203,opt,name=periodic,oneof"`
}

type SdkSchedulePolicyInterval_Weekly

type SdkSchedulePolicyInterval_Weekly struct {
	Weekly *SdkSchedulePolicyIntervalWeekly `protobuf:"bytes,201,opt,name=weekly,oneof"`
}

type SdkSchedulePolicyUpdateRequest

type SdkSchedulePolicyUpdateRequest struct {
	// Schedule Policy
	SchedulePolicy       *SdkSchedulePolicy `protobuf:"bytes,1,opt,name=schedule_policy,json=schedulePolicy" json:"schedule_policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Define a request to update a schedule policy

func (*SdkSchedulePolicyUpdateRequest) Descriptor

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

func (*SdkSchedulePolicyUpdateRequest) GetSchedulePolicy

func (m *SdkSchedulePolicyUpdateRequest) GetSchedulePolicy() *SdkSchedulePolicy

func (*SdkSchedulePolicyUpdateRequest) ProtoMessage

func (*SdkSchedulePolicyUpdateRequest) ProtoMessage()

func (*SdkSchedulePolicyUpdateRequest) Reset

func (m *SdkSchedulePolicyUpdateRequest) Reset()

func (*SdkSchedulePolicyUpdateRequest) String

func (*SdkSchedulePolicyUpdateRequest) XXX_DiscardUnknown

func (m *SdkSchedulePolicyUpdateRequest) XXX_DiscardUnknown()

func (*SdkSchedulePolicyUpdateRequest) XXX_Marshal

func (m *SdkSchedulePolicyUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyUpdateRequest) XXX_Merge

func (dst *SdkSchedulePolicyUpdateRequest) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyUpdateRequest) XXX_Size

func (m *SdkSchedulePolicyUpdateRequest) XXX_Size() int

func (*SdkSchedulePolicyUpdateRequest) XXX_Unmarshal

func (m *SdkSchedulePolicyUpdateRequest) XXX_Unmarshal(b []byte) error

type SdkSchedulePolicyUpdateResponse

type SdkSchedulePolicyUpdateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkSchedulePolicyUpdateResponse) Descriptor

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

func (*SdkSchedulePolicyUpdateResponse) ProtoMessage

func (*SdkSchedulePolicyUpdateResponse) ProtoMessage()

func (*SdkSchedulePolicyUpdateResponse) Reset

func (*SdkSchedulePolicyUpdateResponse) String

func (*SdkSchedulePolicyUpdateResponse) XXX_DiscardUnknown

func (m *SdkSchedulePolicyUpdateResponse) XXX_DiscardUnknown()

func (*SdkSchedulePolicyUpdateResponse) XXX_Marshal

func (m *SdkSchedulePolicyUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkSchedulePolicyUpdateResponse) XXX_Merge

func (dst *SdkSchedulePolicyUpdateResponse) XXX_Merge(src proto.Message)

func (*SdkSchedulePolicyUpdateResponse) XXX_Size

func (m *SdkSchedulePolicyUpdateResponse) XXX_Size() int

func (*SdkSchedulePolicyUpdateResponse) XXX_Unmarshal

func (m *SdkSchedulePolicyUpdateResponse) XXX_Unmarshal(b []byte) error

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 valid to be assigned to Type:
	//	*SdkServiceCapability_Service
	Type                 isSdkServiceCapability_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Defines a capability of he cluster

func (*SdkServiceCapability) Descriptor

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

func (*SdkServiceCapability) GetService

func (*SdkServiceCapability) GetType

func (m *SdkServiceCapability) GetType() isSdkServiceCapability_Type

func (*SdkServiceCapability) ProtoMessage

func (*SdkServiceCapability) ProtoMessage()

func (*SdkServiceCapability) Reset

func (m *SdkServiceCapability) Reset()

func (*SdkServiceCapability) String

func (m *SdkServiceCapability) String() string

func (*SdkServiceCapability) XXX_DiscardUnknown

func (m *SdkServiceCapability) XXX_DiscardUnknown()

func (*SdkServiceCapability) XXX_Marshal

func (m *SdkServiceCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkServiceCapability) XXX_Merge

func (dst *SdkServiceCapability) XXX_Merge(src proto.Message)

func (*SdkServiceCapability) XXX_OneofFuncs

func (*SdkServiceCapability) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*SdkServiceCapability) XXX_Size

func (m *SdkServiceCapability) XXX_Size() int

func (*SdkServiceCapability) XXX_Unmarshal

func (m *SdkServiceCapability) XXX_Unmarshal(b []byte) error

type SdkServiceCapability_OpenStorageService

type SdkServiceCapability_OpenStorageService struct {
	// Type of service supported
	Type                 SdkServiceCapability_OpenStorageService_Type `protobuf:"varint,1,opt,name=type,enum=openstorage.api.SdkServiceCapability_OpenStorageService_Type" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
	XXX_unrecognized     []byte                                       `json:"-"`
	XXX_sizecache        int32                                        `json:"-"`
}

func (*SdkServiceCapability_OpenStorageService) Descriptor

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

func (*SdkServiceCapability_OpenStorageService) GetType

func (*SdkServiceCapability_OpenStorageService) ProtoMessage

func (*SdkServiceCapability_OpenStorageService) Reset

func (*SdkServiceCapability_OpenStorageService) String

func (*SdkServiceCapability_OpenStorageService) XXX_DiscardUnknown

func (m *SdkServiceCapability_OpenStorageService) XXX_DiscardUnknown()

func (*SdkServiceCapability_OpenStorageService) XXX_Marshal

func (m *SdkServiceCapability_OpenStorageService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkServiceCapability_OpenStorageService) XXX_Merge

func (*SdkServiceCapability_OpenStorageService) XXX_Size

func (*SdkServiceCapability_OpenStorageService) XXX_Unmarshal

func (m *SdkServiceCapability_OpenStorageService) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (SdkServiceCapability_OpenStorageService_Type) String

type SdkServiceCapability_Service

type SdkServiceCapability_Service struct {
	Service *SdkServiceCapability_OpenStorageService `protobuf:"bytes,1,opt,name=service,oneof"`
}

type SdkStoragePolicy

type SdkStoragePolicy struct {
	// Name of storage policy.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// VolumeSpecs to apply while creating volume.
	Policy *VolumeSpecPolicy `protobuf:"bytes,2,opt,name=policy" 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" 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" json:"allow_update,omitempty"`
	// Owner info of storage policy
	Ownership            *Ownership `protobuf:"bytes,5,opt,name=ownership" json:"ownership,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

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

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

func (*SdkStoragePolicy) GetAllowUpdate

func (m *SdkStoragePolicy) GetAllowUpdate() bool

func (*SdkStoragePolicy) GetForce

func (m *SdkStoragePolicy) GetForce() bool

func (*SdkStoragePolicy) GetName

func (m *SdkStoragePolicy) GetName() string

func (*SdkStoragePolicy) GetOwnership

func (m *SdkStoragePolicy) GetOwnership() *Ownership

func (*SdkStoragePolicy) GetPolicy

func (m *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) Reset

func (m *SdkStoragePolicy) Reset()

func (*SdkStoragePolicy) String

func (m *SdkStoragePolicy) String() string

func (*SdkStoragePolicy) XXX_DiscardUnknown

func (m *SdkStoragePolicy) XXX_DiscardUnknown()

func (*SdkStoragePolicy) XXX_Marshal

func (m *SdkStoragePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkStoragePolicy) XXX_Merge

func (dst *SdkStoragePolicy) XXX_Merge(src proto.Message)

func (*SdkStoragePolicy) XXX_Size

func (m *SdkStoragePolicy) XXX_Size() int

func (*SdkStoragePolicy) XXX_Unmarshal

func (m *SdkStoragePolicy) XXX_Unmarshal(b []byte) error

type SdkStoragePool

type SdkStoragePool struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SdkStoragePool) Descriptor

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

func (*SdkStoragePool) ProtoMessage

func (*SdkStoragePool) ProtoMessage()

func (*SdkStoragePool) Reset

func (m *SdkStoragePool) Reset()

func (*SdkStoragePool) String

func (m *SdkStoragePool) String() string

func (*SdkStoragePool) XXX_DiscardUnknown

func (m *SdkStoragePool) XXX_DiscardUnknown()

func (*SdkStoragePool) XXX_Marshal

func (m *SdkStoragePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkStoragePool) XXX_Merge

func (dst *SdkStoragePool) XXX_Merge(src proto.Message)

func (*SdkStoragePool) XXX_Size

func (m *SdkStoragePool) XXX_Size() int

func (*SdkStoragePool) XXX_Unmarshal

func (m *SdkStoragePool) XXX_Unmarshal(b []byte) error

type SdkStoragePoolResizeRequest

type SdkStoragePoolResizeRequest struct {
	// UUID of the storage pool to inspect
	Uuid string `protobuf:"bytes,1,opt,name=uuid" 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 valid to be assigned 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 `` /* 150-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     `` /* 130-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

Defines a request when inspect a storage pool

func (*SdkStoragePoolResizeRequest) Descriptor

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

func (*SdkStoragePoolResizeRequest) GetOperationType

func (*SdkStoragePoolResizeRequest) GetPercentage

func (m *SdkStoragePoolResizeRequest) GetPercentage() uint64

func (*SdkStoragePoolResizeRequest) GetResizeFactor

func (m *SdkStoragePoolResizeRequest) GetResizeFactor() isSdkStoragePoolResizeRequest_ResizeFactor

func (*SdkStoragePoolResizeRequest) GetSize

func (m *SdkStoragePoolResizeRequest) GetSize() uint64

func (*SdkStoragePoolResizeRequest) GetSkipWaitForCleanVolumes

func (m *SdkStoragePoolResizeRequest) GetSkipWaitForCleanVolumes() bool

func (*SdkStoragePoolResizeRequest) GetUuid

func (m *SdkStoragePoolResizeRequest) GetUuid() string

func (*SdkStoragePoolResizeRequest) ProtoMessage

func (*SdkStoragePoolResizeRequest) ProtoMessage()

func (*SdkStoragePoolResizeRequest) Reset

func (m *SdkStoragePoolResizeRequest) Reset()

func (*SdkStoragePoolResizeRequest) String

func (m *SdkStoragePoolResizeRequest) String() string

func (*SdkStoragePoolResizeRequest) XXX_DiscardUnknown

func (m *SdkStoragePoolResizeRequest) XXX_DiscardUnknown()

func (*SdkStoragePoolResizeRequest) XXX_Marshal

func (m *SdkStoragePoolResizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkStoragePoolResizeRequest) XXX_Merge

func (dst *SdkStoragePoolResizeRequest) XXX_Merge(src proto.Message)

func (*SdkStoragePoolResizeRequest) XXX_OneofFuncs

func (*SdkStoragePoolResizeRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*SdkStoragePoolResizeRequest) XXX_Size

func (m *SdkStoragePoolResizeRequest) XXX_Size() int

func (*SdkStoragePoolResizeRequest) XXX_Unmarshal

func (m *SdkStoragePoolResizeRequest) XXX_Unmarshal(b []byte) error

type SdkStoragePoolResizeRequest_Percentage

type SdkStoragePoolResizeRequest_Percentage struct {
	Percentage uint64 `protobuf:"varint,201,opt,name=percentage,oneof"`
}

type SdkStoragePoolResizeRequest_Size

type SdkStoragePoolResizeRequest_Size struct {
	Size uint64 `protobuf:"varint,200,opt,name=size,oneof"`
}

type SdkStoragePoolResizeResponse

type SdkStoragePoolResizeResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response when resizing a storage pool

func (*SdkStoragePoolResizeResponse) Descriptor

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

func (*SdkStoragePoolResizeResponse) ProtoMessage

func (*SdkStoragePoolResizeResponse) ProtoMessage()

func (*SdkStoragePoolResizeResponse) Reset

func (m *SdkStoragePoolResizeResponse) Reset()

func (*SdkStoragePoolResizeResponse) String

func (*SdkStoragePoolResizeResponse) XXX_DiscardUnknown

func (m *SdkStoragePoolResizeResponse) XXX_DiscardUnknown()

func (*SdkStoragePoolResizeResponse) XXX_Marshal

func (m *SdkStoragePoolResizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkStoragePoolResizeResponse) XXX_Merge

func (dst *SdkStoragePoolResizeResponse) XXX_Merge(src proto.Message)

func (*SdkStoragePoolResizeResponse) XXX_Size

func (m *SdkStoragePoolResizeResponse) XXX_Size() int

func (*SdkStoragePoolResizeResponse) XXX_Unmarshal

func (m *SdkStoragePoolResizeResponse) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (SdkStoragePool_OperationStatus) String

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) EnumDescriptor

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

func (SdkStoragePool_OperationType) String

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) EnumDescriptor

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

func (SdkStoragePool_ResizeOperationType) String

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" 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" 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" 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" 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" json:"max_duration_minutes,omitempty"`
	// RemoveRepl1Snapshots if true will instruct rebalance job to remove repl-1 snapshots
	RemoveRepl_1Snapshots bool     `protobuf:"varint,6,opt,name=remove_repl_1_snapshots,json=removeRepl1Snapshots" json:"remove_repl_1_snapshots,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (*SdkStorageRebalanceRequest) Descriptor

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

func (*SdkStorageRebalanceRequest) GetMaxDurationMinutes

func (m *SdkStorageRebalanceRequest) GetMaxDurationMinutes() uint64

func (*SdkStorageRebalanceRequest) GetRemoveRepl_1Snapshots

func (m *SdkStorageRebalanceRequest) GetRemoveRepl_1Snapshots() bool

func (*SdkStorageRebalanceRequest) GetSourcePoolSelector

func (m *SdkStorageRebalanceRequest) GetSourcePoolSelector() []*LabelSelectorRequirement

func (*SdkStorageRebalanceRequest) GetTargetPoolSelector

func (m *SdkStorageRebalanceRequest) GetTargetPoolSelector() []*LabelSelectorRequirement

func (*SdkStorageRebalanceRequest) GetTrialRun

func (m *SdkStorageRebalanceRequest) GetTrialRun() bool

func (*SdkStorageRebalanceRequest) GetTriggerThresholds

func (m *SdkStorageRebalanceRequest) GetTriggerThresholds() []*StorageRebalanceTriggerThreshold

func (*SdkStorageRebalanceRequest) ProtoMessage

func (*SdkStorageRebalanceRequest) ProtoMessage()

func (*SdkStorageRebalanceRequest) Reset

func (m *SdkStorageRebalanceRequest) Reset()

func (*SdkStorageRebalanceRequest) String

func (m *SdkStorageRebalanceRequest) String() string

func (*SdkStorageRebalanceRequest) XXX_DiscardUnknown

func (m *SdkStorageRebalanceRequest) XXX_DiscardUnknown()

func (*SdkStorageRebalanceRequest) XXX_Marshal

func (m *SdkStorageRebalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkStorageRebalanceRequest) XXX_Merge

func (dst *SdkStorageRebalanceRequest) XXX_Merge(src proto.Message)

func (*SdkStorageRebalanceRequest) XXX_Size

func (m *SdkStorageRebalanceRequest) XXX_Size() int

func (*SdkStorageRebalanceRequest) XXX_Unmarshal

func (m *SdkStorageRebalanceRequest) XXX_Unmarshal(b []byte) error

type SdkStorageRebalanceResponse

type SdkStorageRebalanceResponse struct {
	// Job for this rebalance
	Job *StorageRebalanceJob `protobuf:"bytes,1,opt,name=job" json:"job,omitempty"`
	// Summary summarizes the rebalance job
	Summary *StorageRebalanceSummary `protobuf:"bytes,2,opt,name=summary" json:"summary,omitempty"`
	// Actions describe all the actions taken during this rebalance
	Actions              []*StorageRebalanceAudit `protobuf:"bytes,3,rep,name=actions" json:"actions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

SdkStorageRebalanceResponse is the response to a storage rebalance request

func (*SdkStorageRebalanceResponse) Descriptor

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

func (*SdkStorageRebalanceResponse) GetActions

func (*SdkStorageRebalanceResponse) GetJob

func (*SdkStorageRebalanceResponse) GetSummary

func (*SdkStorageRebalanceResponse) ProtoMessage

func (*SdkStorageRebalanceResponse) ProtoMessage()

func (*SdkStorageRebalanceResponse) Reset

func (m *SdkStorageRebalanceResponse) Reset()

func (*SdkStorageRebalanceResponse) String

func (m *SdkStorageRebalanceResponse) String() string

func (*SdkStorageRebalanceResponse) XXX_DiscardUnknown

func (m *SdkStorageRebalanceResponse) XXX_DiscardUnknown()

func (*SdkStorageRebalanceResponse) XXX_Marshal

func (m *SdkStorageRebalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkStorageRebalanceResponse) XXX_Merge

func (dst *SdkStorageRebalanceResponse) XXX_Merge(src proto.Message)

func (*SdkStorageRebalanceResponse) XXX_Size

func (m *SdkStorageRebalanceResponse) XXX_Size() int

func (*SdkStorageRebalanceResponse) XXX_Unmarshal

func (m *SdkStorageRebalanceResponse) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (SdkTimeWeekday) String

func (x SdkTimeWeekday) String() string

type SdkUpdateJobRequest

type SdkUpdateJobRequest struct {
	// ID of the job
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Type of the job
	Type Job_Type `protobuf:"varint,2,opt,name=type,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,enum=openstorage.api.Job_State" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Defines a request to update an existing job

func (*SdkUpdateJobRequest) Descriptor

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

func (*SdkUpdateJobRequest) GetId

func (m *SdkUpdateJobRequest) GetId() string

func (*SdkUpdateJobRequest) GetState

func (m *SdkUpdateJobRequest) GetState() Job_State

func (*SdkUpdateJobRequest) GetType

func (m *SdkUpdateJobRequest) GetType() Job_Type

func (*SdkUpdateJobRequest) ProtoMessage

func (*SdkUpdateJobRequest) ProtoMessage()

func (*SdkUpdateJobRequest) Reset

func (m *SdkUpdateJobRequest) Reset()

func (*SdkUpdateJobRequest) String

func (m *SdkUpdateJobRequest) String() string

func (*SdkUpdateJobRequest) XXX_DiscardUnknown

func (m *SdkUpdateJobRequest) XXX_DiscardUnknown()

func (*SdkUpdateJobRequest) XXX_Marshal

func (m *SdkUpdateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkUpdateJobRequest) XXX_Merge

func (dst *SdkUpdateJobRequest) XXX_Merge(src proto.Message)

func (*SdkUpdateJobRequest) XXX_Size

func (m *SdkUpdateJobRequest) XXX_Size() int

func (*SdkUpdateJobRequest) XXX_Unmarshal

func (m *SdkUpdateJobRequest) XXX_Unmarshal(b []byte) error

type SdkUpdateJobResponse

type SdkUpdateJobResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines the response for an update to an existing job

func (*SdkUpdateJobResponse) Descriptor

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

func (*SdkUpdateJobResponse) ProtoMessage

func (*SdkUpdateJobResponse) ProtoMessage()

func (*SdkUpdateJobResponse) Reset

func (m *SdkUpdateJobResponse) Reset()

func (*SdkUpdateJobResponse) String

func (m *SdkUpdateJobResponse) String() string

func (*SdkUpdateJobResponse) XXX_DiscardUnknown

func (m *SdkUpdateJobResponse) XXX_DiscardUnknown()

func (*SdkUpdateJobResponse) XXX_Marshal

func (m *SdkUpdateJobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkUpdateJobResponse) XXX_Merge

func (dst *SdkUpdateJobResponse) XXX_Merge(src proto.Message)

func (*SdkUpdateJobResponse) XXX_Size

func (m *SdkUpdateJobResponse) XXX_Size() int

func (*SdkUpdateJobResponse) XXX_Unmarshal

func (m *SdkUpdateJobResponse) XXX_Unmarshal(b []byte) error

type SdkUpdateRebalanceJobRequest

type SdkUpdateRebalanceJobRequest struct {
	// ID of the rebalance job
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// State is the new task state to update the job to
	State                StorageRebalanceJobState `protobuf:"varint,2,opt,name=state,enum=openstorage.api.StorageRebalanceJobState" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*SdkUpdateRebalanceJobRequest) Descriptor

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

func (*SdkUpdateRebalanceJobRequest) GetId

func (*SdkUpdateRebalanceJobRequest) GetState

func (*SdkUpdateRebalanceJobRequest) ProtoMessage

func (*SdkUpdateRebalanceJobRequest) ProtoMessage()

func (*SdkUpdateRebalanceJobRequest) Reset

func (m *SdkUpdateRebalanceJobRequest) Reset()

func (*SdkUpdateRebalanceJobRequest) String

func (*SdkUpdateRebalanceJobRequest) XXX_DiscardUnknown

func (m *SdkUpdateRebalanceJobRequest) XXX_DiscardUnknown()

func (*SdkUpdateRebalanceJobRequest) XXX_Marshal

func (m *SdkUpdateRebalanceJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkUpdateRebalanceJobRequest) XXX_Merge

func (dst *SdkUpdateRebalanceJobRequest) XXX_Merge(src proto.Message)

func (*SdkUpdateRebalanceJobRequest) XXX_Size

func (m *SdkUpdateRebalanceJobRequest) XXX_Size() int

func (*SdkUpdateRebalanceJobRequest) XXX_Unmarshal

func (m *SdkUpdateRebalanceJobRequest) XXX_Unmarshal(b []byte) error

type SdkUpdateRebalanceJobResponse

type SdkUpdateRebalanceJobResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SdkUpdateRebalanceJobResponse) Descriptor

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

func (*SdkUpdateRebalanceJobResponse) ProtoMessage

func (*SdkUpdateRebalanceJobResponse) ProtoMessage()

func (*SdkUpdateRebalanceJobResponse) Reset

func (m *SdkUpdateRebalanceJobResponse) Reset()

func (*SdkUpdateRebalanceJobResponse) String

func (*SdkUpdateRebalanceJobResponse) XXX_DiscardUnknown

func (m *SdkUpdateRebalanceJobResponse) XXX_DiscardUnknown()

func (*SdkUpdateRebalanceJobResponse) XXX_Marshal

func (m *SdkUpdateRebalanceJobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkUpdateRebalanceJobResponse) XXX_Merge

func (dst *SdkUpdateRebalanceJobResponse) XXX_Merge(src proto.Message)

func (*SdkUpdateRebalanceJobResponse) XXX_Size

func (m *SdkUpdateRebalanceJobResponse) XXX_Size() int

func (*SdkUpdateRebalanceJobResponse) XXX_Unmarshal

func (m *SdkUpdateRebalanceJobResponse) XXX_Unmarshal(b []byte) error

type SdkVersion

type SdkVersion struct {
	// SDK version major number
	Major int32 `protobuf:"varint,1,opt,name=major" json:"major,omitempty"`
	// SDK version minor number
	Minor int32 `protobuf:"varint,2,opt,name=minor" json:"minor,omitempty"`
	// SDK version patch number
	Patch int32 `protobuf:"varint,3,opt,name=patch" json:"patch,omitempty"`
	// String representation of the SDK version. Must be
	// in `major.minor.patch` format.
	Version              string   `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*SdkVersion) GetMajor

func (m *SdkVersion) GetMajor() int32

func (*SdkVersion) GetMinor

func (m *SdkVersion) GetMinor() int32

func (*SdkVersion) GetPatch

func (m *SdkVersion) GetPatch() int32

func (*SdkVersion) GetVersion

func (m *SdkVersion) GetVersion() string

func (*SdkVersion) ProtoMessage

func (*SdkVersion) ProtoMessage()

func (*SdkVersion) Reset

func (m *SdkVersion) Reset()

func (*SdkVersion) String

func (m *SdkVersion) String() string

func (*SdkVersion) XXX_DiscardUnknown

func (m *SdkVersion) XXX_DiscardUnknown()

func (*SdkVersion) XXX_Marshal

func (m *SdkVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVersion) XXX_Merge

func (dst *SdkVersion) XXX_Merge(src proto.Message)

func (*SdkVersion) XXX_Size

func (m *SdkVersion) XXX_Size() int

func (*SdkVersion) XXX_Unmarshal

func (m *SdkVersion) XXX_Unmarshal(b []byte) error

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
	// Frozen for this branch. Bump the Patch value instead.
	SdkVersion_Minor SdkVersion_Version = 101
	// SDK version patch value of this specification
	SdkVersion_Patch SdkVersion_Version = 25
)

func (SdkVersion_Version) EnumDescriptor

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

func (SdkVersion_Version) String

func (x SdkVersion_Version) String() string

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" 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" 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" json:"secret_context,omitempty"`
	// Indicates whether fastpath needs to be enabled during attach
	Fastpath             string   `protobuf:"bytes,4,opt,name=fastpath" json:"fastpath,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Options to attach device

func (*SdkVolumeAttachOptions) Descriptor

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

func (*SdkVolumeAttachOptions) GetFastpath

func (m *SdkVolumeAttachOptions) GetFastpath() string

func (*SdkVolumeAttachOptions) GetSecretContext

func (m *SdkVolumeAttachOptions) GetSecretContext() string

func (*SdkVolumeAttachOptions) GetSecretKey

func (m *SdkVolumeAttachOptions) GetSecretKey() string

func (*SdkVolumeAttachOptions) GetSecretName

func (m *SdkVolumeAttachOptions) GetSecretName() string

func (*SdkVolumeAttachOptions) ProtoMessage

func (*SdkVolumeAttachOptions) ProtoMessage()

func (*SdkVolumeAttachOptions) Reset

func (m *SdkVolumeAttachOptions) Reset()

func (*SdkVolumeAttachOptions) String

func (m *SdkVolumeAttachOptions) String() string

func (*SdkVolumeAttachOptions) XXX_DiscardUnknown

func (m *SdkVolumeAttachOptions) XXX_DiscardUnknown()

func (*SdkVolumeAttachOptions) XXX_Marshal

func (m *SdkVolumeAttachOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeAttachOptions) XXX_Merge

func (dst *SdkVolumeAttachOptions) XXX_Merge(src proto.Message)

func (*SdkVolumeAttachOptions) XXX_Size

func (m *SdkVolumeAttachOptions) XXX_Size() int

func (*SdkVolumeAttachOptions) XXX_Unmarshal

func (m *SdkVolumeAttachOptions) XXX_Unmarshal(b []byte) error

type SdkVolumeAttachRequest

type SdkVolumeAttachRequest struct {
	// Id of volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Options to attach device
	Options *SdkVolumeAttachOptions `protobuf:"bytes,2,opt,name=options" 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 `` /* 167-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Defines a request to attach a volume to the node receiving this request

func (*SdkVolumeAttachRequest) Descriptor

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

func (*SdkVolumeAttachRequest) GetDriverOptions

func (m *SdkVolumeAttachRequest) GetDriverOptions() map[string]string

func (*SdkVolumeAttachRequest) GetOptions

func (*SdkVolumeAttachRequest) GetVolumeId

func (m *SdkVolumeAttachRequest) GetVolumeId() string

func (*SdkVolumeAttachRequest) ProtoMessage

func (*SdkVolumeAttachRequest) ProtoMessage()

func (*SdkVolumeAttachRequest) Reset

func (m *SdkVolumeAttachRequest) Reset()

func (*SdkVolumeAttachRequest) String

func (m *SdkVolumeAttachRequest) String() string

func (*SdkVolumeAttachRequest) XXX_DiscardUnknown

func (m *SdkVolumeAttachRequest) XXX_DiscardUnknown()

func (*SdkVolumeAttachRequest) XXX_Marshal

func (m *SdkVolumeAttachRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeAttachRequest) XXX_Merge

func (dst *SdkVolumeAttachRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeAttachRequest) XXX_Size

func (m *SdkVolumeAttachRequest) XXX_Size() int

func (*SdkVolumeAttachRequest) XXX_Unmarshal

func (m *SdkVolumeAttachRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeAttachResponse

type SdkVolumeAttachResponse struct {
	// Device path where device is exported
	DevicePath           string   `protobuf:"bytes,1,opt,name=device_path,json=devicePath" json:"device_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response from the node which received the request to attach

func (*SdkVolumeAttachResponse) Descriptor

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

func (*SdkVolumeAttachResponse) GetDevicePath

func (m *SdkVolumeAttachResponse) GetDevicePath() string

func (*SdkVolumeAttachResponse) ProtoMessage

func (*SdkVolumeAttachResponse) ProtoMessage()

func (*SdkVolumeAttachResponse) Reset

func (m *SdkVolumeAttachResponse) Reset()

func (*SdkVolumeAttachResponse) String

func (m *SdkVolumeAttachResponse) String() string

func (*SdkVolumeAttachResponse) XXX_DiscardUnknown

func (m *SdkVolumeAttachResponse) XXX_DiscardUnknown()

func (*SdkVolumeAttachResponse) XXX_Marshal

func (m *SdkVolumeAttachResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeAttachResponse) XXX_Merge

func (dst *SdkVolumeAttachResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeAttachResponse) XXX_Size

func (m *SdkVolumeAttachResponse) XXX_Size() int

func (*SdkVolumeAttachResponse) XXX_Unmarshal

func (m *SdkVolumeAttachResponse) XXX_Unmarshal(b []byte) error

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" json:"volume_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines request to retrieve volume/snapshot capacity usage details

func (*SdkVolumeCapacityUsageRequest) Descriptor

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

func (*SdkVolumeCapacityUsageRequest) GetVolumeId

func (m *SdkVolumeCapacityUsageRequest) GetVolumeId() string

func (*SdkVolumeCapacityUsageRequest) ProtoMessage

func (*SdkVolumeCapacityUsageRequest) ProtoMessage()

func (*SdkVolumeCapacityUsageRequest) Reset

func (m *SdkVolumeCapacityUsageRequest) Reset()

func (*SdkVolumeCapacityUsageRequest) String

func (*SdkVolumeCapacityUsageRequest) XXX_DiscardUnknown

func (m *SdkVolumeCapacityUsageRequest) XXX_DiscardUnknown()

func (*SdkVolumeCapacityUsageRequest) XXX_Marshal

func (m *SdkVolumeCapacityUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeCapacityUsageRequest) XXX_Merge

func (dst *SdkVolumeCapacityUsageRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeCapacityUsageRequest) XXX_Size

func (m *SdkVolumeCapacityUsageRequest) XXX_Size() int

func (*SdkVolumeCapacityUsageRequest) XXX_Unmarshal

func (m *SdkVolumeCapacityUsageRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeCapacityUsageResponse

type SdkVolumeCapacityUsageResponse struct {
	// CapacityUsage details
	CapacityUsageInfo    *CapacityUsageInfo `protobuf:"bytes,1,opt,name=capacity_usage_info,json=capacityUsageInfo" json:"capacity_usage_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Defines response containing volume/snapshot capacity usage details

func (*SdkVolumeCapacityUsageResponse) Descriptor

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

func (*SdkVolumeCapacityUsageResponse) GetCapacityUsageInfo

func (m *SdkVolumeCapacityUsageResponse) GetCapacityUsageInfo() *CapacityUsageInfo

func (*SdkVolumeCapacityUsageResponse) ProtoMessage

func (*SdkVolumeCapacityUsageResponse) ProtoMessage()

func (*SdkVolumeCapacityUsageResponse) Reset

func (m *SdkVolumeCapacityUsageResponse) Reset()

func (*SdkVolumeCapacityUsageResponse) String

func (*SdkVolumeCapacityUsageResponse) XXX_DiscardUnknown

func (m *SdkVolumeCapacityUsageResponse) XXX_DiscardUnknown()

func (*SdkVolumeCapacityUsageResponse) XXX_Marshal

func (m *SdkVolumeCapacityUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeCapacityUsageResponse) XXX_Merge

func (dst *SdkVolumeCapacityUsageResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeCapacityUsageResponse) XXX_Size

func (m *SdkVolumeCapacityUsageResponse) XXX_Size() int

func (*SdkVolumeCapacityUsageResponse) XXX_Unmarshal

func (m *SdkVolumeCapacityUsageResponse) XXX_Unmarshal(b []byte) error

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" json:"volume_id,omitempty"`
	// Path which will be used as root (default is the actual root)
	Path string `protobuf:"bytes,2,opt,name=path" 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" json:"depth,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message to get the volume catalog

func (*SdkVolumeCatalogRequest) Descriptor

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

func (*SdkVolumeCatalogRequest) GetDepth

func (m *SdkVolumeCatalogRequest) GetDepth() string

func (*SdkVolumeCatalogRequest) GetPath

func (m *SdkVolumeCatalogRequest) GetPath() string

func (*SdkVolumeCatalogRequest) GetVolumeId

func (m *SdkVolumeCatalogRequest) GetVolumeId() string

func (*SdkVolumeCatalogRequest) ProtoMessage

func (*SdkVolumeCatalogRequest) ProtoMessage()

func (*SdkVolumeCatalogRequest) Reset

func (m *SdkVolumeCatalogRequest) Reset()

func (*SdkVolumeCatalogRequest) String

func (m *SdkVolumeCatalogRequest) String() string

func (*SdkVolumeCatalogRequest) XXX_DiscardUnknown

func (m *SdkVolumeCatalogRequest) XXX_DiscardUnknown()

func (*SdkVolumeCatalogRequest) XXX_Marshal

func (m *SdkVolumeCatalogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeCatalogRequest) XXX_Merge

func (dst *SdkVolumeCatalogRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeCatalogRequest) XXX_Size

func (m *SdkVolumeCatalogRequest) XXX_Size() int

func (*SdkVolumeCatalogRequest) XXX_Unmarshal

func (m *SdkVolumeCatalogRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeCatalogResponse

type SdkVolumeCatalogResponse struct {
	// Catalog
	Catalog              *CatalogResponse `protobuf:"bytes,1,opt,name=catalog" json:"catalog,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Response message to get volume catalog

func (*SdkVolumeCatalogResponse) Descriptor

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

func (*SdkVolumeCatalogResponse) GetCatalog

func (m *SdkVolumeCatalogResponse) GetCatalog() *CatalogResponse

func (*SdkVolumeCatalogResponse) ProtoMessage

func (*SdkVolumeCatalogResponse) ProtoMessage()

func (*SdkVolumeCatalogResponse) Reset

func (m *SdkVolumeCatalogResponse) Reset()

func (*SdkVolumeCatalogResponse) String

func (m *SdkVolumeCatalogResponse) String() string

func (*SdkVolumeCatalogResponse) XXX_DiscardUnknown

func (m *SdkVolumeCatalogResponse) XXX_DiscardUnknown()

func (*SdkVolumeCatalogResponse) XXX_Marshal

func (m *SdkVolumeCatalogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeCatalogResponse) XXX_Merge

func (dst *SdkVolumeCatalogResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeCatalogResponse) XXX_Size

func (m *SdkVolumeCatalogResponse) XXX_Size() int

func (*SdkVolumeCatalogResponse) XXX_Unmarshal

func (m *SdkVolumeCatalogResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeCloneRequest

type SdkVolumeCloneRequest struct {
	// Unique name of the volume. This will be used for idempotency.
	Name string `protobuf:"bytes,1,opt,name=name" 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" json:"parent_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to clone a volume or create a volume from a snapshot

func (*SdkVolumeCloneRequest) Descriptor

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

func (*SdkVolumeCloneRequest) GetName

func (m *SdkVolumeCloneRequest) GetName() string

func (*SdkVolumeCloneRequest) GetParentId

func (m *SdkVolumeCloneRequest) GetParentId() string

func (*SdkVolumeCloneRequest) ProtoMessage

func (*SdkVolumeCloneRequest) ProtoMessage()

func (*SdkVolumeCloneRequest) Reset

func (m *SdkVolumeCloneRequest) Reset()

func (*SdkVolumeCloneRequest) String

func (m *SdkVolumeCloneRequest) String() string

func (*SdkVolumeCloneRequest) XXX_DiscardUnknown

func (m *SdkVolumeCloneRequest) XXX_DiscardUnknown()

func (*SdkVolumeCloneRequest) XXX_Marshal

func (m *SdkVolumeCloneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeCloneRequest) XXX_Merge

func (dst *SdkVolumeCloneRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeCloneRequest) XXX_Size

func (m *SdkVolumeCloneRequest) XXX_Size() int

func (*SdkVolumeCloneRequest) XXX_Unmarshal

func (m *SdkVolumeCloneRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeCloneResponse

type SdkVolumeCloneResponse struct {
	// Id of new volume
	VolumeId             string   `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines the response when creating a clone from a volume or a snapshot

func (*SdkVolumeCloneResponse) Descriptor

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

func (*SdkVolumeCloneResponse) GetVolumeId

func (m *SdkVolumeCloneResponse) GetVolumeId() string

func (*SdkVolumeCloneResponse) ProtoMessage

func (*SdkVolumeCloneResponse) ProtoMessage()

func (*SdkVolumeCloneResponse) Reset

func (m *SdkVolumeCloneResponse) Reset()

func (*SdkVolumeCloneResponse) String

func (m *SdkVolumeCloneResponse) String() string

func (*SdkVolumeCloneResponse) XXX_DiscardUnknown

func (m *SdkVolumeCloneResponse) XXX_DiscardUnknown()

func (*SdkVolumeCloneResponse) XXX_Marshal

func (m *SdkVolumeCloneResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeCloneResponse) XXX_Merge

func (dst *SdkVolumeCloneResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeCloneResponse) XXX_Size

func (m *SdkVolumeCloneResponse) XXX_Size() int

func (*SdkVolumeCloneResponse) XXX_Unmarshal

func (m *SdkVolumeCloneResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeCreateRequest

type SdkVolumeCreateRequest struct {
	// Unique name of the volume. This will be used for idempotency.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Volume specification
	Spec *VolumeSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Labels to apply to the volume
	Labels               map[string]string `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Defines a request to create a volume. Use OpenStorageVolume.Update() to update any labels on the volume.

func (*SdkVolumeCreateRequest) Descriptor

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

func (*SdkVolumeCreateRequest) GetLabels

func (m *SdkVolumeCreateRequest) GetLabels() map[string]string

func (*SdkVolumeCreateRequest) GetName

func (m *SdkVolumeCreateRequest) GetName() string

func (*SdkVolumeCreateRequest) GetSpec

func (m *SdkVolumeCreateRequest) GetSpec() *VolumeSpec

func (*SdkVolumeCreateRequest) ProtoMessage

func (*SdkVolumeCreateRequest) ProtoMessage()

func (*SdkVolumeCreateRequest) Reset

func (m *SdkVolumeCreateRequest) Reset()

func (*SdkVolumeCreateRequest) String

func (m *SdkVolumeCreateRequest) String() string

func (*SdkVolumeCreateRequest) XXX_DiscardUnknown

func (m *SdkVolumeCreateRequest) XXX_DiscardUnknown()

func (*SdkVolumeCreateRequest) XXX_Marshal

func (m *SdkVolumeCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeCreateRequest) XXX_Merge

func (dst *SdkVolumeCreateRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeCreateRequest) XXX_Size

func (m *SdkVolumeCreateRequest) XXX_Size() int

func (*SdkVolumeCreateRequest) XXX_Unmarshal

func (m *SdkVolumeCreateRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeCreateResponse

type SdkVolumeCreateResponse struct {
	// Id of new volume
	VolumeId             string   `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response to the creation of a volume

func (*SdkVolumeCreateResponse) Descriptor

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

func (*SdkVolumeCreateResponse) GetVolumeId

func (m *SdkVolumeCreateResponse) GetVolumeId() string

func (*SdkVolumeCreateResponse) ProtoMessage

func (*SdkVolumeCreateResponse) ProtoMessage()

func (*SdkVolumeCreateResponse) Reset

func (m *SdkVolumeCreateResponse) Reset()

func (*SdkVolumeCreateResponse) String

func (m *SdkVolumeCreateResponse) String() string

func (*SdkVolumeCreateResponse) XXX_DiscardUnknown

func (m *SdkVolumeCreateResponse) XXX_DiscardUnknown()

func (*SdkVolumeCreateResponse) XXX_Marshal

func (m *SdkVolumeCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeCreateResponse) XXX_Merge

func (dst *SdkVolumeCreateResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeCreateResponse) XXX_Size

func (m *SdkVolumeCreateResponse) XXX_Size() int

func (*SdkVolumeCreateResponse) XXX_Unmarshal

func (m *SdkVolumeCreateResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeDeleteRequest

type SdkVolumeDeleteRequest struct {
	// Id of volume to delete
	VolumeId             string   `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines the request to delete a volume

func (*SdkVolumeDeleteRequest) Descriptor

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

func (*SdkVolumeDeleteRequest) GetVolumeId

func (m *SdkVolumeDeleteRequest) GetVolumeId() string

func (*SdkVolumeDeleteRequest) ProtoMessage

func (*SdkVolumeDeleteRequest) ProtoMessage()

func (*SdkVolumeDeleteRequest) Reset

func (m *SdkVolumeDeleteRequest) Reset()

func (*SdkVolumeDeleteRequest) String

func (m *SdkVolumeDeleteRequest) String() string

func (*SdkVolumeDeleteRequest) XXX_DiscardUnknown

func (m *SdkVolumeDeleteRequest) XXX_DiscardUnknown()

func (*SdkVolumeDeleteRequest) XXX_Marshal

func (m *SdkVolumeDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeDeleteRequest) XXX_Merge

func (dst *SdkVolumeDeleteRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeDeleteRequest) XXX_Size

func (m *SdkVolumeDeleteRequest) XXX_Size() int

func (*SdkVolumeDeleteRequest) XXX_Unmarshal

func (m *SdkVolumeDeleteRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeDeleteResponse

type SdkVolumeDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkVolumeDeleteResponse) Descriptor

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

func (*SdkVolumeDeleteResponse) ProtoMessage

func (*SdkVolumeDeleteResponse) ProtoMessage()

func (*SdkVolumeDeleteResponse) Reset

func (m *SdkVolumeDeleteResponse) Reset()

func (*SdkVolumeDeleteResponse) String

func (m *SdkVolumeDeleteResponse) String() string

func (*SdkVolumeDeleteResponse) XXX_DiscardUnknown

func (m *SdkVolumeDeleteResponse) XXX_DiscardUnknown()

func (*SdkVolumeDeleteResponse) XXX_Marshal

func (m *SdkVolumeDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeDeleteResponse) XXX_Merge

func (dst *SdkVolumeDeleteResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeDeleteResponse) XXX_Size

func (m *SdkVolumeDeleteResponse) XXX_Size() int

func (*SdkVolumeDeleteResponse) XXX_Unmarshal

func (m *SdkVolumeDeleteResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeDetachOptions

type SdkVolumeDetachOptions struct {
	// Forcefully detach device from the kernel
	Force bool `protobuf:"varint,1,opt,name=force" json:"force,omitempty"`
	// Unmount the volume before detaching
	UnmountBeforeDetach bool `protobuf:"varint,2,opt,name=unmount_before_detach,json=unmountBeforeDetach" json:"unmount_before_detach,omitempty"`
	//  redirect the request to the attached node
	Redirect             bool     `protobuf:"varint,3,opt,name=redirect" json:"redirect,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SdkVolumeDetachOptions) Descriptor

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

func (*SdkVolumeDetachOptions) GetForce

func (m *SdkVolumeDetachOptions) GetForce() bool

func (*SdkVolumeDetachOptions) GetRedirect

func (m *SdkVolumeDetachOptions) GetRedirect() bool

func (*SdkVolumeDetachOptions) GetUnmountBeforeDetach

func (m *SdkVolumeDetachOptions) GetUnmountBeforeDetach() bool

func (*SdkVolumeDetachOptions) ProtoMessage

func (*SdkVolumeDetachOptions) ProtoMessage()

func (*SdkVolumeDetachOptions) Reset

func (m *SdkVolumeDetachOptions) Reset()

func (*SdkVolumeDetachOptions) String

func (m *SdkVolumeDetachOptions) String() string

func (*SdkVolumeDetachOptions) XXX_DiscardUnknown

func (m *SdkVolumeDetachOptions) XXX_DiscardUnknown()

func (*SdkVolumeDetachOptions) XXX_Marshal

func (m *SdkVolumeDetachOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeDetachOptions) XXX_Merge

func (dst *SdkVolumeDetachOptions) XXX_Merge(src proto.Message)

func (*SdkVolumeDetachOptions) XXX_Size

func (m *SdkVolumeDetachOptions) XXX_Size() int

func (*SdkVolumeDetachOptions) XXX_Unmarshal

func (m *SdkVolumeDetachOptions) XXX_Unmarshal(b []byte) error

type SdkVolumeDetachRequest

type SdkVolumeDetachRequest struct {
	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Options to detach device
	Options *SdkVolumeDetachOptions `protobuf:"bytes,2,opt,name=options" 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 `` /* 167-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Defines a request to detach a volume

func (*SdkVolumeDetachRequest) Descriptor

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

func (*SdkVolumeDetachRequest) GetDriverOptions

func (m *SdkVolumeDetachRequest) GetDriverOptions() map[string]string

func (*SdkVolumeDetachRequest) GetOptions

func (*SdkVolumeDetachRequest) GetVolumeId

func (m *SdkVolumeDetachRequest) GetVolumeId() string

func (*SdkVolumeDetachRequest) ProtoMessage

func (*SdkVolumeDetachRequest) ProtoMessage()

func (*SdkVolumeDetachRequest) Reset

func (m *SdkVolumeDetachRequest) Reset()

func (*SdkVolumeDetachRequest) String

func (m *SdkVolumeDetachRequest) String() string

func (*SdkVolumeDetachRequest) XXX_DiscardUnknown

func (m *SdkVolumeDetachRequest) XXX_DiscardUnknown()

func (*SdkVolumeDetachRequest) XXX_Marshal

func (m *SdkVolumeDetachRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeDetachRequest) XXX_Merge

func (dst *SdkVolumeDetachRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeDetachRequest) XXX_Size

func (m *SdkVolumeDetachRequest) XXX_Size() int

func (*SdkVolumeDetachRequest) XXX_Unmarshal

func (m *SdkVolumeDetachRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeDetachResponse

type SdkVolumeDetachResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkVolumeDetachResponse) Descriptor

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

func (*SdkVolumeDetachResponse) ProtoMessage

func (*SdkVolumeDetachResponse) ProtoMessage()

func (*SdkVolumeDetachResponse) Reset

func (m *SdkVolumeDetachResponse) Reset()

func (*SdkVolumeDetachResponse) String

func (m *SdkVolumeDetachResponse) String() string

func (*SdkVolumeDetachResponse) XXX_DiscardUnknown

func (m *SdkVolumeDetachResponse) XXX_DiscardUnknown()

func (*SdkVolumeDetachResponse) XXX_Marshal

func (m *SdkVolumeDetachResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeDetachResponse) XXX_Merge

func (dst *SdkVolumeDetachResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeDetachResponse) XXX_Size

func (m *SdkVolumeDetachResponse) XXX_Size() int

func (*SdkVolumeDetachResponse) XXX_Unmarshal

func (m *SdkVolumeDetachResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeEnumerateRequest

type SdkVolumeEnumerateRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to list volumes

func (*SdkVolumeEnumerateRequest) Descriptor

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

func (*SdkVolumeEnumerateRequest) ProtoMessage

func (*SdkVolumeEnumerateRequest) ProtoMessage()

func (*SdkVolumeEnumerateRequest) Reset

func (m *SdkVolumeEnumerateRequest) Reset()

func (*SdkVolumeEnumerateRequest) String

func (m *SdkVolumeEnumerateRequest) String() string

func (*SdkVolumeEnumerateRequest) XXX_DiscardUnknown

func (m *SdkVolumeEnumerateRequest) XXX_DiscardUnknown()

func (*SdkVolumeEnumerateRequest) XXX_Marshal

func (m *SdkVolumeEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeEnumerateRequest) XXX_Merge

func (dst *SdkVolumeEnumerateRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeEnumerateRequest) XXX_Size

func (m *SdkVolumeEnumerateRequest) XXX_Size() int

func (*SdkVolumeEnumerateRequest) XXX_Unmarshal

func (m *SdkVolumeEnumerateRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeEnumerateResponse

type SdkVolumeEnumerateResponse struct {
	// List of volumes matching label
	VolumeIds            []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds" json:"volume_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines the response when listing volumes

func (*SdkVolumeEnumerateResponse) Descriptor

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

func (*SdkVolumeEnumerateResponse) GetVolumeIds

func (m *SdkVolumeEnumerateResponse) GetVolumeIds() []string

func (*SdkVolumeEnumerateResponse) ProtoMessage

func (*SdkVolumeEnumerateResponse) ProtoMessage()

func (*SdkVolumeEnumerateResponse) Reset

func (m *SdkVolumeEnumerateResponse) Reset()

func (*SdkVolumeEnumerateResponse) String

func (m *SdkVolumeEnumerateResponse) String() string

func (*SdkVolumeEnumerateResponse) XXX_DiscardUnknown

func (m *SdkVolumeEnumerateResponse) XXX_DiscardUnknown()

func (*SdkVolumeEnumerateResponse) XXX_Marshal

func (m *SdkVolumeEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeEnumerateResponse) XXX_Merge

func (dst *SdkVolumeEnumerateResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeEnumerateResponse) XXX_Size

func (m *SdkVolumeEnumerateResponse) XXX_Size() int

func (*SdkVolumeEnumerateResponse) XXX_Unmarshal

func (m *SdkVolumeEnumerateResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeEnumerateWithFiltersRequest

type SdkVolumeEnumerateWithFiltersRequest struct {
	// (optional) Name to search
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// (optional) Labels to search
	Labels map[string]string `` /* 132-byte string literal not displayed */
	// (optional) Ownership to match
	Ownership *Ownership `protobuf:"bytes,4,opt,name=ownership" json:"ownership,omitempty"`
	// (optional) Group to match
	Group                *Group   `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to list volumes

func (*SdkVolumeEnumerateWithFiltersRequest) Descriptor

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

func (*SdkVolumeEnumerateWithFiltersRequest) GetGroup

func (*SdkVolumeEnumerateWithFiltersRequest) GetLabels

func (*SdkVolumeEnumerateWithFiltersRequest) GetName

func (*SdkVolumeEnumerateWithFiltersRequest) GetOwnership

func (*SdkVolumeEnumerateWithFiltersRequest) ProtoMessage

func (*SdkVolumeEnumerateWithFiltersRequest) ProtoMessage()

func (*SdkVolumeEnumerateWithFiltersRequest) Reset

func (*SdkVolumeEnumerateWithFiltersRequest) String

func (*SdkVolumeEnumerateWithFiltersRequest) XXX_DiscardUnknown

func (m *SdkVolumeEnumerateWithFiltersRequest) XXX_DiscardUnknown()

func (*SdkVolumeEnumerateWithFiltersRequest) XXX_Marshal

func (m *SdkVolumeEnumerateWithFiltersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeEnumerateWithFiltersRequest) XXX_Merge

func (*SdkVolumeEnumerateWithFiltersRequest) XXX_Size

func (*SdkVolumeEnumerateWithFiltersRequest) XXX_Unmarshal

func (m *SdkVolumeEnumerateWithFiltersRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeEnumerateWithFiltersResponse

type SdkVolumeEnumerateWithFiltersResponse struct {
	// List of volumes matching label
	VolumeIds            []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds" json:"volume_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines the response when listing volumes

func (*SdkVolumeEnumerateWithFiltersResponse) Descriptor

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

func (*SdkVolumeEnumerateWithFiltersResponse) GetVolumeIds

func (m *SdkVolumeEnumerateWithFiltersResponse) GetVolumeIds() []string

func (*SdkVolumeEnumerateWithFiltersResponse) ProtoMessage

func (*SdkVolumeEnumerateWithFiltersResponse) ProtoMessage()

func (*SdkVolumeEnumerateWithFiltersResponse) Reset

func (*SdkVolumeEnumerateWithFiltersResponse) String

func (*SdkVolumeEnumerateWithFiltersResponse) XXX_DiscardUnknown

func (m *SdkVolumeEnumerateWithFiltersResponse) XXX_DiscardUnknown()

func (*SdkVolumeEnumerateWithFiltersResponse) XXX_Marshal

func (m *SdkVolumeEnumerateWithFiltersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeEnumerateWithFiltersResponse) XXX_Merge

func (*SdkVolumeEnumerateWithFiltersResponse) XXX_Size

func (*SdkVolumeEnumerateWithFiltersResponse) XXX_Unmarshal

func (m *SdkVolumeEnumerateWithFiltersResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeInspectRequest

type SdkVolumeInspectRequest struct {
	// Id of volume to inspect
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Options during inspection
	Options              *VolumeInspectOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Defines the request to inspect a volume

func (*SdkVolumeInspectRequest) Descriptor

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

func (*SdkVolumeInspectRequest) GetOptions

func (*SdkVolumeInspectRequest) GetVolumeId

func (m *SdkVolumeInspectRequest) GetVolumeId() string

func (*SdkVolumeInspectRequest) ProtoMessage

func (*SdkVolumeInspectRequest) ProtoMessage()

func (*SdkVolumeInspectRequest) Reset

func (m *SdkVolumeInspectRequest) Reset()

func (*SdkVolumeInspectRequest) String

func (m *SdkVolumeInspectRequest) String() string

func (*SdkVolumeInspectRequest) XXX_DiscardUnknown

func (m *SdkVolumeInspectRequest) XXX_DiscardUnknown()

func (*SdkVolumeInspectRequest) XXX_Marshal

func (m *SdkVolumeInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeInspectRequest) XXX_Merge

func (dst *SdkVolumeInspectRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeInspectRequest) XXX_Size

func (m *SdkVolumeInspectRequest) XXX_Size() int

func (*SdkVolumeInspectRequest) XXX_Unmarshal

func (m *SdkVolumeInspectRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeInspectResponse

type SdkVolumeInspectResponse struct {
	// Information about the volume
	Volume *Volume `protobuf:"bytes,1,opt,name=volume" json:"volume,omitempty"`
	// Name of volume
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// Volume labels
	Labels               map[string]string `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Defines the response when inspecting a volume

func (*SdkVolumeInspectResponse) Descriptor

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

func (*SdkVolumeInspectResponse) GetLabels

func (m *SdkVolumeInspectResponse) GetLabels() map[string]string

func (*SdkVolumeInspectResponse) GetName

func (m *SdkVolumeInspectResponse) GetName() string

func (*SdkVolumeInspectResponse) GetVolume

func (m *SdkVolumeInspectResponse) GetVolume() *Volume

func (*SdkVolumeInspectResponse) ProtoMessage

func (*SdkVolumeInspectResponse) ProtoMessage()

func (*SdkVolumeInspectResponse) Reset

func (m *SdkVolumeInspectResponse) Reset()

func (*SdkVolumeInspectResponse) String

func (m *SdkVolumeInspectResponse) String() string

func (*SdkVolumeInspectResponse) XXX_DiscardUnknown

func (m *SdkVolumeInspectResponse) XXX_DiscardUnknown()

func (*SdkVolumeInspectResponse) XXX_Marshal

func (m *SdkVolumeInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeInspectResponse) XXX_Merge

func (dst *SdkVolumeInspectResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeInspectResponse) XXX_Size

func (m *SdkVolumeInspectResponse) XXX_Size() int

func (*SdkVolumeInspectResponse) XXX_Unmarshal

func (m *SdkVolumeInspectResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeInspectWithFiltersRequest

type SdkVolumeInspectWithFiltersRequest struct {
	// (optional) Name to search
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// (optional) Labels to search
	Labels map[string]string `` /* 132-byte string literal not displayed */
	// (optional) Ownership to match
	Ownership *Ownership `protobuf:"bytes,4,opt,name=ownership" json:"ownership,omitempty"`
	// (optional) Group to match
	Group *Group `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"`
	// Options during inspection
	Options              *VolumeInspectOptions `protobuf:"bytes,6,opt,name=options" json:"options,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Defines the request to inspect volumes using a filter

func (*SdkVolumeInspectWithFiltersRequest) Descriptor

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

func (*SdkVolumeInspectWithFiltersRequest) GetGroup

func (*SdkVolumeInspectWithFiltersRequest) GetLabels

func (*SdkVolumeInspectWithFiltersRequest) GetName

func (*SdkVolumeInspectWithFiltersRequest) GetOptions

func (*SdkVolumeInspectWithFiltersRequest) GetOwnership

func (m *SdkVolumeInspectWithFiltersRequest) GetOwnership() *Ownership

func (*SdkVolumeInspectWithFiltersRequest) ProtoMessage

func (*SdkVolumeInspectWithFiltersRequest) ProtoMessage()

func (*SdkVolumeInspectWithFiltersRequest) Reset

func (*SdkVolumeInspectWithFiltersRequest) String

func (*SdkVolumeInspectWithFiltersRequest) XXX_DiscardUnknown

func (m *SdkVolumeInspectWithFiltersRequest) XXX_DiscardUnknown()

func (*SdkVolumeInspectWithFiltersRequest) XXX_Marshal

func (m *SdkVolumeInspectWithFiltersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeInspectWithFiltersRequest) XXX_Merge

func (dst *SdkVolumeInspectWithFiltersRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeInspectWithFiltersRequest) XXX_Size

func (*SdkVolumeInspectWithFiltersRequest) XXX_Unmarshal

func (m *SdkVolumeInspectWithFiltersRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeInspectWithFiltersResponse

type SdkVolumeInspectWithFiltersResponse struct {
	// List of `SdkVolumeInspectResponse` objects describing the volumes
	Volumes              []*SdkVolumeInspectResponse `protobuf:"bytes,1,rep,name=volumes" json:"volumes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Defines the response when inspecting volumes using a filter

func (*SdkVolumeInspectWithFiltersResponse) Descriptor

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

func (*SdkVolumeInspectWithFiltersResponse) GetVolumes

func (*SdkVolumeInspectWithFiltersResponse) ProtoMessage

func (*SdkVolumeInspectWithFiltersResponse) ProtoMessage()

func (*SdkVolumeInspectWithFiltersResponse) Reset

func (*SdkVolumeInspectWithFiltersResponse) String

func (*SdkVolumeInspectWithFiltersResponse) XXX_DiscardUnknown

func (m *SdkVolumeInspectWithFiltersResponse) XXX_DiscardUnknown()

func (*SdkVolumeInspectWithFiltersResponse) XXX_Marshal

func (m *SdkVolumeInspectWithFiltersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeInspectWithFiltersResponse) XXX_Merge

func (*SdkVolumeInspectWithFiltersResponse) XXX_Size

func (*SdkVolumeInspectWithFiltersResponse) XXX_Unmarshal

func (m *SdkVolumeInspectWithFiltersResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeMountRequest

type SdkVolumeMountRequest struct {
	// Id of the volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Mount path for mounting the volume.
	MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath" json:"mount_path,omitempty"`
	// Options to attach device
	Options *SdkVolumeAttachOptions `protobuf:"bytes,3,opt,name=options" 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 `` /* 167-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Defines a request to mount a volume to the node receiving this request

func (*SdkVolumeMountRequest) Descriptor

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

func (*SdkVolumeMountRequest) GetDriverOptions

func (m *SdkVolumeMountRequest) GetDriverOptions() map[string]string

func (*SdkVolumeMountRequest) GetMountPath

func (m *SdkVolumeMountRequest) GetMountPath() string

func (*SdkVolumeMountRequest) GetOptions

func (*SdkVolumeMountRequest) GetVolumeId

func (m *SdkVolumeMountRequest) GetVolumeId() string

func (*SdkVolumeMountRequest) ProtoMessage

func (*SdkVolumeMountRequest) ProtoMessage()

func (*SdkVolumeMountRequest) Reset

func (m *SdkVolumeMountRequest) Reset()

func (*SdkVolumeMountRequest) String

func (m *SdkVolumeMountRequest) String() string

func (*SdkVolumeMountRequest) XXX_DiscardUnknown

func (m *SdkVolumeMountRequest) XXX_DiscardUnknown()

func (*SdkVolumeMountRequest) XXX_Marshal

func (m *SdkVolumeMountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeMountRequest) XXX_Merge

func (dst *SdkVolumeMountRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeMountRequest) XXX_Size

func (m *SdkVolumeMountRequest) XXX_Size() int

func (*SdkVolumeMountRequest) XXX_Unmarshal

func (m *SdkVolumeMountRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeMountResponse

type SdkVolumeMountResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkVolumeMountResponse) Descriptor

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

func (*SdkVolumeMountResponse) ProtoMessage

func (*SdkVolumeMountResponse) ProtoMessage()

func (*SdkVolumeMountResponse) Reset

func (m *SdkVolumeMountResponse) Reset()

func (*SdkVolumeMountResponse) String

func (m *SdkVolumeMountResponse) String() string

func (*SdkVolumeMountResponse) XXX_DiscardUnknown

func (m *SdkVolumeMountResponse) XXX_DiscardUnknown()

func (*SdkVolumeMountResponse) XXX_Marshal

func (m *SdkVolumeMountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeMountResponse) XXX_Merge

func (dst *SdkVolumeMountResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeMountResponse) XXX_Size

func (m *SdkVolumeMountResponse) XXX_Size() int

func (*SdkVolumeMountResponse) XXX_Unmarshal

func (m *SdkVolumeMountResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeSnapshotCreateRequest

type SdkVolumeSnapshotCreateRequest struct {
	// Id of volume to take the snapshot from
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Name of the snapshot.
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// Labels to apply to snapshot
	Labels               map[string]string `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Defines the request when creating a snapshot from a volume.

func (*SdkVolumeSnapshotCreateRequest) Descriptor

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

func (*SdkVolumeSnapshotCreateRequest) GetLabels

func (m *SdkVolumeSnapshotCreateRequest) GetLabels() map[string]string

func (*SdkVolumeSnapshotCreateRequest) GetName

func (*SdkVolumeSnapshotCreateRequest) GetVolumeId

func (m *SdkVolumeSnapshotCreateRequest) GetVolumeId() string

func (*SdkVolumeSnapshotCreateRequest) ProtoMessage

func (*SdkVolumeSnapshotCreateRequest) ProtoMessage()

func (*SdkVolumeSnapshotCreateRequest) Reset

func (m *SdkVolumeSnapshotCreateRequest) Reset()

func (*SdkVolumeSnapshotCreateRequest) String

func (*SdkVolumeSnapshotCreateRequest) XXX_DiscardUnknown

func (m *SdkVolumeSnapshotCreateRequest) XXX_DiscardUnknown()

func (*SdkVolumeSnapshotCreateRequest) XXX_Marshal

func (m *SdkVolumeSnapshotCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeSnapshotCreateRequest) XXX_Merge

func (dst *SdkVolumeSnapshotCreateRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeSnapshotCreateRequest) XXX_Size

func (m *SdkVolumeSnapshotCreateRequest) XXX_Size() int

func (*SdkVolumeSnapshotCreateRequest) XXX_Unmarshal

func (m *SdkVolumeSnapshotCreateRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeSnapshotCreateResponse

type SdkVolumeSnapshotCreateResponse struct {
	// Id of immutable snapshot
	SnapshotId           string   `protobuf:"bytes,1,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response after creating a snapshot of a volume

func (*SdkVolumeSnapshotCreateResponse) Descriptor

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

func (*SdkVolumeSnapshotCreateResponse) GetSnapshotId

func (m *SdkVolumeSnapshotCreateResponse) GetSnapshotId() string

func (*SdkVolumeSnapshotCreateResponse) ProtoMessage

func (*SdkVolumeSnapshotCreateResponse) ProtoMessage()

func (*SdkVolumeSnapshotCreateResponse) Reset

func (*SdkVolumeSnapshotCreateResponse) String

func (*SdkVolumeSnapshotCreateResponse) XXX_DiscardUnknown

func (m *SdkVolumeSnapshotCreateResponse) XXX_DiscardUnknown()

func (*SdkVolumeSnapshotCreateResponse) XXX_Marshal

func (m *SdkVolumeSnapshotCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeSnapshotCreateResponse) XXX_Merge

func (dst *SdkVolumeSnapshotCreateResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeSnapshotCreateResponse) XXX_Size

func (m *SdkVolumeSnapshotCreateResponse) XXX_Size() int

func (*SdkVolumeSnapshotCreateResponse) XXX_Unmarshal

func (m *SdkVolumeSnapshotCreateResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeSnapshotEnumerateRequest

type SdkVolumeSnapshotEnumerateRequest struct {
	// Get the snapshots for this volume id
	VolumeId             string   `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to list the snaphots

func (*SdkVolumeSnapshotEnumerateRequest) Descriptor

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

func (*SdkVolumeSnapshotEnumerateRequest) GetVolumeId

func (m *SdkVolumeSnapshotEnumerateRequest) GetVolumeId() string

func (*SdkVolumeSnapshotEnumerateRequest) ProtoMessage

func (*SdkVolumeSnapshotEnumerateRequest) ProtoMessage()

func (*SdkVolumeSnapshotEnumerateRequest) Reset

func (*SdkVolumeSnapshotEnumerateRequest) String

func (*SdkVolumeSnapshotEnumerateRequest) XXX_DiscardUnknown

func (m *SdkVolumeSnapshotEnumerateRequest) XXX_DiscardUnknown()

func (*SdkVolumeSnapshotEnumerateRequest) XXX_Marshal

func (m *SdkVolumeSnapshotEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeSnapshotEnumerateRequest) XXX_Merge

func (dst *SdkVolumeSnapshotEnumerateRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeSnapshotEnumerateRequest) XXX_Size

func (m *SdkVolumeSnapshotEnumerateRequest) XXX_Size() int

func (*SdkVolumeSnapshotEnumerateRequest) XXX_Unmarshal

func (m *SdkVolumeSnapshotEnumerateRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeSnapshotEnumerateResponse

type SdkVolumeSnapshotEnumerateResponse struct {
	// List of immutable snapshots
	VolumeSnapshotIds    []string `protobuf:"bytes,1,rep,name=volume_snapshot_ids,json=volumeSnapshotIds" json:"volume_snapshot_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response when listing snapshots

func (*SdkVolumeSnapshotEnumerateResponse) Descriptor

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

func (*SdkVolumeSnapshotEnumerateResponse) GetVolumeSnapshotIds

func (m *SdkVolumeSnapshotEnumerateResponse) GetVolumeSnapshotIds() []string

func (*SdkVolumeSnapshotEnumerateResponse) ProtoMessage

func (*SdkVolumeSnapshotEnumerateResponse) ProtoMessage()

func (*SdkVolumeSnapshotEnumerateResponse) Reset

func (*SdkVolumeSnapshotEnumerateResponse) String

func (*SdkVolumeSnapshotEnumerateResponse) XXX_DiscardUnknown

func (m *SdkVolumeSnapshotEnumerateResponse) XXX_DiscardUnknown()

func (*SdkVolumeSnapshotEnumerateResponse) XXX_Marshal

func (m *SdkVolumeSnapshotEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeSnapshotEnumerateResponse) XXX_Merge

func (dst *SdkVolumeSnapshotEnumerateResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeSnapshotEnumerateResponse) XXX_Size

func (*SdkVolumeSnapshotEnumerateResponse) XXX_Unmarshal

func (m *SdkVolumeSnapshotEnumerateResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeSnapshotEnumerateWithFiltersRequest

type SdkVolumeSnapshotEnumerateWithFiltersRequest struct {
	// (optional) Get the snapshots for this volume id
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// (optional) Get snapshots that match these labels
	Labels               map[string]string `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Defines a request to list the snaphots

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) Descriptor

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) GetLabels

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) GetVolumeId

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) ProtoMessage

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) Reset

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) String

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) XXX_DiscardUnknown

func (m *SdkVolumeSnapshotEnumerateWithFiltersRequest) XXX_DiscardUnknown()

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) XXX_Marshal

func (m *SdkVolumeSnapshotEnumerateWithFiltersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) XXX_Merge

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) XXX_Size

func (*SdkVolumeSnapshotEnumerateWithFiltersRequest) XXX_Unmarshal

type SdkVolumeSnapshotEnumerateWithFiltersResponse

type SdkVolumeSnapshotEnumerateWithFiltersResponse struct {
	// List of immutable snapshots
	VolumeSnapshotIds    []string `protobuf:"bytes,1,rep,name=volume_snapshot_ids,json=volumeSnapshotIds" json:"volume_snapshot_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response when listing snapshots

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) Descriptor

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) GetVolumeSnapshotIds

func (m *SdkVolumeSnapshotEnumerateWithFiltersResponse) GetVolumeSnapshotIds() []string

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) ProtoMessage

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) Reset

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) String

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) XXX_DiscardUnknown

func (m *SdkVolumeSnapshotEnumerateWithFiltersResponse) XXX_DiscardUnknown()

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) XXX_Marshal

func (m *SdkVolumeSnapshotEnumerateWithFiltersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) XXX_Merge

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) XXX_Size

func (*SdkVolumeSnapshotEnumerateWithFiltersResponse) XXX_Unmarshal

type SdkVolumeSnapshotRestoreRequest

type SdkVolumeSnapshotRestoreRequest struct {
	// Id of volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Snapshot id to apply to `volume_id`
	SnapshotId           string   `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to restore a volume to a snapshot

func (*SdkVolumeSnapshotRestoreRequest) Descriptor

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

func (*SdkVolumeSnapshotRestoreRequest) GetSnapshotId

func (m *SdkVolumeSnapshotRestoreRequest) GetSnapshotId() string

func (*SdkVolumeSnapshotRestoreRequest) GetVolumeId

func (m *SdkVolumeSnapshotRestoreRequest) GetVolumeId() string

func (*SdkVolumeSnapshotRestoreRequest) ProtoMessage

func (*SdkVolumeSnapshotRestoreRequest) ProtoMessage()

func (*SdkVolumeSnapshotRestoreRequest) Reset

func (*SdkVolumeSnapshotRestoreRequest) String

func (*SdkVolumeSnapshotRestoreRequest) XXX_DiscardUnknown

func (m *SdkVolumeSnapshotRestoreRequest) XXX_DiscardUnknown()

func (*SdkVolumeSnapshotRestoreRequest) XXX_Marshal

func (m *SdkVolumeSnapshotRestoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeSnapshotRestoreRequest) XXX_Merge

func (dst *SdkVolumeSnapshotRestoreRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeSnapshotRestoreRequest) XXX_Size

func (m *SdkVolumeSnapshotRestoreRequest) XXX_Size() int

func (*SdkVolumeSnapshotRestoreRequest) XXX_Unmarshal

func (m *SdkVolumeSnapshotRestoreRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeSnapshotRestoreResponse

type SdkVolumeSnapshotRestoreResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkVolumeSnapshotRestoreResponse) Descriptor

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

func (*SdkVolumeSnapshotRestoreResponse) ProtoMessage

func (*SdkVolumeSnapshotRestoreResponse) ProtoMessage()

func (*SdkVolumeSnapshotRestoreResponse) Reset

func (*SdkVolumeSnapshotRestoreResponse) String

func (*SdkVolumeSnapshotRestoreResponse) XXX_DiscardUnknown

func (m *SdkVolumeSnapshotRestoreResponse) XXX_DiscardUnknown()

func (*SdkVolumeSnapshotRestoreResponse) XXX_Marshal

func (m *SdkVolumeSnapshotRestoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeSnapshotRestoreResponse) XXX_Merge

func (dst *SdkVolumeSnapshotRestoreResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeSnapshotRestoreResponse) XXX_Size

func (m *SdkVolumeSnapshotRestoreResponse) XXX_Size() int

func (*SdkVolumeSnapshotRestoreResponse) XXX_Unmarshal

func (m *SdkVolumeSnapshotRestoreResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeSnapshotScheduleUpdateRequest

type SdkVolumeSnapshotScheduleUpdateRequest struct {
	// Id of volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Names of schedule policies
	SnapshotScheduleNames []string `protobuf:"bytes,2,rep,name=snapshot_schedule_names,json=snapshotScheduleNames" json:"snapshot_schedule_names,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

Defines a request to update the snapshot schedule of a volume

func (*SdkVolumeSnapshotScheduleUpdateRequest) Descriptor

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

func (*SdkVolumeSnapshotScheduleUpdateRequest) GetSnapshotScheduleNames

func (m *SdkVolumeSnapshotScheduleUpdateRequest) GetSnapshotScheduleNames() []string

func (*SdkVolumeSnapshotScheduleUpdateRequest) GetVolumeId

func (*SdkVolumeSnapshotScheduleUpdateRequest) ProtoMessage

func (*SdkVolumeSnapshotScheduleUpdateRequest) Reset

func (*SdkVolumeSnapshotScheduleUpdateRequest) String

func (*SdkVolumeSnapshotScheduleUpdateRequest) XXX_DiscardUnknown

func (m *SdkVolumeSnapshotScheduleUpdateRequest) XXX_DiscardUnknown()

func (*SdkVolumeSnapshotScheduleUpdateRequest) XXX_Marshal

func (m *SdkVolumeSnapshotScheduleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeSnapshotScheduleUpdateRequest) XXX_Merge

func (*SdkVolumeSnapshotScheduleUpdateRequest) XXX_Size

func (*SdkVolumeSnapshotScheduleUpdateRequest) XXX_Unmarshal

func (m *SdkVolumeSnapshotScheduleUpdateRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeSnapshotScheduleUpdateResponse

type SdkVolumeSnapshotScheduleUpdateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkVolumeSnapshotScheduleUpdateResponse) Descriptor

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

func (*SdkVolumeSnapshotScheduleUpdateResponse) ProtoMessage

func (*SdkVolumeSnapshotScheduleUpdateResponse) Reset

func (*SdkVolumeSnapshotScheduleUpdateResponse) String

func (*SdkVolumeSnapshotScheduleUpdateResponse) XXX_DiscardUnknown

func (m *SdkVolumeSnapshotScheduleUpdateResponse) XXX_DiscardUnknown()

func (*SdkVolumeSnapshotScheduleUpdateResponse) XXX_Marshal

func (m *SdkVolumeSnapshotScheduleUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeSnapshotScheduleUpdateResponse) XXX_Merge

func (*SdkVolumeSnapshotScheduleUpdateResponse) XXX_Size

func (*SdkVolumeSnapshotScheduleUpdateResponse) XXX_Unmarshal

func (m *SdkVolumeSnapshotScheduleUpdateResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeStatsRequest

type SdkVolumeStatsRequest struct {
	// Id of the volume to get statistics
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" 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" json:"not_cumulative,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to retreive volume statistics

func (*SdkVolumeStatsRequest) Descriptor

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

func (*SdkVolumeStatsRequest) GetNotCumulative

func (m *SdkVolumeStatsRequest) GetNotCumulative() bool

func (*SdkVolumeStatsRequest) GetVolumeId

func (m *SdkVolumeStatsRequest) GetVolumeId() string

func (*SdkVolumeStatsRequest) ProtoMessage

func (*SdkVolumeStatsRequest) ProtoMessage()

func (*SdkVolumeStatsRequest) Reset

func (m *SdkVolumeStatsRequest) Reset()

func (*SdkVolumeStatsRequest) String

func (m *SdkVolumeStatsRequest) String() string

func (*SdkVolumeStatsRequest) XXX_DiscardUnknown

func (m *SdkVolumeStatsRequest) XXX_DiscardUnknown()

func (*SdkVolumeStatsRequest) XXX_Marshal

func (m *SdkVolumeStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeStatsRequest) XXX_Merge

func (dst *SdkVolumeStatsRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeStatsRequest) XXX_Size

func (m *SdkVolumeStatsRequest) XXX_Size() int

func (*SdkVolumeStatsRequest) XXX_Unmarshal

func (m *SdkVolumeStatsRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeStatsResponse

type SdkVolumeStatsResponse struct {
	// Statistics for a single volume
	Stats                *Stats   `protobuf:"bytes,1,opt,name=stats" json:"stats,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response containing drive statistics

func (*SdkVolumeStatsResponse) Descriptor

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

func (*SdkVolumeStatsResponse) GetStats

func (m *SdkVolumeStatsResponse) GetStats() *Stats

func (*SdkVolumeStatsResponse) ProtoMessage

func (*SdkVolumeStatsResponse) ProtoMessage()

func (*SdkVolumeStatsResponse) Reset

func (m *SdkVolumeStatsResponse) Reset()

func (*SdkVolumeStatsResponse) String

func (m *SdkVolumeStatsResponse) String() string

func (*SdkVolumeStatsResponse) XXX_DiscardUnknown

func (m *SdkVolumeStatsResponse) XXX_DiscardUnknown()

func (*SdkVolumeStatsResponse) XXX_Marshal

func (m *SdkVolumeStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeStatsResponse) XXX_Merge

func (dst *SdkVolumeStatsResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeStatsResponse) XXX_Size

func (m *SdkVolumeStatsResponse) XXX_Size() int

func (*SdkVolumeStatsResponse) XXX_Unmarshal

func (m *SdkVolumeStatsResponse) XXX_Unmarshal(b []byte) error

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" 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     `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral           struct{} `json:"-"`
	XXX_unrecognized               []byte   `json:"-"`
	XXX_sizecache                  int32    `json:"-"`
}

Options to unmount device

func (*SdkVolumeUnmountOptions) Descriptor

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

func (*SdkVolumeUnmountOptions) GetDeleteMountPath

func (m *SdkVolumeUnmountOptions) GetDeleteMountPath() bool

func (*SdkVolumeUnmountOptions) GetNoDelayBeforeDeletingMountPath

func (m *SdkVolumeUnmountOptions) GetNoDelayBeforeDeletingMountPath() bool

func (*SdkVolumeUnmountOptions) ProtoMessage

func (*SdkVolumeUnmountOptions) ProtoMessage()

func (*SdkVolumeUnmountOptions) Reset

func (m *SdkVolumeUnmountOptions) Reset()

func (*SdkVolumeUnmountOptions) String

func (m *SdkVolumeUnmountOptions) String() string

func (*SdkVolumeUnmountOptions) XXX_DiscardUnknown

func (m *SdkVolumeUnmountOptions) XXX_DiscardUnknown()

func (*SdkVolumeUnmountOptions) XXX_Marshal

func (m *SdkVolumeUnmountOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeUnmountOptions) XXX_Merge

func (dst *SdkVolumeUnmountOptions) XXX_Merge(src proto.Message)

func (*SdkVolumeUnmountOptions) XXX_Size

func (m *SdkVolumeUnmountOptions) XXX_Size() int

func (*SdkVolumeUnmountOptions) XXX_Unmarshal

func (m *SdkVolumeUnmountOptions) XXX_Unmarshal(b []byte) error

type SdkVolumeUnmountRequest

type SdkVolumeUnmountRequest struct {
	// Id of volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// MountPath for device
	MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath" json:"mount_path,omitempty"`
	// Options to unmount device
	Options *SdkVolumeUnmountOptions `protobuf:"bytes,3,opt,name=options" 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 `` /* 167-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Defines a request to unmount a volume on the node receiving this request

func (*SdkVolumeUnmountRequest) Descriptor

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

func (*SdkVolumeUnmountRequest) GetDriverOptions

func (m *SdkVolumeUnmountRequest) GetDriverOptions() map[string]string

func (*SdkVolumeUnmountRequest) GetMountPath

func (m *SdkVolumeUnmountRequest) GetMountPath() string

func (*SdkVolumeUnmountRequest) GetOptions

func (*SdkVolumeUnmountRequest) GetVolumeId

func (m *SdkVolumeUnmountRequest) GetVolumeId() string

func (*SdkVolumeUnmountRequest) ProtoMessage

func (*SdkVolumeUnmountRequest) ProtoMessage()

func (*SdkVolumeUnmountRequest) Reset

func (m *SdkVolumeUnmountRequest) Reset()

func (*SdkVolumeUnmountRequest) String

func (m *SdkVolumeUnmountRequest) String() string

func (*SdkVolumeUnmountRequest) XXX_DiscardUnknown

func (m *SdkVolumeUnmountRequest) XXX_DiscardUnknown()

func (*SdkVolumeUnmountRequest) XXX_Marshal

func (m *SdkVolumeUnmountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeUnmountRequest) XXX_Merge

func (dst *SdkVolumeUnmountRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeUnmountRequest) XXX_Size

func (m *SdkVolumeUnmountRequest) XXX_Size() int

func (*SdkVolumeUnmountRequest) XXX_Unmarshal

func (m *SdkVolumeUnmountRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeUnmountResponse

type SdkVolumeUnmountResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkVolumeUnmountResponse) Descriptor

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

func (*SdkVolumeUnmountResponse) ProtoMessage

func (*SdkVolumeUnmountResponse) ProtoMessage()

func (*SdkVolumeUnmountResponse) Reset

func (m *SdkVolumeUnmountResponse) Reset()

func (*SdkVolumeUnmountResponse) String

func (m *SdkVolumeUnmountResponse) String() string

func (*SdkVolumeUnmountResponse) XXX_DiscardUnknown

func (m *SdkVolumeUnmountResponse) XXX_DiscardUnknown()

func (*SdkVolumeUnmountResponse) XXX_Marshal

func (m *SdkVolumeUnmountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeUnmountResponse) XXX_Merge

func (dst *SdkVolumeUnmountResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeUnmountResponse) XXX_Size

func (m *SdkVolumeUnmountResponse) XXX_Size() int

func (*SdkVolumeUnmountResponse) XXX_Unmarshal

func (m *SdkVolumeUnmountResponse) XXX_Unmarshal(b []byte) error

type SdkVolumeUpdateRequest

type SdkVolumeUpdateRequest struct {
	// Id of the volume to update
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" 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 `` /* 132-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" json:"spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

This request is used to adjust or set new values in the volume

func (*SdkVolumeUpdateRequest) Descriptor

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

func (*SdkVolumeUpdateRequest) GetLabels

func (m *SdkVolumeUpdateRequest) GetLabels() map[string]string

func (*SdkVolumeUpdateRequest) GetSpec

func (*SdkVolumeUpdateRequest) GetVolumeId

func (m *SdkVolumeUpdateRequest) GetVolumeId() string

func (*SdkVolumeUpdateRequest) ProtoMessage

func (*SdkVolumeUpdateRequest) ProtoMessage()

func (*SdkVolumeUpdateRequest) Reset

func (m *SdkVolumeUpdateRequest) Reset()

func (*SdkVolumeUpdateRequest) String

func (m *SdkVolumeUpdateRequest) String() string

func (*SdkVolumeUpdateRequest) XXX_DiscardUnknown

func (m *SdkVolumeUpdateRequest) XXX_DiscardUnknown()

func (*SdkVolumeUpdateRequest) XXX_Marshal

func (m *SdkVolumeUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeUpdateRequest) XXX_Merge

func (dst *SdkVolumeUpdateRequest) XXX_Merge(src proto.Message)

func (*SdkVolumeUpdateRequest) XXX_Size

func (m *SdkVolumeUpdateRequest) XXX_Size() int

func (*SdkVolumeUpdateRequest) XXX_Unmarshal

func (m *SdkVolumeUpdateRequest) XXX_Unmarshal(b []byte) error

type SdkVolumeUpdateResponse

type SdkVolumeUpdateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkVolumeUpdateResponse) Descriptor

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

func (*SdkVolumeUpdateResponse) ProtoMessage

func (*SdkVolumeUpdateResponse) ProtoMessage()

func (*SdkVolumeUpdateResponse) Reset

func (m *SdkVolumeUpdateResponse) Reset()

func (*SdkVolumeUpdateResponse) String

func (m *SdkVolumeUpdateResponse) String() string

func (*SdkVolumeUpdateResponse) XXX_DiscardUnknown

func (m *SdkVolumeUpdateResponse) XXX_DiscardUnknown()

func (*SdkVolumeUpdateResponse) XXX_Marshal

func (m *SdkVolumeUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SdkVolumeUpdateResponse) XXX_Merge

func (dst *SdkVolumeUpdateResponse) XXX_Merge(src proto.Message)

func (*SdkVolumeUpdateResponse) XXX_Size

func (m *SdkVolumeUpdateResponse) XXX_Size() int

func (*SdkVolumeUpdateResponse) XXX_Unmarshal

func (m *SdkVolumeUpdateResponse) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (SeverityType) String

func (x SeverityType) String() string

type Sharedv4FailoverStrategy

type Sharedv4FailoverStrategy struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Sharedv4FailoverStrategy specifies how long to wait before failing over to a new server.

func (*Sharedv4FailoverStrategy) Descriptor

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

func (*Sharedv4FailoverStrategy) ProtoMessage

func (*Sharedv4FailoverStrategy) ProtoMessage()

func (*Sharedv4FailoverStrategy) Reset

func (m *Sharedv4FailoverStrategy) Reset()

func (*Sharedv4FailoverStrategy) String

func (m *Sharedv4FailoverStrategy) String() string

func (*Sharedv4FailoverStrategy) XXX_DiscardUnknown

func (m *Sharedv4FailoverStrategy) XXX_DiscardUnknown()

func (*Sharedv4FailoverStrategy) XXX_Marshal

func (m *Sharedv4FailoverStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Sharedv4FailoverStrategy) XXX_Merge

func (dst *Sharedv4FailoverStrategy) XXX_Merge(src proto.Message)

func (*Sharedv4FailoverStrategy) XXX_Size

func (m *Sharedv4FailoverStrategy) XXX_Size() int

func (*Sharedv4FailoverStrategy) XXX_Unmarshal

func (m *Sharedv4FailoverStrategy) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (Sharedv4FailoverStrategy_Value) String

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" json:"name,omitempty"`
	// Indicates what kind of service would be created for this volume.
	Type                 Sharedv4ServiceSpec_ServiceType `protobuf:"varint,2,opt,name=type,enum=openstorage.api.Sharedv4ServiceSpec_ServiceType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

Sharedv4ServiceSpec when set, creates a service endpoint for accessing a sharedv4 volume.

func (*Sharedv4ServiceSpec) Descriptor

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

func (*Sharedv4ServiceSpec) GetName

func (m *Sharedv4ServiceSpec) GetName() string

func (*Sharedv4ServiceSpec) GetType

func (*Sharedv4ServiceSpec) ProtoMessage

func (*Sharedv4ServiceSpec) ProtoMessage()

func (*Sharedv4ServiceSpec) Reset

func (m *Sharedv4ServiceSpec) Reset()

func (*Sharedv4ServiceSpec) String

func (m *Sharedv4ServiceSpec) String() string

func (*Sharedv4ServiceSpec) XXX_DiscardUnknown

func (m *Sharedv4ServiceSpec) XXX_DiscardUnknown()

func (*Sharedv4ServiceSpec) XXX_Marshal

func (m *Sharedv4ServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Sharedv4ServiceSpec) XXX_Merge

func (dst *Sharedv4ServiceSpec) XXX_Merge(src proto.Message)

func (*Sharedv4ServiceSpec) XXX_Size

func (m *Sharedv4ServiceSpec) XXX_Size() int

func (*Sharedv4ServiceSpec) XXX_Unmarshal

func (m *Sharedv4ServiceSpec) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (Sharedv4ServiceSpec_ServiceType) String

type Sharedv4Spec

type Sharedv4Spec struct {
	// Indicates how aggressively to fail over to a new server.
	FailoverStrategy     Sharedv4FailoverStrategy_Value `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

Sharedv4Spec specifies common properties of sharedv4 and sharedv4 service volumes

func (*Sharedv4Spec) Descriptor

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

func (*Sharedv4Spec) GetFailoverStrategy

func (m *Sharedv4Spec) GetFailoverStrategy() Sharedv4FailoverStrategy_Value

func (*Sharedv4Spec) ProtoMessage

func (*Sharedv4Spec) ProtoMessage()

func (*Sharedv4Spec) Reset

func (m *Sharedv4Spec) Reset()

func (*Sharedv4Spec) String

func (m *Sharedv4Spec) String() string

func (*Sharedv4Spec) XXX_DiscardUnknown

func (m *Sharedv4Spec) XXX_DiscardUnknown()

func (*Sharedv4Spec) XXX_Marshal

func (m *Sharedv4Spec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Sharedv4Spec) XXX_Merge

func (dst *Sharedv4Spec) XXX_Merge(src proto.Message)

func (*Sharedv4Spec) XXX_Size

func (m *Sharedv4Spec) XXX_Size() int

func (*Sharedv4Spec) XXX_Unmarshal

func (m *Sharedv4Spec) XXX_Unmarshal(b []byte) error

type SnapCreateRequest

type SnapCreateRequest struct {
	// volume id
	Id       string         `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Locator  *VolumeLocator `protobuf:"bytes,2,opt,name=locator" json:"locator,omitempty"`
	Readonly bool           `protobuf:"varint,3,opt,name=readonly" json:"readonly,omitempty"`
	// NoRetry indicates not to retry snapshot creation in the background.
	NoRetry              bool     `protobuf:"varint,4,opt,name=no_retry,json=noRetry" json:"no_retry,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SnapCreateRequest specifies a request to create a snapshot of given volume.

func (*SnapCreateRequest) Descriptor

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

func (*SnapCreateRequest) GetId

func (m *SnapCreateRequest) GetId() string

func (*SnapCreateRequest) GetLocator

func (m *SnapCreateRequest) GetLocator() *VolumeLocator

func (*SnapCreateRequest) GetNoRetry

func (m *SnapCreateRequest) GetNoRetry() bool

func (*SnapCreateRequest) GetReadonly

func (m *SnapCreateRequest) GetReadonly() bool

func (*SnapCreateRequest) ProtoMessage

func (*SnapCreateRequest) ProtoMessage()

func (*SnapCreateRequest) Reset

func (m *SnapCreateRequest) Reset()

func (*SnapCreateRequest) String

func (m *SnapCreateRequest) String() string

func (*SnapCreateRequest) XXX_DiscardUnknown

func (m *SnapCreateRequest) XXX_DiscardUnknown()

func (*SnapCreateRequest) XXX_Marshal

func (m *SnapCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SnapCreateRequest) XXX_Merge

func (dst *SnapCreateRequest) XXX_Merge(src proto.Message)

func (*SnapCreateRequest) XXX_Size

func (m *SnapCreateRequest) XXX_Size() int

func (*SnapCreateRequest) XXX_Unmarshal

func (m *SnapCreateRequest) XXX_Unmarshal(b []byte) error

type SnapCreateResponse

type SnapCreateResponse struct {
	// VolumeCreateResponse
	//
	// in: body
	// Required: true
	VolumeCreateResponse *VolumeCreateResponse `protobuf:"bytes,1,opt,name=volume_create_response,json=volumeCreateResponse" json:"volume_create_response,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

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

func (*SnapCreateResponse) Descriptor

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

func (*SnapCreateResponse) GetVolumeCreateResponse

func (m *SnapCreateResponse) GetVolumeCreateResponse() *VolumeCreateResponse

func (*SnapCreateResponse) ProtoMessage

func (*SnapCreateResponse) ProtoMessage()

func (*SnapCreateResponse) Reset

func (m *SnapCreateResponse) Reset()

func (*SnapCreateResponse) String

func (m *SnapCreateResponse) String() string

func (*SnapCreateResponse) XXX_DiscardUnknown

func (m *SnapCreateResponse) XXX_DiscardUnknown()

func (*SnapCreateResponse) XXX_Marshal

func (m *SnapCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SnapCreateResponse) XXX_Merge

func (dst *SnapCreateResponse) XXX_Merge(src proto.Message)

func (*SnapCreateResponse) XXX_Size

func (m *SnapCreateResponse) XXX_Size() int

func (*SnapCreateResponse) XXX_Unmarshal

func (m *SnapCreateResponse) XXX_Unmarshal(b []byte) error

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" 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" json:"seed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Source is a structure that can be given to a volume to seed the volume with data.

func (*Source) Descriptor

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

func (*Source) GetParent

func (m *Source) GetParent() string

func (*Source) GetSeed

func (m *Source) GetSeed() string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) Reset

func (m *Source) Reset()

func (*Source) String

func (m *Source) String() string

func (*Source) XXX_DiscardUnknown

func (m *Source) XXX_DiscardUnknown()

func (*Source) XXX_Marshal

func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Source) XXX_Merge

func (dst *Source) XXX_Merge(src proto.Message)

func (*Source) XXX_Size

func (m *Source) XXX_Size() int

func (*Source) XXX_Unmarshal

func (m *Source) XXX_Unmarshal(b []byte) error

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" json:"reads,omitempty"`
	// Time spent in reads in ms
	ReadMs uint64 `protobuf:"varint,2,opt,name=read_ms,json=readMs" json:"read_ms,omitempty"`
	// Number of bytes read
	ReadBytes uint64 `protobuf:"varint,3,opt,name=read_bytes,json=readBytes" json:"read_bytes,omitempty"`
	// Writes completed successfully
	Writes uint64 `protobuf:"varint,4,opt,name=writes" json:"writes,omitempty"`
	// Time spent in writes in ms
	WriteMs uint64 `protobuf:"varint,5,opt,name=write_ms,json=writeMs" json:"write_ms,omitempty"`
	// Number of bytes written
	WriteBytes uint64 `protobuf:"varint,6,opt,name=write_bytes,json=writeBytes" json:"write_bytes,omitempty"`
	// IOs curently in progress
	IoProgress uint64 `protobuf:"varint,7,opt,name=io_progress,json=ioProgress" json:"io_progress,omitempty"`
	// Time spent doing IOs ms
	IoMs uint64 `protobuf:"varint,8,opt,name=io_ms,json=ioMs" json:"io_ms,omitempty"`
	// BytesUsed
	BytesUsed uint64 `protobuf:"varint,9,opt,name=bytes_used,json=bytesUsed" json:"bytes_used,omitempty"`
	// Interval in ms during which stats were collected
	IntervalMs uint64 `protobuf:"varint,10,opt,name=interval_ms,json=intervalMs" json:"interval_ms,omitempty"`
	// Unique Blocks
	UniqueBlocks         uint64   `protobuf:"varint,14,opt,name=unique_blocks,json=uniqueBlocks" json:"unique_blocks,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Stats is a structure that represents last collected stats for a volume

func (*Stats) Descriptor

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

func (*Stats) GetBytesUsed

func (m *Stats) GetBytesUsed() uint64

func (*Stats) GetIntervalMs

func (m *Stats) GetIntervalMs() uint64

func (*Stats) GetIoMs

func (m *Stats) GetIoMs() uint64

func (*Stats) GetIoProgress

func (m *Stats) GetIoProgress() uint64

func (*Stats) GetReadBytes

func (m *Stats) GetReadBytes() uint64

func (*Stats) GetReadMs

func (m *Stats) GetReadMs() uint64

func (*Stats) GetReads

func (m *Stats) GetReads() uint64

func (*Stats) GetUniqueBlocks

func (m *Stats) GetUniqueBlocks() uint64

func (*Stats) GetWriteBytes

func (m *Stats) GetWriteBytes() uint64

func (*Stats) GetWriteMs

func (m *Stats) GetWriteMs() uint64

func (*Stats) GetWrites

func (m *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) 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 (m *Stats) Reset()

func (*Stats) String

func (m *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

func (*Stats) XXX_DiscardUnknown

func (m *Stats) XXX_DiscardUnknown()

func (*Stats) XXX_Marshal

func (m *Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Stats) XXX_Merge

func (dst *Stats) XXX_Merge(src proto.Message)

func (*Stats) XXX_Size

func (m *Stats) XXX_Size() int

func (*Stats) XXX_Unmarshal

func (m *Stats) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

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

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,enum=openstorage.api.Status" json:"status,omitempty"`
	// Id of the cluster
	Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
	// Name of the cluster
	Name                 string   `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

StorageCluster represents the state and information about the cluster

func (*StorageCluster) Descriptor

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

func (*StorageCluster) GetId

func (m *StorageCluster) GetId() string

func (*StorageCluster) GetName

func (m *StorageCluster) GetName() string

func (*StorageCluster) GetStatus

func (m *StorageCluster) GetStatus() Status

func (*StorageCluster) ProtoMessage

func (*StorageCluster) ProtoMessage()

func (*StorageCluster) Reset

func (m *StorageCluster) Reset()

func (*StorageCluster) String

func (m *StorageCluster) String() string

func (*StorageCluster) XXX_DiscardUnknown

func (m *StorageCluster) XXX_DiscardUnknown()

func (*StorageCluster) XXX_Marshal

func (m *StorageCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageCluster) XXX_Merge

func (dst *StorageCluster) XXX_Merge(src proto.Message)

func (*StorageCluster) XXX_Size

func (m *StorageCluster) XXX_Size() int

func (*StorageCluster) XXX_Unmarshal

func (m *StorageCluster) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (StorageMedium) String

func (x StorageMedium) String() string

type StorageNode

type StorageNode struct {
	// Id of the node
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Cpu usage of the node
	Cpu float64 `protobuf:"fixed64,2,opt,name=cpu" json:"cpu,omitempty"`
	// Total memory of the node
	MemTotal uint64 `protobuf:"varint,3,opt,name=mem_total,json=memTotal" json:"mem_total,omitempty"`
	// Used memory of the node
	MemUsed uint64 `protobuf:"varint,4,opt,name=mem_used,json=memUsed" json:"mem_used,omitempty"`
	// Free memory of the node
	MemFree uint64 `protobuf:"varint,5,opt,name=mem_free,json=memFree" json:"mem_free,omitempty"`
	// Average load (percentage)
	AvgLoad int64 `protobuf:"varint,6,opt,name=avg_load,json=avgLoad" json:"avg_load,omitempty"`
	// Node status
	Status Status `protobuf:"varint,7,opt,name=status,enum=openstorage.api.Status" json:"status,omitempty"`
	// List of disks on the node
	Disks map[string]*StorageResource `` /* 130-byte string literal not displayed */
	// List of storage pools this node supports
	Pools []*StoragePool `protobuf:"bytes,10,rep,name=pools" json:"pools,omitempty"`
	// Management IP
	MgmtIp string `protobuf:"bytes,11,opt,name=mgmt_ip,json=mgmtIp" json:"mgmt_ip,omitempty"`
	// Data IP
	DataIp string `protobuf:"bytes,12,opt,name=data_ip,json=dataIp" json:"data_ip,omitempty"`
	// Hostname of the node
	Hostname string `protobuf:"bytes,15,opt,name=hostname" json:"hostname,omitempty"`
	// User defined labels for the node
	NodeLabels map[string]string `` /* 159-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" json:"scheduler_node_name,omitempty"`
	// HardwareType is the type of the hardware the node has
	HWType HardwareType `protobuf:"varint,18,opt,name=HWType,enum=openstorage.api.HardwareType" json:"HWType,omitempty"`
	// Determine if the node is secured
	SecurityStatus StorageNode_SecurityStatus `` /* 146-byte string literal not displayed */
	// Topology information of the node in scheduler context
	SchedulerTopology    *SchedulerTopology `protobuf:"bytes,20,opt,name=scheduler_topology,json=schedulerTopology" json:"scheduler_topology,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

StorageNode describes the state of the node

func (*StorageNode) Descriptor

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

func (*StorageNode) GetAvgLoad

func (m *StorageNode) GetAvgLoad() int64

func (*StorageNode) GetCpu

func (m *StorageNode) GetCpu() float64

func (*StorageNode) GetDataIp

func (m *StorageNode) GetDataIp() string

func (*StorageNode) GetDisks

func (m *StorageNode) GetDisks() map[string]*StorageResource

func (*StorageNode) GetHWType

func (m *StorageNode) GetHWType() HardwareType

func (*StorageNode) GetHostname

func (m *StorageNode) GetHostname() string

func (*StorageNode) GetId

func (m *StorageNode) GetId() string

func (*StorageNode) GetMemFree

func (m *StorageNode) GetMemFree() uint64

func (*StorageNode) GetMemTotal

func (m *StorageNode) GetMemTotal() uint64

func (*StorageNode) GetMemUsed

func (m *StorageNode) GetMemUsed() uint64

func (*StorageNode) GetMgmtIp

func (m *StorageNode) GetMgmtIp() string

func (*StorageNode) GetNodeLabels

func (m *StorageNode) GetNodeLabels() map[string]string

func (*StorageNode) GetPools

func (m *StorageNode) GetPools() []*StoragePool

func (*StorageNode) GetSchedulerNodeName

func (m *StorageNode) GetSchedulerNodeName() string

func (*StorageNode) GetSchedulerTopology

func (m *StorageNode) GetSchedulerTopology() *SchedulerTopology

func (*StorageNode) GetSecurityStatus

func (m *StorageNode) GetSecurityStatus() StorageNode_SecurityStatus

func (*StorageNode) GetStatus

func (m *StorageNode) GetStatus() Status

func (*StorageNode) ProtoMessage

func (*StorageNode) ProtoMessage()

func (*StorageNode) Reset

func (m *StorageNode) Reset()

func (*StorageNode) String

func (m *StorageNode) String() string

func (*StorageNode) XXX_DiscardUnknown

func (m *StorageNode) XXX_DiscardUnknown()

func (*StorageNode) XXX_Marshal

func (m *StorageNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageNode) XXX_Merge

func (dst *StorageNode) XXX_Merge(src proto.Message)

func (*StorageNode) XXX_Size

func (m *StorageNode) XXX_Size() int

func (*StorageNode) XXX_Unmarshal

func (m *StorageNode) XXX_Unmarshal(b []byte) error

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 secuirty authenticaiton and authorization.
	StorageNode_SECURED_ALLOW_SECURITY_REMOVAL StorageNode_SecurityStatus = 3
)

func (StorageNode_SecurityStatus) EnumDescriptor

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

func (StorageNode_SecurityStatus) String

type StoragePool

type StoragePool struct {
	// Deprecated! Use `uuid` instead. ID pool ID
	ID int32 `protobuf:"varint,1,opt,name=ID" json:"ID,omitempty"`
	// Cos reflects the capabilities of this drive pool
	Cos CosType `protobuf:"varint,2,opt,name=Cos,enum=openstorage.api.CosType" json:"Cos,omitempty"`
	// Medium underlying storage type
	Medium StorageMedium `protobuf:"varint,3,opt,name=Medium,enum=openstorage.api.StorageMedium" json:"Medium,omitempty"`
	// RaidLevel storage raid level
	RaidLevel string `protobuf:"bytes,4,opt,name=RaidLevel" json:"RaidLevel,omitempty"`
	// TotalSize of the pool
	TotalSize uint64 `protobuf:"varint,7,opt,name=TotalSize" json:"TotalSize,omitempty"`
	// Used size of the pool
	Used uint64 `protobuf:"varint,8,opt,name=Used" json:"Used,omitempty"`
	// Labels is a list of user defined name-value pairs
	Labels map[string]string `` /* 132-byte string literal not displayed */
	// UUID is the unique identifier for a storage pool
	Uuid string `protobuf:"bytes,10,opt,name=uuid" 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" json:"last_operation,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

StoragePool groups different storage devices based on their CosType

func (*StoragePool) Descriptor

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

func (*StoragePool) GetCos

func (m *StoragePool) GetCos() CosType

func (*StoragePool) GetID

func (m *StoragePool) GetID() int32

func (*StoragePool) GetLabels

func (m *StoragePool) GetLabels() map[string]string

func (*StoragePool) GetLastOperation

func (m *StoragePool) GetLastOperation() *StoragePoolOperation

func (*StoragePool) GetMedium

func (m *StoragePool) GetMedium() StorageMedium

func (*StoragePool) GetRaidLevel

func (m *StoragePool) GetRaidLevel() string

func (*StoragePool) GetTotalSize

func (m *StoragePool) GetTotalSize() uint64

func (*StoragePool) GetUsed

func (m *StoragePool) GetUsed() uint64

func (*StoragePool) GetUuid

func (m *StoragePool) GetUuid() string

func (*StoragePool) ProtoMessage

func (*StoragePool) ProtoMessage()

func (*StoragePool) Reset

func (m *StoragePool) Reset()

func (*StoragePool) String

func (m *StoragePool) String() string

func (*StoragePool) XXX_DiscardUnknown

func (m *StoragePool) XXX_DiscardUnknown()

func (*StoragePool) XXX_Marshal

func (m *StoragePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoragePool) XXX_Merge

func (dst *StoragePool) XXX_Merge(src proto.Message)

func (*StoragePool) XXX_Size

func (m *StoragePool) XXX_Size() int

func (*StoragePool) XXX_Unmarshal

func (m *StoragePool) XXX_Unmarshal(b []byte) error

type StoragePoolOperation

type StoragePoolOperation struct {
	// Type is the type of the operation
	Type SdkStoragePool_OperationType `protobuf:"varint,1,opt,name=type,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" json:"msg,omitempty"`
	// Params for the parameters for the operation
	Params map[string]string `` /* 132-byte string literal not displayed */
	// Status is the status of the operation
	Status               SdkStoragePool_OperationStatus `protobuf:"varint,4,opt,name=status,enum=openstorage.api.SdkStoragePool_OperationStatus" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

StoragePoolOperation defines an operation being performed on a storage pool

func (*StoragePoolOperation) Descriptor

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

func (*StoragePoolOperation) GetMsg

func (m *StoragePoolOperation) GetMsg() string

func (*StoragePoolOperation) GetParams

func (m *StoragePoolOperation) GetParams() map[string]string

func (*StoragePoolOperation) GetStatus

func (*StoragePoolOperation) GetType

func (*StoragePoolOperation) ProtoMessage

func (*StoragePoolOperation) ProtoMessage()

func (*StoragePoolOperation) Reset

func (m *StoragePoolOperation) Reset()

func (*StoragePoolOperation) String

func (m *StoragePoolOperation) String() string

func (*StoragePoolOperation) XXX_DiscardUnknown

func (m *StoragePoolOperation) XXX_DiscardUnknown()

func (*StoragePoolOperation) XXX_Marshal

func (m *StoragePoolOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoragePoolOperation) XXX_Merge

func (dst *StoragePoolOperation) XXX_Merge(src proto.Message)

func (*StoragePoolOperation) XXX_Size

func (m *StoragePoolOperation) XXX_Size() int

func (*StoragePoolOperation) XXX_Unmarshal

func (m *StoragePoolOperation) XXX_Unmarshal(b []byte) error

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" json:"volume_id,omitempty"`
	// Name is the name of the volumes which was rebalanced
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// Action is the action executed
	Action StorageRebalanceAudit_StorageRebalanceAction `protobuf:"varint,3,opt,name=action,enum=openstorage.api.StorageRebalanceAudit_StorageRebalanceAction" json:"action,omitempty"`
	// Node on which this action happened
	Node string `protobuf:"bytes,4,opt,name=node" json:"node,omitempty"`
	// Pool on which this action happened
	Pool string `protobuf:"bytes,5,opt,name=pool" json:"pool,omitempty"`
	// StartTime is the time at which action was started
	StartTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
	// EndTime is time time at which action ended
	EndTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
	// WorkSummary summarizes the work done
	WorkSummary []*StorageRebalanceWorkSummary `protobuf:"bytes,8,rep,name=work_summary,json=workSummary" json:"work_summary,omitempty"`
	// ReplicationSetId is the ID of the replication set
	ReplicationSetId uint64 `protobuf:"varint,9,opt,name=replication_set_id,json=replicationSetId" json:"replication_set_id,omitempty"`
	// State is the current state of the rebalance action
	State                StorageRebalanceJobState `protobuf:"varint,10,opt,name=state,enum=openstorage.api.StorageRebalanceJobState" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

StorageRebalanceAudit describes the action taken during rebalance

func (*StorageRebalanceAudit) Descriptor

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

func (*StorageRebalanceAudit) GetAction

func (*StorageRebalanceAudit) GetEndTime

func (m *StorageRebalanceAudit) GetEndTime() *timestamp.Timestamp

func (*StorageRebalanceAudit) GetName

func (m *StorageRebalanceAudit) GetName() string

func (*StorageRebalanceAudit) GetNode

func (m *StorageRebalanceAudit) GetNode() string

func (*StorageRebalanceAudit) GetPool

func (m *StorageRebalanceAudit) GetPool() string

func (*StorageRebalanceAudit) GetReplicationSetId

func (m *StorageRebalanceAudit) GetReplicationSetId() uint64

func (*StorageRebalanceAudit) GetStartTime

func (m *StorageRebalanceAudit) GetStartTime() *timestamp.Timestamp

func (*StorageRebalanceAudit) GetState

func (*StorageRebalanceAudit) GetVolumeId

func (m *StorageRebalanceAudit) GetVolumeId() string

func (*StorageRebalanceAudit) GetWorkSummary

func (m *StorageRebalanceAudit) GetWorkSummary() []*StorageRebalanceWorkSummary

func (*StorageRebalanceAudit) ProtoMessage

func (*StorageRebalanceAudit) ProtoMessage()

func (*StorageRebalanceAudit) Reset

func (m *StorageRebalanceAudit) Reset()

func (*StorageRebalanceAudit) String

func (m *StorageRebalanceAudit) String() string

func (*StorageRebalanceAudit) XXX_DiscardUnknown

func (m *StorageRebalanceAudit) XXX_DiscardUnknown()

func (*StorageRebalanceAudit) XXX_Marshal

func (m *StorageRebalanceAudit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageRebalanceAudit) XXX_Merge

func (dst *StorageRebalanceAudit) XXX_Merge(src proto.Message)

func (*StorageRebalanceAudit) XXX_Size

func (m *StorageRebalanceAudit) XXX_Size() int

func (*StorageRebalanceAudit) XXX_Unmarshal

func (m *StorageRebalanceAudit) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (StorageRebalanceAudit_StorageRebalanceAction) String

type StorageRebalanceJob

type StorageRebalanceJob struct {
	// ID of the rebalance job
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Status describes status of pools after rebalance if rebalance did not finish successfully
	Status string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// State of the current job
	State StorageRebalanceJobState `protobuf:"varint,3,opt,name=state,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" json:"parameters,omitempty"`
	// CreateTime is the time the job was created
	CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
	// LastUpdateTime is the time the job was updated
	LastUpdateTime       *timestamp.Timestamp `protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime" json:"last_update_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

StorageRebalanceJob describes job input and current status

func (*StorageRebalanceJob) Descriptor

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

func (*StorageRebalanceJob) GetCreateTime

func (m *StorageRebalanceJob) GetCreateTime() *timestamp.Timestamp

func (*StorageRebalanceJob) GetId

func (m *StorageRebalanceJob) GetId() string

func (*StorageRebalanceJob) GetLastUpdateTime

func (m *StorageRebalanceJob) GetLastUpdateTime() *timestamp.Timestamp

func (*StorageRebalanceJob) GetParameters

func (m *StorageRebalanceJob) GetParameters() *SdkStorageRebalanceRequest

func (*StorageRebalanceJob) GetState

func (*StorageRebalanceJob) GetStatus

func (m *StorageRebalanceJob) GetStatus() string

func (*StorageRebalanceJob) ProtoMessage

func (*StorageRebalanceJob) ProtoMessage()

func (*StorageRebalanceJob) Reset

func (m *StorageRebalanceJob) Reset()

func (*StorageRebalanceJob) String

func (m *StorageRebalanceJob) String() string

func (*StorageRebalanceJob) XXX_DiscardUnknown

func (m *StorageRebalanceJob) XXX_DiscardUnknown()

func (*StorageRebalanceJob) XXX_Marshal

func (m *StorageRebalanceJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageRebalanceJob) XXX_Merge

func (dst *StorageRebalanceJob) XXX_Merge(src proto.Message)

func (*StorageRebalanceJob) XXX_Size

func (m *StorageRebalanceJob) XXX_Size() int

func (*StorageRebalanceJob) XXX_Unmarshal

func (m *StorageRebalanceJob) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (StorageRebalanceJobState) String

func (x StorageRebalanceJobState) String() string

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" json:"total_run_time_seconds,omitempty"`
	// WorkSummary summarizes the work done
	WorkSummary          []*StorageRebalanceWorkSummary `protobuf:"bytes,2,rep,name=work_summary,json=workSummary" json:"work_summary,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

StorageRebalanceSummary describes summary for the job

func (*StorageRebalanceSummary) Descriptor

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

func (*StorageRebalanceSummary) GetTotalRunTimeSeconds

func (m *StorageRebalanceSummary) GetTotalRunTimeSeconds() uint64

func (*StorageRebalanceSummary) GetWorkSummary

func (*StorageRebalanceSummary) ProtoMessage

func (*StorageRebalanceSummary) ProtoMessage()

func (*StorageRebalanceSummary) Reset

func (m *StorageRebalanceSummary) Reset()

func (*StorageRebalanceSummary) String

func (m *StorageRebalanceSummary) String() string

func (*StorageRebalanceSummary) XXX_DiscardUnknown

func (m *StorageRebalanceSummary) XXX_DiscardUnknown()

func (*StorageRebalanceSummary) XXX_Marshal

func (m *StorageRebalanceSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageRebalanceSummary) XXX_Merge

func (dst *StorageRebalanceSummary) XXX_Merge(src proto.Message)

func (*StorageRebalanceSummary) XXX_Size

func (m *StorageRebalanceSummary) XXX_Size() int

func (*StorageRebalanceSummary) XXX_Unmarshal

func (m *StorageRebalanceSummary) XXX_Unmarshal(b []byte) error

type StorageRebalanceTriggerThreshold

type StorageRebalanceTriggerThreshold struct {
	// Type defines type of threshold
	Type StorageRebalanceTriggerThreshold_Type `protobuf:"varint,1,opt,name=type,enum=openstorage.api.StorageRebalanceTriggerThreshold_Type" json:"type,omitempty"`
	// Metric defines metric for which this threshold applies to.
	Metric StorageRebalanceTriggerThreshold_Metric `protobuf:"varint,2,opt,name=metric,enum=openstorage.api.StorageRebalanceTriggerThreshold_Metric" json:"metric,omitempty"`
	// 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 `` /* 131-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   `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral      struct{} `json:"-"`
	XXX_unrecognized          []byte   `json:"-"`
	XXX_sizecache             int32    `json:"-"`
}

func (*StorageRebalanceTriggerThreshold) Descriptor

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

func (*StorageRebalanceTriggerThreshold) GetMetric

func (*StorageRebalanceTriggerThreshold) GetOverLoadTriggerThreshold

func (m *StorageRebalanceTriggerThreshold) GetOverLoadTriggerThreshold() uint64

func (*StorageRebalanceTriggerThreshold) GetType

func (*StorageRebalanceTriggerThreshold) GetUnderLoadTriggerThreshold

func (m *StorageRebalanceTriggerThreshold) GetUnderLoadTriggerThreshold() uint64

func (*StorageRebalanceTriggerThreshold) ProtoMessage

func (*StorageRebalanceTriggerThreshold) ProtoMessage()

func (*StorageRebalanceTriggerThreshold) Reset

func (*StorageRebalanceTriggerThreshold) String

func (*StorageRebalanceTriggerThreshold) XXX_DiscardUnknown

func (m *StorageRebalanceTriggerThreshold) XXX_DiscardUnknown()

func (*StorageRebalanceTriggerThreshold) XXX_Marshal

func (m *StorageRebalanceTriggerThreshold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageRebalanceTriggerThreshold) XXX_Merge

func (dst *StorageRebalanceTriggerThreshold) XXX_Merge(src proto.Message)

func (*StorageRebalanceTriggerThreshold) XXX_Size

func (m *StorageRebalanceTriggerThreshold) XXX_Size() int

func (*StorageRebalanceTriggerThreshold) XXX_Unmarshal

func (m *StorageRebalanceTriggerThreshold) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (StorageRebalanceTriggerThreshold_Metric) String

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 comparision threshold.
	// Example, 10 % more than mean for cluster.
	StorageRebalanceTriggerThreshold_DELTA_MEAN_PERCENT StorageRebalanceTriggerThreshold_Type = 1
)

func (StorageRebalanceTriggerThreshold_Type) EnumDescriptor

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

func (StorageRebalanceTriggerThreshold_Type) String

type StorageRebalanceWorkSummary

type StorageRebalanceWorkSummary struct {
	// Type describes the type of summary.
	Type StorageRebalanceWorkSummary_Type `protobuf:"varint,1,opt,name=type,enum=openstorage.api.StorageRebalanceWorkSummary_Type" json:"type,omitempty"`
	// Done is the amount of bytes/work done
	Done uint64 `protobuf:"varint,2,opt,name=done" json:"done,omitempty"`
	// Pending is the amount of bytes/work pending. Done + Pending == Total
	Pending              uint64   `protobuf:"varint,3,opt,name=pending" json:"pending,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StorageRebalanceWorkSummary) Descriptor

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

func (*StorageRebalanceWorkSummary) GetDone

func (m *StorageRebalanceWorkSummary) GetDone() uint64

func (*StorageRebalanceWorkSummary) GetPending

func (m *StorageRebalanceWorkSummary) GetPending() uint64

func (*StorageRebalanceWorkSummary) GetType

func (*StorageRebalanceWorkSummary) ProtoMessage

func (*StorageRebalanceWorkSummary) ProtoMessage()

func (*StorageRebalanceWorkSummary) Reset

func (m *StorageRebalanceWorkSummary) Reset()

func (*StorageRebalanceWorkSummary) String

func (m *StorageRebalanceWorkSummary) String() string

func (*StorageRebalanceWorkSummary) XXX_DiscardUnknown

func (m *StorageRebalanceWorkSummary) XXX_DiscardUnknown()

func (*StorageRebalanceWorkSummary) XXX_Marshal

func (m *StorageRebalanceWorkSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageRebalanceWorkSummary) XXX_Merge

func (dst *StorageRebalanceWorkSummary) XXX_Merge(src proto.Message)

func (*StorageRebalanceWorkSummary) XXX_Size

func (m *StorageRebalanceWorkSummary) XXX_Size() int

func (*StorageRebalanceWorkSummary) XXX_Unmarshal

func (m *StorageRebalanceWorkSummary) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (StorageRebalanceWorkSummary_Type) String

type StorageResource

type StorageResource struct {
	// Id is the LUN identifier.
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Path device path for this storage resource.
	Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	// Storage medium.
	Medium StorageMedium `protobuf:"varint,3,opt,name=medium,enum=openstorage.api.StorageMedium" json:"medium,omitempty"`
	// True if this device is online.
	Online bool `protobuf:"varint,4,opt,name=online" json:"online,omitempty"`
	// IOPS
	Iops uint64 `protobuf:"varint,5,opt,name=iops" json:"iops,omitempty"`
	// SeqWrite
	SeqWrite float64 `protobuf:"fixed64,6,opt,name=seq_write,json=seqWrite" json:"seq_write,omitempty"`
	// SeqRead
	SeqRead float64 `protobuf:"fixed64,7,opt,name=seq_read,json=seqRead" json:"seq_read,omitempty"`
	// RandRW
	RandRW float64 `protobuf:"fixed64,8,opt,name=randRW" json:"randRW,omitempty"`
	// Total size in bytes.
	Size uint64 `protobuf:"varint,9,opt,name=size" json:"size,omitempty"`
	// Physical Bytes used.
	Used uint64 `protobuf:"varint,10,opt,name=used" json:"used,omitempty"`
	// True if this device is rotational.
	RotationSpeed string `protobuf:"bytes,11,opt,name=rotation_speed,json=rotationSpeed" json:"rotation_speed,omitempty"`
	// Timestamp of last time this device was scanned.
	LastScan *timestamp.Timestamp `protobuf:"bytes,12,opt,name=last_scan,json=lastScan" json:"last_scan,omitempty"`
	// True if dedicated for metadata.
	Metadata bool `protobuf:"varint,13,opt,name=metadata" json:"metadata,omitempty"`
	// True if dedicated as cache
	Cache                bool     `protobuf:"varint,14,opt,name=cache" json:"cache,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

StorageResource groups properties of a storage device.

func (*StorageResource) Descriptor

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

func (*StorageResource) GetCache

func (m *StorageResource) GetCache() bool

func (*StorageResource) GetId

func (m *StorageResource) GetId() string

func (*StorageResource) GetIops

func (m *StorageResource) GetIops() uint64

func (*StorageResource) GetLastScan

func (m *StorageResource) GetLastScan() *timestamp.Timestamp

func (*StorageResource) GetMedium

func (m *StorageResource) GetMedium() StorageMedium

func (*StorageResource) GetMetadata

func (m *StorageResource) GetMetadata() bool

func (*StorageResource) GetOnline

func (m *StorageResource) GetOnline() bool

func (*StorageResource) GetPath

func (m *StorageResource) GetPath() string

func (*StorageResource) GetRandRW

func (m *StorageResource) GetRandRW() float64

func (*StorageResource) GetRotationSpeed

func (m *StorageResource) GetRotationSpeed() string

func (*StorageResource) GetSeqRead

func (m *StorageResource) GetSeqRead() float64

func (*StorageResource) GetSeqWrite

func (m *StorageResource) GetSeqWrite() float64

func (*StorageResource) GetSize

func (m *StorageResource) GetSize() uint64

func (*StorageResource) GetUsed

func (m *StorageResource) GetUsed() uint64

func (*StorageResource) ProtoMessage

func (*StorageResource) ProtoMessage()

func (*StorageResource) Reset

func (m *StorageResource) Reset()

func (*StorageResource) String

func (m *StorageResource) String() string

func (*StorageResource) XXX_DiscardUnknown

func (m *StorageResource) XXX_DiscardUnknown()

func (*StorageResource) XXX_Marshal

func (m *StorageResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageResource) XXX_Merge

func (dst *StorageResource) XXX_Merge(src proto.Message)

func (*StorageResource) XXX_Size

func (m *StorageResource) XXX_Size() int

func (*StorageResource) XXX_Unmarshal

func (m *StorageResource) XXX_Unmarshal(b []byte) error

type StorageVersion

type StorageVersion struct {
	// OpenStorage driver name
	Driver string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"`
	// Version of the server
	Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	// Extra information provided by the storage system
	Details              map[string]string `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Version information about the storage system

func (*StorageVersion) Descriptor

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

func (*StorageVersion) GetDetails

func (m *StorageVersion) GetDetails() map[string]string

func (*StorageVersion) GetDriver

func (m *StorageVersion) GetDriver() string

func (*StorageVersion) GetVersion

func (m *StorageVersion) GetVersion() string

func (*StorageVersion) ProtoMessage

func (*StorageVersion) ProtoMessage()

func (*StorageVersion) Reset

func (m *StorageVersion) Reset()

func (*StorageVersion) String

func (m *StorageVersion) String() string

func (*StorageVersion) XXX_DiscardUnknown

func (m *StorageVersion) XXX_DiscardUnknown()

func (*StorageVersion) XXX_Marshal

func (m *StorageVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageVersion) XXX_Merge

func (dst *StorageVersion) XXX_Merge(src proto.Message)

func (*StorageVersion) XXX_Size

func (m *StorageVersion) XXX_Size() int

func (*StorageVersion) XXX_Unmarshal

func (m *StorageVersion) XXX_Unmarshal(b []byte) error

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 `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

TopologyRequirement defines the topology requirement for a volume

func (*TopologyRequirement) Descriptor

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

func (*TopologyRequirement) GetLabels

func (m *TopologyRequirement) GetLabels() map[string]string

func (*TopologyRequirement) ProtoMessage

func (*TopologyRequirement) ProtoMessage()

func (*TopologyRequirement) Reset

func (m *TopologyRequirement) Reset()

func (*TopologyRequirement) String

func (m *TopologyRequirement) String() string

func (*TopologyRequirement) XXX_DiscardUnknown

func (m *TopologyRequirement) XXX_DiscardUnknown()

func (*TopologyRequirement) XXX_Marshal

func (m *TopologyRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TopologyRequirement) XXX_Merge

func (dst *TopologyRequirement) XXX_Merge(src proto.Message)

func (*TopologyRequirement) XXX_Size

func (m *TopologyRequirement) XXX_Size() int

func (*TopologyRequirement) XXX_Unmarshal

func (m *TopologyRequirement) XXX_Unmarshal(b []byte) error

type Volume

type Volume struct {
	// Self referential volume ID.
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Source specified seed data for the volume.
	Source *Source `protobuf:"bytes,2,opt,name=source" json:"source,omitempty"`
	// Group volumes in the same group have the same group id.
	Group *Group `protobuf:"bytes,3,opt,name=group" json:"group,omitempty"`
	// Readonly is true if this volume is to be mounted with readonly access.
	Readonly bool `protobuf:"varint,4,opt,name=readonly" json:"readonly,omitempty"`
	// User specified locator
	Locator *VolumeLocator `protobuf:"bytes,5,opt,name=locator" json:"locator,omitempty"`
	// Volume creation time
	Ctime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=ctime" json:"ctime,omitempty"`
	// User specified VolumeSpec
	Spec *VolumeSpec `protobuf:"bytes,7,opt,name=spec" json:"spec,omitempty"`
	// Usage is bytes consumed by this volume.
	Usage uint64 `protobuf:"varint,8,opt,name=usage" json:"usage,omitempty"`
	// LastScan is the time when an integrity check was run.
	LastScan *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_scan,json=lastScan" json:"last_scan,omitempty"`
	// Format specifies the filesytem for this volume.
	Format FSType `protobuf:"varint,10,opt,name=format,enum=openstorage.api.FSType" json:"format,omitempty"`
	// VolumeStatus is the availability status of this volume.
	Status VolumeStatus `protobuf:"varint,11,opt,name=status,enum=openstorage.api.VolumeStatus" json:"status,omitempty"`
	// VolumeState is the current runtime state of this volume.
	State VolumeState `protobuf:"varint,12,opt,name=state,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" json:"attached_on,omitempty"`
	// AttachState shows whether the device is attached for internal or external use.
	AttachedState AttachState `` /* 128-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" 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" 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" json:"attach_path,omitempty"`
	// AttachInfo is a list of name value mappings that provides attach information.
	AttachInfo map[string]string `` /* 159-byte string literal not displayed */
	// ReplicatSets storage for this volumefor clustered storage arrays.
	ReplicaSets []*ReplicaSet `protobuf:"bytes,19,rep,name=replica_sets,json=replicaSets" 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" json:"runtime_state,omitempty"`
	// Error is the Last recorded error.
	Error string `protobuf:"bytes,21,opt,name=error" json:"error,omitempty"`
	// VolumeConsumers are entities that consume this volume
	VolumeConsumers []*VolumeConsumer `protobuf:"bytes,22,rep,name=volume_consumers,json=volumeConsumers" 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" json:"fs_resize_required,omitempty"`
	// AttachTime time this device was last attached externally.
	AttachTime *timestamp.Timestamp `protobuf:"bytes,24,opt,name=attach_time,json=attachTime" json:"attach_time,omitempty"`
	// DetachTime time this device was detached.
	DetachTime *timestamp.Timestamp `protobuf:"bytes,25,opt,name=detach_time,json=detachTime" json:"detach_time,omitempty"`
	// Fastpath extensions
	FpConfig *FastpathConfig `protobuf:"bytes,26,opt,name=fpConfig" json:"fpConfig,omitempty"`
	// LastScanFix is the time when an integrity check fixed errors in filesystem
	LastScanFix *timestamp.Timestamp `protobuf:"bytes,27,opt,name=last_scan_fix,json=lastScanFix" json:"last_scan_fix,omitempty"`
	// LastScanStatus is the time when an integrity check fixed errors in filesystem
	LastScanStatus FilesystemHealthStatus `` /* 144-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" 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" json:"sharedv4_mount_options,omitempty"`
	// DerivedIoProfile the IO profile determined from the pattern
	DerivedIoProfile IoProfile `` /* 137-byte string literal not displayed */
	// InTrashcan if the volume is in trashcan
	InTrashcan           bool     `protobuf:"varint,32,opt,name=in_trashcan,json=inTrashcan" json:"in_trashcan,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (Volume) DisplayId

func (v Volume) DisplayId() string

func (*Volume) GetAttachInfo

func (m *Volume) GetAttachInfo() map[string]string

func (*Volume) GetAttachPath

func (m *Volume) GetAttachPath() []string

func (*Volume) GetAttachTime

func (m *Volume) GetAttachTime() *timestamp.Timestamp

func (*Volume) GetAttachedOn

func (m *Volume) GetAttachedOn() string

func (*Volume) GetAttachedState

func (m *Volume) GetAttachedState() AttachState

func (*Volume) GetCtime

func (m *Volume) GetCtime() *timestamp.Timestamp

func (*Volume) GetDerivedIoProfile

func (m *Volume) GetDerivedIoProfile() IoProfile

func (*Volume) GetDetachTime

func (m *Volume) GetDetachTime() *timestamp.Timestamp

func (*Volume) GetDevicePath

func (m *Volume) GetDevicePath() string

func (*Volume) GetError

func (m *Volume) GetError() string

func (*Volume) GetFormat

func (m *Volume) GetFormat() FSType

func (*Volume) GetFpConfig

func (m *Volume) GetFpConfig() *FastpathConfig

func (*Volume) GetFsResizeRequired

func (m *Volume) GetFsResizeRequired() bool

func (*Volume) GetGroup

func (m *Volume) GetGroup() *Group

func (*Volume) GetId

func (m *Volume) GetId() string

func (*Volume) GetInTrashcan

func (m *Volume) GetInTrashcan() bool

func (*Volume) GetLastScan

func (m *Volume) GetLastScan() *timestamp.Timestamp

func (*Volume) GetLastScanFix

func (m *Volume) GetLastScanFix() *timestamp.Timestamp

func (*Volume) GetLastScanStatus

func (m *Volume) GetLastScanStatus() FilesystemHealthStatus

func (*Volume) GetLocator

func (m *Volume) GetLocator() *VolumeLocator

func (*Volume) GetMountOptions

func (m *Volume) GetMountOptions() *MountOptions

func (*Volume) GetReadonly

func (m *Volume) GetReadonly() bool

func (*Volume) GetReplicaSets

func (m *Volume) GetReplicaSets() []*ReplicaSet

func (*Volume) GetRuntimeState

func (m *Volume) GetRuntimeState() []*RuntimeStateMap

func (*Volume) GetSecureDevicePath

func (m *Volume) GetSecureDevicePath() string

func (*Volume) GetSharedv4MountOptions

func (m *Volume) GetSharedv4MountOptions() *MountOptions

func (*Volume) GetSource

func (m *Volume) GetSource() *Source

func (*Volume) GetSpec

func (m *Volume) GetSpec() *VolumeSpec

func (*Volume) GetState

func (m *Volume) GetState() VolumeState

func (*Volume) GetStatus

func (m *Volume) GetStatus() VolumeStatus

func (*Volume) GetUsage

func (m *Volume) GetUsage() uint64

func (*Volume) GetVolumeConsumers

func (m *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) Reset

func (m *Volume) Reset()

func (*Volume) Scaled

func (v *Volume) Scaled() bool

Scaled returns true if the volume is scaled.

func (*Volume) String

func (m *Volume) String() string

func (*Volume) XXX_DiscardUnknown

func (m *Volume) XXX_DiscardUnknown()

func (*Volume) XXX_Marshal

func (m *Volume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Volume) XXX_Merge

func (dst *Volume) XXX_Merge(src proto.Message)

func (*Volume) XXX_Size

func (m *Volume) XXX_Size() int

func (*Volume) XXX_Unmarshal

func (m *Volume) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (VolumeActionParam) SimpleString

func (x VolumeActionParam) SimpleString() string

SimpleString returns the string format of VolumeAction

func (VolumeActionParam) String

func (x VolumeActionParam) String() string

type VolumeConsumer

type VolumeConsumer struct {
	// Name is the name of the volume consumer
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Namespace is the namespace of the volume consumer
	Namespace string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"`
	// Type is the type of the consumer. E.g a Kubernetes pod
	Type string `protobuf:"bytes,3,opt,name=type" 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" 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" 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" json:"owner_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*VolumeConsumer) GetName

func (m *VolumeConsumer) GetName() string

func (*VolumeConsumer) GetNamespace

func (m *VolumeConsumer) GetNamespace() string

func (*VolumeConsumer) GetNodeId

func (m *VolumeConsumer) GetNodeId() string

func (*VolumeConsumer) GetOwnerName

func (m *VolumeConsumer) GetOwnerName() string

func (*VolumeConsumer) GetOwnerType

func (m *VolumeConsumer) GetOwnerType() string

func (*VolumeConsumer) GetType

func (m *VolumeConsumer) GetType() string

func (*VolumeConsumer) ProtoMessage

func (*VolumeConsumer) ProtoMessage()

func (*VolumeConsumer) Reset

func (m *VolumeConsumer) Reset()

func (*VolumeConsumer) String

func (m *VolumeConsumer) String() string

func (*VolumeConsumer) XXX_DiscardUnknown

func (m *VolumeConsumer) XXX_DiscardUnknown()

func (*VolumeConsumer) XXX_Marshal

func (m *VolumeConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeConsumer) XXX_Merge

func (dst *VolumeConsumer) XXX_Merge(src proto.Message)

func (*VolumeConsumer) XXX_Size

func (m *VolumeConsumer) XXX_Size() int

func (*VolumeConsumer) XXX_Unmarshal

func (m *VolumeConsumer) XXX_Unmarshal(b []byte) error

type VolumeCreateRequest

type VolumeCreateRequest struct {
	// User specified volume name and labels
	Locator *VolumeLocator `protobuf:"bytes,1,opt,name=locator" json:"locator,omitempty"`
	// Source to create volume
	Source *Source `protobuf:"bytes,2,opt,name=source" json:"source,omitempty"`
	// The storage spec for the volume
	Spec                 *VolumeSpec `protobuf:"bytes,3,opt,name=spec" json:"spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

VolumeCreateRequest is a structure that has the locator, source and spec to create a volume

func (*VolumeCreateRequest) Descriptor

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

func (*VolumeCreateRequest) GetLocator

func (m *VolumeCreateRequest) GetLocator() *VolumeLocator

func (*VolumeCreateRequest) GetSource

func (m *VolumeCreateRequest) GetSource() *Source

func (*VolumeCreateRequest) GetSpec

func (m *VolumeCreateRequest) GetSpec() *VolumeSpec

func (*VolumeCreateRequest) ProtoMessage

func (*VolumeCreateRequest) ProtoMessage()

func (*VolumeCreateRequest) Reset

func (m *VolumeCreateRequest) Reset()

func (*VolumeCreateRequest) String

func (m *VolumeCreateRequest) String() string

func (*VolumeCreateRequest) XXX_DiscardUnknown

func (m *VolumeCreateRequest) XXX_DiscardUnknown()

func (*VolumeCreateRequest) XXX_Marshal

func (m *VolumeCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeCreateRequest) XXX_Merge

func (dst *VolumeCreateRequest) XXX_Merge(src proto.Message)

func (*VolumeCreateRequest) XXX_Size

func (m *VolumeCreateRequest) XXX_Size() int

func (*VolumeCreateRequest) XXX_Unmarshal

func (m *VolumeCreateRequest) XXX_Unmarshal(b []byte) error

type VolumeCreateResponse

type VolumeCreateResponse struct {
	// ID of the newly created volume
	//
	// in: body
	// Required: true
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Volume Response
	//
	// in: body
	// Required: true
	VolumeResponse       *VolumeResponse `protobuf:"bytes,2,opt,name=volume_response,json=volumeResponse" json:"volume_response,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

VolumeCreateResponse

func (*VolumeCreateResponse) Descriptor

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

func (*VolumeCreateResponse) GetId

func (m *VolumeCreateResponse) GetId() string

func (*VolumeCreateResponse) GetVolumeResponse

func (m *VolumeCreateResponse) GetVolumeResponse() *VolumeResponse

func (*VolumeCreateResponse) ProtoMessage

func (*VolumeCreateResponse) ProtoMessage()

func (*VolumeCreateResponse) Reset

func (m *VolumeCreateResponse) Reset()

func (*VolumeCreateResponse) String

func (m *VolumeCreateResponse) String() string

func (*VolumeCreateResponse) XXX_DiscardUnknown

func (m *VolumeCreateResponse) XXX_DiscardUnknown()

func (*VolumeCreateResponse) XXX_Marshal

func (m *VolumeCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeCreateResponse) XXX_Merge

func (dst *VolumeCreateResponse) XXX_Merge(src proto.Message)

func (*VolumeCreateResponse) XXX_Size

func (m *VolumeCreateResponse) XXX_Size() int

func (*VolumeCreateResponse) XXX_Unmarshal

func (m *VolumeCreateResponse) XXX_Unmarshal(b []byte) error

type VolumeInfo

type VolumeInfo struct {
	VolumeId             string      `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	Path                 string      `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	Storage              *VolumeSpec `protobuf:"bytes,3,opt,name=storage" json:"storage,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

VolumeInfo

func (*VolumeInfo) Descriptor

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

func (*VolumeInfo) GetPath

func (m *VolumeInfo) GetPath() string

func (*VolumeInfo) GetStorage

func (m *VolumeInfo) GetStorage() *VolumeSpec

func (*VolumeInfo) GetVolumeId

func (m *VolumeInfo) GetVolumeId() string

func (*VolumeInfo) ProtoMessage

func (*VolumeInfo) ProtoMessage()

func (*VolumeInfo) Reset

func (m *VolumeInfo) Reset()

func (*VolumeInfo) String

func (m *VolumeInfo) String() string

func (*VolumeInfo) XXX_DiscardUnknown

func (m *VolumeInfo) XXX_DiscardUnknown()

func (*VolumeInfo) XXX_Marshal

func (m *VolumeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeInfo) XXX_Merge

func (dst *VolumeInfo) XXX_Merge(src proto.Message)

func (*VolumeInfo) XXX_Size

func (m *VolumeInfo) XXX_Size() int

func (*VolumeInfo) XXX_Unmarshal

func (m *VolumeInfo) XXX_Unmarshal(b []byte) error

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" json:"deep,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Options used for volume inspection

func (*VolumeInspectOptions) Descriptor

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

func (*VolumeInspectOptions) GetDeep

func (m *VolumeInspectOptions) GetDeep() bool

func (*VolumeInspectOptions) ProtoMessage

func (*VolumeInspectOptions) ProtoMessage()

func (*VolumeInspectOptions) Reset

func (m *VolumeInspectOptions) Reset()

func (*VolumeInspectOptions) String

func (m *VolumeInspectOptions) String() string

func (*VolumeInspectOptions) XXX_DiscardUnknown

func (m *VolumeInspectOptions) XXX_DiscardUnknown()

func (*VolumeInspectOptions) XXX_Marshal

func (m *VolumeInspectOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeInspectOptions) XXX_Merge

func (dst *VolumeInspectOptions) XXX_Merge(src proto.Message)

func (*VolumeInspectOptions) XXX_Size

func (m *VolumeInspectOptions) XXX_Size() int

func (*VolumeInspectOptions) XXX_Unmarshal

func (m *VolumeInspectOptions) XXX_Unmarshal(b []byte) error

type VolumeLocator

type VolumeLocator struct {
	// User friendly identifier
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// A set of name-value pairs that acts as search filters
	VolumeLabels map[string]string `` /* 164-byte string literal not displayed */
	// Filter with ownership
	Ownership *Ownership `protobuf:"bytes,3,opt,name=ownership" json:"ownership,omitempty"`
	// Filter by group
	Group *Group `protobuf:"bytes,4,opt,name=group" json:"group,omitempty"`
	// Volume Ids to match
	VolumeIds            []string `protobuf:"bytes,5,rep,name=volume_ids,json=volumeIds" json:"volume_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

VolumeLocator is a structure that is attached to a volume and is used to carry opaque metadata.

func (*VolumeLocator) Descriptor

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

func (*VolumeLocator) GetGroup

func (m *VolumeLocator) GetGroup() *Group

func (*VolumeLocator) GetName

func (m *VolumeLocator) GetName() string

func (*VolumeLocator) GetOwnership

func (m *VolumeLocator) GetOwnership() *Ownership

func (*VolumeLocator) GetVolumeIds

func (m *VolumeLocator) GetVolumeIds() []string

func (*VolumeLocator) GetVolumeLabels

func (m *VolumeLocator) GetVolumeLabels() map[string]string

func (*VolumeLocator) MergeVolumeSpecLabels

func (l *VolumeLocator) MergeVolumeSpecLabels(s *VolumeSpec) *VolumeLocator

func (*VolumeLocator) ProtoMessage

func (*VolumeLocator) ProtoMessage()

func (*VolumeLocator) Reset

func (m *VolumeLocator) Reset()

func (*VolumeLocator) String

func (m *VolumeLocator) String() string

func (*VolumeLocator) XXX_DiscardUnknown

func (m *VolumeLocator) XXX_DiscardUnknown()

func (*VolumeLocator) XXX_Marshal

func (m *VolumeLocator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeLocator) XXX_Merge

func (dst *VolumeLocator) XXX_Merge(src proto.Message)

func (*VolumeLocator) XXX_Size

func (m *VolumeLocator) XXX_Size() int

func (*VolumeLocator) XXX_Unmarshal

func (m *VolumeLocator) XXX_Unmarshal(b []byte) error

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" json:"weight,omitempty"`
	// Enforcement specifies the rule enforcement policy. Can take values: required or preferred.
	// (optional)
	Enforcement EnforcementType `protobuf:"varint,2,opt,name=enforcement,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" 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" json:"match_expressions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*VolumePlacementSpec) Descriptor

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

func (*VolumePlacementSpec) GetEnforcement

func (m *VolumePlacementSpec) GetEnforcement() EnforcementType

func (*VolumePlacementSpec) GetMatchExpressions

func (m *VolumePlacementSpec) GetMatchExpressions() []*LabelSelectorRequirement

func (*VolumePlacementSpec) GetTopologyKey

func (m *VolumePlacementSpec) GetTopologyKey() string

func (*VolumePlacementSpec) GetWeight

func (m *VolumePlacementSpec) GetWeight() int64

func (*VolumePlacementSpec) ProtoMessage

func (*VolumePlacementSpec) ProtoMessage()

func (*VolumePlacementSpec) Reset

func (m *VolumePlacementSpec) Reset()

func (*VolumePlacementSpec) String

func (m *VolumePlacementSpec) String() string

func (*VolumePlacementSpec) XXX_DiscardUnknown

func (m *VolumePlacementSpec) XXX_DiscardUnknown()

func (*VolumePlacementSpec) XXX_Marshal

func (m *VolumePlacementSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumePlacementSpec) XXX_Merge

func (dst *VolumePlacementSpec) XXX_Merge(src proto.Message)

func (*VolumePlacementSpec) XXX_Size

func (m *VolumePlacementSpec) XXX_Size() int

func (*VolumePlacementSpec) XXX_Unmarshal

func (m *VolumePlacementSpec) XXX_Unmarshal(b []byte) error

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" 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" json:"replica_anti_affinity,omitempty"`
	// VolumeAffinity defines affinity rules between volumes
	VolumeAffinity []*VolumePlacementSpec `protobuf:"bytes,3,rep,name=volume_affinity,json=volumeAffinity" json:"volume_affinity,omitempty"`
	// VolumeAntiAffinity defines anti-affinity rules between volumes
	VolumeAntiAffinity   []*VolumePlacementSpec `protobuf:"bytes,4,rep,name=volume_anti_affinity,json=volumeAntiAffinity" json:"volume_anti_affinity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

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

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

func (*VolumePlacementStrategy) GetReplicaAffinity

func (m *VolumePlacementStrategy) GetReplicaAffinity() []*ReplicaPlacementSpec

func (*VolumePlacementStrategy) GetReplicaAntiAffinity

func (m *VolumePlacementStrategy) GetReplicaAntiAffinity() []*ReplicaPlacementSpec

func (*VolumePlacementStrategy) GetVolumeAffinity

func (m *VolumePlacementStrategy) GetVolumeAffinity() []*VolumePlacementSpec

func (*VolumePlacementStrategy) GetVolumeAntiAffinity

func (m *VolumePlacementStrategy) GetVolumeAntiAffinity() []*VolumePlacementSpec

func (*VolumePlacementStrategy) ProtoMessage

func (*VolumePlacementStrategy) ProtoMessage()

func (*VolumePlacementStrategy) Reset

func (m *VolumePlacementStrategy) Reset()

func (*VolumePlacementStrategy) String

func (m *VolumePlacementStrategy) String() string

func (*VolumePlacementStrategy) XXX_DiscardUnknown

func (m *VolumePlacementStrategy) XXX_DiscardUnknown()

func (*VolumePlacementStrategy) XXX_Marshal

func (m *VolumePlacementStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumePlacementStrategy) XXX_Merge

func (dst *VolumePlacementStrategy) XXX_Merge(src proto.Message)

func (*VolumePlacementStrategy) XXX_Size

func (m *VolumePlacementStrategy) XXX_Size() int

func (*VolumePlacementStrategy) XXX_Unmarshal

func (m *VolumePlacementStrategy) XXX_Unmarshal(b []byte) error

type VolumeResponse

type VolumeResponse struct {
	// Error message
	//
	// in: body
	// Required: true
	Error                string   `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

VolumeResponse is a structure that wraps an error.

func (*VolumeResponse) Descriptor

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

func (*VolumeResponse) GetError

func (m *VolumeResponse) GetError() string

func (*VolumeResponse) ProtoMessage

func (*VolumeResponse) ProtoMessage()

func (*VolumeResponse) Reset

func (m *VolumeResponse) Reset()

func (*VolumeResponse) String

func (m *VolumeResponse) String() string

func (*VolumeResponse) XXX_DiscardUnknown

func (m *VolumeResponse) XXX_DiscardUnknown()

func (*VolumeResponse) XXX_Marshal

func (m *VolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeResponse) XXX_Merge

func (dst *VolumeResponse) XXX_Merge(src proto.Message)

func (*VolumeResponse) XXX_Size

func (m *VolumeResponse) XXX_Size() int

func (*VolumeResponse) XXX_Unmarshal

func (m *VolumeResponse) XXX_Unmarshal(b []byte) error

type VolumeServiceInstanceResponse

type VolumeServiceInstanceResponse struct {
	// Error code
	Error string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// Status information exposed a map
	Status               map[string]string `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*VolumeServiceInstanceResponse) Descriptor

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

func (*VolumeServiceInstanceResponse) GetError

func (m *VolumeServiceInstanceResponse) GetError() string

func (*VolumeServiceInstanceResponse) GetStatus

func (m *VolumeServiceInstanceResponse) GetStatus() map[string]string

func (*VolumeServiceInstanceResponse) ProtoMessage

func (*VolumeServiceInstanceResponse) ProtoMessage()

func (*VolumeServiceInstanceResponse) Reset

func (m *VolumeServiceInstanceResponse) Reset()

func (*VolumeServiceInstanceResponse) String

func (*VolumeServiceInstanceResponse) XXX_DiscardUnknown

func (m *VolumeServiceInstanceResponse) XXX_DiscardUnknown()

func (*VolumeServiceInstanceResponse) XXX_Marshal

func (m *VolumeServiceInstanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeServiceInstanceResponse) XXX_Merge

func (dst *VolumeServiceInstanceResponse) XXX_Merge(src proto.Message)

func (*VolumeServiceInstanceResponse) XXX_Size

func (m *VolumeServiceInstanceResponse) XXX_Size() int

func (*VolumeServiceInstanceResponse) XXX_Unmarshal

func (m *VolumeServiceInstanceResponse) XXX_Unmarshal(b []byte) error

type VolumeServiceRequest

type VolumeServiceRequest struct {
	// User specified volume service command
	SrvCmd string `protobuf:"bytes,1,opt,name=srv_cmd,json=srvCmd" json:"srv_cmd,omitempty"`
	// User specified volume service command's params
	SrvCmdParams         map[string]string `` /* 166-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

VolumeServiceRequest provides details on what volume service command to perform in background on the volume

func (*VolumeServiceRequest) Descriptor

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

func (*VolumeServiceRequest) GetSrvCmd

func (m *VolumeServiceRequest) GetSrvCmd() string

func (*VolumeServiceRequest) GetSrvCmdParams

func (m *VolumeServiceRequest) GetSrvCmdParams() map[string]string

func (*VolumeServiceRequest) ProtoMessage

func (*VolumeServiceRequest) ProtoMessage()

func (*VolumeServiceRequest) Reset

func (m *VolumeServiceRequest) Reset()

func (*VolumeServiceRequest) String

func (m *VolumeServiceRequest) String() string

func (*VolumeServiceRequest) XXX_DiscardUnknown

func (m *VolumeServiceRequest) XXX_DiscardUnknown()

func (*VolumeServiceRequest) XXX_Marshal

func (m *VolumeServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeServiceRequest) XXX_Merge

func (dst *VolumeServiceRequest) XXX_Merge(src proto.Message)

func (*VolumeServiceRequest) XXX_Size

func (m *VolumeServiceRequest) XXX_Size() int

func (*VolumeServiceRequest) XXX_Unmarshal

func (m *VolumeServiceRequest) XXX_Unmarshal(b []byte) error

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" json:"vol_srv_rsp_obj_cnt,omitempty"`
	VolSrvRsp            []*VolumeServiceInstanceResponse `protobuf:"bytes,2,rep,name=vol_srv_rsp,json=volSrvRsp" json:"vol_srv_rsp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

VolumeServiceResponse specifies the response to a Volume Service command performed on a volumen

func (*VolumeServiceResponse) Descriptor

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

func (*VolumeServiceResponse) GetVolSrvRsp

func (*VolumeServiceResponse) GetVolSrvRspObjCnt

func (m *VolumeServiceResponse) GetVolSrvRspObjCnt() int32

func (*VolumeServiceResponse) ProtoMessage

func (*VolumeServiceResponse) ProtoMessage()

func (*VolumeServiceResponse) Reset

func (m *VolumeServiceResponse) Reset()

func (*VolumeServiceResponse) String

func (m *VolumeServiceResponse) String() string

func (*VolumeServiceResponse) XXX_DiscardUnknown

func (m *VolumeServiceResponse) XXX_DiscardUnknown()

func (*VolumeServiceResponse) XXX_Marshal

func (m *VolumeServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeServiceResponse) XXX_Merge

func (dst *VolumeServiceResponse) XXX_Merge(src proto.Message)

func (*VolumeServiceResponse) XXX_Size

func (m *VolumeServiceResponse) XXX_Size() int

func (*VolumeServiceResponse) XXX_Unmarshal

func (m *VolumeServiceResponse) XXX_Unmarshal(b []byte) error

type VolumeSetRequest

type VolumeSetRequest struct {
	// User specified volume name and labels
	Locator *VolumeLocator `protobuf:"bytes,1,opt,name=locator" json:"locator,omitempty"`
	// The storage spec for the volume
	Spec *VolumeSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// State modification on this volume.
	Action *VolumeStateAction `protobuf:"bytes,3,opt,name=action" json:"action,omitempty"`
	// additional options
	// required for the Set operation.
	Options              map[string]string `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

VolumeSet specifies a request to update a volume.

func (*VolumeSetRequest) Descriptor

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

func (*VolumeSetRequest) GetAction

func (m *VolumeSetRequest) GetAction() *VolumeStateAction

func (*VolumeSetRequest) GetLocator

func (m *VolumeSetRequest) GetLocator() *VolumeLocator

func (*VolumeSetRequest) GetOptions

func (m *VolumeSetRequest) GetOptions() map[string]string

func (*VolumeSetRequest) GetSpec

func (m *VolumeSetRequest) GetSpec() *VolumeSpec

func (*VolumeSetRequest) ProtoMessage

func (*VolumeSetRequest) ProtoMessage()

func (*VolumeSetRequest) Reset

func (m *VolumeSetRequest) Reset()

func (*VolumeSetRequest) String

func (m *VolumeSetRequest) String() string

func (*VolumeSetRequest) XXX_DiscardUnknown

func (m *VolumeSetRequest) XXX_DiscardUnknown()

func (*VolumeSetRequest) XXX_Marshal

func (m *VolumeSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeSetRequest) XXX_Merge

func (dst *VolumeSetRequest) XXX_Merge(src proto.Message)

func (*VolumeSetRequest) XXX_Size

func (m *VolumeSetRequest) XXX_Size() int

func (*VolumeSetRequest) XXX_Unmarshal

func (m *VolumeSetRequest) XXX_Unmarshal(b []byte) error

type VolumeSetResponse

type VolumeSetResponse struct {
	// Volume
	Volume *Volume `protobuf:"bytes,1,opt,name=volume" json:"volume,omitempty"`
	// VolumeResponse
	VolumeResponse       *VolumeResponse `protobuf:"bytes,2,opt,name=volume_response,json=volumeResponse" json:"volume_response,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

VolumeSetResponse

func (*VolumeSetResponse) Descriptor

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

func (*VolumeSetResponse) GetVolume

func (m *VolumeSetResponse) GetVolume() *Volume

func (*VolumeSetResponse) GetVolumeResponse

func (m *VolumeSetResponse) GetVolumeResponse() *VolumeResponse

func (*VolumeSetResponse) ProtoMessage

func (*VolumeSetResponse) ProtoMessage()

func (*VolumeSetResponse) Reset

func (m *VolumeSetResponse) Reset()

func (*VolumeSetResponse) String

func (m *VolumeSetResponse) String() string

func (*VolumeSetResponse) XXX_DiscardUnknown

func (m *VolumeSetResponse) XXX_DiscardUnknown()

func (*VolumeSetResponse) XXX_Marshal

func (m *VolumeSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeSetResponse) XXX_Merge

func (dst *VolumeSetResponse) XXX_Merge(src proto.Message)

func (*VolumeSetResponse) XXX_Size

func (m *VolumeSetResponse) XXX_Size() int

func (*VolumeSetResponse) XXX_Unmarshal

func (m *VolumeSetResponse) XXX_Unmarshal(b []byte) error

type VolumeSpec

type VolumeSpec struct {
	// Ephemeral storage
	Ephemeral bool `protobuf:"varint,1,opt,name=ephemeral" json:"ephemeral,omitempty"`
	// Size specifies the thin provisioned volume size in bytes
	Size uint64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
	// Format specifies the filesystem for this volume.
	Format FSType `protobuf:"varint,3,opt,name=format,enum=openstorage.api.FSType" json:"format,omitempty"`
	// BlockSize for the filesystem.
	BlockSize int64 `protobuf:"varint,4,opt,name=block_size,json=blockSize" json:"block_size,omitempty"`
	// HaLevel specifies the number of copies of data.
	HaLevel int64 `protobuf:"varint,5,opt,name=ha_level,json=haLevel" json:"ha_level,omitempty"`
	// Cos specifies the relative class of service.
	Cos CosType `protobuf:"varint,6,opt,name=cos,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,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" json:"dedupe,omitempty"`
	// SnapshotInterval in minutes, set to 0 to disable snapshots
	SnapshotInterval uint32 `protobuf:"varint,9,opt,name=snapshot_interval,json=snapshotInterval" json:"snapshot_interval,omitempty"`
	// (deprecated, do not use) VolumeLabels configuration labels
	VolumeLabels map[string]string `` /* 165-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" 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" 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" json:"aggregation_level,omitempty"`
	// Encrypted is true if this volume will be cryptographically secured.
	Encrypted bool `protobuf:"varint,14,opt,name=encrypted" json:"encrypted,omitempty"`
	// Passphrase for an encrypted volume
	Passphrase string `protobuf:"bytes,15,opt,name=passphrase" 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" json:"snapshot_schedule,omitempty"`
	// Scale allows autocreation of volumes.
	Scale uint32 `protobuf:"varint,17,opt,name=scale" json:"scale,omitempty"`
	// Sticky volumes cannot be deleted until the flag is removed.
	Sticky bool `protobuf:"varint,18,opt,name=sticky" json:"sticky,omitempty"`
	// Group identifies a consistency group
	Group *Group `protobuf:"bytes,21,opt,name=group" json:"group,omitempty"`
	// GroupEnforced is true if consistency group creation is enforced.
	GroupEnforced bool `protobuf:"varint,22,opt,name=group_enforced,json=groupEnforced" json:"group_enforced,omitempty"`
	// Compressed is true if this volume is to be compressed.
	Compressed bool `protobuf:"varint,23,opt,name=compressed" 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" json:"cascaded,omitempty"`
	// Journal is true if data for the volume goes into the journal.
	Journal bool `protobuf:"varint,25,opt,name=journal" json:"journal,omitempty"`
	// Sharedv4 is true if this volume can be accessed via sharedv4.
	Sharedv4 bool `protobuf:"varint,26,opt,name=sharedv4" json:"sharedv4,omitempty"`
	// QueueDepth defines the desired block device queue depth
	QueueDepth uint32 `protobuf:"varint,27,opt,name=queue_depth,json=queueDepth" 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 `` /* 126-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" json:"nodiscard,omitempty"`
	// IoStrategy preferred strategy for I/O.
	IoStrategy *IoStrategy `protobuf:"bytes,30,opt,name=io_strategy,json=ioStrategy" 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" json:"placement_strategy,omitempty"`
	// StoragePolicy if applied/specified while creating volume
	StoragePolicy string `protobuf:"bytes,32,opt,name=storage_policy,json=storagePolicy" json:"storage_policy,omitempty"`
	// Ownership
	Ownership *Ownership `protobuf:"bytes,33,opt,name=ownership" json:"ownership,omitempty"`
	// ExportSpec defines how the volume should be exported.
	ExportSpec *ExportSpec `protobuf:"bytes,34,opt,name=export_spec,json=exportSpec" json:"export_spec,omitempty"`
	// fastpath extensions
	FpPreference bool `protobuf:"varint,35,opt,name=fp_preference,json=fpPreference" json:"fp_preference,omitempty"`
	// Xattr specifies implementation specific volume attributes
	Xattr Xattr_Value `protobuf:"varint,36,opt,name=xattr,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" 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" 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" 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" 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" 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" 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" 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" 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" json:"io_throttle,omitempty"`
	// TopologyRequirement topology requirement for this volume
	TopologyRequirement  *TopologyRequirement `protobuf:"bytes,48,opt,name=topology_requirement,json=topologyRequirement" json:"topology_requirement,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*VolumeSpec) GetAggregationLevel

func (m *VolumeSpec) GetAggregationLevel() uint32

func (*VolumeSpec) GetAutoFstrim

func (m *VolumeSpec) GetAutoFstrim() bool

func (*VolumeSpec) GetBlockSize

func (m *VolumeSpec) GetBlockSize() int64

func (*VolumeSpec) GetCascaded

func (m *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 (m *VolumeSpec) GetCompressed() bool

func (*VolumeSpec) GetCos

func (m *VolumeSpec) GetCos() CosType

func (*VolumeSpec) GetDedupe

func (m *VolumeSpec) GetDedupe() bool

func (*VolumeSpec) GetEncrypted

func (m *VolumeSpec) GetEncrypted() bool

func (*VolumeSpec) GetEphemeral

func (m *VolumeSpec) GetEphemeral() bool

func (*VolumeSpec) GetExportSpec

func (m *VolumeSpec) GetExportSpec() *ExportSpec

func (*VolumeSpec) GetForceUnsupportedFsType

func (m *VolumeSpec) GetForceUnsupportedFsType() bool

func (*VolumeSpec) GetFormat

func (m *VolumeSpec) GetFormat() FSType

func (*VolumeSpec) GetFpPreference

func (m *VolumeSpec) GetFpPreference() bool

func (*VolumeSpec) GetGroup

func (m *VolumeSpec) GetGroup() *Group

func (*VolumeSpec) GetGroupEnforced

func (m *VolumeSpec) GetGroupEnforced() bool

func (*VolumeSpec) GetHaLevel

func (m *VolumeSpec) GetHaLevel() int64

func (*VolumeSpec) GetIoProfile

func (m *VolumeSpec) GetIoProfile() IoProfile

func (*VolumeSpec) GetIoStrategy

func (m *VolumeSpec) GetIoStrategy() *IoStrategy

func (*VolumeSpec) GetIoThrottle

func (m *VolumeSpec) GetIoThrottle() *IoThrottle

func (*VolumeSpec) GetJournal

func (m *VolumeSpec) GetJournal() bool

func (*VolumeSpec) GetMountOptions

func (m *VolumeSpec) GetMountOptions() *MountOptions

func (*VolumeSpec) GetNodiscard

func (m *VolumeSpec) GetNodiscard() bool

func (*VolumeSpec) GetOwnership

func (m *VolumeSpec) GetOwnership() *Ownership

func (*VolumeSpec) GetPassphrase

func (m *VolumeSpec) GetPassphrase() string

func (*VolumeSpec) GetPlacementStrategy

func (m *VolumeSpec) GetPlacementStrategy() *VolumePlacementStrategy

func (*VolumeSpec) GetProxySpec

func (m *VolumeSpec) GetProxySpec() *ProxySpec

func (*VolumeSpec) GetProxyWrite

func (m *VolumeSpec) GetProxyWrite() bool

func (*VolumeSpec) GetQueueDepth

func (m *VolumeSpec) GetQueueDepth() uint32

func (*VolumeSpec) GetReplicaSet

func (m *VolumeSpec) GetReplicaSet() *ReplicaSet

func (*VolumeSpec) GetScale

func (m *VolumeSpec) GetScale() uint32

func (*VolumeSpec) GetScanPolicy

func (m *VolumeSpec) GetScanPolicy() *ScanPolicy

func (*VolumeSpec) GetShared

func (m *VolumeSpec) GetShared() bool

func (*VolumeSpec) GetSharedv4

func (m *VolumeSpec) GetSharedv4() bool

func (*VolumeSpec) GetSharedv4MountOptions

func (m *VolumeSpec) GetSharedv4MountOptions() *MountOptions

func (*VolumeSpec) GetSharedv4ServiceSpec

func (m *VolumeSpec) GetSharedv4ServiceSpec() *Sharedv4ServiceSpec

func (*VolumeSpec) GetSharedv4Spec

func (m *VolumeSpec) GetSharedv4Spec() *Sharedv4Spec

func (*VolumeSpec) GetSize

func (m *VolumeSpec) GetSize() uint64

func (*VolumeSpec) GetSnapshotInterval

func (m *VolumeSpec) GetSnapshotInterval() uint32

func (*VolumeSpec) GetSnapshotSchedule

func (m *VolumeSpec) GetSnapshotSchedule() string

func (*VolumeSpec) GetSticky

func (m *VolumeSpec) GetSticky() bool

func (*VolumeSpec) GetStoragePolicy

func (m *VolumeSpec) GetStoragePolicy() string

func (*VolumeSpec) GetTopologyRequirement

func (m *VolumeSpec) GetTopologyRequirement() *TopologyRequirement

func (*VolumeSpec) GetVolumeLabels

func (m *VolumeSpec) GetVolumeLabels() map[string]string

func (*VolumeSpec) GetXattr

func (m *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) Reset

func (m *VolumeSpec) Reset()

func (*VolumeSpec) String

func (m *VolumeSpec) String() string

func (*VolumeSpec) XXX_DiscardUnknown

func (m *VolumeSpec) XXX_DiscardUnknown()

func (*VolumeSpec) XXX_Marshal

func (m *VolumeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeSpec) XXX_Merge

func (dst *VolumeSpec) XXX_Merge(src proto.Message)

func (*VolumeSpec) XXX_Size

func (m *VolumeSpec) XXX_Size() int

func (*VolumeSpec) XXX_Unmarshal

func (m *VolumeSpec) XXX_Unmarshal(b []byte) error

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 valid to be assigned 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 valid to be assigned to HaLevelOpt:
	//	*VolumeSpecPolicy_HaLevel
	HaLevelOpt isVolumeSpecPolicy_HaLevelOpt `protobuf_oneof:"ha_level_opt"`
	// Cos specifies the relative class of service.
	//
	// Types that are valid to be assigned to CosOpt:
	//	*VolumeSpecPolicy_Cos
	CosOpt isVolumeSpecPolicy_CosOpt `protobuf_oneof:"cos_opt"`
	// IoProfile provides a hint about application using this volume.
	//
	// Types that are valid to be assigned 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 valid to be assigned to DedupeOpt:
	//	*VolumeSpecPolicy_Dedupe
	DedupeOpt isVolumeSpecPolicy_DedupeOpt `protobuf_oneof:"dedupe_opt"`
	// SnapshotInterval in minutes, set to 0 to disable snapshots
	//
	// Types that are valid to be assigned to SnapshotIntervalOpt:
	//	*VolumeSpecPolicy_SnapshotInterval
	SnapshotIntervalOpt isVolumeSpecPolicy_SnapshotIntervalOpt `protobuf_oneof:"snapshot_interval_opt"`
	// VolumeLabels configuration labels
	VolumeLabels map[string]string `` /* 164-byte string literal not displayed */
	// Shared is true if this volume can be remotely accessed.
	//
	// Types that are valid to be assigned 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" json:"replica_set,omitempty"`
	// Passphrase for an encrypted volume
	//
	// Types that are valid to be assigned 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 valid to be assigned to SnapshotScheduleOpt:
	//	*VolumeSpecPolicy_SnapshotSchedule
	SnapshotScheduleOpt isVolumeSpecPolicy_SnapshotScheduleOpt `protobuf_oneof:"snapshot_schedule_opt"`
	// Scale allows autocreation of volumes.
	//
	// Types that are valid to be assigned to ScaleOpt:
	//	*VolumeSpecPolicy_Scale
	ScaleOpt isVolumeSpecPolicy_ScaleOpt `protobuf_oneof:"scale_opt"`
	// Sticky volumes cannot be deleted until the flag is removed.
	//
	// Types that are valid to be assigned to StickyOpt:
	//	*VolumeSpecPolicy_Sticky
	StickyOpt isVolumeSpecPolicy_StickyOpt `protobuf_oneof:"sticky_opt"`
	// Group identifies a consistency group
	//
	// Types that are valid to be assigned 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 valid to be assigned 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 valid to be assigned to Sharedv4Opt:
	//	*VolumeSpecPolicy_Sharedv4
	Sharedv4Opt isVolumeSpecPolicy_Sharedv4Opt `protobuf_oneof:"sharedv4_opt"`
	// QueueDepth defines the desired block device queue depth
	//
	// Types that are valid to be assigned 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 valid to be assigned 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 valid to be assigned to AggregationLevelOpt:
	//	*VolumeSpecPolicy_AggregationLevel
	AggregationLevelOpt isVolumeSpecPolicy_AggregationLevelOpt `protobuf_oneof:"aggregation_level_opt"`
	// Operator to check size
	SizeOperator VolumeSpecPolicy_PolicyOp `` /* 139-byte string literal not displayed */
	// Operator to check ha_level
	HaLevelOperator VolumeSpecPolicy_PolicyOp `` /* 150-byte string literal not displayed */
	// Operator to check scale
	ScaleOperator VolumeSpecPolicy_PolicyOp `` /* 142-byte string literal not displayed */
	// Operator to check snapshot_interval
	SnapshotIntervalOperator VolumeSpecPolicy_PolicyOp `` /* 177-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 valid to be assigned 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" json:"io_strategy,omitempty"`
	// ExportSpec preferred volume export options.
	//
	// Types that are valid to be assigned 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 valid to be assigned 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 valid to be assigned 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 valid to be assigned 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 valid to be assigned 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 valid to be assigned to ProxySpecOpt:
	//	*VolumeSpecPolicy_ProxySpec
	ProxySpecOpt isVolumeSpecPolicy_ProxySpecOpt `protobuf_oneof:"proxy_spec_opt"`
	// fastpath preference
	//
	// Types that are valid to be assigned 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 valid to be assigned 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 valid to be assigned 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 valid to be assigned 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 valid to be assigned to IoThrottleOpt:
	//	*VolumeSpecPolicy_IoThrottle
	IoThrottleOpt        isVolumeSpecPolicy_IoThrottleOpt `protobuf_oneof:"io_throttle_opt"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

VolumeSpecPolicy provides a method to set volume storage policy

func (*VolumeSpecPolicy) Descriptor

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

func (*VolumeSpecPolicy) GetAggregationLevel

func (m *VolumeSpecPolicy) GetAggregationLevel() uint32

func (*VolumeSpecPolicy) GetAggregationLevelOpt

func (m *VolumeSpecPolicy) GetAggregationLevelOpt() isVolumeSpecPolicy_AggregationLevelOpt

func (*VolumeSpecPolicy) GetAutoFstrim

func (m *VolumeSpecPolicy) GetAutoFstrim() bool

func (*VolumeSpecPolicy) GetAutoFstrimOpt

func (m *VolumeSpecPolicy) GetAutoFstrimOpt() isVolumeSpecPolicy_AutoFstrimOpt

func (*VolumeSpecPolicy) GetCos

func (m *VolumeSpecPolicy) GetCos() CosType

func (*VolumeSpecPolicy) GetCosOpt

func (m *VolumeSpecPolicy) GetCosOpt() isVolumeSpecPolicy_CosOpt

func (*VolumeSpecPolicy) GetDedupe

func (m *VolumeSpecPolicy) GetDedupe() bool

func (*VolumeSpecPolicy) GetDedupeOpt

func (m *VolumeSpecPolicy) GetDedupeOpt() isVolumeSpecPolicy_DedupeOpt

func (*VolumeSpecPolicy) GetEncrypted

func (m *VolumeSpecPolicy) GetEncrypted() bool

func (*VolumeSpecPolicy) GetEncryptedOpt

func (m *VolumeSpecPolicy) GetEncryptedOpt() isVolumeSpecPolicy_EncryptedOpt

func (*VolumeSpecPolicy) GetExportSpec

func (m *VolumeSpecPolicy) GetExportSpec() *ExportSpec

func (*VolumeSpecPolicy) GetExportSpecOpt

func (m *VolumeSpecPolicy) GetExportSpecOpt() isVolumeSpecPolicy_ExportSpecOpt

func (*VolumeSpecPolicy) GetFastpath

func (m *VolumeSpecPolicy) GetFastpath() bool

func (*VolumeSpecPolicy) GetFastpathOpt

func (m *VolumeSpecPolicy) GetFastpathOpt() isVolumeSpecPolicy_FastpathOpt

func (*VolumeSpecPolicy) GetGroup

func (m *VolumeSpecPolicy) GetGroup() *Group

func (*VolumeSpecPolicy) GetGroupOpt

func (m *VolumeSpecPolicy) GetGroupOpt() isVolumeSpecPolicy_GroupOpt

func (*VolumeSpecPolicy) GetHaLevel

func (m *VolumeSpecPolicy) GetHaLevel() int64

func (*VolumeSpecPolicy) GetHaLevelOperator

func (m *VolumeSpecPolicy) GetHaLevelOperator() VolumeSpecPolicy_PolicyOp

func (*VolumeSpecPolicy) GetHaLevelOpt

func (m *VolumeSpecPolicy) GetHaLevelOpt() isVolumeSpecPolicy_HaLevelOpt

func (*VolumeSpecPolicy) GetIoProfile

func (m *VolumeSpecPolicy) GetIoProfile() IoProfile

func (*VolumeSpecPolicy) GetIoProfileOpt

func (m *VolumeSpecPolicy) GetIoProfileOpt() isVolumeSpecPolicy_IoProfileOpt

func (*VolumeSpecPolicy) GetIoStrategy

func (m *VolumeSpecPolicy) GetIoStrategy() *IoStrategy

func (*VolumeSpecPolicy) GetIoThrottle

func (m *VolumeSpecPolicy) GetIoThrottle() *IoThrottle

func (*VolumeSpecPolicy) GetIoThrottleOpt

func (m *VolumeSpecPolicy) GetIoThrottleOpt() isVolumeSpecPolicy_IoThrottleOpt

func (*VolumeSpecPolicy) GetJournal

func (m *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 (m *VolumeSpecPolicy) GetMountOptSpec() *MountOptions

func (*VolumeSpecPolicy) GetNodiscard

func (m *VolumeSpecPolicy) GetNodiscard() bool

func (*VolumeSpecPolicy) GetNodiscardOpt

func (m *VolumeSpecPolicy) GetNodiscardOpt() isVolumeSpecPolicy_NodiscardOpt

func (*VolumeSpecPolicy) GetPassphrase

func (m *VolumeSpecPolicy) GetPassphrase() string

func (*VolumeSpecPolicy) GetPassphraseOpt

func (m *VolumeSpecPolicy) GetPassphraseOpt() isVolumeSpecPolicy_PassphraseOpt

func (*VolumeSpecPolicy) GetProxySpec

func (m *VolumeSpecPolicy) GetProxySpec() *ProxySpec

func (*VolumeSpecPolicy) GetProxySpecOpt

func (m *VolumeSpecPolicy) GetProxySpecOpt() isVolumeSpecPolicy_ProxySpecOpt

func (*VolumeSpecPolicy) GetProxyWrite

func (m *VolumeSpecPolicy) GetProxyWrite() bool

func (*VolumeSpecPolicy) GetProxyWriteOpt

func (m *VolumeSpecPolicy) GetProxyWriteOpt() isVolumeSpecPolicy_ProxyWriteOpt

func (*VolumeSpecPolicy) GetQueueDepth

func (m *VolumeSpecPolicy) GetQueueDepth() uint32

func (*VolumeSpecPolicy) GetQueueDepthOpt

func (m *VolumeSpecPolicy) GetQueueDepthOpt() isVolumeSpecPolicy_QueueDepthOpt

func (*VolumeSpecPolicy) GetReplicaSet

func (m *VolumeSpecPolicy) GetReplicaSet() *ReplicaSet

func (*VolumeSpecPolicy) GetScale

func (m *VolumeSpecPolicy) GetScale() uint32

func (*VolumeSpecPolicy) GetScaleOperator

func (m *VolumeSpecPolicy) GetScaleOperator() VolumeSpecPolicy_PolicyOp

func (*VolumeSpecPolicy) GetScaleOpt

func (m *VolumeSpecPolicy) GetScaleOpt() isVolumeSpecPolicy_ScaleOpt

func (*VolumeSpecPolicy) GetScanPolicy

func (m *VolumeSpecPolicy) GetScanPolicy() *ScanPolicy

func (*VolumeSpecPolicy) GetScanPolicyOpt

func (m *VolumeSpecPolicy) GetScanPolicyOpt() isVolumeSpecPolicy_ScanPolicyOpt

func (*VolumeSpecPolicy) GetShared

func (m *VolumeSpecPolicy) GetShared() bool

func (*VolumeSpecPolicy) GetSharedOpt

func (m *VolumeSpecPolicy) GetSharedOpt() isVolumeSpecPolicy_SharedOpt

func (*VolumeSpecPolicy) GetSharedv4

func (m *VolumeSpecPolicy) GetSharedv4() bool

func (*VolumeSpecPolicy) GetSharedv4MountOpt

func (m *VolumeSpecPolicy) GetSharedv4MountOpt() isVolumeSpecPolicy_Sharedv4MountOpt

func (*VolumeSpecPolicy) GetSharedv4MountOptSpec

func (m *VolumeSpecPolicy) GetSharedv4MountOptSpec() *MountOptions

func (*VolumeSpecPolicy) GetSharedv4Opt

func (m *VolumeSpecPolicy) GetSharedv4Opt() isVolumeSpecPolicy_Sharedv4Opt

func (*VolumeSpecPolicy) GetSharedv4ServiceSpec

func (m *VolumeSpecPolicy) GetSharedv4ServiceSpec() *Sharedv4ServiceSpec

func (*VolumeSpecPolicy) GetSharedv4ServiceSpecOpt

func (m *VolumeSpecPolicy) GetSharedv4ServiceSpecOpt() isVolumeSpecPolicy_Sharedv4ServiceSpecOpt

func (*VolumeSpecPolicy) GetSharedv4Spec

func (m *VolumeSpecPolicy) GetSharedv4Spec() *Sharedv4Spec

func (*VolumeSpecPolicy) GetSharedv4SpecOpt

func (m *VolumeSpecPolicy) GetSharedv4SpecOpt() isVolumeSpecPolicy_Sharedv4SpecOpt

func (*VolumeSpecPolicy) GetSize

func (m *VolumeSpecPolicy) GetSize() uint64

func (*VolumeSpecPolicy) GetSizeOperator

func (m *VolumeSpecPolicy) GetSizeOperator() VolumeSpecPolicy_PolicyOp

func (*VolumeSpecPolicy) GetSizeOpt

func (m *VolumeSpecPolicy) GetSizeOpt() isVolumeSpecPolicy_SizeOpt

func (*VolumeSpecPolicy) GetSnapshotInterval

func (m *VolumeSpecPolicy) GetSnapshotInterval() uint32

func (*VolumeSpecPolicy) GetSnapshotIntervalOperator

func (m *VolumeSpecPolicy) GetSnapshotIntervalOperator() VolumeSpecPolicy_PolicyOp

func (*VolumeSpecPolicy) GetSnapshotIntervalOpt

func (m *VolumeSpecPolicy) GetSnapshotIntervalOpt() isVolumeSpecPolicy_SnapshotIntervalOpt

func (*VolumeSpecPolicy) GetSnapshotSchedule

func (m *VolumeSpecPolicy) GetSnapshotSchedule() string

func (*VolumeSpecPolicy) GetSnapshotScheduleOpt

func (m *VolumeSpecPolicy) GetSnapshotScheduleOpt() isVolumeSpecPolicy_SnapshotScheduleOpt

func (*VolumeSpecPolicy) GetSticky

func (m *VolumeSpecPolicy) GetSticky() bool

func (*VolumeSpecPolicy) GetStickyOpt

func (m *VolumeSpecPolicy) GetStickyOpt() isVolumeSpecPolicy_StickyOpt

func (*VolumeSpecPolicy) GetVolumeLabels

func (m *VolumeSpecPolicy) GetVolumeLabels() map[string]string

func (*VolumeSpecPolicy) ProtoMessage

func (*VolumeSpecPolicy) ProtoMessage()

func (*VolumeSpecPolicy) Reset

func (m *VolumeSpecPolicy) Reset()

func (*VolumeSpecPolicy) String

func (m *VolumeSpecPolicy) String() string

func (*VolumeSpecPolicy) XXX_DiscardUnknown

func (m *VolumeSpecPolicy) XXX_DiscardUnknown()

func (*VolumeSpecPolicy) XXX_Marshal

func (m *VolumeSpecPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeSpecPolicy) XXX_Merge

func (dst *VolumeSpecPolicy) XXX_Merge(src proto.Message)

func (*VolumeSpecPolicy) XXX_OneofFuncs

func (*VolumeSpecPolicy) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*VolumeSpecPolicy) XXX_Size

func (m *VolumeSpecPolicy) XXX_Size() int

func (*VolumeSpecPolicy) XXX_Unmarshal

func (m *VolumeSpecPolicy) XXX_Unmarshal(b []byte) error

type VolumeSpecPolicy_AggregationLevel

type VolumeSpecPolicy_AggregationLevel struct {
	AggregationLevel uint32 `protobuf:"varint,19,opt,name=aggregation_level,json=aggregationLevel,oneof"`
}

type VolumeSpecPolicy_AutoFstrim

type VolumeSpecPolicy_AutoFstrim struct {
	AutoFstrim bool `protobuf:"varint,65,opt,name=auto_fstrim,json=autoFstrim,oneof"`
}

type VolumeSpecPolicy_Cos

type VolumeSpecPolicy_Cos struct {
	Cos CosType `protobuf:"varint,3,opt,name=cos,enum=openstorage.api.CosType,oneof"`
}

type VolumeSpecPolicy_Dedupe

type VolumeSpecPolicy_Dedupe struct {
	Dedupe bool `protobuf:"varint,5,opt,name=dedupe,oneof"`
}

type VolumeSpecPolicy_Encrypted

type VolumeSpecPolicy_Encrypted struct {
	Encrypted bool `protobuf:"varint,18,opt,name=encrypted,oneof"`
}

type VolumeSpecPolicy_ExportSpec

type VolumeSpecPolicy_ExportSpec struct {
	ExportSpec *ExportSpec `protobuf:"bytes,56,opt,name=export_spec,json=exportSpec,oneof"`
}

type VolumeSpecPolicy_Fastpath

type VolumeSpecPolicy_Fastpath struct {
	Fastpath bool `protobuf:"varint,62,opt,name=fastpath,oneof"`
}

type VolumeSpecPolicy_Group

type VolumeSpecPolicy_Group struct {
	Group *Group `protobuf:"bytes,14,opt,name=group,oneof"`
}

type VolumeSpecPolicy_HaLevel

type VolumeSpecPolicy_HaLevel struct {
	HaLevel int64 `protobuf:"varint,2,opt,name=ha_level,json=haLevel,oneof"`
}

type VolumeSpecPolicy_IoProfile

type VolumeSpecPolicy_IoProfile struct {
	IoProfile IoProfile `protobuf:"varint,4,opt,name=io_profile,json=ioProfile,enum=openstorage.api.IoProfile,oneof"`
}

type VolumeSpecPolicy_IoThrottle

type VolumeSpecPolicy_IoThrottle struct {
	IoThrottle *IoThrottle `protobuf:"bytes,66,opt,name=io_throttle,json=ioThrottle,oneof"`
}

type VolumeSpecPolicy_Journal

type VolumeSpecPolicy_Journal struct {
	Journal bool `protobuf:"varint,15,opt,name=journal,oneof"`
}

type VolumeSpecPolicy_MountOptSpec

type VolumeSpecPolicy_MountOptSpec struct {
	MountOptSpec *MountOptions `protobuf:"bytes,58,opt,name=mount_opt_spec,json=mountOptSpec,oneof"`
}

type VolumeSpecPolicy_Nodiscard

type VolumeSpecPolicy_Nodiscard struct {
	Nodiscard bool `protobuf:"varint,54,opt,name=nodiscard,oneof"`
}

type VolumeSpecPolicy_Passphrase

type VolumeSpecPolicy_Passphrase struct {
	Passphrase string `protobuf:"bytes,10,opt,name=passphrase,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) EnumDescriptor

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

func (VolumeSpecPolicy_PolicyOp) String

func (x VolumeSpecPolicy_PolicyOp) String() string

type VolumeSpecPolicy_ProxySpec

type VolumeSpecPolicy_ProxySpec struct {
	ProxySpec *ProxySpec `protobuf:"bytes,61,opt,name=proxy_spec,json=proxySpec,oneof"`
}

type VolumeSpecPolicy_ProxyWrite

type VolumeSpecPolicy_ProxyWrite struct {
	ProxyWrite bool `protobuf:"varint,60,opt,name=proxy_write,json=proxyWrite,oneof"`
}

type VolumeSpecPolicy_QueueDepth

type VolumeSpecPolicy_QueueDepth struct {
	QueueDepth uint32 `protobuf:"varint,17,opt,name=queue_depth,json=queueDepth,oneof"`
}

type VolumeSpecPolicy_Scale

type VolumeSpecPolicy_Scale struct {
	Scale uint32 `protobuf:"varint,12,opt,name=scale,oneof"`
}

type VolumeSpecPolicy_ScanPolicy

type VolumeSpecPolicy_ScanPolicy struct {
	ScanPolicy *ScanPolicy `protobuf:"bytes,57,opt,name=scan_policy,json=scanPolicy,oneof"`
}

type VolumeSpecPolicy_Shared

type VolumeSpecPolicy_Shared struct {
	Shared bool `protobuf:"varint,8,opt,name=shared,oneof"`
}

type VolumeSpecPolicy_Sharedv4

type VolumeSpecPolicy_Sharedv4 struct {
	Sharedv4 bool `protobuf:"varint,16,opt,name=sharedv4,oneof"`
}

type VolumeSpecPolicy_Sharedv4MountOptSpec

type VolumeSpecPolicy_Sharedv4MountOptSpec struct {
	Sharedv4MountOptSpec *MountOptions `protobuf:"bytes,59,opt,name=sharedv4_mount_opt_spec,json=sharedv4MountOptSpec,oneof"`
}

type VolumeSpecPolicy_Sharedv4ServiceSpec

type VolumeSpecPolicy_Sharedv4ServiceSpec struct {
	Sharedv4ServiceSpec *Sharedv4ServiceSpec `protobuf:"bytes,63,opt,name=sharedv4_service_spec,json=sharedv4ServiceSpec,oneof"`
}

type VolumeSpecPolicy_Sharedv4Spec

type VolumeSpecPolicy_Sharedv4Spec struct {
	Sharedv4Spec *Sharedv4Spec `protobuf:"bytes,64,opt,name=sharedv4_spec,json=sharedv4Spec,oneof"`
}

type VolumeSpecPolicy_Size

type VolumeSpecPolicy_Size struct {
	Size uint64 `protobuf:"varint,1,opt,name=size,oneof"`
}

type VolumeSpecPolicy_SnapshotInterval

type VolumeSpecPolicy_SnapshotInterval struct {
	SnapshotInterval uint32 `protobuf:"varint,6,opt,name=snapshot_interval,json=snapshotInterval,oneof"`
}

type VolumeSpecPolicy_SnapshotSchedule

type VolumeSpecPolicy_SnapshotSchedule struct {
	SnapshotSchedule string `protobuf:"bytes,11,opt,name=snapshot_schedule,json=snapshotSchedule,oneof"`
}

type VolumeSpecPolicy_Sticky

type VolumeSpecPolicy_Sticky struct {
	Sticky bool `protobuf:"varint,13,opt,name=sticky,oneof"`
}

type VolumeSpecUpdate

type VolumeSpecUpdate struct {
	// Size specifies the thin provisioned volume size in bytes
	//
	// Types that are valid to be assigned to SizeOpt:
	//	*VolumeSpecUpdate_Size
	SizeOpt isVolumeSpecUpdate_SizeOpt `protobuf_oneof:"size_opt"`
	// HaLevel specifies the number of copies of data.
	//
	// Types that are valid to be assigned to HaLevelOpt:
	//	*VolumeSpecUpdate_HaLevel
	HaLevelOpt isVolumeSpecUpdate_HaLevelOpt `protobuf_oneof:"ha_level_opt"`
	// Cos specifies the relative class of service.
	//
	// Types that are valid to be assigned to CosOpt:
	//	*VolumeSpecUpdate_Cos
	CosOpt isVolumeSpecUpdate_CosOpt `protobuf_oneof:"cos_opt"`
	// IoProfile provides a hint about application using this volume.
	//
	// Types that are valid to be assigned 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 valid to be assigned to DedupeOpt:
	//	*VolumeSpecUpdate_Dedupe
	DedupeOpt isVolumeSpecUpdate_DedupeOpt `protobuf_oneof:"dedupe_opt"`
	// SnapshotInterval in minutes, set to 0 to disable snapshots
	//
	// Types that are valid to be assigned 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 valid to be assigned 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" json:"replica_set,omitempty"`
	// Passphrase for an encrypted volume
	//
	// Types that are valid to be assigned 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 valid to be assigned to SnapshotScheduleOpt:
	//	*VolumeSpecUpdate_SnapshotSchedule
	SnapshotScheduleOpt isVolumeSpecUpdate_SnapshotScheduleOpt `protobuf_oneof:"snapshot_schedule_opt"`
	// Scale allows autocreation of volumes.
	//
	// Types that are valid to be assigned to ScaleOpt:
	//	*VolumeSpecUpdate_Scale
	ScaleOpt isVolumeSpecUpdate_ScaleOpt `protobuf_oneof:"scale_opt"`
	// Sticky volumes cannot be deleted until the flag is removed.
	//
	// Types that are valid to be assigned to StickyOpt:
	//	*VolumeSpecUpdate_Sticky
	StickyOpt isVolumeSpecUpdate_StickyOpt `protobuf_oneof:"sticky_opt"`
	// Group identifies a consistency group
	//
	// Types that are valid to be assigned 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 valid to be assigned 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 valid to be assigned to Sharedv4Opt:
	//	*VolumeSpecUpdate_Sharedv4
	Sharedv4Opt isVolumeSpecUpdate_Sharedv4Opt `protobuf_oneof:"sharedv4_opt"`
	// QueueDepth defines the desired block device queue depth
	//
	// Types that are valid to be assigned 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" 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 valid to be assigned 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" json:"io_strategy,omitempty"`
	// ExportSpec volume export spec
	//
	// Types that are valid to be assigned to ExportSpecOpt:
	//	*VolumeSpecUpdate_ExportSpec
	ExportSpecOpt isVolumeSpecUpdate_ExportSpecOpt `protobuf_oneof:"export_spec_opt"`
	// fastpath preference
	//
	// Types that are valid to be assigned to FastpathOpt:
	//	*VolumeSpecUpdate_Fastpath
	FastpathOpt isVolumeSpecUpdate_FastpathOpt `protobuf_oneof:"fastpath_opt"`
	// Xattr specifies implementation specific volume attributes
	//
	// Types that are valid to be assigned 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 valid to be assigned 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 valid to be assigned 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 valid to be assigned 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 valid to be assigned 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 valid to be assigned 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 valid to be assigned 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 valid to be assigned 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 valid to be assigned 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 valid to be assigned to IoThrottleOpt:
	//	*VolumeSpecUpdate_IoThrottle
	IoThrottleOpt        isVolumeSpecUpdate_IoThrottleOpt `protobuf_oneof:"io_throttle_opt"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

VolumeSpecUpdate provides a method to set any of the VolumeSpec of an existing volume

func (*VolumeSpecUpdate) Descriptor

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

func (*VolumeSpecUpdate) GetAutoFstrim

func (m *VolumeSpecUpdate) GetAutoFstrim() bool

func (*VolumeSpecUpdate) GetAutoFstrimOpt

func (m *VolumeSpecUpdate) GetAutoFstrimOpt() isVolumeSpecUpdate_AutoFstrimOpt

func (*VolumeSpecUpdate) GetCos

func (m *VolumeSpecUpdate) GetCos() CosType

func (*VolumeSpecUpdate) GetCosOpt

func (m *VolumeSpecUpdate) GetCosOpt() isVolumeSpecUpdate_CosOpt

func (*VolumeSpecUpdate) GetDedupe

func (m *VolumeSpecUpdate) GetDedupe() bool

func (*VolumeSpecUpdate) GetDedupeOpt

func (m *VolumeSpecUpdate) GetDedupeOpt() isVolumeSpecUpdate_DedupeOpt

func (*VolumeSpecUpdate) GetExportSpec

func (m *VolumeSpecUpdate) GetExportSpec() *ExportSpec

func (*VolumeSpecUpdate) GetExportSpecOpt

func (m *VolumeSpecUpdate) GetExportSpecOpt() isVolumeSpecUpdate_ExportSpecOpt

func (*VolumeSpecUpdate) GetFastpath

func (m *VolumeSpecUpdate) GetFastpath() bool

func (*VolumeSpecUpdate) GetFastpathOpt

func (m *VolumeSpecUpdate) GetFastpathOpt() isVolumeSpecUpdate_FastpathOpt

func (*VolumeSpecUpdate) GetGroup

func (m *VolumeSpecUpdate) GetGroup() *Group

func (*VolumeSpecUpdate) GetGroupOpt

func (m *VolumeSpecUpdate) GetGroupOpt() isVolumeSpecUpdate_GroupOpt

func (*VolumeSpecUpdate) GetHaLevel

func (m *VolumeSpecUpdate) GetHaLevel() int64

func (*VolumeSpecUpdate) GetHaLevelOpt

func (m *VolumeSpecUpdate) GetHaLevelOpt() isVolumeSpecUpdate_HaLevelOpt

func (*VolumeSpecUpdate) GetIoProfile

func (m *VolumeSpecUpdate) GetIoProfile() IoProfile

func (*VolumeSpecUpdate) GetIoProfileOpt

func (m *VolumeSpecUpdate) GetIoProfileOpt() isVolumeSpecUpdate_IoProfileOpt

func (*VolumeSpecUpdate) GetIoStrategy

func (m *VolumeSpecUpdate) GetIoStrategy() *IoStrategy

func (*VolumeSpecUpdate) GetIoThrottle

func (m *VolumeSpecUpdate) GetIoThrottle() *IoThrottle

func (*VolumeSpecUpdate) GetIoThrottleOpt

func (m *VolumeSpecUpdate) GetIoThrottleOpt() isVolumeSpecUpdate_IoThrottleOpt

func (*VolumeSpecUpdate) GetJournal

func (m *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 (m *VolumeSpecUpdate) GetMountOptSpec() *MountOptions

func (*VolumeSpecUpdate) GetNodiscard

func (m *VolumeSpecUpdate) GetNodiscard() bool

func (*VolumeSpecUpdate) GetNodiscardOpt

func (m *VolumeSpecUpdate) GetNodiscardOpt() isVolumeSpecUpdate_NodiscardOpt

func (*VolumeSpecUpdate) GetOwnership

func (m *VolumeSpecUpdate) GetOwnership() *Ownership

func (*VolumeSpecUpdate) GetPassphrase

func (m *VolumeSpecUpdate) GetPassphrase() string

func (*VolumeSpecUpdate) GetPassphraseOpt

func (m *VolumeSpecUpdate) GetPassphraseOpt() isVolumeSpecUpdate_PassphraseOpt

func (*VolumeSpecUpdate) GetProxySpec

func (m *VolumeSpecUpdate) GetProxySpec() *ProxySpec

func (*VolumeSpecUpdate) GetProxySpecOpt

func (m *VolumeSpecUpdate) GetProxySpecOpt() isVolumeSpecUpdate_ProxySpecOpt

func (*VolumeSpecUpdate) GetProxyWrite

func (m *VolumeSpecUpdate) GetProxyWrite() bool

func (*VolumeSpecUpdate) GetProxyWriteOpt

func (m *VolumeSpecUpdate) GetProxyWriteOpt() isVolumeSpecUpdate_ProxyWriteOpt

func (*VolumeSpecUpdate) GetQueueDepth

func (m *VolumeSpecUpdate) GetQueueDepth() uint32

func (*VolumeSpecUpdate) GetQueueDepthOpt

func (m *VolumeSpecUpdate) GetQueueDepthOpt() isVolumeSpecUpdate_QueueDepthOpt

func (*VolumeSpecUpdate) GetReplicaSet

func (m *VolumeSpecUpdate) GetReplicaSet() *ReplicaSet

func (*VolumeSpecUpdate) GetScale

func (m *VolumeSpecUpdate) GetScale() uint32

func (*VolumeSpecUpdate) GetScaleOpt

func (m *VolumeSpecUpdate) GetScaleOpt() isVolumeSpecUpdate_ScaleOpt

func (*VolumeSpecUpdate) GetScanPolicy

func (m *VolumeSpecUpdate) GetScanPolicy() *ScanPolicy

func (*VolumeSpecUpdate) GetScanPolicyOpt

func (m *VolumeSpecUpdate) GetScanPolicyOpt() isVolumeSpecUpdate_ScanPolicyOpt

func (*VolumeSpecUpdate) GetShared

func (m *VolumeSpecUpdate) GetShared() bool

func (*VolumeSpecUpdate) GetSharedOpt

func (m *VolumeSpecUpdate) GetSharedOpt() isVolumeSpecUpdate_SharedOpt

func (*VolumeSpecUpdate) GetSharedv4

func (m *VolumeSpecUpdate) GetSharedv4() bool

func (*VolumeSpecUpdate) GetSharedv4MountOpt

func (m *VolumeSpecUpdate) GetSharedv4MountOpt() isVolumeSpecUpdate_Sharedv4MountOpt

func (*VolumeSpecUpdate) GetSharedv4MountOptSpec

func (m *VolumeSpecUpdate) GetSharedv4MountOptSpec() *MountOptions

func (*VolumeSpecUpdate) GetSharedv4Opt

func (m *VolumeSpecUpdate) GetSharedv4Opt() isVolumeSpecUpdate_Sharedv4Opt

func (*VolumeSpecUpdate) GetSharedv4ServiceSpec

func (m *VolumeSpecUpdate) GetSharedv4ServiceSpec() *Sharedv4ServiceSpec

func (*VolumeSpecUpdate) GetSharedv4ServiceSpecOpt

func (m *VolumeSpecUpdate) GetSharedv4ServiceSpecOpt() isVolumeSpecUpdate_Sharedv4ServiceSpecOpt

func (*VolumeSpecUpdate) GetSharedv4Spec

func (m *VolumeSpecUpdate) GetSharedv4Spec() *Sharedv4Spec

func (*VolumeSpecUpdate) GetSharedv4SpecOpt

func (m *VolumeSpecUpdate) GetSharedv4SpecOpt() isVolumeSpecUpdate_Sharedv4SpecOpt

func (*VolumeSpecUpdate) GetSize

func (m *VolumeSpecUpdate) GetSize() uint64

func (*VolumeSpecUpdate) GetSizeOpt

func (m *VolumeSpecUpdate) GetSizeOpt() isVolumeSpecUpdate_SizeOpt

func (*VolumeSpecUpdate) GetSnapshotInterval

func (m *VolumeSpecUpdate) GetSnapshotInterval() uint32

func (*VolumeSpecUpdate) GetSnapshotIntervalOpt

func (m *VolumeSpecUpdate) GetSnapshotIntervalOpt() isVolumeSpecUpdate_SnapshotIntervalOpt

func (*VolumeSpecUpdate) GetSnapshotSchedule

func (m *VolumeSpecUpdate) GetSnapshotSchedule() string

func (*VolumeSpecUpdate) GetSnapshotScheduleOpt

func (m *VolumeSpecUpdate) GetSnapshotScheduleOpt() isVolumeSpecUpdate_SnapshotScheduleOpt

func (*VolumeSpecUpdate) GetSticky

func (m *VolumeSpecUpdate) GetSticky() bool

func (*VolumeSpecUpdate) GetStickyOpt

func (m *VolumeSpecUpdate) GetStickyOpt() isVolumeSpecUpdate_StickyOpt

func (*VolumeSpecUpdate) GetXattr

func (m *VolumeSpecUpdate) GetXattr() Xattr_Value

func (*VolumeSpecUpdate) GetXattrOpt

func (m *VolumeSpecUpdate) GetXattrOpt() isVolumeSpecUpdate_XattrOpt

func (*VolumeSpecUpdate) ProtoMessage

func (*VolumeSpecUpdate) ProtoMessage()

func (*VolumeSpecUpdate) Reset

func (m *VolumeSpecUpdate) Reset()

func (*VolumeSpecUpdate) String

func (m *VolumeSpecUpdate) String() string

func (*VolumeSpecUpdate) XXX_DiscardUnknown

func (m *VolumeSpecUpdate) XXX_DiscardUnknown()

func (*VolumeSpecUpdate) XXX_Marshal

func (m *VolumeSpecUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeSpecUpdate) XXX_Merge

func (dst *VolumeSpecUpdate) XXX_Merge(src proto.Message)

func (*VolumeSpecUpdate) XXX_OneofFuncs

func (*VolumeSpecUpdate) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*VolumeSpecUpdate) XXX_Size

func (m *VolumeSpecUpdate) XXX_Size() int

func (*VolumeSpecUpdate) XXX_Unmarshal

func (m *VolumeSpecUpdate) XXX_Unmarshal(b []byte) error

type VolumeSpecUpdate_AutoFstrim

type VolumeSpecUpdate_AutoFstrim struct {
	AutoFstrim bool `protobuf:"varint,39,opt,name=auto_fstrim,json=autoFstrim,oneof"`
}

type VolumeSpecUpdate_Cos

type VolumeSpecUpdate_Cos struct {
	Cos CosType `protobuf:"varint,6,opt,name=cos,enum=openstorage.api.CosType,oneof"`
}

type VolumeSpecUpdate_Dedupe

type VolumeSpecUpdate_Dedupe struct {
	Dedupe bool `protobuf:"varint,8,opt,name=dedupe,oneof"`
}

type VolumeSpecUpdate_ExportSpec

type VolumeSpecUpdate_ExportSpec struct {
	ExportSpec *ExportSpec `protobuf:"bytes,29,opt,name=export_spec,json=exportSpec,oneof"`
}

type VolumeSpecUpdate_Fastpath

type VolumeSpecUpdate_Fastpath struct {
	Fastpath bool `protobuf:"varint,30,opt,name=fastpath,oneof"`
}

type VolumeSpecUpdate_Group

type VolumeSpecUpdate_Group struct {
	Group *Group `protobuf:"bytes,19,opt,name=group,oneof"`
}

type VolumeSpecUpdate_HaLevel

type VolumeSpecUpdate_HaLevel struct {
	HaLevel int64 `protobuf:"varint,5,opt,name=ha_level,json=haLevel,oneof"`
}

type VolumeSpecUpdate_IoProfile

type VolumeSpecUpdate_IoProfile struct {
	IoProfile IoProfile `protobuf:"varint,7,opt,name=io_profile,json=ioProfile,enum=openstorage.api.IoProfile,oneof"`
}

type VolumeSpecUpdate_IoThrottle

type VolumeSpecUpdate_IoThrottle struct {
	IoThrottle *IoThrottle `protobuf:"bytes,40,opt,name=io_throttle,json=ioThrottle,oneof"`
}

type VolumeSpecUpdate_Journal

type VolumeSpecUpdate_Journal struct {
	Journal bool `protobuf:"varint,23,opt,name=journal,oneof"`
}

type VolumeSpecUpdate_MountOptSpec

type VolumeSpecUpdate_MountOptSpec struct {
	MountOptSpec *MountOptions `protobuf:"bytes,33,opt,name=mount_opt_spec,json=mountOptSpec,oneof"`
}

type VolumeSpecUpdate_Nodiscard

type VolumeSpecUpdate_Nodiscard struct {
	Nodiscard bool `protobuf:"varint,27,opt,name=nodiscard,oneof"`
}

type VolumeSpecUpdate_Passphrase

type VolumeSpecUpdate_Passphrase struct {
	Passphrase string `protobuf:"bytes,15,opt,name=passphrase,oneof"`
}

type VolumeSpecUpdate_ProxySpec

type VolumeSpecUpdate_ProxySpec struct {
	ProxySpec *ProxySpec `protobuf:"bytes,36,opt,name=proxy_spec,json=proxySpec,oneof"`
}

type VolumeSpecUpdate_ProxyWrite

type VolumeSpecUpdate_ProxyWrite struct {
	ProxyWrite bool `protobuf:"varint,35,opt,name=proxy_write,json=proxyWrite,oneof"`
}

type VolumeSpecUpdate_QueueDepth

type VolumeSpecUpdate_QueueDepth struct {
	QueueDepth uint32 `protobuf:"varint,25,opt,name=queue_depth,json=queueDepth,oneof"`
}

type VolumeSpecUpdate_Scale

type VolumeSpecUpdate_Scale struct {
	Scale uint32 `protobuf:"varint,17,opt,name=scale,oneof"`
}

type VolumeSpecUpdate_ScanPolicy

type VolumeSpecUpdate_ScanPolicy struct {
	ScanPolicy *ScanPolicy `protobuf:"bytes,32,opt,name=scan_policy,json=scanPolicy,oneof"`
}

type VolumeSpecUpdate_Shared

type VolumeSpecUpdate_Shared struct {
	Shared bool `protobuf:"varint,11,opt,name=shared,oneof"`
}

type VolumeSpecUpdate_Sharedv4

type VolumeSpecUpdate_Sharedv4 struct {
	Sharedv4 bool `protobuf:"varint,24,opt,name=sharedv4,oneof"`
}

type VolumeSpecUpdate_Sharedv4MountOptSpec

type VolumeSpecUpdate_Sharedv4MountOptSpec struct {
	Sharedv4MountOptSpec *MountOptions `protobuf:"bytes,34,opt,name=sharedv4_mount_opt_spec,json=sharedv4MountOptSpec,oneof"`
}

type VolumeSpecUpdate_Sharedv4ServiceSpec

type VolumeSpecUpdate_Sharedv4ServiceSpec struct {
	Sharedv4ServiceSpec *Sharedv4ServiceSpec `protobuf:"bytes,37,opt,name=sharedv4_service_spec,json=sharedv4ServiceSpec,oneof"`
}

type VolumeSpecUpdate_Sharedv4Spec

type VolumeSpecUpdate_Sharedv4Spec struct {
	Sharedv4Spec *Sharedv4Spec `protobuf:"bytes,38,opt,name=sharedv4_spec,json=sharedv4Spec,oneof"`
}

type VolumeSpecUpdate_Size

type VolumeSpecUpdate_Size struct {
	Size uint64 `protobuf:"varint,2,opt,name=size,oneof"`
}

type VolumeSpecUpdate_SnapshotInterval

type VolumeSpecUpdate_SnapshotInterval struct {
	SnapshotInterval uint32 `protobuf:"varint,9,opt,name=snapshot_interval,json=snapshotInterval,oneof"`
}

type VolumeSpecUpdate_SnapshotSchedule

type VolumeSpecUpdate_SnapshotSchedule struct {
	SnapshotSchedule string `protobuf:"bytes,16,opt,name=snapshot_schedule,json=snapshotSchedule,oneof"`
}

type VolumeSpecUpdate_Sticky

type VolumeSpecUpdate_Sticky struct {
	Sticky bool `protobuf:"varint,18,opt,name=sticky,oneof"`
}

type VolumeSpecUpdate_Xattr

type VolumeSpecUpdate_Xattr struct {
	Xattr Xattr_Value `protobuf:"varint,31,opt,name=xattr,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) EnumDescriptor

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

func (VolumeState) SimpleString

func (x VolumeState) SimpleString() string

SimpleString returns the string format of VolumeState

func (VolumeState) String

func (x VolumeState) String() string

type VolumeStateAction

type VolumeStateAction struct {
	// Attach or Detach volume
	Attach VolumeActionParam `protobuf:"varint,1,opt,name=attach,enum=openstorage.api.VolumeActionParam" json:"attach,omitempty"`
	// Mount or unmount volume
	Mount VolumeActionParam `protobuf:"varint,2,opt,name=mount,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" json:"mount_path,omitempty"`
	// DevicePath Path returned in attach
	DevicePath           string   `protobuf:"bytes,4,opt,name=device_path,json=devicePath" json:"device_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

VolumeStateAction specifies desired actions.

func (*VolumeStateAction) Descriptor

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

func (*VolumeStateAction) GetAttach

func (m *VolumeStateAction) GetAttach() VolumeActionParam

func (*VolumeStateAction) GetDevicePath

func (m *VolumeStateAction) GetDevicePath() string

func (*VolumeStateAction) GetMount

func (m *VolumeStateAction) GetMount() VolumeActionParam

func (*VolumeStateAction) GetMountPath

func (m *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) Reset

func (m *VolumeStateAction) Reset()

func (*VolumeStateAction) String

func (m *VolumeStateAction) String() string

func (*VolumeStateAction) XXX_DiscardUnknown

func (m *VolumeStateAction) XXX_DiscardUnknown()

func (*VolumeStateAction) XXX_Marshal

func (m *VolumeStateAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeStateAction) XXX_Merge

func (dst *VolumeStateAction) XXX_Merge(src proto.Message)

func (*VolumeStateAction) XXX_Size

func (m *VolumeStateAction) XXX_Size() int

func (*VolumeStateAction) XXX_Unmarshal

func (m *VolumeStateAction) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (VolumeStatus) SimpleString

func (x VolumeStatus) SimpleString() string

SimpleString returns the string format of VolumeStatus

func (VolumeStatus) String

func (x VolumeStatus) String() string

type VolumeUsage

type VolumeUsage struct {
	// id for the volume/snapshot
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// name of the volume/snapshot
	VolumeName string `protobuf:"bytes,2,opt,name=volume_name,json=volumeName" json:"volume_name,omitempty"`
	// uuid of the pool that this volume belongs to
	PoolUuid string `protobuf:"bytes,3,opt,name=pool_uuid,json=poolUuid" json:"pool_uuid,omitempty"`
	// size in bytes exclusively used by the volume/snapshot
	ExclusiveBytes uint64 `protobuf:"varint,4,opt,name=exclusive_bytes,json=exclusiveBytes" json:"exclusive_bytes,omitempty"`
	//  size in bytes by the volume/snapshot
	TotalBytes uint64 `protobuf:"varint,5,opt,name=total_bytes,json=totalBytes" 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" json:"local_cloud_snapshot,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*VolumeUsage) GetExclusiveBytes

func (m *VolumeUsage) GetExclusiveBytes() uint64

func (*VolumeUsage) GetLocalCloudSnapshot

func (m *VolumeUsage) GetLocalCloudSnapshot() bool

func (*VolumeUsage) GetPoolUuid

func (m *VolumeUsage) GetPoolUuid() string

func (*VolumeUsage) GetTotalBytes

func (m *VolumeUsage) GetTotalBytes() uint64

func (*VolumeUsage) GetVolumeId

func (m *VolumeUsage) GetVolumeId() string

func (*VolumeUsage) GetVolumeName

func (m *VolumeUsage) GetVolumeName() string

func (*VolumeUsage) ProtoMessage

func (*VolumeUsage) ProtoMessage()

func (*VolumeUsage) Reset

func (m *VolumeUsage) Reset()

func (*VolumeUsage) String

func (m *VolumeUsage) String() string

func (*VolumeUsage) XXX_DiscardUnknown

func (m *VolumeUsage) XXX_DiscardUnknown()

func (*VolumeUsage) XXX_Marshal

func (m *VolumeUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeUsage) XXX_Merge

func (dst *VolumeUsage) XXX_Merge(src proto.Message)

func (*VolumeUsage) XXX_Size

func (m *VolumeUsage) XXX_Size() int

func (*VolumeUsage) XXX_Unmarshal

func (m *VolumeUsage) XXX_Unmarshal(b []byte) error

type VolumeUsageByNode

type VolumeUsageByNode struct {
	// VolumeUsage returns list of VolumeUsage for given node
	VolumeUsage          []*VolumeUsage `protobuf:"bytes,1,rep,name=volume_usage,json=volumeUsage" json:"volume_usage,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Provides capacity usage of a node in terms of volumes. Returns VolumeUsage for all the volume/snapshot(s) in the node.

func (*VolumeUsageByNode) Descriptor

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

func (*VolumeUsageByNode) GetVolumeUsage

func (m *VolumeUsageByNode) GetVolumeUsage() []*VolumeUsage

func (*VolumeUsageByNode) ProtoMessage

func (*VolumeUsageByNode) ProtoMessage()

func (*VolumeUsageByNode) Reset

func (m *VolumeUsageByNode) Reset()

func (*VolumeUsageByNode) String

func (m *VolumeUsageByNode) String() string

func (*VolumeUsageByNode) XXX_DiscardUnknown

func (m *VolumeUsageByNode) XXX_DiscardUnknown()

func (*VolumeUsageByNode) XXX_Marshal

func (m *VolumeUsageByNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeUsageByNode) XXX_Merge

func (dst *VolumeUsageByNode) XXX_Merge(src proto.Message)

func (*VolumeUsageByNode) XXX_Size

func (m *VolumeUsageByNode) XXX_Size() int

func (*VolumeUsageByNode) XXX_Unmarshal

func (m *VolumeUsageByNode) XXX_Unmarshal(b []byte) error

type Xattr

type Xattr struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Xattr defines implementation specific volume attribute

func (*Xattr) Descriptor

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

func (*Xattr) ProtoMessage

func (*Xattr) ProtoMessage()

func (*Xattr) Reset

func (m *Xattr) Reset()

func (*Xattr) String

func (m *Xattr) String() string

func (*Xattr) XXX_DiscardUnknown

func (m *Xattr) XXX_DiscardUnknown()

func (*Xattr) XXX_Marshal

func (m *Xattr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Xattr) XXX_Merge

func (dst *Xattr) XXX_Merge(src proto.Message)

func (*Xattr) XXX_Size

func (m *Xattr) XXX_Size() int

func (*Xattr) XXX_Unmarshal

func (m *Xattr) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (Xattr_Value) String

func (x Xattr_Value) String() string

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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