staging

package
v1.10.7 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 46 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,
	configs internal.StagingConfig,
) internal.StagingController

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