cloudspecificextension

package
v0.15.0-rc Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const APIPathCseDeployment = "/cse/deployments/%s"
View Source
const APIPathCseDeployments = "/cse/deployments"
View Source
const APIPathCseTemplate = "/cse/templates/%s"
View Source
const APIPathCseTemplateDeployments = "/cse/templates/%s/deployments"
View Source
const APIPathCseTemplates = "/cse/templates"

Variables

This section is empty.

Functions

func CreateDeploymentFailErrMocked

func CreateDeploymentFailErrMocked(
	t *testing.T,
	templateID string,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
) *types.CloudSpecificExtensionDeployment

CreateDeploymentFailErrMocked test mocked function

func CreateDeploymentFailJSONMocked

func CreateDeploymentFailJSONMocked(
	t *testing.T,
	templateID string,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
) *types.CloudSpecificExtensionDeployment

CreateDeploymentFailJSONMocked test mocked function

func CreateDeploymentFailStatusMocked

func CreateDeploymentFailStatusMocked(
	t *testing.T,
	templateID string,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
) *types.CloudSpecificExtensionDeployment

CreateDeploymentFailStatusMocked test mocked function

func CreateDeploymentMocked

func CreateDeploymentMocked(
	t *testing.T,
	templateID string,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
) *types.CloudSpecificExtensionDeployment

CreateDeploymentMocked test mocked function

func CreateTemplateFailErrMocked

func CreateTemplateFailErrMocked(
	t *testing.T,
	cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate,
) *types.CloudSpecificExtensionTemplate

CreateTemplateFailErrMocked test mocked function

func CreateTemplateFailJSONMocked

func CreateTemplateFailJSONMocked(
	t *testing.T,
	cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate,
) *types.CloudSpecificExtensionTemplate

CreateTemplateFailJSONMocked test mocked function

func CreateTemplateFailStatusMocked

func CreateTemplateFailStatusMocked(
	t *testing.T,
	cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate,
) *types.CloudSpecificExtensionTemplate

CreateTemplateFailStatusMocked test mocked function

func CreateTemplateMocked

func CreateTemplateMocked(
	t *testing.T,
	cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate,
) *types.CloudSpecificExtensionTemplate

CreateTemplateMocked test mocked function

func DeleteDeploymentFailErrMocked

func DeleteDeploymentFailErrMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
)

DeleteDeploymentFailErrMocked test mocked function

func DeleteDeploymentFailJSONMocked

func DeleteDeploymentFailJSONMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
) *types.CloudSpecificExtensionDeployment

DeleteDeploymentFailJSONMocked test mocked function

func DeleteDeploymentFailStatusMocked

func DeleteDeploymentFailStatusMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
)

DeleteDeploymentFailStatusMocked test mocked function

func DeleteDeploymentMocked

func DeleteDeploymentMocked(t *testing.T, cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment)

DeleteDeploymentMocked test mocked function

func DeleteTemplateFailErrMocked

func DeleteTemplateFailErrMocked(t *testing.T, cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate)

DeleteTemplateFailErrMocked test mocked function

func DeleteTemplateFailStatusMocked

func DeleteTemplateFailStatusMocked(
	t *testing.T,
	cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate,
)

DeleteTemplateFailStatusMocked test mocked function

func DeleteTemplateMocked

func DeleteTemplateMocked(t *testing.T, cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate)

DeleteTemplateMocked test mocked function

func GetDeploymentFailErrMocked

func GetDeploymentFailErrMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
) *types.CloudSpecificExtensionDeployment

GetDeploymentFailErrMocked test mocked function

func GetDeploymentFailJSONMocked

func GetDeploymentFailJSONMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
) *types.CloudSpecificExtensionDeployment

GetDeploymentFailJSONMocked test mocked function

func GetDeploymentFailStatusMocked

func GetDeploymentFailStatusMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
) *types.CloudSpecificExtensionDeployment

GetDeploymentFailStatusMocked test mocked function

func GetDeploymentMocked

func GetDeploymentMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
) *types.CloudSpecificExtensionDeployment

GetDeploymentMocked test mocked function

func GetTemplateFailErrMocked

func GetTemplateFailErrMocked(
	t *testing.T,
	cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate,
) *types.CloudSpecificExtensionTemplate

GetTemplateFailErrMocked test mocked function

func GetTemplateFailJSONMocked

func GetTemplateFailJSONMocked(
	t *testing.T,
	cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate,
) *types.CloudSpecificExtensionTemplate

GetTemplateFailJSONMocked test mocked function

func GetTemplateFailStatusMocked

func GetTemplateFailStatusMocked(
	t *testing.T,
	cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate,
) *types.CloudSpecificExtensionTemplate

GetTemplateFailStatusMocked test mocked function

func GetTemplateMocked

func GetTemplateMocked(
	t *testing.T,
	cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate,
) *types.CloudSpecificExtensionTemplate

GetTemplateMocked test mocked function

func ListDeploymentsFailErrMocked

func ListDeploymentsFailErrMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentsIn []*types.CloudSpecificExtensionDeployment,
) []*types.CloudSpecificExtensionDeployment

ListDeploymentsFailErrMocked test mocked function

func ListDeploymentsFailJSONMocked

func ListDeploymentsFailJSONMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentsIn []*types.CloudSpecificExtensionDeployment,
) []*types.CloudSpecificExtensionDeployment

ListDeploymentsFailJSONMocked test mocked function

func ListDeploymentsFailStatusMocked

func ListDeploymentsFailStatusMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentsIn []*types.CloudSpecificExtensionDeployment,
) []*types.CloudSpecificExtensionDeployment

ListDeploymentsFailStatusMocked test mocked function

func ListDeploymentsMocked

func ListDeploymentsMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentsIn []*types.CloudSpecificExtensionDeployment,
) []*types.CloudSpecificExtensionDeployment

ListDeploymentsMocked test mocked function

func ListTemplateDeploymentsFailErrMocked

func ListTemplateDeploymentsFailErrMocked(
	t *testing.T,
	cloudAccountID string,
	cloudSpecificExtensionDeploymentsIn []*types.CloudSpecificExtensionDeployment,
) []*types.CloudSpecificExtensionDeployment

ListTemplateDeploymentsFailErrMocked test mocked function

func ListTemplateDeploymentsFailJSONMocked

func ListTemplateDeploymentsFailJSONMocked(
	t *testing.T,
	cloudAccountID string,
	cloudSpecificExtensionDeploymentsIn []*types.CloudSpecificExtensionDeployment,
) []*types.CloudSpecificExtensionDeployment

ListTemplateDeploymentsFailJSONMocked test mocked function

func ListTemplateDeploymentsFailStatusMocked

func ListTemplateDeploymentsFailStatusMocked(
	t *testing.T,
	cloudAccountID string,
	cloudSpecificExtensionDeploymentsIn []*types.CloudSpecificExtensionDeployment,
) []*types.CloudSpecificExtensionDeployment

ListTemplateDeploymentsFailStatusMocked test mocked function

func ListTemplateDeploymentsMocked

func ListTemplateDeploymentsMocked(
	t *testing.T,
	cloudAccountID string,
	cloudSpecificExtensionDeploymentsIn []*types.CloudSpecificExtensionDeployment,
) []*types.CloudSpecificExtensionDeployment

ListTemplateDeploymentsMocked test mocked function

func ListTemplatesFailErrMocked

func ListTemplatesFailErrMocked(
	t *testing.T,
	cloudSpecificExtensionTemplatesIn []*types.CloudSpecificExtensionTemplate,
) []*types.CloudSpecificExtensionTemplate

ListTemplatesFailErrMocked test mocked function

func ListTemplatesFailJSONMocked

func ListTemplatesFailJSONMocked(
	t *testing.T,
	cloudSpecificExtensionTemplatesIn []*types.CloudSpecificExtensionTemplate,
) []*types.CloudSpecificExtensionTemplate

ListTemplatesFailJSONMocked test mocked function

func ListTemplatesFailStatusMocked

func ListTemplatesFailStatusMocked(
	t *testing.T,
	cloudSpecificExtensionTemplatesIn []*types.CloudSpecificExtensionTemplate,
) []*types.CloudSpecificExtensionTemplate

ListTemplatesFailStatusMocked test mocked function

func ListTemplatesMocked

func ListTemplatesMocked(
	t *testing.T,
	cloudSpecificExtensionTemplatesIn []*types.CloudSpecificExtensionTemplate,
) []*types.CloudSpecificExtensionTemplate

ListTemplatesMocked test mocked function

func UpdateDeploymentFailErrMocked

func UpdateDeploymentFailErrMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
) *types.CloudSpecificExtensionDeployment

UpdateDeploymentFailErrMocked test mocked function

func UpdateDeploymentFailJSONMocked

func UpdateDeploymentFailJSONMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
) *types.CloudSpecificExtensionDeployment

UpdateDeploymentFailJSONMocked test mocked function

func UpdateDeploymentFailStatusMocked

func UpdateDeploymentFailStatusMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
) *types.CloudSpecificExtensionDeployment

UpdateDeploymentFailStatusMocked test mocked function

func UpdateDeploymentMocked

func UpdateDeploymentMocked(
	t *testing.T,
	cloudSpecificExtensionDeploymentIn *types.CloudSpecificExtensionDeployment,
) *types.CloudSpecificExtensionDeployment

UpdateDeploymentMocked test mocked function

func UpdateTemplateFailErrMocked

func UpdateTemplateFailErrMocked(
	t *testing.T,
	cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate,
) *types.CloudSpecificExtensionTemplate

UpdateTemplateFailErrMocked test mocked function

func UpdateTemplateFailJSONMocked

func UpdateTemplateFailJSONMocked(
	t *testing.T,
	cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate,
) *types.CloudSpecificExtensionTemplate

UpdateTemplateFailJSONMocked test mocked function

func UpdateTemplateFailStatusMocked

func UpdateTemplateFailStatusMocked(
	t *testing.T,
	cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate,
) *types.CloudSpecificExtensionTemplate

UpdateTemplateFailStatusMocked test mocked function

func UpdateTemplateMocked

func UpdateTemplateMocked(
	t *testing.T,
	cloudSpecificExtensionTemplateIn *types.CloudSpecificExtensionTemplate,
) *types.CloudSpecificExtensionTemplate

UpdateTemplateMocked test mocked function

Types

type CloudSpecificExtensionDeploymentService

type CloudSpecificExtensionDeploymentService struct {
	// contains filtered or unexported fields
}

CloudSpecificExtensionDeploymentService manages cloud specific extension deployment operations

func NewCloudSpecificExtensionDeploymentService

func NewCloudSpecificExtensionDeploymentService(
	concertoService utils.ConcertoService,
) (*CloudSpecificExtensionDeploymentService, error)

NewCloudSpecificExtensionDeploymentService returns a Concerto cloud specific extension deployment service

func (*CloudSpecificExtensionDeploymentService) CreateDeployment

func (cseds *CloudSpecificExtensionDeploymentService) CreateDeployment(
	templateID string,
	deploymentParams *map[string]interface{},
) (deployment *types.CloudSpecificExtensionDeployment, err error)

CreateDeployment creates a cloud specific extension deployment

func (*CloudSpecificExtensionDeploymentService) DeleteDeployment

func (cseds *CloudSpecificExtensionDeploymentService) DeleteDeployment(
	deploymentID string,
) (deployment *types.CloudSpecificExtensionDeployment, err error)

DeleteDeployment deletes a cloud specific extension deployment by its ID

func (*CloudSpecificExtensionDeploymentService) GetDeployment

func (cseds *CloudSpecificExtensionDeploymentService) GetDeployment(
	deploymentID string,
) (deployment *types.CloudSpecificExtensionDeployment, err error)

GetDeployment returns a cloud specific extension deployment by its ID

func (*CloudSpecificExtensionDeploymentService) ListDeployments

func (cseds *CloudSpecificExtensionDeploymentService) ListDeployments() (
	deployments []*types.CloudSpecificExtensionDeployment, err error,
)

ListDeployments returns the list of cloud specific extension deployments as an array of CloudSpecificExtensionDeployment

func (*CloudSpecificExtensionDeploymentService) UpdateDeployment

func (cseds *CloudSpecificExtensionDeploymentService) UpdateDeployment(
	deploymentID string,
	deploymentParams *map[string]interface{},
) (deployment *types.CloudSpecificExtensionDeployment, err error)

UpdateDeployment updates a cloud specific extension deployment by its ID

type CloudSpecificExtensionTemplateService

type CloudSpecificExtensionTemplateService struct {
	// contains filtered or unexported fields
}

CloudSpecificExtensionTemplateService manages cloud specific extension template operations

func NewCloudSpecificExtensionTemplateService

func NewCloudSpecificExtensionTemplateService(
	concertoService utils.ConcertoService,
) (*CloudSpecificExtensionTemplateService, error)

NewCloudSpecificExtensionTemplateService returns a Concerto cloud specific extension template service

func (*CloudSpecificExtensionTemplateService) CreateTemplate

func (csets *CloudSpecificExtensionTemplateService) CreateTemplate(
	templateParams *map[string]interface{},
) (template *types.CloudSpecificExtensionTemplate, err error)

CreateTemplate creates a cloud specific extension template

func (*CloudSpecificExtensionTemplateService) DeleteTemplate

func (csets *CloudSpecificExtensionTemplateService) DeleteTemplate(templateID string) (err error)

DeleteTemplate deletes a cloud specific extension template by its ID

func (*CloudSpecificExtensionTemplateService) GetTemplate

func (csets *CloudSpecificExtensionTemplateService) GetTemplate(
	templateID string,
) (template *types.CloudSpecificExtensionTemplate, err error)

GetTemplate returns a cloud specific extension template by its ID

func (*CloudSpecificExtensionTemplateService) ListDeployments

func (csets *CloudSpecificExtensionTemplateService) ListDeployments(
	templateID string,
) (deployments []*types.CloudSpecificExtensionDeployment, err error)

ListDeployments returns the list of cloud specific extension deployments for a CSE template as an array of CloudSpecificExtensionDeployment

func (*CloudSpecificExtensionTemplateService) ListTemplates

func (csets *CloudSpecificExtensionTemplateService) ListTemplates() (
	templates []*types.CloudSpecificExtensionTemplate, err error,
)

ListTemplates returns the list of cloud specific extension templates as an array of CloudSpecificExtensionTemplate

func (*CloudSpecificExtensionTemplateService) UpdateTemplate

func (csets *CloudSpecificExtensionTemplateService) UpdateTemplate(
	templateID string,
	templateParams *map[string]interface{},
) (template *types.CloudSpecificExtensionTemplate, err error)

UpdateTemplate updates a cloud specific extension template by its ID

Jump to

Keyboard shortcuts

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