Documentation ¶
Index ¶
- func CreateCloudAccountFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
- func CreateCloudAccountFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
- func CreateCloudAccountFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
- func CreateCloudAccountMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
- func CreateSaasAccountFailErrMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
- func CreateSaasAccountFailJSONMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
- func CreateSaasAccountFailStatusMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
- func CreateSaasAccountMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
- func DeleteCloudAccountFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount)
- func DeleteCloudAccountFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount)
- func DeleteCloudAccountMocked(t *testing.T, cloudAccountIn *types.CloudAccount)
- func DeleteSaasAccountFailErrMocked(t *testing.T, saasAccountIn *types.SaasAccount)
- func DeleteSaasAccountFailStatusMocked(t *testing.T, saasAccountIn *types.SaasAccount)
- func DeleteSaasAccountMocked(t *testing.T, saasAccountIn *types.SaasAccount)
- 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 GetSaasAccountListFailErrMocked(t *testing.T, saasAccountsIn *[]types.SaasAccount) *[]types.SaasAccount
- func GetSaasAccountListFailJSONMocked(t *testing.T, saasAccountsIn *[]types.SaasAccount) *[]types.SaasAccount
- func GetSaasAccountListFailStatusMocked(t *testing.T, saasAccountsIn *[]types.SaasAccount) *[]types.SaasAccount
- func GetSaasAccountListMocked(t *testing.T, saasAccountsIn *[]types.SaasAccount) *[]types.SaasAccount
- func GetSettingsReportErrMocked(t *testing.T, settingsReport *types.SettingsReport) *types.SettingsReport
- func GetSettingsReportFailJSONMocked(t *testing.T, settingsReport *types.SettingsReport) *types.SettingsReport
- func GetSettingsReportFailStatusMocked(t *testing.T, settingsReport *types.SettingsReport) *types.SettingsReport
- func GetSettingsReportListErrMocked(t *testing.T, settingsReportsIn *[]types.SettingsReport) *[]types.SettingsReport
- func GetSettingsReportListFailJSONMocked(t *testing.T, settingsReportsIn *[]types.SettingsReport) *[]types.SettingsReport
- func GetSettingsReportListFailStatusMocked(t *testing.T, settingsReportsIn *[]types.SettingsReport) *[]types.SettingsReport
- func GetSettingsReportListMocked(t *testing.T, settingsReportsIn *[]types.SettingsReport) *[]types.SettingsReport
- func GetSettingsReportMocked(t *testing.T, settingsReport *types.SettingsReport) *types.SettingsReport
- func UpdateCloudAccountFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
- func UpdateCloudAccountFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
- func UpdateCloudAccountFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
- func UpdateCloudAccountMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
- func UpdateSaasAccountFailErrMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
- func UpdateSaasAccountFailJSONMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
- func UpdateSaasAccountFailStatusMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
- func UpdateSaasAccountMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
- type CloudAccountService
- func (ca *CloudAccountService) CreateCloudAccount(cloudAccountVector *map[string]interface{}) (cloudAccount *types.CloudAccount, err error)
- func (ca *CloudAccountService) DeleteCloudAccount(ID string) (err error)
- func (ca *CloudAccountService) GetCloudAccountList() (cloudAccounts []types.CloudAccount, err error)
- func (ca *CloudAccountService) UpdateCloudAccount(cloudAccountVector *map[string]interface{}, ID string) (cloudAccount *types.CloudAccount, err error)
- type SaasAccountService
- func (dm *SaasAccountService) CreateSaasAccount(saasAccountVector *map[string]interface{}) (saasAccount *types.SaasAccount, err error)
- func (dm *SaasAccountService) DeleteSaasAccount(ID string) (err error)
- func (dm *SaasAccountService) GetSaasAccountList() (saasAccounts []types.SaasAccount, err error)
- func (dm *SaasAccountService) UpdateSaasAccount(saasAccountVector *map[string]interface{}, ID string) (saasAccount *types.SaasAccount, err error)
- type SettingsReportService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCloudAccountFailErrMocked ¶
func CreateCloudAccountFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
CreateCloudAccountFailErrMocked test mocked function
func CreateCloudAccountFailJSONMocked ¶
func CreateCloudAccountFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
CreateCloudAccountFailJSONMocked test mocked function
func CreateCloudAccountFailStatusMocked ¶
func CreateCloudAccountFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
CreateCloudAccountFailStatusMocked test mocked function
func CreateCloudAccountMocked ¶
func CreateCloudAccountMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
CreateCloudAccountMocked test mocked function
func CreateSaasAccountFailErrMocked ¶
func CreateSaasAccountFailErrMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
CreateSaasAccountFailErrMocked test mocked function
func CreateSaasAccountFailJSONMocked ¶
func CreateSaasAccountFailJSONMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
CreateSaasAccountFailJSONMocked test mocked function
func CreateSaasAccountFailStatusMocked ¶
func CreateSaasAccountFailStatusMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
CreateSaasAccountFailStatusMocked test mocked function
func CreateSaasAccountMocked ¶
func CreateSaasAccountMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
CreateSaasAccountMocked test mocked function
func DeleteCloudAccountFailErrMocked ¶
func DeleteCloudAccountFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount)
DeleteCloudAccountFailErrMocked test mocked function
func DeleteCloudAccountFailStatusMocked ¶
func DeleteCloudAccountFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount)
DeleteCloudAccountFailStatusMocked test mocked function
func DeleteCloudAccountMocked ¶
func DeleteCloudAccountMocked(t *testing.T, cloudAccountIn *types.CloudAccount)
DeleteCloudAccountMocked test mocked function
func DeleteSaasAccountFailErrMocked ¶
func DeleteSaasAccountFailErrMocked(t *testing.T, saasAccountIn *types.SaasAccount)
DeleteSaasAccountFailErrMocked test mocked function
func DeleteSaasAccountFailStatusMocked ¶
func DeleteSaasAccountFailStatusMocked(t *testing.T, saasAccountIn *types.SaasAccount)
DeleteSaasAccountFailStatusMocked test mocked function
func DeleteSaasAccountMocked ¶
func DeleteSaasAccountMocked(t *testing.T, saasAccountIn *types.SaasAccount)
DeleteSaasAccountMocked 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 GetSaasAccountListFailErrMocked ¶
func GetSaasAccountListFailErrMocked(t *testing.T, saasAccountsIn *[]types.SaasAccount) *[]types.SaasAccount
GetSaasAccountListFailErrMocked test mocked function
func GetSaasAccountListFailJSONMocked ¶
func GetSaasAccountListFailJSONMocked(t *testing.T, saasAccountsIn *[]types.SaasAccount) *[]types.SaasAccount
GetSaasAccountListFailJSONMocked test mocked function
func GetSaasAccountListFailStatusMocked ¶
func GetSaasAccountListFailStatusMocked(t *testing.T, saasAccountsIn *[]types.SaasAccount) *[]types.SaasAccount
GetSaasAccountListFailStatusMocked test mocked function
func GetSaasAccountListMocked ¶
func GetSaasAccountListMocked(t *testing.T, saasAccountsIn *[]types.SaasAccount) *[]types.SaasAccount
GetSaasAccountListMocked test mocked function
func GetSettingsReportErrMocked ¶
func GetSettingsReportErrMocked(t *testing.T, settingsReport *types.SettingsReport) *types.SettingsReport
GetSettingsReportErrMocked test mocked function
func GetSettingsReportFailJSONMocked ¶
func GetSettingsReportFailJSONMocked(t *testing.T, settingsReport *types.SettingsReport) *types.SettingsReport
GetSettingsReportFailJSONMocked test mocked function
func GetSettingsReportFailStatusMocked ¶
func GetSettingsReportFailStatusMocked(t *testing.T, settingsReport *types.SettingsReport) *types.SettingsReport
GetSettingsReportFailStatusMocked test mocked function
func GetSettingsReportListErrMocked ¶
func GetSettingsReportListErrMocked(t *testing.T, settingsReportsIn *[]types.SettingsReport) *[]types.SettingsReport
GetSettingsReportListErrMocked test mocked function
func GetSettingsReportListFailJSONMocked ¶
func GetSettingsReportListFailJSONMocked(t *testing.T, settingsReportsIn *[]types.SettingsReport) *[]types.SettingsReport
GetSettingsReportListFailJSONMocked test mocked function
func GetSettingsReportListFailStatusMocked ¶
func GetSettingsReportListFailStatusMocked(t *testing.T, settingsReportsIn *[]types.SettingsReport) *[]types.SettingsReport
GetSettingsReportListFailStatusMocked test mocked function
func GetSettingsReportListMocked ¶
func GetSettingsReportListMocked(t *testing.T, settingsReportsIn *[]types.SettingsReport) *[]types.SettingsReport
GetSettingsReportListMocked test mocked function
func GetSettingsReportMocked ¶
func GetSettingsReportMocked(t *testing.T, settingsReport *types.SettingsReport) *types.SettingsReport
GetSettingsReportMocked test mocked function
func UpdateCloudAccountFailErrMocked ¶
func UpdateCloudAccountFailErrMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
UpdateCloudAccountFailErrMocked test mocked function
func UpdateCloudAccountFailJSONMocked ¶
func UpdateCloudAccountFailJSONMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
UpdateCloudAccountFailJSONMocked test mocked function
func UpdateCloudAccountFailStatusMocked ¶
func UpdateCloudAccountFailStatusMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
UpdateCloudAccountFailStatusMocked test mocked function
func UpdateCloudAccountMocked ¶
func UpdateCloudAccountMocked(t *testing.T, cloudAccountIn *types.CloudAccount) *types.CloudAccount
UpdateCloudAccountMocked test mocked function
func UpdateSaasAccountFailErrMocked ¶
func UpdateSaasAccountFailErrMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
UpdateSaasAccountFailErrMocked test mocked function
func UpdateSaasAccountFailJSONMocked ¶
func UpdateSaasAccountFailJSONMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
UpdateSaasAccountFailJSONMocked test mocked function
func UpdateSaasAccountFailStatusMocked ¶
func UpdateSaasAccountFailStatusMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
UpdateSaasAccountFailStatusMocked test mocked function
func UpdateSaasAccountMocked ¶
func UpdateSaasAccountMocked(t *testing.T, saasAccountIn *types.SaasAccount) *types.SaasAccount
UpdateSaasAccountMocked 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) CreateCloudAccount ¶
func (ca *CloudAccountService) CreateCloudAccount(cloudAccountVector *map[string]interface{}) (cloudAccount *types.CloudAccount, err error)
CreateCloudAccount creates a cloudAccount
func (*CloudAccountService) DeleteCloudAccount ¶
func (ca *CloudAccountService) DeleteCloudAccount(ID string) (err error)
DeleteCloudAccount deletes 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
func (*CloudAccountService) UpdateCloudAccount ¶
func (ca *CloudAccountService) UpdateCloudAccount(cloudAccountVector *map[string]interface{}, ID string) (cloudAccount *types.CloudAccount, err error)
UpdateCloudAccount updates a cloudAccount by its ID
type SaasAccountService ¶
type SaasAccountService struct {
// contains filtered or unexported fields
}
SaasAccountService manages saasAccount operations
func NewSaasAccountService ¶
func NewSaasAccountService(concertoService utils.ConcertoService) (*SaasAccountService, error)
NewSaasAccountService returns a Concerto saasAccount service
func (*SaasAccountService) CreateSaasAccount ¶
func (dm *SaasAccountService) CreateSaasAccount(saasAccountVector *map[string]interface{}) (saasAccount *types.SaasAccount, err error)
CreateSaasAccount creates a saasAccount
func (*SaasAccountService) DeleteSaasAccount ¶
func (dm *SaasAccountService) DeleteSaasAccount(ID string) (err error)
DeleteSaasAccount deletes a saasAccount by its ID
func (*SaasAccountService) GetSaasAccountList ¶
func (dm *SaasAccountService) GetSaasAccountList() (saasAccounts []types.SaasAccount, err error)
GetSaasAccountList returns the list of saasAccounts as an array of SaasAccount
func (*SaasAccountService) UpdateSaasAccount ¶
func (dm *SaasAccountService) UpdateSaasAccount(saasAccountVector *map[string]interface{}, ID string) (saasAccount *types.SaasAccount, err error)
UpdateSaasAccount updates a saasAccount by its ID
type SettingsReportService ¶
type SettingsReportService struct {
// contains filtered or unexported fields
}
SettingsReportService manages report operations
func NewSettingsReportService ¶
func NewSettingsReportService(concertoService utils.ConcertoService) (*SettingsReportService, error)
NewSettingsReportService returns a Concerto report service
func (*SettingsReportService) GetSettingsReport ¶
func (rs *SettingsReportService) GetSettingsReport(ID string) (report *types.SettingsReport, err error)
GetSettingsReport returns a report by its ID
func (*SettingsReportService) GetSettingsReportList ¶
func (rs *SettingsReportService) GetSettingsReportList() (reports []types.SettingsReport, err error)
GetSettingsReportList returns the list of reports as an array of Report