Documentation ¶
Index ¶
- Constants
- Variables
- func GetNamespaceNames(client kubernetes.Interface) ([]string, error)
- func IsPipeline(j *gojenkins.Job) bool
- func KubernetesProviderOptions() string
- func NewCmdCloudBees(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCompletion(f cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdComplianceDelete(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdComplianceLogs(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdComplianceResults(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdComplianceRun(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdComplianceStatus(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdConsole(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdContext(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonAmbassador(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonAnchore(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonCloudBees(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonGitea(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonIstio(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonKubeless(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonPipelineEvents(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateArchetype(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateBranchPattern(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateCamel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateChat(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateChatServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateChatToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateCluster(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterAKS(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterAWS(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterGKE(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterGKETerraform(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterMinikube(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterMinishift(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateDevPod(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateDocs(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateEnv(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateEtcHosts(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateGit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateGitServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateGitToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateGitUser(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateIssue(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateJHipster(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateJenkins(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateJenkinsUser(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateLile(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateMicro(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateQuickstart(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateQuickstartLocation(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateSpring(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateTokenAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateTracker(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateTrackerServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateTrackerToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDelete(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAddonCloudBees(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAddonGitea(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteApp(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteChat(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteChatServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteChatToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteContext(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteDevPod(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteEnv(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteGit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteGitServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteGitToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteJenkins(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteJenkinsUser(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeletePreview(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteQuickstartLocation(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteRepo(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTokenAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTracker(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTrackerServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTrackerToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEdit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEditAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEditBuildpack(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEditConfig(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEditEnv(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEditHelmBin(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEnvironment(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGC(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGCActivities(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGCHelm(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGCPreviews(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGet(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetActivity(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetApplications(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetBranchPattern(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetBuild(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetBuildLogs(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetBuildPack(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetCVE(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetChat(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetConfig(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetDevPod(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetEnv(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetGit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetHelmBin(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetIssue(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetIssues(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetPipeline(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetPreview(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetQuickstartLocation(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetTokenAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetTracker(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetURL(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdImport(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstall(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdLogs(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdMetrics(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdNamespace(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdOpen(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPreview(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPromote(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPrompt(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdRepo(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdRsh(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdShell(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStart(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStartPipeline(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStatus(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStep(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepBlog(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepChangelog(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepGit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepGitCredentials(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepGpgCredentials(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepHelm(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepHelmApply(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepHelmBuild(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepHelmRelease(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepNextVersion(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepNexus(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepNexusDrop(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepNexusRelease(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepPR(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepPRComment(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepPost(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepPostBuild(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepReport(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepReportActivities(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepReportReleases(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepSplitMonorepo(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepTag(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepValidate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepWaitForArtifact(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStop(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStopPipeline(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdSync(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUninstall(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpdate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpdateCluster(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpdateClusterGKE(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpdateClusterGKETerraform(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgrade(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeCLI(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeCluster(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradePlatform(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdVersion(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCompliance(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewJXCommand(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command
- type BranchPatterns
- type ByVersion
- type CallbackFn
- type CloudBeesOptions
- type CommonOptions
- func (o *CommonOptions) CreateAddonAuthConfigService() (auth.AuthConfigService, error)
- func (o *CommonOptions) CreateApiExtensionsClient() (apiextensionsclientset.Interface, error)
- func (o *CommonOptions) CreateChatAuthConfigService() (auth.AuthConfigService, error)
- func (o *CommonOptions) CreateGitAuthConfigService() (auth.AuthConfigService, error)
- func (o *CommonOptions) CreateGitAuthConfigServiceDryRun(dryRun bool) (auth.AuthConfigService, error)
- func (o *CommonOptions) CreateIssueTrackerAuthConfigService() (auth.AuthConfigService, error)
- func (c *CommonOptions) CreateTable() table.Table
- func (c *CommonOptions) Debugf(format string, a ...interface{}) (n int, err error)
- func (*CommonOptions) FindHelmChart() (string, error)
- func (o *CommonOptions) GetCloudProvider(p string) (string, error)
- func (o *CommonOptions) GetDomain(client kubernetes.Interface, domain string, provider string, ...) (string, error)
- func (o *CommonOptions) GetJenkinsURL() (string, error)
- func (o *CommonOptions) GitServerHostURLKind(hostURL string) (string, error)
- func (o *CommonOptions) GitServerKind(gitInfo *gits.GitRepositoryInfo) (string, error)
- func (o *CommonOptions) ImportProject(gitURL string, dir string, jenkinsfile string, ...) error
- func (o *CommonOptions) JXClient() (versioned.Interface, string, error)
- func (o *CommonOptions) JXClientAndDevNamespace() (versioned.Interface, string, error)
- func (o *CommonOptions) JenkinsClient() (*gojenkins.Jenkins, error)
- func (o *CommonOptions) KubeClient() (kubernetes.Interface, string, error)
- func (o *CommonOptions) LoadPipelineSecrets(kind, serviceKind string) (*corev1.SecretList, error)
- func (o *CommonOptions) ModifyDevEnvironment(callback func(env *v1.Environment) error) error
- func (c *CommonOptions) Printf(format string, a ...interface{}) (n int, err error)
- func (o *CommonOptions) Run() error
- func (c *CommonOptions) Stdout() io.Writer
- func (o *CommonOptions) TeamAndEnvironmentNames() (string, string, error)
- func (o *CommonOptions) TeamBranchPatterns() (*BranchPatterns, error)
- func (o *CommonOptions) TeamHelmBin() (string, error)
- func (o *CommonOptions) TeamSettings() (*v1.TeamSettings, error)
- type ComplianceDeleteOptions
- type ComplianceLogsOptions
- type ComplianceOptions
- type ComplianceResultsOptions
- type ComplianceRunOptions
- type ComplianceStatusOptions
- type ConsoleOptions
- type ContextOptions
- type CreateAddonAmbassadorOptions
- type CreateAddonAnchoreOptions
- type CreateAddonCloudBeesOptions
- type CreateAddonGiteaOptions
- type CreateAddonIstioOptions
- type CreateAddonKubelessOptions
- type CreateAddonOptions
- type CreateAddonPipelineEventsOptions
- type CreateArchetypeOptions
- type CreateBranchPatternOptions
- type CreateCamelOptions
- type CreateChatOptions
- type CreateChatServerOptions
- type CreateChatTokenOptions
- type CreateClusterAKSFlags
- type CreateClusterAKSOptions
- type CreateClusterAWSFlags
- type CreateClusterAWSOptions
- type CreateClusterFlags
- type CreateClusterGKEFlags
- type CreateClusterGKEOptions
- type CreateClusterGKETerraformFlags
- type CreateClusterGKETerraformOptions
- type CreateClusterMinikubeFlags
- type CreateClusterMinikubeOptions
- type CreateClusterMinishiftFlags
- type CreateClusterMinishiftOptions
- type CreateClusterOptions
- type CreateDevPodOptions
- type CreateDocsOptions
- type CreateEnvOptions
- type CreateEtcHostsOptions
- type CreateGitOptions
- type CreateGitServerOptions
- type CreateGitTokenOptions
- type CreateGitUserOptions
- type CreateIssueOptions
- type CreateJHipsterOptions
- type CreateJenkinsOptions
- type CreateJenkinsUserOptions
- type CreateLileOptions
- type CreateMicroOptions
- type CreateOptions
- type CreateProjectOptions
- type CreateQuickstartLocationOptions
- type CreateQuickstartOptions
- type CreateSpringOptions
- type CreateTokenAddonOptions
- type CreateTokenOptions
- type CreateTrackerOptions
- type CreateTrackerServerOptions
- type CreateTrackerTokenOptions
- type DeleteAddonCDXOptions
- type DeleteAddonGiteaOptions
- type DeleteAddonOptions
- type DeleteAppOptions
- type DeleteChatOptions
- type DeleteChatServerOptions
- type DeleteChatTokenOptions
- type DeleteContextOptions
- type DeleteDevPodOptions
- type DeleteEnvOptions
- type DeleteGitOptions
- type DeleteGitServerOptions
- type DeleteGitTokenOptions
- type DeleteJenkinsOptions
- type DeleteJenkinsUserOptions
- type DeleteOptions
- type DeletePreviewOptions
- type DeleteQuickstartLocationOptions
- type DeleteRepoOptions
- type DeleteTokenAddonOptions
- type DeleteTokenOptions
- type DeleteTrackerOptions
- type DeleteTrackerServerOptions
- type DeleteTrackerTokenOptions
- type EditAddonOptions
- type EditBuildpackOptions
- type EditConfigOptions
- type EditEnvOptions
- type EditHelmBinOptions
- type EditOptions
- type EnvApps
- type EnvironmentOptions
- type GCActivitiesOptions
- type GCHelmOptions
- type GCOptions
- type GCPreviewsOptions
- type GetActivityOptions
- type GetAddonOptions
- type GetApplicationsOptions
- type GetBranchPatternOptions
- type GetBuildLogsOptions
- type GetBuildOptions
- type GetBuildPackOptions
- type GetCVEOptions
- type GetChatOptions
- type GetConfigOptions
- type GetDevPodOptions
- type GetEnvOptions
- type GetGitOptions
- type GetHelmBinOptions
- type GetIssueOptions
- type GetIssuesOptions
- type GetOptions
- type GetPipelineOptions
- type GetPreviewOptions
- type GetQuickstartLocationOptions
- type GetTokenAddonOptions
- type GetTokenOptions
- type GetTrackerOptions
- type GetURLOptions
- type ImportOptions
- func (o *ImportOptions) CloneRepository() error
- func (o *ImportOptions) CreateNewRemoteRepository() error
- func (o *ImportOptions) DefaultGitIgnore() error
- func (o *ImportOptions) DiscoverGit() error
- func (o *ImportOptions) DiscoverRemoteGitURL() error
- func (o *ImportOptions) DoImport() error
- func (o *ImportOptions) DraftCreate() error
- func (o *ImportOptions) ImportProjectsFromGitHub() error
- func (o *ImportOptions) Run() error
- type InitFlags
- type InitOptions
- type InstallFlags
- type InstallOptions
- type KubernetesProvider
- type LogsOptions
- type MetricsOptions
- type ModifyRequirementsFn
- type NamespaceOptions
- type OpenOptions
- type PackageJSON
- type PreviewOptions
- type Project
- type PromoteOptions
- func (o *PromoteOptions) DiscoverAppName() (string, error)
- func (o *PromoteOptions) GetTargetNamespace(ns string, env string) (string, *v1.Environment, error)
- func (o *PromoteOptions) Promote(targetNS string, env *v1.Environment, warnIfAuto bool) (*ReleaseInfo, error)
- func (o *PromoteOptions) PromoteAllAutomatic() error
- func (o *PromoteOptions) PromoteViaPullRequest(env *v1.Environment, releaseInfo *ReleaseInfo) error
- func (o *PromoteOptions) Run() error
- func (o *PromoteOptions) WaitForPromotion(ns string, env *v1.Environment, releaseInfo *ReleaseInfo) error
- type PromptOptions
- type ReleaseInfo
- type ReleasePullRequestInfo
- type RepoOptions
- type RshOptions
- type Secrets
- type ServerFlags
- type ShellOptions
- type Start
- type StartPipelineOptions
- type StatusOptions
- type StatusSortedTestCases
- type StepBlogOptions
- type StepBlogState
- type StepChangelogOptions
- type StepChangelogState
- type StepGitCredentialsOptions
- type StepGitOptions
- type StepGpgCredentialsOptions
- type StepHelmApplyOptions
- type StepHelmBuildOptions
- type StepHelmOptions
- type StepHelmReleaseOptions
- type StepNextVersionOptions
- type StepNexusDropOptions
- type StepNexusOptions
- type StepNexusReleaseOptions
- type StepOptions
- type StepPRCommentFlags
- type StepPRCommentOptions
- type StepPROptions
- type StepPostBuildOptions
- type StepPostOptions
- type StepReportActivitiesOptions
- type StepReportOptions
- type StepReportReleasesOptions
- type StepSplitMonorepoOptions
- type StepTagFlags
- type StepTagOptions
- type StepValidateOptions
- type StepWaitForArtifactOptions
- type Stop
- type StopPipelineOptions
- type SyncOptions
- type UninstallOptions
- type UpdateClusterFlags
- type UpdateClusterGKEOptions
- type UpdateClusterGKETerraformFlags
- type UpdateClusterGKETerraformOptions
- type UpdateClusterOptions
- type UpdateOptions
- type UpgradeCLIOptions
- type UpgradeClusterOptions
- type UpgradeOptions
- type UpgradePlatformOptions
- type VersionOptions
Constants ¶
const ( MinikubeDefaultCpu = "3" MinikubeDefaultMemory = "4096" )
const ( GKE = "gke" EKS = "eks" AKS = "aks" AWS = "aws" PKS = "pks" MINIKUBE = "minikube" MINISHIFT = "minishift" KUBERNETES = "kubernetes" OPENSHIFT = "openshift" ORACLE = "oracle" IBM = "ibm" JX_INFRA = "jx-infra" )
const ( PlaceHolderAppName = "REPLACE_ME_APP_NAME" PlaceHolderGitProvider = "REPLACE_ME_GIT_PROVIDER" PlaceHolderOrg = "REPLACE_ME_ORG" DefaultWritePermissions = 0760 )
const ( JenkinsBuildPackURL = "https://github.com/jenkins-x/draft-packs.git" INGRESS_SERVICE_NAME = "jxing-nginx-ingress-controller" DEFAULT_CHARTMUSEUM_URL = "http://chartmuseum.build.cd.jenkins-x.io" )
const ( JX_GIT_TOKEN = "JX_GIT_TOKEN" JX_GIT_USER = "JX_GIT_USER" DEFAULT_CLOUD_ENVIRONMENTS_URL = "https://github.com/jenkins-x/cloud-environments" GitSecretsFile = "gitSecrets.yaml" AdminSecretsFile = "adminSecrets.yaml" ExtraValuesFile = "extraValues.yaml" JXInstallConfig = "jx-install-config" )
const ( JENKINS_X_DOCKER_REGISTRY_SERVICE_HOST = "JENKINS_X_DOCKER_REGISTRY_SERVICE_HOST" JENKINS_X_DOCKER_REGISTRY_SERVICE_PORT = "JENKINS_X_DOCKER_REGISTRY_SERVICE_PORT" ORG = "ORG" APP_NAME = "APP_NAME" PREVIEW_VERSION = "PREVIEW_VERSION" )
const ( ReleaseName = `{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}` SpecName = `{{ .Chart.Name }}` SpecVersion = `{{ .Chart.Version }}` ReleaseCrdYaml = `` /* 498-byte string literal not displayed */ )
const (
BlueOceanPath = "/blue"
)
const CLUSTER_LIST_HEADER = "PROJECT_ID"
const (
DefaultShell = "/bin/sh"
)
const (
JenkinsXQuickstartsOrganisation = "jenkins-x-quickstarts"
)
const (
VERSION = "version"
)
Variables ¶
var ( CreateAddonCloudBeesLong = templates.LongDesc(` Creates the CloudBees app for Kubernetes addon CloudBees app for Kubernetes provides unified Continuous Delivery Environment console to make it easier to do CI/CD and Environments across a number of microservices and teams `) CreateAddonCloudBeesExample = templates.Examples(` # Create the cloudbees addon jx create addon cloudbees `) )
var ( GCActivitiesLong = templates.LongDesc(` Garbage collect the Jenkins X Activity Custom Resource Definitions `) GCActivitiesExample = templates.Examples(` jx garbage collect activities jx gc activities `) )
var ( GCHelmLong = templates.LongDesc(` Garbage collect Helm ConfigMaps. To facilitate rollbacks, Helm leaves a history of chart versions in place in Kubernetes and these should be pruned at intervals to avoid consuming excessive system resources. `) GCHelmExample = templates.Examples(` jx garbage collect helm jx gc helm `) )
var ( GCPreviewsLong = templates.LongDesc(` Garbage collect Jenkins X preview environments. If a pull request is merged or closed the associated preview environment will be deleted. `) GCPreviewsExample = templates.Examples(` jx garbage collect previews jx gc previews `) )
var ( GetIssueLong = templates.LongDesc(` Display the status of an issue for a project. `) GetIssueExample = templates.Examples(` # Get the status of an issue for a project jx get issue --id ISSUE_ID `) )
var ( GetIssuesLong = templates.LongDesc(` Display one or many issues for a project. `) GetIssuesExample = templates.Examples(` # List open issues on the current project jx get issues `) )
var ( MetricsLong = templates.LongDesc(` Gets the metrics of the newest pod for a Deployment. `) MetricsExample = templates.Examples(` # displays metrics of the latest pod in deployment myapp jx metrics myapp # Tails the metrics of the container foo in the latest pod in deployment myapp jx metrics myapp -c foo `) )
var ( StatusLong = templates.LongDesc(` Gets the current status of the Kubernetes cluster `) StatusExample = templates.Examples(` # displays the current status of the kubernetes cluster jx status `) )
var ( GitAccessDescription = `` /* 363-byte string literal not displayed */ StepChangelogLong = templates.LongDesc(` Generates a Changelog for the latest tag This command will generate a Changelog as markdown for the git commit range given. If you are using GitHub it will also update the GitHub Release with the changelog. You can disable that by passing'--update-release=false' If you have just created a git tag this command will try default to the changes between the last tag and the previous one. You can always specify the exact git references (tag/sha) directly via '--previous-rev' and '--rev' The changelog is generated by parsing the git commits. It will also detect any text like 'fixes #123' to link to issue fixes. You can also use Conventional Commits notation: https://conventionalcommits.org/ to get a nicer formatted changelog. e.g. using commits like 'fix:(my feature) this my fix' or 'feat:(cheese) something' This command also generates a Release Custom Resource Definition you can include in your helm chart to give metadata about the changelog of the application along with metadata about the release (git tag, url, commits, issues fixed etc). Including this metadata in a helm charts means we can do things like automatically comment on issues when they hit Staging or Production; or give detailed descriptions of what things have changed when using GitOps to update versions in an environment by referencing the fixed issues in the Pull Request. You can opt out of the release YAML generation via the '--generate-yaml=false' option To update the release notes on GitHub / Gitea this command needs a git API token. `) + GitAccessDescription StepChangelogExample = templates.Examples(` # generate a changelog on the current source jx step changelog # specify the version to use jx step changelog --version 1.2.3 # specify the version and a header template jx step changelog --header-file docs/dev/changelog-header.md --version 1.2.3 `) GitHubIssueRegex = regexp.MustCompile(`(\#\d+)`) JIRAIssueRegex = regexp.MustCompile(`[A-Z][A-Z]+-(\d+)`) )
var ( StepGitCredentialsLong = templates.LongDesc(` This pipeline step generates a git credentials file for the current Git provider pipeline Secrets `) StepGitCredentialsExample = templates.Examples(` # generate the git credentials file in the canonical location jx step git credentials # generate the git credentials to a output file jx step git credentials -o /tmp/mycreds `) )
var ( StepGpgCredentialsLong = templates.LongDesc(` This pipeline step generates GPG credentials files from the ` + kube.SecretJenkinsReleaseGPG + ` secret `) StepGpgCredentialsExample = templates.Examples(` # generate the GPG credentials file in the canonical location jx step gpg credentials # generate the git credentials to a output file jx step gpg credentials -o /tmp/mycreds `) )
var ( StepHelmApplyLong = templates.LongDesc(` Applies the helm chart in a given directory. This step is usually used to apply any GitOps promotion changes into a Staging or Production cluster. `) StepHelmApplyExample = templates.Examples(` # apply the chart in the env folder to namespace jx-staging jx step helm apply --dir env --namespace jx-staging `) )
var ( StepHelmBuildLong = templates.LongDesc(` Builds the helm chart in a given directory. This step is usually used to validate any GitOps Pull Requests. `) StepHelmBuildExample = templates.Examples(` # builds the helm chart in the env directory jx step helm build --dir env `) )
var ( StepHelmReleaseLong = templates.LongDesc(` This pipeline step releases the Helm chart in the current directory `) StepHelmReleaseExample = templates.Examples(` jx step helm release `) )
var ( StepNextVersionLong = templates.LongDesc(` This pipeline step command works out a semantic version, writes a file ./VERSION and optionally updates a file `) StepNextVersionExample = templates.Examples(` jx step next-version jx step next-version --filename package.json jx step next-version --filename package.json --tag jx step next-version --filename package.json --tag --version 1.2.3 `) )
var ( StepNexusDropLong = templates.LongDesc(` This pipeline step command drops a Staging Nexus Repository `) StepNexusDropExample = templates.Examples(` jx step nexus drop `) )
var ( StepNexusReleaseLong = templates.LongDesc(` This pipeline step command releases a Nexus staging repository `) StepNexusReleaseExample = templates.Examples(` jx step nexus release `) )
var ( StepPostBuildLong = templates.LongDesc(` This pipeline step performs post build actions such as CVE analysis `) StepPostBuildExample = templates.Examples(` jx step post build `) )
var ( StepReportActivitiesLong = templates.LongDesc(` This pipeline step reports activities to pluggable backends like ElasticSearch `) StepReportActivitiesExample = templates.Examples(` jx step report activities `) )
var ( StepReportReleasesLong = templates.LongDesc(` This pipeline step reports releases to pluggable backends like ElasticSearch `) StepReportReleasesExample = templates.Examples(` jx step report Releases `) )
var ( StepWaitForArtifactLong = templates.LongDesc(` Waits for the given artifact to be available in a maven style repository `) StepWaitForArtifactExample = templates.Examples(` # wait for a jx step gpg credentials # generate the git credentials to a output file jx step gpg credentials -o /tmp/mycreds `) )
Functions ¶
func GetNamespaceNames ¶
func GetNamespaceNames(client kubernetes.Interface) ([]string, error)
GetNamespaceNames returns the sorted list of environment names
func IsPipeline ¶
func IsPipeline(j *gojenkins.Job) bool
func KubernetesProviderOptions ¶
func KubernetesProviderOptions() string
KubernetesProviderOptions returns all the kubernetes providers as a string
func NewCmdCloudBees ¶
func NewCmdComplianceDelete ¶
NewCmdComplianceDeletecreates a command object for the "compliance delete" action, which delete the Kubernetes resources allocated by the compliance tests
func NewCmdComplianceLogs ¶
NewCmdComplianceLogs creates a command object for the "compliance logs" action, which prints the logs of compliance tests
func NewCmdComplianceResults ¶
NewCmdComplianceResults creates a command object for the "compliance results" action, which shows the results of E2E compliance tests
func NewCmdComplianceRun ¶
NewCmdComplianceRun creates a command object for the "compliance run" action, which starts the E2E compliance tests
func NewCmdComplianceStatus ¶
NewCmdComplianceStatus creates a command object for the "compliance status" action, which retrieve the status of E2E compliance tests
func NewCmdConsole ¶
func NewCmdContext ¶
func NewCmdCreate ¶
NewCmdCreate creates a command object for the "create" command
func NewCmdCreateAddon ¶
NewCmdCreateAddon creates a command object for the "create" command
func NewCmdCreateAddonAmbassador ¶
NewCmdCreateAddonAmbassador creates a command object for the "create" command
func NewCmdCreateAddonAnchore ¶
NewCmdCreateAddonAnchore creates a command object for the "create" command
func NewCmdCreateAddonCloudBees ¶
NewCmdCreateAddonCloudBees creates a command object for the "create" command
func NewCmdCreateAddonGitea ¶
NewCmdCreateAddonGitea creates a command object for the "create" command
func NewCmdCreateAddonIstio ¶
NewCmdCreateAddonIstio creates a command object for the "create" command
func NewCmdCreateAddonKubeless ¶
NewCmdCreateAddonKubeless creates a command object for the "create" command
func NewCmdCreateAddonPipelineEvents ¶
func NewCmdCreateAddonPipelineEvents(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
NewCmdCreateAddonPipelineEvents creates a command object for the "create" command
func NewCmdCreateArchetype ¶
NewCmdCreateArchetype creates a command object for the "create" command
func NewCmdCreateBranchPattern ¶
NewCmdCreateBranchPattern creates a command object for the "create" command
func NewCmdCreateCamel ¶
NewCmdCreateCamel creates a command object for the "create" command
func NewCmdCreateChat ¶
NewCmdCreateChat creates a command object for the "create" command
func NewCmdCreateChatServer ¶
NewCmdCreateChatServer creates a command object for the "create" command
func NewCmdCreateChatToken ¶
NewCmdCreateChatToken creates a command
func NewCmdCreateCluster ¶
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdCreateClusterAKS ¶
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdCreateClusterAWS ¶
NewCmdCreateClusterAWS creates the command
func NewCmdCreateClusterGKE ¶
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdCreateClusterGKETerraform ¶
func NewCmdCreateClusterGKETerraform(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdCreateClusterMinikube ¶
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdCreateClusterMinishift ¶
func NewCmdCreateClusterMinishift(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdCreateDevPod ¶
NewCmdCreateDevPod creates a command object for the "create" command
func NewCmdCreateDocs ¶
NewCmdCreateDocs creates a command object for the "create" command
func NewCmdCreateEnv ¶
NewCmdCreateEnv creates a command object for the "create" command
func NewCmdCreateEtcHosts ¶
NewCmdCreateEtcHosts creates a command object for the "create" command
func NewCmdCreateGit ¶
NewCmdCreateGit creates a command object for the "create" command
func NewCmdCreateGitServer ¶
NewCmdCreateGitServer creates a command object for the "create" command
func NewCmdCreateGitToken ¶
NewCmdCreateGitToken creates a command
func NewCmdCreateGitUser ¶
NewCmdCreateGitUser creates a command
func NewCmdCreateIssue ¶
NewCmdCreateIssue creates a command object for the "create" command
func NewCmdCreateJHipster ¶
NewCmdCreateJHipster creates a command object for the "create" command
func NewCmdCreateJenkins ¶
NewCmdCreateJenkins creates a command object for the "create" command
func NewCmdCreateJenkinsUser ¶
NewCmdCreateJenkinsUser creates a command
func NewCmdCreateLile ¶
NewCmdCreateLile creates a command object for the "create" command
func NewCmdCreateMicro ¶
NewCmdCreateMicro creates a command object for the "create" command
func NewCmdCreateQuickstart ¶
NewCmdCreateQuickstart creates a command object for the "create" command
func NewCmdCreateQuickstartLocation ¶
func NewCmdCreateQuickstartLocation(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
NewCmdCreateQuickstartLocation creates a command object for the "create" command
func NewCmdCreateSpring ¶
NewCmdCreateSpring creates a command object for the "create" command
func NewCmdCreateToken ¶
NewCmdCreateToken creates a command object for the "create" command
func NewCmdCreateTokenAddon ¶
NewCmdCreateTokenAddon creates a command
func NewCmdCreateTracker ¶
NewCmdCreateTracker creates a command object for the "create" command
func NewCmdCreateTrackerServer ¶
NewCmdCreateTrackerServer creates a command object for the "create" command
func NewCmdCreateTrackerToken ¶
NewCmdCreateTrackerToken creates a command
func NewCmdDelete ¶
NewCmdDelete creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteAddon ¶
NewCmdDeleteAddon creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteAddonCloudBees ¶
NewCmdDeleteAddonCloudBees defines the command
func NewCmdDeleteAddonGitea ¶
NewCmdDeleteAddonGitea defines the command
func NewCmdDeleteApp ¶
NewCmdDeleteApp creates a command object for this command
func NewCmdDeleteChat ¶
NewCmdDeleteChat creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteChatServer ¶
NewCmdDeleteChatServer defines the command
func NewCmdDeleteChatToken ¶
NewCmdDeleteChatToken defines the command
func NewCmdDeleteContext ¶
NewCmdDeleteContext creates a command object for the "delete repo" command
func NewCmdDeleteDevPod ¶
NewCmdDeleteDevPod creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteEnv ¶
NewCmdDeleteEnv creates a command object for the "delete repo" command
func NewCmdDeleteGit ¶
NewCmdDeleteGit creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteGitServer ¶
NewCmdDeleteGitServer defines the command
func NewCmdDeleteGitToken ¶
NewCmdDeleteGitToken defines the command
func NewCmdDeleteJenkins ¶
NewCmdDeleteJenkins creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteJenkinsUser ¶
NewCmdDeleteJenkinsUser defines the command
func NewCmdDeletePreview ¶
NewCmdDeletePreview creates a command object
func NewCmdDeleteQuickstartLocation ¶
func NewCmdDeleteQuickstartLocation(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
NewCmdDeleteQuickstartLocation defines the command
func NewCmdDeleteRepo ¶
NewCmdDeleteRepo creates a command object for the "delete repo" command
func NewCmdDeleteToken ¶
NewCmdDeleteToken creates a command object retrieves one or more resources from a server.
func NewCmdDeleteTokenAddon ¶
NewCmdDeleteTokenAddon defines the command
func NewCmdDeleteTracker ¶
NewCmdDeleteTracker creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteTrackerServer ¶
NewCmdDeleteTrackerServer defines the command
func NewCmdDeleteTrackerToken ¶
NewCmdDeleteTrackerToken defines the command
func NewCmdEdit ¶
NewCmdEdit creates the edit command
func NewCmdEditAddon ¶
NewCmdEditAddon creates a command object for the "create" command
func NewCmdEditBuildpack ¶
NewCmdEditBuildpack creates a command object for the "create" command
func NewCmdEditConfig ¶
NewCmdEditConfig creates a command object for the "create" command
func NewCmdEditEnv ¶
NewCmdEditEnv creates a command object for the "create" command
func NewCmdEditHelmBin ¶
NewCmdEditHelmBin creates a command object for the "create" command
func NewCmdEnvironment ¶
func NewCmdGC ¶
NewCmdGC creates a command object for the generic "gc" action, which retrieves one or more resources from a server.
func NewCmdGCActivities ¶
NewCmd s a command object for the "step" command
func NewCmdGCHelm ¶
NewCmdGCHelm a command object for the "garbage collect" command
func NewCmdGCPreviews ¶
NewCmd s a command object for the "step" command
func NewCmdGet ¶
NewCmdGet creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdGetActivity ¶
NewCmdGetActivity creates the new command for: jx get version
func NewCmdGetAddon ¶
NewCmdGetAddon creates the command
func NewCmdGetApplications ¶
NewCmdGetApplications creates the new command for: jx get version
func NewCmdGetBranchPattern ¶
NewCmdGetBranchPattern creates the new command for: jx get env
func NewCmdGetBuild ¶
NewCmdGetBuild creates the command object
func NewCmdGetBuildLogs ¶
NewCmdGetBuildLogs creates the command
func NewCmdGetBuildPack ¶
NewCmdGetBuildPack creates the new command for: jx get env
func NewCmdGetCVE ¶
NewCmdGetCVE creates the command
func NewCmdGetChat ¶
NewCmdGetChat creates the command
func NewCmdGetConfig ¶
NewCmdGetConfig creates the command
func NewCmdGetDevPod ¶
NewCmdGetDevPod creates the command
func NewCmdGetEnv ¶
NewCmdGetEnv creates the new command for: jx get env
func NewCmdGetGit ¶
NewCmdGetGit creates the command
func NewCmdGetHelmBin ¶
NewCmdGetHelmBin creates the new command for: jx get env
func NewCmdGetIssue ¶
NewCmdGetIssue creates the command
func NewCmdGetIssues ¶
NewCmdGetIssues creates the command
func NewCmdGetPipeline ¶
NewCmdGetPipeline creates the command
func NewCmdGetPreview ¶
NewCmdGetPreview creates the new command for: jx get env
func NewCmdGetQuickstartLocation ¶
NewCmdGetQuickstartLocation creates the new command for: jx get env
func NewCmdGetToken ¶
NewCmdGetToken creates the command
func NewCmdGetTokenAddon ¶
NewCmdGetTokenAddon creates the command
func NewCmdGetTracker ¶
NewCmdGetTracker creates the command
func NewCmdGetURL ¶
NewCmdGetURL creates the command
func NewCmdImport ¶
func NewCmdInit ¶
NewCmdInit creates a command object for the generic "init" action, which primes a kubernetes cluster so it's ready for jenkins x to be installed
func NewCmdInstall ¶
NewCmdGet creates a command object for the generic "install" action, which installs the jenkins-x platform on a kubernetes cluster.
func NewCmdLogs ¶
func NewCmdMetrics ¶
func NewCmdNamespace ¶
func NewCmdOpen ¶
func NewCmdPreview ¶
NewCmdPreview creates a command object for the "create" command
func NewCmdPromote ¶
NewCmdPromote creates the new command for: jx get prompt
func NewCmdPrompt ¶
NewCmdPrompt creates the new command for: jx get prompt
func NewCmdRepo ¶
func NewCmdShell ¶
func NewCmdStart ¶
NewCmdStart creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdStartPipeline ¶
NewCmdStartPipeline creates the command
func NewCmdStatus ¶
func NewCmdStep ¶
NewCmdStep Steps a command object for the "step" command
func NewCmdStepBlog ¶
NewCmdStepBlog Creates a new Command object
func NewCmdStepChangelog ¶
func NewCmdStepGit ¶
NewCmdStepGit Steps a command object for the "step" command
func NewCmdStepHelm ¶
NewCmdStepHelm Steps a command object for the "step" command
func NewCmdStepHelmApply ¶
func NewCmdStepHelmBuild ¶
func NewCmdStepHelmRelease ¶
func NewCmdStepNextVersion ¶
func NewCmdStepNexus ¶
NewCmdStepNexus Steps a command object for the "step" command
func NewCmdStepNexusDrop ¶
func NewCmdStepNexusRelease ¶
func NewCmdStepPR ¶
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPRComment ¶
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPost ¶
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPostBuild ¶
func NewCmdStepReport ¶
NewCmdStep Steps a command object for the "step" command
func NewCmdStepSplitMonorepo ¶
NewCmdStepSplitMonorepo Creates a new Command object
func NewCmdStepTag ¶
func NewCmdStepValidate ¶
NewCmdStepValidate Creates a new Command object
func NewCmdStop ¶
NewCmdStop creates the command object
func NewCmdStopPipeline ¶
NewCmdStopPipeline creates the command
func NewCmdSync ¶
func NewCmdUninstall ¶
func NewCmdUpdate ¶
NewCmdUpdate creates a command object for the "update" command
func NewCmdUpdateCluster ¶
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdUpdateClusterGKE ¶
func NewCmdUpdateClusterGKETerraform ¶
func NewCmdUpdateClusterGKETerraform(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdUpgrade ¶
NewCmdUpgrade creates the command
func NewCmdUpgradeCLI ¶
NewCmdUpgradeCLI defines the command
func NewCmdUpgradeCluster ¶
NewCmdUpgradeCluster defines the command
func NewCmdUpgradePlatform ¶
NewCmdUpgradePlatform defines the command
func NewCmdVersion ¶
func NewCompliance ¶
NewCompliance creates a command object for the generic "compliance" action, which executes the compliance tests against a Kubernetes cluster
Types ¶
type BranchPatterns ¶
type ByVersion ¶
type ByVersion []string
Components for sorting versions by numeric version number where version name ends in .vddd where ddd is an arbitrary sequence of digits
type CallbackFn ¶
type CallbackFn func() error
type CloudBeesOptions ¶
type CloudBeesOptions struct { CommonOptions OnlyViewURL bool }
func (*CloudBeesOptions) OpenURL ¶
func (o *CloudBeesOptions) OpenURL(url string, label string) error
func (*CloudBeesOptions) Run ¶
func (o *CloudBeesOptions) Run() error
type CommonOptions ¶
type CommonOptions struct { Factory cmdutil.Factory Out io.Writer Err io.Writer Cmd *cobra.Command Args []string BatchMode bool Verbose bool Headless bool NoBrew bool ServiceAccount string // contains filtered or unexported fields }
CommonOptions contains common options and helper methods
func (*CommonOptions) CreateAddonAuthConfigService ¶
func (o *CommonOptions) CreateAddonAuthConfigService() (auth.AuthConfigService, error)
func (*CommonOptions) CreateApiExtensionsClient ¶
func (o *CommonOptions) CreateApiExtensionsClient() (apiextensionsclientset.Interface, error)
func (*CommonOptions) CreateChatAuthConfigService ¶
func (o *CommonOptions) CreateChatAuthConfigService() (auth.AuthConfigService, error)
func (*CommonOptions) CreateGitAuthConfigService ¶
func (o *CommonOptions) CreateGitAuthConfigService() (auth.AuthConfigService, error)
func (*CommonOptions) CreateGitAuthConfigServiceDryRun ¶
func (o *CommonOptions) CreateGitAuthConfigServiceDryRun(dryRun bool) (auth.AuthConfigService, error)
func (*CommonOptions) CreateIssueTrackerAuthConfigService ¶
func (o *CommonOptions) CreateIssueTrackerAuthConfigService() (auth.AuthConfigService, error)
func (*CommonOptions) CreateTable ¶
func (c *CommonOptions) CreateTable() table.Table
func (*CommonOptions) Debugf ¶
func (c *CommonOptions) Debugf(format string, a ...interface{}) (n int, err error)
Debugf outputs the given text to the console if verbose mode is enabled
func (*CommonOptions) FindHelmChart ¶
func (*CommonOptions) FindHelmChart() (string, error)
func (*CommonOptions) GetCloudProvider ¶
func (o *CommonOptions) GetCloudProvider(p string) (string, error)
func (*CommonOptions) GetDomain ¶
func (o *CommonOptions) GetDomain(client kubernetes.Interface, domain string, provider string, ingressNamespace string, ingressService string, externalIP string) (string, error)
func (*CommonOptions) GetJenkinsURL ¶
func (o *CommonOptions) GetJenkinsURL() (string, error)
func (*CommonOptions) GitServerHostURLKind ¶
func (o *CommonOptions) GitServerHostURLKind(hostURL string) (string, error)
func (*CommonOptions) GitServerKind ¶
func (o *CommonOptions) GitServerKind(gitInfo *gits.GitRepositoryInfo) (string, error)
func (*CommonOptions) ImportProject ¶
func (o *CommonOptions) ImportProject(gitURL string, dir string, jenkinsfile string, branchPattern, credentials string, failIfExists bool, gitProvider gits.GitProvider, authConfigSvc auth.AuthConfigService, isEnvironment bool, batchMode bool) error
ImportProject imports a MultiBranchProject into Jenkins for the given git URL
func (*CommonOptions) JXClient ¶
func (o *CommonOptions) JXClient() (versioned.Interface, string, error)
func (*CommonOptions) JXClientAndDevNamespace ¶
func (o *CommonOptions) JXClientAndDevNamespace() (versioned.Interface, string, error)
func (*CommonOptions) JenkinsClient ¶
func (o *CommonOptions) JenkinsClient() (*gojenkins.Jenkins, error)
func (*CommonOptions) KubeClient ¶
func (o *CommonOptions) KubeClient() (kubernetes.Interface, string, error)
func (*CommonOptions) LoadPipelineSecrets ¶
func (o *CommonOptions) LoadPipelineSecrets(kind, serviceKind string) (*corev1.SecretList, error)
func (*CommonOptions) ModifyDevEnvironment ¶
func (o *CommonOptions) ModifyDevEnvironment(callback func(env *v1.Environment) error) error
ModifyDevEnvironment modifies the development environment settings
func (*CommonOptions) Printf ¶
func (c *CommonOptions) Printf(format string, a ...interface{}) (n int, err error)
Printf outputs the given text to the console
func (*CommonOptions) Run ¶
func (o *CommonOptions) Run() error
func (*CommonOptions) Stdout ¶
func (c *CommonOptions) Stdout() io.Writer
func (*CommonOptions) TeamAndEnvironmentNames ¶
func (o *CommonOptions) TeamAndEnvironmentNames() (string, string, error)
func (*CommonOptions) TeamBranchPatterns ¶
func (o *CommonOptions) TeamBranchPatterns() (*BranchPatterns, error)
TeamBranchPatterns returns the team branch patterns used to enable CI/CD on branches when creating/importing projects
func (*CommonOptions) TeamHelmBin ¶
func (o *CommonOptions) TeamHelmBin() (string, error)
TeamHelmBin returns the helm binary used for a team
func (*CommonOptions) TeamSettings ¶
func (o *CommonOptions) TeamSettings() (*v1.TeamSettings, error)
TeamSettings returns the team settings
type ComplianceDeleteOptions ¶
type ComplianceDeleteOptions struct {
CommonOptions
}
ComplianceDeleteOptions options for "compliance delete" command
func (*ComplianceDeleteOptions) Run ¶
func (o *ComplianceDeleteOptions) Run() error
Run implements the "compliance delete" command
type ComplianceLogsOptions ¶
type ComplianceLogsOptions struct { CommonOptions Follow bool }
ComplianceLogsOptions options for "compliance logs" command
func (*ComplianceLogsOptions) Run ¶
func (o *ComplianceLogsOptions) Run() error
Run implements the "compliance logs" command
type ComplianceOptions ¶
type ComplianceOptions struct {
CommonOptions
}
ComplianceOptions options for compliance command
func (*ComplianceOptions) Run ¶
func (o *ComplianceOptions) Run() error
Run implements the compliance root command
type ComplianceResultsOptions ¶
type ComplianceResultsOptions struct {
CommonOptions
}
ComplianceStatusOptions options for "compliance results" command
func (*ComplianceResultsOptions) Run ¶
func (o *ComplianceResultsOptions) Run() error
Run implements the "compliance results" command
type ComplianceRunOptions ¶
type ComplianceRunOptions struct {
CommonOptions
}
ComplianceRuntOptions options for "compliance run" command
func (*ComplianceRunOptions) Run ¶
func (o *ComplianceRunOptions) Run() error
Run implements the "compliance run" command
type ComplianceStatusOptions ¶
type ComplianceStatusOptions struct {
CommonOptions
}
ComplianceStatusOptions options for "compliance status" command
func (*ComplianceStatusOptions) Run ¶
func (o *ComplianceStatusOptions) Run() error
Run implements the "compliance status" command
type ConsoleOptions ¶
type ConsoleOptions struct { GetURLOptions OnlyViewURL bool ClassicMode bool }
func (*ConsoleOptions) Run ¶
func (o *ConsoleOptions) Run() error
type ContextOptions ¶
type ContextOptions struct {
CommonOptions
}
func (*ContextOptions) PickContext ¶
func (o *ContextOptions) PickContext(names []string, defaultValue string) (string, error)
func (*ContextOptions) Run ¶
func (o *ContextOptions) Run() error
type CreateAddonAmbassadorOptions ¶
type CreateAddonAmbassadorOptions struct { CreateAddonOptions Chart string }
CreateAddonAmbassadorOptions the options for the create spring command
func (*CreateAddonAmbassadorOptions) Run ¶
func (o *CreateAddonAmbassadorOptions) Run() error
Run implements the command
type CreateAddonAnchoreOptions ¶
type CreateAddonAnchoreOptions struct { CreateAddonOptions Chart string Password string ConfigDir string }
CreateAddonAnchoreOptions the options for the create spring command
func (*CreateAddonAnchoreOptions) Run ¶
func (o *CreateAddonAnchoreOptions) Run() error
Run implements the command
type CreateAddonCloudBeesOptions ¶
type CreateAddonCloudBeesOptions struct {
CreateAddonOptions
}
CreateAddonCloudBeesOptions the options for the create spring command
func (*CreateAddonCloudBeesOptions) Run ¶
func (o *CreateAddonCloudBeesOptions) Run() error
Run implements the command
type CreateAddonGiteaOptions ¶
type CreateAddonGiteaOptions struct { CreateAddonOptions Chart string Username string Password string Email string IsAdmin bool NoUser bool NoToken bool }
CreateAddonGiteaOptions the options for the create spring command
func (*CreateAddonGiteaOptions) Run ¶
func (o *CreateAddonGiteaOptions) Run() error
Run implements the command
type CreateAddonIstioOptions ¶
type CreateAddonIstioOptions struct { CreateAddonOptions Chart string Password string ConfigDir string NoInjectorWebhook bool Dir string }
CreateAddonIstioOptions the options for the create spring command
func (*CreateAddonIstioOptions) Run ¶
func (o *CreateAddonIstioOptions) Run() error
Run implements the command
type CreateAddonKubelessOptions ¶
type CreateAddonKubelessOptions struct { CreateAddonOptions Chart string }
CreateAddonKubelessOptions the options for the create spring command
func (*CreateAddonKubelessOptions) Run ¶
func (o *CreateAddonKubelessOptions) Run() error
Run implements the command
type CreateAddonOptions ¶
type CreateAddonOptions struct { CreateOptions Namespace string Version string ReleaseName string HelmUpdate bool }
CreateAddonOptions the options for the create spring command
func (*CreateAddonOptions) CreateAddon ¶
func (o *CreateAddonOptions) CreateAddon(addon string) error
func (*CreateAddonOptions) Run ¶
func (o *CreateAddonOptions) Run() error
Run implements this command
type CreateAddonPipelineEventsOptions ¶
type CreateAddonPipelineEventsOptions struct { CreateAddonOptions Password string }
CreateAddonPipelineEventsOptions the options for the create spring command
func (*CreateAddonPipelineEventsOptions) Run ¶
func (o *CreateAddonPipelineEventsOptions) Run() error
Run implements the command
type CreateArchetypeOptions ¶
type CreateArchetypeOptions struct { CreateProjectOptions ArchetypeCatalogURL string Filter maven.ArchetypeFilter PickVersion bool Interactive bool Form maven.ArchetypeForm }
CreateArchetypeOptions the options for the create spring command
func (*CreateArchetypeOptions) CreateArchetype ¶
func (o *CreateArchetypeOptions) CreateArchetype() error
func (*CreateArchetypeOptions) Run ¶
func (o *CreateArchetypeOptions) Run() error
Run implements the generic Create command
type CreateBranchPatternOptions ¶
type CreateBranchPatternOptions struct { CreateOptions BranchPattern string }
CreateBranchPatternOptions the options for the create spring command
func (*CreateBranchPatternOptions) Run ¶
func (o *CreateBranchPatternOptions) Run() error
Run implements the command
type CreateCamelOptions ¶
type CreateCamelOptions struct {
CreateArchetypeOptions
}
CreateCamelOptions the options for the create spring command
func (*CreateCamelOptions) Run ¶
func (o *CreateCamelOptions) Run() error
Run implements the command
type CreateChatOptions ¶
type CreateChatOptions struct {
CreateOptions
}
CreateChatOptions the options for the create spring command
type CreateChatServerOptions ¶
type CreateChatServerOptions struct { CreateOptions Name string }
CreateChatServerOptions the options for the create spring command
func (*CreateChatServerOptions) Run ¶
func (o *CreateChatServerOptions) Run() error
Run implements the command
type CreateChatTokenOptions ¶
type CreateChatTokenOptions struct { CreateOptions ServerFlags ServerFlags Username string Password string ApiToken string Timeout string }
CreateChatTokenOptions the command line options for the command
func (*CreateChatTokenOptions) Run ¶
func (o *CreateChatTokenOptions) Run() error
Run implements the command
type CreateClusterAKSFlags ¶
type CreateClusterAKSFlags struct { UserName string Password string ClusterName string ResourceName string Location string NodeVMSize string NodeOSDiskSize string NodeCount string KubeVersion string PathToPublicKey string SkipLogin bool SkipProviderRegistration bool SkipResourceGroupCreation bool Tags string }
type CreateClusterAKSOptions ¶
type CreateClusterAKSOptions struct { CreateClusterOptions Flags CreateClusterAKSFlags }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterAKSOptions) Run ¶
func (o *CreateClusterAKSOptions) Run() error
type CreateClusterAWSFlags ¶
type CreateClusterAWSOptions ¶
type CreateClusterAWSOptions struct { CreateClusterOptions Flags CreateClusterAWSFlags }
CreateClusterAWSOptions contains the CLI flags
func (*CreateClusterAWSOptions) Run ¶
func (o *CreateClusterAWSOptions) Run() error
Run runs the command
type CreateClusterFlags ¶
type CreateClusterFlags struct { }
type CreateClusterGKEFlags ¶
type CreateClusterGKEOptions ¶
type CreateClusterGKEOptions struct { CreateClusterOptions Flags CreateClusterGKEFlags }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterGKEOptions) Run ¶
func (o *CreateClusterGKEOptions) Run() error
type CreateClusterGKETerraformOptions ¶
type CreateClusterGKETerraformOptions struct { CreateClusterOptions Flags CreateClusterGKETerraformFlags }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterGKETerraformOptions) Run ¶
func (o *CreateClusterGKETerraformOptions) Run() error
type CreateClusterMinikubeOptions ¶
type CreateClusterMinikubeOptions struct { CreateClusterOptions Flags CreateClusterMinikubeFlags Provider KubernetesProvider }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterMinikubeOptions) Run ¶
func (o *CreateClusterMinikubeOptions) Run() error
type CreateClusterMinishiftOptions ¶
type CreateClusterMinishiftOptions struct { CreateClusterOptions Flags CreateClusterMinishiftFlags Provider KubernetesProvider }
CreateClusterMinishiftOptions the flags for running create cluster
func (*CreateClusterMinishiftOptions) Run ¶
func (o *CreateClusterMinishiftOptions) Run() error
type CreateClusterOptions ¶
type CreateClusterOptions struct { CreateOptions InstallOptions InstallOptions Flags InitFlags Provider string }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterOptions) Run ¶
func (o *CreateClusterOptions) Run() error
type CreateDevPodOptions ¶
type CreateDevPodOptions struct { CreateOptions Label string Suffix string WorkingDir string RequestCpu string Dir string Reuse bool Sync bool }
CreateDevPodOptions the options for the create spring command
func (*CreateDevPodOptions) Run ¶
func (o *CreateDevPodOptions) Run() error
Run implements this command
type CreateDocsOptions ¶
type CreateDocsOptions struct { CreateOptions Dir string }
CreateDocsOptions the options for the create spring command
type CreateEnvOptions ¶
type CreateEnvOptions struct { CreateOptions Options v1.Environment HelmValuesConfig config.HelmValuesConfig PromotionStrategy string NoGitOps bool ForkEnvironmentGitRepo string EnvJobCredentials string GitRepositoryOptions gits.GitRepositoryOptions Prefix string BranchPattern string }
CreateEnvOptions the options for the create spring command
type CreateEtcHostsOptions ¶
type CreateEtcHostsOptions struct { CreateOptions Name string IP string }
CreateEtcHostsOptions the options for the create spring command
func (*CreateEtcHostsOptions) Run ¶
func (o *CreateEtcHostsOptions) Run() error
Run implements the command
type CreateGitOptions ¶
type CreateGitOptions struct {
CreateOptions
}
CreateGitOptions the options for the create spring command
type CreateGitServerOptions ¶
type CreateGitServerOptions struct { CreateOptions Name string }
CreateGitServerOptions the options for the create spring command
func (*CreateGitServerOptions) Run ¶
func (o *CreateGitServerOptions) Run() error
Run implements the command
type CreateGitTokenOptions ¶
type CreateGitTokenOptions struct { CreateOptions ServerFlags ServerFlags Username string Password string ApiToken string Timeout string }
CreateGitTokenOptions the command line options for the command
func (*CreateGitTokenOptions) Run ¶
func (o *CreateGitTokenOptions) Run() error
Run implements the command
type CreateGitUserOptions ¶
type CreateGitUserOptions struct { CreateOptions ServerFlags ServerFlags Username string Password string ApiToken string Email string IsAdmin bool }
CreateGitUserOptions the command line options for the command
func (*CreateGitUserOptions) Run ¶
func (o *CreateGitUserOptions) Run() error
Run implements the command
type CreateIssueOptions ¶
type CreateIssueOptions struct { CreateOptions Dir string Title string Body string Labels []string }
CreateIssueOptions the options for the create spring command
func (*CreateIssueOptions) FindGitInfo ¶
func (o *CreateIssueOptions) FindGitInfo(dir string) (*gits.GitRepositoryInfo, error)
func (*CreateIssueOptions) PopulateIssue ¶
func (o *CreateIssueOptions) PopulateIssue(issue *gits.GitIssue) error
func (*CreateIssueOptions) Run ¶
func (o *CreateIssueOptions) Run() error
Run implements the command
type CreateJHipsterOptions ¶
type CreateJHipsterOptions struct {
CreateProjectOptions
}
CreateJHipsterOptions the options for the create spring command
func (CreateJHipsterOptions) GenerateJHipster ¶
func (o CreateJHipsterOptions) GenerateJHipster(dir string) error
GenerateJHipster creates a fresh JHipster project by running jhipster on local shell
func (*CreateJHipsterOptions) Run ¶
func (o *CreateJHipsterOptions) Run() error
Run implements the command
type CreateJenkinsOptions ¶
type CreateJenkinsOptions struct {
CreateOptions
}
CreateJenkinsOptions the options for the create spring command
func (*CreateJenkinsOptions) Run ¶
func (o *CreateJenkinsOptions) Run() error
Run implements this command
type CreateJenkinsUserOptions ¶
type CreateJenkinsUserOptions struct { CreateOptions ServerFlags ServerFlags Username string Password string ApiToken string Timeout string UseBrowser bool }
CreateJenkinsUserOptions the command line options for the command
func (*CreateJenkinsUserOptions) Run ¶
func (o *CreateJenkinsUserOptions) Run() error
Run implements the command
type CreateLileOptions ¶
type CreateLileOptions struct { CreateProjectOptions OutDir string }
CreateLileOptions the options for the create spring command
func (CreateLileOptions) GenerateLile ¶
func (o CreateLileOptions) GenerateLile(dir string) error
GenerateLile creates a fresh lile project by running lile on local shell
type CreateMicroOptions ¶
type CreateMicroOptions struct {
CreateProjectOptions
}
CreateMicroOptions the options for the create spring command
func (CreateMicroOptions) GenerateMicro ¶
func (o CreateMicroOptions) GenerateMicro(dir string) error
GenerateMicro creates a fresh micro project by running micro on local shell
func (*CreateMicroOptions) Run ¶
func (o *CreateMicroOptions) Run() error
Run implements the command
type CreateOptions ¶
type CreateOptions struct { CommonOptions DisableImport bool OutDir string }
CreateOptions contains the command line options
type CreateProjectOptions ¶
type CreateProjectOptions struct { ImportOptions DisableImport bool OutDir string }
CreateProjectOptions contains the command line options
func (*CreateProjectOptions) ImportCreatedProject ¶
func (o *CreateProjectOptions) ImportCreatedProject(outDir string) error
DoImport imports the project created at the given directory
type CreateQuickstartLocationOptions ¶
type CreateQuickstartLocationOptions struct { CreateOptions GitUrl string GitKind string Owner string Includes []string Excludes []string }
CreateQuickstartLocationOptions the options for the create spring command
func (*CreateQuickstartLocationOptions) Run ¶
func (o *CreateQuickstartLocationOptions) Run() error
Run implements the command
type CreateQuickstartOptions ¶
type CreateQuickstartOptions struct { CreateProjectOptions GitHubOrganisations []string Filter quickstarts.QuickstartFilter GitProvider gits.GitProvider GitHost string IgnoreTeam bool }
CreateQuickstartOptions the options for the create spring command
func (*CreateQuickstartOptions) LoadQuickstartsFromMap ¶
func (o *CreateQuickstartOptions) LoadQuickstartsFromMap(config *auth.AuthConfig, gitMap map[string]map[string]v1.QuickStartLocation) (*quickstarts.QuickstartModel, error)
func (*CreateQuickstartOptions) Run ¶
func (o *CreateQuickstartOptions) Run() error
Run implements the generic Create command
type CreateSpringOptions ¶
type CreateSpringOptions struct { CreateProjectOptions Advanced bool SpringForm spring.SpringBootForm }
CreateSpringOptions the options for the create spring command
func (*CreateSpringOptions) Run ¶
func (o *CreateSpringOptions) Run() error
Run implements the command
type CreateTokenAddonOptions ¶
type CreateTokenAddonOptions struct { CreateOptions ServerFlags ServerFlags Username string Password string ApiToken string Timeout string Kind string }
CreateTokenAddonOptions the command line options for the command
func (*CreateTokenAddonOptions) Run ¶
func (o *CreateTokenAddonOptions) Run() error
Run implements the command
type CreateTokenOptions ¶
type CreateTokenOptions struct {
CreateOptions
}
CreateTokenOptions the options for the create spring command
func (*CreateTokenOptions) Run ¶
func (o *CreateTokenOptions) Run() error
Run implements this command
type CreateTrackerOptions ¶
type CreateTrackerOptions struct {
CreateOptions
}
CreateTrackerOptions the options for the create spring command
func (*CreateTrackerOptions) Run ¶
func (o *CreateTrackerOptions) Run() error
Run implements this command
type CreateTrackerServerOptions ¶
type CreateTrackerServerOptions struct { CreateOptions Name string }
CreateTrackerServerOptions the options for the create spring command
func (*CreateTrackerServerOptions) Run ¶
func (o *CreateTrackerServerOptions) Run() error
Run implements the command
type CreateTrackerTokenOptions ¶
type CreateTrackerTokenOptions struct { CreateOptions ServerFlags ServerFlags Username string Password string ApiToken string Timeout string }
CreateTrackerTokenOptions the command line options for the command
func (*CreateTrackerTokenOptions) Run ¶
func (o *CreateTrackerTokenOptions) Run() error
Run implements the command
type DeleteAddonCDXOptions ¶
type DeleteAddonCDXOptions struct { DeleteAddonOptions ReleaseName string }
DeleteAddonGiteaOptions the options for the create spring command
func (*DeleteAddonCDXOptions) Run ¶
func (o *DeleteAddonCDXOptions) Run() error
Run implements the command
type DeleteAddonGiteaOptions ¶
type DeleteAddonGiteaOptions struct { DeleteAddonOptions ReleaseName string }
DeleteAddonGiteaOptions the options for the create spring command
func (*DeleteAddonGiteaOptions) Run ¶
func (o *DeleteAddonGiteaOptions) Run() error
Run implements the command
type DeleteAddonOptions ¶
type DeleteAddonOptions struct { CommonOptions Purge bool }
DeleteAddonOptions are the flags for delete commands
func (*DeleteAddonOptions) Run ¶
func (o *DeleteAddonOptions) Run() error
Run implements this command
type DeleteAppOptions ¶
type DeleteAppOptions struct { CommonOptions SelectAll bool SelectFilter string IgnoreEnvironments bool NoMergePullRequest bool Timeout string PullRequestPollTime string // calculated fields TimeoutDuration *time.Duration PullRequestPollDuration *time.Duration }
DeleteAppOptions are the flags for this delete commands
type DeleteChatOptions ¶
type DeleteChatOptions struct {
CommonOptions
}
DeleteChatOptions are the flags for delete commands
type DeleteChatServerOptions ¶
type DeleteChatServerOptions struct { CommonOptions IgnoreMissingServer bool }
DeleteChatServerOptions the options for the create spring command
func (*DeleteChatServerOptions) Run ¶
func (o *DeleteChatServerOptions) Run() error
Run implements the command
type DeleteChatTokenOptions ¶
type DeleteChatTokenOptions struct { CreateOptions ServerFlags ServerFlags }
DeleteChatTokenOptions the options for the create spring command
func (*DeleteChatTokenOptions) Run ¶
func (o *DeleteChatTokenOptions) Run() error
Run implements the command
type DeleteContextOptions ¶
type DeleteContextOptions struct { CreateOptions SelectAll bool SelectFilter string }
DeleteContextOptions the options for the create spring command
func (*DeleteContextOptions) Run ¶
func (o *DeleteContextOptions) Run() error
Run implements the command
type DeleteDevPodOptions ¶
type DeleteDevPodOptions struct {
CommonOptions
}
DeleteDevPodOptions are the flags for delete commands
func (*DeleteDevPodOptions) Run ¶
func (o *DeleteDevPodOptions) Run() error
Run implements this command
type DeleteEnvOptions ¶
type DeleteEnvOptions struct { CommonOptions DeleteNamespace bool }
DeleteEnvOptions the options for the create spring command
type DeleteGitOptions ¶
type DeleteGitOptions struct {
CommonOptions
}
DeleteGitOptions are the flags for delete commands
type DeleteGitServerOptions ¶
type DeleteGitServerOptions struct { CommonOptions IgnoreMissingServer bool }
DeleteGitServerOptions the options for the create spring command
func (*DeleteGitServerOptions) Run ¶
func (o *DeleteGitServerOptions) Run() error
Run implements the command
type DeleteGitTokenOptions ¶
type DeleteGitTokenOptions struct { CreateOptions ServerFlags ServerFlags }
DeleteGitTokenOptions the options for the create spring command
func (*DeleteGitTokenOptions) Run ¶
func (o *DeleteGitTokenOptions) Run() error
Run implements the command
type DeleteJenkinsOptions ¶
type DeleteJenkinsOptions struct {
CommonOptions
}
DeleteJenkinsOptions are the flags for delete commands
func (*DeleteJenkinsOptions) Run ¶
func (o *DeleteJenkinsOptions) Run() error
Run implements this command
type DeleteJenkinsUserOptions ¶
type DeleteJenkinsUserOptions struct { CreateOptions ServerFlags ServerFlags }
DeleteJenkinsUserOptions the options for the create spring command
func (*DeleteJenkinsUserOptions) Run ¶
func (o *DeleteJenkinsUserOptions) Run() error
Run implements the command
type DeleteOptions ¶
type DeleteOptions struct {
CommonOptions
}
DeleteOptions are the flags for delete commands
type DeletePreviewOptions ¶
type DeletePreviewOptions struct {
PreviewOptions
}
DeletePreviewOptions are the flags for delete commands
func (*DeletePreviewOptions) Run ¶
func (o *DeletePreviewOptions) Run() error
Run implements this command
type DeleteQuickstartLocationOptions ¶
type DeleteQuickstartLocationOptions struct { CommonOptions GitUrl string Owner string }
DeleteQuickstartLocationOptions the options for the create spring command
func (*DeleteQuickstartLocationOptions) Run ¶
func (o *DeleteQuickstartLocationOptions) Run() error
Run implements the command
type DeleteRepoOptions ¶
type DeleteRepoOptions struct { CreateOptions Organisation string Repositories []string GitHost string GitHub bool SelectAll bool SelectFilter string }
DeleteRepoOptions the options for the create spring command
type DeleteTokenAddonOptions ¶
type DeleteTokenAddonOptions struct { CreateOptions ServerFlags ServerFlags Kind string }
DeleteTokenAddonOptions the options for the create spring command
func (*DeleteTokenAddonOptions) Run ¶
func (o *DeleteTokenAddonOptions) Run() error
Run implements the command
type DeleteTokenOptions ¶
type DeleteTokenOptions struct {
CommonOptions
}
DeleteTokenOptions are the flags for delete commands
func (*DeleteTokenOptions) Run ¶
func (o *DeleteTokenOptions) Run() error
Run implements this command
type DeleteTrackerOptions ¶
type DeleteTrackerOptions struct {
CommonOptions
}
DeleteTrackerOptions are the flags for delete commands
func (*DeleteTrackerOptions) Run ¶
func (o *DeleteTrackerOptions) Run() error
Run implements this command
type DeleteTrackerServerOptions ¶
type DeleteTrackerServerOptions struct { CommonOptions IgnoreMissingServer bool }
DeleteTrackerServerOptions the options for the create spring command
func (*DeleteTrackerServerOptions) Run ¶
func (o *DeleteTrackerServerOptions) Run() error
Run implements the command
type DeleteTrackerTokenOptions ¶
type DeleteTrackerTokenOptions struct { CreateOptions ServerFlags ServerFlags }
DeleteTrackerTokenOptions the options for the create spring command
func (*DeleteTrackerTokenOptions) Run ¶
func (o *DeleteTrackerTokenOptions) Run() error
Run implements the command
type EditAddonOptions ¶
type EditAddonOptions struct { EditOptions Name string Enabled string IssuesAuthConfigSvc auth.AuthConfigService }
EditAddonOptions the options for the create spring command
type EditBuildpackOptions ¶
type EditBuildpackOptions struct { EditOptions BuildPackURL string BuildPackRef string }
EditBuildpackOptions the options for the create spring command
func (*EditBuildpackOptions) Run ¶
func (o *EditBuildpackOptions) Run() error
Run implements the command
type EditConfigOptions ¶
type EditConfigOptions struct { EditOptions Dir string Kind string IssuesAuthConfigSvc auth.AuthConfigService ChatAuthConfigSvc auth.AuthConfigService }
EditConfigOptions the options for the create spring command
func (*EditConfigOptions) EditChat ¶
func (o *EditConfigOptions) EditChat(pc *config.ProjectConfig) (bool, error)
func (*EditConfigOptions) EditIssueTracker ¶
func (o *EditConfigOptions) EditIssueTracker(pc *config.ProjectConfig) (bool, error)
type EditEnvOptions ¶
type EditEnvOptions struct { CreateOptions Options v1.Environment HelmValuesConfig config.HelmValuesConfig PromotionStrategy string NoGitOps bool ForkEnvironmentGitRepo string EnvJobCredentials string GitRepositoryOptions gits.GitRepositoryOptions Prefix string BranchPattern string }
EditEnvOptions the options for the create spring command
type EditHelmBinOptions ¶
type EditHelmBinOptions struct { CreateOptions BranchPattern string }
EditHelmBinOptions the options for the create spring command
func (*EditHelmBinOptions) Run ¶
func (o *EditHelmBinOptions) Run() error
Run implements the command
type EnvApps ¶
type EnvApps struct { Environment v1.Environment Apps map[string]v1beta1.Deployment }
type EnvironmentOptions ¶
type EnvironmentOptions struct {
CommonOptions
}
func (*EnvironmentOptions) PickNamespace ¶
func (o *EnvironmentOptions) PickNamespace(client kubernetes.Interface, defaultNamespace string) (string, error)
func (*EnvironmentOptions) Run ¶
func (o *EnvironmentOptions) Run() error
type GCActivitiesOptions ¶
type GCActivitiesOptions struct { CommonOptions RevisionHistoryLimit int // contains filtered or unexported fields }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*GCActivitiesOptions) Run ¶
func (o *GCActivitiesOptions) Run() error
Run implements this command
type GCHelmOptions ¶
type GCHelmOptions struct { CommonOptions RevisionHistoryLimit int OutDir string DryRun bool NoBackup bool }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*GCHelmOptions) Run ¶
func (o *GCHelmOptions) Run() error
type GCOptions ¶
type GCOptions struct { CommonOptions Output string }
GCOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type GCPreviewsOptions ¶
type GCPreviewsOptions struct { CommonOptions DisableImport bool OutDir string }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type GetActivityOptions ¶
type GetActivityOptions struct { CommonOptions Filter string BuildNumber string Watch bool }
GetActivityOptions containers the CLI options
func (*GetActivityOptions) Run ¶
func (o *GetActivityOptions) Run() error
Run implements this command
func (*GetActivityOptions) WatchActivities ¶
type GetAddonOptions ¶
type GetAddonOptions struct {
GetOptions
}
GetAddonOptions the command line options
type GetApplicationsOptions ¶
type GetApplicationsOptions struct { CommonOptions Namespace string Environment string HideUrl bool HidePod bool Previews bool }
GetApplicationsOptions containers the CLI options
func (*GetApplicationsOptions) Run ¶
func (o *GetApplicationsOptions) Run() error
Run implements this command
type GetBranchPatternOptions ¶
type GetBranchPatternOptions struct {
GetOptions
}
GetBranchPatternOptions containers the CLI options
func (*GetBranchPatternOptions) Run ¶
func (o *GetBranchPatternOptions) Run() error
Run implements this command
type GetBuildLogsOptions ¶
type GetBuildLogsOptions struct { GetOptions Tail bool Filter string Build int }
GetBuildLogsOptions the command line options
func (*GetBuildLogsOptions) Run ¶
func (o *GetBuildLogsOptions) Run() error
Run implements this command
type GetBuildOptions ¶
type GetBuildOptions struct { CommonOptions Output string }
GetBuildOptions the command line options
type GetBuildPackOptions ¶
type GetBuildPackOptions struct {
GetOptions
}
GetBuildPackOptions containers the CLI options
func (*GetBuildPackOptions) Run ¶
func (o *GetBuildPackOptions) Run() error
Run implements this command
type GetCVEOptions ¶
type GetCVEOptions struct { GetOptions ImageName string ImageID string Version string Env string VulnerabilityType string }
GetGitOptions the command line options
type GetChatOptions ¶
type GetChatOptions struct { GetOptions Kind string Dir string }
GetChatOptions the command line options
type GetConfigOptions ¶
type GetConfigOptions struct { GetOptions Dir string }
GetConfigOptions the command line options
type GetDevPodOptions ¶
type GetDevPodOptions struct {
GetOptions
}
GetDevPodOptions the command line options
type GetEnvOptions ¶
type GetEnvOptions struct { GetOptions PromotionStrategy string PreviewOnly bool }
GetEnvOptions containers the CLI options
type GetGitOptions ¶
type GetGitOptions struct {
GetOptions
}
GetGitOptions the command line options
type GetHelmBinOptions ¶
type GetHelmBinOptions struct {
GetOptions
}
GetHelmBinOptions containers the CLI options
type GetIssueOptions ¶
type GetIssueOptions struct { GetOptions Dir string Id string }
GetIssueOptions contains the command line options
type GetIssuesOptions ¶
type GetIssuesOptions struct { GetOptions Dir string Filter string }
GetIssuesOptions contains the command line options
type GetOptions ¶
type GetOptions struct { CommonOptions Output string }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type GetPipelineOptions ¶
type GetPipelineOptions struct {
GetOptions
}
GetPipelineOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*GetPipelineOptions) Run ¶
func (o *GetPipelineOptions) Run() error
Run implements this command
type GetPreviewOptions ¶
type GetPreviewOptions struct {
GetEnvOptions
}
GetPreviewOptions containers the CLI options
type GetQuickstartLocationOptions ¶
type GetQuickstartLocationOptions struct {
GetOptions
}
GetQuickstartLocationOptions containers the CLI options
func (*GetQuickstartLocationOptions) Run ¶
func (o *GetQuickstartLocationOptions) Run() error
Run implements this command
type GetTokenAddonOptions ¶
type GetTokenAddonOptions struct {
GetTokenOptions
}
GetTokenAddonOptions the command line options
func (*GetTokenAddonOptions) Run ¶
func (o *GetTokenAddonOptions) Run() error
Run implements this command
type GetTokenOptions ¶
type GetTokenOptions struct { GetOptions Kind string Name string }
GetTokenOptions the command line options
type GetTrackerOptions ¶
type GetTrackerOptions struct { GetOptions Kind string Dir string }
GetTrackerOptions the command line options
type GetURLOptions ¶
type GetURLOptions struct { GetOptions Namespace string Environment string }
GetURLOptions the command line options
type ImportOptions ¶
type ImportOptions struct { CommonOptions RepoURL string Dir string Organisation string Repository string Credentials string AppName string GitHub bool DryRun bool SelectAll bool DisableDraft bool DisableJenkinsfileCheck bool SelectFilter string Jenkinsfile string BranchPattern string GitRepositoryOptions gits.GitRepositoryOptions ImportGitCommitMessage string ListDraftPacks bool DraftPack string DefaultOwner string DisableDotGitSearch bool InitialisedGit bool Jenkins *gojenkins.Jenkins GitConfDir string GitServer *auth.AuthServer GitUserAuth *auth.UserAuth GitProvider gits.GitProvider PostDraftPackCallback CallbackFn DisableMaven bool }
func (*ImportOptions) CloneRepository ¶
func (o *ImportOptions) CloneRepository() error
func (*ImportOptions) CreateNewRemoteRepository ¶
func (o *ImportOptions) CreateNewRemoteRepository() error
func (*ImportOptions) DefaultGitIgnore ¶
func (o *ImportOptions) DefaultGitIgnore() error
DiscoverGit checks if there is a git clone or prompts the user to import it
func (*ImportOptions) DiscoverGit ¶
func (o *ImportOptions) DiscoverGit() error
DiscoverGit checks if there is a git clone or prompts the user to import it
func (*ImportOptions) DiscoverRemoteGitURL ¶
func (o *ImportOptions) DiscoverRemoteGitURL() error
DiscoverRemoteGitURL finds the git url by looking in the directory and looking for a .git/config file
func (*ImportOptions) DoImport ¶
func (o *ImportOptions) DoImport() error
func (*ImportOptions) DraftCreate ¶
func (o *ImportOptions) DraftCreate() error
func (*ImportOptions) ImportProjectsFromGitHub ¶
func (o *ImportOptions) ImportProjectsFromGitHub() error
func (*ImportOptions) Run ¶
func (o *ImportOptions) Run() error
type InitFlags ¶
type InitFlags struct { Domain string Provider string Namespace string Username string UserClusterRole string TillerClusterRole string IngressClusterRole string TillerNamespace string IngressNamespace string IngressService string IngressDeployment string ExternalIP string DraftClient bool HelmClient bool RecreateExistingDraftRepos bool GlobalTiller bool SkipIngress bool SkipTiller bool OnPremise bool }
type InitOptions ¶
type InitOptions struct { CommonOptions Client clientset.Clientset Flags InitFlags }
InitOptions the flags for running init
func (*InitOptions) Run ¶
func (o *InitOptions) Run() error
type InstallFlags ¶
type InstallFlags struct { Domain string Provider string CloudEnvRepository string LocalHelmRepoName string Namespace string NoDefaultEnvironments bool HelmTLS bool DefaultEnvironmentPrefix string LocalCloudEnvironment bool Timeout string RegisterLocalHelmRepo bool CleanupTempFiles bool EnvironmentGitOwner string }
type InstallOptions ¶
type InstallOptions struct { CommonOptions gits.GitRepositoryOptions CreateJenkinsUserOptions CreateEnvOptions config.AdminSecretsService InitOptions InitOptions Flags InstallFlags }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type KubernetesProvider ¶
type KubernetesProvider string
type LogsOptions ¶
type LogsOptions struct { CommonOptions Container string Namespace string Environment string Filter string EditEnvironment bool }
func (*LogsOptions) Run ¶
func (o *LogsOptions) Run() error
type MetricsOptions ¶
type MetricsOptions struct { CommonOptions Namespace string Filter string Duration string Selector string Metric string }
func (*MetricsOptions) Run ¶
func (o *MetricsOptions) Run() error
type ModifyRequirementsFn ¶
type ModifyRequirementsFn func(requirements *helm.Requirements) error
callback for modifying requirements
type NamespaceOptions ¶
type NamespaceOptions struct {
CommonOptions
}
func (*NamespaceOptions) PickNamespace ¶
func (o *NamespaceOptions) PickNamespace(names []string, defaultNamespace string) (string, error)
func (*NamespaceOptions) Run ¶
func (o *NamespaceOptions) Run() error
type OpenOptions ¶
type OpenOptions struct {
ConsoleOptions
}
func (*OpenOptions) Run ¶
func (o *OpenOptions) Run() error
type PackageJSON ¶
type PackageJSON struct {
Version string `json:"version"`
}
type PreviewOptions ¶
type PreviewOptions struct { PromoteOptions Name string Label string Namespace string DevNamespace string Cluster string PullRequestURL string PullRequest string SourceURL string SourceRef string Dir string PullRequestName string GitConfDir string GitProvider gits.GitProvider GitInfo *gits.GitRepositoryInfo HelmValuesConfig config.HelmValuesConfig }
PreviewOptions the options for viewing running PRs
type PromoteOptions ¶
type PromoteOptions struct { CommonOptions Namespace string Environment string Application string Version string ReleaseName string LocalHelmRepoName string HelmRepositoryURL string NoHelmUpdate bool AllAutomatic bool NoMergePullRequest bool Timeout string PullRequestPollTime string // calculated fields TimeoutDuration *time.Duration PullRequestPollDuration *time.Duration Activities typev1.PipelineActivityInterface GitInfo *gits.GitRepositoryInfo // contains filtered or unexported fields }
PromoteOptions containers the CLI options
func (*PromoteOptions) DiscoverAppName ¶
func (o *PromoteOptions) DiscoverAppName() (string, error)
func (*PromoteOptions) GetTargetNamespace ¶
func (o *PromoteOptions) GetTargetNamespace(ns string, env string) (string, *v1.Environment, error)
func (*PromoteOptions) Promote ¶
func (o *PromoteOptions) Promote(targetNS string, env *v1.Environment, warnIfAuto bool) (*ReleaseInfo, error)
func (*PromoteOptions) PromoteAllAutomatic ¶
func (o *PromoteOptions) PromoteAllAutomatic() error
func (*PromoteOptions) PromoteViaPullRequest ¶
func (o *PromoteOptions) PromoteViaPullRequest(env *v1.Environment, releaseInfo *ReleaseInfo) error
func (*PromoteOptions) WaitForPromotion ¶
func (o *PromoteOptions) WaitForPromotion(ns string, env *v1.Environment, releaseInfo *ReleaseInfo) error
type PromptOptions ¶
type PromptOptions struct { CommonOptions NoLabel bool ShowIcon bool Prefix string Label string Separator string Divider string Suffix string LabelColor []string NamespaceColor []string ContextColor []string }
PromptOptions containers the CLI options
type ReleaseInfo ¶
type ReleaseInfo struct { ReleaseName string FullAppName string Version string PullRequestInfo *ReleasePullRequestInfo }
type ReleasePullRequestInfo ¶
type ReleasePullRequestInfo struct { GitProvider gits.GitProvider PullRequest *gits.GitPullRequest PullRequestArguments *gits.GitPullRequestArguments }
type RepoOptions ¶
type RepoOptions struct { CommonOptions Dir string OnlyViewURL bool }
func (*RepoOptions) Run ¶
func (o *RepoOptions) Run() error
type RshOptions ¶
type RshOptions struct { CommonOptions Container string Namespace string Pod string Executable string DevPod bool // contains filtered or unexported fields }
func (*RshOptions) Run ¶
func (o *RshOptions) Run() error
type ServerFlags ¶
func (*ServerFlags) IsEmpty ¶
func (f *ServerFlags) IsEmpty() bool
type ShellOptions ¶
type ShellOptions struct {
CommonOptions
}
func (*ShellOptions) PickContext ¶
func (o *ShellOptions) PickContext(names []string, defaultValue string) (string, error)
func (*ShellOptions) Run ¶
func (o *ShellOptions) Run() error
type StartPipelineOptions ¶
type StartPipelineOptions struct { GetOptions Tail bool Filter string Jobs map[string]gojenkins.Job }
StartPipelineOptions contains the command line options
func (*StartPipelineOptions) Run ¶
func (o *StartPipelineOptions) Run() error
Run implements this command
type StatusOptions ¶
type StatusOptions struct { CommonOptions // contains filtered or unexported fields }
func (*StatusOptions) Run ¶
func (o *StatusOptions) Run() error
type StatusSortedTestCases ¶
type StatusSortedTestCases []reporters.JUnitTestCase
StatusSotedTestCase implements Sort by status of a list of test case
func (StatusSortedTestCases) Len ¶
func (s StatusSortedTestCases) Len() int
func (StatusSortedTestCases) Less ¶
func (s StatusSortedTestCases) Less(i, j int) bool
func (StatusSortedTestCases) Swap ¶
func (s StatusSortedTestCases) Swap(i, j int)
type StepBlogOptions ¶
type StepBlogOptions struct { StepOptions FromDate string ToDate string Dir string BlogOutputDir string BlogName string CombineMinorReleases bool DeveloperChannelMemberCount int UserChannelMemberCount int State StepBlogState }
StepBlogOptions contains the command line flags
type StepBlogState ¶
type StepBlogState struct { GitInfo *gits.GitRepositoryInfo GitProvider gits.GitProvider Tracker issues.IssueProvider Release *v1.Release BlogFileName string DeveloperChatMetricsName string UserChatMetricsName string Buffer *bytes.Buffer Writer *bufio.Writer HistoryService *reports.ProjectHistoryService History *reports.ProjectHistory NewContributors map[string]*v1.UserDetails NewCommitters map[string]*v1.UserDetails }
type StepChangelogOptions ¶
type StepChangelogOptions struct { StepOptions PreviousRevision string PreviousDate string CurrentRevision string TemplatesDir string ReleaseYamlFile string CrdYamlFile string Dir string Version string Header string HeaderFile string OutputMarkdownFile string OverwriteCRD bool GenerateCRD bool GenerateReleaseYaml bool UpdateRelease bool State StepChangelogState }
StepChangelogOptions contains the command line flags
func (*StepChangelogOptions) Run ¶
func (o *StepChangelogOptions) Run() error
type StepChangelogState ¶
type StepChangelogState struct { GitInfo *gits.GitRepositoryInfo GitProvider gits.GitProvider Tracker issues.IssueProvider FoundIssueNames map[string]bool LoggedIssueKind bool Release *v1.Release }
type StepGitCredentialsOptions ¶
type StepGitCredentialsOptions struct { StepOptions OutputFile string }
StepGitCredentialsOptions contains the command line flags
func (*StepGitCredentialsOptions) Run ¶
func (o *StepGitCredentialsOptions) Run() error
type StepGitOptions ¶
type StepGitOptions struct {
StepOptions
}
StepGitOptions contains the command line flags
type StepGpgCredentialsOptions ¶
type StepGpgCredentialsOptions struct { StepOptions OutputDir string }
StepGpgCredentialsOptions contains the command line flags
func (*StepGpgCredentialsOptions) GenerateGpgFiles ¶
func (o *StepGpgCredentialsOptions) GenerateGpgFiles(secret *v1.Secret) error
func (*StepGpgCredentialsOptions) Run ¶
func (o *StepGpgCredentialsOptions) Run() error
type StepHelmApplyOptions ¶
type StepHelmApplyOptions struct { StepHelmOptions Namespace string ReleaseName string }
StepHelmApplyOptions contains the command line flags
func (*StepHelmApplyOptions) Run ¶
func (o *StepHelmApplyOptions) Run() error
type StepHelmBuildOptions ¶
type StepHelmBuildOptions struct {
StepHelmOptions
}
StepHelmBuildOptions contains the command line flags
func (*StepHelmBuildOptions) Run ¶
func (o *StepHelmBuildOptions) Run() error
type StepHelmOptions ¶
type StepHelmOptions struct { StepOptions Dir string }
StepHelmOptions contains the command line flags
type StepHelmReleaseOptions ¶
type StepHelmReleaseOptions struct {
StepHelmOptions
}
StepHelmReleaseOptions contains the command line flags
func (*StepHelmReleaseOptions) Run ¶
func (o *StepHelmReleaseOptions) Run() error
type StepNextVersionOptions ¶
type StepNextVersionOptions struct { Filename string Dir string Tag bool UseGitTagOnly bool NewVersion string StepOptions }
StepNextVersionOptions contains the command line flags
func (*StepNextVersionOptions) Run ¶
func (o *StepNextVersionOptions) Run() error
type StepNexusDropOptions ¶
type StepNexusDropOptions struct {
StepNexusOptions
}
StepNexusDropOptions contains the command line flags
func (*StepNexusDropOptions) Run ¶
func (o *StepNexusDropOptions) Run() error
type StepNexusOptions ¶
type StepNexusOptions struct {
StepOptions
}
StepNexusOptions contains the command line flags
type StepNexusReleaseOptions ¶
type StepNexusReleaseOptions struct { StepNexusOptions DropOnFailure bool }
StepNexusReleaseOptions contains the command line flags
func (*StepNexusReleaseOptions) Run ¶
func (o *StepNexusReleaseOptions) Run() error
type StepOptions ¶
type StepOptions struct { CommonOptions DisableImport bool OutDir string }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type StepPRCommentFlags ¶
type StepPRCommentOptions ¶
type StepPRCommentOptions struct { StepPROptions Flags StepPRCommentFlags }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*StepPRCommentOptions) Run ¶
func (o *StepPRCommentOptions) Run() error
Run implements this command
type StepPROptions ¶
type StepPROptions struct {
StepOptions
}
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type StepPostBuildOptions ¶
type StepPostBuildOptions struct { StepOptions FullImageName string OutputFile string }
StepPostBuildOptions contains the command line flags
func (*StepPostBuildOptions) Run ¶
func (o *StepPostBuildOptions) Run() error
type StepPostOptions ¶
type StepPostOptions struct { CommonOptions DisableImport bool OutDir string }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type StepReportActivitiesOptions ¶
type StepReportActivitiesOptions struct { StepReportOptions Watch bool pe.PipelineEventsProvider }
StepReportActivitiesOptions contains the command line flags
func (*StepReportActivitiesOptions) Run ¶
func (o *StepReportActivitiesOptions) Run() error
type StepReportOptions ¶
type StepReportOptions struct {
StepOptions
}
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type StepReportReleasesOptions ¶
type StepReportReleasesOptions struct { StepReportOptions Watch bool pe.PipelineEventsProvider }
StepReportReleasesOptions contains the command line flags
func (*StepReportReleasesOptions) Run ¶
func (o *StepReportReleasesOptions) Run() error
type StepSplitMonorepoOptions ¶
type StepSplitMonorepoOptions struct { StepOptions Glob string Organisation string Dir string OutputDir string KubernetesDir string NoGit bool }
StepSplitMonorepoOptions contains the command line flags
func (*StepSplitMonorepoOptions) Run ¶
func (o *StepSplitMonorepoOptions) Run() error
Run implements this command
type StepTagFlags ¶
type StepTagFlags struct {
Version string
}
type StepTagOptions ¶
type StepTagOptions struct { StepOptions Flags StepTagFlags }
CreateClusterOptions the flags for running create cluster
func (*StepTagOptions) Run ¶
func (o *StepTagOptions) Run() error
type StepValidateOptions ¶
type StepValidateOptions struct { StepOptions MinimumJxVersion string Dir string }
StepValidateOptions contains the command line flags
func (*StepValidateOptions) Run ¶
func (o *StepValidateOptions) Run() error
Run implements this command
type StepWaitForArtifactOptions ¶
type StepWaitForArtifactOptions struct { StepOptions ArtifactURL string RepoURL string GroupId string ArtifactId string Version string Extension string Timeout string PollTime string // calculated fields TimeoutDuration time.Duration PollDuration time.Duration }
StepWaitForArtifactOptions contains the command line flags
func (*StepWaitForArtifactOptions) Run ¶
func (o *StepWaitForArtifactOptions) Run() error
type StopPipelineOptions ¶
type StopPipelineOptions struct { GetOptions Build int Filter string Jobs map[string]gojenkins.Job }
StopPipelineOptions contains the command line options
func (*StopPipelineOptions) Run ¶
func (o *StopPipelineOptions) Run() error
Run implements this command
type SyncOptions ¶
type SyncOptions struct { CommonOptions Daemon bool NoKsyncInit bool SingleMode bool Container string Namespace string Pod string Dir string RemoteDir string Reload bool WatchOnly bool // contains filtered or unexported fields }
func (*SyncOptions) CreateKsync ¶
func (o *SyncOptions) CreateKsync(client kubernetes.Interface, ns string, name string, dir string, remoteDir string, username string) error
CreateKsync removes the exiting ksync if it already exists then create a new ksync of the given name
func (*SyncOptions) KsyncWatch ¶
func (o *SyncOptions) KsyncWatch() error
func (*SyncOptions) Run ¶
func (o *SyncOptions) Run() error
type UninstallOptions ¶
type UninstallOptions struct {
CommonOptions
}
func (*UninstallOptions) Run ¶
func (o *UninstallOptions) Run() error
type UpdateClusterFlags ¶
type UpdateClusterFlags struct { }
type UpdateClusterGKEOptions ¶
type UpdateClusterGKEOptions struct {
UpdateClusterOptions
}
CreateClusterOptions the flags for running create cluster
func (*UpdateClusterGKEOptions) Run ¶
func (o *UpdateClusterGKEOptions) Run() error
type UpdateClusterGKETerraformOptions ¶
type UpdateClusterGKETerraformOptions struct { UpdateClusterOptions Flags UpdateClusterGKETerraformFlags }
CreateClusterOptions the flags for running create cluster
func (*UpdateClusterGKETerraformOptions) Run ¶
func (o *UpdateClusterGKETerraformOptions) Run() error
type UpdateClusterOptions ¶
type UpdateClusterOptions struct { UpdateOptions InstallOptions InstallOptions Flags InitFlags Provider string }
CreateClusterOptions the flags for running create cluster
func (*UpdateClusterOptions) Run ¶
func (o *UpdateClusterOptions) Run() error
type UpdateOptions ¶
type UpdateOptions struct { CommonOptions DisableImport bool OutDir string }
Update contains the command line options
type UpgradeCLIOptions ¶
type UpgradeCLIOptions struct { CreateOptions Version string }
UpgradeCLIOptions the options for the create spring command
type UpgradeClusterOptions ¶
type UpgradeClusterOptions struct { UpgradeOptions Version string ClusterName string }
UpgradeClusterOptions the options for the create spring command
func (*UpgradeClusterOptions) Run ¶
func (o *UpgradeClusterOptions) Run() error
Run implements the command
type UpgradeOptions ¶
type UpgradeOptions struct {
CommonOptions
}
UpgradeOptions are the flags for delete commands
type UpgradePlatformOptions ¶
type UpgradePlatformOptions struct { CreateOptions Version string ReleaseName string Chart string Namespace string Set string }
UpgradePlatformOptions the options for the create spring command
func (*UpgradePlatformOptions) Run ¶
func (o *UpgradePlatformOptions) Run() error
Run implements the command
type VersionOptions ¶
type VersionOptions struct { CommonOptions Container string Namespace string HelmTLS bool NoVersionCheck bool }
func (*VersionOptions) Run ¶
func (o *VersionOptions) Run() error
Source Files ¶
- cloudbees.go
- cmd.go
- common.go
- common_addon.go
- common_auth.go
- common_chat.go
- common_commands.go
- common_environments.go
- common_git.go
- common_helm.go
- common_import.go
- common_install.go
- common_issues.go
- common_kube_rbac.go
- common_team_settings.go
- completion.go
- compliance.go
- compliance_delete.go
- compliance_logs.go
- compliance_results.go
- compliance_run.go
- compliance_status.go
- console.go
- constants.go
- context.go
- create.go
- create_addon.go
- create_addon_ambassador.go
- create_addon_anchore.go
- create_addon_cloudbees.go
- create_addon_gitea.go
- create_addon_istio.go
- create_addon_kubeless.go
- create_addon_pipeline_events.go
- create_archetype.go
- create_branch_pattern.go
- create_camel.go
- create_chat.go
- create_chat_server.go
- create_chat_token.go
- create_cluster.go
- create_cluster_aks.go
- create_cluster_aws.go
- create_cluster_gke.go
- create_cluster_gke_terraform.go
- create_cluster_minikube.go
- create_cluster_minishift.go
- create_devpod.go
- create_docs.go
- create_env.go
- create_etc_hosts.go
- create_git.go
- create_git_api_token.go
- create_git_server.go
- create_git_user.go
- create_issue.go
- create_jenkins.go
- create_jenkins_token.go
- create_jhipster.go
- create_lile.go
- create_micro.go
- create_quickstart.go
- create_quickstart_location.go
- create_spring.go
- create_token.go
- create_token_addon.go
- create_tracker.go
- create_tracker_server.go
- create_tracker_token.go
- delete.go
- delete_addon.go
- delete_addon_cloudbees.go
- delete_addon_gitea.go
- delete_app.go
- delete_chat.go
- delete_chat_server.go
- delete_chat_token.go
- delete_context.go
- delete_devpod.go
- delete_env.go
- delete_git.go
- delete_git_server.go
- delete_git_token.go
- delete_jenkins.go
- delete_jenkins_user.go
- delete_preview.go
- delete_quickstart_location.go
- delete_repo.go
- delete_token.go
- delete_token_addon.go
- delete_tracker.go
- delete_tracker_server.go
- delete_tracker_token.go
- edit.go
- edit_addon.go
- edit_buildpack.go
- edit_config.go
- edit_env.go
- edit_helmbin.go
- environment.go
- gc.go
- gc_activities.go
- gc_helm.go
- gc_previews.go
- get.go
- get_activity.go
- get_addon.go
- get_applications.go
- get_branchpattern.go
- get_build.go
- get_build_logs.go
- get_buildpack.go
- get_chat.go
- get_config.go
- get_cve.go
- get_devpod.go
- get_env.go
- get_git.go
- get_helmbin.go
- get_issue.go
- get_issues.go
- get_pipeline.go
- get_preview.go
- get_quickstart_locations.go
- get_token.go
- get_token_addon.go
- get_tracker.go
- get_url.go
- import.go
- init.go
- install.go
- logs.go
- metrics.go
- namespace.go
- open.go
- preview.go
- promote.go
- prompt.go
- repository.go
- rsh.go
- shell.go
- start.go
- start_pipeline.go
- status.go
- step.go
- step_blog.go
- step_changelog.go
- step_git.go
- step_git_credentials.go
- step_gpg_credentials.go
- step_helm.go
- step_helm_apply.go
- step_helm_build.go
- step_helm_release.go
- step_next_version.go
- step_nexus.go
- step_nexus_drop.go
- step_nexus_release.go
- step_post.go
- step_post_build.go
- step_pr.go
- step_pr_comment.go
- step_report.go
- step_report_activities.go
- step_report_releases.go
- step_split_monorepo.go
- step_tag.go
- step_validate.go
- step_wait_for_artifact.go
- stop.go
- stop_pipeline.go
- sync.go
- uninstall.go
- update.go
- update_cluster.go
- update_cluster_gke.go
- update_cluster_gke_terraform.go
- upgrade.go
- upgrade_cli.go
- upgrade_cluster.go
- upgrade_platform.go
- version.go