staging

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: Apache-2.0 Imports: 44 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]*s2hv1beta1.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