questionnaire

package
v0.0.0-...-2798f75 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskAboutKubeContext

func AskAboutKubeContext(kubeOptions *entity.Kube) error

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

Jump to

Keyboard shortcuts

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