build

package
v3.6.99-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// BuildControllerTestWait is the time that RunBuildControllerTest waits
	// for any other changes to happen when testing whether only a single build got processed
	BuildControllerTestWait = 10 * time.Second

	// BuildPodControllerTestWait is the time that RunBuildPodControllerTest waits
	// after a state transition to make sure other state transitions don't occur unexpectedly
	BuildPodControllerTestWait = 10 * time.Second

	// BuildPodControllerTestTransitionTimeout is the time RunBuildPodControllerTest waits
	// for a build trasition to occur after the pod's status has been updated
	BuildPodControllerTestTransitionTimeout = 60 * time.Second

	// BuildControllersWatchTimeout is used by all tests to wait for watch events. In case where only
	// a single watch event is expected, the test will fail after the timeout.
	// The value is 6 minutes to allow for a resync to occur, which allows for necessarily
	// reconciliation to occur in tests where events occur in a non-deterministic order.
	BuildControllersWatchTimeout = 360 * time.Second
)

Functions

func RunBuildCompletePodDeleteTest

func RunBuildCompletePodDeleteTest(t testingT, clusterAdminClient *client.Client, clusterAdminKubeClientset kclientset.Interface)

func RunBuildConfigChangeControllerTest

func RunBuildConfigChangeControllerTest(t testingT, clusterAdminClient client.Interface, clusterAdminKubeClientset kclientset.Interface)

func RunBuildControllerTest

func RunBuildControllerTest(t testingT, osClient *client.Client, kClientset kclientset.Interface)

func RunBuildDeleteTest

func RunBuildDeleteTest(t testingT, clusterAdminClient *client.Client, clusterAdminKubeClientset kclientset.Interface)

func RunBuildPodControllerTest

func RunBuildPodControllerTest(t testingT, osClient *client.Client, kClient kclientset.Interface)

func RunBuildRunningPodDeleteTest

func RunBuildRunningPodDeleteTest(t testingT, clusterAdminClient *client.Client, clusterAdminKubeClientset kclientset.Interface)

func RunImageChangeTriggerTest

func RunImageChangeTriggerTest(t testingT, clusterAdminClient *client.Client)

Types

This section is empty.

Jump to

Keyboard shortcuts

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