image_ecosystem

package
v3.9.0-alpha.3+incompa... Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2018 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPageContains

func CheckPageContains(oc *exutil.CLI, endpoint, path, contents string) (bool, error)

CheckPageContains makes a http request for an example application and checks that the result contains given string

func CreateMySQLReplicationHelpers

func CreateMySQLReplicationHelpers(c kcoreclient.PodInterface, masterDeployment, slaveDeployment, helperDeployment string, slaveCount int) (exutil.Database, []exutil.Database, exutil.Database)

CreateMySQLReplicationHelpers creates a set of MySQL helpers for master, slave and an extra helper that is used for remote login test.

func CreatePostgreSQLReplicationHelpers

func CreatePostgreSQLReplicationHelpers(c kcoreclient.PodInterface, masterDeployment, slaveDeployment, helperDeployment string, slaveCount int) (exutil.Database, []exutil.Database, exutil.Database)

CreatePostgreSQLReplicationHelpers creates a set of PostgreSQL helpers for master, slave an en extra helper that is used for remote login test.

func GetTestCaseForImages

func GetTestCaseForImages() map[string][]tc

func NewSampleRepoTest

func NewSampleRepoTest(c SampleRepoConfig) func()

NewSampleRepoTest creates a function for a new ginkgo test case that will instantiate a template from a url, kick off the buildconfig defined in that template, wait for the build/deploy, and then confirm the application is serving an expected string value.

func PostgreSQLReplicationTestFactory

func PostgreSQLReplicationTestFactory(oc *exutil.CLI, image string) func()

func RunInPodContainer

func RunInPodContainer(oc *exutil.CLI, selector labels.Selector, cmd []string) error

RunInPodContainer will run provided command in the specified pod container.

Types

type ImageBaseType

type ImageBaseType string

type SampleRepoConfig

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

Jump to

Keyboard shortcuts

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