Documentation ¶
Index ¶
- Variables
- func RunBuildCompletePodDeleteTest(t testingT, clusterAdminClient buildv1clienttyped.BuildsGetter, ...)
- func RunBuildConfigChangeControllerTest(t testingT, clusterAdminBuildClient buildv1clienttyped.BuildV1Interface, ...)
- func RunBuildControllerPodSyncTest(t testingT, buildClient buildv1clienttyped.BuildsGetter, ...)
- func RunBuildControllerTest(t testingT, buildClient buildv1clienttyped.BuildsGetter, ...)
- func RunBuildDeleteTest(t testingT, clusterAdminClient buildv1clienttyped.BuildsGetter, ...)
- func RunBuildRunningPodDeleteTest(t testingT, clusterAdminClient buildv1clienttyped.BuildsGetter, ...)
- func RunImageChangeTriggerTest(t testingT, clusterAdminBuildClient buildv1clienttyped.BuildV1Interface, ...)
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 // BuildControllerTestTransitionTimeout is the time RunBuildControllerPodSyncTest waits // for a build trasition to occur after the pod's status has been updated BuildControllerTestTransitionTimeout = 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 buildv1clienttyped.BuildsGetter, clusterAdminKubeClientset kubernetes.Interface, ns string)
func RunBuildConfigChangeControllerTest ¶
func RunBuildConfigChangeControllerTest(t testingT, clusterAdminBuildClient buildv1clienttyped.BuildV1Interface, ns string)
func RunBuildControllerPodSyncTest ¶
func RunBuildControllerPodSyncTest(t testingT, buildClient buildv1clienttyped.BuildsGetter, kClient kubernetes.Interface, ns string)
func RunBuildControllerTest ¶
func RunBuildControllerTest(t testingT, buildClient buildv1clienttyped.BuildsGetter, kClientset kubernetes.Interface, ns string)
func RunBuildDeleteTest ¶
func RunBuildDeleteTest(t testingT, clusterAdminClient buildv1clienttyped.BuildsGetter, clusterAdminKubeClientset kubernetes.Interface, ns string)
func RunBuildRunningPodDeleteTest ¶
func RunBuildRunningPodDeleteTest(t testingT, clusterAdminClient buildv1clienttyped.BuildsGetter, clusterAdminKubeClientset kubernetes.Interface, ns string)
func RunImageChangeTriggerTest ¶
func RunImageChangeTriggerTest(t testingT, clusterAdminBuildClient buildv1clienttyped.BuildV1Interface, clusterAdminImageClient imagev1clienttyped.ImageV1Interface, ns string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.