Documentation ¶
Index ¶
- Constants
- Variables
- func BehaviorOnFatal(f func(string, int))
- func CheckErr(err error)
- func ConfigureTestOptions(o *CommonOptions, git gits.Gitter, helm helm.Helmer)
- func ConfigureTestOptionsWithResources(o *CommonOptions, k8sObjects []runtime.Object, jxObjects []runtime.Object, ...)
- func DefaultBehaviorOnFatal()
- func DigitSuffix(text string) string
- func ExtractConfigMap(cms *v1.ConfigMapList, version string) (v1.ConfigMap, error)
- func ExtractReleases(cms *v1.ConfigMapList) []string
- func ExtractSsoCookie(text string) string
- func ExtractVersions(cms *v1.ConfigMapList, release string) []string
- func FindDevPodLabelFromJenkinsfile(filename string, labels []string) (string, error)
- func GetNamespaceNames(client kubernetes.Interface) ([]string, error)
- func GetSafeUsername(username string) string
- func HomeDir() string
- func IsPipeline(j *gojenkins.Job) bool
- func KubernetesProviderOptions() string
- func LoadVersionFromCloudEnvironmentsDir(wrkDir string) (string, error)
- func NewCmdCloudBees(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCloudBeesPipeline(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCompletion(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdComplianceDelete(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdComplianceLogs(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdComplianceResults(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdComplianceRun(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdComplianceStatus(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdConsole(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdContext(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdController(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdControllerBackup(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdControllerBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdControllerCompliance(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdControllerRole(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdControllerTeam(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdControllerWorkflow(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreate(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonAmbassador(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonAnchore(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonCloudBees(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonGitea(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonIstio(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonKnativeBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonKubeless(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonOwasp(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonPipelineEvents(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonPrometheus(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonProw(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonSSO(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonVault(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateArchetype(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateBranchPattern(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateCamel(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateChat(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateChatServer(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateChatToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateCluster(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterAKS(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterAWS(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterEKS(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterGKE(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterGKETerraform(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterIKS(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterMinikube(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterMinishift(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterOKE(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateCodeship(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateDevPod(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateDockerAuth(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateDocs(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateEnv(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateEtcHosts(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateGit(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateGitServer(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateGitToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateGitUser(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateGkeServiceAccount(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateIssue(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateJHipster(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateJenkins(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateJenkinsUser(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateLile(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateMicro(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreatePostPreviewJob(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateQuickstart(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateQuickstartLocation(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateSpring(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateTeam(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateTerraform(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateTokenAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateTracker(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateTrackerServer(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateTrackerToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdCreateUser(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDelete(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAddonCloudBees(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAddonGitea(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAddonSSO(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteApp(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAws(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteBranch(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteChat(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteChatServer(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteChatToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteContext(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteDevPod(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteEks(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteEnv(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteGit(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteGitServer(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteGitToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteJenkins(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteJenkinsUser(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeletePostPreviewJob(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeletePreview(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteQuickstartLocation(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteRepo(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTeam(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTokenAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTracker(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTrackerServer(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTrackerToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDeleteUser(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDiagnose(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdDocs(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdEdit(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdEditAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdEditBuildpack(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdEditConfig(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdEditEnv(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdEditHelmBin(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdEditUserRole(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdEnvironment(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGC(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGCActivities(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGCGKE(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGCHelm(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGCPreviews(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGCReleases(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGet(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetAWSInfo(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetActivity(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetApplications(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetBranchPattern(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetBuildLogs(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetBuildPack(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetCVE(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetChat(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetConfig(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetDevPod(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetEks(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetEnv(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetGit(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetHelmBin(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetIssue(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetIssues(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetLimits(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetPipeline(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetPostPreviewJob(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetPreview(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetQuickstartLocation(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetRelease(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetTeam(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetTeamRole(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetTokenAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetTracker(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetURL(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetUser(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdGetWorkflow(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdImport(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdInit(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdInstall(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdLogin(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdLogs(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdMetrics(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdNamespace(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdOpen(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdOptions(out io.Writer) *cobra.Command
- func NewCmdPreview(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdPromote(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdPrompt(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdRepo(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdRsh(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdScan(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdScanCluster(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdShell(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStart(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStartCompliance(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStartPipeline(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStatus(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStep(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepBlog(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepChangelog(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepCollect(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepGit(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepGitCredentials(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepGpgCredentials(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepHelm(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepHelmApply(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepHelmBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepHelmEnv(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepHelmInstall(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepHelmRelease(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepHelmVersion(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepLinkServices(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepNextBuildNumber(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepNextVersion(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepNexus(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepNexusDrop(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepNexusRelease(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepPR(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepPRComment(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepPost(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepPostBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepPostRun(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepPre(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepPreBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepPreExtend(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepRelease(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepReport(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepReportActivities(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepReportReleases(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepSplitMonorepo(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepTag(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepValidate(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepVerify(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStepWaitForArtifact(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStop(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdStopPipeline(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdSync(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdTeam(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUninstall(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUpdate(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUpdateCluster(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUpdateClusterGKE(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUpdateClusterGKETerraform(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUpgrade(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeAddons(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeBinaries(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeCLI(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeCluster(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeExtensions(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeExtensionsRepository(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeIngress(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdUpgradePlatform(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCmdVersion(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewCompliance(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
- func NewJXCommand(f Factory, in terminal.FileReader, out terminal.FileWriter, err io.Writer) *cobra.Command
- func ProjectExists(ctx context.Context, org *codeship.Organization, codeshipOrg string, ...) (bool, string, error)
- func PullRequestURLToNumber(text string) (int, error)
- func StandardErrorMessage(err error) (string, bool)
- func UsageError(cmd *cobra.Command, format string, args ...interface{}) error
- func VersionsToDelete(versions []string, desired int) []string
- type ArgumentSpec
- type Auth
- type BranchPatterns
- type Build
- type BuildCondition
- type BuildConditionType
- type BuildList
- type BuildParams
- type BuildProvider
- type BuildSpec
- type BuildStatus
- type ByVersion
- type CallbackFn
- type CloudBeesOptions
- type CloudBeesPipelineOptions
- type Cluster
- type ClusterSpec
- type CollectProviderKind
- type CommonOptions
- func (o *CommonOptions) CleanExposecontrollerReources(ns string)
- 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) CreateGitAuthConfigServiceFromSecrets(fileName string, secrets *corev1.SecretList, isCDPipeline 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{})
- func (o *CommonOptions) DiscoverAppName() (string, error)
- func (o *CommonOptions) FindGitInfo(dir string) (*gits.GitRepositoryInfo, error)
- func (o *CommonOptions) FindHelmChart() (string, error)
- func (o *CommonOptions) GetCloudProvider(p string) (string, error)
- func (o *CommonOptions) GetClusterUserName() (string, error)
- func (o *CommonOptions) GetDomain(client kubernetes.Interface, domain string, provider string, ...) (string, error)
- func (o *CommonOptions) GetJenkinsURL() (string, error)
- func (o *CommonOptions) GetLatestJXVersion() (semver.Version, error)
- func (o *CommonOptions) Git() gits.Gitter
- func (o *CommonOptions) GitServerHostURLKind(hostURL string) (string, error)
- func (o *CommonOptions) GitServerKind(gitInfo *gits.GitRepositoryInfo) (string, error)
- func (o *CommonOptions) Helm() helm.Helmer
- func (o *CommonOptions) ImportProject(gitURL string, dir string, jenkinsfile string, ...) error
- func (o *CommonOptions) JXClient() (versioned.Interface, string, error)
- func (o *CommonOptions) JXClientAndAdminNamespace() (versioned.Interface, string, error)
- func (o *CommonOptions) JXClientAndDevNamespace() (versioned.Interface, string, error)
- func (o *CommonOptions) JenkinsClient() (gojenkins.JenkinsClient, error)
- func (o *CommonOptions) KubeClient() (kubernetes.Interface, string, error)
- func (o *CommonOptions) KubeClientAndDevNamespace() (kubernetes.Interface, string, error)
- func (o *CommonOptions) LoadPipelineSecrets(kind, serviceKind string) (*corev1.SecretList, error)
- func (o *CommonOptions) LoadProwOAuthConfig(ns string) (string, error)
- func (o *CommonOptions) ModifyDevEnvironment(callback func(env *v1.Environment) error) error
- func (o *CommonOptions) ModifyTeam(teamName string, callback func(env *v1.Team) error) error
- func (o *CommonOptions) ModifyUser(userName string, callback func(env *v1.User) error) error
- func (o *CommonOptions) Run() error
- func (o *CommonOptions) RunCommand(name string, args ...string) error
- func (c *CommonOptions) SetDevNamespace(ns string)
- func (o *CommonOptions) TeamAndEnvironmentNames() (string, string, error)
- func (o *CommonOptions) TeamBranchPatterns() (*BranchPatterns, error)
- func (o *CommonOptions) TeamHelmBin() (string, bool, bool, error)
- func (o *CommonOptions) TeamSettings() (*v1.TeamSettings, error)
- func (o *CommonOptions) UninstallBinary(binDir string, name string) error
- type ComplianceDeleteOptions
- type ComplianceLogsOptions
- type ComplianceOptions
- type ComplianceResultsOptions
- type ComplianceRunOptions
- type ComplianceStatusOptions
- type Config
- type ConfigureGitFolderFn
- type ConsoleOptions
- type ContextOptions
- type ControllerBackupOptions
- type ControllerBuildOptions
- type ControllerComplianceOptions
- type ControllerOptions
- type ControllerRoleFlags
- type ControllerRoleOptions
- func (o *ControllerRoleOptions) Run() error
- func (o *ControllerRoleOptions) WatchEnvironmentRoleBindings(jxClient versioned.Interface, ns string) error
- func (o *ControllerRoleOptions) WatchEnvironments(kubeClient kubernetes.Interface, jxClient versioned.Interface, ns string) error
- func (o *ControllerRoleOptions) WatchRoles(kubeClient kubernetes.Interface, ns string) error
- type ControllerTeamOptions
- type ControllerWorkflowOptions
- type CreateAddonAmbassadorOptions
- type CreateAddonAnchoreOptions
- type CreateAddonCloudBeesOptions
- type CreateAddonGiteaOptions
- type CreateAddonIstioOptions
- type CreateAddonKnativeBuildOptions
- type CreateAddonKubelessOptions
- type CreateAddonOptions
- type CreateAddonOwaspOptions
- type CreateAddonPipelineEventsOptions
- type CreateAddonPrometheusOptions
- type CreateAddonProwOptions
- type CreateAddonSSOOptions
- type CreateAddonVaultOptions
- type CreateArchetypeOptions
- type CreateBranchPatternOptions
- type CreateCamelOptions
- type CreateChatOptions
- type CreateChatServerOptions
- type CreateChatTokenOptions
- type CreateClusterAKSFlags
- type CreateClusterAKSOptions
- type CreateClusterAWSFlags
- type CreateClusterAWSOptions
- type CreateClusterEKSFlags
- type CreateClusterEKSOptions
- type CreateClusterFlags
- type CreateClusterGKEFlags
- type CreateClusterGKEOptions
- type CreateClusterGKETerraformFlags
- type CreateClusterGKETerraformOptions
- type CreateClusterIKSFlags
- type CreateClusterIKSOptions
- type CreateClusterMinikubeFlags
- type CreateClusterMinikubeOptions
- type CreateClusterMinishiftFlags
- type CreateClusterMinishiftOptions
- type CreateClusterOKEFlags
- type CreateClusterOKEOptions
- type CreateClusterOptions
- type CreateCodeshipFlags
- type CreateCodeshipOptions
- type CreateDevPodOptions
- type CreateDevPodResults
- type CreateDockerAuthOptions
- type CreateDocsOptions
- type CreateEnvOptions
- type CreateEnvPullRequestFn
- type CreateEtcHostsOptions
- type CreateGitOptions
- type CreateGitServerOptions
- type CreateGitTokenOptions
- type CreateGitUserOptions
- type CreateGkeServiceAccountFlags
- type CreateGkeServiceAccountOptions
- type CreateIssueOptions
- type CreateJHipsterOptions
- type CreateJenkinsOptions
- type CreateJenkinsUserOptions
- type CreateLileOptions
- type CreateMicroOptions
- type CreateOptions
- type CreatePostPreviewJobOptions
- type CreateProjectOptions
- type CreateQuickstartLocationOptions
- type CreateQuickstartOptions
- type CreateSpringOptions
- type CreateTeamOptions
- type CreateTerraformOptions
- type CreateTokenAddonOptions
- type CreateTokenOptions
- type CreateTrackerOptions
- type CreateTrackerServerOptions
- type CreateTrackerTokenOptions
- type CreateUserOptions
- type DeleteAddonCDXOptions
- type DeleteAddonGiteaOptions
- type DeleteAddonOptions
- type DeleteAddonSSOOptions
- type DeleteAppOptions
- type DeleteAwsOptions
- type DeleteBranchOptions
- type DeleteChatOptions
- type DeleteChatServerOptions
- type DeleteChatTokenOptions
- type DeleteContextOptions
- type DeleteDevPodOptions
- type DeleteEksOptions
- type DeleteEnvOptions
- type DeleteGitOptions
- type DeleteGitServerOptions
- type DeleteGitTokenOptions
- type DeleteJenkinsOptions
- type DeleteJenkinsUserOptions
- type DeleteOptions
- type DeletePostPreviewJobOptions
- type DeletePreviewOptions
- type DeleteQuickstartLocationOptions
- type DeleteRepoOptions
- type DeleteTeamOptions
- type DeleteTokenAddonOptions
- type DeleteTokenOptions
- type DeleteTrackerOptions
- type DeleteTrackerServerOptions
- type DeleteTrackerTokenOptions
- type DeleteUserOptions
- type DiagnoseOptions
- type EditAddonOptions
- type EditBuildpackOptions
- type EditConfigOptions
- type EditEnvOptions
- type EditHelmBinOptions
- type EditOptions
- type EditUserRoleOptions
- type EnvApps
- type EnvironmentOptions
- type Factory
- type Flags
- type GCActivitiesOptions
- type GCGKEOptions
- type GCHelmOptions
- type GCOptions
- type GCPreviewsOptions
- type GCReleasesOptions
- type GCSSourceSpec
- type GCSSourceType
- type GKECluster
- func (g GKECluster) ClusterName() string
- func (g GKECluster) Context() string
- func (g GKECluster) CreateTfVarsFile(path string) error
- func (g GKECluster) Name() string
- func (g *GKECluster) ParseTfVarsFile(path string)
- func (g GKECluster) Provider() string
- func (g GKECluster) Region() string
- func (g *GKECluster) SetName(name string) string
- func (g *GKECluster) SetProvider(provider string) string
- type GetAWSInfoOptions
- type GetActivityOptions
- type GetAddonOptions
- type GetApplicationsOptions
- type GetBranchPatternOptions
- type GetBuildLogsOptions
- type GetBuildOptions
- type GetBuildPackOptions
- type GetCVEOptions
- type GetChatOptions
- type GetConfigOptions
- type GetDevPodOptions
- type GetEksOptions
- type GetEnvOptions
- type GetGitOptions
- type GetHelmBinOptions
- type GetIssueOptions
- type GetIssuesOptions
- type GetLimitsOptions
- type GetOptions
- type GetPipelineOptions
- type GetPostPreviewJobOptions
- type GetPreviewOptions
- type GetQuickstartLocationOptions
- type GetReleaseOptions
- type GetTeamOptions
- type GetTeamRoleOptions
- type GetTokenAddonOptions
- type GetTokenOptions
- type GetTrackerOptions
- type GetURLOptions
- type GetUserOptions
- type GetWorkflowOptions
- type GitHubPagesStepCollectOptions
- type GitSourceSpec
- type GoogleSpec
- type HttpStepCollectOptions
- type ImportOptions
- func (options *ImportOptions) CloneRepository() error
- func (options *ImportOptions) CreateNewRemoteRepository() error
- func (options *ImportOptions) CreateProwOwnersAliasesFile() error
- func (options *ImportOptions) CreateProwOwnersFile() error
- func (options *ImportOptions) DefaultGitIgnore() error
- func (options *ImportOptions) DefaultsFromTeamSettings() error
- func (options *ImportOptions) DiscoverGit() error
- func (options *ImportOptions) DiscoverRemoteGitURL() error
- func (options *ImportOptions) DraftCreate() error
- func (options *ImportOptions) ImportProjectsFromGitHub() error
- func (options *ImportOptions) ReplacePlaceholders(gitServerName, gitOrg, dockerRegistryOrg string) error
- func (options *ImportOptions) Run() error
- type InitFlags
- type InitOptions
- type InstallChartOptions
- type InstallFlags
- type InstallOptions
- type InstallOrUpdateBinaryOptions
- type KubernetesProvider
- type Login
- type LoginOptions
- type LogsOptions
- type MetricsOptions
- type ModifyRequirementsFn
- type NamespaceOptions
- type OpenOptions
- type PackageJSON
- type PreviewOptions
- type Project
- type PromoteOptions
- 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) SearchForChart(filter string) (string, error)
- func (o *PromoteOptions) WaitForPromotion(ns string, env *v1.Environment, releaseInfo *ReleaseInfo) error
- type PromptOptions
- type Prow
- type Rate
- type RateLimits
- type RateResources
- type ReleaseInfo
- type ReleasePullRequestInfo
- type RepoOptions
- type RshOptions
- type Rule
- type Rules
- type ScanClusterOptions
- type ScanOptions
- type Secrets
- type ServerFlags
- type ShellOptions
- type SourceSpec
- type Start
- type StartComplianceOptions
- type StartPipelineOptions
- type StatusOptions
- type StatusSortedTestCases
- type StepBlogOptions
- type StepBlogState
- type StepChangelogOptions
- type StepChangelogState
- type StepCollectOptions
- type StepCreateBuildOptions
- type StepGitCredentialsOptions
- type StepGitOptions
- type StepGpgCredentialsOptions
- type StepHelmApplyOptions
- type StepHelmBuildOptions
- type StepHelmEnvOptions
- type StepHelmInstallOptions
- type StepHelmOptions
- type StepHelmReleaseOptions
- type StepHelmVersionOptions
- type StepLinkServicesOptions
- type StepNextBuildNumberOptions
- type StepNextVersionOptions
- type StepNexusDropOptions
- type StepNexusOptions
- type StepNexusReleaseOptions
- type StepOptions
- type StepPRCommentFlags
- type StepPRCommentOptions
- type StepPROptions
- type StepPostBuildOptions
- type StepPostOptions
- type StepPostRunOptions
- type StepPreBuildOptions
- type StepPreExtendOptions
- type StepPreOptions
- type StepReleaseOptions
- type StepReportActivitiesOptions
- type StepReportOptions
- type StepReportReleasesOptions
- type StepSplitMonorepoOptions
- type StepSummary
- type StepTagFlags
- type StepTagOptions
- type StepValidateOptions
- type StepVerifyOptions
- type StepWaitForArtifactOptions
- type Stop
- type StopPipelineOptions
- type SyncOptions
- type TeamOptions
- type TemplateInstantiationSpec
- type UninstallOptions
- type UpdateClusterFlags
- type UpdateClusterGKEOptions
- type UpdateClusterGKETerraformFlags
- type UpdateClusterGKETerraformOptions
- type UpdateClusterOptions
- type UpdateOptions
- type UpgradeAddonsOptions
- type UpgradeBinariesOptions
- type UpgradeCLIOptions
- type UpgradeClusterOptions
- type UpgradeExtensionsOptions
- func (o *UpgradeExtensionsOptions) Contains(whens []jenkinsv1.ExtensionWhen, when jenkinsv1.ExtensionWhen) bool
- func (o *UpgradeExtensionsOptions) GetInstalledExtensions(extensions typev1.ExtensionInterface) (installedExtensions map[string]jenkinsv1.Extension, err error)
- func (o *UpgradeExtensionsOptions) Run() error
- func (o *UpgradeExtensionsOptions) UpsertExtension(extension jenkinsv1.ExtensionSpec, extensions typev1.ExtensionInterface, ...) (needsUpstalling []jenkinsv1.ExtensionExecution, err error)
- type UpgradeExtensionsRepositoryFlags
- type UpgradeExtensionsRepositoryOptions
- type UpgradeIngressOptions
- type UpgradeOptions
- type UpgradePlatformOptions
- type UserLoginInfo
- type VersionOptions
Constants ¶
const ( MinikubeDefaultCpu = "3" MinikubeDefaultDiskSize = "150GB" MinikubeDefaultMemory = "4096" )
const ( GKE = "gke" OKE = "oke" EKS = "eks" AKS = "aks" AWS = "aws" PKS = "pks" IKS = "iks" MINIKUBE = "minikube" MINISHIFT = "minishift" KUBERNETES = "kubernetes" OPENSHIFT = "openshift" ORACLE = "oracle" IBM = "ibm" JX_INFRA = "jx-infra" )
const ( JenkinsCookieName = "JSESSIONID" JenkinsVersionHeader = "X-Jenkins" )
const ( // Clusters constant Clusters = "clusters" // Terraform constant Terraform = "terraform" // TerraformTemplatesGKE constant TerraformTemplatesGKE = "https://github.com/jenkins-x/terraform-jx-templates-gke.git" )
const ( AddonAuthConfigFile = "addonAuth.yaml" JenkinsAuthConfigFile = "jenkinsAuth.yaml" IssuesAuthConfigFile = "issuesAuth.yaml" ChatAuthConfigFile = "chatAuth.yaml" GitAuthConfigFile = "gitAuth.yaml" ChartmuseumAuthConfigFile = "chartmuseumAuth.yaml" )
const ( DefaultErrorExitCode = 1 DefaultWritePermissions = 0760 )
const ( // PlaceHolderAppName placeholder for app name PlaceHolderAppName = "REPLACE_ME_APP_NAME" // PlaceHolderGitProvider placeholder for git provider PlaceHolderGitProvider = "REPLACE_ME_GIT_PROVIDER" // PlaceHolderOrg placeholder for org PlaceHolderOrg = "REPLACE_ME_ORG" // PlaceHolderDockerRegistryOrg placeholder for docker registry PlaceHolderDockerRegistryOrg = "REPLACE_ME_DOCKER_REGISTRY_ORG" // JenkinsfileBackupSuffix the suffix used by Jenkins for backups JenkinsfileBackupSuffix = ".backup" )
const ( // JenkinsBuildPackURL URL of Draft packs for Jenkins X JenkinsBuildPackURL = "https://github.com/jenkins-x/draft-packs.git" // INGRESS_SERVICE_NAME service name for ingress controller INGRESS_SERVICE_NAME = "jxing-nginx-ingress-controller" // DEFAULT_CHARTMUSEUM_URL default URL for Jenkins X ChartMuseum DEFAULT_CHARTMUSEUM_URL = "https://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" CloudEnvValuesFile = "myvalues.yaml" CloudEnvSecretsFile = "secrets.yaml" )
const ( UserOnboardingEndpoint = "/api/v1/users" SsoCookieName = "sso-cdx" )
const ( DOCKER_REGISTRY = "DOCKER_REGISTRY" 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" DOCKER_REGISTRY_ORG = "DOCKER_REGISTRY_ORG" PREVIEW_VERSION = "PREVIEW_VERSION" )
const ( DefaultShell = "/bin/sh" ShellsFile = "/etc/shells" )
const ( ReleaseName = `{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}` SpecName = `{{ .Chart.Name }}` SpecVersion = `{{ .Chart.Version }}` ReleaseCrdYaml = `` /* 498-byte string literal not displayed */ )
const ( PROW_JOB_ID = "PROW_JOB_ID" REPO_OWNER = "REPO_OWNER" REPO_NAME = "REPO_NAME" PULL_PULL_SHA = "PULL_PULL_SHA" )
const ( VERSION = "version" ValuesYamlRepositoryPrefix = " repository:" ValuesYamlTagPrefix = " tag:" )
const ( CertManagerDeployment = "cert-manager" CertManagerNamespace = "cert-manager" Exposecontroller = "exposecontroller" )
const (
BlueOceanPath = "/blue"
)
const CLUSTER_LIST_HEADER = "PROJECT_ID"
const (
DEFAULT_IBMREPO_URL = "https://registry.bluemix.net/helm/ibm"
)
const (
DefaultMavenCentralRepo = "http://central.maven.org/maven2/"
)
const (
// JenkinsXQuickstartsOrganisation is the default organisation for quickstarts
JenkinsXQuickstartsOrganisation = "jenkins-x-quickstarts"
)
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 For more information please see [https://www.cloudbees.com/blog/want-help-build-cloudbees-kubernetes-jenkins-x](https://www.cloudbees.com/blog/want-help-build-cloudbees-kubernetes-jenkins-x) `) CreateAddonCloudBeesExample = templates.Examples(` # Create the cloudbees addon jx create addon cloudbees `) )
var ( CreateAddonSSOLong = templates.LongDesc(` Creates the Single Sign-On addon This addon will install and configure the dex identity provider, sso-operator and cert-manager. `) CreateAddonSSOExample = templates.Examples(` # Create the sso addon jx create addon sso `) )
var ( CreateAddonVaultLong = templates.LongDesc(` Creates the Vault operator addon This addon will install an operator for HashiCorp Vault."" `) CreateAddonVaultExample = templates.Examples(` # Create the vault-operator addon jx create addon vault-operator `) )
var ( DeleteEksLong = templates.LongDesc(` Delete EKS cluster resource `) DeleteEksExample = templates.Examples(` # Delete EKS cluster jx delete eks `) )
var ( GCActivitiesLong = templates.LongDesc(` Garbage collect the Jenkins X Activity Custom Resource Definitions `) GCActivitiesExample = templates.Examples(` jx garbage collect activities jx gc activities `) )
var ( GCGKELong = templates.LongDesc(` Garbage collect Google Container Engine resources that are not deleted when a delete cluster is performed This command will generate the gcloud command to run and delete external loadbalancers and persistent disks that are no longer in use. `) GCGKEExample = templates.Examples(` jx garbage collect gke jx gc gke `) )
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 ( GCReleasesLong = templates.LongDesc(` Garbage collect the Jenkins X Activity Custom Resource Definitions `) GCReleasesExample = templates.Examples(` jx garbage collect releases jx gc releases `) )
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 more 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 ( StepCollectLong = templates.LongDesc(` This pipeline step collects the specified files that need storing from the build `) StepCollectExample = templates.Examples(` jx step collect TODO `) )
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 ( StepHelmEnvLong = templates.LongDesc(` Generates the helm environment variables `) StepHelmEnvExample = templates.Examples(` # output the helm environment variables that should be set to use helm directly jx step helm env `) )
var ( StepHelmInstallLong = templates.LongDesc(` Installs the given chart `) StepHelmInstallExample = templates.Examples(` # installs a helm chart jx step helm install foo/bar `) )
var ( StepHelmReleaseLong = templates.LongDesc(` This pipeline step releases the Helm chart in the current directory `) StepHelmReleaseExample = templates.Examples(` jx step helm release `) )
var ( StepHelmVersionLong = templates.LongDesc(` Updates version of the helm Chart.yaml in the given directory `) StepHelmVersionExample = templates.Examples(` # updates the current helm Chart.yaml to the latest build number version jx step helm version `) )
var ( StepLinkServicesLong = templates.LongDesc(` This pipeline step helps to link microservices from different namespaces like staging/production onto a preview environment `) StepLinkServicesExample = templates.Examples(` #Link services from jx-staging namespace to the current namespace jx step link services --from-namespace jx-staging #Link services from jx-staging namespace to the jx-prod namespace jx step link services --from-namespace jx-staging --to-namespace jx-prod #Link services from jx-staging namespace to the jx-prod namespace including all but the ones starting with the characters 'cheese' jx step link services --from-namespace jx-staging --to-namespace jx-prod --includes * --excludes cheese* `) )
var ( StepNextBuildNumberLong = templates.LongDesc(` TGenerates the next build unique number for a pipeline `) StepNextBuildNumberExample = templates.Examples(` jx step next-buildnumber `) )
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 ( StepPostRunLong = templates.LongDesc(` This pipeline step executes any post build actions added during Pipeline execution `) StepPostRunExample = templates.Examples(` jx step post run `) )
var ( StepPreBuildLong = templates.LongDesc(` This pipeline step performs pre build actions such as ensuring that a Docker registry is available in the cloud `) StepPreBuildExample = templates.Examples(` jx step pre build ${DOCKER_REGISTRY}/someorg/myapp `) )
var ( StepPreExtendLong = templates.LongDesc(` This pipeline step adds any extensions configured for this pipeline `) StepPreExtendExample = templates.Examples(` jx step pre extend `) )
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 ( StepVerifyLong = templates.LongDesc(` This pipeline step performs deployment verification `) StepVerifyExample = templates.Examples(` jx step verify `) )
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 `) )
var CollectProvidersKinds = []string{ string(GitHubPagesCollectProviderKind), string(HttpCollectProviderKind), }
var ErrExit = fmt.Errorf("exit")
ErrExit may be passed to CheckError to instruct it to output nothing but exit with status code 1.
var JenkinsReferenceVersion = semver.Version{Major: 2, Minor: 140, Patch: 0}
Functions ¶
func BehaviorOnFatal ¶
BehaviorOnFatal allows you to override the default behavior when a fatal error occurs, which is to call os.Exit(code). You can pass 'panic' as a function here if you prefer the panic() over os.Exit(1).
func CheckErr ¶
func CheckErr(err error)
CheckErr prints a user friendly error to STDERR and exits with a non-zero exit code. Unrecognized errors will be printed with an "error: " prefix.
This method is generic to the command in use and may be used by non-Kubectl commands.
func ConfigureTestOptions ¶
func ConfigureTestOptions(o *CommonOptions, git gits.Gitter, helm helm.Helmer)
ConfigureTestOptions lets configure the options for use in tests using fake APIs to k8s cluster
func ConfigureTestOptionsWithResources ¶
func ConfigureTestOptionsWithResources(o *CommonOptions, k8sObjects []runtime.Object, jxObjects []runtime.Object, git gits.Gitter, helm helm.Helmer)
ConfigureTestOptions lets configure the options for use in tests using fake APIs to k8s cluster
func DefaultBehaviorOnFatal ¶
func DefaultBehaviorOnFatal()
DefaultBehaviorOnFatal allows you to undo any previous override. Useful in tests.
func ExtractConfigMap ¶
ExtractConfigMap extracts a configmap
func ExtractReleases ¶
func ExtractReleases(cms *v1.ConfigMapList) []string
ExtractReleases Extract a set of releases from a list of ConfigMaps
func ExtractSsoCookie ¶
func ExtractVersions ¶
func ExtractVersions(cms *v1.ConfigMapList, release string) []string
ExtractVersions Extract a set of versions of a named release from a list of ConfigMaps
func FindDevPodLabelFromJenkinsfile ¶
FindDevPodLabelFromJenkinsfile finds pod labels from a Jenkinsfile
func GetNamespaceNames ¶
func GetNamespaceNames(client kubernetes.Interface) ([]string, error)
GetNamespaceNames returns the sorted list of environment names
func GetSafeUsername ¶
func IsPipeline ¶
func IsPipeline(j *gojenkins.Job) bool
func KubernetesProviderOptions ¶
func KubernetesProviderOptions() string
KubernetesProviderOptions returns all the Kubernetes providers as a string
func LoadVersionFromCloudEnvironmentsDir ¶
LoadVersionFromCloudEnvironmentsDir loads a version from the cloud environments directory
func NewCmdCloudBees ¶
func NewCmdCloudBees(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdCloudBeesPipeline ¶
func NewCmdCloudBeesPipeline(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdCompletion ¶
func NewCmdCompletion(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdComplianceDelete ¶
func NewCmdComplianceDelete(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdComplianceDeletecreates a command object for the "compliance delete" action, which delete the Kubernetes resources allocated by the compliance tests
func NewCmdComplianceLogs ¶
func NewCmdComplianceLogs(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdComplianceLogs creates a command object for the "compliance logs" action, which prints the logs of compliance tests
func NewCmdComplianceResults ¶
func NewCmdComplianceResults(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdComplianceResults creates a command object for the "compliance results" action, which shows the results of E2E compliance tests
func NewCmdComplianceRun ¶
func NewCmdComplianceRun(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdComplianceRun creates a command object for the "compliance run" action, which starts the E2E compliance tests
func NewCmdComplianceStatus ¶
func NewCmdComplianceStatus(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdComplianceStatus creates a command object for the "compliance status" action, which retrieve the status of E2E compliance tests
func NewCmdConsole ¶
func NewCmdConsole(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdContext ¶
func NewCmdContext(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdController ¶
func NewCmdController(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdController creates the edit command
func NewCmdControllerBackup ¶
func NewCmdControllerBackup(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdControllerBackup creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdControllerBuild ¶
func NewCmdControllerBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdControllerBuild creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdControllerCompliance ¶
func NewCmdControllerCompliance(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdControllerCompliance creates a command object for the "create" command
func NewCmdControllerRole ¶
func NewCmdControllerRole(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdControllerTeam ¶
func NewCmdControllerTeam(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdControllerTeam creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdControllerWorkflow ¶
func NewCmdControllerWorkflow(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdControllerWorkflow creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdCreate ¶
func NewCmdCreate(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreate creates a command object for the "create" command
func NewCmdCreateAddon ¶
func NewCmdCreateAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateAddon creates a command object for the "create" command
func NewCmdCreateAddonAmbassador ¶
func NewCmdCreateAddonAmbassador(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateAddonAmbassador creates a command object for the "create" command
func NewCmdCreateAddonAnchore ¶
func NewCmdCreateAddonAnchore(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateAddonAnchore creates a command object for the "create" command
func NewCmdCreateAddonCloudBees ¶
func NewCmdCreateAddonCloudBees(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateAddonCloudBees creates a command object for the "create" command
func NewCmdCreateAddonGitea ¶
func NewCmdCreateAddonGitea(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateAddonGitea creates a command object for the "create" command
func NewCmdCreateAddonIstio ¶
func NewCmdCreateAddonIstio(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateAddonIstio creates a command object for the "create" command
func NewCmdCreateAddonKnativeBuild ¶
func NewCmdCreateAddonKnativeBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdCreateAddonKubeless ¶
func NewCmdCreateAddonKubeless(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateAddonKubeless creates a command object for the "create" command
func NewCmdCreateAddonOwasp ¶
func NewCmdCreateAddonOwasp(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdCreateAddonPipelineEvents ¶
func NewCmdCreateAddonPipelineEvents(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateAddonPipelineEvents creates a command object for the "create" command
func NewCmdCreateAddonPrometheus ¶
func NewCmdCreateAddonPrometheus(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdCreateAddonProw ¶
func NewCmdCreateAddonProw(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateAddonProw creates a command object for the "create" command
func NewCmdCreateAddonSSO ¶
func NewCmdCreateAddonSSO(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateAddonSSO creates a command object for the "create addon sso" command
func NewCmdCreateAddonVault ¶
func NewCmdCreateAddonVault(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateAddonVault creates a command object for the "create addon vault-opeator" command
func NewCmdCreateArchetype ¶
func NewCmdCreateArchetype(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateArchetype creates a command object for the "create" command
func NewCmdCreateBranchPattern ¶
func NewCmdCreateBranchPattern(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateBranchPattern creates a command object for the "create" command
func NewCmdCreateBuild ¶
func NewCmdCreateBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateBuild Creates a new Command object
func NewCmdCreateCamel ¶
func NewCmdCreateCamel(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateCamel creates a command object for the "create" command
func NewCmdCreateChat ¶
func NewCmdCreateChat(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateChat creates a command object for the "create" command
func NewCmdCreateChatServer ¶
func NewCmdCreateChatServer(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateChatServer creates a command object for the "create" command
func NewCmdCreateChatToken ¶
func NewCmdCreateChatToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateChatToken creates a command
func NewCmdCreateCluster ¶
func NewCmdCreateCluster(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateCluster 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 ¶
func NewCmdCreateClusterAKS(f Factory, in terminal.FileReader, out terminal.FileWriter, 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 NewCmdCreateClusterAWS ¶
func NewCmdCreateClusterAWS(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateClusterAWS creates the command
func NewCmdCreateClusterEKS ¶
func NewCmdCreateClusterEKS(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateClusterEKS creates the command
func NewCmdCreateClusterGKE ¶
func NewCmdCreateClusterGKE(f Factory, in terminal.FileReader, out terminal.FileWriter, 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 NewCmdCreateClusterGKETerraform ¶
func NewCmdCreateClusterGKETerraform(f Factory, in terminal.FileReader, out terminal.FileWriter, 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 NewCmdCreateClusterIKS ¶
func NewCmdCreateClusterIKS(f Factory, in terminal.FileReader, out terminal.FileWriter, 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 ¶
func NewCmdCreateClusterMinikube(f Factory, in terminal.FileReader, out terminal.FileWriter, 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 NewCmdCreateClusterMinishift ¶
func NewCmdCreateClusterMinishift(f Factory, in terminal.FileReader, out terminal.FileWriter, 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 NewCmdCreateClusterOKE ¶
func NewCmdCreateClusterOKE(f Factory, in terminal.FileReader, out terminal.FileWriter, 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 NewCmdCreateCodeship ¶
func NewCmdCreateCodeship(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateCodeship creates a command object for the "create" command
func NewCmdCreateDevPod ¶
func NewCmdCreateDevPod(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateDevPod creates a command object for the "create" command
func NewCmdCreateDockerAuth ¶
func NewCmdCreateDockerAuth(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateIssue creates a command object for the "create" command
func NewCmdCreateDocs ¶
func NewCmdCreateDocs(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateDocs creates a command object for the "create" command
func NewCmdCreateEnv ¶
func NewCmdCreateEnv(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateEnv creates a command object for the "create" command
func NewCmdCreateEtcHosts ¶
func NewCmdCreateEtcHosts(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateEtcHosts creates a command object for the "create" command
func NewCmdCreateGit ¶
func NewCmdCreateGit(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateGit creates a command object for the "create" command
func NewCmdCreateGitServer ¶
func NewCmdCreateGitServer(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateGitServer creates a command object for the "create" command
func NewCmdCreateGitToken ¶
func NewCmdCreateGitToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateGitToken creates a command
func NewCmdCreateGitUser ¶
func NewCmdCreateGitUser(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateGitUser creates a command
func NewCmdCreateGkeServiceAccount ¶
func NewCmdCreateGkeServiceAccount(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateGkeServiceAccount creates a command object for the "create" command
func NewCmdCreateIssue ¶
func NewCmdCreateIssue(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateIssue creates a command object for the "create" command
func NewCmdCreateJHipster ¶
func NewCmdCreateJHipster(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateJHipster creates a command object for the "create" command
func NewCmdCreateJenkins ¶
func NewCmdCreateJenkins(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateJenkins creates a command object for the "create" command
func NewCmdCreateJenkinsUser ¶
func NewCmdCreateJenkinsUser(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateJenkinsUser creates a command
func NewCmdCreateLile ¶
func NewCmdCreateLile(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateLile creates a command object for the "create" command
func NewCmdCreateMicro ¶
func NewCmdCreateMicro(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateMicro creates a command object for the "create" command
func NewCmdCreatePostPreviewJob ¶
func NewCmdCreatePostPreviewJob(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreatePostPreviewJob creates a command object for the "create" command
func NewCmdCreateQuickstart ¶
func NewCmdCreateQuickstart(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateQuickstart creates a command object for the "create" command
func NewCmdCreateQuickstartLocation ¶
func NewCmdCreateQuickstartLocation(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateQuickstartLocation creates a command object for the "create" command
func NewCmdCreateSpring ¶
func NewCmdCreateSpring(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateSpring creates a command object for the "create" command
func NewCmdCreateTeam ¶
func NewCmdCreateTeam(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateTeam creates a command object for the "create" command
func NewCmdCreateTerraform ¶
func NewCmdCreateTerraform(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateTerraform creates a command object for the "create" command
func NewCmdCreateToken ¶
func NewCmdCreateToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateToken creates a command object for the "create" command
func NewCmdCreateTokenAddon ¶
func NewCmdCreateTokenAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateTokenAddon creates a command
func NewCmdCreateTracker ¶
func NewCmdCreateTracker(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateTracker creates a command object for the "create" command
func NewCmdCreateTrackerServer ¶
func NewCmdCreateTrackerServer(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateTrackerServer creates a command object for the "create" command
func NewCmdCreateTrackerToken ¶
func NewCmdCreateTrackerToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateTrackerToken creates a command
func NewCmdCreateUser ¶
func NewCmdCreateUser(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdCreateUser creates a command object for the "create" command
func NewCmdDelete ¶
func NewCmdDelete(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDelete creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteAddon ¶
func NewCmdDeleteAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteAddon creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteAddonCloudBees ¶
func NewCmdDeleteAddonCloudBees(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteAddonCloudBees defines the command
func NewCmdDeleteAddonGitea ¶
func NewCmdDeleteAddonGitea(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteAddonGitea defines the command
func NewCmdDeleteAddonSSO ¶
func NewCmdDeleteAddonSSO(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteAddonSSO defines the command
func NewCmdDeleteApp ¶
func NewCmdDeleteApp(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteApp creates a command object for this command
func NewCmdDeleteAws ¶
func NewCmdDeleteAws(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdDeleteBranch ¶
func NewCmdDeleteBranch(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteBranch creates a command object for the "delete repo" command
func NewCmdDeleteChat ¶
func NewCmdDeleteChat(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteChat creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteChatServer ¶
func NewCmdDeleteChatServer(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteChatServer defines the command
func NewCmdDeleteChatToken ¶
func NewCmdDeleteChatToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteChatToken defines the command
func NewCmdDeleteContext ¶
func NewCmdDeleteContext(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteContext creates a command object for the "delete repo" command
func NewCmdDeleteDevPod ¶
func NewCmdDeleteDevPod(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteDevPod creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteEks ¶
func NewCmdDeleteEks(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdDeleteEnv ¶
func NewCmdDeleteEnv(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteEnv creates a command object for the "delete repo" command
func NewCmdDeleteGit ¶
func NewCmdDeleteGit(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteGit creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteGitServer ¶
func NewCmdDeleteGitServer(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteGitServer defines the command
func NewCmdDeleteGitToken ¶
func NewCmdDeleteGitToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteGitToken defines the command
func NewCmdDeleteJenkins ¶
func NewCmdDeleteJenkins(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteJenkins creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteJenkinsUser ¶
func NewCmdDeleteJenkinsUser(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteJenkinsUser defines the command
func NewCmdDeletePostPreviewJob ¶
func NewCmdDeletePostPreviewJob(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeletePostPreviewJob creates a command object for the "create" command
func NewCmdDeletePreview ¶
func NewCmdDeletePreview(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeletePreview creates a command object
func NewCmdDeleteQuickstartLocation ¶
func NewCmdDeleteQuickstartLocation(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteQuickstartLocation defines the command
func NewCmdDeleteRepo ¶
func NewCmdDeleteRepo(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteRepo creates a command object for the "delete repo" command
func NewCmdDeleteTeam ¶
func NewCmdDeleteTeam(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteTeam creates a command object retrieves one or more resources from a server.
func NewCmdDeleteToken ¶
func NewCmdDeleteToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteToken creates a command object retrieves one or more resources from a server.
func NewCmdDeleteTokenAddon ¶
func NewCmdDeleteTokenAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteTokenAddon defines the command
func NewCmdDeleteTracker ¶
func NewCmdDeleteTracker(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteTracker creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteTrackerServer ¶
func NewCmdDeleteTrackerServer(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteTrackerServer defines the command
func NewCmdDeleteTrackerToken ¶
func NewCmdDeleteTrackerToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteTrackerToken defines the command
func NewCmdDeleteUser ¶
func NewCmdDeleteUser(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdDeleteUser creates a command object retrieves one or more resources from a server.
func NewCmdDiagnose ¶
func NewCmdDiagnose(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdDocs ¶
func NewCmdDocs(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
open the docs - Jenkins X docs by default
func NewCmdEdit ¶
func NewCmdEdit(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdEdit creates the edit command
func NewCmdEditAddon ¶
func NewCmdEditAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdEditAddon creates a command object for the "create" command
func NewCmdEditBuildpack ¶
func NewCmdEditBuildpack(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdEditBuildpack creates a command object for the "create" command
func NewCmdEditConfig ¶
func NewCmdEditConfig(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdEditConfig creates a command object for the "create" command
func NewCmdEditEnv ¶
func NewCmdEditEnv(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdEditEnv creates a command object for the "create" command
func NewCmdEditHelmBin ¶
func NewCmdEditHelmBin(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdEditHelmBin creates a command object for the "create" command
func NewCmdEditUserRole ¶
func NewCmdEditUserRole(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdEditUserRole creates a command object for the "create" command
func NewCmdEnvironment ¶
func NewCmdEnvironment(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdGC ¶
func NewCmdGC(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGC creates a command object for the generic "gc" action, which retrieves one or more resources from a server.
func NewCmdGCActivities ¶
func NewCmdGCActivities(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmd s a command object for the "step" command
func NewCmdGCGKE ¶
func NewCmdGCGKE(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmd s a command object for the "step" command
func NewCmdGCHelm ¶
func NewCmdGCHelm(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGCHelm a command object for the "garbage collect" command
func NewCmdGCPreviews ¶
func NewCmdGCPreviews(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmd s a command object for the "step" command
func NewCmdGCReleases ¶
func NewCmdGCReleases(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmd s a command object for the "step" command
func NewCmdGet ¶
func NewCmdGet(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGet creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdGetAWSInfo ¶
func NewCmdGetAWSInfo(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetAWSInfo creates the new command for: jx get env
func NewCmdGetActivity ¶
func NewCmdGetActivity(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetActivity creates the new command for: jx get version
func NewCmdGetAddon ¶
func NewCmdGetAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetAddon creates the command
func NewCmdGetApplications ¶
func NewCmdGetApplications(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetApplications creates the new command for: jx get version
func NewCmdGetBranchPattern ¶
func NewCmdGetBranchPattern(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetBranchPattern creates the new command for: jx get env
func NewCmdGetBuild ¶
func NewCmdGetBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetBuild creates the command object
func NewCmdGetBuildLogs ¶
func NewCmdGetBuildLogs(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetBuildLogs creates the command
func NewCmdGetBuildPack ¶
func NewCmdGetBuildPack(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetBuildPack creates the new command for: jx get env
func NewCmdGetCVE ¶
func NewCmdGetCVE(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetCVE creates the command
func NewCmdGetChat ¶
func NewCmdGetChat(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetChat creates the command
func NewCmdGetConfig ¶
func NewCmdGetConfig(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetConfig creates the command
func NewCmdGetDevPod ¶
func NewCmdGetDevPod(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetDevPod creates the command
func NewCmdGetEks ¶
func NewCmdGetEks(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdGetEnv ¶
func NewCmdGetEnv(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetEnv creates the new command for: jx get env
func NewCmdGetGit ¶
func NewCmdGetGit(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetGit creates the command
func NewCmdGetHelmBin ¶
func NewCmdGetHelmBin(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetHelmBin creates the new command for: jx get env
func NewCmdGetIssue ¶
func NewCmdGetIssue(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetIssue creates the command
func NewCmdGetIssues ¶
func NewCmdGetIssues(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetIssues creates the command
func NewCmdGetLimits ¶
func NewCmdGetLimits(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetLimits creates the command
func NewCmdGetPipeline ¶
func NewCmdGetPipeline(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetPipeline creates the command
func NewCmdGetPostPreviewJob ¶
func NewCmdGetPostPreviewJob(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetPostPreviewJob creates a command object for the "create" command
func NewCmdGetPreview ¶
func NewCmdGetPreview(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetPreview creates the new command for: jx get env
func NewCmdGetQuickstartLocation ¶
func NewCmdGetQuickstartLocation(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetQuickstartLocation creates the new command for: jx get env
func NewCmdGetRelease ¶
func NewCmdGetRelease(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetRelease creates the new command for: jx get env
func NewCmdGetTeam ¶
func NewCmdGetTeam(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetTeam creates the new command for: jx get env
func NewCmdGetTeamRole ¶
func NewCmdGetTeamRole(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetTeamRole creates the new command for: jx get env
func NewCmdGetToken ¶
func NewCmdGetToken(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetToken creates the command
func NewCmdGetTokenAddon ¶
func NewCmdGetTokenAddon(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetTokenAddon creates the command
func NewCmdGetTracker ¶
func NewCmdGetTracker(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetTracker creates the command
func NewCmdGetURL ¶
func NewCmdGetURL(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetURL creates the command
func NewCmdGetUser ¶
func NewCmdGetUser(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetUser creates the new command for: jx get env
func NewCmdGetWorkflow ¶
func NewCmdGetWorkflow(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdGetWorkflow creates the new command for: jx get env
func NewCmdImport ¶
func NewCmdImport(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdImport the cobra command for jx import
func NewCmdInit ¶
func NewCmdInit(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
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 ¶
func NewCmdInstall(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdInstall creates a command object for the generic "install" action, which installs the jenkins-x platform on a Kubernetes cluster.
func NewCmdLogin ¶
func NewCmdLogin(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdLogs ¶
func NewCmdLogs(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdMetrics ¶
func NewCmdMetrics(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdNamespace ¶
func NewCmdNamespace(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdOpen ¶
func NewCmdOpen(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdOptions ¶
NewCmdOptions implements the options command
func NewCmdPreview ¶
func NewCmdPreview(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdPreview creates a command object for the "create" command
func NewCmdPromote ¶
func NewCmdPromote(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdPromote creates the new command for: jx get prompt
func NewCmdPrompt ¶
func NewCmdPrompt(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdPrompt creates the new command for: jx get prompt
func NewCmdRepo ¶
func NewCmdRepo(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdRsh ¶
func NewCmdRsh(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdScan ¶
func NewCmdScan(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdScan creates a command object for the "scan" command
func NewCmdScanCluster ¶
func NewCmdScanCluster(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdScanCluster creates a command object for "scan cluster" command
func NewCmdShell ¶
func NewCmdShell(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStart ¶
func NewCmdStart(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStart creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdStartCompliance ¶
func NewCmdStartCompliance(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStartCompliance creates the command
func NewCmdStartPipeline ¶
func NewCmdStartPipeline(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStartPipeline creates the command
func NewCmdStatus ¶
func NewCmdStatus(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStep ¶
func NewCmdStep(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStep Steps a command object for the "step" command
func NewCmdStepBlog ¶
func NewCmdStepBlog(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStepBlog Creates a new Command object
func NewCmdStepChangelog ¶
func NewCmdStepChangelog(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepCollect ¶
func NewCmdStepCollect(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepGit ¶
func NewCmdStepGit(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStepGit Steps a command object for the "step" command
func NewCmdStepGitCredentials ¶
func NewCmdStepGitCredentials(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepGpgCredentials ¶
func NewCmdStepGpgCredentials(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepHelm ¶
func NewCmdStepHelm(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStepHelm Steps a command object for the "step" command
func NewCmdStepHelmApply ¶
func NewCmdStepHelmApply(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepHelmBuild ¶
func NewCmdStepHelmBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepHelmEnv ¶
func NewCmdStepHelmEnv(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepHelmInstall ¶
func NewCmdStepHelmInstall(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepHelmRelease ¶
func NewCmdStepHelmRelease(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepHelmVersion ¶
func NewCmdStepHelmVersion(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepLinkServices ¶
func NewCmdStepLinkServices(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStepLinkServices Creates a new Command object
func NewCmdStepNextBuildNumber ¶
func NewCmdStepNextBuildNumber(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepNextVersion ¶
func NewCmdStepNextVersion(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepNexus ¶
func NewCmdStepNexus(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStepNexus Steps a command object for the "step" command
func NewCmdStepNexusDrop ¶
func NewCmdStepNexusDrop(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepNexusRelease ¶
func NewCmdStepNexusRelease(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepPR ¶
func NewCmdStepPR(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPRComment ¶
func NewCmdStepPRComment(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPost ¶
func NewCmdStepPost(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPostBuild ¶
func NewCmdStepPostBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepPostRun ¶
func NewCmdStepPostRun(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPre ¶
func NewCmdStepPre(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPreBuild ¶
func NewCmdStepPreBuild(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepPreExtend ¶
func NewCmdStepPreExtend(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepRelease ¶
func NewCmdStepRelease(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStep Steps a command object for the "step" command
func NewCmdStepReport ¶
func NewCmdStepReport(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStep Steps a command object for the "step" command
func NewCmdStepReportActivities ¶
func NewCmdStepReportActivities(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepReportReleases ¶
func NewCmdStepReportReleases(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepSplitMonorepo ¶
func NewCmdStepSplitMonorepo(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStepSplitMonorepo Creates a new Command object
func NewCmdStepTag ¶
func NewCmdStepTag(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepValidate ¶
func NewCmdStepValidate(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStepValidate Creates a new Command object
func NewCmdStepVerify ¶
func NewCmdStepVerify(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStepWaitForArtifact ¶
func NewCmdStepWaitForArtifact(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdStop ¶
func NewCmdStop(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStop creates the command object
func NewCmdStopPipeline ¶
func NewCmdStopPipeline(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdStopPipeline creates the command
func NewCmdSync ¶
func NewCmdSync(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdTeam ¶
func NewCmdTeam(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdUninstall ¶
func NewCmdUninstall(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdUpdate ¶
func NewCmdUpdate(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdUpdate creates a command object for the "update" command
func NewCmdUpdateCluster ¶
func NewCmdUpdateCluster(f Factory, in terminal.FileReader, out terminal.FileWriter, 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 NewCmdUpdateClusterGKE ¶
func NewCmdUpdateClusterGKE(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdUpdateClusterGKETerraform ¶
func NewCmdUpdateClusterGKETerraform(f Factory, in terminal.FileReader, out terminal.FileWriter, 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 ¶
func NewCmdUpgrade(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdUpgrade creates the command
func NewCmdUpgradeAddons ¶
func NewCmdUpgradeAddons(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdUpgradeAddons defines the command
func NewCmdUpgradeBinaries ¶
func NewCmdUpgradeBinaries(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdUpgradeCLI ¶
func NewCmdUpgradeCLI(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdUpgradeCLI defines the command
func NewCmdUpgradeCluster ¶
func NewCmdUpgradeCluster(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdUpgradeCluster defines the command
func NewCmdUpgradeExtensions ¶
func NewCmdUpgradeExtensions(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCmdUpgradeExtensionsRepository ¶
func NewCmdUpgradeExtensionsRepository(f Factory, in terminal.FileReader, out terminal.FileWriter, 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 NewCmdUpgradeIngress ¶
func NewCmdUpgradeIngress(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdUpgradeIngress defines the command
func NewCmdUpgradePlatform ¶
func NewCmdUpgradePlatform(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCmdUpgradePlatform defines the command
func NewCmdVersion ¶
func NewCmdVersion(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
func NewCompliance ¶
func NewCompliance(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) *cobra.Command
NewCompliance creates a command object for the generic "compliance" action, which executes the compliance tests against a Kubernetes cluster
func NewJXCommand ¶
func NewJXCommand(f Factory, in terminal.FileReader, out terminal.FileWriter, err io.Writer) *cobra.Command
NewJXCommand creates the `jx` command and its nested children.
func ProjectExists ¶
func PullRequestURLToNumber ¶
PullRequestURLToNumber turns Pull Request URL to number
func StandardErrorMessage ¶
StandardErrorMessage translates common errors into a human readable message, or returns false if the error is not one of the recognized types. It may also log extended information to glog.
This method is generic to the command in use and may be used by non-Kubectl commands.
func VersionsToDelete ¶
VersionsToDelete returns a slice of strings
Types ¶
type ArgumentSpec ¶
type ArgumentSpec struct { // Name is the name of the argument. Name string `json:"name"` // Value is the value of the argument. Value string `json:"value"` }
ArgumentSpec defines the actual values to use to populate a template's parameters.
type BranchPatterns ¶
type Build ¶
type Build struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BuildSpec `json:"spec"` Status BuildStatus `json:"status"` }
Build represents a build of a container image. A Build is made up of a source, and a set of steps. Steps can mount volumes to share data between themselves. A build may be created by instantiating a BuildTemplate.
func (*Build) GetGeneration ¶
GetGeneration returns the generation number of this object.
func (*Build) SetGeneration ¶
SetGeneration sets the generation number of this object.
type BuildCondition ¶
type BuildCondition struct { // Type is the type of the condition. Type BuildConditionType `json:"state"` // Status is one of True, False or Unknown. Status corev1.ConditionStatus `json:"status" description:"status of the condition, one of True, False, Unknown"` // Reason is a one-word CamelCase reason for the condition's last // transition. // +optional Reason string `json:"reason,omitempty" description:"one-word CamelCase reason for the condition's last transition"` // Message is a human-readable message indicating details about the // last transition. // +optional Message string `json:"message,omitempty" description:"human-readable message indicating details about last transition"` }
BuildCondition defines a readiness condition for a Build. See: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#typical-status-properties
type BuildConditionType ¶
type BuildConditionType string
BuildConditionType defines types of build conditions.
const BuildSucceeded BuildConditionType = "Succeeded"
BuildSucceeded is set when the build is running, and becomes True when the build finishes successfully.
If the build is ongoing, its status will be Unknown. If it fails, its status will be False.
type BuildList ¶
type BuildList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` // Items is the list of Build items in this list. Items []Build `json:"items"` }
BuildList is a list of Build resources
type BuildParams ¶
type BuildParams struct { GitOwner string GitRepository string BranchName string BuildNumber string }
func (*BuildParams) DefaultValuesFromEnvVars ¶
func (p *BuildParams) DefaultValuesFromEnvVars(envVars []corev1.EnvVar)
DefaultValuesFromEnvVars defaults values from the environment variables
func (*BuildParams) MatchesPipeline ¶
func (p *BuildParams) MatchesPipeline(activity *v1.PipelineActivity) bool
MatchesPipeline returns true if the given pipeline matches the build parameters
type BuildProvider ¶
type BuildProvider string
BuildProvider defines a build execution implementation.
const ( // GoogleBuildProvider indicates that this build was performed with Google Cloud Build. GoogleBuildProvider BuildProvider = "Google" // ClusterBuildProvider indicates that this build was performed on-cluster. ClusterBuildProvider BuildProvider = "Cluster" )
type BuildSpec ¶
type BuildSpec struct { // TODO: Generation does not work correctly with CRD. They are scrubbed // by the APIserver (https://github.com/kubernetes/kubernetes/issues/58778) // So, we add Generation here. Once that gets fixed, remove this and use // ObjectMeta.Generation instead. // +optional Generation int64 `json:"generation,omitempty"` // Source specifies the input to the build. Source *SourceSpec `json:"source,omitempty"` // Steps are the steps of the build; each step is run sequentially with the // source mounted into /workspace. Steps []corev1.Container `json:"steps,omitempty"` // Volumes is a collection of volumes that are available to mount into the // steps of the build. Volumes []corev1.Volume `json:"volumes,omitempty"` // The name of the service account as which to run this build. ServiceAccountName string `json:"serviceAccountName,omitempty"` // Template, if specified, references a BuildTemplate resource to use to // populate fields in the build, and optional Arguments to pass to the // template. Template *TemplateInstantiationSpec `json:"template,omitempty"` // NodeSelector is a selector which must be true for the pod to fit on a node. // Selector which must match a node's labels for the pod to be scheduled on that node. // More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ // +optional NodeSelector map[string]string `json:"nodeSelector,omitempty"` }
BuildSpec is the spec for a Build resource.
type BuildStatus ¶
type BuildStatus struct { Builder BuildProvider `json:"builder,omitempty"` // Cluster provides additional information if the builder is Cluster. Cluster *ClusterSpec `json:"cluster,omitempty"` // Google provides additional information if the builder is Google. Google *GoogleSpec `json:"google,omitempty"` // StartTime is the time the build started. StartTime metav1.Time `json:"startTime,omitEmpty"` // CompletionTime is the time the build completed. CompletionTime metav1.Time `json:"completionTime,omitEmpty"` // StepStates describes the state of each build step container. StepStates []corev1.ContainerState `json:"stepStates,omitEmpty"` // Conditions describes the set of conditions of this build. Conditions []BuildCondition `json:"conditions,omitempty"` StepsCompleted []string `json:"stepsCompleted"` }
BuildStatus is the status for a Build resource
func (*BuildStatus) GetCondition ¶
func (bs *BuildStatus) GetCondition(t BuildConditionType) *BuildCondition
GetCondition returns the Condition matching the given type.
func (*BuildStatus) RemoveCondition ¶
func (b *BuildStatus) RemoveCondition(t BuildConditionType)
RemoveCondition removes any condition with the given type.
func (*BuildStatus) SetCondition ¶
func (b *BuildStatus) SetCondition(newCond *BuildCondition)
SetCondition sets the condition, unsetting previous conditions with the same type as necessary.
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 CloudBeesOptions ¶
type CloudBeesOptions struct { CommonOptions OnlyViewURL bool }
func (*CloudBeesOptions) GetBaseURL ¶
func (o *CloudBeesOptions) GetBaseURL() (url string, err error)
func (*CloudBeesOptions) OpenURL ¶
func (o *CloudBeesOptions) OpenURL(url string, label string) error
func (*CloudBeesOptions) Run ¶
func (o *CloudBeesOptions) Run() error
type CloudBeesPipelineOptions ¶
type CloudBeesPipelineOptions struct {
CloudBeesOptions
}
func (*CloudBeesPipelineOptions) Open ¶
func (o *CloudBeesPipelineOptions) Open(name string, label string) error
func (*CloudBeesPipelineOptions) OpenURL ¶
func (o *CloudBeesPipelineOptions) OpenURL(url string, label string) error
func (*CloudBeesPipelineOptions) Run ¶
func (o *CloudBeesPipelineOptions) Run() error
type Cluster ¶
type Cluster interface { Name() string SetName(string) string ClusterName() string Provider() string SetProvider(string) string Context() string CreateTfVarsFile(path string) error }
Cluster interface for Clusters
type ClusterSpec ¶
type ClusterSpec struct { // Namespace is the namespace in which the pod is running. Namespace string `json:"namespace"` // PodName is the name of the pod responsible for executing this build's steps. PodName string `json:"podName"` }
ClusterSpec provides information about the on-cluster build, if applicable.
type CollectProviderKind ¶
type CollectProviderKind string
const ( GitHubPagesCollectProviderKind CollectProviderKind = "GitHub" HttpCollectProviderKind CollectProviderKind = "Http" )
type CommonOptions ¶
type CommonOptions struct { Factory Factory In terminal.FileReader Out terminal.FileWriter Err io.Writer Cmd *cobra.Command Args []string BatchMode bool Verbose bool LogLevel string Headless bool NoBrew bool InstallDependencies bool SkipAuthSecretsMerge bool ServiceAccount string Username string ExternalJenkinsBaseURL string // common cached clients KubeClientCached kubernetes.Interface GitClient gits.Gitter Prow // contains filtered or unexported fields }
CommonOptions contains common options and helper methods
func NewCommonOptions ¶
func NewCommonOptions(devNamespace string, factory Factory) CommonOptions
NewCommonOptions a helper method to create a new CommonOptions instance pre configured in a specific devNamespace
func (*CommonOptions) CleanExposecontrollerReources ¶
func (o *CommonOptions) CleanExposecontrollerReources(ns string)
CleanExposecontrollerReources cleans expose controller resources
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) CreateGitAuthConfigServiceFromSecrets ¶
func (o *CommonOptions) CreateGitAuthConfigServiceFromSecrets(fileName string, secrets *corev1.SecretList, isCDPipeline bool) (auth.AuthConfigService, error)
CreateGitAuthConfigServiceFromSecrets Creates a git auth config service from secrets
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{})
Debugf outputs the given text to the console if verbose mode is enabled
func (*CommonOptions) DiscoverAppName ¶
func (o *CommonOptions) DiscoverAppName() (string, error)
func (*CommonOptions) FindGitInfo ¶
func (o *CommonOptions) FindGitInfo(dir string) (*gits.GitRepositoryInfo, error)
func (*CommonOptions) FindHelmChart ¶
func (o *CommonOptions) FindHelmChart() (string, error)
func (*CommonOptions) GetCloudProvider ¶
func (o *CommonOptions) GetCloudProvider(p string) (string, error)
func (*CommonOptions) GetClusterUserName ¶
func (o *CommonOptions) GetClusterUserName() (string, error)
func (*CommonOptions) GetDomain ¶
func (o *CommonOptions) GetDomain(client kubernetes.Interface, domain string, provider string, ingressNamespace string, ingressService string, externalIP string) (string, error)
GetDomain returns the domain name, calculating it if possible else prompting the user
func (*CommonOptions) GetJenkinsURL ¶
func (o *CommonOptions) GetJenkinsURL() (string, error)
func (*CommonOptions) GetLatestJXVersion ¶
func (o *CommonOptions) GetLatestJXVersion() (semver.Version, error)
func (*CommonOptions) Git ¶
func (o *CommonOptions) Git() gits.Gitter
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) Helm ¶
func (o *CommonOptions) Helm() helm.Helmer
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) JXClientAndAdminNamespace ¶
func (o *CommonOptions) JXClientAndAdminNamespace() (versioned.Interface, string, error)
func (*CommonOptions) JXClientAndDevNamespace ¶
func (o *CommonOptions) JXClientAndDevNamespace() (versioned.Interface, string, error)
func (*CommonOptions) JenkinsClient ¶
func (o *CommonOptions) JenkinsClient() (gojenkins.JenkinsClient, error)
func (*CommonOptions) KubeClient ¶
func (o *CommonOptions) KubeClient() (kubernetes.Interface, string, error)
func (*CommonOptions) KubeClientAndDevNamespace ¶
func (o *CommonOptions) KubeClientAndDevNamespace() (kubernetes.Interface, string, error)
KubeClientAndDevNamespace returns a kube client and the development namespace
func (*CommonOptions) LoadPipelineSecrets ¶
func (o *CommonOptions) LoadPipelineSecrets(kind, serviceKind string) (*corev1.SecretList, error)
func (*CommonOptions) LoadProwOAuthConfig ¶
func (o *CommonOptions) LoadProwOAuthConfig(ns string) (string, error)
LoadProwOAuthConfig returns the OAuth Token for Prow
func (*CommonOptions) ModifyDevEnvironment ¶
func (o *CommonOptions) ModifyDevEnvironment(callback func(env *v1.Environment) error) error
ModifyDevEnvironment modifies the development environment settings
func (*CommonOptions) ModifyTeam ¶
ModifyTeam lazily creates the team if it does not exist or updates it if it requires a change
func (*CommonOptions) ModifyUser ¶
ModifyUser lazily creates the user if it does not exist or updates it if it requires a change
func (*CommonOptions) Run ¶
func (o *CommonOptions) Run() error
func (*CommonOptions) RunCommand ¶
func (o *CommonOptions) RunCommand(name string, args ...string) error
RunCommand runs a command
func (*CommonOptions) SetDevNamespace ¶
func (c *CommonOptions) SetDevNamespace(ns string)
SetDevNamespace configures the current dev namespace
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, bool, bool, error)
TeamHelmBin returns the helm binary used for a team and whether a remote tiller is disabled
func (*CommonOptions) TeamSettings ¶
func (o *CommonOptions) TeamSettings() (*v1.TeamSettings, error)
TeamSettings returns the team settings
func (*CommonOptions) UninstallBinary ¶
func (o *CommonOptions) UninstallBinary(binDir string, name string) error
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
}
ComplianceResultsOptions options for "compliance results" command
func (*ComplianceResultsOptions) Exit ¶
func (o *ComplianceResultsOptions) Exit(status int)
Exit the main goroutine with status
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 ConfigureGitFolderFn ¶
type ConfigureGitFolderFn func(dir string, gitInfo *gits.GitRepositoryInfo, gitAdapter gits.Gitter) error
ConfigureGitFolderFn callback to optionally configure git before its used for creating commits and PRs
type ConsoleOptions ¶
type ConsoleOptions struct { GetURLOptions OnlyViewURL bool ClassicMode bool }
func (*ConsoleOptions) Run ¶
func (o *ConsoleOptions) Run() error
type ContextOptions ¶
type ContextOptions struct { CommonOptions Filter string }
func (*ContextOptions) PickContext ¶
func (o *ContextOptions) PickContext(names []string, defaultValue string) (string, error)
func (*ContextOptions) Run ¶
func (o *ContextOptions) Run() error
type ControllerBackupOptions ¶
type ControllerBackupOptions struct { ControllerOptions GitRepositoryOptions gits.GitRepositoryOptions Namespace string Organisation string }
ControllerBackupOptions are the flags for the commands
func (*ControllerBackupOptions) Run ¶
func (o *ControllerBackupOptions) Run() error
Run implements this command
type ControllerBuildOptions ¶
type ControllerBuildOptions struct { ControllerOptions Namespace string }
ControllerBuildOptions are the flags for the commands
func (*ControllerBuildOptions) Run ¶
func (o *ControllerBuildOptions) Run() error
Run implements this command
type ControllerComplianceOptions ¶
type ControllerComplianceOptions struct {
ControllerOptions
}
ControllerComplianceOptions the options for the controller compliance
func (*ControllerComplianceOptions) Check ¶
func (o *ControllerComplianceOptions) Check(check jenkinsv1.ComplianceCheckSpec) error
func (*ControllerComplianceOptions) Run ¶
func (o *ControllerComplianceOptions) Run() error
Run implements this command
func (*ControllerComplianceOptions) UpsertComplianceCheck ¶
func (o *ControllerComplianceOptions) UpsertComplianceCheck(name string, url string, sha string, pullRequest string, jxClient jenkinsv1client.Interface, ns string) error
type ControllerOptions ¶
type ControllerOptions struct {
CommonOptions
}
ControllerOptions contains the CLI options
type ControllerRoleFlags ¶
type ControllerRoleFlags struct {
Version string
}
type ControllerRoleOptions ¶
type ControllerRoleOptions struct { ControllerOptions NoWatch bool Roles map[string]*rbacv1.Role EnvRoleBindings map[string]*v1.EnvironmentRoleBinding }
ControllerRoleOptions the command line options
func (*ControllerRoleOptions) Run ¶
func (o *ControllerRoleOptions) Run() error
func (*ControllerRoleOptions) WatchEnvironmentRoleBindings ¶
func (o *ControllerRoleOptions) WatchEnvironmentRoleBindings(jxClient versioned.Interface, ns string) error
func (*ControllerRoleOptions) WatchEnvironments ¶
func (o *ControllerRoleOptions) WatchEnvironments(kubeClient kubernetes.Interface, jxClient versioned.Interface, ns string) error
func (*ControllerRoleOptions) WatchRoles ¶
func (o *ControllerRoleOptions) WatchRoles(kubeClient kubernetes.Interface, ns string) error
type ControllerTeamOptions ¶
type ControllerTeamOptions struct { ControllerOptions InstallOptions GitRepositoryOptions gits.GitRepositoryOptions }
ControllerTeamOptions are the flags for the commands
func (*ControllerTeamOptions) Run ¶
func (o *ControllerTeamOptions) Run() error
Run implements this command
type ControllerWorkflowOptions ¶
type ControllerWorkflowOptions struct { ControllerOptions Namespace string NoWatch bool NoMergePullRequest bool Verbose bool LocalHelmRepoName string PullRequestPollTime string // testing FakePullRequests CreateEnvPullRequestFn FakeGitProvider *gits.FakeProvider // calculated fields PullRequestPollDuration *time.Duration // contains filtered or unexported fields }
ControllerWorkflowOptions are the flags for the commands
func (*ControllerWorkflowOptions) PipelineMap ¶
func (o *ControllerWorkflowOptions) PipelineMap() map[string]*v1.PipelineActivity
func (*ControllerWorkflowOptions) ReloadAndPollGitPipelineStatuses ¶
func (o *ControllerWorkflowOptions) ReloadAndPollGitPipelineStatuses(jxClient versioned.Interface, ns string)
ReloadAndPollGitPipelineStatuses reloads all the current pending PipelineActivity objects and polls their Git status to see if the workflows can progress.
Note this method is only really for testing and simulation
func (*ControllerWorkflowOptions) Run ¶
func (o *ControllerWorkflowOptions) Run() error
Run implements this command
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 Sso bool Basic bool Password string }
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 CreateAddonKnativeBuildOptions ¶
type CreateAddonKnativeBuildOptions struct { CreateAddonOptions BackoffLimit int32 Image string }
func (*CreateAddonKnativeBuildOptions) Run ¶
func (o *CreateAddonKnativeBuildOptions) Run() error
Create the addon
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 SetValues string HelmUpdate bool }
CreateAddonOptions the options for the create spring command
func (*CreateAddonOptions) CreateAddon ¶
func (o *CreateAddonOptions) CreateAddon(addon string) error
func (*CreateAddonOptions) ExposeAddon ¶
func (o *CreateAddonOptions) ExposeAddon(addon string) error
func (*CreateAddonOptions) Run ¶
func (o *CreateAddonOptions) Run() error
Run implements this command
type CreateAddonOwaspOptions ¶
type CreateAddonOwaspOptions struct { CreateAddonOptions BackoffLimit int32 Image string }
func (*CreateAddonOwaspOptions) Run ¶
func (o *CreateAddonOwaspOptions) Run() error
Create the addon
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 CreateAddonPrometheusOptions ¶
type CreateAddonPrometheusOptions struct { CreateOptions Namespace string Version string ReleaseName string HelmUpdate bool SetValues string Password string }
func (*CreateAddonPrometheusOptions) Run ¶
func (o *CreateAddonPrometheusOptions) Run() error
type CreateAddonProwOptions ¶
type CreateAddonProwOptions struct { CreateAddonOptions Password string Chart string }
CreateAddonProwOptions the options for the create spring command
func (*CreateAddonProwOptions) Run ¶
func (o *CreateAddonProwOptions) Run() error
Run implements the command
type CreateAddonSSOOptions ¶
type CreateAddonSSOOptions struct { CreateAddonOptions UpgradeIngressOptions UpgradeIngressOptions DexVersion string }
CreateAddonSSOptions the options for the create sso addon
func (*CreateAddonSSOOptions) Run ¶
func (o *CreateAddonSSOOptions) Run() error
Run implements the command
type CreateAddonVaultOptions ¶
type CreateAddonVaultOptions struct {
CreateAddonOptions
}
CreateAddonVaultptions the options for the create addon vault-operator
func (*CreateAddonVaultOptions) Run ¶
func (o *CreateAddonVaultOptions) 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 ClientSecret string ServicePrincipal string Subscription string AADClientAppID string AADServerAppID string AADServerAppSecret string AADTenantID string AdminUsername string DNSNamePrefix string DNSServiceIP string DockerBridgeAddress string PodCIDR string ServiceCIDR string VnetSubnetID string WorkspaceResourceID 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 CreateClusterEKSFlags ¶
type CreateClusterEKSOptions ¶
type CreateClusterEKSOptions struct { CreateClusterOptions Flags CreateClusterEKSFlags }
CreateClusterEKSOptions contains the CLI flags
func (*CreateClusterEKSOptions) Run ¶
func (o *CreateClusterEKSOptions) Run() error
Runs the command logic (including installing required binaries, parsing options and aggregating eksctl command)
type CreateClusterFlags ¶
type CreateClusterFlags struct { }
type CreateClusterGKEFlags ¶
type CreateClusterGKEFlags struct { AutoUpgrade bool ClusterName string ClusterIpv4Cidr string ClusterVersion string DiskSize string ImageType string MachineType string MinNumOfNodes string MaxNumOfNodes string Network string ProjectId string SkipLogin bool SubNetwork string Zone string Namespace string Labels string }
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 CreateClusterIKSFlags ¶
type CreateClusterIKSFlags struct { Username string Password string Account string SSOCode bool APIKey string Region string ClusterName string KubeVersion string Zone string MachineType string PrivateVLAN string CreatePrivateVLAN bool PublicVLAN string CreatePublicVLAN bool PrivateOnly bool Workers string Isolation string NoSubnet bool DiskEncrypt bool Trusted bool SkipLogin bool }
type CreateClusterIKSOptions ¶
type CreateClusterIKSOptions struct { CreateClusterOptions Flags CreateClusterIKSFlags }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterIKSOptions) Run ¶
func (o *CreateClusterIKSOptions) 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 CreateClusterOKEFlags ¶
type CreateClusterOKEFlags struct { ClusterName string CompartmentId string VcnId string KubernetesVersion string WaitForState string Endpoint string PodsCidr string ServicesCidr string IsKubernetesDashboardEnabled bool IsTillerEnabled bool ServiceLbSubnetIds string NodePoolName string NodeImageName string NodeShape string SSHPublicKey string QuantityPerSubnet string NodePoolSubnetIds string ClusterMaxWaitSeconds string ClusterWaitIntervalSeconds string InitialNodeLabels string PoolMaxWaitSeconds string PoolWaitIntervalSeconds string }
type CreateClusterOKEOptions ¶
type CreateClusterOKEOptions struct { CreateClusterOptions Flags CreateClusterOKEFlags }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterOKEOptions) Run ¶
func (o *CreateClusterOKEOptions) Run() error
type CreateClusterOptions ¶
type CreateClusterOptions struct { CreateOptions InstallOptions InstallOptions Flags InitFlags Provider string SkipInstallation bool }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterOptions) Run ¶
func (o *CreateClusterOptions) Run() error
Run returns help if function is run without any argument
type CreateCodeshipFlags ¶
type CreateCodeshipOptions ¶
type CreateCodeshipOptions struct { CreateOptions CreateTerraformOptions CreateGkeServiceAccountOptions Flags CreateCodeshipFlags GitRepositoryOptions gits.GitRepositoryOptions }
CreateCodeshipOptions the options for the create spring command
func (*CreateCodeshipOptions) CreateAdditionalArgs ¶
func (o *CreateCodeshipOptions) CreateAdditionalArgs() []string
func (*CreateCodeshipOptions) Run ¶
func (o *CreateCodeshipOptions) Run() error
Run implements this command
type CreateDevPodOptions ¶
type CreateDevPodOptions struct { CreateOptions Label string Suffix string WorkingDir string RequestCpu string Dir string Reuse bool Sync bool Ports []int AutoExpose bool Persist bool ImportUrl string Import bool ShellCmd string Username string DockerRegistry string GitCredentials StepGitCredentialsOptions Results CreateDevPodResults }
CreateDevPodOptions the options for the create spring command
func (*CreateDevPodOptions) Run ¶
func (o *CreateDevPodOptions) Run() error
Run implements this command
type CreateDevPodResults ¶
CreateDevPodResults the results of running the command
type CreateDockerAuthOptions ¶
type CreateDockerAuthOptions struct { CreateOptions Host string User string Secret string Email string }
CreateDockerAuthOptions the options for the create Docker auth command
func (*CreateDockerAuthOptions) Run ¶
func (o *CreateDockerAuthOptions) Run() error
Run implements the 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 Prow bool ForkEnvironmentGitRepo string EnvJobCredentials string GitRepositoryOptions gits.GitRepositoryOptions Prefix string BranchPattern string }
CreateEnvOptions the options for the create spring command
type CreateEnvPullRequestFn ¶
type CreateEnvPullRequestFn func(env *v1.Environment, modifyRequirementsFn ModifyRequirementsFn, branchNameText string, title string, message string, pullRequestInfo *ReleasePullRequestInfo) (*ReleasePullRequestInfo, error)
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 CreateGkeServiceAccountOptions ¶
type CreateGkeServiceAccountOptions struct { CreateOptions Flags CreateGkeServiceAccountFlags }
func (*CreateGkeServiceAccountOptions) Run ¶
func (o *CreateGkeServiceAccountOptions) Run() error
Run implements this 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) 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 CreatePostPreviewJobOptions ¶
type CreatePostPreviewJobOptions struct { CreateOptions Name string Image string Commands []string BackoffLimit int32 }
CreatePostPreviewJobOptions the options for the create spring command
func (*CreatePostPreviewJobOptions) Run ¶
func (o *CreatePostPreviewJobOptions) Run() error
Run implements the command
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)
LoadQuickstartsFromMap Load all quickstarts
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 CreateTeamOptions ¶
type CreateTeamOptions struct { CreateOptions Name string Members []string }
CreateTeamOptions the options for the create spring command
type CreateTerraformOptions ¶
type CreateTerraformOptions struct { CreateOptions InstallOptions InstallOptions Flags Flags Clusters []Cluster GitRepositoryOptions gits.GitRepositoryOptions }
CreateTerraformOptions the options for the create spring command
func (*CreateTerraformOptions) ClusterDetailsWizard ¶
func (options *CreateTerraformOptions) ClusterDetailsWizard() error
ClusterDetailsWizard cluster details wizard
func (*CreateTerraformOptions) CreateOrganisationFolderStructure ¶
func (options *CreateTerraformOptions) CreateOrganisationFolderStructure(dir string) ([]Cluster, error)
CreateOrganisationFolderStructure creates an organisations folder structure
func (*CreateTerraformOptions) Run ¶
func (options *CreateTerraformOptions) Run() error
Run implements this command
func (*CreateTerraformOptions) ValidateClusterDetails ¶
func (options *CreateTerraformOptions) ValidateClusterDetails() error
ValidateClusterDetails validates the options for a cluster
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 CreateUserOptions ¶
type CreateUserOptions struct { CreateOptions UserSpec v1.UserDetails }
CreateUserOptions the options for the create spring 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 DeleteAddonSSOOptions ¶
type DeleteAddonSSOOptions struct { DeleteAddonOptions ReleaseNames []string }
DeleteAddonSSOOptions the options for delete addon sso command
func (*DeleteAddonSSOOptions) Run ¶
func (o *DeleteAddonSSOOptions) Run() error
Run implements the 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 // allow git to be configured externally before a PR is created ConfigureGitCallback ConfigureGitFolderFn }
DeleteAppOptions are the flags for this delete commands
type DeleteAwsOptions ¶
type DeleteAwsOptions struct { CommonOptions Profile string Region string VpcId string }
func (*DeleteAwsOptions) Run ¶
func (o *DeleteAwsOptions) Run() error
type DeleteBranchOptions ¶
type DeleteBranchOptions struct { CreateOptions Organisation string Repositories []string GitHost string GitHub bool SelectAll bool SelectFilter string SelectAllRepos bool SelectFilterRepos string }
DeleteBranchOptions the options for the create spring command
func (*DeleteBranchOptions) Run ¶
func (o *DeleteBranchOptions) Run() error
Run implements the command
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 DeleteAuthInfo bool DeleteCluster bool }
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 DeleteEksOptions ¶
type DeleteEksOptions struct { GetOptions Profile string Region string }
func (*DeleteEksOptions) Run ¶
func (o *DeleteEksOptions) Run() error
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 DeletePostPreviewJobOptions ¶
type DeletePostPreviewJobOptions struct { DeleteOptions Name string }
DeletePostPreviewJobOptions the options for the create spring command
func (*DeletePostPreviewJobOptions) Run ¶
func (o *DeletePostPreviewJobOptions) Run() error
Run implements the command
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 DeleteTeamOptions ¶
type DeleteTeamOptions struct { CommonOptions SelectAll bool SelectFilter string Confirm bool }
DeleteTeamOptions are the flags for delete commands
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 DeleteUserOptions ¶
type DeleteUserOptions struct { CommonOptions SelectAll bool SelectFilter string Confirm bool }
DeleteUserOptions are the flags for delete commands
type DiagnoseOptions ¶
type DiagnoseOptions struct { CommonOptions Namespace string }
func (*DiagnoseOptions) Run ¶
func (o *DiagnoseOptions) Run() error
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
}
EditHelmBinOptions the options for the create spring command
func (*EditHelmBinOptions) Run ¶
func (o *EditHelmBinOptions) Run() error
Run implements the command
type EditUserRoleOptions ¶
type EditUserRoleOptions struct { EditOptions Login string Roles []string }
EditUserRoleOptions the options for the create spring command
func (*EditUserRoleOptions) Run ¶
func (o *EditUserRoleOptions) 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 Factory ¶
type Factory interface { WithBearerToken(token string) Factory ImpersonateUser(user string) Factory CreateJenkinsClient(kubeClient kubernetes.Interface, ns string, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) (gojenkins.JenkinsClient, error) GetJenkinsURL(kubeClient kubernetes.Interface, ns string) (string, error) CreateAuthConfigService(fileName string) (auth.AuthConfigService, error) CreateJenkinsAuthConfigService(kubernetes.Interface, string) (auth.AuthConfigService, error) CreateChartmuseumAuthConfigService() (auth.AuthConfigService, error) CreateIssueTrackerAuthConfigService(secrets *corev1.SecretList) (auth.AuthConfigService, error) CreateChatAuthConfigService(secrets *corev1.SecretList) (auth.AuthConfigService, error) CreateAddonAuthConfigService(secrets *corev1.SecretList) (auth.AuthConfigService, error) CreateClient() (kubernetes.Interface, string, error) CreateGitProvider(string, string, auth.AuthConfigService, string, bool, gits.Gitter, terminal.FileReader, terminal.FileWriter, io.Writer) (gits.GitProvider, error) CreateKubeConfig() (*rest.Config, error) CreateJXClient() (versioned.Interface, string, error) CreateApiExtensionsClient() (apiextensionsclientset.Interface, error) CreateMetricsClient() (*metricsclient.Clientset, error) CreateComplianceClient() (*client.SonobuoyClient, error) CreateTable(out io.Writer) table.Table SetBatch(batch bool) IsInCluster() bool IsInCDPIpeline() bool AuthMergePipelineSecrets(config *auth.AuthConfig, secrets *corev1.SecretList, kind string, isCDPipeline bool) error }
Factory is the interface defined for jx interactions via the cli
func NewFactory ¶
func NewFactory() Factory
NewFactory creates a factory with the default Kubernetes resources defined if optionalClientConfig is nil, then flags will be bound to a new clientcmd.ClientConfig. if optionalClientConfig is not nil, then this factory will make use of it.
type Flags ¶
type Flags struct { Cluster []string OrganisationName string ForkOrganisationGitRepo string SkipTerraformApply bool IgnoreTerraformWarnings bool JxEnvironment string GKEProjectID string GKESkipEnableApis bool GKEZone string GKEMachineType string GKEMinNumOfNodes string GKEMaxNumOfNodes string GKEDiskSize string GKEAutoRepair bool GKEAutoUpgrade bool GKEServiceAccount string LocalOrganisationRepository string }
Flags for a cluster
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 GCGKEOptions ¶
type GCGKEOptions 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()
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 GCReleasesOptions ¶
type GCReleasesOptions struct { CommonOptions RevisionHistoryLimit int }
GCReleasesOptions contains the CLI options for this command
type GCSSourceSpec ¶
type GCSSourceSpec struct { // Type declares the style of source to fetch. Type GCSSourceType `json:"type,omitempty"` // Location specifies the location of the source archive or manifest file. Location string `json:"location,omitempty"` }
GCSSourceSpec describes source input to the Build in the form of an archive, or a source manifest describing files to fetch.
type GCSSourceType ¶
type GCSSourceType string
GCSSourceType defines a type of GCS source fetch.
const ( // GCSArchive indicates that source should be fetched from a typical archive file. GCSArchive GCSSourceType = "Archive" // GCSManifest indicates that source should be fetched using a // manifest-based protocol which enables incremental source upload. GCSManifest GCSSourceType = "Manifest" )
type GKECluster ¶
type GKECluster struct { Organisation string ProjectID string Zone string MachineType string MinNumOfNodes string MaxNumOfNodes string DiskSize string AutoRepair bool AutoUpgrade bool ServiceAccount string // contains filtered or unexported fields }
GKECluster implements Cluster interface for GKE
func (GKECluster) ClusterName ¶
func (g GKECluster) ClusterName() string
ClusterName get cluster name
func (GKECluster) CreateTfVarsFile ¶
func (g GKECluster) CreateTfVarsFile(path string) error
CreateTfVarsFile create vars
func (*GKECluster) ParseTfVarsFile ¶
func (g *GKECluster) ParseTfVarsFile(path string)
ParseTfVarsFile Parse vars file
func (*GKECluster) SetProvider ¶
func (g *GKECluster) SetProvider(provider string) string
SetProvider Set the provider
type GetAWSInfoOptions ¶
type GetAWSInfoOptions struct {
GetOptions
}
GetAWSInfoOptions containers the CLI options
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 GetEksOptions ¶
type GetEksOptions struct { GetOptions Profile string Region string }
func (*GetEksOptions) Run ¶
func (o *GetEksOptions) Run() error
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 GetLimitsOptions ¶
type GetLimitsOptions struct {
GetOptions
}
GetAddonOptions the command line options
func (*GetLimitsOptions) GetLimits ¶
func (o *GetLimitsOptions) GetLimits(server string, username string, apitoken string) (RateLimits, error)
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 GetPostPreviewJobOptions ¶
type GetPostPreviewJobOptions struct {
CreateOptions
}
GetPostPreviewJobOptions the options for the create spring command
func (*GetPostPreviewJobOptions) Run ¶
func (o *GetPostPreviewJobOptions) Run() error
Run implements the command
type GetPreviewOptions ¶
type GetPreviewOptions struct { GetEnvOptions Current bool }
GetPreviewOptions containers the CLI options
func (*GetPreviewOptions) CurrentPreviewUrl ¶
func (o *GetPreviewOptions) CurrentPreviewUrl() error
type GetQuickstartLocationOptions ¶
type GetQuickstartLocationOptions struct {
GetOptions
}
GetQuickstartLocationOptions containers the CLI options
func (*GetQuickstartLocationOptions) Run ¶
func (o *GetQuickstartLocationOptions) Run() error
Run implements this command
type GetReleaseOptions ¶
type GetReleaseOptions struct { GetOptions Filter string Namespace string }
GetReleaseOptions containers the CLI options
type GetTeamOptions ¶
type GetTeamOptions struct { GetOptions Pending bool }
GetTeamOptions containers the CLI options
type GetTeamRoleOptions ¶
type GetTeamRoleOptions struct {
GetOptions
}
GetTeamRoleOptions containers the CLI options
func (*GetTeamRoleOptions) Run ¶
func (o *GetTeamRoleOptions) 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 GetUserOptions ¶
type GetUserOptions struct { GetOptions Pending bool }
GetUserOptions containers the CLI options
type GetWorkflowOptions ¶
type GetWorkflowOptions struct { GetOptions Name string }
GetWorkflowOptions containers the CLI options
func (*GetWorkflowOptions) Run ¶
func (o *GetWorkflowOptions) Run() error
Run implements this command
type GitHubPagesStepCollectOptions ¶
type GitHubPagesStepCollectOptions struct { }
type GitSourceSpec ¶
type GitSourceSpec struct { // URL of the Git repository to clone from. Url string `json:"url"` // Git revision (branch, tag, commit SHA or ref) to clone. See // https://git-scm.com/docs/gitrevisions#_specifying_revisions for more // information. Revision string `json:"revision"` }
GitSourceSpec describes a Git repo source input to the Build.
type GoogleSpec ¶
type GoogleSpec struct { // Operation is the unique name of the GCB API Operation for the build. Operation string `json:"operation"` }
GoogleSpec provides information about the GCB build, if applicable.
type HttpStepCollectOptions ¶
type HttpStepCollectOptions struct {
Destination string
}
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 DockerRegistryOrg string DisableDotGitSearch bool InitialisedGit bool Jenkins gojenkins.JenkinsClient GitConfDir string GitServer *auth.AuthServer GitUserAuth *auth.UserAuth GitProvider gits.GitProvider PostDraftPackCallback CallbackFn DisableMaven bool PipelineUserName string PipelineServer string }
ImportOptions options struct for jx import
func (*ImportOptions) CloneRepository ¶
func (options *ImportOptions) CloneRepository() error
CloneRepository clones a repository
func (*ImportOptions) CreateNewRemoteRepository ¶
func (options *ImportOptions) CreateNewRemoteRepository() error
CreateNewRemoteRepository creates a new remote repository
func (*ImportOptions) CreateProwOwnersAliasesFile ¶
func (options *ImportOptions) CreateProwOwnersAliasesFile() error
CreateProwOwnersAliasesFile creates an OWNERS_ALIASES file in the root of the project assigning the current Git user as an approver and a reviewer.
func (*ImportOptions) CreateProwOwnersFile ¶
func (options *ImportOptions) CreateProwOwnersFile() error
CreateProwOwnersFile creates an OWNERS file in the root of the project assigning the current Git user as an approver and a reviewer. If the file already exists, does nothing.
func (*ImportOptions) DefaultGitIgnore ¶
func (options *ImportOptions) DefaultGitIgnore() error
DefaultGitIgnore creates a default .gitignore
func (*ImportOptions) DefaultsFromTeamSettings ¶
func (options *ImportOptions) DefaultsFromTeamSettings() error
func (*ImportOptions) DiscoverGit ¶
func (options *ImportOptions) DiscoverGit() error
DiscoverGit checks if there is a git clone or prompts the user to import it
func (*ImportOptions) DiscoverRemoteGitURL ¶
func (options *ImportOptions) DiscoverRemoteGitURL() error
DiscoverRemoteGitURL finds the git url by looking in the directory and looking for a .git/config file
func (*ImportOptions) DraftCreate ¶
func (options *ImportOptions) DraftCreate() error
DraftCreate creates a draft
func (*ImportOptions) ImportProjectsFromGitHub ¶
func (options *ImportOptions) ImportProjectsFromGitHub() error
ImportProjectsFromGitHub import projects from github
func (*ImportOptions) ReplacePlaceholders ¶
func (options *ImportOptions) ReplacePlaceholders(gitServerName, gitOrg, dockerRegistryOrg string) error
ReplacePlaceholders replaces Git server name, git org, and docker registry org placeholders
type InitFlags ¶
type InitFlags struct { Domain string Provider string Namespace string UserClusterRole string TillerClusterRole string IngressClusterRole string TillerNamespace string IngressNamespace string IngressService string IngressDeployment string ExternalIP string DraftClient bool HelmClient bool Helm3 bool HelmBin string RecreateExistingDraftRepos bool NoTiller bool RemoteTiller bool GlobalTiller bool SkipIngress bool SkipTiller bool OnPremise bool Http bool }
InitFlags the flags for running init
type InitOptions ¶
type InitOptions struct { CommonOptions Client clientset.Clientset Flags InitFlags }
InitOptions the options for running init
func (*InitOptions) HelmBinary ¶
func (o *InitOptions) HelmBinary() string
HelmBinary returns name of configured Helm binary
type InstallChartOptions ¶
type InstallFlags ¶
type InstallFlags struct { Domain string ExposeControllerPathMode string DockerRegistry string Provider string CloudEnvRepository string LocalHelmRepoName string Namespace string NoDefaultEnvironments bool HelmTLS bool DefaultEnvironmentPrefix string LocalCloudEnvironment bool Timeout string RegisterLocalHelmRepo bool CleanupTempFiles bool InstallOnly bool EnvironmentGitOwner string Version string Prow bool DisableSetKubeContext bool }
InstallFlags flags for the install command
type InstallOptions ¶
type InstallOptions struct { CommonOptions gits.GitRepositoryOptions CreateJenkinsUserOptions CreateEnvOptions config.AdminSecretsService InitOptions InitOptions Flags InstallFlags }
InstallOptions 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 CreateInstallOptions ¶
func CreateInstallOptions(f Factory, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer) InstallOptions
CreateInstallOptions creates the options for jx install
type KubernetesProvider ¶
type KubernetesProvider string
type Login ¶
type Login struct {
Data UserLoginInfo `form:"data,omitempty" json:"data,omitempty" yaml:"data,omitempty" xml:"data,omitempty"`
}
Login holds the login information
type LoginOptions ¶
type LoginOptions struct { CommonOptions URL string Team string }
LoginOptions options for login command
func (*LoginOptions) Login ¶
func (o *LoginOptions) Login() (*UserLoginInfo, error)
func (*LoginOptions) OnboardUser ¶
func (o *LoginOptions) OnboardUser(cookie string) (*UserLoginInfo, error)
func (*LoginOptions) Run ¶
func (o *LoginOptions) Run() error
type LogsOptions ¶
type LogsOptions struct { CommonOptions Container string Namespace string Environment string Filter string Label string EditEnvironment bool KNativeBuild 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
ModifyRequirementsFn 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 PostPreviewJobTimeout string PostPreviewJobPollTime string PullRequestName string GitConfDir string GitProvider gits.GitProvider GitInfo *gits.GitRepositoryInfo // calculated fields PostPreviewJobTimeoutDuration time.Duration PostPreviewJobPollDuration time.Duration HelmValuesConfig config.HelmValuesConfig }
PreviewOptions the options for viewing running PRs
func (*PreviewOptions) RunPostPreviewSteps ¶
func (o *PreviewOptions) RunPostPreviewSteps(kubeClient kubernetes.Interface, ns string, url string, pipeline string, build string) error
RunPostPreviewSteps lets run any post-preview steps that are configured for all apps in a team
type PromoteOptions ¶
type PromoteOptions struct { CommonOptions Namespace string Environment string Application string Pipeline string Build string Version string ReleaseName string LocalHelmRepoName string HelmRepositoryURL string NoHelmUpdate bool AllAutomatic bool NoMergePullRequest bool NoPoll bool NoWaitAfterMerge bool IgnoreLocalFiles bool Timeout string PullRequestPollTime string Filter string Alias string // allow git to be configured externally before a PR is created ConfigureGitCallback ConfigureGitFolderFn // for testing FakePullRequests CreateEnvPullRequestFn // calculated fields TimeoutDuration *time.Duration PullRequestPollDuration *time.Duration Activities typev1.PipelineActivityInterface GitInfo *gits.GitRepositoryInfo ReleaseInfo *ReleaseInfo // contains filtered or unexported fields }
PromoteOptions containers the CLI options
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) SearchForChart ¶
func (o *PromoteOptions) SearchForChart(filter string) (string, 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 RateLimits ¶
type RateLimits struct {
Resources RateResources `json:"resources"`
}
type RateResources ¶
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 ExecCmd string DevPod bool Username string Environment string // contains filtered or unexported fields }
func (*RshOptions) Run ¶
func (o *RshOptions) Run() error
type ScanClusterOptions ¶
type ScanClusterOptions struct { ScanOptions Output string }
ScanClusterOptions the options for 'scan cluster' command
func (*ScanClusterOptions) Run ¶
func (o *ScanClusterOptions) Run() error
Run executes the "scan cluster" command
type ScanOptions ¶
type ScanOptions struct {
CommonOptions
}
Scan Options contains the command line options for scan commands
type ServerFlags ¶
func (*ServerFlags) IsEmpty ¶
func (f *ServerFlags) IsEmpty() bool
type ShellOptions ¶
type ShellOptions struct { CommonOptions Filter string }
func (*ShellOptions) PickContext ¶
func (o *ShellOptions) PickContext(names []string, defaultValue string) (string, error)
func (*ShellOptions) Run ¶
func (o *ShellOptions) Run() error
type SourceSpec ¶
type SourceSpec struct { // Git represents source in a Git repository. Git *GitSourceSpec `json:"git,omitempty"` // GCS represents source in Google Cloud Storage. GCS *GCSSourceSpec `json:"gcs,omitempty"` // Custom indicates that source should be retrieved using a custom // process defined in a container invocation. Custom *corev1.Container `json:"custom,omitempty"` // SubPath specifies a path within the fetched source which should be // built. This option makes parent directories *inaccessible* to the // build steps. (The specific source type may, in fact, not even fetch // files not in the SubPath.) SubPath string `json:"subPath,omitempty"` }
SourceSpec defines the input to the Build
type StartComplianceOptions ¶
type StartComplianceOptions struct { GetOptions Tail bool Filter string Jobs map[string]gojenkins.Job }
StartComplianceOptions contains the command line options
func (*StartComplianceOptions) Run ¶
func (o *StartComplianceOptions) Run() error
Run implements this command
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
StatusSortedTestCases 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 Build string Header string HeaderFile string OutputMarkdownFile string OverwriteCRD bool GenerateCRD bool GenerateReleaseYaml bool UpdateRelease bool NoReleaseInDev 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 StepCollectOptions ¶
type StepCollectOptions struct { StepOptions Provider string GitHubPagesStepCollectOptions HttpStepCollectOptions Pattern []string Classifier string }
StepCollect contains the command line flags
func (*StepCollectOptions) Run ¶
func (o *StepCollectOptions) Run() error
type StepCreateBuildOptions ¶
type StepCreateBuildOptions struct { StepOptions Dir string OutputDir string OutputFilePrefix string BranchKind string BuildNumber int }
StepCreateBuildOptions contains the command line flags
func (*StepCreateBuildOptions) Run ¶
func (o *StepCreateBuildOptions) Run() error
Run implements this command
type StepGitCredentialsOptions ¶
type StepGitCredentialsOptions struct { StepOptions OutputFile string }
StepGitCredentialsOptions contains the command line flags
func (*StepGitCredentialsOptions) CreateGitCredentialsFromSecrets ¶
func (o *StepGitCredentialsOptions) CreateGitCredentialsFromSecrets(secretList *corev1.SecretList) []byte
CreateGitCredentialsFromSecrets Creates git credentials from secrets
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 Wait bool Force bool }
StepHelmApplyOptions contains the command line flags
func (*StepHelmApplyOptions) Run ¶
func (o *StepHelmApplyOptions) Run() error
type StepHelmBuildOptions ¶
type StepHelmBuildOptions struct { StepHelmOptions // contains filtered or unexported fields }
StepHelmBuildOptions contains the command line flags
func (*StepHelmBuildOptions) Run ¶
func (o *StepHelmBuildOptions) Run() error
type StepHelmEnvOptions ¶
type StepHelmEnvOptions struct { StepHelmOptions // contains filtered or unexported fields }
StepHelmEnvOptions contains the command line flags
func (*StepHelmEnvOptions) Run ¶
func (o *StepHelmEnvOptions) Run() error
type StepHelmInstallOptions ¶
type StepHelmInstallOptions struct { StepHelmOptions Name string Namespace string Version string Values []string ValuesFiles []string }
StepHelmInstallOptions contains the command line flags
func (*StepHelmInstallOptions) Run ¶
func (o *StepHelmInstallOptions) Run() error
type StepHelmOptions ¶
type StepHelmOptions struct { StepOptions Dir string GitProvider string // contains filtered or unexported fields }
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 StepHelmVersionOptions ¶
type StepHelmVersionOptions struct { StepHelmOptions Version string }
StepHelmVersionOptions contains the command line flags
func (*StepHelmVersionOptions) Run ¶
func (o *StepHelmVersionOptions) Run() error
type StepLinkServicesOptions ¶
type StepLinkServicesOptions struct { StepOptions FromNamespace string ToNamespace string Includes []string Excludes []string }
StepLinkServicesOptions contains the command line flags
func (*StepLinkServicesOptions) Run ¶
func (o *StepLinkServicesOptions) Run() error
Run implements this command
type StepNextBuildNumberOptions ¶
type StepNextBuildNumberOptions struct { StepOptions Owner string Repository string Branch string }
StepNextBuildNumberOptions contains the command line flags
func (*StepNextBuildNumberOptions) Run ¶
func (o *StepNextBuildNumberOptions) 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) GetVersion ¶
func (o *StepNextVersionOptions) GetVersion() (string, error)
GetVersion gets the version from a source file
func (*StepNextVersionOptions) Run ¶
func (o *StepNextVersionOptions) Run() error
func (*StepNextVersionOptions) SetVersion ¶
func (o *StepNextVersionOptions) SetVersion() error
SetVersion Sets the version...
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 StepPostRunOptions ¶
type StepPostRunOptions struct { StepOptions 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()
func (*StepPostRunOptions) Run ¶
func (o *StepPostRunOptions) Run() (err error)
Run implements this command
type StepPreBuildOptions ¶
type StepPreBuildOptions struct { StepOptions Image string }
StepPreBuildOptions contains the command line flags
func (*StepPreBuildOptions) Run ¶
func (o *StepPreBuildOptions) Run() error
type StepPreExtendOptions ¶
type StepPreExtendOptions struct {
StepOptions
}
StepPreBuildOptions contains the command line flags
func (*StepPreExtendOptions) Run ¶
func (o *StepPreExtendOptions) Run() error
type StepPreOptions ¶
type StepPreOptions struct { CommonOptions DisableImport bool OutDir string }
StepPreOptions defines the CLI arguments
type StepReleaseOptions ¶
type StepReleaseOptions struct { StepOptions DockerRegistry string Organisation string Application string Version string GitUsername string GitEmail string Dir string XdgConfigHome string NoBatch bool // promote flags Build string Timeout string PullRequestPollTime string LocalHelmRepoName string HelmRepositoryURL string }
StepReleaseOptions contains the CLI arguments
func (*StepReleaseOptions) Run ¶
func (o *StepReleaseOptions) Run() error
Run implements this command
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 StepSummary ¶
type StepTagFlags ¶
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 StepVerifyOptions ¶
type StepVerifyOptions struct { StepOptions After int32 Pods int32 Restarts int32 }
func (*StepVerifyOptions) Run ¶
func (o *StepVerifyOptions) Run() error
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 TeamOptions ¶
type TeamOptions struct {
CommonOptions
}
func (*TeamOptions) Run ¶
func (o *TeamOptions) Run() error
type TemplateInstantiationSpec ¶
type TemplateInstantiationSpec struct { // Name references the BuildTemplate resource to use. // // The template is assumed to exist in the Build's namespace. Name string `json:"name"` // Arguments, if specified, lists values that should be applied to the // parameters specified by the template. Arguments []ArgumentSpec `json:"arguments,omitempty"` // Env, if specified will provide variables to all build template steps. // This will override any of the template's steps environment variables. Env []corev1.EnvVar `json:"env,omitempty"` }
TemplateInstantiationSpec specifies how a BuildTemplate is instantiated into a Build.
type UninstallOptions ¶
type UninstallOptions struct { CommonOptions Namespace string Confirm bool KeepEnvironments bool }
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 UpgradeAddonsOptions ¶
type UpgradeAddonsOptions struct { CreateOptions Namespace string Set string InstallFlags InstallFlags }
UpgradeAddonsOptions the options for the create spring command
func (*UpgradeAddonsOptions) Run ¶
func (o *UpgradeAddonsOptions) Run() error
Run implements the command
type UpgradeBinariesOptions ¶
type UpgradeBinariesOptions struct {
CreateOptions
}
func (*UpgradeBinariesOptions) Run ¶
func (o *UpgradeBinariesOptions) Run() error
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 UpgradeExtensionsOptions ¶
type UpgradeExtensionsOptions struct { CreateOptions Filter string ExtensionsRepository string ExtensionsRepositoryFile string }
func (*UpgradeExtensionsOptions) Contains ¶
func (o *UpgradeExtensionsOptions) Contains(whens []jenkinsv1.ExtensionWhen, when jenkinsv1.ExtensionWhen) bool
func (*UpgradeExtensionsOptions) GetInstalledExtensions ¶
func (o *UpgradeExtensionsOptions) GetInstalledExtensions(extensions typev1.ExtensionInterface) (installedExtensions map[string]jenkinsv1.Extension, err error)
func (*UpgradeExtensionsOptions) Run ¶
func (o *UpgradeExtensionsOptions) Run() error
func (*UpgradeExtensionsOptions) UpsertExtension ¶
func (o *UpgradeExtensionsOptions) UpsertExtension(extension jenkinsv1.ExtensionSpec, extensions typev1.ExtensionInterface, installedExtensions map[string]jenkinsv1.Extension, extensionConfig jenkinsv1.ExtensionConfig, lookup map[string]jenkinsv1.ExtensionSpec, depth int, initialIndent int) (needsUpstalling []jenkinsv1.ExtensionExecution, err error)
type UpgradeExtensionsRepositoryFlags ¶
type UpgradeExtensionsRepositoryFlags struct { }
type UpgradeExtensionsRepositoryOptions ¶
type UpgradeExtensionsRepositoryOptions struct { UpgradeExtensionsOptions Flags InitFlags InputFile string OutputFile string }
CreateExtensionsRepositoryOptions the flags for running create cluster
func (*UpgradeExtensionsRepositoryOptions) FixChildren ¶
func (o *UpgradeExtensionsRepositoryOptions) FixChildren(extension jenkinsv1.ExtensionSpec, lookupByName map[string]jenkinsv1.ExtensionSpec, lookupByUUID map[string]jenkinsv1.ExtensionSpec, resolveErrors *[]string) (children []string, err error)
func (*UpgradeExtensionsRepositoryOptions) LoadAsStringFromURL ¶
func (o *UpgradeExtensionsRepositoryOptions) LoadAsStringFromURL(url string) (result string, err error)
func (*UpgradeExtensionsRepositoryOptions) Run ¶
func (o *UpgradeExtensionsRepositoryOptions) Run() error
type UpgradeIngressOptions ¶
type UpgradeIngressOptions struct { CreateOptions SkipCertManager bool Cluster bool Namespaces []string Version string TargetNamespaces []string Services []string IngressConfig kube.IngressConfig }
UpgradeIngressOptions the options for the create spring command
func (*UpgradeIngressOptions) AnnotateExposedServicesWithCertManager ¶
func (o *UpgradeIngressOptions) AnnotateExposedServicesWithCertManager(services ...string) error
AnnotateExposedServicesWithCertManager annotates exposed service with cert manager
func (*UpgradeIngressOptions) CleanServiceAnnotations ¶
func (o *UpgradeIngressOptions) CleanServiceAnnotations(services ...string) error
CleanServiceAnnotations cleans service annotations
func (*UpgradeIngressOptions) Run ¶
func (o *UpgradeIngressOptions) 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 AlwaysUpgrade bool InstallFlags InstallFlags }
UpgradePlatformOptions the options for the create spring command
func (*UpgradePlatformOptions) Run ¶
func (o *UpgradePlatformOptions) Run() error
Run implements the command
type UserLoginInfo ¶
type UserLoginInfo struct { // The Kubernetes API server public CA data Ca string `form:"ca,omitempty" json:"ca,omitempty" yaml:"ca,omitempty" xml:"ca,omitempty"` // The login username of the user Login string `form:"login,omitempty" json:"login,omitempty" yaml:"login,omitempty" xml:"login,omitempty"` // The Kubernetes API server address Server string `form:"server,omitempty" json:"server,omitempty" yaml:"server,omitempty" xml:"server,omitempty"` // The login token of the user Token string `form:"token,omitempty" json:"token,omitempty" yaml:"token,omitempty" xml:"token,omitempty"` }
UserLoginInfo user login information
type VersionOptions ¶
type VersionOptions struct { CommonOptions Container string Namespace string HelmTLS bool NoVersionCheck bool }
func (*VersionOptions) Run ¶
func (o *VersionOptions) Run() error
func (*VersionOptions) UpgradeCli ¶
func (o *VersionOptions) UpgradeCli() error
func (*VersionOptions) VersionCheck ¶
func (o *VersionOptions) VersionCheck() error
Source Files ¶
- cloudbees.go
- cloudbees_pipeline.go
- cmd.go
- common.go
- common_addon.go
- common_auth.go
- common_cert_manager.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_jenkins.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
- controller.go
- controller_backup.go
- controller_build.go
- controller_compliance.go
- controller_role.go
- controller_team.go
- controller_workflow.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_knative_build.go
- create_addon_kubeless.go
- create_addon_owasp.go
- create_addon_pipeline_events.go
- create_addon_prometheus.go
- create_addon_prow.go
- create_addon_sso.go
- create_addon_vault.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_eks.go
- create_cluster_gke.go
- create_cluster_gke_terraform.go
- create_cluster_iks.go
- create_cluster_minikube.go
- create_cluster_minishift.go
- create_cluster_oke.go
- create_codeship.go
- create_devpod.go
- create_docker_auth.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_gke_service_account.go
- create_issue.go
- create_jenkins.go
- create_jenkins_token.go
- create_jhipster.go
- create_lile.go
- create_micro.go
- create_post_preview_job.go
- create_quickstart.go
- create_quickstart_location.go
- create_spring.go
- create_team.go
- create_terraform.go
- create_token.go
- create_token_addon.go
- create_tracker.go
- create_tracker_server.go
- create_tracker_token.go
- create_user.go
- delete.go
- delete_addon.go
- delete_addon_cloudbees.go
- delete_addon_gitea.go
- delete_addon_sso.go
- delete_app.go
- delete_aws.go
- delete_branch.go
- delete_chat.go
- delete_chat_server.go
- delete_chat_token.go
- delete_context.go
- delete_devpod.go
- delete_eks.go
- delete_env.go
- delete_git.go
- delete_git_server.go
- delete_git_token.go
- delete_jenkins.go
- delete_jenkins_user.go
- delete_post_preview_job.go
- delete_preview.go
- delete_quickstart_location.go
- delete_repo.go
- delete_team.go
- delete_token.go
- delete_token_addon.go
- delete_tracker.go
- delete_tracker_server.go
- delete_tracker_token.go
- delete_user.go
- diagnose.go
- docs.go
- edit.go
- edit_addon.go
- edit_buildpack.go
- edit_config.go
- edit_env.go
- edit_helmbin.go
- edit_userrole.go
- environment.go
- factory.go
- gc.go
- gc_activities.go
- gc_gke.go
- gc_helm.go
- gc_previews.go
- gc_releases.go
- get.go
- get_activity.go
- get_addon.go
- get_applications.go
- get_aws_info.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_eks.go
- get_env.go
- get_git.go
- get_helmbin.go
- get_issue.go
- get_issues.go
- get_limits.go
- get_pipeline.go
- get_post_preview_job.go
- get_preview.go
- get_quickstart_locations.go
- get_release.go
- get_team.go
- get_teamrole.go
- get_token.go
- get_token_addon.go
- get_tracker.go
- get_url.go
- get_user.go
- get_workflow.go
- helpers.go
- import.go
- init.go
- install.go
- interface.go
- login.go
- logs.go
- metrics.go
- namespace.go
- open.go
- options.go
- preview.go
- promote.go
- prompt.go
- repository.go
- rsh.go
- scan.go
- scan_cluster.go
- shell.go
- start.go
- start_compliance.go
- start_pipeline.go
- status.go
- step.go
- step_blog.go
- step_changelog.go
- step_collect.go
- step_create_build.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_env.go
- step_helm_install.go
- step_helm_release.go
- step_helm_version.go
- step_link_services.go
- step_next_buildnumber.go
- step_next_version.go
- step_nexus.go
- step_nexus_drop.go
- step_nexus_release.go
- step_post.go
- step_post_build.go
- step_post_run.go
- step_pr.go
- step_pr_comment.go
- step_pre.go
- step_pre_build.go
- step_pre_extend.go
- step_release.go
- step_report.go
- step_report_activities.go
- step_report_releases.go
- step_split_monorepo.go
- step_tag.go
- step_validate.go
- step_verify.go
- step_wait_for_artifact.go
- stop.go
- stop_pipeline.go
- sync.go
- team.go
- test_helpers.go
- uninstall.go
- update.go
- update_cluster.go
- update_cluster_gke.go
- update_cluster_gke_terraform.go
- upgrade.go
- upgrade_addons.go
- upgrade_binaries.go
- upgrade_cli.go
- upgrade_cluster.go
- upgrade_extensions.go
- upgrade_extensions_repository.go
- upgrade_ingress.go
- upgrade_platform.go
- version.go