api

package
v3.0.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: Apache-2.0 Imports: 19 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.

Index

Constants

View Source
const (
	Name                     = "name"
	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"
	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"
)

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

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")
	CloudBackupStatusFailed     = CloudBackupStatusType("Failed")
)
View Source
const (
	CloudBackupRequestedStatePause  = "pause"
	CloudBackupRequestedStateResume = "resume"
	CloudBackupRequestedStateStop   = "stop"
)
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",
}
View Source
var CloudMigrate_Status_value = map[string]int32{
	"InvalidStatus": 0,
	"Queued":        1,
	"Initialized":   2,
	"InProgress":    3,
	"Failed":        4,
	"Complete":      5,
}
View Source
var ClusterNotify_name = map[int32]string{
	0: "CLUSTER_NOTIFY_DOWN",
}
View Source
var ClusterNotify_value = map[string]int32{
	"CLUSTER_NOTIFY_DOWN": 0,
}
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",
}
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,
}
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 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 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",
}
View Source
var SdkCloudBackupStatusType_value = map[string]int32{
	"SdkCloudBackupStatusTypeUnknown":    0,
	"SdkCloudBackupStatusTypeNotStarted": 1,
	"SdkCloudBackupStatusTypeDone":       2,
	"SdkCloudBackupStatusTypeAborted":    3,
	"SdkCloudBackupStatusTypePaused":     4,
	"SdkCloudBackupStatusTypeStopped":    5,
	"SdkCloudBackupStatusTypeActive":     6,
	"SdkCloudBackupStatusTypeFailed":     7,
}
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 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 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 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 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 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 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 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 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 swagger:model

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 swagger:model

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 swagger:model

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 swagger:model

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

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

func (r *CloudBackupEnumerateResponse) ToSdkCloudBackupEnumerateResponse() *SdkCloudBackupEnumerateResponse

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

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
}

type CloudBackupRestoreResponse

type CloudBackupRestoreResponse struct {
	// RestoreVolumeID is the volumeID to which the backup is being restored
	RestoreVolumeID 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
}

type CloudBackupStateChangeRequest

type CloudBackupStateChangeRequest struct {
	// SrcVolumeID is volume ID on which backup/restore
	// state change is being requested
	SrcVolumeID 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 total Bytes uploaded/downloaded
	BytesDone uint64
	// 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
}

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
}

type CloudBackupStatusResponse

type CloudBackupStatusResponse struct {
	// statuses is list of currently active/failed/done backup/restores
	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 type of operation to cancel
	Operation CloudMigrate_OperationType `protobuf:"varint,1,opt,name=operation,enum=openstorage.api.CloudMigrate_OperationType" json:"operation,omitempty"`
	// ID of the cluster to which migration should be cancelled
	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"`
	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) GetClusterId

func (m *CloudMigrateCancelRequest) GetClusterId() string

func (*CloudMigrateCancelRequest) GetOperation

func (*CloudMigrateCancelRequest) GetTargetId

func (m *CloudMigrateCancelRequest) GetTargetId() 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 {
	// ID of the cluster where the volume is being migrated
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// ID of the volume on the local cluster
	LocalVolumeId string `protobuf:"bytes,2,opt,name=local_volume_id,json=localVolumeId" json:"local_volume_id,omitempty"`
	// Name of the volume on the local cluster
	LocalVolumeName string `protobuf:"bytes,3,opt,name=local_volume_name,json=localVolumeName" json:"local_volume_name,omitempty"`
	// ID of the volume on the remote cluster
	RemoteVolumeId string `protobuf:"bytes,4,opt,name=remote_volume_id,json=remoteVolumeId" json:"remote_volume_id,omitempty"`
	// ID of the cloudbackup used for the migration
	CloudbackupId string `protobuf:"bytes,5,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,7,opt,name=status,enum=openstorage.api.CloudMigrate_Status" json:"status,omitempty"`
	// Last time the status was updated
	LastUpdate *timestamp.Timestamp `protobuf:"bytes,8,opt,name=last_update,json=lastUpdate" json:"last_update,omitempty"`
	// Time of the last successful migration of the volume
	LastSuccess          *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_success,json=lastSuccess" json:"last_success,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*CloudMigrateInfo) Descriptor

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

func (*CloudMigrateInfo) GetCloudbackupId

func (m *CloudMigrateInfo) GetCloudbackupId() string

func (*CloudMigrateInfo) GetClusterId

func (m *CloudMigrateInfo) GetClusterId() string

func (*CloudMigrateInfo) GetCurrentStage

func (m *CloudMigrateInfo) GetCurrentStage() CloudMigrate_Stage

func (*CloudMigrateInfo) GetLastSuccess

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

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

func (m *CloudMigrateInfo) GetStatus() CloudMigrate_Status

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

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 ClusterNotify

type ClusterNotify int32
const (
	// Node is down
	ClusterNotify_CLUSTER_NOTIFY_DOWN ClusterNotify = 0
)

func (ClusterNotify) EnumDescriptor

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

func (ClusterNotify) String

func (x ClusterNotify) String() string

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 swagger:response clusterResponse

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
)

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 swagger:model

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. swagger:model

func (*Group) Descriptor

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

func (*Group) GetId

func (m *Group) GetId() string

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

GroupSnapCreateRequest specifies a request to create a snapshot of given group. swagger:model

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) 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. swagger:response groupSnapCreateResponse

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 Node

type Node struct {
	// Id of the node.
	Id 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
}

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 swagger:model

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 OpenStorageCloudBackupClient

type OpenStorageCloudBackupClient interface {
	// Creates a backup request for a specified volume. Use
	// OpenStorageCloudBackup.Status() to get the current status of the
	// backup request.
	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)
	// Delete 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
	Enumerate(ctx context.Context, in *SdkCloudBackupEnumerateRequest, opts ...grpc.CallOption) (*SdkCloudBackupEnumerateResponse, 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.
	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)
	// Delete 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
	Enumerate(context.Context, *SdkCloudBackupEnumerateRequest) (*SdkCloudBackupEnumerateResponse, 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)
	// AlertEnumerate returns a list of alerts from the storage cluster
	// In REST, use the request values as query parameters.
	AlertEnumerate(ctx context.Context, in *SdkClusterAlertEnumerateRequest, opts ...grpc.CallOption) (*SdkClusterAlertEnumerateResponse, error)
	// AlertClear clears the alert for a given resource
	AlertClear(ctx context.Context, in *SdkClusterAlertClearRequest, opts ...grpc.CallOption) (*SdkClusterAlertClearResponse, error)
	// AlertDelete deletes an alert for all resources
	AlertDelete(ctx context.Context, in *SdkClusterAlertDeleteRequest, opts ...grpc.CallOption) (*SdkClusterAlertDeleteResponse, error)
}

func NewOpenStorageClusterClient

func NewOpenStorageClusterClient(cc *grpc.ClientConn) OpenStorageClusterClient

type OpenStorageClusterServer

type OpenStorageClusterServer interface {
	// InspectCurrent returns information about the current cluster
	InspectCurrent(context.Context, *SdkClusterInspectCurrentRequest) (*SdkClusterInspectCurrentResponse, error)
	// AlertEnumerate returns a list of alerts from the storage cluster
	// In REST, use the request values as query parameters.
	AlertEnumerate(context.Context, *SdkClusterAlertEnumerateRequest) (*SdkClusterAlertEnumerateResponse, error)
	// AlertClear clears the alert for a given resource
	AlertClear(context.Context, *SdkClusterAlertClearRequest) (*SdkClusterAlertClearResponse, error)
	// AlertDelete deletes an alert for all resources
	AlertDelete(context.Context, *SdkClusterAlertDeleteRequest) (*SdkClusterAlertDeleteResponse, 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{
	//     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(
	//   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{
	//     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(
	//   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 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 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
	//
	// ##### 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
	Clone(ctx context.Context, in *SdkVolumeCloneRequest, opts ...grpc.CallOption) (*SdkVolumeCloneResponse, error)
	// Delete deletes the provided volume
	Delete(ctx context.Context, in *SdkVolumeDeleteRequest, opts ...grpc.CallOption) (*SdkVolumeDeleteResponse, error)
	// Inspect returns information about a volume
	Inspect(ctx context.Context, in *SdkVolumeInspectRequest, opts ...grpc.CallOption) (*SdkVolumeInspectResponse, 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.
	Update(ctx context.Context, in *SdkVolumeUpdateRequest, opts ...grpc.CallOption) (*SdkVolumeUpdateResponse, error)
	// Enumerate returns a list of volume ids that match the labels if any are provided.
	Enumerate(ctx context.Context, in *SdkVolumeEnumerateRequest, opts ...grpc.CallOption) (*SdkVolumeEnumerateResponse, 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().
	SnapshotCreate(ctx context.Context, in *SdkVolumeSnapshotCreateRequest, opts ...grpc.CallOption) (*SdkVolumeSnapshotCreateResponse, error)
	// SnapshotRestore restores a volume to a specified snapshot
	SnapshotRestore(ctx context.Context, in *SdkVolumeSnapshotRestoreRequest, opts ...grpc.CallOption) (*SdkVolumeSnapshotRestoreResponse, error)
	// SnapshotEnumerate returns a list of snapshots for a specific volume
	// that match the labels provided if any.
	SnapshotEnumerate(ctx context.Context, in *SdkVolumeSnapshotEnumerateRequest, opts ...grpc.CallOption) (*SdkVolumeSnapshotEnumerateResponse, error)
	// Attach attaches device to the host that the client is communicating with.
	// NOTE: Please see [#381](https://github.com/libopenstorage/openstorage/issues/381) for more
	// information about a new feature to allow attachment to any node.
	Attach(ctx context.Context, in *SdkVolumeAttachRequest, opts ...grpc.CallOption) (*SdkVolumeAttachResponse, error)
	// Detaches a the volume from the host
	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
	// NOTE: Please see [#381](https://github.com/libopenstorage/openstorage/issues/381) for more
	// information about a new feature to allow attachment to any node.
	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
	// NOTE: Please see [#381](https://github.com/libopenstorage/openstorage/issues/381) for more
	// information about a new feature to allow attachment to any node.
	Unmount(ctx context.Context, in *SdkVolumeUnmountRequest, opts ...grpc.CallOption) (*SdkVolumeUnmountResponse, error)
}

func NewOpenStorageVolumeClient

func NewOpenStorageVolumeClient(cc *grpc.ClientConn) OpenStorageVolumeClient

type OpenStorageVolumeServer

type OpenStorageVolumeServer interface {
	// Create creates a volume according to the specification provided
	//
	// ##### 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
	Clone(context.Context, *SdkVolumeCloneRequest) (*SdkVolumeCloneResponse, error)
	// Delete deletes the provided volume
	Delete(context.Context, *SdkVolumeDeleteRequest) (*SdkVolumeDeleteResponse, error)
	// Inspect returns information about a volume
	Inspect(context.Context, *SdkVolumeInspectRequest) (*SdkVolumeInspectResponse, 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.
	Update(context.Context, *SdkVolumeUpdateRequest) (*SdkVolumeUpdateResponse, error)
	// Enumerate returns a list of volume ids that match the labels if any are provided.
	Enumerate(context.Context, *SdkVolumeEnumerateRequest) (*SdkVolumeEnumerateResponse, 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().
	SnapshotCreate(context.Context, *SdkVolumeSnapshotCreateRequest) (*SdkVolumeSnapshotCreateResponse, error)
	// SnapshotRestore restores a volume to a specified snapshot
	SnapshotRestore(context.Context, *SdkVolumeSnapshotRestoreRequest) (*SdkVolumeSnapshotRestoreResponse, error)
	// SnapshotEnumerate returns a list of snapshots for a specific volume
	// that match the labels provided if any.
	SnapshotEnumerate(context.Context, *SdkVolumeSnapshotEnumerateRequest) (*SdkVolumeSnapshotEnumerateResponse, error)
	// Attach attaches device to the host that the client is communicating with.
	// NOTE: Please see [#381](https://github.com/libopenstorage/openstorage/issues/381) for more
	// information about a new feature to allow attachment to any node.
	Attach(context.Context, *SdkVolumeAttachRequest) (*SdkVolumeAttachResponse, error)
	// Detaches a the volume from the host
	Detach(context.Context, *SdkVolumeDetachRequest) (*SdkVolumeDetachResponse, error)
	// Mount mounts an attached volume in the host that the client is communicating with
	// NOTE: Please see [#381](https://github.com/libopenstorage/openstorage/issues/381) for more
	// information about a new feature to allow attachment to any node.
	Mount(context.Context, *SdkVolumeMountRequest) (*SdkVolumeMountResponse, error)
	// Unmount unmounts a mounted volume in the host that the client is communicating with
	// NOTE: Please see [#381](https://github.com/libopenstorage/openstorage/issues/381) for more
	// information about a new feature to allow attachment to any node.
	Unmount(context.Context, *SdkVolumeUnmountRequest) (*SdkVolumeUnmountResponse, 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 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 swagger:model

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 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. swagger:model

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 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"`
	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) 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 {
	// Credential Id
	CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	// 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"`
	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) GetCredentialId

func (m *SdkAwsCredentialResponse) GetCredentialId() string

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 {
	// Credential Id
	CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	// 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) GetCredentialId

func (m *SdkAzureCredentialResponse) GetCredentialId() 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"`
	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) 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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Empty response

func (*SdkCloudBackupCreateResponse) Descriptor

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

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 SdkCloudBackupEnumerateRequest

type SdkCloudBackupEnumerateRequest 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"`
	// Cluster id is an optional parameter which defines the cluster
	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"`
	// All if set to true, backups for all clusters in the cloud are processed
	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

func (*SdkCloudBackupEnumerateRequest) Descriptor

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

func (*SdkCloudBackupEnumerateRequest) GetAll

func (*SdkCloudBackupEnumerateRequest) GetClusterId

func (m *SdkCloudBackupEnumerateRequest) GetClusterId() string

func (*SdkCloudBackupEnumerateRequest) GetCredentialId

func (m *SdkCloudBackupEnumerateRequest) GetCredentialId() string

func (*SdkCloudBackupEnumerateRequest) GetSrcVolumeId

func (m *SdkCloudBackupEnumerateRequest) GetSrcVolumeId() string

func (*SdkCloudBackupEnumerateRequest) ProtoMessage

func (*SdkCloudBackupEnumerateRequest) ProtoMessage()

func (*SdkCloudBackupEnumerateRequest) Reset

func (m *SdkCloudBackupEnumerateRequest) Reset()

func (*SdkCloudBackupEnumerateRequest) String

func (*SdkCloudBackupEnumerateRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupEnumerateRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupEnumerateRequest) XXX_Marshal

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

func (*SdkCloudBackupEnumerateRequest) XXX_Merge

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

func (*SdkCloudBackupEnumerateRequest) XXX_Size

func (m *SdkCloudBackupEnumerateRequest) XXX_Size() int

func (*SdkCloudBackupEnumerateRequest) XXX_Unmarshal

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

type SdkCloudBackupEnumerateResponse

type SdkCloudBackupEnumerateResponse 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 (*SdkCloudBackupEnumerateResponse) Descriptor

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

func (*SdkCloudBackupEnumerateResponse) GetBackups

func (*SdkCloudBackupEnumerateResponse) ProtoMessage

func (*SdkCloudBackupEnumerateResponse) ProtoMessage()

func (*SdkCloudBackupEnumerateResponse) Reset

func (*SdkCloudBackupEnumerateResponse) String

func (*SdkCloudBackupEnumerateResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupEnumerateResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupEnumerateResponse) XXX_Marshal

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

func (*SdkCloudBackupEnumerateResponse) XXX_Merge

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

func (*SdkCloudBackupEnumerateResponse) XXX_Size

func (m *SdkCloudBackupEnumerateResponse) XXX_Size() int

func (*SdkCloudBackupEnumerateResponse) XXX_Unmarshal

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

type SdkCloudBackupHistoryItem

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

SdkCloudBackupHistoryItem contains information about a backup for a specific volume

func (*SdkCloudBackupHistoryItem) Descriptor

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

func (*SdkCloudBackupHistoryItem) GetSrcVolumeId

func (m *SdkCloudBackupHistoryItem) GetSrcVolumeId() string

func (*SdkCloudBackupHistoryItem) GetStatus

func (*SdkCloudBackupHistoryItem) GetTimestamp

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

func (*SdkCloudBackupHistoryItem) ProtoMessage

func (*SdkCloudBackupHistoryItem) ProtoMessage()

func (*SdkCloudBackupHistoryItem) Reset

func (m *SdkCloudBackupHistoryItem) Reset()

func (*SdkCloudBackupHistoryItem) String

func (m *SdkCloudBackupHistoryItem) String() string

func (*SdkCloudBackupHistoryItem) XXX_DiscardUnknown

func (m *SdkCloudBackupHistoryItem) XXX_DiscardUnknown()

func (*SdkCloudBackupHistoryItem) XXX_Marshal

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

func (*SdkCloudBackupHistoryItem) XXX_Merge

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

func (*SdkCloudBackupHistoryItem) XXX_Size

func (m *SdkCloudBackupHistoryItem) XXX_Size() int

func (*SdkCloudBackupHistoryItem) XXX_Unmarshal

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

type SdkCloudBackupHistoryRequest

type SdkCloudBackupHistoryRequest struct {
	// This optional value defines which history of backups is being
	// requested. If not provided, it will return the history for all volumes.
	SrcVolumeId          string   `protobuf:"bytes,1,opt,name=src_volume_id,json=srcVolumeId" json:"src_volume_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*SdkCloudBackupHistoryRequest) Descriptor

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

func (*SdkCloudBackupHistoryRequest) GetSrcVolumeId

func (m *SdkCloudBackupHistoryRequest) GetSrcVolumeId() string

func (*SdkCloudBackupHistoryRequest) ProtoMessage

func (*SdkCloudBackupHistoryRequest) ProtoMessage()

func (*SdkCloudBackupHistoryRequest) Reset

func (m *SdkCloudBackupHistoryRequest) Reset()

func (*SdkCloudBackupHistoryRequest) String

func (*SdkCloudBackupHistoryRequest) XXX_DiscardUnknown

func (m *SdkCloudBackupHistoryRequest) XXX_DiscardUnknown()

func (*SdkCloudBackupHistoryRequest) XXX_Marshal

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

func (*SdkCloudBackupHistoryRequest) XXX_Merge

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

func (*SdkCloudBackupHistoryRequest) XXX_Size

func (m *SdkCloudBackupHistoryRequest) XXX_Size() int

func (*SdkCloudBackupHistoryRequest) XXX_Unmarshal

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

type SdkCloudBackupHistoryResponse

type SdkCloudBackupHistoryResponse struct {
	// HistoryList is list of past backups on this volume
	HistoryList          []*SdkCloudBackupHistoryItem `protobuf:"bytes,1,rep,name=history_list,json=historyList" json:"history_list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

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

func (*SdkCloudBackupHistoryResponse) Descriptor

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

func (*SdkCloudBackupHistoryResponse) GetHistoryList

func (*SdkCloudBackupHistoryResponse) ProtoMessage

func (*SdkCloudBackupHistoryResponse) ProtoMessage()

func (*SdkCloudBackupHistoryResponse) Reset

func (m *SdkCloudBackupHistoryResponse) Reset()

func (*SdkCloudBackupHistoryResponse) String

func (*SdkCloudBackupHistoryResponse) XXX_DiscardUnknown

func (m *SdkCloudBackupHistoryResponse) XXX_DiscardUnknown()

func (*SdkCloudBackupHistoryResponse) XXX_Marshal

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

func (*SdkCloudBackupHistoryResponse) XXX_Merge

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

func (*SdkCloudBackupHistoryResponse) XXX_Size

func (m *SdkCloudBackupHistoryResponse) XXX_Size() int

func (*SdkCloudBackupHistoryResponse) XXX_Unmarshal

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

type SdkCloudBackupInfo

type SdkCloudBackupInfo struct {
	// This is the id as represented by the cloud provider
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Source volumeID of the backup
	SrcVolumeId string `protobuf:"bytes,2,opt,name=src_volume_id,json=srcVolumeId" json:"src_volume_id,omitempty"`
	// Name of the sourceVolume of the backup
	SrcVolumeName string `protobuf:"bytes,3,opt,name=src_volume_name,json=srcVolumeName" json:"src_volume_name,omitempty"`
	// Timestamp is the timestamp at which the source volume
	// was backed up to cloud
	Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp" json:"timestamp,omitempty"`
	// Metadata associated with the backup
	Metadata map[string]string `` /* 136-byte string literal not displayed */
	// Status indicates the status of the backup
	Status               SdkCloudBackupStatusType `protobuf:"varint,6,opt,name=status,enum=openstorage.api.SdkCloudBackupStatusType" json:"status,omitempty"`
	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 (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"`
	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) 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"`
	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) 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"`
	// Schedule is the frequence of backup
	Schedule *SdkSchedulePolicyInterval `protobuf:"bytes,3,opt,name=schedule" json:"schedule,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"`
	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) GetMaxBackups

func (m *SdkCloudBackupScheduleInfo) GetMaxBackups() uint64

func (*SdkCloudBackupScheduleInfo) GetSchedule

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 volume id on which backup/restore
	// state change is being requested
	SrcVolumeId string `protobuf:"bytes,1,opt,name=src_volume_id,json=srcVolumeId" json:"src_volume_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) GetSrcVolumeId

func (m *SdkCloudBackupStateChangeRequest) GetSrcVolumeId() string

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

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

func (*SdkCloudBackupStatus) GetNodeId

func (m *SdkCloudBackupStatus) GetNodeId() string

func (*SdkCloudBackupStatus) GetOptype

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 {
	// This is an optional value which is used to get information on the
	// status of a backup for the specified volume. If no volume 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"`
	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) 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 volume ids of current volumes being backed up or restored
	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
)

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 SdkClusterAlertClearRequest

type SdkClusterAlertClearRequest struct {
	// Type of resource (required)
	Resource ResourceType `protobuf:"varint,1,opt,name=resource,enum=openstorage.api.ResourceType" json:"resource,omitempty"`
	// Id of alert as returned by ClusterEnumerateAlertResponse (required)
	AlertId              int64    `protobuf:"varint,2,opt,name=alert_id,json=alertId" json:"alert_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to clear an alert

func (*SdkClusterAlertClearRequest) Descriptor

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

func (*SdkClusterAlertClearRequest) GetAlertId

func (m *SdkClusterAlertClearRequest) GetAlertId() int64

func (*SdkClusterAlertClearRequest) GetResource

func (m *SdkClusterAlertClearRequest) GetResource() ResourceType

func (*SdkClusterAlertClearRequest) ProtoMessage

func (*SdkClusterAlertClearRequest) ProtoMessage()

func (*SdkClusterAlertClearRequest) Reset

func (m *SdkClusterAlertClearRequest) Reset()

func (*SdkClusterAlertClearRequest) String

func (m *SdkClusterAlertClearRequest) String() string

func (*SdkClusterAlertClearRequest) XXX_DiscardUnknown

func (m *SdkClusterAlertClearRequest) XXX_DiscardUnknown()

func (*SdkClusterAlertClearRequest) XXX_Marshal

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

func (*SdkClusterAlertClearRequest) XXX_Merge

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

func (*SdkClusterAlertClearRequest) XXX_Size

func (m *SdkClusterAlertClearRequest) XXX_Size() int

func (*SdkClusterAlertClearRequest) XXX_Unmarshal

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

type SdkClusterAlertClearResponse

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

Empty response

func (*SdkClusterAlertClearResponse) Descriptor

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

func (*SdkClusterAlertClearResponse) ProtoMessage

func (*SdkClusterAlertClearResponse) ProtoMessage()

func (*SdkClusterAlertClearResponse) Reset

func (m *SdkClusterAlertClearResponse) Reset()

func (*SdkClusterAlertClearResponse) String

func (*SdkClusterAlertClearResponse) XXX_DiscardUnknown

func (m *SdkClusterAlertClearResponse) XXX_DiscardUnknown()

func (*SdkClusterAlertClearResponse) XXX_Marshal

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

func (*SdkClusterAlertClearResponse) XXX_Merge

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

func (*SdkClusterAlertClearResponse) XXX_Size

func (m *SdkClusterAlertClearResponse) XXX_Size() int

func (*SdkClusterAlertClearResponse) XXX_Unmarshal

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

type SdkClusterAlertDeleteRequest

type SdkClusterAlertDeleteRequest struct {
	// Type of resource (required)
	Resource ResourceType `protobuf:"varint,1,opt,name=resource,enum=openstorage.api.ResourceType" json:"resource,omitempty"`
	// Id of alert as returned by ClusterEnumerateAlertResponse (required)
	AlertId              int64    `protobuf:"varint,2,opt,name=alert_id,json=alertId" json:"alert_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to delete an alert

func (*SdkClusterAlertDeleteRequest) Descriptor

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

func (*SdkClusterAlertDeleteRequest) GetAlertId

func (m *SdkClusterAlertDeleteRequest) GetAlertId() int64

func (*SdkClusterAlertDeleteRequest) GetResource

func (m *SdkClusterAlertDeleteRequest) GetResource() ResourceType

func (*SdkClusterAlertDeleteRequest) ProtoMessage

func (*SdkClusterAlertDeleteRequest) ProtoMessage()

func (*SdkClusterAlertDeleteRequest) Reset

func (m *SdkClusterAlertDeleteRequest) Reset()

func (*SdkClusterAlertDeleteRequest) String

func (*SdkClusterAlertDeleteRequest) XXX_DiscardUnknown

func (m *SdkClusterAlertDeleteRequest) XXX_DiscardUnknown()

func (*SdkClusterAlertDeleteRequest) XXX_Marshal

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

func (*SdkClusterAlertDeleteRequest) XXX_Merge

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

func (*SdkClusterAlertDeleteRequest) XXX_Size

func (m *SdkClusterAlertDeleteRequest) XXX_Size() int

func (*SdkClusterAlertDeleteRequest) XXX_Unmarshal

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

type SdkClusterAlertDeleteResponse

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

Empty response

func (*SdkClusterAlertDeleteResponse) Descriptor

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

func (*SdkClusterAlertDeleteResponse) ProtoMessage

func (*SdkClusterAlertDeleteResponse) ProtoMessage()

func (*SdkClusterAlertDeleteResponse) Reset

func (m *SdkClusterAlertDeleteResponse) Reset()

func (*SdkClusterAlertDeleteResponse) String

func (*SdkClusterAlertDeleteResponse) XXX_DiscardUnknown

func (m *SdkClusterAlertDeleteResponse) XXX_DiscardUnknown()

func (*SdkClusterAlertDeleteResponse) XXX_Marshal

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

func (*SdkClusterAlertDeleteResponse) XXX_Merge

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

func (*SdkClusterAlertDeleteResponse) XXX_Size

func (m *SdkClusterAlertDeleteResponse) XXX_Size() int

func (*SdkClusterAlertDeleteResponse) XXX_Unmarshal

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

type SdkClusterAlertEnumerateRequest

type SdkClusterAlertEnumerateRequest struct {
	// Start time of alerts
	TimeStart *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time_start,json=timeStart" json:"time_start,omitempty"`
	// End time of alerts
	TimeEnd *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time_end,json=timeEnd" json:"time_end,omitempty"`
	// Type of resource
	Resource             ResourceType `protobuf:"varint,3,opt,name=resource,enum=openstorage.api.ResourceType" json:"resource,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Defines a request contains the information needed to get alerts from the storage system. For REST you will need to pass these as query parameters. See swagger documentation for more information.

func (*SdkClusterAlertEnumerateRequest) Descriptor

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

func (*SdkClusterAlertEnumerateRequest) GetResource

func (*SdkClusterAlertEnumerateRequest) GetTimeEnd

func (*SdkClusterAlertEnumerateRequest) GetTimeStart

func (*SdkClusterAlertEnumerateRequest) ProtoMessage

func (*SdkClusterAlertEnumerateRequest) ProtoMessage()

func (*SdkClusterAlertEnumerateRequest) Reset

func (*SdkClusterAlertEnumerateRequest) String

func (*SdkClusterAlertEnumerateRequest) XXX_DiscardUnknown

func (m *SdkClusterAlertEnumerateRequest) XXX_DiscardUnknown()

func (*SdkClusterAlertEnumerateRequest) XXX_Marshal

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

func (*SdkClusterAlertEnumerateRequest) XXX_Merge

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

func (*SdkClusterAlertEnumerateRequest) XXX_Size

func (m *SdkClusterAlertEnumerateRequest) XXX_Size() int

func (*SdkClusterAlertEnumerateRequest) XXX_Unmarshal

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

type SdkClusterAlertEnumerateResponse

type SdkClusterAlertEnumerateResponse struct {
	// Information on the alerts requested
	Alerts               []*Alert `protobuf:"bytes,1,rep,name=alerts" json:"alerts,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a response providing a list of alerts

func (*SdkClusterAlertEnumerateResponse) Descriptor

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

func (*SdkClusterAlertEnumerateResponse) GetAlerts

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

func (*SdkClusterAlertEnumerateResponse) ProtoMessage

func (*SdkClusterAlertEnumerateResponse) ProtoMessage()

func (*SdkClusterAlertEnumerateResponse) Reset

func (*SdkClusterAlertEnumerateResponse) String

func (*SdkClusterAlertEnumerateResponse) XXX_DiscardUnknown

func (m *SdkClusterAlertEnumerateResponse) XXX_DiscardUnknown()

func (*SdkClusterAlertEnumerateResponse) XXX_Marshal

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

func (*SdkClusterAlertEnumerateResponse) XXX_Merge

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

func (*SdkClusterAlertEnumerateResponse) XXX_Size

func (m *SdkClusterAlertEnumerateResponse) XXX_Size() int

func (*SdkClusterAlertEnumerateResponse) XXX_Unmarshal

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

type SdkCredentialCreateRequest struct {
	// 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) GetCredentialType

func (m *SdkCredentialCreateRequest) GetCredentialType() isSdkCredentialCreateRequest_CredentialType

func (*SdkCredentialCreateRequest) GetGoogleCredential

func (m *SdkCredentialCreateRequest) GetGoogleCredential() *SdkGoogleCredentialRequest

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,1,opt,name=aws_credential,json=awsCredential,oneof"`
}

type SdkCredentialCreateRequest_AzureCredential

type SdkCredentialCreateRequest_AzureCredential struct {
	AzureCredential *SdkAzureCredentialRequest `protobuf:"bytes,2,opt,name=azure_credential,json=azureCredential,oneof"`
}

type SdkCredentialCreateRequest_GoogleCredential

type SdkCredentialCreateRequest_GoogleCredential struct {
	GoogleCredential *SdkGoogleCredentialRequest `protobuf:"bytes,3,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 {
	// 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) GetCredentialType

func (m *SdkCredentialInspectResponse) GetCredentialType() isSdkCredentialInspectResponse_CredentialType

func (*SdkCredentialInspectResponse) GetGoogleCredential

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,1,opt,name=aws_credential,json=awsCredential,oneof"`
}

type SdkCredentialInspectResponse_AzureCredential

type SdkCredentialInspectResponse_AzureCredential struct {
	AzureCredential *SdkAzureCredentialResponse `protobuf:"bytes,2,opt,name=azure_credential,json=azureCredential,oneof"`
}

type SdkCredentialInspectResponse_GoogleCredential

type SdkCredentialInspectResponse_GoogleCredential struct {
	GoogleCredential *SdkGoogleCredentialResponse `protobuf:"bytes,3,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 {
	// Credential Id
	CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	// 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) GetCredentialId

func (m *SdkGoogleCredentialResponse) GetCredentialId() string

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

type SdkSchedulePolicy struct {
	// Name of the schedule policy
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Schedule policy
	Schedule             *SdkSchedulePolicyInterval `protobuf:"bytes,2,opt,name=schedule" json:"schedule,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) GetSchedule

func (m *SdkSchedulePolicy) GetSchedule() *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=SchedulePolicy" json:"SchedulePolicy,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"`
	// Types that are valid to be assigned to PeriodType:
	//	*SdkSchedulePolicyInterval_Daily
	//	*SdkSchedulePolicyInterval_Weekly
	//	*SdkSchedulePolicyInterval_Monthly
	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) 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 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,2,opt,name=daily,oneof"`
}

type SdkSchedulePolicyInterval_Monthly

type SdkSchedulePolicyInterval_Monthly struct {
	Monthly *SdkSchedulePolicyIntervalMonthly `protobuf:"bytes,4,opt,name=monthly,oneof"`
}

type SdkSchedulePolicyInterval_Weekly

type SdkSchedulePolicyInterval_Weekly struct {
	Weekly *SdkSchedulePolicyIntervalWeekly `protobuf:"bytes,3,opt,name=weekly,oneof"`
}

type SdkSchedulePolicyUpdateRequest

type SdkSchedulePolicyUpdateRequest struct {
	// Schedule Policy
	SchedulePolicy       *SdkSchedulePolicy `protobuf:"bytes,1,opt,name=SchedulePolicy" json:"SchedulePolicy,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 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 SdkVolumeAttachRequest

type SdkVolumeAttachRequest struct {
	// Id of volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Options for attaching volume, right now only passphrase options is supported
	Options              map[string]string `` /* 134-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) GetOptions

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

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

type SdkVolumeDetachRequest struct {
	// Id of the volume
	VolumeId             string   `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a request to detach a volume

func (*SdkVolumeDetachRequest) Descriptor

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

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 {
	// Volumes to match to this locator.
	// If not provided, all volumes will be returned.
	Locator              *VolumeLocator `protobuf:"bytes,1,opt,name=locator" json:"locator,omitempty"`
	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) GetLocator

func (m *SdkVolumeEnumerateRequest) GetLocator() *VolumeLocator

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 SdkVolumeInspectRequest

type SdkVolumeInspectRequest struct {
	// Id of volume to inspect
	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 inspect a volume

func (*SdkVolumeInspectRequest) Descriptor

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

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"`
	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) 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 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"`
	// Additional options
	Options              map[string]string `` /* 134-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) GetMountPath

func (m *SdkVolumeMountRequest) GetMountPath() string

func (*SdkVolumeMountRequest) GetOptions

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

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"`
	// 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) 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 {
	// Id of volume
	VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Labels from snapshot
	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 (*SdkVolumeSnapshotEnumerateRequest) Descriptor

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

func (*SdkVolumeSnapshotEnumerateRequest) GetLabels

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

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 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 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              map[string]string `` /* 134-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) GetMountPath

func (m *SdkVolumeUnmountRequest) GetMountPath() string

func (*SdkVolumeUnmountRequest) GetOptions

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

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 locator 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.
	Locator *VolumeLocator `protobuf:"bytes,2,opt,name=locator" json:"locator,omitempty"`
	// 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.
	// To change number of replicas: Adjust spec.ha_level.
	// To change the I/O Profile: Adjust spec.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) GetLocator

func (m *SdkVolumeUpdateRequest) GetLocator() *VolumeLocator

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

SnapCreateRequest specifies a request to create a snapshot of given volume. swagger:parameters snapVolume

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) 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. swagger:response snapCreateResponse

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. swagger:model

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"`
	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"`
	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 swagger:model

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

StorageResource groups properties of a storage device. swagger:model

func (*StorageResource) Descriptor

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

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

Volume represents an abstract storage volume. Volume represents an abstract storage volume. swagger:model

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) 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) 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 swagger: model

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 swagger:model

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 swagger:response 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 swagger:model

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 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 */
	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. swagger:model

func (*VolumeLocator) Descriptor

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

func (*VolumeLocator) GetName

func (m *VolumeLocator) GetName() string

func (*VolumeLocator) GetVolumeLabels

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

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 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. swagger:response volumeResponse

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. swagger:model

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
	//
	// in: body
	// Required: true
	Volume *Volume `protobuf:"bytes,1,opt,name=volume" json:"volume,omitempty"`
	// VolumeResponse
	//
	// 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:"-"`
}

VolumeSetResponse swagger:response 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"`
	// VolumeLabels configuration labels
	VolumeLabels map[string]string `` /* 165-byte string literal not displayed */
	// Shared is true if this volume can be remotely accessed.
	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"`
	// Aggregatiokn 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

VolumeSpec has the properties needed to create a volume. swagger:model

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

func (m *VolumeSpec) GetJournal() bool

func (*VolumeSpec) GetPassphrase

func (m *VolumeSpec) GetPassphrase() string

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

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

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 VolumeSpecUpdate

type VolumeSpecUpdate struct {
	// Ephemeral storage
	//
	// Types that are valid to be assigned to EphemeralOpt:
	//	*VolumeSpecUpdate_Ephemeral
	EphemeralOpt isVolumeSpecUpdate_EphemeralOpt `protobuf_oneof:"ephemeral_opt"`
	// 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"`
	// Format specifies the filesystem for this volume.
	//
	// Types that are valid to be assigned to FormatOpt:
	//	*VolumeSpecUpdate_Format
	FormatOpt isVolumeSpecUpdate_FormatOpt `protobuf_oneof:"format_opt"`
	// BlockSize for the filesystem.
	//
	// Types that are valid to be assigned to BlockSizeOpt:
	//	*VolumeSpecUpdate_BlockSize
	BlockSizeOpt isVolumeSpecUpdate_BlockSizeOpt `protobuf_oneof:"block_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"`
	// VolumeLabels configuration labels
	VolumeLabels map[string]string `` /* 165-byte string literal not displayed */
	// 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"`
	// Aggregatiokn level Specifies the number of parts the volume can be aggregated from.
	//
	// Types that are valid to be assigned to AggregationLevelOpt:
	//	*VolumeSpecUpdate_AggregationLevel
	AggregationLevelOpt isVolumeSpecUpdate_AggregationLevelOpt `protobuf_oneof:"aggregation_level_opt"`
	// Encrypted is true if this volume will be cryptographically secured.
	//
	// Types that are valid to be assigned to EncryptedOpt:
	//	*VolumeSpecUpdate_Encrypted
	EncryptedOpt isVolumeSpecUpdate_EncryptedOpt `protobuf_oneof:"encrypted_opt"`
	// 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"`
	// GroupEnforced is true if consistency group creation is enforced.
	//
	// Types that are valid to be assigned to GroupEnforcedOpt:
	//	*VolumeSpecUpdate_GroupEnforced
	GroupEnforcedOpt isVolumeSpecUpdate_GroupEnforcedOpt `protobuf_oneof:"group_enforced_opt"`
	// Compressed is true if this volume is to be compressed.
	//
	// Types that are valid to be assigned to CompressedOpt:
	//	*VolumeSpecUpdate_Compressed
	CompressedOpt isVolumeSpecUpdate_CompressedOpt `protobuf_oneof:"compressed_opt"`
	// Cascaded is true if this volume can be populated on any node from an external source.
	//
	// Types that are valid to be assigned to CascadedOpt:
	//	*VolumeSpecUpdate_Cascaded
	CascadedOpt isVolumeSpecUpdate_CascadedOpt `protobuf_oneof:"cascaded_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"`
	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) GetAggregationLevel

func (m *VolumeSpecUpdate) GetAggregationLevel() uint32

func (*VolumeSpecUpdate) GetAggregationLevelOpt

func (m *VolumeSpecUpdate) GetAggregationLevelOpt() isVolumeSpecUpdate_AggregationLevelOpt

func (*VolumeSpecUpdate) GetBlockSize

func (m *VolumeSpecUpdate) GetBlockSize() int64

func (*VolumeSpecUpdate) GetBlockSizeOpt

func (m *VolumeSpecUpdate) GetBlockSizeOpt() isVolumeSpecUpdate_BlockSizeOpt

func (*VolumeSpecUpdate) GetCascaded

func (m *VolumeSpecUpdate) GetCascaded() bool

func (*VolumeSpecUpdate) GetCascadedOpt

func (m *VolumeSpecUpdate) GetCascadedOpt() isVolumeSpecUpdate_CascadedOpt

func (*VolumeSpecUpdate) GetCompressed

func (m *VolumeSpecUpdate) GetCompressed() bool

func (*VolumeSpecUpdate) GetCompressedOpt

func (m *VolumeSpecUpdate) GetCompressedOpt() isVolumeSpecUpdate_CompressedOpt

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

func (m *VolumeSpecUpdate) GetEncrypted() bool

func (*VolumeSpecUpdate) GetEncryptedOpt

func (m *VolumeSpecUpdate) GetEncryptedOpt() isVolumeSpecUpdate_EncryptedOpt

func (*VolumeSpecUpdate) GetEphemeral

func (m *VolumeSpecUpdate) GetEphemeral() bool

func (*VolumeSpecUpdate) GetEphemeralOpt

func (m *VolumeSpecUpdate) GetEphemeralOpt() isVolumeSpecUpdate_EphemeralOpt

func (*VolumeSpecUpdate) GetFormat

func (m *VolumeSpecUpdate) GetFormat() FSType

func (*VolumeSpecUpdate) GetFormatOpt

func (m *VolumeSpecUpdate) GetFormatOpt() isVolumeSpecUpdate_FormatOpt

func (*VolumeSpecUpdate) GetGroup

func (m *VolumeSpecUpdate) GetGroup() *Group

func (*VolumeSpecUpdate) GetGroupEnforced

func (m *VolumeSpecUpdate) GetGroupEnforced() bool

func (*VolumeSpecUpdate) GetGroupEnforcedOpt

func (m *VolumeSpecUpdate) GetGroupEnforcedOpt() isVolumeSpecUpdate_GroupEnforcedOpt

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

func (m *VolumeSpecUpdate) GetJournal() bool

func (*VolumeSpecUpdate) GetJournalOpt

func (m *VolumeSpecUpdate) GetJournalOpt() isVolumeSpecUpdate_JournalOpt

func (*VolumeSpecUpdate) GetPassphrase

func (m *VolumeSpecUpdate) GetPassphrase() string

func (*VolumeSpecUpdate) GetPassphraseOpt

func (m *VolumeSpecUpdate) GetPassphraseOpt() isVolumeSpecUpdate_PassphraseOpt

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

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

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_AggregationLevel

type VolumeSpecUpdate_AggregationLevel struct {
	AggregationLevel uint32 `protobuf:"varint,13,opt,name=aggregation_level,json=aggregationLevel,oneof"`
}

type VolumeSpecUpdate_BlockSize

type VolumeSpecUpdate_BlockSize struct {
	BlockSize int64 `protobuf:"varint,4,opt,name=block_size,json=blockSize,oneof"`
}

type VolumeSpecUpdate_Cascaded

type VolumeSpecUpdate_Cascaded struct {
	Cascaded bool `protobuf:"varint,22,opt,name=cascaded,oneof"`
}

type VolumeSpecUpdate_Compressed

type VolumeSpecUpdate_Compressed struct {
	Compressed bool `protobuf:"varint,21,opt,name=compressed,oneof"`
}

type VolumeSpecUpdate_Cos

type VolumeSpecUpdate_Cos struct {
	Cos CosType `protobuf:"varint,6,opt,name=cos,enum=openstorage.api.CosType,oneof"`
}

type VolumeSpecUpdate_Dedupe

type VolumeSpecUpdate_Dedupe struct {
	Dedupe bool `protobuf:"varint,8,opt,name=dedupe,oneof"`
}

type VolumeSpecUpdate_Encrypted

type VolumeSpecUpdate_Encrypted struct {
	Encrypted bool `protobuf:"varint,14,opt,name=encrypted,oneof"`
}

type VolumeSpecUpdate_Ephemeral

type VolumeSpecUpdate_Ephemeral struct {
	Ephemeral bool `protobuf:"varint,1,opt,name=ephemeral,oneof"`
}

type VolumeSpecUpdate_Format

type VolumeSpecUpdate_Format struct {
	Format FSType `protobuf:"varint,3,opt,name=format,enum=openstorage.api.FSType,oneof"`
}

type VolumeSpecUpdate_Group

type VolumeSpecUpdate_Group struct {
	Group *Group `protobuf:"bytes,19,opt,name=group,oneof"`
}

type VolumeSpecUpdate_GroupEnforced

type VolumeSpecUpdate_GroupEnforced struct {
	GroupEnforced bool `protobuf:"varint,20,opt,name=group_enforced,json=groupEnforced,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_Passphrase

type VolumeSpecUpdate_Passphrase struct {
	Passphrase string `protobuf:"bytes,15,opt,name=passphrase,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. swagger:model

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