Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- func (fake *FakeClient) AttachSecondDiskToInstance(id int, diskSize int) error
- func (fake *FakeClient) AttachSecondDiskToInstanceArgsForCall(i int) (int, int)
- func (fake *FakeClient) AttachSecondDiskToInstanceCallCount() int
- func (fake *FakeClient) AttachSecondDiskToInstanceReturns(result1 error)
- func (fake *FakeClient) AttachSecondDiskToInstanceReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) AuthorizeHostToVolume(instance *datatypes.Virtual_Guest, volumeId int, until time.Time) (bool, error)
- func (fake *FakeClient) AuthorizeHostToVolumeArgsForCall(i int) (*datatypes.Virtual_Guest, int, time.Time)
- func (fake *FakeClient) AuthorizeHostToVolumeCallCount() int
- func (fake *FakeClient) AuthorizeHostToVolumeReturns(result1 bool, result2 error)
- func (fake *FakeClient) AuthorizeHostToVolumeReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeClient) CancelBlockVolume(volumeId int, reason string, immediate bool) (bool, error)
- func (fake *FakeClient) CancelBlockVolumeArgsForCall(i int) (int, string, bool)
- func (fake *FakeClient) CancelBlockVolumeCallCount() int
- func (fake *FakeClient) CancelBlockVolumeReturns(result1 bool, result2 error)
- func (fake *FakeClient) CancelBlockVolumeReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeClient) CancelInstance(id int) error
- func (fake *FakeClient) CancelInstanceArgsForCall(i int) int
- func (fake *FakeClient) CancelInstanceCallCount() int
- func (fake *FakeClient) CancelInstanceReturns(result1 error)
- func (fake *FakeClient) CancelInstanceReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) CreateImageFromExternalSource(imageName string, note string, cluster string, osCode string) (int, error)
- func (fake *FakeClient) CreateImageFromExternalSourceArgsForCall(i int) (string, string, string, string)
- func (fake *FakeClient) CreateImageFromExternalSourceCallCount() int
- func (fake *FakeClient) CreateImageFromExternalSourceReturns(result1 int, result2 error)
- func (fake *FakeClient) CreateImageFromExternalSourceReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeClient) CreateInstance(template *datatypes.Virtual_Guest, userData *registry.SoftlayerUserData) (*datatypes.Virtual_Guest, error)
- func (fake *FakeClient) CreateInstanceArgsForCall(i int) (*datatypes.Virtual_Guest, *registry.SoftlayerUserData)
- func (fake *FakeClient) CreateInstanceCallCount() int
- func (fake *FakeClient) CreateInstanceFromVPS(template *datatypes.Virtual_Guest, stemcellID int, sshKeys []int, ...) (*datatypes.Virtual_Guest, error)
- func (fake *FakeClient) CreateInstanceFromVPSArgsForCall(i int) (*datatypes.Virtual_Guest, int, []int, *registry.SoftlayerUserData)
- func (fake *FakeClient) CreateInstanceFromVPSCallCount() int
- func (fake *FakeClient) CreateInstanceFromVPSReturns(result1 *datatypes.Virtual_Guest, result2 error)
- func (fake *FakeClient) CreateInstanceFromVPSReturnsOnCall(i int, result1 *datatypes.Virtual_Guest, result2 error)
- func (fake *FakeClient) CreateInstanceReturns(result1 *datatypes.Virtual_Guest, result2 error)
- func (fake *FakeClient) CreateInstanceReturnsOnCall(i int, result1 *datatypes.Virtual_Guest, result2 error)
- func (fake *FakeClient) CreateSnapshot(volumeId int, notes string) (datatypes.Network_Storage, error)
- func (fake *FakeClient) CreateSnapshotArgsForCall(i int) (int, string)
- func (fake *FakeClient) CreateSnapshotCallCount() int
- func (fake *FakeClient) CreateSnapshotReturns(result1 datatypes.Network_Storage, result2 error)
- func (fake *FakeClient) CreateSnapshotReturnsOnCall(i int, result1 datatypes.Network_Storage, result2 error)
- func (fake *FakeClient) CreateSshKey(label *string, key *string, fingerPrint *string) (*datatypes.Security_Ssh_Key, error)
- func (fake *FakeClient) CreateSshKeyArgsForCall(i int) (*string, *string, *string)
- func (fake *FakeClient) CreateSshKeyCallCount() int
- func (fake *FakeClient) CreateSshKeyReturns(result1 *datatypes.Security_Ssh_Key, result2 error)
- func (fake *FakeClient) CreateSshKeyReturnsOnCall(i int, result1 *datatypes.Security_Ssh_Key, result2 error)
- func (fake *FakeClient) CreateSwiftContainer(containerName string) error
- func (fake *FakeClient) CreateSwiftContainerArgsForCall(i int) string
- func (fake *FakeClient) CreateSwiftContainerCallCount() int
- func (fake *FakeClient) CreateSwiftContainerReturns(result1 error)
- func (fake *FakeClient) CreateSwiftContainerReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) CreateTicket(ticketSubject *string, ticketTitle *string, contents *string, ...) error
- func (fake *FakeClient) CreateTicketArgsForCall(i int) (*string, *string, *string, *int, *string)
- func (fake *FakeClient) CreateTicketCallCount() int
- func (fake *FakeClient) CreateTicketReturns(result1 error)
- func (fake *FakeClient) CreateTicketReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) CreateVolume(location string, size int, iops int, snapshotSpace int) (*datatypes.Network_Storage, error)
- func (fake *FakeClient) CreateVolumeArgsForCall(i int) (string, int, int, int)
- func (fake *FakeClient) CreateVolumeCallCount() int
- func (fake *FakeClient) CreateVolumeReturns(result1 *datatypes.Network_Storage, result2 error)
- func (fake *FakeClient) CreateVolumeReturnsOnCall(i int, result1 *datatypes.Network_Storage, result2 error)
- func (fake *FakeClient) DeauthorizeHostToVolume(instance *datatypes.Virtual_Guest, volumeId int, until time.Time) (bool, error)
- func (fake *FakeClient) DeauthorizeHostToVolumeArgsForCall(i int) (*datatypes.Virtual_Guest, int, time.Time)
- func (fake *FakeClient) DeauthorizeHostToVolumeCallCount() int
- func (fake *FakeClient) DeauthorizeHostToVolumeReturns(result1 bool, result2 error)
- func (fake *FakeClient) DeauthorizeHostToVolumeReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeClient) DeleteInstanceFromVPS(id int) error
- func (fake *FakeClient) DeleteInstanceFromVPSArgsForCall(i int) int
- func (fake *FakeClient) DeleteInstanceFromVPSCallCount() int
- func (fake *FakeClient) DeleteInstanceFromVPSReturns(result1 error)
- func (fake *FakeClient) DeleteInstanceFromVPSReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) DeleteSnapshot(snapshotId int) error
- func (fake *FakeClient) DeleteSnapshotArgsForCall(i int) int
- func (fake *FakeClient) DeleteSnapshotCallCount() int
- func (fake *FakeClient) DeleteSnapshotReturns(result1 error)
- func (fake *FakeClient) DeleteSnapshotReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) DeleteSshKey(id int) (bool, error)
- func (fake *FakeClient) DeleteSshKeyArgsForCall(i int) int
- func (fake *FakeClient) DeleteSshKeyCallCount() int
- func (fake *FakeClient) DeleteSshKeyReturns(result1 bool, result2 error)
- func (fake *FakeClient) DeleteSshKeyReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeClient) DeleteSwiftContainer(containerName string) error
- func (fake *FakeClient) DeleteSwiftContainerArgsForCall(i int) string
- func (fake *FakeClient) DeleteSwiftContainerCallCount() int
- func (fake *FakeClient) DeleteSwiftContainerReturns(result1 error)
- func (fake *FakeClient) DeleteSwiftContainerReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) DeleteSwiftLargeObject(containerName string, objectFileName string) error
- func (fake *FakeClient) DeleteSwiftLargeObjectArgsForCall(i int) (string, string)
- func (fake *FakeClient) DeleteSwiftLargeObjectCallCount() int
- func (fake *FakeClient) DeleteSwiftLargeObjectReturns(result1 error)
- func (fake *FakeClient) DeleteSwiftLargeObjectReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) EditInstance(id int, template *datatypes.Virtual_Guest) (bool, error)
- func (fake *FakeClient) EditInstanceArgsForCall(i int) (int, *datatypes.Virtual_Guest)
- func (fake *FakeClient) EditInstanceCallCount() int
- func (fake *FakeClient) EditInstanceReturns(result1 bool, result2 error)
- func (fake *FakeClient) EditInstanceReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeClient) GetAllowedHostCredential(id int) (*datatypes.Network_Storage_Allowed_Host, bool, error)
- func (fake *FakeClient) GetAllowedHostCredentialArgsForCall(i int) int
- func (fake *FakeClient) GetAllowedHostCredentialCallCount() int
- func (fake *FakeClient) GetAllowedHostCredentialReturns(result1 *datatypes.Network_Storage_Allowed_Host, result2 bool, result3 error)
- func (fake *FakeClient) GetAllowedHostCredentialReturnsOnCall(i int, result1 *datatypes.Network_Storage_Allowed_Host, result2 bool, ...)
- func (fake *FakeClient) GetAllowedNetworkStorage(id int) ([]string, bool, error)
- func (fake *FakeClient) GetAllowedNetworkStorageArgsForCall(i int) int
- func (fake *FakeClient) GetAllowedNetworkStorageCallCount() int
- func (fake *FakeClient) GetAllowedNetworkStorageReturns(result1 []string, result2 bool, result3 error)
- func (fake *FakeClient) GetAllowedNetworkStorageReturnsOnCall(i int, result1 []string, result2 bool, result3 error)
- func (fake *FakeClient) GetBlockVolumeDetails(volumeId int, mask string) (*datatypes.Network_Storage, bool, error)
- func (fake *FakeClient) GetBlockVolumeDetailsArgsForCall(i int) (int, string)
- func (fake *FakeClient) GetBlockVolumeDetailsBySoftLayerAccount(volumeId int, mask string) (datatypes.Network_Storage, error)
- func (fake *FakeClient) GetBlockVolumeDetailsBySoftLayerAccountArgsForCall(i int) (int, string)
- func (fake *FakeClient) GetBlockVolumeDetailsBySoftLayerAccountCallCount() int
- func (fake *FakeClient) GetBlockVolumeDetailsBySoftLayerAccountReturns(result1 datatypes.Network_Storage, result2 error)
- func (fake *FakeClient) GetBlockVolumeDetailsBySoftLayerAccountReturnsOnCall(i int, result1 datatypes.Network_Storage, result2 error)
- func (fake *FakeClient) GetBlockVolumeDetailsCallCount() int
- func (fake *FakeClient) GetBlockVolumeDetailsReturns(result1 *datatypes.Network_Storage, result2 bool, result3 error)
- func (fake *FakeClient) GetBlockVolumeDetailsReturnsOnCall(i int, result1 *datatypes.Network_Storage, result2 bool, result3 error)
- func (fake *FakeClient) GetImage(imageId int, mask string) (*datatypes.Virtual_Guest_Block_Device_Template_Group, bool, error)
- func (fake *FakeClient) GetImageArgsForCall(i int) (int, string)
- func (fake *FakeClient) GetImageCallCount() int
- func (fake *FakeClient) GetImageReturns(result1 *datatypes.Virtual_Guest_Block_Device_Template_Group, result2 bool, ...)
- func (fake *FakeClient) GetImageReturnsOnCall(i int, result1 *datatypes.Virtual_Guest_Block_Device_Template_Group, ...)
- func (fake *FakeClient) GetInstance(id int, mask string) (*datatypes.Virtual_Guest, bool, error)
- func (fake *FakeClient) GetInstanceAllowedHost(id int) (*datatypes.Network_Storage_Allowed_Host, bool, error)
- func (fake *FakeClient) GetInstanceAllowedHostArgsForCall(i int) int
- func (fake *FakeClient) GetInstanceAllowedHostCallCount() int
- func (fake *FakeClient) GetInstanceAllowedHostReturns(result1 *datatypes.Network_Storage_Allowed_Host, result2 bool, result3 error)
- func (fake *FakeClient) GetInstanceAllowedHostReturnsOnCall(i int, result1 *datatypes.Network_Storage_Allowed_Host, result2 bool, ...)
- func (fake *FakeClient) GetInstanceArgsForCall(i int) (int, string)
- func (fake *FakeClient) GetInstanceByPrimaryBackendIpAddress(ip string) (*datatypes.Virtual_Guest, bool, error)
- func (fake *FakeClient) GetInstanceByPrimaryBackendIpAddressArgsForCall(i int) string
- func (fake *FakeClient) GetInstanceByPrimaryBackendIpAddressCallCount() int
- func (fake *FakeClient) GetInstanceByPrimaryBackendIpAddressReturns(result1 *datatypes.Virtual_Guest, result2 bool, result3 error)
- func (fake *FakeClient) GetInstanceByPrimaryBackendIpAddressReturnsOnCall(i int, result1 *datatypes.Virtual_Guest, result2 bool, result3 error)
- func (fake *FakeClient) GetInstanceByPrimaryIpAddress(ip string) (*datatypes.Virtual_Guest, bool, error)
- func (fake *FakeClient) GetInstanceByPrimaryIpAddressArgsForCall(i int) string
- func (fake *FakeClient) GetInstanceByPrimaryIpAddressCallCount() int
- func (fake *FakeClient) GetInstanceByPrimaryIpAddressReturns(result1 *datatypes.Virtual_Guest, result2 bool, result3 error)
- func (fake *FakeClient) GetInstanceByPrimaryIpAddressReturnsOnCall(i int, result1 *datatypes.Virtual_Guest, result2 bool, result3 error)
- func (fake *FakeClient) GetInstanceCallCount() int
- func (fake *FakeClient) GetInstanceReturns(result1 *datatypes.Virtual_Guest, result2 bool, result3 error)
- func (fake *FakeClient) GetInstanceReturnsOnCall(i int, result1 *datatypes.Virtual_Guest, result2 bool, result3 error)
- func (fake *FakeClient) GetNetworkStorageTarget(volumeId int, mask string) (string, bool, error)
- func (fake *FakeClient) GetNetworkStorageTargetArgsForCall(i int) (int, string)
- func (fake *FakeClient) GetNetworkStorageTargetCallCount() int
- func (fake *FakeClient) GetNetworkStorageTargetReturns(result1 string, result2 bool, result3 error)
- func (fake *FakeClient) GetNetworkStorageTargetReturnsOnCall(i int, result1 string, result2 bool, result3 error)
- func (fake *FakeClient) GetSubnet(id int, mask string) (*datatypes.Network_Subnet, bool, error)
- func (fake *FakeClient) GetSubnetArgsForCall(i int) (int, string)
- func (fake *FakeClient) GetSubnetCallCount() int
- func (fake *FakeClient) GetSubnetReturns(result1 *datatypes.Network_Subnet, result2 bool, result3 error)
- func (fake *FakeClient) GetSubnetReturnsOnCall(i int, result1 *datatypes.Network_Subnet, result2 bool, result3 error)
- func (fake *FakeClient) GetVlan(id int, mask string) (*datatypes.Network_Vlan, bool, error)
- func (fake *FakeClient) GetVlanArgsForCall(i int) (int, string)
- func (fake *FakeClient) GetVlanCallCount() int
- func (fake *FakeClient) GetVlanReturns(result1 *datatypes.Network_Vlan, result2 bool, result3 error)
- func (fake *FakeClient) GetVlanReturnsOnCall(i int, result1 *datatypes.Network_Vlan, result2 bool, result3 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) OrderBlockVolume(storageType string, location string, size int, iops int) (*datatypes.Container_Product_Order_Receipt, error)
- func (fake *FakeClient) OrderBlockVolume2(storageType string, location string, size int, iops int, snapshotSpace int) (*datatypes.Container_Product_Order_Receipt, error)
- func (fake *FakeClient) OrderBlockVolume2ArgsForCall(i int) (string, string, int, int, int)
- func (fake *FakeClient) OrderBlockVolume2CallCount() int
- func (fake *FakeClient) OrderBlockVolume2Returns(result1 *datatypes.Container_Product_Order_Receipt, result2 error)
- func (fake *FakeClient) OrderBlockVolume2ReturnsOnCall(i int, result1 *datatypes.Container_Product_Order_Receipt, result2 error)
- func (fake *FakeClient) OrderBlockVolumeArgsForCall(i int) (string, string, int, int)
- func (fake *FakeClient) OrderBlockVolumeCallCount() int
- func (fake *FakeClient) OrderBlockVolumeReturns(result1 *datatypes.Container_Product_Order_Receipt, result2 error)
- func (fake *FakeClient) OrderBlockVolumeReturnsOnCall(i int, result1 *datatypes.Container_Product_Order_Receipt, result2 error)
- func (fake *FakeClient) RebootInstance(id int, soft bool, hard bool) error
- func (fake *FakeClient) RebootInstanceArgsForCall(i int) (int, bool, bool)
- func (fake *FakeClient) RebootInstanceCallCount() int
- func (fake *FakeClient) RebootInstanceReturns(result1 error)
- func (fake *FakeClient) RebootInstanceReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) ReloadInstance(id int, stemcellId int, sshKeyIds []int, hostname string, domain string, ...) error
- func (fake *FakeClient) ReloadInstanceArgsForCall(i int) (int, int, []int, string, string, *registry.SoftlayerUserData)
- func (fake *FakeClient) ReloadInstanceCallCount() int
- func (fake *FakeClient) ReloadInstanceReturns(result1 error)
- func (fake *FakeClient) ReloadInstanceReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) SetInstanceMetadata(id int, encodedUserData *string) (bool, error)
- func (fake *FakeClient) SetInstanceMetadataArgsForCall(i int) (int, *string)
- func (fake *FakeClient) SetInstanceMetadataCallCount() int
- func (fake *FakeClient) SetInstanceMetadataReturns(result1 bool, result2 error)
- func (fake *FakeClient) SetInstanceMetadataReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeClient) SetNotes(id int, notes string) (bool, error)
- func (fake *FakeClient) SetNotesArgsForCall(i int) (int, string)
- func (fake *FakeClient) SetNotesCallCount() int
- func (fake *FakeClient) SetNotesReturns(result1 bool, result2 error)
- func (fake *FakeClient) SetNotesReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeClient) SetTags(id int, tags string) (bool, error)
- func (fake *FakeClient) SetTagsArgsForCall(i int) (int, string)
- func (fake *FakeClient) SetTagsCallCount() int
- func (fake *FakeClient) SetTagsReturns(result1 bool, result2 error)
- func (fake *FakeClient) SetTagsReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeClient) UpgradeInstance(id int, cpu int, memory int, network int, privateCPU bool, dedicatedHost bool, ...) (int, error)
- func (fake *FakeClient) UpgradeInstanceArgsForCall(i int) (int, int, int, int, bool, bool, int)
- func (fake *FakeClient) UpgradeInstanceCallCount() int
- func (fake *FakeClient) UpgradeInstanceConfig(id int, cpu int, memory int, network int, privateCPU bool, dedicatedHost bool) error
- func (fake *FakeClient) UpgradeInstanceConfigArgsForCall(i int) (int, int, int, int, bool, bool)
- func (fake *FakeClient) UpgradeInstanceConfigCallCount() int
- func (fake *FakeClient) UpgradeInstanceConfigReturns(result1 error)
- func (fake *FakeClient) UpgradeInstanceConfigReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) UpgradeInstanceReturns(result1 int, result2 error)
- func (fake *FakeClient) UpgradeInstanceReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeClient) UploadSwiftLargeObject(containerName string, objectName string, objectFile string) error
- func (fake *FakeClient) UploadSwiftLargeObjectArgsForCall(i int) (string, string, string)
- func (fake *FakeClient) UploadSwiftLargeObjectCallCount() int
- func (fake *FakeClient) UploadSwiftLargeObjectReturns(result1 error)
- func (fake *FakeClient) UploadSwiftLargeObjectReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) WaitInstanceHasActiveTransaction(id int, until time.Time) error
- func (fake *FakeClient) WaitInstanceHasActiveTransactionArgsForCall(i int) (int, time.Time)
- func (fake *FakeClient) WaitInstanceHasActiveTransactionCallCount() int
- func (fake *FakeClient) WaitInstanceHasActiveTransactionReturns(result1 error)
- func (fake *FakeClient) WaitInstanceHasActiveTransactionReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) WaitInstanceHasNoneActiveTransaction(id int, until time.Time) error
- func (fake *FakeClient) WaitInstanceHasNoneActiveTransactionArgsForCall(i int) (int, time.Time)
- func (fake *FakeClient) WaitInstanceHasNoneActiveTransactionCallCount() int
- func (fake *FakeClient) WaitInstanceHasNoneActiveTransactionReturns(result1 error)
- func (fake *FakeClient) WaitInstanceHasNoneActiveTransactionReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) WaitInstanceUntilReady(id int, until time.Time) error
- func (fake *FakeClient) WaitInstanceUntilReadyArgsForCall(i int) (int, time.Time)
- func (fake *FakeClient) WaitInstanceUntilReadyCallCount() int
- func (fake *FakeClient) WaitInstanceUntilReadyReturns(result1 error)
- func (fake *FakeClient) WaitInstanceUntilReadyReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) WaitInstanceUntilReadyWithTicket(id int, until time.Time) error
- func (fake *FakeClient) WaitInstanceUntilReadyWithTicketArgsForCall(i int) (int, time.Time)
- func (fake *FakeClient) WaitInstanceUntilReadyWithTicketCallCount() int
- func (fake *FakeClient) WaitInstanceUntilReadyWithTicketReturns(result1 error)
- func (fake *FakeClient) WaitInstanceUntilReadyWithTicketReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) WaitVolumeProvisioningWithOrderId(orderId int, until time.Time) (*datatypes.Network_Storage, error)
- func (fake *FakeClient) WaitVolumeProvisioningWithOrderIdArgsForCall(i int) (int, time.Time)
- func (fake *FakeClient) WaitVolumeProvisioningWithOrderIdCallCount() int
- func (fake *FakeClient) WaitVolumeProvisioningWithOrderIdReturns(result1 *datatypes.Network_Storage, result2 error)
- func (fake *FakeClient) WaitVolumeProvisioningWithOrderIdReturnsOnCall(i int, result1 *datatypes.Network_Storage, result2 error)
- type FakeClientFactory
- func (fake *FakeClientFactory) CreateClient() client.Client
- func (fake *FakeClientFactory) CreateClientCallCount() int
- func (fake *FakeClientFactory) CreateClientReturns(result1 client.Client)
- func (fake *FakeClientFactory) CreateClientReturnsOnCall(i int, result1 client.Client)
- func (fake *FakeClientFactory) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { CancelInstanceStub func(id int) error CreateInstanceStub func(template *datatypes.Virtual_Guest, userData *registry.SoftlayerUserData) (*datatypes.Virtual_Guest, error) EditInstanceStub func(id int, template *datatypes.Virtual_Guest) (bool, error) GetInstanceStub func(id int, mask string) (*datatypes.Virtual_Guest, bool, error) GetInstanceByPrimaryBackendIpAddressStub func(ip string) (*datatypes.Virtual_Guest, bool, error) GetInstanceByPrimaryIpAddressStub func(ip string) (*datatypes.Virtual_Guest, bool, error) RebootInstanceStub func(id int, soft bool, hard bool) error ReloadInstanceStub func(id int, stemcellId int, sshKeyIds []int, hostname string, domain string, userData *registry.SoftlayerUserData) error UpgradeInstanceConfigStub func(id int, cpu int, memory int, network int, privateCPU bool, dedicatedHost bool) error UpgradeInstanceStub func(id int, cpu int, memory int, network int, privateCPU bool, dedicatedHost bool, secondDiskSize int) (int, error) WaitInstanceUntilReadyStub func(id int, until time.Time) error WaitInstanceUntilReadyWithTicketStub func(id int, until time.Time) error WaitInstanceHasActiveTransactionStub func(id int, until time.Time) error WaitInstanceHasNoneActiveTransactionStub func(id int, until time.Time) error WaitVolumeProvisioningWithOrderIdStub func(orderId int, until time.Time) (*datatypes.Network_Storage, error) SetTagsStub func(id int, tags string) (bool, error) SetInstanceMetadataStub func(id int, encodedUserData *string) (bool, error) AttachSecondDiskToInstanceStub func(id int, diskSize int) error GetInstanceAllowedHostStub func(id int) (*datatypes.Network_Storage_Allowed_Host, bool, error) AuthorizeHostToVolumeStub func(instance *datatypes.Virtual_Guest, volumeId int, until time.Time) (bool, error) CreateVolumeStub func(location string, size int, iops int, snapshotSpace int) (*datatypes.Network_Storage, error) OrderBlockVolumeStub func(storageType string, location string, size int, iops int) (*datatypes.Container_Product_Order_Receipt, error) OrderBlockVolume2Stub func(storageType string, location string, size int, iops int, snapshotSpace int) (*datatypes.Container_Product_Order_Receipt, error) CancelBlockVolumeStub func(volumeId int, reason string, immediate bool) (bool, error) GetBlockVolumeDetailsStub func(volumeId int, mask string) (*datatypes.Network_Storage, bool, error) GetBlockVolumeDetailsBySoftLayerAccountStub func(volumeId int, mask string) (datatypes.Network_Storage, error) GetNetworkStorageTargetStub func(volumeId int, mask string) (string, bool, error) SetNotesStub func(id int, notes string) (bool, error) GetImageStub func(imageId int, mask string) (*datatypes.Virtual_Guest_Block_Device_Template_Group, bool, error) GetVlanStub func(id int, mask string) (*datatypes.Network_Vlan, bool, error) GetSubnetStub func(id int, mask string) (*datatypes.Network_Subnet, bool, error) GetAllowedHostCredentialStub func(id int) (*datatypes.Network_Storage_Allowed_Host, bool, error) GetAllowedNetworkStorageStub func(id int) ([]string, bool, error) CreateSshKeyStub func(label *string, key *string, fingerPrint *string) (*datatypes.Security_Ssh_Key, error) DeleteSshKeyStub func(id int) (bool, error) CreateInstanceFromVPSStub func(template *datatypes.Virtual_Guest, stemcellID int, sshKeys []int, userData *registry.SoftlayerUserData) (*datatypes.Virtual_Guest, error) DeleteInstanceFromVPSStub func(id int) error CreateSnapshotStub func(volumeId int, notes string) (datatypes.Network_Storage, error) DeleteSnapshotStub func(snapshotId int) error CreateTicketStub func(ticketSubject *string, ticketTitle *string, contents *string, attachmentId *int, attachmentType *string) error CreateSwiftContainerStub func(containerName string) error DeleteSwiftContainerStub func(containerName string) error UploadSwiftLargeObjectStub func(containerName string, objectName string, objectFile string) error DeleteSwiftLargeObjectStub func(containerName string, objectFileName string) error CreateImageFromExternalSourceStub func(imageName string, note string, cluster string, osCode string) (int, error) // contains filtered or unexported fields }
func (*FakeClient) AttachSecondDiskToInstance ¶
func (fake *FakeClient) AttachSecondDiskToInstance(id int, diskSize int) error
func (*FakeClient) AttachSecondDiskToInstanceArgsForCall ¶
func (fake *FakeClient) AttachSecondDiskToInstanceArgsForCall(i int) (int, int)
func (*FakeClient) AttachSecondDiskToInstanceCallCount ¶
func (fake *FakeClient) AttachSecondDiskToInstanceCallCount() int
func (*FakeClient) AttachSecondDiskToInstanceReturns ¶
func (fake *FakeClient) AttachSecondDiskToInstanceReturns(result1 error)
func (*FakeClient) AttachSecondDiskToInstanceReturnsOnCall ¶
func (fake *FakeClient) AttachSecondDiskToInstanceReturnsOnCall(i int, result1 error)
func (*FakeClient) AuthorizeHostToVolume ¶
func (fake *FakeClient) AuthorizeHostToVolume(instance *datatypes.Virtual_Guest, volumeId int, until time.Time) (bool, error)
func (*FakeClient) AuthorizeHostToVolumeArgsForCall ¶
func (fake *FakeClient) AuthorizeHostToVolumeArgsForCall(i int) (*datatypes.Virtual_Guest, int, time.Time)
func (*FakeClient) AuthorizeHostToVolumeCallCount ¶
func (fake *FakeClient) AuthorizeHostToVolumeCallCount() int
func (*FakeClient) AuthorizeHostToVolumeReturns ¶
func (fake *FakeClient) AuthorizeHostToVolumeReturns(result1 bool, result2 error)
func (*FakeClient) AuthorizeHostToVolumeReturnsOnCall ¶
func (fake *FakeClient) AuthorizeHostToVolumeReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeClient) CancelBlockVolume ¶
func (*FakeClient) CancelBlockVolumeArgsForCall ¶
func (fake *FakeClient) CancelBlockVolumeArgsForCall(i int) (int, string, bool)
func (*FakeClient) CancelBlockVolumeCallCount ¶
func (fake *FakeClient) CancelBlockVolumeCallCount() int
func (*FakeClient) CancelBlockVolumeReturns ¶
func (fake *FakeClient) CancelBlockVolumeReturns(result1 bool, result2 error)
func (*FakeClient) CancelBlockVolumeReturnsOnCall ¶
func (fake *FakeClient) CancelBlockVolumeReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeClient) CancelInstance ¶
func (fake *FakeClient) CancelInstance(id int) error
func (*FakeClient) CancelInstanceArgsForCall ¶
func (fake *FakeClient) CancelInstanceArgsForCall(i int) int
func (*FakeClient) CancelInstanceCallCount ¶
func (fake *FakeClient) CancelInstanceCallCount() int
func (*FakeClient) CancelInstanceReturns ¶
func (fake *FakeClient) CancelInstanceReturns(result1 error)
func (*FakeClient) CancelInstanceReturnsOnCall ¶
func (fake *FakeClient) CancelInstanceReturnsOnCall(i int, result1 error)
func (*FakeClient) CreateImageFromExternalSource ¶
func (*FakeClient) CreateImageFromExternalSourceArgsForCall ¶
func (*FakeClient) CreateImageFromExternalSourceCallCount ¶
func (fake *FakeClient) CreateImageFromExternalSourceCallCount() int
func (*FakeClient) CreateImageFromExternalSourceReturns ¶
func (fake *FakeClient) CreateImageFromExternalSourceReturns(result1 int, result2 error)
func (*FakeClient) CreateImageFromExternalSourceReturnsOnCall ¶
func (fake *FakeClient) CreateImageFromExternalSourceReturnsOnCall(i int, result1 int, result2 error)
func (*FakeClient) CreateInstance ¶
func (fake *FakeClient) CreateInstance(template *datatypes.Virtual_Guest, userData *registry.SoftlayerUserData) (*datatypes.Virtual_Guest, error)
func (*FakeClient) CreateInstanceArgsForCall ¶
func (fake *FakeClient) CreateInstanceArgsForCall(i int) (*datatypes.Virtual_Guest, *registry.SoftlayerUserData)
func (*FakeClient) CreateInstanceCallCount ¶
func (fake *FakeClient) CreateInstanceCallCount() int
func (*FakeClient) CreateInstanceFromVPS ¶
func (fake *FakeClient) CreateInstanceFromVPS(template *datatypes.Virtual_Guest, stemcellID int, sshKeys []int, userData *registry.SoftlayerUserData) (*datatypes.Virtual_Guest, error)
func (*FakeClient) CreateInstanceFromVPSArgsForCall ¶
func (fake *FakeClient) CreateInstanceFromVPSArgsForCall(i int) (*datatypes.Virtual_Guest, int, []int, *registry.SoftlayerUserData)
func (*FakeClient) CreateInstanceFromVPSCallCount ¶
func (fake *FakeClient) CreateInstanceFromVPSCallCount() int
func (*FakeClient) CreateInstanceFromVPSReturns ¶
func (fake *FakeClient) CreateInstanceFromVPSReturns(result1 *datatypes.Virtual_Guest, result2 error)
func (*FakeClient) CreateInstanceFromVPSReturnsOnCall ¶
func (fake *FakeClient) CreateInstanceFromVPSReturnsOnCall(i int, result1 *datatypes.Virtual_Guest, result2 error)
func (*FakeClient) CreateInstanceReturns ¶
func (fake *FakeClient) CreateInstanceReturns(result1 *datatypes.Virtual_Guest, result2 error)
func (*FakeClient) CreateInstanceReturnsOnCall ¶
func (fake *FakeClient) CreateInstanceReturnsOnCall(i int, result1 *datatypes.Virtual_Guest, result2 error)
func (*FakeClient) CreateSnapshot ¶
func (fake *FakeClient) CreateSnapshot(volumeId int, notes string) (datatypes.Network_Storage, error)
func (*FakeClient) CreateSnapshotArgsForCall ¶
func (fake *FakeClient) CreateSnapshotArgsForCall(i int) (int, string)
func (*FakeClient) CreateSnapshotCallCount ¶
func (fake *FakeClient) CreateSnapshotCallCount() int
func (*FakeClient) CreateSnapshotReturns ¶
func (fake *FakeClient) CreateSnapshotReturns(result1 datatypes.Network_Storage, result2 error)
func (*FakeClient) CreateSnapshotReturnsOnCall ¶
func (fake *FakeClient) CreateSnapshotReturnsOnCall(i int, result1 datatypes.Network_Storage, result2 error)
func (*FakeClient) CreateSshKey ¶
func (fake *FakeClient) CreateSshKey(label *string, key *string, fingerPrint *string) (*datatypes.Security_Ssh_Key, error)
func (*FakeClient) CreateSshKeyArgsForCall ¶
func (fake *FakeClient) CreateSshKeyArgsForCall(i int) (*string, *string, *string)
func (*FakeClient) CreateSshKeyCallCount ¶
func (fake *FakeClient) CreateSshKeyCallCount() int
func (*FakeClient) CreateSshKeyReturns ¶
func (fake *FakeClient) CreateSshKeyReturns(result1 *datatypes.Security_Ssh_Key, result2 error)
func (*FakeClient) CreateSshKeyReturnsOnCall ¶
func (fake *FakeClient) CreateSshKeyReturnsOnCall(i int, result1 *datatypes.Security_Ssh_Key, result2 error)
func (*FakeClient) CreateSwiftContainer ¶
func (fake *FakeClient) CreateSwiftContainer(containerName string) error
func (*FakeClient) CreateSwiftContainerArgsForCall ¶
func (fake *FakeClient) CreateSwiftContainerArgsForCall(i int) string
func (*FakeClient) CreateSwiftContainerCallCount ¶
func (fake *FakeClient) CreateSwiftContainerCallCount() int
func (*FakeClient) CreateSwiftContainerReturns ¶
func (fake *FakeClient) CreateSwiftContainerReturns(result1 error)
func (*FakeClient) CreateSwiftContainerReturnsOnCall ¶
func (fake *FakeClient) CreateSwiftContainerReturnsOnCall(i int, result1 error)
func (*FakeClient) CreateTicket ¶
func (*FakeClient) CreateTicketArgsForCall ¶
func (*FakeClient) CreateTicketCallCount ¶
func (fake *FakeClient) CreateTicketCallCount() int
func (*FakeClient) CreateTicketReturns ¶
func (fake *FakeClient) CreateTicketReturns(result1 error)
func (*FakeClient) CreateTicketReturnsOnCall ¶
func (fake *FakeClient) CreateTicketReturnsOnCall(i int, result1 error)
func (*FakeClient) CreateVolume ¶
func (fake *FakeClient) CreateVolume(location string, size int, iops int, snapshotSpace int) (*datatypes.Network_Storage, error)
func (*FakeClient) CreateVolumeArgsForCall ¶
func (*FakeClient) CreateVolumeCallCount ¶
func (fake *FakeClient) CreateVolumeCallCount() int
func (*FakeClient) CreateVolumeReturns ¶
func (fake *FakeClient) CreateVolumeReturns(result1 *datatypes.Network_Storage, result2 error)
func (*FakeClient) CreateVolumeReturnsOnCall ¶
func (fake *FakeClient) CreateVolumeReturnsOnCall(i int, result1 *datatypes.Network_Storage, result2 error)
func (*FakeClient) DeauthorizeHostToVolume ¶
func (fake *FakeClient) DeauthorizeHostToVolume(instance *datatypes.Virtual_Guest, volumeId int, until time.Time) (bool, error)
func (*FakeClient) DeauthorizeHostToVolumeArgsForCall ¶
func (fake *FakeClient) DeauthorizeHostToVolumeArgsForCall(i int) (*datatypes.Virtual_Guest, int, time.Time)
func (*FakeClient) DeauthorizeHostToVolumeCallCount ¶
func (fake *FakeClient) DeauthorizeHostToVolumeCallCount() int
func (*FakeClient) DeauthorizeHostToVolumeReturns ¶
func (fake *FakeClient) DeauthorizeHostToVolumeReturns(result1 bool, result2 error)
func (*FakeClient) DeauthorizeHostToVolumeReturnsOnCall ¶
func (fake *FakeClient) DeauthorizeHostToVolumeReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeClient) DeleteInstanceFromVPS ¶
func (fake *FakeClient) DeleteInstanceFromVPS(id int) error
func (*FakeClient) DeleteInstanceFromVPSArgsForCall ¶
func (fake *FakeClient) DeleteInstanceFromVPSArgsForCall(i int) int
func (*FakeClient) DeleteInstanceFromVPSCallCount ¶
func (fake *FakeClient) DeleteInstanceFromVPSCallCount() int
func (*FakeClient) DeleteInstanceFromVPSReturns ¶
func (fake *FakeClient) DeleteInstanceFromVPSReturns(result1 error)
func (*FakeClient) DeleteInstanceFromVPSReturnsOnCall ¶
func (fake *FakeClient) DeleteInstanceFromVPSReturnsOnCall(i int, result1 error)
func (*FakeClient) DeleteSnapshot ¶
func (fake *FakeClient) DeleteSnapshot(snapshotId int) error
func (*FakeClient) DeleteSnapshotArgsForCall ¶
func (fake *FakeClient) DeleteSnapshotArgsForCall(i int) int
func (*FakeClient) DeleteSnapshotCallCount ¶
func (fake *FakeClient) DeleteSnapshotCallCount() int
func (*FakeClient) DeleteSnapshotReturns ¶
func (fake *FakeClient) DeleteSnapshotReturns(result1 error)
func (*FakeClient) DeleteSnapshotReturnsOnCall ¶
func (fake *FakeClient) DeleteSnapshotReturnsOnCall(i int, result1 error)
func (*FakeClient) DeleteSshKey ¶
func (fake *FakeClient) DeleteSshKey(id int) (bool, error)
func (*FakeClient) DeleteSshKeyArgsForCall ¶
func (fake *FakeClient) DeleteSshKeyArgsForCall(i int) int
func (*FakeClient) DeleteSshKeyCallCount ¶
func (fake *FakeClient) DeleteSshKeyCallCount() int
func (*FakeClient) DeleteSshKeyReturns ¶
func (fake *FakeClient) DeleteSshKeyReturns(result1 bool, result2 error)
func (*FakeClient) DeleteSshKeyReturnsOnCall ¶
func (fake *FakeClient) DeleteSshKeyReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeClient) DeleteSwiftContainer ¶
func (fake *FakeClient) DeleteSwiftContainer(containerName string) error
func (*FakeClient) DeleteSwiftContainerArgsForCall ¶
func (fake *FakeClient) DeleteSwiftContainerArgsForCall(i int) string
func (*FakeClient) DeleteSwiftContainerCallCount ¶
func (fake *FakeClient) DeleteSwiftContainerCallCount() int
func (*FakeClient) DeleteSwiftContainerReturns ¶
func (fake *FakeClient) DeleteSwiftContainerReturns(result1 error)
func (*FakeClient) DeleteSwiftContainerReturnsOnCall ¶
func (fake *FakeClient) DeleteSwiftContainerReturnsOnCall(i int, result1 error)
func (*FakeClient) DeleteSwiftLargeObject ¶
func (fake *FakeClient) DeleteSwiftLargeObject(containerName string, objectFileName string) error
func (*FakeClient) DeleteSwiftLargeObjectArgsForCall ¶
func (fake *FakeClient) DeleteSwiftLargeObjectArgsForCall(i int) (string, string)
func (*FakeClient) DeleteSwiftLargeObjectCallCount ¶
func (fake *FakeClient) DeleteSwiftLargeObjectCallCount() int
func (*FakeClient) DeleteSwiftLargeObjectReturns ¶
func (fake *FakeClient) DeleteSwiftLargeObjectReturns(result1 error)
func (*FakeClient) DeleteSwiftLargeObjectReturnsOnCall ¶
func (fake *FakeClient) DeleteSwiftLargeObjectReturnsOnCall(i int, result1 error)
func (*FakeClient) EditInstance ¶
func (fake *FakeClient) EditInstance(id int, template *datatypes.Virtual_Guest) (bool, error)
func (*FakeClient) EditInstanceArgsForCall ¶
func (fake *FakeClient) EditInstanceArgsForCall(i int) (int, *datatypes.Virtual_Guest)
func (*FakeClient) EditInstanceCallCount ¶
func (fake *FakeClient) EditInstanceCallCount() int
func (*FakeClient) EditInstanceReturns ¶
func (fake *FakeClient) EditInstanceReturns(result1 bool, result2 error)
func (*FakeClient) EditInstanceReturnsOnCall ¶
func (fake *FakeClient) EditInstanceReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeClient) GetAllowedHostCredential ¶
func (fake *FakeClient) GetAllowedHostCredential(id int) (*datatypes.Network_Storage_Allowed_Host, bool, error)
func (*FakeClient) GetAllowedHostCredentialArgsForCall ¶
func (fake *FakeClient) GetAllowedHostCredentialArgsForCall(i int) int
func (*FakeClient) GetAllowedHostCredentialCallCount ¶
func (fake *FakeClient) GetAllowedHostCredentialCallCount() int
func (*FakeClient) GetAllowedHostCredentialReturns ¶
func (fake *FakeClient) GetAllowedHostCredentialReturns(result1 *datatypes.Network_Storage_Allowed_Host, result2 bool, result3 error)
func (*FakeClient) GetAllowedHostCredentialReturnsOnCall ¶
func (fake *FakeClient) GetAllowedHostCredentialReturnsOnCall(i int, result1 *datatypes.Network_Storage_Allowed_Host, result2 bool, result3 error)
func (*FakeClient) GetAllowedNetworkStorage ¶
func (fake *FakeClient) GetAllowedNetworkStorage(id int) ([]string, bool, error)
func (*FakeClient) GetAllowedNetworkStorageArgsForCall ¶
func (fake *FakeClient) GetAllowedNetworkStorageArgsForCall(i int) int
func (*FakeClient) GetAllowedNetworkStorageCallCount ¶
func (fake *FakeClient) GetAllowedNetworkStorageCallCount() int
func (*FakeClient) GetAllowedNetworkStorageReturns ¶
func (fake *FakeClient) GetAllowedNetworkStorageReturns(result1 []string, result2 bool, result3 error)
func (*FakeClient) GetAllowedNetworkStorageReturnsOnCall ¶
func (fake *FakeClient) GetAllowedNetworkStorageReturnsOnCall(i int, result1 []string, result2 bool, result3 error)
func (*FakeClient) GetBlockVolumeDetails ¶
func (fake *FakeClient) GetBlockVolumeDetails(volumeId int, mask string) (*datatypes.Network_Storage, bool, error)
func (*FakeClient) GetBlockVolumeDetailsArgsForCall ¶
func (fake *FakeClient) GetBlockVolumeDetailsArgsForCall(i int) (int, string)
func (*FakeClient) GetBlockVolumeDetailsBySoftLayerAccount ¶
func (fake *FakeClient) GetBlockVolumeDetailsBySoftLayerAccount(volumeId int, mask string) (datatypes.Network_Storage, error)
func (*FakeClient) GetBlockVolumeDetailsBySoftLayerAccountArgsForCall ¶
func (fake *FakeClient) GetBlockVolumeDetailsBySoftLayerAccountArgsForCall(i int) (int, string)
func (*FakeClient) GetBlockVolumeDetailsBySoftLayerAccountCallCount ¶
func (fake *FakeClient) GetBlockVolumeDetailsBySoftLayerAccountCallCount() int
func (*FakeClient) GetBlockVolumeDetailsBySoftLayerAccountReturns ¶
func (fake *FakeClient) GetBlockVolumeDetailsBySoftLayerAccountReturns(result1 datatypes.Network_Storage, result2 error)
func (*FakeClient) GetBlockVolumeDetailsBySoftLayerAccountReturnsOnCall ¶
func (fake *FakeClient) GetBlockVolumeDetailsBySoftLayerAccountReturnsOnCall(i int, result1 datatypes.Network_Storage, result2 error)
func (*FakeClient) GetBlockVolumeDetailsCallCount ¶
func (fake *FakeClient) GetBlockVolumeDetailsCallCount() int
func (*FakeClient) GetBlockVolumeDetailsReturns ¶
func (fake *FakeClient) GetBlockVolumeDetailsReturns(result1 *datatypes.Network_Storage, result2 bool, result3 error)
func (*FakeClient) GetBlockVolumeDetailsReturnsOnCall ¶
func (fake *FakeClient) GetBlockVolumeDetailsReturnsOnCall(i int, result1 *datatypes.Network_Storage, result2 bool, result3 error)
func (*FakeClient) GetImage ¶
func (fake *FakeClient) GetImage(imageId int, mask string) (*datatypes.Virtual_Guest_Block_Device_Template_Group, bool, error)
func (*FakeClient) GetImageArgsForCall ¶
func (fake *FakeClient) GetImageArgsForCall(i int) (int, string)
func (*FakeClient) GetImageCallCount ¶
func (fake *FakeClient) GetImageCallCount() int
func (*FakeClient) GetImageReturns ¶
func (fake *FakeClient) GetImageReturns(result1 *datatypes.Virtual_Guest_Block_Device_Template_Group, result2 bool, result3 error)
func (*FakeClient) GetImageReturnsOnCall ¶
func (fake *FakeClient) GetImageReturnsOnCall(i int, result1 *datatypes.Virtual_Guest_Block_Device_Template_Group, result2 bool, result3 error)
func (*FakeClient) GetInstance ¶
func (fake *FakeClient) GetInstance(id int, mask string) (*datatypes.Virtual_Guest, bool, error)
func (*FakeClient) GetInstanceAllowedHost ¶
func (fake *FakeClient) GetInstanceAllowedHost(id int) (*datatypes.Network_Storage_Allowed_Host, bool, error)
func (*FakeClient) GetInstanceAllowedHostArgsForCall ¶
func (fake *FakeClient) GetInstanceAllowedHostArgsForCall(i int) int
func (*FakeClient) GetInstanceAllowedHostCallCount ¶
func (fake *FakeClient) GetInstanceAllowedHostCallCount() int
func (*FakeClient) GetInstanceAllowedHostReturns ¶
func (fake *FakeClient) GetInstanceAllowedHostReturns(result1 *datatypes.Network_Storage_Allowed_Host, result2 bool, result3 error)
func (*FakeClient) GetInstanceAllowedHostReturnsOnCall ¶
func (fake *FakeClient) GetInstanceAllowedHostReturnsOnCall(i int, result1 *datatypes.Network_Storage_Allowed_Host, result2 bool, result3 error)
func (*FakeClient) GetInstanceArgsForCall ¶
func (fake *FakeClient) GetInstanceArgsForCall(i int) (int, string)
func (*FakeClient) GetInstanceByPrimaryBackendIpAddress ¶
func (fake *FakeClient) GetInstanceByPrimaryBackendIpAddress(ip string) (*datatypes.Virtual_Guest, bool, error)
func (*FakeClient) GetInstanceByPrimaryBackendIpAddressArgsForCall ¶
func (fake *FakeClient) GetInstanceByPrimaryBackendIpAddressArgsForCall(i int) string
func (*FakeClient) GetInstanceByPrimaryBackendIpAddressCallCount ¶
func (fake *FakeClient) GetInstanceByPrimaryBackendIpAddressCallCount() int
func (*FakeClient) GetInstanceByPrimaryBackendIpAddressReturns ¶
func (fake *FakeClient) GetInstanceByPrimaryBackendIpAddressReturns(result1 *datatypes.Virtual_Guest, result2 bool, result3 error)
func (*FakeClient) GetInstanceByPrimaryBackendIpAddressReturnsOnCall ¶
func (fake *FakeClient) GetInstanceByPrimaryBackendIpAddressReturnsOnCall(i int, result1 *datatypes.Virtual_Guest, result2 bool, result3 error)
func (*FakeClient) GetInstanceByPrimaryIpAddress ¶
func (fake *FakeClient) GetInstanceByPrimaryIpAddress(ip string) (*datatypes.Virtual_Guest, bool, error)
func (*FakeClient) GetInstanceByPrimaryIpAddressArgsForCall ¶
func (fake *FakeClient) GetInstanceByPrimaryIpAddressArgsForCall(i int) string
func (*FakeClient) GetInstanceByPrimaryIpAddressCallCount ¶
func (fake *FakeClient) GetInstanceByPrimaryIpAddressCallCount() int
func (*FakeClient) GetInstanceByPrimaryIpAddressReturns ¶
func (fake *FakeClient) GetInstanceByPrimaryIpAddressReturns(result1 *datatypes.Virtual_Guest, result2 bool, result3 error)
func (*FakeClient) GetInstanceByPrimaryIpAddressReturnsOnCall ¶
func (fake *FakeClient) GetInstanceByPrimaryIpAddressReturnsOnCall(i int, result1 *datatypes.Virtual_Guest, result2 bool, result3 error)
func (*FakeClient) GetInstanceCallCount ¶
func (fake *FakeClient) GetInstanceCallCount() int
func (*FakeClient) GetInstanceReturns ¶
func (fake *FakeClient) GetInstanceReturns(result1 *datatypes.Virtual_Guest, result2 bool, result3 error)
func (*FakeClient) GetInstanceReturnsOnCall ¶
func (fake *FakeClient) GetInstanceReturnsOnCall(i int, result1 *datatypes.Virtual_Guest, result2 bool, result3 error)
func (*FakeClient) GetNetworkStorageTarget ¶
func (*FakeClient) GetNetworkStorageTargetArgsForCall ¶
func (fake *FakeClient) GetNetworkStorageTargetArgsForCall(i int) (int, string)
func (*FakeClient) GetNetworkStorageTargetCallCount ¶
func (fake *FakeClient) GetNetworkStorageTargetCallCount() int
func (*FakeClient) GetNetworkStorageTargetReturns ¶
func (fake *FakeClient) GetNetworkStorageTargetReturns(result1 string, result2 bool, result3 error)
func (*FakeClient) GetNetworkStorageTargetReturnsOnCall ¶
func (fake *FakeClient) GetNetworkStorageTargetReturnsOnCall(i int, result1 string, result2 bool, result3 error)
func (*FakeClient) GetSubnet ¶
func (fake *FakeClient) GetSubnet(id int, mask string) (*datatypes.Network_Subnet, bool, error)
func (*FakeClient) GetSubnetArgsForCall ¶
func (fake *FakeClient) GetSubnetArgsForCall(i int) (int, string)
func (*FakeClient) GetSubnetCallCount ¶
func (fake *FakeClient) GetSubnetCallCount() int
func (*FakeClient) GetSubnetReturns ¶
func (fake *FakeClient) GetSubnetReturns(result1 *datatypes.Network_Subnet, result2 bool, result3 error)
func (*FakeClient) GetSubnetReturnsOnCall ¶
func (fake *FakeClient) GetSubnetReturnsOnCall(i int, result1 *datatypes.Network_Subnet, result2 bool, result3 error)
func (*FakeClient) GetVlan ¶
func (fake *FakeClient) GetVlan(id int, mask string) (*datatypes.Network_Vlan, bool, error)
func (*FakeClient) GetVlanArgsForCall ¶
func (fake *FakeClient) GetVlanArgsForCall(i int) (int, string)
func (*FakeClient) GetVlanCallCount ¶
func (fake *FakeClient) GetVlanCallCount() int
func (*FakeClient) GetVlanReturns ¶
func (fake *FakeClient) GetVlanReturns(result1 *datatypes.Network_Vlan, result2 bool, result3 error)
func (*FakeClient) GetVlanReturnsOnCall ¶
func (fake *FakeClient) GetVlanReturnsOnCall(i int, result1 *datatypes.Network_Vlan, result2 bool, result3 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) OrderBlockVolume ¶
func (fake *FakeClient) OrderBlockVolume(storageType string, location string, size int, iops int) (*datatypes.Container_Product_Order_Receipt, error)
func (*FakeClient) OrderBlockVolume2 ¶
func (fake *FakeClient) OrderBlockVolume2(storageType string, location string, size int, iops int, snapshotSpace int) (*datatypes.Container_Product_Order_Receipt, error)
func (*FakeClient) OrderBlockVolume2ArgsForCall ¶
func (*FakeClient) OrderBlockVolume2CallCount ¶
func (fake *FakeClient) OrderBlockVolume2CallCount() int
func (*FakeClient) OrderBlockVolume2Returns ¶
func (fake *FakeClient) OrderBlockVolume2Returns(result1 *datatypes.Container_Product_Order_Receipt, result2 error)
func (*FakeClient) OrderBlockVolume2ReturnsOnCall ¶
func (fake *FakeClient) OrderBlockVolume2ReturnsOnCall(i int, result1 *datatypes.Container_Product_Order_Receipt, result2 error)
func (*FakeClient) OrderBlockVolumeArgsForCall ¶
func (*FakeClient) OrderBlockVolumeCallCount ¶
func (fake *FakeClient) OrderBlockVolumeCallCount() int
func (*FakeClient) OrderBlockVolumeReturns ¶
func (fake *FakeClient) OrderBlockVolumeReturns(result1 *datatypes.Container_Product_Order_Receipt, result2 error)
func (*FakeClient) OrderBlockVolumeReturnsOnCall ¶
func (fake *FakeClient) OrderBlockVolumeReturnsOnCall(i int, result1 *datatypes.Container_Product_Order_Receipt, result2 error)
func (*FakeClient) RebootInstance ¶
func (fake *FakeClient) RebootInstance(id int, soft bool, hard bool) error
func (*FakeClient) RebootInstanceArgsForCall ¶
func (fake *FakeClient) RebootInstanceArgsForCall(i int) (int, bool, bool)
func (*FakeClient) RebootInstanceCallCount ¶
func (fake *FakeClient) RebootInstanceCallCount() int
func (*FakeClient) RebootInstanceReturns ¶
func (fake *FakeClient) RebootInstanceReturns(result1 error)
func (*FakeClient) RebootInstanceReturnsOnCall ¶
func (fake *FakeClient) RebootInstanceReturnsOnCall(i int, result1 error)
func (*FakeClient) ReloadInstance ¶
func (fake *FakeClient) ReloadInstance(id int, stemcellId int, sshKeyIds []int, hostname string, domain string, userData *registry.SoftlayerUserData) error
func (*FakeClient) ReloadInstanceArgsForCall ¶
func (fake *FakeClient) ReloadInstanceArgsForCall(i int) (int, int, []int, string, string, *registry.SoftlayerUserData)
func (*FakeClient) ReloadInstanceCallCount ¶
func (fake *FakeClient) ReloadInstanceCallCount() int
func (*FakeClient) ReloadInstanceReturns ¶
func (fake *FakeClient) ReloadInstanceReturns(result1 error)
func (*FakeClient) ReloadInstanceReturnsOnCall ¶
func (fake *FakeClient) ReloadInstanceReturnsOnCall(i int, result1 error)
func (*FakeClient) SetInstanceMetadata ¶
func (fake *FakeClient) SetInstanceMetadata(id int, encodedUserData *string) (bool, error)
func (*FakeClient) SetInstanceMetadataArgsForCall ¶
func (fake *FakeClient) SetInstanceMetadataArgsForCall(i int) (int, *string)
func (*FakeClient) SetInstanceMetadataCallCount ¶
func (fake *FakeClient) SetInstanceMetadataCallCount() int
func (*FakeClient) SetInstanceMetadataReturns ¶
func (fake *FakeClient) SetInstanceMetadataReturns(result1 bool, result2 error)
func (*FakeClient) SetInstanceMetadataReturnsOnCall ¶
func (fake *FakeClient) SetInstanceMetadataReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeClient) SetNotesArgsForCall ¶
func (fake *FakeClient) SetNotesArgsForCall(i int) (int, string)
func (*FakeClient) SetNotesCallCount ¶
func (fake *FakeClient) SetNotesCallCount() int
func (*FakeClient) SetNotesReturns ¶
func (fake *FakeClient) SetNotesReturns(result1 bool, result2 error)
func (*FakeClient) SetNotesReturnsOnCall ¶
func (fake *FakeClient) SetNotesReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeClient) SetTagsArgsForCall ¶
func (fake *FakeClient) SetTagsArgsForCall(i int) (int, string)
func (*FakeClient) SetTagsCallCount ¶
func (fake *FakeClient) SetTagsCallCount() int
func (*FakeClient) SetTagsReturns ¶
func (fake *FakeClient) SetTagsReturns(result1 bool, result2 error)
func (*FakeClient) SetTagsReturnsOnCall ¶
func (fake *FakeClient) SetTagsReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeClient) UpgradeInstance ¶
func (*FakeClient) UpgradeInstanceArgsForCall ¶
func (*FakeClient) UpgradeInstanceCallCount ¶
func (fake *FakeClient) UpgradeInstanceCallCount() int
func (*FakeClient) UpgradeInstanceConfig ¶
func (*FakeClient) UpgradeInstanceConfigArgsForCall ¶
func (*FakeClient) UpgradeInstanceConfigCallCount ¶
func (fake *FakeClient) UpgradeInstanceConfigCallCount() int
func (*FakeClient) UpgradeInstanceConfigReturns ¶
func (fake *FakeClient) UpgradeInstanceConfigReturns(result1 error)
func (*FakeClient) UpgradeInstanceConfigReturnsOnCall ¶
func (fake *FakeClient) UpgradeInstanceConfigReturnsOnCall(i int, result1 error)
func (*FakeClient) UpgradeInstanceReturns ¶
func (fake *FakeClient) UpgradeInstanceReturns(result1 int, result2 error)
func (*FakeClient) UpgradeInstanceReturnsOnCall ¶
func (fake *FakeClient) UpgradeInstanceReturnsOnCall(i int, result1 int, result2 error)
func (*FakeClient) UploadSwiftLargeObject ¶
func (fake *FakeClient) UploadSwiftLargeObject(containerName string, objectName string, objectFile string) error
func (*FakeClient) UploadSwiftLargeObjectArgsForCall ¶
func (fake *FakeClient) UploadSwiftLargeObjectArgsForCall(i int) (string, string, string)
func (*FakeClient) UploadSwiftLargeObjectCallCount ¶
func (fake *FakeClient) UploadSwiftLargeObjectCallCount() int
func (*FakeClient) UploadSwiftLargeObjectReturns ¶
func (fake *FakeClient) UploadSwiftLargeObjectReturns(result1 error)
func (*FakeClient) UploadSwiftLargeObjectReturnsOnCall ¶
func (fake *FakeClient) UploadSwiftLargeObjectReturnsOnCall(i int, result1 error)
func (*FakeClient) WaitInstanceHasActiveTransaction ¶
func (fake *FakeClient) WaitInstanceHasActiveTransaction(id int, until time.Time) error
func (*FakeClient) WaitInstanceHasActiveTransactionArgsForCall ¶
func (fake *FakeClient) WaitInstanceHasActiveTransactionArgsForCall(i int) (int, time.Time)
func (*FakeClient) WaitInstanceHasActiveTransactionCallCount ¶
func (fake *FakeClient) WaitInstanceHasActiveTransactionCallCount() int
func (*FakeClient) WaitInstanceHasActiveTransactionReturns ¶
func (fake *FakeClient) WaitInstanceHasActiveTransactionReturns(result1 error)
func (*FakeClient) WaitInstanceHasActiveTransactionReturnsOnCall ¶
func (fake *FakeClient) WaitInstanceHasActiveTransactionReturnsOnCall(i int, result1 error)
func (*FakeClient) WaitInstanceHasNoneActiveTransaction ¶
func (fake *FakeClient) WaitInstanceHasNoneActiveTransaction(id int, until time.Time) error
func (*FakeClient) WaitInstanceHasNoneActiveTransactionArgsForCall ¶
func (fake *FakeClient) WaitInstanceHasNoneActiveTransactionArgsForCall(i int) (int, time.Time)
func (*FakeClient) WaitInstanceHasNoneActiveTransactionCallCount ¶
func (fake *FakeClient) WaitInstanceHasNoneActiveTransactionCallCount() int
func (*FakeClient) WaitInstanceHasNoneActiveTransactionReturns ¶
func (fake *FakeClient) WaitInstanceHasNoneActiveTransactionReturns(result1 error)
func (*FakeClient) WaitInstanceHasNoneActiveTransactionReturnsOnCall ¶
func (fake *FakeClient) WaitInstanceHasNoneActiveTransactionReturnsOnCall(i int, result1 error)
func (*FakeClient) WaitInstanceUntilReady ¶
func (fake *FakeClient) WaitInstanceUntilReady(id int, until time.Time) error
func (*FakeClient) WaitInstanceUntilReadyArgsForCall ¶
func (fake *FakeClient) WaitInstanceUntilReadyArgsForCall(i int) (int, time.Time)
func (*FakeClient) WaitInstanceUntilReadyCallCount ¶
func (fake *FakeClient) WaitInstanceUntilReadyCallCount() int
func (*FakeClient) WaitInstanceUntilReadyReturns ¶
func (fake *FakeClient) WaitInstanceUntilReadyReturns(result1 error)
func (*FakeClient) WaitInstanceUntilReadyReturnsOnCall ¶
func (fake *FakeClient) WaitInstanceUntilReadyReturnsOnCall(i int, result1 error)
func (*FakeClient) WaitInstanceUntilReadyWithTicket ¶
func (fake *FakeClient) WaitInstanceUntilReadyWithTicket(id int, until time.Time) error
func (*FakeClient) WaitInstanceUntilReadyWithTicketArgsForCall ¶
func (fake *FakeClient) WaitInstanceUntilReadyWithTicketArgsForCall(i int) (int, time.Time)
func (*FakeClient) WaitInstanceUntilReadyWithTicketCallCount ¶
func (fake *FakeClient) WaitInstanceUntilReadyWithTicketCallCount() int
func (*FakeClient) WaitInstanceUntilReadyWithTicketReturns ¶
func (fake *FakeClient) WaitInstanceUntilReadyWithTicketReturns(result1 error)
func (*FakeClient) WaitInstanceUntilReadyWithTicketReturnsOnCall ¶
func (fake *FakeClient) WaitInstanceUntilReadyWithTicketReturnsOnCall(i int, result1 error)
func (*FakeClient) WaitVolumeProvisioningWithOrderId ¶
func (fake *FakeClient) WaitVolumeProvisioningWithOrderId(orderId int, until time.Time) (*datatypes.Network_Storage, error)
func (*FakeClient) WaitVolumeProvisioningWithOrderIdArgsForCall ¶
func (fake *FakeClient) WaitVolumeProvisioningWithOrderIdArgsForCall(i int) (int, time.Time)
func (*FakeClient) WaitVolumeProvisioningWithOrderIdCallCount ¶
func (fake *FakeClient) WaitVolumeProvisioningWithOrderIdCallCount() int
func (*FakeClient) WaitVolumeProvisioningWithOrderIdReturns ¶
func (fake *FakeClient) WaitVolumeProvisioningWithOrderIdReturns(result1 *datatypes.Network_Storage, result2 error)
func (*FakeClient) WaitVolumeProvisioningWithOrderIdReturnsOnCall ¶
func (fake *FakeClient) WaitVolumeProvisioningWithOrderIdReturnsOnCall(i int, result1 *datatypes.Network_Storage, result2 error)
type FakeClientFactory ¶
type FakeClientFactory struct { CreateClientStub func() client.Client // contains filtered or unexported fields }
func (*FakeClientFactory) CreateClient ¶
func (fake *FakeClientFactory) CreateClient() client.Client
func (*FakeClientFactory) CreateClientCallCount ¶
func (fake *FakeClientFactory) CreateClientCallCount() int
func (*FakeClientFactory) CreateClientReturns ¶
func (fake *FakeClientFactory) CreateClientReturns(result1 client.Client)
func (*FakeClientFactory) CreateClientReturnsOnCall ¶
func (fake *FakeClientFactory) CreateClientReturnsOnCall(i int, result1 client.Client)
func (*FakeClientFactory) Invocations ¶
func (fake *FakeClientFactory) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.