Documentation ¶
Index ¶
- func AskAboutKubeContext(kubeOptions *entity.Kube) error
- func AskAboutNamespace(kubeOptions *entity.Kube, kubeClient kube.Kube, setDefaultNamespace bool) error
- func AskAboutSyncOptions(installOptions *entity.InstallCmdOptions)
- type ArgoQuestionnaire
- type CodefreshCredentialsQuestionnaire
- type GitContextQuestionnaire
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskAboutKubeContext ¶
AskAboutKubeContext provide ability select specific context if here few declared in one kubeconfig
func AskAboutNamespace ¶
func AskAboutNamespace(kubeOptions *entity.Kube, kubeClient kube.Kube, setDefaultNamespace bool) error
AskAboutNamespace request provide namespace name if we not found argocd namespace on your cluster
func AskAboutSyncOptions ¶
func AskAboutSyncOptions(installOptions *entity.InstallCmdOptions)
AskAboutSyncOptions ask about specific sync mode
Types ¶
type ArgoQuestionnaire ¶
type ArgoQuestionnaire struct {
// contains filtered or unexported fields
}
func NewArgoQuestionnaire ¶
func NewArgoQuestionnaire() *ArgoQuestionnaire
func (*ArgoQuestionnaire) AskAboutArgoCredentials ¶
func (argoQuestionnaire *ArgoQuestionnaire) AskAboutArgoCredentials(installOptions *entity.InstallCmdOptions, kubeClient kube.Kube) error
AskAboutArgoCredentials request argocd credentials if it wasnt passed in cli during installation
type CodefreshCredentialsQuestionnaire ¶
type CodefreshCredentialsQuestionnaire struct {
// contains filtered or unexported fields
}
func NewCodefreshCredentialsQuestionnaire ¶
func NewCodefreshCredentialsQuestionnaire() *CodefreshCredentialsQuestionnaire
func (*CodefreshCredentialsQuestionnaire) AskAboutCodefreshCredentials ¶
func (credentialsQuestionnaire *CodefreshCredentialsQuestionnaire) AskAboutCodefreshCredentials(installOptions *entity.InstallCmdOptions) error
AskAboutCodefreshCredentials request codefresh credentials if it wasnt passed in cli , by default we are taking it from codefresh config file
type GitContextQuestionnaire ¶
type GitContextQuestionnaire struct {
// contains filtered or unexported fields
}
func NewGitContextQuestionnaire ¶
func NewGitContextQuestionnaire() *GitContextQuestionnaire
func (*GitContextQuestionnaire) AskAboutGitContext ¶
func (questionnaire *GitContextQuestionnaire) AskAboutGitContext(installOptions *entity.InstallCmdOptions) error
AskAboutGitContext request git integration , should be selected from list of codefresh git contexts
Click to show internal directories.
Click to hide internal directories.