common

package
v1.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CycloneLogo = `` /* 188-byte string literal not displayed */

	// ControlClusterName is name of the master cluster
	ControlClusterName = "cyclone-control-cluster"

	// ControllerInstanceEnvName is environment name for workflow controller instance
	ControllerInstanceEnvName = "CONTROLLER_INSTANCE_NAME"

	// EnvSystemNamespace is the evn key to indicate which namespace the cyclone system components installed in.
	// Cyclone built-in resources(such as stage templates) will be stored in the namespace too.
	EnvSystemNamespace = "SYSTEM_NAMESPACE"

	// FolderEOFFile is a file placed in a folder to indicate content are all ready. It's used in FolderReader.
	FolderEOFFile = "__eof__"
)

Variables

This section is empty.

Functions

func GetSystemNamespace added in v0.9.6

func GetSystemNamespace() string

GetSystemNamespace ...

func NewClusterClient added in v0.9.6

func NewClusterClient(c *v1alpha1.ClusterCredential, inCluster bool) (*kubernetes.Clientset, error)

NewClusterClient creates a client for k8s cluster

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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