Documentation ¶
Index ¶
- func EnterDockercfg() string
- func EnterGitHostAccessToken(serviceRepo string) string
- func EnterGitRepo() string
- func EnterGitWebhookSecret(repoURL string) string
- func EnterImageRepoExternalRepository() string
- func EnterImageRepoInternalRegistry() string
- func EnterInternalRegistry() string
- func EnterOutputPath() string
- func EnterPrefix() string
- func EnterSealedSecretService(sealedSecretService *types.NamespacedName) string
- func EnterServiceRepoURL() string
- func EnterServiceWebhookSecret() string
- func SelectOptionOverwrite(path string) string
- func SelectOptionPushToGit() bool
- func SelectPrivateRepoDriver() string
- func SetupCommitStatusTracker() bool
- func UseInternalRegistry() bool
- func UseKeyringRingSvc() bool
- func ValidateAccessToken(input interface{}, serviceRepo string) error
- func ValidateName(name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnterDockercfg ¶
func EnterDockercfg() string
EnterDockercfg allows the user to specify the path to the docker config json file for external image registry authentication in a UI prompt.
func EnterGitHostAccessToken ¶
EnterGitHostAccessToken , it becomes necessary to add the personal access token to access upstream git hosts.
func EnterGitRepo ¶
func EnterGitRepo() string
EnterGitRepo allows the user to specify the git repository in a prompt.
func EnterGitWebhookSecret ¶
EnterGitWebhookSecret allows the user to specify the webhook secret string they wish to authenticate push/pull to GitOps repo in a UI prompt.
func EnterImageRepoExternalRepository ¶
func EnterImageRepoExternalRepository() string
EnterImageRepoExternalRepository allows the user to specify the type of image registry they wish to use in a UI prompt.
func EnterImageRepoInternalRegistry ¶
func EnterImageRepoInternalRegistry() string
EnterImageRepoInternalRegistry allows the user to specify the internal image registry in a UI prompt.
func EnterInternalRegistry ¶
func EnterInternalRegistry() string
EnterInternalRegistry allows the user to specify the internal registry in a UI prompt.
func EnterOutputPath ¶
func EnterOutputPath() string
EnterOutputPath allows the user to specify the path where the gitops configuration must reside locally in a UI prompt.
func EnterPrefix ¶
func EnterPrefix() string
EnterPrefix , if we desire to add the prefix to differentiate between namespaces, then this is the way forward.
func EnterSealedSecretService ¶
func EnterSealedSecretService(sealedSecretService *types.NamespacedName) string
EnterSealedSecretService , prompts the UI to ask for the sealed-secrets-namespaces
func EnterServiceRepoURL ¶
func EnterServiceRepoURL() string
EnterServiceRepoURL , allows users to differentiate between the bootstrap and init options, addition of the service repo url will allow users to bootstrap an environment through the UI prompt.
func EnterServiceWebhookSecret ¶
func EnterServiceWebhookSecret() string
EnterServiceWebhookSecret allows the user to specify the webhook secret string they wish to authenticate push/pull to service repo in a UI prompt.
func SelectOptionOverwrite ¶
SelectOptionOverwrite allows users the option to overwrite the current gitops configuration locally through the UI prompt.
func SelectOptionPushToGit ¶ added in v0.0.11
func SelectOptionPushToGit() bool
SelectOptionPushToGit allows users the option to select if they want to incorporate the feature of the commit status tracker through the UI prompt.
func SelectPrivateRepoDriver ¶
func SelectPrivateRepoDriver() string
SelectPrivateRepoDriver lets users choose the driver for their git hosting service.
func SetupCommitStatusTracker ¶ added in v0.0.13
func SetupCommitStatusTracker() bool
SetupCommitStatusTracker allows users the option to select if they want to incorporate the feature of the commit status tracker through the UI prompt.
func UseInternalRegistry ¶ added in v0.0.13
func UseInternalRegistry() bool
UseInternalRegistry , allows users an option between the Internal image registry and the external image registry through the UI prompt.
func UseKeyringRingSvc ¶ added in v0.0.13
func UseKeyringRingSvc() bool
UseKeyringRingSvc , allows users an option between the Internal image registry and the external image registry through the UI prompt.
func ValidateAccessToken ¶ added in v0.0.13
ValidateAccessToken validates if the access token is correct for a particular service repo
func ValidateName ¶
ValidateName will do validation of application & component names according to DNS (RFC 1123) rules Criteria for valid name in kubernetes: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/architecture/identifiers.md
Types ¶
This section is empty.