Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApplicationNameLabel = "application.apps.nine.ch/name" ManagedByAnnotation = "app.kubernetes.io/managed-by" NctlName = "nctl" PrivateKeySecretKey = "privatekey" UsernameSecretKey = "username" PasswordSecretKey = "password" )
Variables ¶
This section is empty.
Functions ¶
func EnvVarToString ¶
func GitAuthSecretName ¶
func GitAuthSecretName(app *apps.Application) string
GitAuthSecretName returns the name of the secret which contains the git credentials for the given applications git source
func UnverifiedAppHosts ¶
func UnverifiedAppHosts(app *apps.Application) []string
func VerifiedAppHosts ¶
func VerifiedAppHosts(app *apps.Application) []string
Types ¶
type GitAuth ¶
func (GitAuth) UpdateSecret ¶
UpdateSecret replaces the data of the secret with the data from GitAuth. Only replaces fields which are non-nil.
Click to show internal directories.
Click to hide internal directories.