Documentation ¶
Overview ¶
Package catalog contains objects and resources, which are used by multiple tests
Package catalog contains objects and resources, which are used by multiple tests
Index ¶
- func CreateCatalogService(catalogService models.CatalogService)
- func CreateCatalogServiceInNamespace(namespace string, catalogService models.CatalogService)
- func CreateCatalogServiceNginx() models.CatalogService
- func CreateService(name, namespace string, catalogService models.CatalogService)
- func CreateServiceWithoutCatalog(name, namespace string, catalogService models.CatalogService)
- func CreateServiceX(name, namespace string, catalogService models.CatalogService, ...)
- func CreateUnlabeledService(name, namespace string, catalogService models.CatalogService)
- func DeleteCatalogService(name string)
- func DeleteCatalogServiceFromNamespace(namespace, name string)
- func DeleteService(name, namespace string)
- func GetConfigurationBindingName(namespaceName, configurationName, appName string) string
- func NewAppName() string
- func NewCatalogServiceName() string
- func NewCatalogServiceNamePrefixed(prefix string) string
- func NewConfigurationName() string
- func NewGitconfigName() string
- func NewNamespaceName() string
- func NewServiceName() string
- func NewServiceNamePrefixed(prefix string) string
- func NewTmpName(base string) string
- func NewUserCredentials() (string, string)
- func NginxCatalogService(name string) models.CatalogService
- func RandInt() int
- func SampleServiceTmpFile(namespace string, catalogService models.CatalogService) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCatalogService ¶ added in v0.9.0
func CreateCatalogService(catalogService models.CatalogService)
func CreateCatalogServiceInNamespace ¶ added in v0.9.0
func CreateCatalogServiceInNamespace(namespace string, catalogService models.CatalogService)
Create catalog service in the cluster. The catalog entry is applied via kubectl, after conversion into a yaml file
func CreateCatalogServiceNginx ¶ added in v1.4.0
func CreateCatalogServiceNginx() models.CatalogService
func CreateService ¶ added in v0.9.0
func CreateService(name, namespace string, catalogService models.CatalogService)
Create a service (instance) from a catalog entry, without going through epinio. Although the code is quite similar.
func CreateServiceWithoutCatalog ¶ added in v1.4.0
func CreateServiceWithoutCatalog(name, namespace string, catalogService models.CatalogService)
func CreateServiceX ¶ added in v1.4.0
func CreateServiceX(name, namespace string, catalogService models.CatalogService, label, broken bool)
Create a service (instance) from a catalog entry, without going through epinio. Although the code is quite similar.
func CreateUnlabeledService ¶ added in v1.4.0
func CreateUnlabeledService(name, namespace string, catalogService models.CatalogService)
func DeleteCatalogService ¶ added in v0.9.0
func DeleteCatalogService(name string)
func DeleteCatalogServiceFromNamespace ¶ added in v0.9.0
func DeleteCatalogServiceFromNamespace(namespace, name string)
func DeleteService ¶ added in v1.4.0
func DeleteService(name, namespace string)
Remove a service instance without going through epinio. Code is analogous though
func GetConfigurationBindingName ¶ added in v0.6.0
func NewAppName ¶
func NewAppName() string
func NewCatalogServiceName ¶ added in v0.6.2
func NewCatalogServiceName() string
func NewCatalogServiceNamePrefixed ¶ added in v1.4.0
func NewConfigurationName ¶ added in v0.6.0
func NewConfigurationName() string
func NewGitconfigName ¶ added in v1.10.0
func NewGitconfigName() string
func NewNamespaceName ¶ added in v0.2.1
func NewNamespaceName() string
func NewServiceName ¶
func NewServiceName() string
func NewServiceNamePrefixed ¶ added in v1.4.0
func NewTmpName ¶ added in v0.0.23
func NewUserCredentials ¶ added in v0.1.4
func NginxCatalogService ¶ added in v1.4.0
func NginxCatalogService(name string) models.CatalogService
func RandInt ¶ added in v0.1.4
func RandInt() int
RandInt return a random integer produced with a new seed every time. This guarantees that future test runs won't collide with any possible left overs from previous runs. More here: https://gobyexample.com/random-numbers
func SampleServiceTmpFile ¶ added in v0.9.0
func SampleServiceTmpFile(namespace string, catalogService models.CatalogService) string
Create temp file to hold the catalog service formatted as yaml, and return the path
Types ¶
This section is empty.