Documentation ¶
Index ¶
- func DiscoverFloatingIPsFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverFloatingIPsFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverFloatingIPsFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverFloatingIPsMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverServersFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverServersFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverServersFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverServersMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverVPCsFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverVPCsFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverVPCsFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverVPCsMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverVolumesFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverVolumesFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverVolumesFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func DiscoverVolumesMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func GetBrownfieldCloudAccountFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func GetBrownfieldCloudAccountFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func GetBrownfieldCloudAccountFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func GetBrownfieldCloudAccountMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
- func ImportFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP, cloudAccountID string) *types.FloatingIP
- func ImportFloatingIPFailJSONMocked(t *testing.T, floatingIPIn *types.FloatingIP, cloudAccountID string) *types.FloatingIP
- func ImportFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP, cloudAccountID string) *types.FloatingIP
- func ImportFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP, cloudAccountID string) *types.FloatingIP
- func ImportServerFailErrMocked(t *testing.T, serverIn *types.Server, cloudAccountID string) *types.Server
- func ImportServerFailJSONMocked(t *testing.T, serverIn *types.Server, cloudAccountID string) *types.Server
- func ImportServerFailStatusMocked(t *testing.T, serverIn *types.Server, cloudAccountID string) *types.Server
- func ImportServerMocked(t *testing.T, serverIn *types.Server, cloudAccountID string) *types.Server
- func ImportVPCFailErrMocked(t *testing.T, vpcIn *types.Vpc, cloudAccountID string) *types.Vpc
- func ImportVPCFailJSONMocked(t *testing.T, vpcIn *types.Vpc, cloudAccountID string) *types.Vpc
- func ImportVPCFailStatusMocked(t *testing.T, vpcIn *types.Vpc, cloudAccountID string) *types.Vpc
- func ImportVPCMocked(t *testing.T, vpcIn *types.Vpc, cloudAccountID string) *types.Vpc
- func ImportVolumeFailErrMocked(t *testing.T, volumeIn *types.Volume, cloudAccountID string) *types.Volume
- func ImportVolumeFailJSONMocked(t *testing.T, volumeIn *types.Volume, cloudAccountID string) *types.Volume
- func ImportVolumeFailStatusMocked(t *testing.T, volumeIn *types.Volume, cloudAccountID string) *types.Volume
- func ImportVolumeMocked(t *testing.T, volumeIn *types.Volume, cloudAccountID string) *types.Volume
- func ListBrownfieldCloudAccountsFailErrMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
- func ListBrownfieldCloudAccountsFailJSONMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
- func ListBrownfieldCloudAccountsFailStatusMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
- func ListBrownfieldCloudAccountsMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
- func ListFloatingIPsFailErrMocked(t *testing.T, floatingIPImportCandidatesIn []*types.FloatingIPImportCandidate, ...) []*types.FloatingIPImportCandidate
- func ListFloatingIPsFailJSONMocked(t *testing.T, floatingIPImportCandidatesIn []*types.FloatingIPImportCandidate, ...) []*types.FloatingIPImportCandidate
- func ListFloatingIPsFailStatusMocked(t *testing.T, floatingIPImportCandidatesIn []*types.FloatingIPImportCandidate, ...) []*types.FloatingIPImportCandidate
- func ListFloatingIPsMocked(t *testing.T, floatingIPImportCandidatesIn []*types.FloatingIPImportCandidate, ...) []*types.FloatingIPImportCandidate
- func ListServersFailErrMocked(t *testing.T, serverImportCandidatesIn []*types.ServerImportCandidate, ...) []*types.ServerImportCandidate
- func ListServersFailJSONMocked(t *testing.T, serverImportCandidatesIn []*types.ServerImportCandidate, ...) []*types.ServerImportCandidate
- func ListServersFailStatusMocked(t *testing.T, serverImportCandidatesIn []*types.ServerImportCandidate, ...) []*types.ServerImportCandidate
- func ListServersMocked(t *testing.T, serverImportCandidatesIn []*types.ServerImportCandidate, ...) []*types.ServerImportCandidate
- func ListVPCsFailErrMocked(t *testing.T, vpcImportCandidatesIn []*types.VpcImportCandidate, ...) []*types.VpcImportCandidate
- func ListVPCsFailJSONMocked(t *testing.T, vpcImportCandidatesIn []*types.VpcImportCandidate, ...) []*types.VpcImportCandidate
- func ListVPCsFailStatusMocked(t *testing.T, vpcImportCandidatesIn []*types.VpcImportCandidate, ...) []*types.VpcImportCandidate
- func ListVPCsMocked(t *testing.T, vpcImportCandidatesIn []*types.VpcImportCandidate, ...) []*types.VpcImportCandidate
- func ListVolumesFailErrMocked(t *testing.T, volumeImportCandidatesIn []*types.VolumeImportCandidate, ...) []*types.VolumeImportCandidate
- func ListVolumesFailJSONMocked(t *testing.T, volumeImportCandidatesIn []*types.VolumeImportCandidate, ...) []*types.VolumeImportCandidate
- func ListVolumesFailStatusMocked(t *testing.T, volumeImportCandidatesIn []*types.VolumeImportCandidate, ...) []*types.VolumeImportCandidate
- func ListVolumesMocked(t *testing.T, volumeImportCandidatesIn []*types.VolumeImportCandidate, ...) []*types.VolumeImportCandidate
- type BrownfieldCloudAccountService
- func (bcas *BrownfieldCloudAccountService) DiscoverFloatingIPs(cloudAccountID string) (cloudAccount *types.CloudAccount, err error)
- func (bcas *BrownfieldCloudAccountService) DiscoverServers(cloudAccountID string) (cloudAccount *types.CloudAccount, err error)
- func (bcas *BrownfieldCloudAccountService) DiscoverVPCs(cloudAccountID string) (cloudAccount *types.CloudAccount, err error)
- func (bcas *BrownfieldCloudAccountService) DiscoverVolumes(cloudAccountID string) (cloudAccount *types.CloudAccount, err error)
- func (bcas *BrownfieldCloudAccountService) GetBrownfieldCloudAccount(cloudAccountID string) (cloudAccount *types.CloudAccount, err error)
- func (bcas *BrownfieldCloudAccountService) ListBrownfieldCloudAccounts() (cloudAccounts []*types.CloudAccount, err error)
- func (bcas *BrownfieldCloudAccountService) ListFloatingIPs(cloudAccountID string) (floatingIPsImportCandidates []*types.FloatingIPImportCandidate, err error)
- func (bcas *BrownfieldCloudAccountService) ListServers(cloudAccountID string) (serversImportCandidates []*types.ServerImportCandidate, err error)
- func (bcas *BrownfieldCloudAccountService) ListVPCs(cloudAccountID string) (vpcsImportCandidates []*types.VpcImportCandidate, err error)
- func (bcas *BrownfieldCloudAccountService) ListVolumes(cloudAccountID string) (volumesImportCandidates []*types.VolumeImportCandidate, err error)
- type ImportCandidateService
- func (ics *ImportCandidateService) ImportFloatingIP(floatingIPID string, floatingIPParams *map[string]interface{}) (floatingIP *types.FloatingIP, err error)
- func (ics *ImportCandidateService) ImportServer(serverID string, serverParams *map[string]interface{}) (server *types.Server, err error)
- func (ics *ImportCandidateService) ImportVPC(vpcID string, vpcParams *map[string]interface{}) (vpc *types.Vpc, err error)
- func (ics *ImportCandidateService) ImportVolume(volumeID string, volumeParams *map[string]interface{}) (volume *types.Volume, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoverFloatingIPsFailErrMocked ¶
func DiscoverFloatingIPsFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverFloatingIPsFailErrMocked test mocked function
func DiscoverFloatingIPsFailJSONMocked ¶
func DiscoverFloatingIPsFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverFloatingIPsFailJSONMocked test mocked function
func DiscoverFloatingIPsFailStatusMocked ¶
func DiscoverFloatingIPsFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverFloatingIPsFailStatusMocked test mocked function
func DiscoverFloatingIPsMocked ¶
func DiscoverFloatingIPsMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverFloatingIPsMocked test mocked function
func DiscoverServersFailErrMocked ¶
func DiscoverServersFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverServersFailErrMocked test mocked function
func DiscoverServersFailJSONMocked ¶
func DiscoverServersFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverServersFailJSONMocked test mocked function
func DiscoverServersFailStatusMocked ¶
func DiscoverServersFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverServersFailStatusMocked test mocked function
func DiscoverServersMocked ¶
func DiscoverServersMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverServersMocked test mocked function
func DiscoverVPCsFailErrMocked ¶
func DiscoverVPCsFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverVPCsFailErrMocked test mocked function
func DiscoverVPCsFailJSONMocked ¶
func DiscoverVPCsFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverVPCsFailJSONMocked test mocked function
func DiscoverVPCsFailStatusMocked ¶
func DiscoverVPCsFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverVPCsFailStatusMocked test mocked function
func DiscoverVPCsMocked ¶
func DiscoverVPCsMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverVPCsMocked test mocked function
func DiscoverVolumesFailErrMocked ¶
func DiscoverVolumesFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverVolumesFailErrMocked test mocked function
func DiscoverVolumesFailJSONMocked ¶
func DiscoverVolumesFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverVolumesFailJSONMocked test mocked function
func DiscoverVolumesFailStatusMocked ¶
func DiscoverVolumesFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverVolumesFailStatusMocked test mocked function
func DiscoverVolumesMocked ¶
func DiscoverVolumesMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
DiscoverVolumesMocked test mocked function
func GetBrownfieldCloudAccountFailErrMocked ¶
func GetBrownfieldCloudAccountFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
GetBrownfieldCloudAccountFailErrMocked test mocked function
func GetBrownfieldCloudAccountFailJSONMocked ¶
func GetBrownfieldCloudAccountFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
GetBrownfieldCloudAccountFailJSONMocked test mocked function
func GetBrownfieldCloudAccountFailStatusMocked ¶
func GetBrownfieldCloudAccountFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
GetBrownfieldCloudAccountFailStatusMocked test mocked function
func GetBrownfieldCloudAccountMocked ¶
func GetBrownfieldCloudAccountMocked(t *testing.T, cloudAccountIn *types.CloudAccount, cloudAccountID string) *types.CloudAccount
GetBrownfieldCloudAccountMocked test mocked function
func ImportFloatingIPFailErrMocked ¶
func ImportFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP, cloudAccountID string) *types.FloatingIP
ImportFloatingIPFailErrMocked test mocked function
func ImportFloatingIPFailJSONMocked ¶
func ImportFloatingIPFailJSONMocked(t *testing.T, floatingIPIn *types.FloatingIP, cloudAccountID string) *types.FloatingIP
ImportFloatingIPFailJSONMocked test mocked function
func ImportFloatingIPFailStatusMocked ¶
func ImportFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP, cloudAccountID string) *types.FloatingIP
ImportFloatingIPFailStatusMocked test mocked function
func ImportFloatingIPMocked ¶
func ImportFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP, cloudAccountID string) *types.FloatingIP
ImportFloatingIPMocked test mocked function
func ImportServerFailErrMocked ¶
func ImportServerFailErrMocked(t *testing.T, serverIn *types.Server, cloudAccountID string) *types.Server
ImportServerFailErrMocked test mocked function
func ImportServerFailJSONMocked ¶
func ImportServerFailJSONMocked(t *testing.T, serverIn *types.Server, cloudAccountID string) *types.Server
ImportServerFailJSONMocked test mocked function
func ImportServerFailStatusMocked ¶
func ImportServerFailStatusMocked(t *testing.T, serverIn *types.Server, cloudAccountID string) *types.Server
ImportServerFailStatusMocked test mocked function
func ImportServerMocked ¶
ImportServerMocked test mocked function
func ImportVPCFailErrMocked ¶
ImportVPCFailErrMocked test mocked function
func ImportVPCFailJSONMocked ¶
ImportVPCFailJSONMocked test mocked function
func ImportVPCFailStatusMocked ¶
ImportVPCFailStatusMocked test mocked function
func ImportVPCMocked ¶
ImportVPCMocked test mocked function
func ImportVolumeFailErrMocked ¶
func ImportVolumeFailErrMocked(t *testing.T, volumeIn *types.Volume, cloudAccountID string) *types.Volume
ImportVolumeFailErrMocked test mocked function
func ImportVolumeFailJSONMocked ¶
func ImportVolumeFailJSONMocked(t *testing.T, volumeIn *types.Volume, cloudAccountID string) *types.Volume
ImportVolumeFailJSONMocked test mocked function
func ImportVolumeFailStatusMocked ¶
func ImportVolumeFailStatusMocked(t *testing.T, volumeIn *types.Volume, cloudAccountID string) *types.Volume
ImportVolumeFailStatusMocked test mocked function
func ImportVolumeMocked ¶
ImportVolumeMocked test mocked function
func ListBrownfieldCloudAccountsFailErrMocked ¶
func ListBrownfieldCloudAccountsFailErrMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
ListBrownfieldCloudAccountsFailErrMocked test mocked function
func ListBrownfieldCloudAccountsFailJSONMocked ¶
func ListBrownfieldCloudAccountsFailJSONMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
ListBrownfieldCloudAccountsFailJSONMocked test mocked function
func ListBrownfieldCloudAccountsFailStatusMocked ¶
func ListBrownfieldCloudAccountsFailStatusMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
ListBrownfieldCloudAccountsFailStatusMocked test mocked function
func ListBrownfieldCloudAccountsMocked ¶
func ListBrownfieldCloudAccountsMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
ListBrownfieldCloudAccountsMocked test mocked function
func ListFloatingIPsFailErrMocked ¶
func ListFloatingIPsFailErrMocked(t *testing.T, floatingIPImportCandidatesIn []*types.FloatingIPImportCandidate, cloudAccountID string) []*types.FloatingIPImportCandidate
ListFloatingIPsFailErrMocked test mocked function
func ListFloatingIPsFailJSONMocked ¶
func ListFloatingIPsFailJSONMocked(t *testing.T, floatingIPImportCandidatesIn []*types.FloatingIPImportCandidate, cloudAccountID string) []*types.FloatingIPImportCandidate
ListFloatingIPsFailJSONMocked test mocked function
func ListFloatingIPsFailStatusMocked ¶
func ListFloatingIPsFailStatusMocked(t *testing.T, floatingIPImportCandidatesIn []*types.FloatingIPImportCandidate, cloudAccountID string) []*types.FloatingIPImportCandidate
ListFloatingIPsFailStatusMocked test mocked function
func ListFloatingIPsMocked ¶
func ListFloatingIPsMocked(t *testing.T, floatingIPImportCandidatesIn []*types.FloatingIPImportCandidate, cloudAccountID string) []*types.FloatingIPImportCandidate
ListFloatingIPsMocked test mocked function
func ListServersFailErrMocked ¶
func ListServersFailErrMocked(t *testing.T, serverImportCandidatesIn []*types.ServerImportCandidate, cloudAccountID string) []*types.ServerImportCandidate
ListServersFailErrMocked test mocked function
func ListServersFailJSONMocked ¶
func ListServersFailJSONMocked(t *testing.T, serverImportCandidatesIn []*types.ServerImportCandidate, cloudAccountID string) []*types.ServerImportCandidate
ListServersFailJSONMocked test mocked function
func ListServersFailStatusMocked ¶
func ListServersFailStatusMocked(t *testing.T, serverImportCandidatesIn []*types.ServerImportCandidate, cloudAccountID string) []*types.ServerImportCandidate
ListServersFailStatusMocked test mocked function
func ListServersMocked ¶
func ListServersMocked(t *testing.T, serverImportCandidatesIn []*types.ServerImportCandidate, cloudAccountID string) []*types.ServerImportCandidate
ListServersMocked test mocked function
func ListVPCsFailErrMocked ¶
func ListVPCsFailErrMocked(t *testing.T, vpcImportCandidatesIn []*types.VpcImportCandidate, cloudAccountID string) []*types.VpcImportCandidate
ListVPCsFailErrMocked test mocked function
func ListVPCsFailJSONMocked ¶
func ListVPCsFailJSONMocked(t *testing.T, vpcImportCandidatesIn []*types.VpcImportCandidate, cloudAccountID string) []*types.VpcImportCandidate
ListVPCsFailJSONMocked test mocked function
func ListVPCsFailStatusMocked ¶
func ListVPCsFailStatusMocked(t *testing.T, vpcImportCandidatesIn []*types.VpcImportCandidate, cloudAccountID string) []*types.VpcImportCandidate
ListVPCsFailStatusMocked test mocked function
func ListVPCsMocked ¶
func ListVPCsMocked(t *testing.T, vpcImportCandidatesIn []*types.VpcImportCandidate, cloudAccountID string) []*types.VpcImportCandidate
ListVPCsMocked test mocked function
func ListVolumesFailErrMocked ¶
func ListVolumesFailErrMocked(t *testing.T, volumeImportCandidatesIn []*types.VolumeImportCandidate, cloudAccountID string) []*types.VolumeImportCandidate
ListVolumesFailErrMocked test mocked function
func ListVolumesFailJSONMocked ¶
func ListVolumesFailJSONMocked(t *testing.T, volumeImportCandidatesIn []*types.VolumeImportCandidate, cloudAccountID string) []*types.VolumeImportCandidate
ListVolumesFailJSONMocked test mocked function
func ListVolumesFailStatusMocked ¶
func ListVolumesFailStatusMocked(t *testing.T, volumeImportCandidatesIn []*types.VolumeImportCandidate, cloudAccountID string) []*types.VolumeImportCandidate
ListVolumesFailStatusMocked test mocked function
func ListVolumesMocked ¶
func ListVolumesMocked(t *testing.T, volumeImportCandidatesIn []*types.VolumeImportCandidate, cloudAccountID string) []*types.VolumeImportCandidate
ListVolumesMocked test mocked function
Types ¶
type BrownfieldCloudAccountService ¶
type BrownfieldCloudAccountService struct {
// contains filtered or unexported fields
}
BrownfieldCloudAccountService manages brownfield cloud account operations
func NewBrownfieldCloudAccountService ¶
func NewBrownfieldCloudAccountService(concertoService utils.ConcertoService) (*BrownfieldCloudAccountService, error)
NewBrownfieldCloudAccountService returns a Concerto BrownfieldCloudAccount service
func (*BrownfieldCloudAccountService) DiscoverFloatingIPs ¶
func (bcas *BrownfieldCloudAccountService) DiscoverFloatingIPs(cloudAccountID string) (cloudAccount *types.CloudAccount, err error)
DiscoverFloatingIPs discovers brownfield floating IPs
func (*BrownfieldCloudAccountService) DiscoverServers ¶
func (bcas *BrownfieldCloudAccountService) DiscoverServers(cloudAccountID string) (cloudAccount *types.CloudAccount, err error)
DiscoverServers discovers brownfield servers
func (*BrownfieldCloudAccountService) DiscoverVPCs ¶
func (bcas *BrownfieldCloudAccountService) DiscoverVPCs(cloudAccountID string) (cloudAccount *types.CloudAccount, err error)
DiscoverVPCs discovers brownfield VPCs
func (*BrownfieldCloudAccountService) DiscoverVolumes ¶
func (bcas *BrownfieldCloudAccountService) DiscoverVolumes(cloudAccountID string) (cloudAccount *types.CloudAccount, err error)
DiscoverVolumes discovers brownfield Volumes
func (*BrownfieldCloudAccountService) GetBrownfieldCloudAccount ¶
func (bcas *BrownfieldCloudAccountService) GetBrownfieldCloudAccount(cloudAccountID string) (cloudAccount *types.CloudAccount, err error)
GetBrownfieldCloudAccount returns a Brownfield Cloud Account by its ID
func (*BrownfieldCloudAccountService) ListBrownfieldCloudAccounts ¶
func (bcas *BrownfieldCloudAccountService) ListBrownfieldCloudAccounts() (cloudAccounts []*types.CloudAccount, err error)
ListBrownfieldCloudAccounts returns the list of Brownfield Cloud Accounts as an array of CloudAccount
func (*BrownfieldCloudAccountService) ListFloatingIPs ¶
func (bcas *BrownfieldCloudAccountService) ListFloatingIPs(cloudAccountID string) (floatingIPsImportCandidates []*types.FloatingIPImportCandidate, err error)
ListFloatingIPs lists brownfield floating IPs import candidates
func (*BrownfieldCloudAccountService) ListServers ¶
func (bcas *BrownfieldCloudAccountService) ListServers(cloudAccountID string) (serversImportCandidates []*types.ServerImportCandidate, err error)
ListServers lists brownfield servers import candidates
func (*BrownfieldCloudAccountService) ListVPCs ¶
func (bcas *BrownfieldCloudAccountService) ListVPCs(cloudAccountID string) (vpcsImportCandidates []*types.VpcImportCandidate, err error)
ListVPCs lists brownfield VPCs import candidates
func (*BrownfieldCloudAccountService) ListVolumes ¶
func (bcas *BrownfieldCloudAccountService) ListVolumes(cloudAccountID string) (volumesImportCandidates []*types.VolumeImportCandidate, err error)
ListVolumes lists brownfield volumes import candidates
type ImportCandidateService ¶
type ImportCandidateService struct {
// contains filtered or unexported fields
}
ImportCandidateService manages brownfield import candidate operations
func NewImportCandidateService ¶
func NewImportCandidateService(concertoService utils.ConcertoService) (*ImportCandidateService, error)
NewImportCandidateService returns a Concerto ImportCandidate service
func (*ImportCandidateService) ImportFloatingIP ¶
func (ics *ImportCandidateService) ImportFloatingIP(floatingIPID string, floatingIPParams *map[string]interface{}) (floatingIP *types.FloatingIP, err error)
ImportFloatingIP imports a brownfield floating ip import candidate
func (*ImportCandidateService) ImportServer ¶
func (ics *ImportCandidateService) ImportServer(serverID string, serverParams *map[string]interface{}) (server *types.Server, err error)
ImportServer imports a brownfield server import candidate
func (*ImportCandidateService) ImportVPC ¶
func (ics *ImportCandidateService) ImportVPC(vpcID string, vpcParams *map[string]interface{}) (vpc *types.Vpc, err error)
ImportVPC imports a brownfield vpc import candidate
func (*ImportCandidateService) ImportVolume ¶
func (ics *ImportCandidateService) ImportVolume(volumeID string, volumeParams *map[string]interface{}) (volume *types.Volume, err error)
ImportVolume imports a brownfield volume import candidate