Documentation
¶
Index ¶
- Constants
- func NewConsul() *e2e.HTTPService
- func NewConsulWithName(name string) *e2e.HTTPService
- func NewETCD() *e2e.HTTPService
- func NewMinio(port int, bktNames ...string) *e2e.HTTPService
- func NewPostgres(name string) *e2e.ConcreteService
- func NewPrometheus(image string, flags map[string]string) *e2e.HTTPService
- func NewPrometheusWithName(name string, image string, flags map[string]string) *e2e.HTTPService
Constants ¶
View Source
const ( MinioAccessKey = "Cheescake" MinioSecretKey = "supersecret" PostgresDB = "configs_test" PostgresUser = "postgres" PostgresPort = 5432 PostgresHostName = "configs-db" )
Variables ¶
This section is empty.
Functions ¶
func NewConsul ¶
func NewConsul() *e2e.HTTPService
func NewConsulWithName ¶ added in v1.15.0
func NewConsulWithName(name string) *e2e.HTTPService
func NewETCD ¶ added in v1.1.0
func NewETCD() *e2e.HTTPService
func NewMinio ¶
func NewMinio(port int, bktNames ...string) *e2e.HTTPService
NewMinio returns minio server, used as a local replacement for S3.
func NewPostgres ¶
func NewPostgres(name string) *e2e.ConcreteService
NewPostgres returns a postgres server suitable for tests that need a real database (e.g. the configs API). The default database, user and port match the values exposed as Postgres* constants in this package.
func NewPrometheus ¶ added in v1.17.0
func NewPrometheus(image string, flags map[string]string) *e2e.HTTPService
func NewPrometheusWithName ¶ added in v1.17.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.