catalog

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

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

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 GetConfigurationBindingName(namespaceName, configurationName, appName string) string

func NewAppName

func NewAppName() string

func NewCatalogServiceName added in v0.6.2

func NewCatalogServiceName() string

func NewCatalogServiceNamePrefixed added in v1.4.0

func NewCatalogServiceNamePrefixed(prefix string) string

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 NewServiceNamePrefixed(prefix string) string

func NewTmpName added in v0.0.23

func NewTmpName(base string) string

func NewUserCredentials added in v0.1.4

func NewUserCredentials() (string, string)

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.

Jump to

Keyboard shortcuts

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