Documentation ¶
Index ¶
- Constants
- func IsNotFound(err error) bool
- func NormalizeUrl(existingUrl string) (string, error)
- type Action
- type ApiError
- type ApiVersion
- type ApiVersionClient
- func (c *ApiVersionClient) ById(id string) (*ApiVersion, error)
- func (c *ApiVersionClient) Create(container *ApiVersion) (*ApiVersion, error)
- func (c *ApiVersionClient) Delete(container *ApiVersion) error
- func (c *ApiVersionClient) List(opts *ListOpts) (*ApiVersionCollection, error)
- func (c *ApiVersionClient) Update(existing *ApiVersion, updates interface{}) (*ApiVersion, error)
- type ApiVersionCollection
- type ApiVersionOperations
- type AttachInput
- type AttachInputClient
- func (c *AttachInputClient) ById(id string) (*AttachInput, error)
- func (c *AttachInputClient) Create(container *AttachInput) (*AttachInput, error)
- func (c *AttachInputClient) Delete(container *AttachInput) error
- func (c *AttachInputClient) List(opts *ListOpts) (*AttachInputCollection, error)
- func (c *AttachInputClient) Update(existing *AttachInput, updates interface{}) (*AttachInput, error)
- type AttachInputCollection
- type AttachInputOperations
- type Backup
- type BackupClient
- func (c *BackupClient) ById(id string) (*Backup, error)
- func (c *BackupClient) Create(container *Backup) (*Backup, error)
- func (c *BackupClient) Delete(container *Backup) error
- func (c *BackupClient) List(opts *ListOpts) (*BackupCollection, error)
- func (c *BackupClient) Update(existing *Backup, updates interface{}) (*Backup, error)
- type BackupCollection
- type BackupInput
- type BackupInputClient
- func (c *BackupInputClient) ById(id string) (*BackupInput, error)
- func (c *BackupInputClient) Create(container *BackupInput) (*BackupInput, error)
- func (c *BackupInputClient) Delete(container *BackupInput) error
- func (c *BackupInputClient) List(opts *ListOpts) (*BackupInputCollection, error)
- func (c *BackupInputClient) Update(existing *BackupInput, updates interface{}) (*BackupInput, error)
- type BackupInputCollection
- type BackupInputOperations
- type BackupOperations
- type BackupVolume
- type BackupVolumeClient
- func (c *BackupVolumeClient) ActionBackupDelete(resource *BackupVolume, input *BackupInput) (*BackupVolume, error)
- func (c *BackupVolumeClient) ActionBackupGet(resource *BackupVolume, input *BackupInput) (*Backup, error)
- func (c *BackupVolumeClient) ById(id string) (*BackupVolume, error)
- func (c *BackupVolumeClient) Create(container *BackupVolume) (*BackupVolume, error)
- func (c *BackupVolumeClient) Delete(container *BackupVolume) error
- func (c *BackupVolumeClient) List(opts *ListOpts) (*BackupVolumeCollection, error)
- func (c *BackupVolumeClient) Update(existing *BackupVolume, updates interface{}) (*BackupVolume, error)
- type BackupVolumeCollection
- type BackupVolumeOperations
- type ClientOpts
- type Collection
- type Condition
- type Controller
- type ControllerClient
- func (c *ControllerClient) ById(id string) (*Controller, error)
- func (c *ControllerClient) Create(container *Controller) (*Controller, error)
- func (c *ControllerClient) Delete(container *Controller) error
- func (c *ControllerClient) List(opts *ListOpts) (*ControllerCollection, error)
- func (c *ControllerClient) Update(existing *Controller, updates interface{}) (*Controller, error)
- type ControllerCollection
- type ControllerOperations
- type DiskCondition
- type DiskConditionClient
- func (c *DiskConditionClient) ById(id string) (*DiskCondition, error)
- func (c *DiskConditionClient) Create(container *DiskCondition) (*DiskCondition, error)
- func (c *DiskConditionClient) Delete(container *DiskCondition) error
- func (c *DiskConditionClient) List(opts *ListOpts) (*DiskConditionCollection, error)
- func (c *DiskConditionClient) Update(existing *DiskCondition, updates interface{}) (*DiskCondition, error)
- type DiskConditionCollection
- type DiskConditionOperations
- type DiskInfo
- type DiskInfoClient
- func (c *DiskInfoClient) ById(id string) (*DiskInfo, error)
- func (c *DiskInfoClient) Create(container *DiskInfo) (*DiskInfo, error)
- func (c *DiskInfoClient) Delete(container *DiskInfo) error
- func (c *DiskInfoClient) List(opts *ListOpts) (*DiskInfoCollection, error)
- func (c *DiskInfoClient) Update(existing *DiskInfo, updates interface{}) (*DiskInfo, error)
- type DiskInfoCollection
- type DiskInfoOperations
- type DiskUpdate
- type DiskUpdateClient
- func (c *DiskUpdateClient) ById(id string) (*DiskUpdate, error)
- func (c *DiskUpdateClient) Create(container *DiskUpdate) (*DiskUpdate, error)
- func (c *DiskUpdateClient) Delete(container *DiskUpdate) error
- func (c *DiskUpdateClient) List(opts *ListOpts) (*DiskUpdateCollection, error)
- func (c *DiskUpdateClient) Update(existing *DiskUpdate, updates interface{}) (*DiskUpdate, error)
- type DiskUpdateCollection
- type DiskUpdateInput
- type DiskUpdateInputClient
- func (c *DiskUpdateInputClient) ById(id string) (*DiskUpdateInput, error)
- func (c *DiskUpdateInputClient) Create(container *DiskUpdateInput) (*DiskUpdateInput, error)
- func (c *DiskUpdateInputClient) Delete(container *DiskUpdateInput) error
- func (c *DiskUpdateInputClient) List(opts *ListOpts) (*DiskUpdateInputCollection, error)
- func (c *DiskUpdateInputClient) Update(existing *DiskUpdateInput, updates interface{}) (*DiskUpdateInput, error)
- type DiskUpdateInputCollection
- type DiskUpdateInputOperations
- type DiskUpdateOperations
- type EngineImage
- type EngineImageClient
- func (c *EngineImageClient) ById(id string) (*EngineImage, error)
- func (c *EngineImageClient) Create(container *EngineImage) (*EngineImage, error)
- func (c *EngineImageClient) Delete(container *EngineImage) error
- func (c *EngineImageClient) List(opts *ListOpts) (*EngineImageCollection, error)
- func (c *EngineImageClient) Update(existing *EngineImage, updates interface{}) (*EngineImage, error)
- type EngineImageCollection
- type EngineImageOperations
- type EngineUpgradeInput
- type EngineUpgradeInputClient
- func (c *EngineUpgradeInputClient) ById(id string) (*EngineUpgradeInput, error)
- func (c *EngineUpgradeInputClient) Create(container *EngineUpgradeInput) (*EngineUpgradeInput, error)
- func (c *EngineUpgradeInputClient) Delete(container *EngineUpgradeInput) error
- func (c *EngineUpgradeInputClient) List(opts *ListOpts) (*EngineUpgradeInputCollection, error)
- func (c *EngineUpgradeInputClient) Update(existing *EngineUpgradeInput, updates interface{}) (*EngineUpgradeInput, error)
- type EngineUpgradeInputCollection
- type EngineUpgradeInputOperations
- type Error
- type ErrorClient
- func (c *ErrorClient) ById(id string) (*Error, error)
- func (c *ErrorClient) Create(container *Error) (*Error, error)
- func (c *ErrorClient) Delete(container *Error) error
- func (c *ErrorClient) List(opts *ListOpts) (*ErrorCollection, error)
- func (c *ErrorClient) Update(existing *Error, updates interface{}) (*Error, error)
- type ErrorCollection
- type ErrorOperations
- type Field
- type Filter
- type GenericCollection
- type ListOpts
- type LonghornCondition
- type LonghornConditionClient
- func (c *LonghornConditionClient) ById(id string) (*LonghornCondition, error)
- func (c *LonghornConditionClient) Create(container *LonghornCondition) (*LonghornCondition, error)
- func (c *LonghornConditionClient) Delete(container *LonghornCondition) error
- func (c *LonghornConditionClient) List(opts *ListOpts) (*LonghornConditionCollection, error)
- func (c *LonghornConditionClient) Update(existing *LonghornCondition, updates interface{}) (*LonghornCondition, error)
- type LonghornConditionCollection
- type LonghornConditionOperations
- type Node
- type NodeClient
- func (c *NodeClient) ActionDiskUpdate(resource *Node, input *DiskUpdateInput) (*Node, error)
- func (c *NodeClient) ById(id string) (*Node, error)
- func (c *NodeClient) Create(container *Node) (*Node, error)
- func (c *NodeClient) Delete(container *Node) error
- func (c *NodeClient) List(opts *ListOpts) (*NodeCollection, error)
- func (c *NodeClient) Update(existing *Node, updates interface{}) (*Node, error)
- type NodeCollection
- type NodeCondition
- type NodeConditionClient
- func (c *NodeConditionClient) ById(id string) (*NodeCondition, error)
- func (c *NodeConditionClient) Create(container *NodeCondition) (*NodeCondition, error)
- func (c *NodeConditionClient) Delete(container *NodeCondition) error
- func (c *NodeConditionClient) List(opts *ListOpts) (*NodeConditionCollection, error)
- func (c *NodeConditionClient) Update(existing *NodeCondition, updates interface{}) (*NodeCondition, error)
- type NodeConditionCollection
- type NodeConditionOperations
- type NodeInput
- type NodeInputClient
- func (c *NodeInputClient) ById(id string) (*NodeInput, error)
- func (c *NodeInputClient) Create(container *NodeInput) (*NodeInput, error)
- func (c *NodeInputClient) Delete(container *NodeInput) error
- func (c *NodeInputClient) List(opts *ListOpts) (*NodeInputCollection, error)
- func (c *NodeInputClient) Update(existing *NodeInput, updates interface{}) (*NodeInput, error)
- type NodeInputCollection
- type NodeInputOperations
- type NodeOperations
- type Pagination
- type RancherBaseClient
- type RancherBaseClientImpl
- func (rancherClient *RancherBaseClientImpl) Action(schemaType string, action string, existing *Resource, ...) error
- func (rancherClient *RancherBaseClientImpl) ById(schemaType string, id string, respObject interface{}) error
- func (rancherClient *RancherBaseClientImpl) Create(schemaType string, createObj interface{}, respObject interface{}) error
- func (rancherClient *RancherBaseClientImpl) Delete(existing *Resource) error
- func (rancherClient *RancherBaseClientImpl) GetLink(resource Resource, link string, respObject interface{}) error
- func (rancherClient *RancherBaseClientImpl) GetOpts() *ClientOpts
- func (rancherClient *RancherBaseClientImpl) GetSchemas() *Schemas
- func (rancherClient *RancherBaseClientImpl) GetTypes() map[string]Schema
- func (rancherClient *RancherBaseClientImpl) List(schemaType string, opts *ListOpts, respObject interface{}) error
- func (rancherClient *RancherBaseClientImpl) Post(url string, createObj interface{}, respObject interface{}) error
- func (rancherClient *RancherBaseClientImpl) Reload(existing *Resource, output interface{}) error
- func (rancherClient *RancherBaseClientImpl) Update(schemaType string, existing *Resource, updates interface{}, ...) error
- func (rancherClient *RancherBaseClientImpl) Websocket(url string, headers map[string][]string) (*websocket.Conn, *http.Response, error)
- type RancherClient
- type RecurringInput
- type RecurringInputClient
- func (c *RecurringInputClient) ById(id string) (*RecurringInput, error)
- func (c *RecurringInputClient) Create(container *RecurringInput) (*RecurringInput, error)
- func (c *RecurringInputClient) Delete(container *RecurringInput) error
- func (c *RecurringInputClient) List(opts *ListOpts) (*RecurringInputCollection, error)
- func (c *RecurringInputClient) Update(existing *RecurringInput, updates interface{}) (*RecurringInput, error)
- type RecurringInputCollection
- type RecurringInputOperations
- type RecurringJob
- type RecurringJobClient
- func (c *RecurringJobClient) ById(id string) (*RecurringJob, error)
- func (c *RecurringJobClient) Create(container *RecurringJob) (*RecurringJob, error)
- func (c *RecurringJobClient) Delete(container *RecurringJob) error
- func (c *RecurringJobClient) List(opts *ListOpts) (*RecurringJobCollection, error)
- func (c *RecurringJobClient) Update(existing *RecurringJob, updates interface{}) (*RecurringJob, error)
- type RecurringJobCollection
- type RecurringJobOperations
- type Replica
- type ReplicaClient
- func (c *ReplicaClient) ById(id string) (*Replica, error)
- func (c *ReplicaClient) Create(container *Replica) (*Replica, error)
- func (c *ReplicaClient) Delete(container *Replica) error
- func (c *ReplicaClient) List(opts *ListOpts) (*ReplicaCollection, error)
- func (c *ReplicaClient) Update(existing *Replica, updates interface{}) (*Replica, error)
- type ReplicaCollection
- type ReplicaOperations
- type ReplicaRemoveInput
- type ReplicaRemoveInputClient
- func (c *ReplicaRemoveInputClient) ById(id string) (*ReplicaRemoveInput, error)
- func (c *ReplicaRemoveInputClient) Create(container *ReplicaRemoveInput) (*ReplicaRemoveInput, error)
- func (c *ReplicaRemoveInputClient) Delete(container *ReplicaRemoveInput) error
- func (c *ReplicaRemoveInputClient) List(opts *ListOpts) (*ReplicaRemoveInputCollection, error)
- func (c *ReplicaRemoveInputClient) Update(existing *ReplicaRemoveInput, updates interface{}) (*ReplicaRemoveInput, error)
- type ReplicaRemoveInputCollection
- type ReplicaRemoveInputOperations
- type Resource
- type ResourceCollection
- type SalvageInput
- type SalvageInputClient
- func (c *SalvageInputClient) ById(id string) (*SalvageInput, error)
- func (c *SalvageInputClient) Create(container *SalvageInput) (*SalvageInput, error)
- func (c *SalvageInputClient) Delete(container *SalvageInput) error
- func (c *SalvageInputClient) List(opts *ListOpts) (*SalvageInputCollection, error)
- func (c *SalvageInputClient) Update(existing *SalvageInput, updates interface{}) (*SalvageInput, error)
- type SalvageInputCollection
- type SalvageInputOperations
- type Schema
- type Schemas
- type Setting
- type SettingClient
- func (c *SettingClient) ById(id string) (*Setting, error)
- func (c *SettingClient) Create(container *Setting) (*Setting, error)
- func (c *SettingClient) Delete(container *Setting) error
- func (c *SettingClient) List(opts *ListOpts) (*SettingCollection, error)
- func (c *SettingClient) Update(existing *Setting, updates interface{}) (*Setting, error)
- type SettingCollection
- type SettingDefinition
- type SettingDefinitionClient
- func (c *SettingDefinitionClient) ById(id string) (*SettingDefinition, error)
- func (c *SettingDefinitionClient) Create(container *SettingDefinition) (*SettingDefinition, error)
- func (c *SettingDefinitionClient) Delete(container *SettingDefinition) error
- func (c *SettingDefinitionClient) List(opts *ListOpts) (*SettingDefinitionCollection, error)
- func (c *SettingDefinitionClient) Update(existing *SettingDefinition, updates interface{}) (*SettingDefinition, error)
- type SettingDefinitionCollection
- type SettingDefinitionOperations
- type SettingOperations
- type Snapshot
- type SnapshotClient
- func (c *SnapshotClient) ById(id string) (*Snapshot, error)
- func (c *SnapshotClient) Create(container *Snapshot) (*Snapshot, error)
- func (c *SnapshotClient) Delete(container *Snapshot) error
- func (c *SnapshotClient) List(opts *ListOpts) (*SnapshotCollection, error)
- func (c *SnapshotClient) Update(existing *Snapshot, updates interface{}) (*Snapshot, error)
- type SnapshotCollection
- type SnapshotInput
- type SnapshotInputClient
- func (c *SnapshotInputClient) ById(id string) (*SnapshotInput, error)
- func (c *SnapshotInputClient) Create(container *SnapshotInput) (*SnapshotInput, error)
- func (c *SnapshotInputClient) Delete(container *SnapshotInput) error
- func (c *SnapshotInputClient) List(opts *ListOpts) (*SnapshotInputCollection, error)
- func (c *SnapshotInputClient) Update(existing *SnapshotInput, updates interface{}) (*SnapshotInput, error)
- type SnapshotInputCollection
- type SnapshotInputOperations
- type SnapshotOperations
- type Sort
- type Volume
- type VolumeClient
- func (c *VolumeClient) ActionAttach(resource *Volume, input *AttachInput) (*Volume, error)
- func (c *VolumeClient) ActionDetach(resource *Volume) (*Volume, error)
- func (c *VolumeClient) ActionReplicaRemove(resource *Volume, input *ReplicaRemoveInput) (*Volume, error)
- func (c *VolumeClient) ActionSalvage(resource *Volume, input *SalvageInput) (*Volume, error)
- func (c *VolumeClient) ActionSnapshotCreate(resource *Volume, input *SnapshotInput) (*Snapshot, error)
- func (c *VolumeClient) ActionSnapshotDelete(resource *Volume, input *SnapshotInput) (*Snapshot, error)
- func (c *VolumeClient) ActionSnapshotGet(resource *Volume, input *SnapshotInput) (*Snapshot, error)
- func (c *VolumeClient) ActionSnapshotRevert(resource *Volume, input *SnapshotInput) (*Snapshot, error)
- func (c *VolumeClient) ById(id string) (*Volume, error)
- func (c *VolumeClient) Create(container *Volume) (*Volume, error)
- func (c *VolumeClient) Delete(container *Volume) error
- func (c *VolumeClient) List(opts *ListOpts) (*VolumeCollection, error)
- func (c *VolumeClient) Update(existing *Volume, updates interface{}) (*Volume, error)
- type VolumeCollection
- type VolumeCondition
- type VolumeConditionClient
- func (c *VolumeConditionClient) ById(id string) (*VolumeCondition, error)
- func (c *VolumeConditionClient) Create(container *VolumeCondition) (*VolumeCondition, error)
- func (c *VolumeConditionClient) Delete(container *VolumeCondition) error
- func (c *VolumeConditionClient) List(opts *ListOpts) (*VolumeConditionCollection, error)
- func (c *VolumeConditionClient) Update(existing *VolumeCondition, updates interface{}) (*VolumeCondition, error)
- type VolumeConditionCollection
- type VolumeConditionOperations
- type VolumeOperations
Constants ¶
View Source
const ( SELF = "self" COLLECTION = "collection" )
View Source
const (
API_VERSION_TYPE = "apiVersion"
)
View Source
const (
ATTACH_INPUT_TYPE = "attachInput"
)
View Source
const (
BACKUP_INPUT_TYPE = "backupInput"
)
View Source
const (
BACKUP_TYPE = "backup"
)
View Source
const (
BACKUP_VOLUME_TYPE = "backupVolume"
)
View Source
const (
CONTROLLER_TYPE = "controller"
)
View Source
const (
DISK_CONDITION_TYPE = "diskCondition"
)
View Source
const (
DISK_INFO_TYPE = "diskInfo"
)
View Source
const (
DISK_UPDATE_INPUT_TYPE = "diskUpdateInput"
)
View Source
const (
DISK_UPDATE_TYPE = "diskUpdate"
)
View Source
const (
ENGINE_IMAGE_TYPE = "engineImage"
)
View Source
const (
ENGINE_UPGRADE_INPUT_TYPE = "engineUpgradeInput"
)
View Source
const (
ERROR_TYPE = "error"
)
View Source
const (
LONGHORN_CONDITION_TYPE = "longhornCondition"
)
View Source
const (
NODE_CONDITION_TYPE = "nodeCondition"
)
View Source
const (
NODE_INPUT_TYPE = "nodeInput"
)
View Source
const (
NODE_TYPE = "node"
)
View Source
const (
RECURRING_INPUT_TYPE = "recurringInput"
)
View Source
const (
RECURRING_JOB_TYPE = "recurringJob"
)
View Source
const (
REPLICA_REMOVE_INPUT_TYPE = "replicaRemoveInput"
)
View Source
const (
REPLICA_TYPE = "replica"
)
View Source
const (
SALVAGE_INPUT_TYPE = "salvageInput"
)
View Source
const (
SETTING_DEFINITION_TYPE = "settingDefinition"
)
View Source
const (
SETTING_TYPE = "setting"
)
View Source
const (
SNAPSHOT_INPUT_TYPE = "snapshotInput"
)
View Source
const (
SNAPSHOT_TYPE = "snapshot"
)
View Source
const (
VOLUME_CONDITION_TYPE = "volumeCondition"
)
View Source
const (
VOLUME_TYPE = "volume"
)
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶
func NormalizeUrl ¶
Types ¶
type ApiVersion ¶
type ApiVersion struct {
Resource `yaml:"-"`
}
type ApiVersionClient ¶
type ApiVersionClient struct {
// contains filtered or unexported fields
}
func (*ApiVersionClient) ById ¶
func (c *ApiVersionClient) ById(id string) (*ApiVersion, error)
func (*ApiVersionClient) Create ¶
func (c *ApiVersionClient) Create(container *ApiVersion) (*ApiVersion, error)
func (*ApiVersionClient) Delete ¶
func (c *ApiVersionClient) Delete(container *ApiVersion) error
func (*ApiVersionClient) List ¶
func (c *ApiVersionClient) List(opts *ListOpts) (*ApiVersionCollection, error)
func (*ApiVersionClient) Update ¶
func (c *ApiVersionClient) Update(existing *ApiVersion, updates interface{}) (*ApiVersion, error)
type ApiVersionCollection ¶
type ApiVersionCollection struct { Collection Data []ApiVersion `json:"data,omitempty"` // contains filtered or unexported fields }
func (*ApiVersionCollection) Next ¶
func (cc *ApiVersionCollection) Next() (*ApiVersionCollection, error)
type ApiVersionOperations ¶
type ApiVersionOperations interface { List(opts *ListOpts) (*ApiVersionCollection, error) Create(opts *ApiVersion) (*ApiVersion, error) Update(existing *ApiVersion, updates interface{}) (*ApiVersion, error) ById(id string) (*ApiVersion, error) Delete(container *ApiVersion) error }
type AttachInput ¶
type AttachInputClient ¶
type AttachInputClient struct {
// contains filtered or unexported fields
}
func (*AttachInputClient) ById ¶
func (c *AttachInputClient) ById(id string) (*AttachInput, error)
func (*AttachInputClient) Create ¶
func (c *AttachInputClient) Create(container *AttachInput) (*AttachInput, error)
func (*AttachInputClient) Delete ¶
func (c *AttachInputClient) Delete(container *AttachInput) error
func (*AttachInputClient) List ¶
func (c *AttachInputClient) List(opts *ListOpts) (*AttachInputCollection, error)
func (*AttachInputClient) Update ¶
func (c *AttachInputClient) Update(existing *AttachInput, updates interface{}) (*AttachInput, error)
type AttachInputCollection ¶
type AttachInputCollection struct { Collection Data []AttachInput `json:"data,omitempty"` // contains filtered or unexported fields }
func (*AttachInputCollection) Next ¶
func (cc *AttachInputCollection) Next() (*AttachInputCollection, error)
type AttachInputOperations ¶
type AttachInputOperations interface { List(opts *ListOpts) (*AttachInputCollection, error) Create(opts *AttachInput) (*AttachInput, error) Update(existing *AttachInput, updates interface{}) (*AttachInput, error) ById(id string) (*AttachInput, error) Delete(container *AttachInput) error }
type Backup ¶
type Backup struct { Resource `yaml:"-"` Created string `json:"created,omitempty" yaml:"created,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` Size string `json:"size,omitempty" yaml:"size,omitempty"` SnapshotCreated string `json:"snapshotCreated,omitempty" yaml:"snapshot_created,omitempty"` SnapshotName string `json:"snapshotName,omitempty" yaml:"snapshot_name,omitempty"` Url string `json:"url,omitempty" yaml:"url,omitempty"` VolumeCreated string `json:"volumeCreated,omitempty" yaml:"volume_created,omitempty"` VolumeName string `json:"volumeName,omitempty" yaml:"volume_name,omitempty"` VolumeSize string `json:"volumeSize,omitempty" yaml:"volume_size,omitempty"` }
type BackupClient ¶
type BackupClient struct {
// contains filtered or unexported fields
}
func (*BackupClient) Delete ¶
func (c *BackupClient) Delete(container *Backup) error
func (*BackupClient) List ¶
func (c *BackupClient) List(opts *ListOpts) (*BackupCollection, error)
type BackupCollection ¶
type BackupCollection struct { Collection Data []Backup `json:"data,omitempty"` // contains filtered or unexported fields }
func (*BackupCollection) Next ¶
func (cc *BackupCollection) Next() (*BackupCollection, error)
type BackupInput ¶
type BackupInputClient ¶
type BackupInputClient struct {
// contains filtered or unexported fields
}
func (*BackupInputClient) ById ¶
func (c *BackupInputClient) ById(id string) (*BackupInput, error)
func (*BackupInputClient) Create ¶
func (c *BackupInputClient) Create(container *BackupInput) (*BackupInput, error)
func (*BackupInputClient) Delete ¶
func (c *BackupInputClient) Delete(container *BackupInput) error
func (*BackupInputClient) List ¶
func (c *BackupInputClient) List(opts *ListOpts) (*BackupInputCollection, error)
func (*BackupInputClient) Update ¶
func (c *BackupInputClient) Update(existing *BackupInput, updates interface{}) (*BackupInput, error)
type BackupInputCollection ¶
type BackupInputCollection struct { Collection Data []BackupInput `json:"data,omitempty"` // contains filtered or unexported fields }
func (*BackupInputCollection) Next ¶
func (cc *BackupInputCollection) Next() (*BackupInputCollection, error)
type BackupInputOperations ¶
type BackupInputOperations interface { List(opts *ListOpts) (*BackupInputCollection, error) Create(opts *BackupInput) (*BackupInput, error) Update(existing *BackupInput, updates interface{}) (*BackupInput, error) ById(id string) (*BackupInput, error) Delete(container *BackupInput) error }
type BackupOperations ¶
type BackupVolume ¶
type BackupVolume struct { Resource `yaml:"-"` Backups map[string]string `json:"backups,omitempty" yaml:"backups,omitempty"` BaseImage string `json:"baseImage,omitempty" yaml:"base_image,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` LastBackupName string `json:"lastBackupName,omitempty" yaml:"last_backup_name,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` Size string `json:"size,omitempty" yaml:"size,omitempty"` SpaceUsage string `json:"spaceUsage,omitempty" yaml:"space_usage,omitempty"` }
type BackupVolumeClient ¶
type BackupVolumeClient struct {
// contains filtered or unexported fields
}
func (*BackupVolumeClient) ActionBackupDelete ¶
func (c *BackupVolumeClient) ActionBackupDelete(resource *BackupVolume, input *BackupInput) (*BackupVolume, error)
func (*BackupVolumeClient) ActionBackupGet ¶
func (c *BackupVolumeClient) ActionBackupGet(resource *BackupVolume, input *BackupInput) (*Backup, error)
func (*BackupVolumeClient) ById ¶
func (c *BackupVolumeClient) ById(id string) (*BackupVolume, error)
func (*BackupVolumeClient) Create ¶
func (c *BackupVolumeClient) Create(container *BackupVolume) (*BackupVolume, error)
func (*BackupVolumeClient) Delete ¶
func (c *BackupVolumeClient) Delete(container *BackupVolume) error
func (*BackupVolumeClient) List ¶
func (c *BackupVolumeClient) List(opts *ListOpts) (*BackupVolumeCollection, error)
func (*BackupVolumeClient) Update ¶
func (c *BackupVolumeClient) Update(existing *BackupVolume, updates interface{}) (*BackupVolume, error)
type BackupVolumeCollection ¶
type BackupVolumeCollection struct { Collection Data []BackupVolume `json:"data,omitempty"` // contains filtered or unexported fields }
func (*BackupVolumeCollection) Next ¶
func (cc *BackupVolumeCollection) Next() (*BackupVolumeCollection, error)
type BackupVolumeOperations ¶
type BackupVolumeOperations interface { List(opts *ListOpts) (*BackupVolumeCollection, error) Create(opts *BackupVolume) (*BackupVolume, error) Update(existing *BackupVolume, updates interface{}) (*BackupVolume, error) ById(id string) (*BackupVolume, error) Delete(container *BackupVolume) error ActionBackupDelete(*BackupVolume, *BackupInput) (*BackupVolume, error) ActionBackupGet(*BackupVolume, *BackupInput) (*Backup, error) }
type ClientOpts ¶
type Collection ¶
type Collection struct { Type string `json:"type,omitempty"` ResourceType string `json:"resourceType,omitempty"` Links map[string]string `json:"links,omitempty"` CreateTypes map[string]string `json:"createTypes,omitempty"` Actions map[string]string `json:"actions,omitempty"` SortLinks map[string]string `json:"sortLinks,omitempty"` Pagination *Pagination `json:"pagination,omitempty"` Sort *Sort `json:"sort,omitempty"` Filters map[string][]Condition `json:"filters,omitempty"` }
type Condition ¶
type Condition struct { Modifier string `json:"modifier,omitempty"` Value interface{} `json:"value,omitempty"` }
type Controller ¶
type Controller struct { Resource `yaml:"-"` Address string `json:"address,omitempty" yaml:"address,omitempty"` CurrentImage string `json:"currentImage,omitempty" yaml:"current_image,omitempty"` Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"` EngineImage string `json:"engineImage,omitempty" yaml:"engine_image,omitempty"` HostId string `json:"hostId,omitempty" yaml:"host_id,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` Running bool `json:"running,omitempty" yaml:"running,omitempty"` }
type ControllerClient ¶
type ControllerClient struct {
// contains filtered or unexported fields
}
func (*ControllerClient) ById ¶
func (c *ControllerClient) ById(id string) (*Controller, error)
func (*ControllerClient) Create ¶
func (c *ControllerClient) Create(container *Controller) (*Controller, error)
func (*ControllerClient) Delete ¶
func (c *ControllerClient) Delete(container *Controller) error
func (*ControllerClient) List ¶
func (c *ControllerClient) List(opts *ListOpts) (*ControllerCollection, error)
func (*ControllerClient) Update ¶
func (c *ControllerClient) Update(existing *Controller, updates interface{}) (*Controller, error)
type ControllerCollection ¶
type ControllerCollection struct { Collection Data []Controller `json:"data,omitempty"` // contains filtered or unexported fields }
func (*ControllerCollection) Next ¶
func (cc *ControllerCollection) Next() (*ControllerCollection, error)
type ControllerOperations ¶
type ControllerOperations interface { List(opts *ListOpts) (*ControllerCollection, error) Create(opts *Controller) (*Controller, error) Update(existing *Controller, updates interface{}) (*Controller, error) ById(id string) (*Controller, error) Delete(container *Controller) error }
type DiskCondition ¶
type DiskCondition struct { Resource `yaml:"-"` LastProbeTime string `json:"lastProbeTime,omitempty" yaml:"last_probe_time,omitempty"` LastTransitionTime string `json:"lastTransitionTime,omitempty" yaml:"last_transition_time,omitempty"` Message string `json:"message,omitempty" yaml:"message,omitempty"` Reason string `json:"reason,omitempty" yaml:"reason,omitempty"` Status string `json:"status,omitempty" yaml:"status,omitempty"` }
type DiskConditionClient ¶
type DiskConditionClient struct {
// contains filtered or unexported fields
}
func (*DiskConditionClient) ById ¶
func (c *DiskConditionClient) ById(id string) (*DiskCondition, error)
func (*DiskConditionClient) Create ¶
func (c *DiskConditionClient) Create(container *DiskCondition) (*DiskCondition, error)
func (*DiskConditionClient) Delete ¶
func (c *DiskConditionClient) Delete(container *DiskCondition) error
func (*DiskConditionClient) List ¶
func (c *DiskConditionClient) List(opts *ListOpts) (*DiskConditionCollection, error)
func (*DiskConditionClient) Update ¶
func (c *DiskConditionClient) Update(existing *DiskCondition, updates interface{}) (*DiskCondition, error)
type DiskConditionCollection ¶
type DiskConditionCollection struct { Collection Data []DiskCondition `json:"data,omitempty"` // contains filtered or unexported fields }
func (*DiskConditionCollection) Next ¶
func (cc *DiskConditionCollection) Next() (*DiskConditionCollection, error)
type DiskConditionOperations ¶
type DiskConditionOperations interface { List(opts *ListOpts) (*DiskConditionCollection, error) Create(opts *DiskCondition) (*DiskCondition, error) Update(existing *DiskCondition, updates interface{}) (*DiskCondition, error) ById(id string) (*DiskCondition, error) Delete(container *DiskCondition) error }
type DiskInfo ¶
type DiskInfo struct { Resource `yaml:"-"` AllowScheduling bool `json:"allowScheduling,omitempty" yaml:"allow_scheduling,omitempty"` Conditions map[string]interface{} `json:"conditions,omitempty" yaml:"conditions,omitempty"` Path string `json:"path,omitempty" yaml:"path,omitempty"` StorageAvailable int64 `json:"storageAvailable,omitempty" yaml:"storage_available,omitempty"` StorageMaximum int64 `json:"storageMaximum,omitempty" yaml:"storage_maximum,omitempty"` StorageReserved int64 `json:"storageReserved,omitempty" yaml:"storage_reserved,omitempty"` StorageScheduled int64 `json:"storageScheduled,omitempty" yaml:"storage_scheduled,omitempty"` }
type DiskInfoClient ¶
type DiskInfoClient struct {
// contains filtered or unexported fields
}
func (*DiskInfoClient) Create ¶
func (c *DiskInfoClient) Create(container *DiskInfo) (*DiskInfo, error)
func (*DiskInfoClient) Delete ¶
func (c *DiskInfoClient) Delete(container *DiskInfo) error
func (*DiskInfoClient) List ¶
func (c *DiskInfoClient) List(opts *ListOpts) (*DiskInfoCollection, error)
type DiskInfoCollection ¶
type DiskInfoCollection struct { Collection Data []DiskInfo `json:"data,omitempty"` // contains filtered or unexported fields }
func (*DiskInfoCollection) Next ¶
func (cc *DiskInfoCollection) Next() (*DiskInfoCollection, error)
type DiskInfoOperations ¶
type DiskUpdate ¶
type DiskUpdate struct { Resource `yaml:"-"` AllowScheduling bool `json:"allowScheduling,omitempty" yaml:"allow_scheduling,omitempty"` Path string `json:"path,omitempty" yaml:"path,omitempty"` StorageMaximum int64 `json:"storageMaximum,omitempty" yaml:"storage_maximum,omitempty"` StorageReserved int64 `json:"storageReserved,omitempty" yaml:"storage_reserved,omitempty"` }
type DiskUpdateClient ¶
type DiskUpdateClient struct {
// contains filtered or unexported fields
}
func (*DiskUpdateClient) ById ¶
func (c *DiskUpdateClient) ById(id string) (*DiskUpdate, error)
func (*DiskUpdateClient) Create ¶
func (c *DiskUpdateClient) Create(container *DiskUpdate) (*DiskUpdate, error)
func (*DiskUpdateClient) Delete ¶
func (c *DiskUpdateClient) Delete(container *DiskUpdate) error
func (*DiskUpdateClient) List ¶
func (c *DiskUpdateClient) List(opts *ListOpts) (*DiskUpdateCollection, error)
func (*DiskUpdateClient) Update ¶
func (c *DiskUpdateClient) Update(existing *DiskUpdate, updates interface{}) (*DiskUpdate, error)
type DiskUpdateCollection ¶
type DiskUpdateCollection struct { Collection Data []DiskUpdate `json:"data,omitempty"` // contains filtered or unexported fields }
func (*DiskUpdateCollection) Next ¶
func (cc *DiskUpdateCollection) Next() (*DiskUpdateCollection, error)
type DiskUpdateInput ¶
type DiskUpdateInput struct { Resource `yaml:"-"` Disks []DiskUpdate `json:"disks,omitempty" yaml:"disks,omitempty"` }
type DiskUpdateInputClient ¶
type DiskUpdateInputClient struct {
// contains filtered or unexported fields
}
func (*DiskUpdateInputClient) ById ¶
func (c *DiskUpdateInputClient) ById(id string) (*DiskUpdateInput, error)
func (*DiskUpdateInputClient) Create ¶
func (c *DiskUpdateInputClient) Create(container *DiskUpdateInput) (*DiskUpdateInput, error)
func (*DiskUpdateInputClient) Delete ¶
func (c *DiskUpdateInputClient) Delete(container *DiskUpdateInput) error
func (*DiskUpdateInputClient) List ¶
func (c *DiskUpdateInputClient) List(opts *ListOpts) (*DiskUpdateInputCollection, error)
func (*DiskUpdateInputClient) Update ¶
func (c *DiskUpdateInputClient) Update(existing *DiskUpdateInput, updates interface{}) (*DiskUpdateInput, error)
type DiskUpdateInputCollection ¶
type DiskUpdateInputCollection struct { Collection Data []DiskUpdateInput `json:"data,omitempty"` // contains filtered or unexported fields }
func (*DiskUpdateInputCollection) Next ¶
func (cc *DiskUpdateInputCollection) Next() (*DiskUpdateInputCollection, error)
type DiskUpdateInputOperations ¶
type DiskUpdateInputOperations interface { List(opts *ListOpts) (*DiskUpdateInputCollection, error) Create(opts *DiskUpdateInput) (*DiskUpdateInput, error) Update(existing *DiskUpdateInput, updates interface{}) (*DiskUpdateInput, error) ById(id string) (*DiskUpdateInput, error) Delete(container *DiskUpdateInput) error }
type DiskUpdateOperations ¶
type DiskUpdateOperations interface { List(opts *ListOpts) (*DiskUpdateCollection, error) Create(opts *DiskUpdate) (*DiskUpdate, error) Update(existing *DiskUpdate, updates interface{}) (*DiskUpdate, error) ById(id string) (*DiskUpdate, error) Delete(container *DiskUpdate) error }
type EngineImage ¶
type EngineImage struct { Resource `yaml:"-"` BuildDate string `json:"buildDate,omitempty" yaml:"build_date,omitempty"` CliAPIMinVersion int64 `json:"cliAPIMinVersion,omitempty" yaml:"cli_apimin_version,omitempty"` CliAPIVersion int64 `json:"cliAPIVersion,omitempty" yaml:"cli_apiversion,omitempty"` ControllerAPIMinVersion int64 `json:"controllerAPIMinVersion,omitempty" yaml:"controller_apimin_version,omitempty"` ControllerAPIVersion int64 `json:"controllerAPIVersion,omitempty" yaml:"controller_apiversion,omitempty"` DataFormatMinVersion int64 `json:"dataFormatMinVersion,omitempty" yaml:"data_format_min_version,omitempty"` DataFormatVersion int64 `json:"dataFormatVersion,omitempty" yaml:"data_format_version,omitempty"` Default bool `json:"default,omitempty" yaml:"default,omitempty"` GitCommit string `json:"gitCommit,omitempty" yaml:"git_commit,omitempty"` Image string `json:"image,omitempty" yaml:"image,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` NoRefSince string `json:"noRefSince,omitempty" yaml:"no_ref_since,omitempty"` RefCount int64 `json:"refCount,omitempty" yaml:"ref_count,omitempty"` State string `json:"state,omitempty" yaml:"state,omitempty"` Version string `json:"version,omitempty" yaml:"version,omitempty"` }
type EngineImageClient ¶
type EngineImageClient struct {
// contains filtered or unexported fields
}
func (*EngineImageClient) ById ¶
func (c *EngineImageClient) ById(id string) (*EngineImage, error)
func (*EngineImageClient) Create ¶
func (c *EngineImageClient) Create(container *EngineImage) (*EngineImage, error)
func (*EngineImageClient) Delete ¶
func (c *EngineImageClient) Delete(container *EngineImage) error
func (*EngineImageClient) List ¶
func (c *EngineImageClient) List(opts *ListOpts) (*EngineImageCollection, error)
func (*EngineImageClient) Update ¶
func (c *EngineImageClient) Update(existing *EngineImage, updates interface{}) (*EngineImage, error)
type EngineImageCollection ¶
type EngineImageCollection struct { Collection Data []EngineImage `json:"data,omitempty"` // contains filtered or unexported fields }
func (*EngineImageCollection) Next ¶
func (cc *EngineImageCollection) Next() (*EngineImageCollection, error)
type EngineImageOperations ¶
type EngineImageOperations interface { List(opts *ListOpts) (*EngineImageCollection, error) Create(opts *EngineImage) (*EngineImage, error) Update(existing *EngineImage, updates interface{}) (*EngineImage, error) ById(id string) (*EngineImage, error) Delete(container *EngineImage) error }
type EngineUpgradeInput ¶
type EngineUpgradeInputClient ¶
type EngineUpgradeInputClient struct {
// contains filtered or unexported fields
}
func (*EngineUpgradeInputClient) ById ¶
func (c *EngineUpgradeInputClient) ById(id string) (*EngineUpgradeInput, error)
func (*EngineUpgradeInputClient) Create ¶
func (c *EngineUpgradeInputClient) Create(container *EngineUpgradeInput) (*EngineUpgradeInput, error)
func (*EngineUpgradeInputClient) Delete ¶
func (c *EngineUpgradeInputClient) Delete(container *EngineUpgradeInput) error
func (*EngineUpgradeInputClient) List ¶
func (c *EngineUpgradeInputClient) List(opts *ListOpts) (*EngineUpgradeInputCollection, error)
func (*EngineUpgradeInputClient) Update ¶
func (c *EngineUpgradeInputClient) Update(existing *EngineUpgradeInput, updates interface{}) (*EngineUpgradeInput, error)
type EngineUpgradeInputCollection ¶
type EngineUpgradeInputCollection struct { Collection Data []EngineUpgradeInput `json:"data,omitempty"` // contains filtered or unexported fields }
func (*EngineUpgradeInputCollection) Next ¶
func (cc *EngineUpgradeInputCollection) Next() (*EngineUpgradeInputCollection, error)
type EngineUpgradeInputOperations ¶
type EngineUpgradeInputOperations interface { List(opts *ListOpts) (*EngineUpgradeInputCollection, error) Create(opts *EngineUpgradeInput) (*EngineUpgradeInput, error) Update(existing *EngineUpgradeInput, updates interface{}) (*EngineUpgradeInput, error) ById(id string) (*EngineUpgradeInput, error) Delete(container *EngineUpgradeInput) error }
type ErrorClient ¶
type ErrorClient struct {
// contains filtered or unexported fields
}
func (*ErrorClient) Delete ¶
func (c *ErrorClient) Delete(container *Error) error
func (*ErrorClient) List ¶
func (c *ErrorClient) List(opts *ListOpts) (*ErrorCollection, error)
type ErrorCollection ¶
type ErrorCollection struct { Collection Data []Error `json:"data,omitempty"` // contains filtered or unexported fields }
func (*ErrorCollection) Next ¶
func (cc *ErrorCollection) Next() (*ErrorCollection, error)
type ErrorOperations ¶
type Field ¶
type Field struct { Type string `json:"type,omitempty"` Default interface{} `json:"default,omitempty"` Unique bool `json:"unique,omitempty"` Nullable bool `json:"nullable,omitempty"` Create bool `json:"create,omitempty"` Required bool `json:"required,omitempty"` Update bool `json:"update,omitempty"` MinLength *int64 `json:"minLength,omitempty"` MaxLength *int64 `json:"maxLength,omitempty"` Min *int64 `json:"min,omitempty"` Max *int64 `json:"max,omitempty"` Options []string `json:"options,omitempty"` ValidChars string `json:"validChars,omitempty"` InvalidChars string `json:"invalidChars,omitempty"` Description string `json:"description,omitempty"` }
type GenericCollection ¶
type GenericCollection struct { Collection Data []interface{} `json:"data,omitempty"` }
type ListOpts ¶
type ListOpts struct {
Filters map[string]interface{}
}
func NewListOpts ¶
func NewListOpts() *ListOpts
type LonghornCondition ¶
type LonghornCondition struct { Resource `yaml:"-"` LastProbeTime string `json:"lastProbeTime,omitempty" yaml:"last_probe_time,omitempty"` LastTransitionTime string `json:"lastTransitionTime,omitempty" yaml:"last_transition_time,omitempty"` Message string `json:"message,omitempty" yaml:"message,omitempty"` Reason string `json:"reason,omitempty" yaml:"reason,omitempty"` Status string `json:"status,omitempty" yaml:"status,omitempty"` }
type LonghornConditionClient ¶
type LonghornConditionClient struct {
// contains filtered or unexported fields
}
func (*LonghornConditionClient) ById ¶
func (c *LonghornConditionClient) ById(id string) (*LonghornCondition, error)
func (*LonghornConditionClient) Create ¶
func (c *LonghornConditionClient) Create(container *LonghornCondition) (*LonghornCondition, error)
func (*LonghornConditionClient) Delete ¶
func (c *LonghornConditionClient) Delete(container *LonghornCondition) error
func (*LonghornConditionClient) List ¶
func (c *LonghornConditionClient) List(opts *ListOpts) (*LonghornConditionCollection, error)
func (*LonghornConditionClient) Update ¶
func (c *LonghornConditionClient) Update(existing *LonghornCondition, updates interface{}) (*LonghornCondition, error)
type LonghornConditionCollection ¶
type LonghornConditionCollection struct { Collection Data []LonghornCondition `json:"data,omitempty"` // contains filtered or unexported fields }
func (*LonghornConditionCollection) Next ¶
func (cc *LonghornConditionCollection) Next() (*LonghornConditionCollection, error)
type LonghornConditionOperations ¶
type LonghornConditionOperations interface { List(opts *ListOpts) (*LonghornConditionCollection, error) Create(opts *LonghornCondition) (*LonghornCondition, error) Update(existing *LonghornCondition, updates interface{}) (*LonghornCondition, error) ById(id string) (*LonghornCondition, error) Delete(container *LonghornCondition) error }
type Node ¶
type Node struct { Resource `yaml:"-"` Address string `json:"address,omitempty" yaml:"address,omitempty"` AllowScheduling bool `json:"allowScheduling,omitempty" yaml:"allow_scheduling,omitempty"` Conditions map[string]interface{} `json:"conditions,omitempty" yaml:"conditions,omitempty"` Disks map[string]interface{} `json:"disks,omitempty" yaml:"disks,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` }
type NodeClient ¶
type NodeClient struct {
// contains filtered or unexported fields
}
func (*NodeClient) ActionDiskUpdate ¶
func (c *NodeClient) ActionDiskUpdate(resource *Node, input *DiskUpdateInput) (*Node, error)
func (*NodeClient) Delete ¶
func (c *NodeClient) Delete(container *Node) error
func (*NodeClient) List ¶
func (c *NodeClient) List(opts *ListOpts) (*NodeCollection, error)
type NodeCollection ¶
type NodeCollection struct { Collection Data []Node `json:"data,omitempty"` // contains filtered or unexported fields }
func (*NodeCollection) Next ¶
func (cc *NodeCollection) Next() (*NodeCollection, error)
type NodeCondition ¶
type NodeCondition struct { Resource `yaml:"-"` LastProbeTime string `json:"lastProbeTime,omitempty" yaml:"last_probe_time,omitempty"` LastTransitionTime string `json:"lastTransitionTime,omitempty" yaml:"last_transition_time,omitempty"` Message string `json:"message,omitempty" yaml:"message,omitempty"` Reason string `json:"reason,omitempty" yaml:"reason,omitempty"` Status string `json:"status,omitempty" yaml:"status,omitempty"` }
type NodeConditionClient ¶
type NodeConditionClient struct {
// contains filtered or unexported fields
}
func (*NodeConditionClient) ById ¶
func (c *NodeConditionClient) ById(id string) (*NodeCondition, error)
func (*NodeConditionClient) Create ¶
func (c *NodeConditionClient) Create(container *NodeCondition) (*NodeCondition, error)
func (*NodeConditionClient) Delete ¶
func (c *NodeConditionClient) Delete(container *NodeCondition) error
func (*NodeConditionClient) List ¶
func (c *NodeConditionClient) List(opts *ListOpts) (*NodeConditionCollection, error)
func (*NodeConditionClient) Update ¶
func (c *NodeConditionClient) Update(existing *NodeCondition, updates interface{}) (*NodeCondition, error)
type NodeConditionCollection ¶
type NodeConditionCollection struct { Collection Data []NodeCondition `json:"data,omitempty"` // contains filtered or unexported fields }
func (*NodeConditionCollection) Next ¶
func (cc *NodeConditionCollection) Next() (*NodeConditionCollection, error)
type NodeConditionOperations ¶
type NodeConditionOperations interface { List(opts *ListOpts) (*NodeConditionCollection, error) Create(opts *NodeCondition) (*NodeCondition, error) Update(existing *NodeCondition, updates interface{}) (*NodeCondition, error) ById(id string) (*NodeCondition, error) Delete(container *NodeCondition) error }
type NodeInputClient ¶
type NodeInputClient struct {
// contains filtered or unexported fields
}
func (*NodeInputClient) Create ¶
func (c *NodeInputClient) Create(container *NodeInput) (*NodeInput, error)
func (*NodeInputClient) Delete ¶
func (c *NodeInputClient) Delete(container *NodeInput) error
func (*NodeInputClient) List ¶
func (c *NodeInputClient) List(opts *ListOpts) (*NodeInputCollection, error)
type NodeInputCollection ¶
type NodeInputCollection struct { Collection Data []NodeInput `json:"data,omitempty"` // contains filtered or unexported fields }
func (*NodeInputCollection) Next ¶
func (cc *NodeInputCollection) Next() (*NodeInputCollection, error)
type NodeInputOperations ¶
type NodeOperations ¶
type Pagination ¶
type Pagination struct { Marker string `json:"marker,omitempty"` First string `json:"first,omitempty"` Previous string `json:"previous,omitempty"` Next string `json:"next,omitempty"` Limit *int64 `json:"limit,omitempty"` Total *int64 `json:"total,omitempty"` Partial bool `json:"partial,omitempty"` }
type RancherBaseClient ¶
type RancherBaseClient interface { Websocket(string, map[string][]string) (*websocket.Conn, *http.Response, error) List(string, *ListOpts, interface{}) error Post(string, interface{}, interface{}) error GetLink(Resource, string, interface{}) error Create(string, interface{}, interface{}) error Update(string, *Resource, interface{}, interface{}) error ById(string, string, interface{}) error Delete(*Resource) error Reload(*Resource, interface{}) error Action(string, string, *Resource, interface{}, interface{}) error GetOpts() *ClientOpts GetSchemas() *Schemas GetTypes() map[string]Schema // contains filtered or unexported methods }
type RancherBaseClientImpl ¶
type RancherBaseClientImpl struct { Opts *ClientOpts Schemas *Schemas Types map[string]Schema }
func (*RancherBaseClientImpl) Action ¶
func (rancherClient *RancherBaseClientImpl) Action(schemaType string, action string, existing *Resource, inputObject, respObject interface{}) error
func (*RancherBaseClientImpl) ById ¶
func (rancherClient *RancherBaseClientImpl) ById(schemaType string, id string, respObject interface{}) error
func (*RancherBaseClientImpl) Create ¶
func (rancherClient *RancherBaseClientImpl) Create(schemaType string, createObj interface{}, respObject interface{}) error
func (*RancherBaseClientImpl) Delete ¶
func (rancherClient *RancherBaseClientImpl) Delete(existing *Resource) error
func (*RancherBaseClientImpl) GetLink ¶
func (rancherClient *RancherBaseClientImpl) GetLink(resource Resource, link string, respObject interface{}) error
func (*RancherBaseClientImpl) GetOpts ¶
func (rancherClient *RancherBaseClientImpl) GetOpts() *ClientOpts
func (*RancherBaseClientImpl) GetSchemas ¶
func (rancherClient *RancherBaseClientImpl) GetSchemas() *Schemas
func (*RancherBaseClientImpl) GetTypes ¶
func (rancherClient *RancherBaseClientImpl) GetTypes() map[string]Schema
func (*RancherBaseClientImpl) List ¶
func (rancherClient *RancherBaseClientImpl) List(schemaType string, opts *ListOpts, respObject interface{}) error
func (*RancherBaseClientImpl) Post ¶
func (rancherClient *RancherBaseClientImpl) Post(url string, createObj interface{}, respObject interface{}) error
func (*RancherBaseClientImpl) Reload ¶
func (rancherClient *RancherBaseClientImpl) Reload(existing *Resource, output interface{}) error
type RancherClient ¶
type RancherClient struct { RancherBaseClient ApiVersion ApiVersionOperations Error ErrorOperations Snapshot SnapshotOperations AttachInput AttachInputOperations SnapshotInput SnapshotInputOperations Backup BackupOperations BackupInput BackupInputOperations RecurringJob RecurringJobOperations ReplicaRemoveInput ReplicaRemoveInputOperations SalvageInput SalvageInputOperations EngineUpgradeInput EngineUpgradeInputOperations Replica ReplicaOperations Controller ControllerOperations DiskUpdate DiskUpdateOperations NodeInput NodeInputOperations SettingDefinition SettingDefinitionOperations VolumeCondition VolumeConditionOperations NodeCondition NodeConditionOperations DiskCondition DiskConditionOperations Volume VolumeOperations BackupVolume BackupVolumeOperations Setting SettingOperations RecurringInput RecurringInputOperations EngineImage EngineImageOperations Node NodeOperations DiskUpdateInput DiskUpdateInputOperations DiskInfo DiskInfoOperations }
func NewRancherClient ¶
func NewRancherClient(opts *ClientOpts) (*RancherClient, error)
type RecurringInput ¶
type RecurringInput struct { Resource `yaml:"-"` Jobs []RecurringJob `json:"jobs,omitempty" yaml:"jobs,omitempty"` }
type RecurringInputClient ¶
type RecurringInputClient struct {
// contains filtered or unexported fields
}
func (*RecurringInputClient) ById ¶
func (c *RecurringInputClient) ById(id string) (*RecurringInput, error)
func (*RecurringInputClient) Create ¶
func (c *RecurringInputClient) Create(container *RecurringInput) (*RecurringInput, error)
func (*RecurringInputClient) Delete ¶
func (c *RecurringInputClient) Delete(container *RecurringInput) error
func (*RecurringInputClient) List ¶
func (c *RecurringInputClient) List(opts *ListOpts) (*RecurringInputCollection, error)
func (*RecurringInputClient) Update ¶
func (c *RecurringInputClient) Update(existing *RecurringInput, updates interface{}) (*RecurringInput, error)
type RecurringInputCollection ¶
type RecurringInputCollection struct { Collection Data []RecurringInput `json:"data,omitempty"` // contains filtered or unexported fields }
func (*RecurringInputCollection) Next ¶
func (cc *RecurringInputCollection) Next() (*RecurringInputCollection, error)
type RecurringInputOperations ¶
type RecurringInputOperations interface { List(opts *ListOpts) (*RecurringInputCollection, error) Create(opts *RecurringInput) (*RecurringInput, error) Update(existing *RecurringInput, updates interface{}) (*RecurringInput, error) ById(id string) (*RecurringInput, error) Delete(container *RecurringInput) error }
type RecurringJob ¶
type RecurringJobClient ¶
type RecurringJobClient struct {
// contains filtered or unexported fields
}
func (*RecurringJobClient) ById ¶
func (c *RecurringJobClient) ById(id string) (*RecurringJob, error)
func (*RecurringJobClient) Create ¶
func (c *RecurringJobClient) Create(container *RecurringJob) (*RecurringJob, error)
func (*RecurringJobClient) Delete ¶
func (c *RecurringJobClient) Delete(container *RecurringJob) error
func (*RecurringJobClient) List ¶
func (c *RecurringJobClient) List(opts *ListOpts) (*RecurringJobCollection, error)
func (*RecurringJobClient) Update ¶
func (c *RecurringJobClient) Update(existing *RecurringJob, updates interface{}) (*RecurringJob, error)
type RecurringJobCollection ¶
type RecurringJobCollection struct { Collection Data []RecurringJob `json:"data,omitempty"` // contains filtered or unexported fields }
func (*RecurringJobCollection) Next ¶
func (cc *RecurringJobCollection) Next() (*RecurringJobCollection, error)
type RecurringJobOperations ¶
type RecurringJobOperations interface { List(opts *ListOpts) (*RecurringJobCollection, error) Create(opts *RecurringJob) (*RecurringJob, error) Update(existing *RecurringJob, updates interface{}) (*RecurringJob, error) ById(id string) (*RecurringJob, error) Delete(container *RecurringJob) error }
type Replica ¶
type Replica struct { Resource `yaml:"-"` Address string `json:"address,omitempty" yaml:"address,omitempty"` CurrentImage string `json:"currentImage,omitempty" yaml:"current_image,omitempty"` DataPath string `json:"dataPath,omitempty" yaml:"data_path,omitempty"` DiskID string `json:"diskID,omitempty" yaml:"disk_id,omitempty"` EngineImage string `json:"engineImage,omitempty" yaml:"engine_image,omitempty"` FailedAt string `json:"failedAt,omitempty" yaml:"failed_at,omitempty"` HostId string `json:"hostId,omitempty" yaml:"host_id,omitempty"` Mode string `json:"mode,omitempty" yaml:"mode,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` Running bool `json:"running,omitempty" yaml:"running,omitempty"` }
type ReplicaClient ¶
type ReplicaClient struct {
// contains filtered or unexported fields
}
func (*ReplicaClient) Delete ¶
func (c *ReplicaClient) Delete(container *Replica) error
func (*ReplicaClient) List ¶
func (c *ReplicaClient) List(opts *ListOpts) (*ReplicaCollection, error)
type ReplicaCollection ¶
type ReplicaCollection struct { Collection Data []Replica `json:"data,omitempty"` // contains filtered or unexported fields }
func (*ReplicaCollection) Next ¶
func (cc *ReplicaCollection) Next() (*ReplicaCollection, error)
type ReplicaOperations ¶
type ReplicaRemoveInput ¶
type ReplicaRemoveInputClient ¶
type ReplicaRemoveInputClient struct {
// contains filtered or unexported fields
}
func (*ReplicaRemoveInputClient) ById ¶
func (c *ReplicaRemoveInputClient) ById(id string) (*ReplicaRemoveInput, error)
func (*ReplicaRemoveInputClient) Create ¶
func (c *ReplicaRemoveInputClient) Create(container *ReplicaRemoveInput) (*ReplicaRemoveInput, error)
func (*ReplicaRemoveInputClient) Delete ¶
func (c *ReplicaRemoveInputClient) Delete(container *ReplicaRemoveInput) error
func (*ReplicaRemoveInputClient) List ¶
func (c *ReplicaRemoveInputClient) List(opts *ListOpts) (*ReplicaRemoveInputCollection, error)
func (*ReplicaRemoveInputClient) Update ¶
func (c *ReplicaRemoveInputClient) Update(existing *ReplicaRemoveInput, updates interface{}) (*ReplicaRemoveInput, error)
type ReplicaRemoveInputCollection ¶
type ReplicaRemoveInputCollection struct { Collection Data []ReplicaRemoveInput `json:"data,omitempty"` // contains filtered or unexported fields }
func (*ReplicaRemoveInputCollection) Next ¶
func (cc *ReplicaRemoveInputCollection) Next() (*ReplicaRemoveInputCollection, error)
type ReplicaRemoveInputOperations ¶
type ReplicaRemoveInputOperations interface { List(opts *ListOpts) (*ReplicaRemoveInputCollection, error) Create(opts *ReplicaRemoveInput) (*ReplicaRemoveInput, error) Update(existing *ReplicaRemoveInput, updates interface{}) (*ReplicaRemoveInput, error) ById(id string) (*ReplicaRemoveInput, error) Delete(container *ReplicaRemoveInput) error }
type ResourceCollection ¶
type ResourceCollection struct { Collection Data []Resource `json:"data,omitempty"` }
type SalvageInput ¶
type SalvageInputClient ¶
type SalvageInputClient struct {
// contains filtered or unexported fields
}
func (*SalvageInputClient) ById ¶
func (c *SalvageInputClient) ById(id string) (*SalvageInput, error)
func (*SalvageInputClient) Create ¶
func (c *SalvageInputClient) Create(container *SalvageInput) (*SalvageInput, error)
func (*SalvageInputClient) Delete ¶
func (c *SalvageInputClient) Delete(container *SalvageInput) error
func (*SalvageInputClient) List ¶
func (c *SalvageInputClient) List(opts *ListOpts) (*SalvageInputCollection, error)
func (*SalvageInputClient) Update ¶
func (c *SalvageInputClient) Update(existing *SalvageInput, updates interface{}) (*SalvageInput, error)
type SalvageInputCollection ¶
type SalvageInputCollection struct { Collection Data []SalvageInput `json:"data,omitempty"` // contains filtered or unexported fields }
func (*SalvageInputCollection) Next ¶
func (cc *SalvageInputCollection) Next() (*SalvageInputCollection, error)
type SalvageInputOperations ¶
type SalvageInputOperations interface { List(opts *ListOpts) (*SalvageInputCollection, error) Create(opts *SalvageInput) (*SalvageInput, error) Update(existing *SalvageInput, updates interface{}) (*SalvageInput, error) ById(id string) (*SalvageInput, error) Delete(container *SalvageInput) error }
type Schema ¶
type Schema struct { Resource PluralName string `json:"pluralName,omitempty"` ResourceMethods []string `json:"resourceMethods,omitempty"` ResourceFields map[string]Field `json:"resourceFields,omitempty"` ResourceActions map[string]Action `json:"resourceActions,omitempty"` CollectionMethods []string `json:"collectionMethods,omitempty"` CollectionFields map[string]Field `json:"collectionFields,omitempty"` CollectionActions map[string]Action `json:"collectionActions,omitempty"` CollectionFilters map[string]Filter `json:"collectionFilters,omitempty"` IncludeableLinks []string `json:"includeableLinks,omitempty"` }
type Schemas ¶
type Schemas struct { Collection Data []Schema `json:"data,omitempty"` // contains filtered or unexported fields }
type Setting ¶
type Setting struct { Resource `yaml:"-"` Definition SettingDefinition `json:"definition,omitempty" yaml:"definition,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` Value string `json:"value,omitempty" yaml:"value,omitempty"` }
type SettingClient ¶
type SettingClient struct {
// contains filtered or unexported fields
}
func (*SettingClient) Delete ¶
func (c *SettingClient) Delete(container *Setting) error
func (*SettingClient) List ¶
func (c *SettingClient) List(opts *ListOpts) (*SettingCollection, error)
type SettingCollection ¶
type SettingCollection struct { Collection Data []Setting `json:"data,omitempty"` // contains filtered or unexported fields }
func (*SettingCollection) Next ¶
func (cc *SettingCollection) Next() (*SettingCollection, error)
type SettingDefinition ¶
type SettingDefinition struct { Resource `yaml:"-"` Category string `json:"category,omitempty" yaml:"category,omitempty"` Default string `json:"default,omitempty" yaml:"default,omitempty"` Description string `json:"description,omitempty" yaml:"description,omitempty"` DisplayName string `json:"displayName,omitempty" yaml:"display_name,omitempty"` ReadOnly bool `json:"readOnly,omitempty" yaml:"read_only,omitempty"` Required bool `json:"required,omitempty" yaml:"required,omitempty"` }
type SettingDefinitionClient ¶
type SettingDefinitionClient struct {
// contains filtered or unexported fields
}
func (*SettingDefinitionClient) ById ¶
func (c *SettingDefinitionClient) ById(id string) (*SettingDefinition, error)
func (*SettingDefinitionClient) Create ¶
func (c *SettingDefinitionClient) Create(container *SettingDefinition) (*SettingDefinition, error)
func (*SettingDefinitionClient) Delete ¶
func (c *SettingDefinitionClient) Delete(container *SettingDefinition) error
func (*SettingDefinitionClient) List ¶
func (c *SettingDefinitionClient) List(opts *ListOpts) (*SettingDefinitionCollection, error)
func (*SettingDefinitionClient) Update ¶
func (c *SettingDefinitionClient) Update(existing *SettingDefinition, updates interface{}) (*SettingDefinition, error)
type SettingDefinitionCollection ¶
type SettingDefinitionCollection struct { Collection Data []SettingDefinition `json:"data,omitempty"` // contains filtered or unexported fields }
func (*SettingDefinitionCollection) Next ¶
func (cc *SettingDefinitionCollection) Next() (*SettingDefinitionCollection, error)
type SettingDefinitionOperations ¶
type SettingDefinitionOperations interface { List(opts *ListOpts) (*SettingDefinitionCollection, error) Create(opts *SettingDefinition) (*SettingDefinition, error) Update(existing *SettingDefinition, updates interface{}) (*SettingDefinition, error) ById(id string) (*SettingDefinition, error) Delete(container *SettingDefinition) error }
type SettingOperations ¶
type Snapshot ¶
type Snapshot struct { Resource `yaml:"-"` Children map[string]string `json:"children,omitempty" yaml:"children,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` Parent string `json:"parent,omitempty" yaml:"parent,omitempty"` Removed bool `json:"removed,omitempty" yaml:"removed,omitempty"` Size string `json:"size,omitempty" yaml:"size,omitempty"` Usercreated bool `json:"usercreated,omitempty" yaml:"usercreated,omitempty"` }
type SnapshotClient ¶
type SnapshotClient struct {
// contains filtered or unexported fields
}
func (*SnapshotClient) Create ¶
func (c *SnapshotClient) Create(container *Snapshot) (*Snapshot, error)
func (*SnapshotClient) Delete ¶
func (c *SnapshotClient) Delete(container *Snapshot) error
func (*SnapshotClient) List ¶
func (c *SnapshotClient) List(opts *ListOpts) (*SnapshotCollection, error)
type SnapshotCollection ¶
type SnapshotCollection struct { Collection Data []Snapshot `json:"data,omitempty"` // contains filtered or unexported fields }
func (*SnapshotCollection) Next ¶
func (cc *SnapshotCollection) Next() (*SnapshotCollection, error)
type SnapshotInput ¶
type SnapshotInputClient ¶
type SnapshotInputClient struct {
// contains filtered or unexported fields
}
func (*SnapshotInputClient) ById ¶
func (c *SnapshotInputClient) ById(id string) (*SnapshotInput, error)
func (*SnapshotInputClient) Create ¶
func (c *SnapshotInputClient) Create(container *SnapshotInput) (*SnapshotInput, error)
func (*SnapshotInputClient) Delete ¶
func (c *SnapshotInputClient) Delete(container *SnapshotInput) error
func (*SnapshotInputClient) List ¶
func (c *SnapshotInputClient) List(opts *ListOpts) (*SnapshotInputCollection, error)
func (*SnapshotInputClient) Update ¶
func (c *SnapshotInputClient) Update(existing *SnapshotInput, updates interface{}) (*SnapshotInput, error)
type SnapshotInputCollection ¶
type SnapshotInputCollection struct { Collection Data []SnapshotInput `json:"data,omitempty"` // contains filtered or unexported fields }
func (*SnapshotInputCollection) Next ¶
func (cc *SnapshotInputCollection) Next() (*SnapshotInputCollection, error)
type SnapshotInputOperations ¶
type SnapshotInputOperations interface { List(opts *ListOpts) (*SnapshotInputCollection, error) Create(opts *SnapshotInput) (*SnapshotInput, error) Update(existing *SnapshotInput, updates interface{}) (*SnapshotInput, error) ById(id string) (*SnapshotInput, error) Delete(container *SnapshotInput) error }
type SnapshotOperations ¶
type Volume ¶
type Volume struct { Resource `yaml:"-"` BaseImage string `json:"baseImage,omitempty" yaml:"base_image,omitempty"` Conditions map[string]interface{} `json:"conditions,omitempty" yaml:"conditions,omitempty"` Controllers []Controller `json:"controllers,omitempty" yaml:"controllers,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` CurrentImage string `json:"currentImage,omitempty" yaml:"current_image,omitempty"` EngineImage string `json:"engineImage,omitempty" yaml:"engine_image,omitempty"` FromBackup string `json:"fromBackup,omitempty" yaml:"from_backup,omitempty"` Frontend string `json:"frontend,omitempty" yaml:"frontend,omitempty"` MigrationNodeID string `json:"migrationNodeID,omitempty" yaml:"migration_node_id,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` NumberOfReplicas int64 `json:"numberOfReplicas,omitempty" yaml:"number_of_replicas,omitempty"` RecurringJobs []RecurringJob `json:"recurringJobs,omitempty" yaml:"recurring_jobs,omitempty"` Replicas []Replica `json:"replicas,omitempty" yaml:"replicas,omitempty"` Robustness string `json:"robustness,omitempty" yaml:"robustness,omitempty"` Size string `json:"size,omitempty" yaml:"size,omitempty"` StaleReplicaTimeout int64 `json:"staleReplicaTimeout,omitempty" yaml:"stale_replica_timeout,omitempty"` State string `json:"state,omitempty" yaml:"state,omitempty"` }
type VolumeClient ¶
type VolumeClient struct {
// contains filtered or unexported fields
}
func (*VolumeClient) ActionAttach ¶
func (c *VolumeClient) ActionAttach(resource *Volume, input *AttachInput) (*Volume, error)
func (*VolumeClient) ActionDetach ¶
func (c *VolumeClient) ActionDetach(resource *Volume) (*Volume, error)
func (*VolumeClient) ActionReplicaRemove ¶
func (c *VolumeClient) ActionReplicaRemove(resource *Volume, input *ReplicaRemoveInput) (*Volume, error)
func (*VolumeClient) ActionSalvage ¶
func (c *VolumeClient) ActionSalvage(resource *Volume, input *SalvageInput) (*Volume, error)
func (*VolumeClient) ActionSnapshotCreate ¶
func (c *VolumeClient) ActionSnapshotCreate(resource *Volume, input *SnapshotInput) (*Snapshot, error)
func (*VolumeClient) ActionSnapshotDelete ¶
func (c *VolumeClient) ActionSnapshotDelete(resource *Volume, input *SnapshotInput) (*Snapshot, error)
func (*VolumeClient) ActionSnapshotGet ¶
func (c *VolumeClient) ActionSnapshotGet(resource *Volume, input *SnapshotInput) (*Snapshot, error)
func (*VolumeClient) ActionSnapshotRevert ¶
func (c *VolumeClient) ActionSnapshotRevert(resource *Volume, input *SnapshotInput) (*Snapshot, error)
func (*VolumeClient) Delete ¶
func (c *VolumeClient) Delete(container *Volume) error
func (*VolumeClient) List ¶
func (c *VolumeClient) List(opts *ListOpts) (*VolumeCollection, error)
type VolumeCollection ¶
type VolumeCollection struct { Collection Data []Volume `json:"data,omitempty"` // contains filtered or unexported fields }
func (*VolumeCollection) Next ¶
func (cc *VolumeCollection) Next() (*VolumeCollection, error)
type VolumeCondition ¶
type VolumeCondition struct { Resource `yaml:"-"` LastProbeTime string `json:"lastProbeTime,omitempty" yaml:"last_probe_time,omitempty"` LastTransitionTime string `json:"lastTransitionTime,omitempty" yaml:"last_transition_time,omitempty"` Message string `json:"message,omitempty" yaml:"message,omitempty"` Reason string `json:"reason,omitempty" yaml:"reason,omitempty"` Status string `json:"status,omitempty" yaml:"status,omitempty"` }
type VolumeConditionClient ¶
type VolumeConditionClient struct {
// contains filtered or unexported fields
}
func (*VolumeConditionClient) ById ¶
func (c *VolumeConditionClient) ById(id string) (*VolumeCondition, error)
func (*VolumeConditionClient) Create ¶
func (c *VolumeConditionClient) Create(container *VolumeCondition) (*VolumeCondition, error)
func (*VolumeConditionClient) Delete ¶
func (c *VolumeConditionClient) Delete(container *VolumeCondition) error
func (*VolumeConditionClient) List ¶
func (c *VolumeConditionClient) List(opts *ListOpts) (*VolumeConditionCollection, error)
func (*VolumeConditionClient) Update ¶
func (c *VolumeConditionClient) Update(existing *VolumeCondition, updates interface{}) (*VolumeCondition, error)
type VolumeConditionCollection ¶
type VolumeConditionCollection struct { Collection Data []VolumeCondition `json:"data,omitempty"` // contains filtered or unexported fields }
func (*VolumeConditionCollection) Next ¶
func (cc *VolumeConditionCollection) Next() (*VolumeConditionCollection, error)
type VolumeConditionOperations ¶
type VolumeConditionOperations interface { List(opts *ListOpts) (*VolumeConditionCollection, error) Create(opts *VolumeCondition) (*VolumeCondition, error) Update(existing *VolumeCondition, updates interface{}) (*VolumeCondition, error) ById(id string) (*VolumeCondition, error) Delete(container *VolumeCondition) error }
type VolumeOperations ¶
type VolumeOperations interface { List(opts *ListOpts) (*VolumeCollection, error) Create(opts *Volume) (*Volume, error) Update(existing *Volume, updates interface{}) (*Volume, error) ById(id string) (*Volume, error) Delete(container *Volume) error ActionAttach(*Volume, *AttachInput) (*Volume, error) ActionDetach(*Volume) (*Volume, error) ActionReplicaRemove(*Volume, *ReplicaRemoveInput) (*Volume, error) ActionSalvage(*Volume, *SalvageInput) (*Volume, error) ActionSnapshotCreate(*Volume, *SnapshotInput) (*Snapshot, error) ActionSnapshotDelete(*Volume, *SnapshotInput) (*Snapshot, error) ActionSnapshotGet(*Volume, *SnapshotInput) (*Snapshot, error) ActionSnapshotRevert(*Volume, *SnapshotInput) (*Snapshot, error) }
Source Files ¶
- client.go
- common.go
- generated_api_version.go
- generated_attach_input.go
- generated_backup.go
- generated_backup_input.go
- generated_backup_volume.go
- generated_client.go
- generated_controller.go
- generated_disk_condition.go
- generated_disk_info.go
- generated_disk_update.go
- generated_disk_update_input.go
- generated_engine_image.go
- generated_engine_upgrade_input.go
- generated_error.go
- generated_longhorn_condition.go
- generated_node.go
- generated_node_condition.go
- generated_node_input.go
- generated_recurring_input.go
- generated_recurring_job.go
- generated_replica.go
- generated_replica_remove_input.go
- generated_salvage_input.go
- generated_setting.go
- generated_setting_definition.go
- generated_snapshot.go
- generated_snapshot_input.go
- generated_volume.go
- generated_volume_condition.go
- schemas.go
- types.go
Click to show internal directories.
Click to hide internal directories.