Documentation ¶
Index ¶
- func DeployAppFailErrMocked(t *testing.T, appIn *types.WizardApp) *types.Server
- func DeployAppFailJSONMocked(t *testing.T, appIn *types.WizardApp) *types.Server
- func DeployAppFailStatusMocked(t *testing.T, appIn *types.WizardApp) *types.Server
- func DeployAppMocked(t *testing.T, appIn *types.WizardApp) *types.Server
- func ListAppsFailErrMocked(t *testing.T, appsIn []*types.WizardApp) []*types.WizardApp
- func ListAppsFailJSONMocked(t *testing.T, appsIn []*types.WizardApp) []*types.WizardApp
- func ListAppsFailStatusMocked(t *testing.T, appsIn []*types.WizardApp) []*types.WizardApp
- func ListAppsMocked(t *testing.T, appsIn []*types.WizardApp) []*types.WizardApp
- func ListLocationsFailErrMocked(t *testing.T, locationsIn []*types.Location) []*types.Location
- func ListLocationsFailJSONMocked(t *testing.T, locationsIn []*types.Location) []*types.Location
- func ListLocationsFailStatusMocked(t *testing.T, locationsIn []*types.Location) []*types.Location
- func ListLocationsMocked(t *testing.T, locationsIn []*types.Location) []*types.Location
- func ListWizardCloudProvidersFailErrMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider, AppID string, ...) []*types.CloudProvider
- func ListWizardCloudProvidersFailJSONMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider, AppID string, ...) []*types.CloudProvider
- func ListWizardCloudProvidersFailStatusMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider, AppID string, ...) []*types.CloudProvider
- func ListWizardCloudProvidersMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider, AppID string, ...) []*types.CloudProvider
- func ListWizardServerPlansFailErrMocked(t *testing.T, serverPlansIn []*types.ServerPlan, AppID string, LocID string, ...) []*types.ServerPlan
- func ListWizardServerPlansFailJSONMocked(t *testing.T, serverPlansIn []*types.ServerPlan, AppID string, LocID string, ...) []*types.ServerPlan
- func ListWizardServerPlansFailStatusMocked(t *testing.T, serverPlansIn []*types.ServerPlan, AppID string, LocID string, ...) []*types.ServerPlan
- func ListWizardServerPlansMocked(t *testing.T, serverPlansIn []*types.ServerPlan, AppID string, LocID string, ...) []*types.ServerPlan
- type AppService
- type LocationService
- type WizardCloudProviderService
- type WizardServerPlanService
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 ListAppsFailErrMocked ¶ added in v0.12.0
ListAppsFailErrMocked test mocked function
func ListAppsFailJSONMocked ¶ added in v0.12.0
ListAppsFailJSONMocked test mocked function
func ListAppsFailStatusMocked ¶ added in v0.12.0
ListAppsFailStatusMocked test mocked function
func ListAppsMocked ¶ added in v0.12.0
ListAppsMocked test mocked function
func ListLocationsFailErrMocked ¶ added in v0.12.0
ListLocationsFailErrMocked test mocked function
func ListLocationsFailJSONMocked ¶ added in v0.12.0
ListLocationsFailJSONMocked test mocked function
func ListLocationsFailStatusMocked ¶ added in v0.12.0
ListLocationsFailStatusMocked test mocked function
func ListLocationsMocked ¶ added in v0.12.0
ListLocationsMocked test mocked function
func ListWizardCloudProvidersFailErrMocked ¶ added in v0.12.0
func ListWizardCloudProvidersFailErrMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider, AppID string, LocID string) []*types.CloudProvider
ListWizardCloudProvidersFailErrMocked test mocked function
func ListWizardCloudProvidersFailJSONMocked ¶ added in v0.12.0
func ListWizardCloudProvidersFailJSONMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider, AppID string, LocID string) []*types.CloudProvider
ListWizardCloudProvidersFailJSONMocked test mocked function
func ListWizardCloudProvidersFailStatusMocked ¶ added in v0.12.0
func ListWizardCloudProvidersFailStatusMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider, AppID string, LocID string) []*types.CloudProvider
ListWizardCloudProvidersFailStatusMocked test mocked function
func ListWizardCloudProvidersMocked ¶ added in v0.12.0
func ListWizardCloudProvidersMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider, AppID string, LocID string) []*types.CloudProvider
ListWizardCloudProvidersMocked test mocked function
func ListWizardServerPlansFailErrMocked ¶ added in v0.12.0
func ListWizardServerPlansFailErrMocked(t *testing.T, serverPlansIn []*types.ServerPlan, AppID string, LocID string, ProviderID string) []*types.ServerPlan
ListWizardServerPlansFailErrMocked test mocked function
func ListWizardServerPlansFailJSONMocked ¶ added in v0.12.0
func ListWizardServerPlansFailJSONMocked(t *testing.T, serverPlansIn []*types.ServerPlan, AppID string, LocID string, ProviderID string) []*types.ServerPlan
ListWizardServerPlansFailJSONMocked test mocked function
func ListWizardServerPlansFailStatusMocked ¶ added in v0.12.0
func ListWizardServerPlansFailStatusMocked(t *testing.T, serverPlansIn []*types.ServerPlan, AppID string, LocID string, ProviderID string) []*types.ServerPlan
ListWizardServerPlansFailStatusMocked test mocked function
func ListWizardServerPlansMocked ¶ added in v0.12.0
func ListWizardServerPlansMocked(t *testing.T, serverPlansIn []*types.ServerPlan, AppID string, LocID string, ProviderID string) []*types.ServerPlan
ListWizardServerPlansMocked 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
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) ListLocations ¶ added in v0.12.0
func (ls *LocationService) ListLocations() (locations []*types.Location, err error)
ListLocations returns the list of locations as an array of Location
type WizardCloudProviderService ¶ added in v0.12.0
type WizardCloudProviderService struct {
// contains filtered or unexported fields
}
WizardCloudProviderService manages wizard cloud provider operations
func NewWizardCloudProviderService ¶ added in v0.12.0
func NewWizardCloudProviderService(concertoService utils.ConcertoService) (*WizardCloudProviderService, error)
NewWizardCloudProviderService returns a Concerto WizardCloudProvider service
func (*WizardCloudProviderService) ListWizardCloudProviders ¶ added in v0.12.0
func (wcps *WizardCloudProviderService) ListWizardCloudProviders(appID string, locationID string) (cloudProviders []*types.CloudProvider, err error)
ListWizardCloudProviders returns the list of cloud providers as an array of CloudProvider
type WizardServerPlanService ¶ added in v0.12.0
type WizardServerPlanService struct {
// contains filtered or unexported fields
}
WizardServerPlanService manages wizard server plan operations
func NewWizardServerPlanService ¶ added in v0.12.0
func NewWizardServerPlanService(concertoService utils.ConcertoService) (*WizardServerPlanService, error)
NewWizardServerPlanService returns a Concerto serverPlan service
func (*WizardServerPlanService) ListWizardServerPlans ¶ added in v0.12.0
func (wsps *WizardServerPlanService) ListWizardServerPlans(appID string, locationID string, cloudProviderID string) (serverPlans []*types.ServerPlan, err error)
ListWizardServerPlans returns the list of server plans as an array of ServerPlan