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
Click to show internal directories.
Click to hide internal directories.