Documentation ¶
Index ¶
- func DeployAppFailErrMocked(t *testing.T, appIn *types.WizardApp) *types.WizardApp
- func DeployAppFailJSONMocked(t *testing.T, appIn *types.WizardApp) *types.WizardApp
- func DeployAppFailStatusMocked(t *testing.T, appIn *types.WizardApp) *types.WizardApp
- func DeployAppMocked(t *testing.T, appIn *types.WizardApp) *types.WizardApp
- func GetAppListFailErrMocked(t *testing.T, appsIn *[]types.WizardApp) *[]types.WizardApp
- func GetAppListFailJSONMocked(t *testing.T, appsIn *[]types.WizardApp) *[]types.WizardApp
- func GetAppListFailStatusMocked(t *testing.T, appsIn *[]types.WizardApp) *[]types.WizardApp
- func GetAppListMocked(t *testing.T, appsIn *[]types.WizardApp) *[]types.WizardApp
- func GetLocationListFailErrMocked(t *testing.T, locationsIn *[]types.Location) *[]types.Location
- func GetLocationListFailJSONMocked(t *testing.T, locationsIn *[]types.Location) *[]types.Location
- func GetLocationListFailStatusMocked(t *testing.T, locationsIn *[]types.Location) *[]types.Location
- func GetLocationListMocked(t *testing.T, locationsIn *[]types.Location) *[]types.Location
- func GetWizCloudProviderListFailErrMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider, AppID string, ...) *[]types.CloudProvider
- func GetWizCloudProviderListFailJSONMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider, AppID string, ...) *[]types.CloudProvider
- func GetWizCloudProviderListFailStatusMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider, AppID string, ...) *[]types.CloudProvider
- func GetWizCloudProviderListMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider, AppID string, ...) *[]types.CloudProvider
- func GetWizServerPlanListFailErrMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, AppID string, LocID string, ...) *[]types.ServerPlan
- func GetWizServerPlanListFailJSONMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, AppID string, LocID string, ...) *[]types.ServerPlan
- func GetWizServerPlanListFailStatusMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, AppID string, LocID string, ...) *[]types.ServerPlan
- func GetWizServerPlanListMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, AppID string, LocID string, ...) *[]types.ServerPlan
- type AppService
- type LocationService
- type WizCloudProvidersService
- type WizServerPlanService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployAppFailErrMocked ¶
DeployAppFailErrMocked test mocked function
func DeployAppFailJSONMocked ¶
DeployAppFailJSONMocked test mocked function
func DeployAppFailStatusMocked ¶
DeployAppFailStatusMocked test mocked function
func DeployAppMocked ¶
DeployAppMocked test mocked function
func GetAppListFailErrMocked ¶
GetAppListFailErrMocked test mocked function
func GetAppListFailJSONMocked ¶
GetAppListFailJSONMocked test mocked function
func GetAppListFailStatusMocked ¶
GetAppListFailStatusMocked test mocked function
func GetAppListMocked ¶
GetAppListMocked test mocked function
func GetLocationListFailErrMocked ¶
GetLocationListFailErrMocked test mocked function
func GetLocationListFailJSONMocked ¶
GetLocationListFailJSONMocked test mocked function
func GetLocationListFailStatusMocked ¶
GetLocationListFailStatusMocked test mocked function
func GetLocationListMocked ¶
GetLocationListMocked test mocked function
func GetWizCloudProviderListFailErrMocked ¶
func GetWizCloudProviderListFailErrMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider, AppID string, LocID string) *[]types.CloudProvider
GetWizCloudProviderListFailErrMocked test mocked function
func GetWizCloudProviderListFailJSONMocked ¶
func GetWizCloudProviderListFailJSONMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider, AppID string, LocID string) *[]types.CloudProvider
GetWizCloudProviderListFailJSONMocked test mocked function
func GetWizCloudProviderListFailStatusMocked ¶
func GetWizCloudProviderListFailStatusMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider, AppID string, LocID string) *[]types.CloudProvider
GetWizCloudProviderListFailStatusMocked test mocked function
func GetWizCloudProviderListMocked ¶
func GetWizCloudProviderListMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider, AppID string, LocID string) *[]types.CloudProvider
GetWizCloudProviderListMocked test mocked function
func GetWizServerPlanListFailErrMocked ¶
func GetWizServerPlanListFailErrMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, AppID string, LocID string, ProviderID string) *[]types.ServerPlan
GetWizServerPlanListFailErrMocked test mocked function
func GetWizServerPlanListFailJSONMocked ¶
func GetWizServerPlanListFailJSONMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, AppID string, LocID string, ProviderID string) *[]types.ServerPlan
GetWizServerPlanListFailJSONMocked test mocked function
func GetWizServerPlanListFailStatusMocked ¶
func GetWizServerPlanListFailStatusMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, AppID string, LocID string, ProviderID string) *[]types.ServerPlan
GetWizServerPlanListFailStatusMocked test mocked function
func GetWizServerPlanListMocked ¶
func GetWizServerPlanListMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, AppID string, LocID string, ProviderID string) *[]types.ServerPlan
GetWizServerPlanListMocked test mocked function
Types ¶
type AppService ¶
type AppService struct {
// contains filtered or unexported fields
}
AppService manages app operations
func NewAppService ¶
func NewAppService(concertoService utils.ConcertoService) (*AppService, error)
NewAppService returns a Concerto app service
func (*AppService) DeployApp ¶
func (as *AppService) DeployApp(appVector *map[string]interface{}, ID string) (app *types.WizardApp, err error)
DeployApp deploys a app
func (*AppService) GetAppList ¶
func (as *AppService) GetAppList() (apps []types.WizardApp, err error)
GetAppList returns the list of apps as an array of App
type LocationService ¶
type LocationService struct {
// contains filtered or unexported fields
}
LocationService manages location operations
func NewLocationService ¶
func NewLocationService(concertoService utils.ConcertoService) (*LocationService, error)
NewLocationService returns a Concerto location service
func (*LocationService) GetLocationList ¶
func (dm *LocationService) GetLocationList() (locations []types.Location, err error)
GetLocationList returns the list of locations as an array of Location
type WizCloudProvidersService ¶
type WizCloudProvidersService struct {
// contains filtered or unexported fields
}
WizCloudProvidersService manages wizCloudProviders operations
func NewWizCloudProvidersService ¶
func NewWizCloudProvidersService(concertoService utils.ConcertoService) (*WizCloudProvidersService, error)
NewWizCloudProvidersService returns a Concerto wizCloudProviders service
func (*WizCloudProvidersService) GetWizCloudProviderList ¶
func (dm *WizCloudProvidersService) GetWizCloudProviderList(AppID string, LocID string) (wizCloudProviderss []types.CloudProvider, err error)
GetWizCloudProvidersList returns the list of wizCloudProviderss as an array of CloudProvider
type WizServerPlanService ¶
type WizServerPlanService struct {
// contains filtered or unexported fields
}
WizServerPlanService manages serverPlan operations
func NewWizServerPlanService ¶
func NewWizServerPlanService(concertoService utils.ConcertoService) (*WizServerPlanService, error)
NewWizServerPlanService returns a Concerto serverPlan service
func (*WizServerPlanService) GetWizServerPlanList ¶
func (dm *WizServerPlanService) GetWizServerPlanList(AppID string, LocID string, ProviderID string) (serverPlans []types.ServerPlan, err error)
GetWizServerPlanList returns the list of serverPlans as an array of ServerPlan