Documentation ¶
Index ¶
- type IBMPICloneVolumeClient
- type IBMPIHelperClient
- type IBMPIImageClient
- func (f *IBMPIImageClient) Create(name, imageid string, powerinstanceid string) (*models.Image, error)
- func (f *IBMPIImageClient) Delete(id string, powerinstanceid string) error
- func (f *IBMPIImageClient) Get(id, powerinstanceid string) (*models.Image, error)
- func (f *IBMPIImageClient) GetAll(powerinstanceid string) (*models.Images, error)
- type IBMPIInstanceClient
- func (f *IBMPIInstanceClient) Action(poweractionparams *p_cloud_p_vm_instances.PcloudPvminstancesActionPostParams, ...) (models.Object, error)
- func (f *IBMPIInstanceClient) CaptureInstanceToImageCatalog(id, powerinstanceid string, ...) (models.Object, error)
- func (f *IBMPIInstanceClient) Create(powerdef *p_cloud_p_vm_instances.PcloudPvminstancesPostParams, ...) (*models.PVMInstanceList, *models.PVMInstanceList, *models.PVMInstanceList, ...)
- func (f *IBMPIInstanceClient) CreateClone(id, powerinstanceid string, ...) (*models.PVMInstance, error)
- func (f *IBMPIInstanceClient) CreatePvmSnapShot(id, powerinstanceid string) (*models.SnapshotCreateResponse, error)
- func (f *IBMPIInstanceClient) Delete(id, powerinstanceid string) error
- func (f *IBMPIInstanceClient) Get(id, powerinstanceid string) (*models.PVMInstance, error)
- func (f *IBMPIInstanceClient) PostConsoleURL(id, powerinstanceid string) (models.Object, error)
- func (f *IBMPIInstanceClient) Update(id, powerinstanceid string, ...) (*models.PVMInstanceUpdateResponse, error)
- type IBMPIKeyClient
- type IBMPINetworkClient
- func (f *IBMPINetworkClient) Create(name string, networktype string, cidr string, dnsservers []string, ...) (*models.Network, *models.Network, error)
- func (f *IBMPINetworkClient) CreatePort(id string, powerinstanceid string) (*models.NetworkPort, error)
- func (f *IBMPINetworkClient) Delete(id string, powerinstanceid string) error
- func (f *IBMPINetworkClient) DeletePort(networkid string, powerinstanceid string, portid string) (*models.Object, error)
- func (f *IBMPINetworkClient) Get(id, powerinstanceid string) (*models.Network, error)
- func (f *IBMPINetworkClient) GetAllPort(id string, powerinstanceid string) (*models.NetworkPorts, error)
- func (f *IBMPINetworkClient) GetPort(id string, powerinstanceid string, network_port_id string) (*models.NetworkPort, error)
- func (f *IBMPINetworkClient) GetPublic(cloud_instance_id string) (*models.Networks, error)
- type IBMPISnapshotClient
- func (f *IBMPISnapshotClient) Delete(id string, powerinstanceid string) error
- func (f *IBMPISnapshotClient) Get(id, powerinstanceid string) (*models.Snapshot, error)
- func (f *IBMPISnapshotClient) GetAll(id, powerinstanceid string) (*models.Snapshots, error)
- func (f *IBMPISnapshotClient) Update(id, powerinstanceid string) (models.Object, error)
- type IBMPITenantClient
- type IBMPIVolumeClient
- func (f *IBMPIVolumeClient) Attach(id, volumename string, powerinstanceid string) (models.Object, error)
- func (f *IBMPIVolumeClient) Create(volumename string, volumesize float64, volumetype string, volumeshareable bool, ...) (*models.Volume, error)
- func (f *IBMPIVolumeClient) Delete(id string, powerinstanceid string) error
- func (f *IBMPIVolumeClient) Detach(id, volumename string, powerinstanceid string) (models.Object, error)
- func (f *IBMPIVolumeClient) Get(id, powerinstanceid string) (*models.Volume, error)
- func (f *IBMPIVolumeClient) GetAll(id, cloud_instance_id string) (*models.Volumes, error)
- func (f *IBMPIVolumeClient) SetBootVolume(id, volumename, cloud_instance_id string) (models.Object, error)
- func (f *IBMPIVolumeClient) Update(id, volumename string, volumesize float64, volumeshare bool, ...) (*models.Volume, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBMPICloneVolumeClient ¶ added in v1.0.1
type IBMPICloneVolumeClient struct {
// contains filtered or unexported fields
}
func NewIBMPICloneVolumeClient ¶ added in v1.0.1
func NewIBMPICloneVolumeClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPICloneVolumeClient
NewSnapShotClient ...
func (*IBMPICloneVolumeClient) Create ¶ added in v1.0.1
func (f *IBMPICloneVolumeClient) Create(id, powerinstanceid string) (*models.VolumesCloneResponse, error)
Create a clone volume
type IBMPIHelperClient ¶
type IBMPIHelperClient struct {
// contains filtered or unexported fields
}
func NewIBMPIHelperClient ¶
func NewIBMPIHelperClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIHelperClient
NewPowerImageClient ...
type IBMPIImageClient ¶
type IBMPIImageClient struct {
// contains filtered or unexported fields
}
func NewIBMPIImageClient ¶
func NewIBMPIImageClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIImageClient
NewPowerImageClient ...
func (*IBMPIImageClient) Delete ¶
func (f *IBMPIImageClient) Delete(id string, powerinstanceid string) error
Delete ...
type IBMPIInstanceClient ¶
type IBMPIInstanceClient struct {
// contains filtered or unexported fields
}
func NewIBMPIInstanceClient ¶
func NewIBMPIInstanceClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIInstanceClient
NewIBMPIInstanceClient ...
func (*IBMPIInstanceClient) Action ¶
func (f *IBMPIInstanceClient) Action(poweractionparams *p_cloud_p_vm_instances.PcloudPvminstancesActionPostParams, id, powerinstanceid string) (models.Object, error)
PVM Instances Operations
func (*IBMPIInstanceClient) CaptureInstanceToImageCatalog ¶
func (f *IBMPIInstanceClient) CaptureInstanceToImageCatalog(id, powerinstanceid string, picaptureparams *p_cloud_p_vm_instances.PcloudPvminstancesCapturePostParams) (models.Object, error)
func (*IBMPIInstanceClient) Create ¶
func (f *IBMPIInstanceClient) Create(powerdef *p_cloud_p_vm_instances.PcloudPvminstancesPostParams, powerinstanceid string) (*models.PVMInstanceList, *models.PVMInstanceList, *models.PVMInstanceList, error)
func (*IBMPIInstanceClient) CreateClone ¶ added in v1.0.4
func (f *IBMPIInstanceClient) CreateClone(id, powerinstanceid string, clonebody p_cloud_p_vm_instances.PcloudPvminstancesClonePostParams) (*models.PVMInstance, error)
func (*IBMPIInstanceClient) CreatePvmSnapShot ¶ added in v1.0.1
func (f *IBMPIInstanceClient) CreatePvmSnapShot(id, powerinstanceid string) (*models.SnapshotCreateResponse, error)
func (*IBMPIInstanceClient) Delete ¶
func (f *IBMPIInstanceClient) Delete(id, powerinstanceid string) error
PVM Instances Delete
func (*IBMPIInstanceClient) Get ¶
func (f *IBMPIInstanceClient) Get(id, powerinstanceid string) (*models.PVMInstance, error)
Get information about a single pvm only
func (*IBMPIInstanceClient) PostConsoleURL ¶
func (f *IBMPIInstanceClient) PostConsoleURL(id, powerinstanceid string) (models.Object, error)
func (*IBMPIInstanceClient) Update ¶
func (f *IBMPIInstanceClient) Update(id, powerinstanceid string, powerupdateparams *p_cloud_p_vm_instances.PcloudPvminstancesPutParams) (*models.PVMInstanceUpdateResponse, error)
PVM Instances Update
type IBMPIKeyClient ¶
type IBMPIKeyClient struct {
// contains filtered or unexported fields
}
func NewIBMPIKeyClient ¶
func NewIBMPIKeyClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIKeyClient
type IBMPINetworkClient ¶
type IBMPINetworkClient struct {
// contains filtered or unexported fields
}
func NewIBMPINetworkClient ¶
func NewIBMPINetworkClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPINetworkClient
NewPowerImageClient ...
func (*IBMPINetworkClient) CreatePort ¶
func (f *IBMPINetworkClient) CreatePort(id string, powerinstanceid string) (*models.NetworkPort, error)
func (*IBMPINetworkClient) Delete ¶
func (f *IBMPINetworkClient) Delete(id string, powerinstanceid string) error
Delete ...
func (*IBMPINetworkClient) DeletePort ¶
func (*IBMPINetworkClient) Get ¶
func (f *IBMPINetworkClient) Get(id, powerinstanceid string) (*models.Network, error)
func (*IBMPINetworkClient) GetAllPort ¶
func (f *IBMPINetworkClient) GetAllPort(id string, powerinstanceid string) (*models.NetworkPorts, error)
Get all
func (*IBMPINetworkClient) GetPort ¶ added in v1.0.3
func (f *IBMPINetworkClient) GetPort(id string, powerinstanceid string, network_port_id string) (*models.NetworkPort, error)
type IBMPISnapshotClient ¶ added in v1.0.1
type IBMPISnapshotClient struct {
// contains filtered or unexported fields
}
func NewIBMPISnapshotClient ¶ added in v1.0.1
func NewIBMPISnapshotClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPISnapshotClient
NewSnapShotClient ...
func (*IBMPISnapshotClient) Delete ¶ added in v1.0.1
func (f *IBMPISnapshotClient) Delete(id string, powerinstanceid string) error
Delete ...
func (*IBMPISnapshotClient) Get ¶ added in v1.0.1
func (f *IBMPISnapshotClient) Get(id, powerinstanceid string) (*models.Snapshot, error)
Get information about a single snapshot only
type IBMPITenantClient ¶
type IBMPITenantClient struct {
// contains filtered or unexported fields
}
func NewIBMPITenantClient ¶
func NewIBMPITenantClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPITenantClient
NewPowerImageClient ...
type IBMPIVolumeClient ¶
type IBMPIVolumeClient struct {
// contains filtered or unexported fields
}
func NewIBMPIVolumeClient ¶
func NewIBMPIVolumeClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *IBMPIVolumeClient
NewPowerVolumeClient ...
func (*IBMPIVolumeClient) Delete ¶
func (f *IBMPIVolumeClient) Delete(id string, powerinstanceid string) error
Delete ...
func (*IBMPIVolumeClient) Get ¶
func (f *IBMPIVolumeClient) Get(id, powerinstanceid string) (*models.Volume, error)
Get information about a single volume only
func (*IBMPIVolumeClient) GetAll ¶
func (f *IBMPIVolumeClient) GetAll(id, cloud_instance_id string) (*models.Volumes, error)
func (*IBMPIVolumeClient) SetBootVolume ¶
func (f *IBMPIVolumeClient) SetBootVolume(id, volumename, cloud_instance_id string) (models.Object, error)
Click to show internal directories.
Click to hide internal directories.