wizard

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployAppFailErrMocked

func DeployAppFailErrMocked(t *testing.T, appIn *types.WizardApp) *types.Server

DeployAppFailErrMocked test mocked function

func DeployAppFailJSONMocked

func DeployAppFailJSONMocked(t *testing.T, appIn *types.WizardApp) *types.Server

DeployAppFailJSONMocked test mocked function

func DeployAppFailStatusMocked

func DeployAppFailStatusMocked(t *testing.T, appIn *types.WizardApp) *types.Server

DeployAppFailStatusMocked test mocked function

func DeployAppMocked

func DeployAppMocked(t *testing.T, appIn *types.WizardApp) *types.Server

DeployAppMocked test mocked function

func GetAppListFailErrMocked

func GetAppListFailErrMocked(t *testing.T, appsIn []*types.WizardApp) []*types.WizardApp

GetAppListFailErrMocked test mocked function

func GetAppListFailJSONMocked

func GetAppListFailJSONMocked(t *testing.T, appsIn []*types.WizardApp) []*types.WizardApp

GetAppListFailJSONMocked test mocked function

func GetAppListFailStatusMocked

func GetAppListFailStatusMocked(t *testing.T, appsIn []*types.WizardApp) []*types.WizardApp

GetAppListFailStatusMocked test mocked function

func GetAppListMocked

func GetAppListMocked(t *testing.T, appsIn []*types.WizardApp) []*types.WizardApp

GetAppListMocked test mocked function

func GetLocationListFailErrMocked

func GetLocationListFailErrMocked(t *testing.T, locationsIn []*types.Location) []*types.Location

GetLocationListFailErrMocked test mocked function

func GetLocationListFailJSONMocked

func GetLocationListFailJSONMocked(t *testing.T, locationsIn []*types.Location) []*types.Location

GetLocationListFailJSONMocked test mocked function

func GetLocationListFailStatusMocked

func GetLocationListFailStatusMocked(t *testing.T, locationsIn []*types.Location) []*types.Location

GetLocationListFailStatusMocked test mocked function

func GetLocationListMocked

func GetLocationListMocked(t *testing.T, locationsIn []*types.Location) []*types.Location

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.Server, 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) (wizCloudProviders []*types.CloudProvider, err error)

GetWizCloudProviderList returns the list of wizCloudProviders 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL