Documentation ¶
Index ¶
- func GetCloudAccountFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
- func GetCloudAccountFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
- func GetCloudAccountFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
- func GetCloudAccountListFailErrMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
- func GetCloudAccountListFailJSONMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
- func GetCloudAccountListFailStatusMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
- func GetCloudAccountListMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
- func GetCloudAccountMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
- type CloudAccountService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCloudAccountFailErrMocked ¶ added in v0.9.0
func GetCloudAccountFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
GetCloudAccountFailErrMocked test mocked function
func GetCloudAccountFailJSONMocked ¶ added in v0.9.0
func GetCloudAccountFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
GetCloudAccountFailJSONMocked test mocked function
func GetCloudAccountFailStatusMocked ¶ added in v0.9.0
func GetCloudAccountFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
GetCloudAccountFailStatusMocked test mocked function
func GetCloudAccountListFailErrMocked ¶
func GetCloudAccountListFailErrMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
GetCloudAccountListFailErrMocked test mocked function
func GetCloudAccountListFailJSONMocked ¶
func GetCloudAccountListFailJSONMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
GetCloudAccountListFailJSONMocked test mocked function
func GetCloudAccountListFailStatusMocked ¶
func GetCloudAccountListFailStatusMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
GetCloudAccountListFailStatusMocked test mocked function
func GetCloudAccountListMocked ¶
func GetCloudAccountListMocked(t *testing.T, cloudAccountsIn []*types.CloudAccount) []*types.CloudAccount
GetCloudAccountListMocked test mocked function
func GetCloudAccountMocked ¶ added in v0.9.0
func GetCloudAccountMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
GetCloudAccountMocked test mocked function
Types ¶
type CloudAccountService ¶
type CloudAccountService struct {
// contains filtered or unexported fields
}
CloudAccountService manages cloudAccount operations
func NewCloudAccountService ¶
func NewCloudAccountService(concertoService utils.ConcertoService) (*CloudAccountService, error)
NewCloudAccountService returns a Concerto cloudAccount service
func (*CloudAccountService) GetCloudAccount ¶ added in v0.9.0
func (ca *CloudAccountService) GetCloudAccount(cloudAccountID string) (cloudAccount *types.CloudAccount, err error)
GetCloudAccount returns a cloudAccount by its ID
func (*CloudAccountService) GetCloudAccountList ¶
func (ca *CloudAccountService) GetCloudAccountList() (cloudAccounts []*types.CloudAccount, err error)
GetCloudAccountList returns the list of cloudAccounts as an array of CloudAccount