Documentation
¶
Index ¶
- Constants
- Variables
- func AddContainerImages(product *models.Product, version string, instructions string, ...) *models.Product
- func AddVersions(product *models.Product, versions ...string) *models.Product
- func CreateFakeChart(name string) (*chart.Chart, string, string)
- func CreateFakeContainerImage(url string, tags ...string) *models.DockerURLDetails
- func CreateFakeMetaFile(name, version, productVersion string) *models.MetaFile
- func CreateFakeOVA(name, version string) *models.ProductDeploymentFile
- func CreateFakeOtherFile(name, version string) *models.AddOnFile
- func CreateFakeProduct(id, name, slug, solutionType string) *models.Product
- func DefineCommonSteps(define Definitions)
- func MakeBytesResponse(body []byte) *http.Response
- func MakeFailingBodyResponse(errorMessage string) *http.Response
- func MakeJSONResponse(body interface{}) *http.Response
- func MakeStringResponse(body string) *http.Response
- type FailingReadWriter
Constants ¶
View Source
const ( Nginx = "nginx" NginxVersion = "1.22.0_150_r04" TKG = "tanzu-kubenetes-grid-1-111-1-1" TKGVersion = "1.5.4" ChartProductSlug = "nginx" ChartProductVersion = "1.21.1_0" ContainerImageProductSlug = "cloudian-s3-compatible-object-storage-for-tkgs0-1-1" ContainerImageProductVersion = "1.2.1" VMProductSlug = "nginxstack" VMProductVersion = "1.21.0_1" )
Variables ¶
View Source
var ( CommandSession *gexec.Session EnvVars []string )
Functions ¶
func AddContainerImages ¶
func CreateFakeContainerImage ¶
func CreateFakeContainerImage(url string, tags ...string) *models.DockerURLDetails
func CreateFakeMetaFile ¶
func CreateFakeOVA ¶
func CreateFakeOVA(name, version string) *models.ProductDeploymentFile
func CreateFakeOtherFile ¶
func CreateFakeProduct ¶
func DefineCommonSteps ¶
func DefineCommonSteps(define Definitions)
func MakeBytesResponse ¶
func MakeFailingBodyResponse ¶
func MakeJSONResponse ¶
func MakeStringResponse ¶
Types ¶
type FailingReadWriter ¶
type FailingReadWriter struct {
Message string
}
Click to show internal directories.
Click to hide internal directories.