api

package
v8.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 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"
	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"
	// 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"
	SpecNodiscard              = "nodiscard"
	StoragePolicy              = "storagepolicy"
)

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"
	// 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"
	// OptCloudBackupID is the backID in the cloud
	OptCloudBackupID = "CloudBackID"
	// 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"
)

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 (
	CloudBackupStatusNotStarted = CloudBackupStatusType("NotStarted")
	CloudBackupStatusDone       = CloudBackupStatusType("Done")
	CloudBackupStatusAborted    = CloudBackupStatusType("Aborted")
	CloudBackupStatusPaused     = CloudBackupStatusType("Paused")
	CloudBackupStatusStopped    = CloudBackupStatusType("Stopped")
	CloudBackupStatusActive     = CloudBackupStatusType("Active")
	CloudBackupStatusQueued     = CloudBackupStatusType("Queued")
	CloudBackupStatusFailed     = CloudBackupStatusType("Failed")
)
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
)

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",
}
View Source
var ClusterPairMode_Mode_value = map[string]int32{
	"Default":          0,
	"DisasterRecovery": 1,
}
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 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 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 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 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",
}
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,
}
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 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",
}
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,
}
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",
}
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,
}
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 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",

	52: "Minor",
}
View Source
var SdkVersion_Version_value = map[string]int32{
	"MUST_HAVE_ZERO_VALUE": 0,
	"Major":                0,
	"Minor":                52,
	"Patch":                0,
}
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 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_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_MAX":                      14,
}
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 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 VolumePlacementRule_AffinityRuleType_name = map[int32]string{
	0: "affinity",
	1: "antiAffinity",
}
View Source
var VolumePlacementRule_AffinityRuleType_value = map[string]int32{
	"affinity":     0,
	"antiAffinity": 1,
}
View Source
var VolumePlacementRule_EnforcementType_name = map[int32]string{
	0: "required",
	1: "preferred",
}
View Source
var VolumePlacementRule_EnforcementType_value = map[string]int32{
	"required":  0,
	"preferred": 1,
}
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,
}

Functions

func IsAdminByContext

func IsAdminByContext(ctx context.Context) bool

Functions

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

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
}

type CloudBackupEnumerateResponse

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

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
}

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
}

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
}

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
}

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
}

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

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

	// Logging url for the cluster.
	LoggingURL string

	// Management url for the cluster
	ManagementURL string

	// FluentD Host for the cluster
	FluentDConfig FluentDConfig

	// TunnelConfig for the cluster [key, cert, endpoint]
	TunnelConfig TunnelConfig
}

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"`
	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) 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
)

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"`
	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) 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 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 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 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 FluentDConfig

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

FluentDConfig describes ip and port of a fluentdhost. DEPRECATED

swagger:model

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"`
	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) 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 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
)

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

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

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)
	// 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)
	// Delete cloud backup schedule
	SchedDelete(context.Context, *SdkCloudBackupSchedDeleteRequest) (*SdkCloudBackupSchedDeleteResponse, error)
	// Enumerate cloud backup schedules
	SchedEnumerate(context.Context, *SdkCloudBackupSchedEnumerateRequest) (*SdkCloudBackupSchedEnumerateResponse, 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",
	//     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)
	// 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)
}

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

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 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)
	// Inspect the status of migration operation
	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)
	// Inspect the status of migration operation
	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)
}

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

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

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

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) 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() bool

IsPublic returns true if 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 */
	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) 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 ReplicaSet

type ReplicaSet struct {
	Nodes                []string `protobuf:"bytes,1,rep,name=nodes" json:"nodes,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) 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
)

func (ResourceType) EnumDescriptor

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

func (ResourceType) String

func (x ResourceType) String() string

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 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 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"`
	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) 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"`
	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) GetDisableSsl

func (m *SdkAwsCredentialResponse) GetDisableSsl() bool

func (*SdkAwsCredentialResponse) GetEndpoint

func (m *SdkAwsCredentialResponse) GetEndpoint() string

func (*SdkAwsCredentialResponse) GetRegion

func (m *SdkAwsCredentialResponse) GetRegion() 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 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 */
	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) GetFull

func (m *SdkCloudBackupCreateRequest) GetFull() bool

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"`
	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) GetClusterId

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetCredentialId

func (*SdkCloudBackupEnumerateWithFiltersRequest) GetSrcVolumeId

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"`
	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) 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 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"`
	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) GetId

func (m *SdkCloudBackupInfo) GetId() string

func (*SdkCloudBackupInfo) GetMetadata

func (m *SdkCloudBackupInfo) GetMetadata() map[string]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"`
	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) GetNodeId

func (m *SdkCloudBackupRestoreRequest) GetNodeId() string

func (*SdkCloudBackupRestoreRequest) GetRestoreVolumeName

func (m *SdkCloudBackupRestoreRequest) GetRestoreVolumeName() string

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 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 are the maximum number of backups retained
	// in 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"`
	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) GetMaxBackups

func (m *SdkCloudBackupScheduleInfo) GetMaxBackups() uint64

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

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"`
	// 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) GetName

func (m *SdkCredentialCreateRequest) GetName() string

func (*SdkCredentialCreateRequest) GetOwnership

func (m *SdkCredentialCreateRequest) GetOwnership() *Ownership

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 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"`
	// 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) GetName

func (m *SdkCredentialInspectResponse) GetName() string

func (*SdkCredentialInspectResponse) GetOwnership

func (m *SdkCredentialInspectResponse) GetOwnership() *Ownership

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

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

### 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*"]

```

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() 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 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 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
	SdkVersion_Minor SdkVersion_Version = 52
	// SDK version patch value of this specification
	SdkVersion_Patch SdkVersion_Version = 0
)

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"`
	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) 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 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"`
	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) 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 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"`
	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) 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
	// Add statuses before MAX and update the number for MAX
	Status_STATUS_MAX Status = 14
)

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"`
	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) 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) 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 StoragePool

type StoragePool struct {
	// 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 */
	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) 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) 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 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 TunnelConfig

type TunnelConfig struct {
	Key      string `json:"key"`
	Cert     string `json:"cert"`
	Endpoint string `json:"tunnel_endpoint"`
}

TunnelConfig describes key, cert and endpoint of a reverse proxy tunnel DEPRECATED

swagger:model

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 vtheis 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"`
	// Status is the availability status of this volume.
	Status VolumeStatus `protobuf:"varint,11,opt,name=status,enum=openstorage.api.VolumeStatus" json:"status,omitempty"`
	// State 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"`
	// AttachedState 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"`
	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(mid string) bool

Contains returns true if mid 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) 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) GetDevicePath

func (m *Volume) GetDevicePath() string

func (*Volume) GetError

func (m *Volume) GetError() string

func (*Volume) GetFormat

func (m *Volume) GetFormat() FSType

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

func (m *Volume) GetLastScan() *timestamp.Timestamp

func (*Volume) GetLocator

func (m *Volume) GetLocator() *VolumeLocator

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

type VolumePlacementRule struct {
	// AffectedReplicas defines the number of volume replicas affected by this rule. If not provided,
	// rule would affect all replicas
	// (optional)
	AffectedReplicas int32 `protobuf:"varint,1,opt,name=affected_replicas,json=affectedReplicas" json:"affected_replicas,omitempty"`
	// 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,2,opt,name=weight" json:"weight,omitempty"`
	// Enforcement specifies the rule enforcement policy. Can take values: required or preferred.
	// (optional)
	Enforcement VolumePlacementRule_EnforcementType `` /* 126-byte string literal not displayed */
	// Type is the type of the affinity rule
	Type VolumePlacementRule_AffinityRuleType `protobuf:"varint,4,opt,name=type,enum=openstorage.api.VolumePlacementRule_AffinityRuleType" json:"type,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:"-"`
}

VolumePlacementRule defines a single placement rule

func (*VolumePlacementRule) Descriptor

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

func (*VolumePlacementRule) GetAffectedReplicas

func (m *VolumePlacementRule) GetAffectedReplicas() int32

func (*VolumePlacementRule) GetEnforcement

func (*VolumePlacementRule) GetMatchExpressions

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

func (*VolumePlacementRule) GetType

func (*VolumePlacementRule) GetWeight

func (m *VolumePlacementRule) GetWeight() int64

func (*VolumePlacementRule) ProtoMessage

func (*VolumePlacementRule) ProtoMessage()

func (*VolumePlacementRule) Reset

func (m *VolumePlacementRule) Reset()

func (*VolumePlacementRule) String

func (m *VolumePlacementRule) String() string

func (*VolumePlacementRule) XXX_DiscardUnknown

func (m *VolumePlacementRule) XXX_DiscardUnknown()

func (*VolumePlacementRule) XXX_Marshal

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

func (*VolumePlacementRule) XXX_Merge

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

func (*VolumePlacementRule) XXX_Size

func (m *VolumePlacementRule) XXX_Size() int

func (*VolumePlacementRule) XXX_Unmarshal

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

type VolumePlacementRule_AffinityRuleType

type VolumePlacementRule_AffinityRuleType int32

This specifies the type an affinity rule can take

const (
	// Affinity means the rule specifies an affinity to objects that match the below label selector requirements
	VolumePlacementRule_affinity VolumePlacementRule_AffinityRuleType = 0
	// AntiAffinity means the rule specifies an anti-affinity to objects that match the below label selector requirements
	VolumePlacementRule_antiAffinity VolumePlacementRule_AffinityRuleType = 1
)

func (VolumePlacementRule_AffinityRuleType) EnumDescriptor

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

func (VolumePlacementRule_AffinityRuleType) String

type VolumePlacementRule_EnforcementType

type VolumePlacementRule_EnforcementType int32

Defines the types of enforcement on the given rules

const (
	// This specifies that the rule is required and must be strictly enforced
	VolumePlacementRule_required VolumePlacementRule_EnforcementType = 0
	// This specifies that the rule is preferred and can be best effort
	VolumePlacementRule_preferred VolumePlacementRule_EnforcementType = 1
)

func (VolumePlacementRule_EnforcementType) EnumDescriptor

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

func (VolumePlacementRule_EnforcementType) String

type VolumePlacementStrategy

type VolumePlacementStrategy struct {
	// Rules defines a list of rules as part of the placement spec. 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.
	Rules                []*VolumePlacementRule `protobuf:"bytes,1,rep,name=rules" json:"rules,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

func (*VolumePlacementStrategy) Descriptor

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

func (*VolumePlacementStrategy) GetRules

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 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"`
	// Owner
	Ownership            *Ownership `protobuf:"bytes,33,opt,name=ownership" json:"ownership,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) 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) GetForceUnsupportedFsType

func (m *VolumeSpec) GetForceUnsupportedFsType() bool

func (*VolumeSpec) GetFormat

func (m *VolumeSpec) GetFormat() FSType

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

func (m *VolumeSpec) GetJournal() bool

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

func (m *VolumeSpec) GetQueueDepth() uint32

func (*VolumeSpec) GetReplicaSet

func (m *VolumeSpec) GetReplicaSet() *ReplicaSet

func (*VolumeSpec) GetScale

func (m *VolumeSpec) GetScale() uint32

func (*VolumeSpec) GetShared

func (m *VolumeSpec) GetShared() bool

func (*VolumeSpec) GetSharedv4

func (m *VolumeSpec) GetSharedv4() bool

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

func (m *VolumeSpec) GetVolumeLabels() map[string]string

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() 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"`
	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) 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) 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) GetJournal

func (m *VolumeSpecPolicy) GetJournal() bool

func (*VolumeSpecPolicy) GetJournalOpt

func (m *VolumeSpecPolicy) GetJournalOpt() isVolumeSpecPolicy_JournalOpt

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

func (m *VolumeSpecPolicy) GetSharedv4Opt() isVolumeSpecPolicy_Sharedv4Opt

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_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_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_Journal

type VolumeSpecPolicy_Journal struct {
	Journal bool `protobuf:"varint,15,opt,name=journal,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_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_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_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"`
	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) 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) 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) GetJournal

func (m *VolumeSpecUpdate) GetJournal() bool

func (*VolumeSpecUpdate) GetJournalOpt

func (m *VolumeSpecUpdate) GetJournalOpt() isVolumeSpecUpdate_JournalOpt

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

func (m *VolumeSpecUpdate) GetSharedv4Opt() isVolumeSpecUpdate_Sharedv4Opt

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) 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_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_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_Journal

type VolumeSpecUpdate_Journal struct {
	Journal bool `protobuf:"varint,23,opt,name=journal,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_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_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_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 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

Directories

Path Synopsis
sdk
Package sdk is the gRPC implementation of the SDK gRPC server Copyright 2018 Portworx Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Package sdk is the gRPC implementation of the SDK gRPC server Copyright 2018 Portworx Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

Jump to

Keyboard shortcuts

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