boot

package
v3.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SecretName  default boot secret name
	SecretName = "jx-boot"

	// GitOperatorNamespace default namespace for the git operator
	GitOperatorNamespace = "jx-git-operator"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BootSecret

type BootSecret struct {
	// URL the git URL to poll for git operator
	URL string
	// GitProviderURL the git provider URL such as: https://github.com
	GitProviderURL string
	// Username the git user name to clone git
	Username string
	// Password the git password/token to clone git
	Password string
	// GitInitCommands the optional commands to configure git before we clone
	GitInitCommands string
}

BootSecret loads the boot secret

func LoadBootSecret

func LoadBootSecret(kubeClient kubernetes.Interface, ns, operatorNamespace, secretName, defaultUserName string) (*BootSecret, error)

LoadBootSecret loads the boot secret from the current namespace

Jump to

Keyboard shortcuts

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