staging

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultCleanupTimeout = 15 * time.Minute

Variables

This section is empty.

Functions

func ErrorComponentNotExist

func ErrorComponentNotExist(name string) error

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,
	configMgr internal.ConfigManager,
	teamcityBaseURL string,
	teamcityUsername string,
	teamcityPassword string,
	configs internal.StagingConfig,
) internal.StagingController

func WaitForComponentsCleaned

func WaitForComponentsCleaned(
	c client.Client,
	deployEngine internal.DeployEngine,
	parentComps map[string]*internal.Component,
	teamName string,
	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