staging

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultCleanupTimeout = 15 * time.Minute

Variables

This section is empty.

Functions

func IsCleanupTimeout

func IsCleanupTimeout(start *metav1.Time, timeout time.Duration) bool

func NewController

func NewController(
	teamName string,
	namespace string,
	authToken string,
	s2hClient samsahairpc.RPC,
	mgr manager.Manager,
	queueCtrl internal.QueueController,
	configCtrl internal.ConfigController,
	teamcityBaseURL string,
	teamcityUsername string,
	teamcityPassword string,
	gitlabBaseURL string,
	gitlabToken string,
	configs internal.StagingConfig,
) internal.StagingController

TODO: move test runner config to be optional

func WaitForComponentsCleaned

func WaitForComponentsCleaned(
	c client.Client,
	deployEngine internal.DeployEngine,
	parentComps map[string]*s2hv1.Component,
	namespace string,
	startCleaningTime *metav1.Time,
	cleanupTimeout time.Duration,
) (bool, error)

Types

This section is empty.

Directories

Path Synopsis
deploy
testrunner

Jump to

Keyboard shortcuts

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