Documentation ¶
Index ¶
- func AttachDiskdictnoaryconvert(option AttachDisk, AttachDiskjsonmap map[string]interface{})
- func CreateDiskdictnoaryconvert(option Creatdisk, Creatdiskjsonmap map[string]interface{})
- func CreateSnapshotdictnoaryconvert(option Snapshot, CreateSnapshotjsonmap map[string]interface{})
- type AttachDisk
- type Creatdisk
- type DiskEncryptionKey
- type GoogleStorage
- func (googlestorage *GoogleStorage) AttachDisk(request interface{}) (resp interface{}, err error)
- func (googlestorage *GoogleStorage) CreateDisk(request interface{}) (resp interface{}, err error)
- func (googlestorage *GoogleStorage) CreateSnapshot(request interface{}) (resp interface{}, err error)
- func (googlestorage *GoogleStorage) DeleteDisk(request interface{}) (resp interface{}, err error)
- func (googlestorage *GoogleStorage) DeleteSnapshot(request interface{}) (resp interface{}, err error)
- func (googlestorage *GoogleStorage) DetachDisk(request interface{}) (resp interface{}, err error)
- type InitializeParams
- type Snapshot
- type SnapshotEncryptionKey
- type SourceDiskEncryptionKey
- type SourceImageEncryptionKey
- type SourceSnapshotEncryptionKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachDiskdictnoaryconvert ¶
func AttachDiskdictnoaryconvert(option AttachDisk, AttachDiskjsonmap map[string]interface{})
Types ¶
type AttachDisk ¶
type AttachDisk struct { Source string `json:"source"` DeviceName string `json:"deviceName"` AutoDelete bool `json:"autoDelete"` Boot bool `json:"boot"` DiskEncryptionKeys DiskEncryptionKey `json:"diskEncryptionKey"` Index int `json:"index"` Interface string `json:"interface"` Kind string `json:"kind"` Licenses []string `json:"licenses"` Mode string `json:"mode"` Type string `json:"type"` InitializeParam InitializeParams `json:"initializeParams"` }
type Creatdisk ¶
type Creatdisk struct { Name string `json:"name"` Type string `json:"type"` Zone string `json:"zone"` SizeGb string `json:"sizeGb"` SourceImageEncryptionKeys SourceImageEncryptionKey `json:"sourceImageEncryptionKey"` DiskEncryptionKeys DiskEncryptionKey `json:"diskEncryptionKey"` SourceSnapshotEncryptionKeys SourceSnapshotEncryptionKey `json:"sourceSnapshotEncryptionKey"` Licenses []string `json:"licenses"` Users []string `json:"users"` CreationTimestamp string `json:"creationTimestamp"` Description string `json:"description"` ID string `json:"id"` Kind string `json:"kind"` LabelFingerprint string `json:"labelFingerprint"` SourceSnapshotID string `json:"sourceSnapshotId"` Status string `json:"status"` LastAttachTimestamp string `json:"lastAttachTimestamp"` LastDetachTimestamp string `json:"lastDetachTimestamp"` Options string `json:"options"` SelfLink string `json:"selfLink"` SourceImage string `json:"sourceImage"` SourceImageID string `json:"sourceImageId"` SourceSnapshot string `json:"sourceSnapshot"` }
type DiskEncryptionKey ¶
type GoogleStorage ¶
type GoogleStorage struct { Name string `json:"name"` Type string `json:"type"` Zone string `json:"zone"` SizeGb string `json:"sizeGb"` }
func (*GoogleStorage) AttachDisk ¶
func (googlestorage *GoogleStorage) AttachDisk(request interface{}) (resp interface{}, err error)
func (*GoogleStorage) CreateDisk ¶
func (googlestorage *GoogleStorage) CreateDisk(request interface{}) (resp interface{}, err error)
func (*GoogleStorage) CreateSnapshot ¶
func (googlestorage *GoogleStorage) CreateSnapshot(request interface{}) (resp interface{}, err error)
func (*GoogleStorage) DeleteDisk ¶
func (googlestorage *GoogleStorage) DeleteDisk(request interface{}) (resp interface{}, err error)
func (*GoogleStorage) DeleteSnapshot ¶
func (googlestorage *GoogleStorage) DeleteSnapshot(request interface{}) (resp interface{}, err error)
func (*GoogleStorage) DetachDisk ¶
func (googlestorage *GoogleStorage) DetachDisk(request interface{}) (resp interface{}, err error)
type InitializeParams ¶
type InitializeParams struct { DiskName string `json:"diskName"` DiskType string `json:"diskType"` DiskSizeGb string `json:"diskSizeGb"` SourceImage string `json:"sourceImage"` SourceImageEncryptionKeys SourceImageEncryptionKey `json:"sourceImageEncryptionKey"` }
type Snapshot ¶
type Snapshot struct { Name string `json:"name"` CreationTimestamp string `json:"creationTimestamp"` Description string `json:"description"` DiskSizeGb string `json:"diskSizeGb"` ID string `json:"id"` Kind string `json:"kind"` LabelFingerprint string `json:"labelFingerprint"` SelfLink string `json:"selfLink"` SourceDisk string `json:"sourceDisk"` SourceDiskID string `json:"sourceDiskId"` Status string `json:"status"` StorageBytes string `json:"storageBytes"` StorageBytesStatus string `json:"storageBytesStatus"` Licenses []string `json:"licenses"` SourceDiskEncryptionKeys SourceDiskEncryptionKey `json:"sourceDiskEncryptionKey"` SnapshotEncryptionKeys SnapshotEncryptionKey `json:"snapshotEncryptionKey"` }
type SnapshotEncryptionKey ¶
type SourceDiskEncryptionKey ¶
Click to show internal directories.
Click to hide internal directories.