Documentation ¶
Index ¶
- Constants
- Variables
- func AssertAllPromoteStepsSuccessful(t *testing.T, activities typev1.PipelineActivityInterface, name string)
- func AssertHasNoPullRequestForEnv(t *testing.T, activities typev1.PipelineActivityInterface, name string, ...)
- func AssertHasPipelineStatus(t *testing.T, activities typev1.PipelineActivityInterface, name string, ...)
- func AssertHasPromoteStatus(t *testing.T, activities typev1.PipelineActivityInterface, name string, ...)
- func AssertHasPullRequestForEnv(t *testing.T, activities typev1.PipelineActivityInterface, name string, ...)
- func AssertPromoteStep(t *testing.T, step *v1.WorkflowStep, expectedEnvironment string)
- func AssertSetPullRequestComplete(t *testing.T, provider *gits.FakeProvider, repository *gits.FakeRepository, ...) bool
- func AssertSetPullRequestMerged(t *testing.T, provider *gits.FakeProvider, orgName string, ...) bool
- func AssertWorkflowStatus(t *testing.T, activities typev1.PipelineActivityInterface, name string, ...)
- func BehaviorOnFatal(f func(string, int))
- func CheckErr(err error)
- func CleanupTestEnvironmentDir(o *CommonOptions) error
- func ConfigureTestOptions(o *CommonOptions, git gits.Gitter, helm helm.Helmer)
- func ConfigureTestOptionsWithResources(o *CommonOptions, k8sObjects []runtime.Object, jxObjects []runtime.Object, ...)
- func CopyBuildPack(dest, src string) error
- func CreateBucketHTTPFn(authSvc auth.ConfigService) func(string) (string, error)
- func CreateTestEnvironmentDir(o *CommonOptions) error
- func CreateTestPipelineActivity(jxClient versioned.Interface, ns string, folder string, repo string, ...) (*v1.PipelineActivity, error)
- 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 GetTokenForGitURL(authSvc auth.ConfigService, u string) (string, error)
- func HomeDir() string
- func InstallVaultOperator(o *CommonOptions, namespace string) error
- func KubernetesProviderOptions() string
- func LoadVersionFromCloudEnvironmentsDir(wrkDir string, configStore configio.ConfigStore) (string, error)
- func NewCmdAdd(commonOpts *CommonOptions) *cobra.Command
- func NewCmdAddApp(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCloudBees(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCloudBeesPipeline(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCompletion(commonOpts *CommonOptions) *cobra.Command
- func NewCmdComplianceDelete(commonOpts *CommonOptions) *cobra.Command
- func NewCmdComplianceLogs(commonOpts *CommonOptions) *cobra.Command
- func NewCmdComplianceResults(commonOpts *CommonOptions) *cobra.Command
- func NewCmdComplianceRun(commonOpts *CommonOptions) *cobra.Command
- func NewCmdComplianceStatus(commonOpts *CommonOptions) *cobra.Command
- func NewCmdConsole(commonOpts *CommonOptions) *cobra.Command
- func NewCmdContext(commonOpts *CommonOptions) *cobra.Command
- func NewCmdController(commonOpts *CommonOptions) *cobra.Command
- func NewCmdControllerBackup(commonOpts *CommonOptions) *cobra.Command
- func NewCmdControllerBuild(commonOpts *CommonOptions) *cobra.Command
- func NewCmdControllerBuildNumbers(commonOpts *CommonOptions) *cobra.Command
- func NewCmdControllerCommitStatus(commonOpts *CommonOptions) *cobra.Command
- func NewCmdControllerPipelineRunner(commonOpts *CommonOptions) *cobra.Command
- func NewCmdControllerRole(commonOpts *CommonOptions) *cobra.Command
- func NewCmdControllerTeam(commonOpts *CommonOptions) *cobra.Command
- func NewCmdControllerWorkflow(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreate(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddon(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonAmbassador(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonAnchore(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonCloudBees(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonFlagger(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonGitea(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonIstio(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonKnativeBuild(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonKubeless(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonOwasp(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonPipelineEvents(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonPrometheus(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonProw(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonSSO(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateAddonVault(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateArchetype(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateBranchPattern(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateCamel(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateChat(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateChatServer(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateChatToken(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateClient(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateClientDocs(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateClientGo(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateClientOpenAPI(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateCluster(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateClusterAKS(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateClusterAWS(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateClusterEKS(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateClusterGKE(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateClusterGKETerraform(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateClusterIKS(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateClusterMinikube(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateClusterMinishift(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateClusterOKE(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateCodeship(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateDevPod(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateDockerAuth(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateDocs(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateEnv(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateEtcHosts(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateGit(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateGitServer(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateGitToken(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateGitUser(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateGkeServiceAccount(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateIssue(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateJHipster(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateJenkins(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateJenkinsUser(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateLile(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateMicro(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreatePostPreviewJob(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateProject(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreatePullRequest(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateQuickstart(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateQuickstartLocation(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateSpring(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateTeam(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateTerraform(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateToken(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateTokenAddon(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateTracker(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateTrackerServer(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateTrackerToken(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateUser(commonOpts *CommonOptions) *cobra.Command
- func NewCmdCreateVault(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDelete(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteAddon(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteAddonCloudBees(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteAddonFlagger(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteAddonGitea(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteAddonKnativeBuild(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteAddonSSO(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteApp(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteApplication(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteAws(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteBranch(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteChat(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteChatServer(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteChatToken(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteContext(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteDevPod(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteEnv(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteExtension(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteGit(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteGitServer(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteGitToken(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteJenkins(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteJenkinsToken(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteNamespace(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeletePostPreviewJob(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeletePreview(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteQuickstartLocation(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteRepo(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteTeam(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteToken(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteTokenAddon(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteTracker(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteTrackerServer(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteTrackerToken(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteUser(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDeleteVault(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDiagnose(commonOpts *CommonOptions) *cobra.Command
- func NewCmdDocs(commonOpts *CommonOptions) *cobra.Command
- func NewCmdEdit(commonOpts *CommonOptions) *cobra.Command
- func NewCmdEditAddon(commonOpts *CommonOptions) *cobra.Command
- func NewCmdEditAppJenkinsPlugins(commonOpts *CommonOptions) *cobra.Command
- func NewCmdEditBuildpack(commonOpts *CommonOptions) *cobra.Command
- func NewCmdEditConfig(commonOpts *CommonOptions) *cobra.Command
- func NewCmdEditEnv(commonOpts *CommonOptions) *cobra.Command
- func NewCmdEditExtensionsRepository(commonOpts *CommonOptions) *cobra.Command
- func NewCmdEditHelmBin(commonOpts *CommonOptions) *cobra.Command
- func NewCmdEditStorage(commonOpts *CommonOptions) *cobra.Command
- func NewCmdEditUserRole(commonOpts *CommonOptions) *cobra.Command
- func NewCmdEnvironment(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGC(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGCActivities(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGCGKE(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGCHelm(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGCPods(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGCPreviews(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGCReleases(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGet(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetAWSInfo(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetActivity(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetAddon(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetApplications(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetApps(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetBranchPattern(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetBuild(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetBuildLogs(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetBuildPack(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetBuildPods(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetCVE(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetChat(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetConfig(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetDevPod(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetEks(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetEnv(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetGit(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetHelmBin(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetIssue(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetIssues(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetLimits(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetPipeline(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetPlugins(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetPostPreviewJob(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetPreview(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetQuickstartLocation(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetQuickstarts(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetRelease(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetSecret(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetStorage(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetTeam(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetTeamRole(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetToken(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetTokenAddon(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetTracker(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetURL(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetUser(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetVault(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetVaultConfig(commonOpts *CommonOptions) *cobra.Command
- func NewCmdGetWorkflow(commonOpts *CommonOptions) *cobra.Command
- func NewCmdImport(commonOpts *CommonOptions) *cobra.Command
- func NewCmdInit(commonOpts *CommonOptions) *cobra.Command
- func NewCmdInstall(commonOpts *CommonOptions) *cobra.Command
- func NewCmdInstallDependencies(commonOpts *CommonOptions) *cobra.Command
- func NewCmdLogin(commonOpts *CommonOptions) *cobra.Command
- func NewCmdLogs(commonOpts *CommonOptions) *cobra.Command
- func NewCmdMetrics(commonOpts *CommonOptions) *cobra.Command
- func NewCmdNamespace(commonOpts *CommonOptions) *cobra.Command
- func NewCmdOpen(commonOpts *CommonOptions) *cobra.Command
- func NewCmdOptions(out io.Writer) *cobra.Command
- func NewCmdPreview(commonOpts *CommonOptions) *cobra.Command
- func NewCmdPromote(commonOpts *CommonOptions) *cobra.Command
- func NewCmdPrompt(commonOpts *CommonOptions) *cobra.Command
- func NewCmdRepo(commonOpts *CommonOptions) *cobra.Command
- func NewCmdRsh(commonOpts *CommonOptions) *cobra.Command
- func NewCmdScan(commonOpts *CommonOptions) *cobra.Command
- func NewCmdScanCluster(commonOpts *CommonOptions) *cobra.Command
- func NewCmdShell(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStart(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStartPipeline(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStartProtection(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStatus(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStep(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepBDD(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepBlog(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepBuildPack(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepBuildPackApply(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepChangelog(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepCreate(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepCreateBuild(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepCreateBuildTemplate(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepCreateTask(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepCreateVersionPullRequest(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepCredential(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepCustomPipeline(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepEnv(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepEnvApply(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepGet(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepGetBuildNumber(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepGetVersionChangeSet(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepGit(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepGitCredentials(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepGitEnvs(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepGitMerge(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepGpgCredentials(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepHelm(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepHelmApply(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepHelmBuild(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepHelmDelete(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepHelmEnv(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepHelmInstall(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepHelmList(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepHelmRelease(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepHelmVersion(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepLinkServices(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepNextBuildNumber(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepNextVersion(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepNexus(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepNexusDrop(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepNexusRelease(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepPR(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepPRComment(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepPRLabels(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepPost(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepPostBuild(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepPostInstall(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepPostRun(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepPre(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepPreBuild(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepPreExtend(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepRelease(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepSplitMonorepo(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepStash(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepTag(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepUnstash(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepValidate(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepVerify(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepVerifyPod(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepVerifyPodCount(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepVerifyPodReady(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStepWaitForArtifact(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStop(commonOpts *CommonOptions) *cobra.Command
- func NewCmdStopPipeline(commonOpts *CommonOptions) *cobra.Command
- func NewCmdSync(commonOpts *CommonOptions) *cobra.Command
- func NewCmdTeam(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUninstall(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpdate(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpdateCluster(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpdateClusterGKE(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpdateClusterGKETerraform(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpdateWebhooks(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpgrade(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpgradeAddonProw(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpgradeAddons(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpgradeApps(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpgradeBinaries(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpgradeCLI(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpgradeCRDs(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpgradeCluster(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpgradeExtensions(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpgradeExtensionsRepository(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpgradeIngress(commonOpts *CommonOptions) *cobra.Command
- func NewCmdUpgradePlatform(commonOpts *CommonOptions) *cobra.Command
- func NewCmdVersion(commonOpts *CommonOptions) *cobra.Command
- func NewCompliance(commonOpts *CommonOptions) *cobra.Command
- func NewJXCommand(f clients.Factory, in terminal.FileReader, out terminal.FileWriter, ...) *cobra.Command
- func PollGitStatusAndReactToPipelineChanges(t *testing.T, o *ControllerWorkflowOptions, jxClient versioned.Interface, ...) error
- func ProjectExists(ctx context.Context, org *codeship.Organization, codeshipOrg string, ...) (bool, string, error)
- func PullRequestURLToNumber(text string) (int, error)
- func SeeAlsoText(commands ...string) string
- func SetPullRequestClosed(pr *gits.FakePullRequest)
- func SetSuccessCommitStatusInPR(t *testing.T, repository *gits.FakeRepository, prNumber int)
- func StandardErrorMessage(err error) (string, bool)
- func UsageError(cmd *cobra.Command, format string, args ...interface{}) error
- func VersionsToDelete(versions []string, desired int) []string
- func WaitForPullRequestForEnv(t *testing.T, activities typev1.PipelineActivityInterface, name string, ...)
- type AddAppOptions
- type AddOptions
- type ApplicationEnvironmentInfo
- type Auth
- type BranchPatterns
- type ByVersion
- type CallbackFn
- type CloudBeesOptions
- type CloudBeesPipelineOptions
- type Cluster
- type CommonDevPodOptions
- type CommonOptions
- func (o *CommonOptions) AddonAuthConfigService(secrets *corev1.SecretList) (auth.ConfigService, error)
- func (o *CommonOptions) ApiExtensionsClient() (apiextensionsclientset.Interface, error)
- func (o CommonOptions) AuthConfigService(file string) (auth.ConfigService, error)
- func (o *CommonOptions) CertManagerClient() (certmngclient.Interface, error)
- func (o *CommonOptions) ChangeNamespace(ns string)
- func (o *CommonOptions) ChartmuseumAuthConfigService() (auth.ConfigService, error)
- func (o *CommonOptions) CleanExposecontrollerReources(ns string)
- func (o *CommonOptions) ComplianceClient() (*client.SonobuoyClient, error)
- func (o *CommonOptions) CreateCustomJenkinsClient(jenkinsSelector *JenkinsSelectorOptions) (gojenkins.JenkinsClient, error)
- func (o *CommonOptions) CreateGitAuthConfigService() (auth.ConfigService, error)
- func (o *CommonOptions) CreateGitAuthConfigServiceDryRun(dryRun bool) (auth.ConfigService, error)
- func (o *CommonOptions) CreateGitAuthConfigServiceFromSecrets(fileName string, secrets *corev1.SecretList, isCDPipeline bool) (auth.ConfigService, error)
- func (o *CommonOptions) CustomJenkinsClient(jenkinsServiceName string) (gojenkins.JenkinsClient, error)
- func (o *CommonOptions) CustomJenkinsURL(jenkinsSelector *JenkinsSelectorOptions, kubeClient kubernetes.Interface, ...) (string, error)
- func (o *CommonOptions) Debugf(format string, a ...interface{})
- func (o *CommonOptions) DiscoverAppName() (string, error)
- func (o *CommonOptions) EnvironmentsDir() (string, error)
- func (o *CommonOptions) FindGitInfo(dir string) (*gits.GitRepository, error)
- func (o *CommonOptions) FindHelmChart() (string, error)
- func (o *CommonOptions) GetCloudProvider(p string) (string, error)
- func (o *CommonOptions) GetClusterUserName() (string, error)
- func (o *CommonOptions) GetDevEnv() (gitOps bool, devEnv *jenkinsv1.Environment)
- func (o *CommonOptions) GetDomain(client kubernetes.Interface, domain string, provider string, ...) (string, error)
- func (o *CommonOptions) GetErr() io.Writer
- func (o *CommonOptions) GetFactory() clients.Factory
- func (o *CommonOptions) GetIn() terminal.FileReader
- func (o *CommonOptions) GetLatestJXVersion() (semver.Version, error)
- func (o *CommonOptions) GetLatestPipelineBuildByCRD(pipeline string) (string, error)
- func (o *CommonOptions) GetOut() terminal.FileWriter
- func (o *CommonOptions) GetPipelineName(gitInfo *gits.GitRepository, pipeline string, build string, appName string) (string, string)
- func (o *CommonOptions) GetSecretsLocation() secrets.SecretsLocationKind
- func (o *CommonOptions) GetWebHookEndpoint() (string, error)
- func (o *CommonOptions) Git() gits.Gitter
- func (o *CommonOptions) GitServerHostURLKind(hostURL string) (string, error)
- func (o *CommonOptions) GitServerKind(gitInfo *gits.GitRepository) (string, error)
- func (o *CommonOptions) Helm() helm.Helmer
- func (o *CommonOptions) ImportProject(gitURL string, dir string, jenkinsfile string, ...) error
- func (o *CommonOptions) InCDPipeline() bool
- func (o *CommonOptions) InCluster() bool
- func (o *CommonOptions) InitHelm(config InitHelmConfig) error
- func (o *CommonOptions) IstioClient() (istioclient.Interface, 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) JenkinsAuthConfigService(client kubernetes.Interface, namespace string, ...) (auth.ConfigService, error)
- func (o *CommonOptions) JenkinsClient() (gojenkins.JenkinsClient, error)
- func (o *CommonOptions) KnativeBuildClient() (buildclient.Interface, string, error)
- func (o *CommonOptions) Kube() kube.Kuber
- func (o *CommonOptions) KubeClient() (kubernetes.Interface, error)
- func (o *CommonOptions) KubeClientAndDevNamespace() (kubernetes.Interface, string, error)
- func (o *CommonOptions) KubeClientAndNamespace() (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) ModifyEnvironment(name string, callback func(env *v1.Environment) error) error
- func (o *CommonOptions) ModifyTeam(adminNs string, 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) NewGitProvider(gitURL string, message string, authConfigSvc auth.ConfigService, ...) (gits.GitProvider, error)
- func (o *CommonOptions) NewHelm(verbose bool, helmBinary string, noTiller bool, helmTemplate bool) helm.Helmer
- func (o *CommonOptions) PickCustomJenkinsName(jenkinsSelector *JenkinsSelectorOptions, kubeClient kubernetes.Interface, ...) (string, error)
- func (o *CommonOptions) ResetSecretsLocation() error
- func (o *CommonOptions) ResourcesInstaller() resources.Installer
- func (o *CommonOptions) RunCommand(name string, args ...string) error
- func (o *CommonOptions) SetBatchMode(batchMode bool)
- func (o *CommonOptions) SetDevNamespace(ns string)
- func (o *CommonOptions) SetFactory(f clients.Factory)
- func (o *CommonOptions) SetGit(git gits.Gitter)
- func (o *CommonOptions) SetHelm(helmer helm.Helmer)
- func (o *CommonOptions) SetJenkinsClient(jenkinsClient gojenkins.JenkinsClient)
- func (o *CommonOptions) SetKube(kuber kube.Kuber)
- func (o *CommonOptions) SetKubeClient(kubeClient kubernetes.Interface)
- func (o *CommonOptions) SetResourcesInstaller(installer resources.Installer)
- func (o *CommonOptions) SetSecretsLocation(location secrets.SecretsLocationKind, persist bool) error
- func (o *CommonOptions) SystemVaultClient(namespace string) (vault.Client, error)
- func (o *CommonOptions) TailLogs(ns string, pod string, containerName string) error
- 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) TektonClient() (tektonclient.Interface, string, error)
- func (o *CommonOptions) UninstallBinary(binDir string, name string) error
- func (o *CommonOptions) VaultClient(name string, namespace string) (vault.Client, error)
- func (o *CommonOptions) VaultOperatorClient() (vaultoperatorclient.Interface, error)
- func (o *CommonOptions) WaitForReadyKnativeBuildPod(c kubernetes.Interface, ns string, readyOnly bool) (string, error)
- func (o *CommonOptions) WaitForReadyPodForDeployment(c kubernetes.Interface, ns string, name string, names []string, readyOnly bool) (string, error)
- func (o *CommonOptions) WaitForReadyPodForSelector(c kubernetes.Interface, ns string, selector labels.Selector, readyOnly bool) (string, error)
- func (o *CommonOptions) WaitForReadyPodForSelectorLabels(c kubernetes.Interface, ns string, labels map[string]string, readyOnly bool) (string, error)
- type CompletionOptions
- type ComplianceDeleteOptions
- type ComplianceLogsOptions
- type ComplianceOptions
- type ComplianceResultsOptions
- type ComplianceRunOptions
- type ComplianceStatusOptions
- type Config
- type ConsoleOptions
- type ContextOptions
- type ControllerBackupOptions
- type ControllerBuildNumbersOptions
- type ControllerBuildOptions
- type ControllerCommitStatusOptions
- type ControllerOptions
- type ControllerPipelineRunnerOptions
- type ControllerRoleFlags
- type ControllerRoleOptions
- func (o *ControllerRoleOptions) Run() error
- func (o *ControllerRoleOptions) UpsertEnvironmentRoleBinding(newEnv *v1.EnvironmentRoleBinding) error
- func (o *ControllerRoleOptions) UpsertRole(newRole *rbacv1.Role) 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 CreateAddonFlaggerOptions
- 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 CreateBucketValues
- type CreateCamelOptions
- type CreateChatOptions
- type CreateChatServerOptions
- type CreateChatTokenOptions
- type CreateClientDocsOptions
- type CreateClientGoOptions
- type CreateClientOpenAPIOptions
- type CreateClientOptions
- 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 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 CreateProjectWizardOptions
- type CreatePullRequestOptions
- type CreatePullRequestResults
- type CreateQuickstartLocationOptions
- type CreateQuickstartOptions
- type CreateSpringOptions
- type CreateTeamOptions
- type CreateTerraformOptions
- type CreateTokenAddonOptions
- type CreateTokenOptions
- type CreateTrackerOptions
- type CreateTrackerServerOptions
- type CreateTrackerTokenOptions
- type CreateUserOptions
- type CreateVaultOptions
- type DeleteAddonFlaggerOptions
- type DeleteAddonGiteaOptions
- type DeleteAddonOptions
- type DeleteAddonSSOOptions
- type DeleteAddoncoreOptions
- type DeleteAppOptions
- type DeleteApplicationOptions
- type DeleteAwsOptions
- type DeleteBranchOptions
- type DeleteChatOptions
- type DeleteChatServerOptions
- type DeleteChatTokenOptions
- type DeleteContextOptions
- type DeleteDevPodOptions
- type DeleteEnvOptions
- type DeleteExtensionOptions
- type DeleteGitOptions
- type DeleteGitServerOptions
- type DeleteGitTokenOptions
- type DeleteJenkinsOptions
- type DeleteJenkinsTokenOptions
- type DeleteKnativeBuildOptions
- type DeleteNamespaceOptions
- 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 DeleteVaultOptions
- type DiagnoseOptions
- type EditAddonOptions
- type EditAppJenkinsPluginsOptions
- type EditBuildPackOptions
- type EditConfigOptions
- type EditEnvOptions
- type EditExtensionsRepositoryOptions
- type EditHelmBinOptions
- type EditOptions
- type EditStorageOptions
- type EditUserRoleOptions
- type EnvApps
- type EnvironmentOptions
- type FatalError
- type Flags
- type GCActivitiesOptions
- type GCGKEOptions
- type GCHelmOptions
- type GCOptions
- type GCPodsOptions
- type GCPreviewsOptions
- type GCReleasesOptions
- 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 GetApplicationsResults
- type GetAppsOptions
- type GetBranchPatternOptions
- type GetBuildLogsOptions
- type GetBuildOptions
- type GetBuildPackOptions
- type GetBuildPodsOptions
- 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 GetPluginsOptions
- type GetPostPreviewJobOptions
- type GetPreviewOptions
- type GetQuickstartLocationOptions
- type GetQuickstartsOptions
- type GetReleaseOptions
- type GetSecretOptions
- type GetStorageOptions
- type GetTeamOptions
- type GetTeamRoleOptions
- type GetTokenAddonOptions
- type GetTokenOptions
- type GetTrackerOptions
- type GetURLOptions
- type GetUserOptions
- type GetVaultConfigOptions
- type GetVaultOptions
- type GetWorkflowOptions
- type ImportOptions
- func (options *ImportOptions) CloneRepository() error
- func (options *ImportOptions) ConfigureImportOptions(repoData *gits.CreateRepoData)
- 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) GetGitRepositoryDetails() (*gits.CreateRepoData, error)
- func (options *ImportOptions) GetOrganisation() string
- func (options *ImportOptions) ImportProjectsFromGitHub() error
- func (options *ImportOptions) ReplacePlaceholders(gitServerName, dockerRegistryOrg string) error
- func (options *ImportOptions) Run() error
- type InitFlags
- type InitHelmConfig
- type InitOptions
- type InstallDependenciesFlags
- type InstallDependenciesOptions
- type InstallFlags
- type InstallOptions
- type InstallOrUpdateBinaryOptions
- type InvokeDraftPack
- type JenkinsSelectorOptions
- type KubernetesProvider
- type Login
- type LoginOptions
- type LogsOptions
- type MetricsOptions
- type ModifyConfigMapCallback
- type ModifyDevEnvironmentFn
- type ModifyEnvironmentFn
- type ModifySecretCallback
- type NamespaceOptions
- type ObjectReference
- type OpenOptions
- type PackageJSON
- type PipelineRunRequest
- type PipelineRunResponse
- type PluginHandler
- 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 RepoOptions
- type RshOptions
- type Rule
- type Rules
- type ScanClusterOptions
- type ScanOptions
- type Secrets
- type ServerFlags
- type ShellOptions
- type Start
- type StartPipelineOptions
- type StartProtectionOptions
- type StatusOptions
- type StatusSortedTestCases
- type StepBDDFlags
- type StepBDDOptions
- type StepBlogOptions
- type StepBlogState
- type StepBuildPackApplyOptions
- type StepBuildPackOptions
- type StepChangelogOptions
- type StepChangelogState
- type StepCreateBuildOptions
- type StepCreateBuildTemplateOptions
- type StepCreateOptions
- type StepCreateTaskOptions
- func (o *StepCreateTaskOptions) CreatePipelineAndStructureForBuildPack(task *pipelineapi.Task, sourceRepoResource *pipelineapi.PipelineResource, ...) (*pipelineapi.Pipeline, *v1.PipelineStructure)
- func (o *StepCreateTaskOptions) CreatePipelineRun(pipeline *pipelineapi.Pipeline, resources []*pipelineapi.PipelineResource) *pipelineapi.PipelineRun
- func (o *StepCreateTaskOptions) CreateSourceRepoResourceForBuildPack(task *pipelineapi.Task, gitInfo *gits.GitRepository, branch string) *pipelineapi.PipelineResource
- func (o *StepCreateTaskOptions) CreateTaskForBuildPack(languageName string, pipelineConfig *jenkinsfile.PipelineConfig, ...) (*pipelineapi.Task, error)
- func (o *StepCreateTaskOptions) EnhanceTasksAndPipeline(tasks []*pipelineapi.Task, pipeline *pipelineapi.Pipeline, ...)
- func (o *StepCreateTaskOptions) GenerateTektonCRDs(packsDir string, projectConfig *config.ProjectConfig, projectConfigFile string, ...) (*pipelineapi.Pipeline, []*pipelineapi.Task, []*pipelineapi.PipelineResource, ...)
- func (o *StepCreateTaskOptions) GetDefaultTaskInputs() *pipelineapi.Inputs
- func (o *StepCreateTaskOptions) Run() error
- type StepCreateTaskResults
- type StepCreateVersionPullRequestOptions
- type StepCreateVersionPullRequestResults
- type StepCredentialOptions
- type StepCustomPipelineOptions
- type StepEnvApplyOptions
- type StepEnvOptions
- type StepGetBuildNumberOptions
- type StepGetOptions
- type StepGetVersionChangeSetOptions
- type StepGitCredentialsOptions
- type StepGitEnvsOptions
- type StepGitMergeOptions
- type StepGitOptions
- type StepGpgCredentialsOptions
- type StepHelmApplyOptions
- type StepHelmBuildOptions
- type StepHelmDeleteOptions
- type StepHelmEnvOptions
- type StepHelmInstallOptions
- type StepHelmListOptions
- 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 StepPRLabelsOptions
- type StepPROptions
- type StepPostBuildOptions
- type StepPostInstallOptions
- type StepPostInstallResults
- type StepPostOptions
- type StepPostRunOptions
- type StepPreBuildOptions
- type StepPreExtendOptions
- type StepPreOptions
- type StepReleaseOptions
- type StepSplitMonorepoOptions
- type StepStashOptions
- type StepSummary
- type StepTagFlags
- type StepTagOptions
- type StepUnstashOptions
- type StepValidateOptions
- type StepVerifyOptions
- type StepVerifyPodCountOptions
- type StepVerifyPodOptions
- type StepVerifyPodReadyOptions
- type StepWaitForArtifactOptions
- type Stop
- type StopPipelineOptions
- type SyncOptions
- type TeamOptions
- type UninstallOptions
- type UpdateClusterFlags
- type UpdateClusterGKEOptions
- type UpdateClusterGKETerraformFlags
- type UpdateClusterGKETerraformOptions
- type UpdateClusterOptions
- type UpdateOptions
- type UpdateWebhooksOptions
- type UpgradeAddonProwOptions
- type UpgradeAddonsOptions
- type UpgradeAppsOptions
- type UpgradeBinariesOptions
- type UpgradeCLIOptions
- type UpgradeCRDsOptions
- 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, exts typev1.ExtensionInterface, ...) (needsUpstalling []jenkinsv1.ExtensionExecution, err error)
- type UpgradeExtensionsRepositoryFlags
- type UpgradeExtensionsRepositoryOptions
- type UpgradeIngressOptions
- type UpgradeOptions
- type UpgradePlatformOptions
- type UserLoginInfo
- type VersionOptions
Constants ¶
const ( // DefaultChartRepo default URL for charts repository DefaultChartRepo = "http://jenkins-x-chartmuseum:8080" // DefaultTillerNamesapce default namespace for helm tiller server DefaultTillerNamesapce = "kube-system" // DefaultTillerRole default cluster role for service account of helm tiller server DefaultTillerRole = "cluster-admin" // DefaultOnlyHelmClient indicates if only the client is initialized DefaultOnlyHelmClient = false // DefaultHelm3 indicates if helm 3 is used DefaultHelm3 = false // DefaultSkipTiller skips the tiller server initialization DefaultSkipTiller = false // DefaultGlobalTiller indicates if a global tiller server is used DefaultGlobalTiller = true // DefaultRemoteTiller indicates that a remote tiller server is used DefaultRemoteTiller = true // DefaultSkipClusterRole skips the cluster role creation DefaultSkipClusterRole = false )
const ( MinikubeDefaultCpu = "3" MinikubeDefaultDiskSize = "150GB" MinikubeDefaultMemory = "4096" )
const ( // HealthPath is the URL path for the HTTP endpoint that returns health status. HealthPath = "/health" // ReadyPath URL path for the HTTP endpoint that returns ready status. ReadyPath = "/ready" )
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 ( // PlaceHolderPrefix is prefix for placeholders PlaceHolderPrefix = "REPLACE_ME" // PlaceHolderAppName placeholder for app name PlaceHolderAppName = PlaceHolderPrefix + "_APP_NAME" // PlaceHolderGitProvider placeholder for git provider PlaceHolderGitProvider = PlaceHolderPrefix + "_GIT_PROVIDER" // PlaceHolderOrg placeholder for org PlaceHolderOrg = PlaceHolderPrefix + "_ORG" // PlaceHolderDockerRegistryOrg placeholder for docker registry PlaceHolderDockerRegistryOrg = PlaceHolderPrefix + "_DOCKER_REGISTRY_ORG" )
const ( JX_GIT_TOKEN = "JX_GIT_TOKEN" JX_GIT_USER = "JX_GIT_USER" // Want to use your own provider file? Change this line to point to your fork DefaultCloudEnvironmentsURL = "https://github.com/jenkins-x/cloud-environments" DefaultVersionsURL = "https://github.com/jenkins-x/jenkins-x-versions" // JenkinsXPlatformChartName default chart name for Jenkins X platform JenkinsXPlatformChartName = "jenkins-x-platform" // JenkinsXPlatformChart the default full chart name with the default repository prefix JenkinsXPlatformChart = "jenkins-x/" + JenkinsXPlatformChartName JenkinsXPlatformRelease = "jenkins-x" AdminSecretsFile = "adminSecrets.yaml" ExtraValuesFile = "extraValues.yaml" JXInstallConfig = "jx-install-config" CloudEnvValuesFile = "myvalues.yaml" CloudEnvSecretsFile = "secrets.yaml" CloudEnvSopsConfigFile = ".sops.yaml" ServerlessJenkins = "Serverless Jenkins" StaticMasterJenkins = "Static Master Jenkins" GitOpsChartYAML = `` /* 172-byte string literal not displayed */ )
const ( UserOnboardingEndpoint = "/api/v1/users" SsoCookieName = "sso-core" )
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 = `` /* 524-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 (
BlueOceanPath = "/blue"
)
const (
DEFAULT_IBMREPO_URL = "https://registry.bluemix.net/helm/ibm"
)
const (
DefaultErrorExitCode = 1
)
const (
DefaultMavenCentralRepo = "http://central.maven.org/maven2/"
)
const DefaultPrefix = "JX_PR_LABELS"
DefaultPrefix for all PR labels environment keys
const (
// JenkinsBuildPackURL URL of Draft packs for Jenkins X
JenkinsBuildPackURL = "https://github.com/jenkins-x/draft-packs.git"
)
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 ( 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 ( GCPodsLong = templates.LongDesc(` Garbage collect old Pods that have completed or failed `) GCPodsExample = templates.Examples(` # garbage collect old pods of the default age jx gc pods # garbage collect pods older than 10 minutes jx gc pods -a 10m `) )
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 ( // StepGetVersionChangeSetLong command long description StepGetVersionChangeSetLong = templates.LongDesc(` This pipeline step generates environment variables from the differences of versions between jenkins-x-version branches `) // StepGetVersionChangeSetExample command example StepGetVersionChangeSetExample = templates.Examples(` # This pipeline step generates environment variables from the differences of versions between jenkins-x-version PR21 and the master branch jx step get version-changeset --pr 21 # This pipeline step generates environment variables from the differences of versions between jenkins-x-version PR21 and a branch called stuff jx step get version-changeset --stable-branch stuff --pr 21 `) )
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 ( // StepGitEnvsLong command long description StepGitEnvsLong = templates.LongDesc(` This pipeline step generates a Git environment variables from the current Git provider pipeline Secrets `) // StepGitEnvsExample command example StepGitEnvsExample = templates.Examples(` # Sets the Git environment variables for the current GitHub provider jx step git envs # Sets the Gie environment variables for the current Gtilab provider jx step git envs --service-kind=gitlab `) )
var ( // StepGitMergeLong command long description StepGitMergeLong = templates.LongDesc(` This pipeline step merges any SHAs specified into the HEAD of master. If no SHAs are specified then the PULL_REFS environment variable will be prased for a branch:sha comma separated list of shas to merge. For example: master:ef08a6cd194c2687d4bc12df6bb8a86f53c348ba,2739:5b351f4eae3c4afbb90dd7787f8bf2f8c454723f,2822:bac2a1f34fd54811fb767f69543f59eb3949b2a5 `) // StepGitMergeExample command example StepGitMergeExample = templates.Examples(` # Merge the SHAs from the PULL_REFS environment variable jx step git merge # Merge the SHA into the HEAD of master jx step git merge --sha 123456a # Merge a number of SHAs into the HEAD of master jx step git merge --sha 123456a --sha 789012b `) )
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 ( StepHelmListLong = templates.LongDesc(` List the helm releases `) StepHelmListExample = templates.Examples(` # list all the helm releases in the current namespace jx step helm list `) )
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(` Generates 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 ( 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 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 AssertAllPromoteStepsSuccessful ¶
func AssertAllPromoteStepsSuccessful(t *testing.T, activities typev1.PipelineActivityInterface, name string)
func AssertHasPipelineStatus ¶
func AssertHasPipelineStatus(t *testing.T, activities typev1.PipelineActivityInterface, name string, status v1.ActivityStatusType)
func AssertHasPromoteStatus ¶
func AssertHasPromoteStatus(t *testing.T, activities typev1.PipelineActivityInterface, name string, envName string, status v1.ActivityStatusType)
func AssertPromoteStep ¶
func AssertPromoteStep(t *testing.T, step *v1.WorkflowStep, expectedEnvironment string)
func AssertSetPullRequestComplete ¶
func AssertSetPullRequestComplete(t *testing.T, provider *gits.FakeProvider, repository *gits.FakeRepository, prNumber int) bool
func AssertSetPullRequestMerged ¶
func AssertSetPullRequestMerged(t *testing.T, provider *gits.FakeProvider, orgName string, repositoryName string, prNumber int) bool
AssertSetPullRequestMerged validates that the fake PR has merged
func AssertWorkflowStatus ¶
func AssertWorkflowStatus(t *testing.T, activities typev1.PipelineActivityInterface, name string, status v1.ActivityStatusType)
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 CleanupTestEnvironmentDir ¶
func CleanupTestEnvironmentDir(o *CommonOptions) error
CleanupTestEnvironmentDir should be called in a deferred function whenever CreateTestEnvironmentDir is called
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, fakeGitProvider *gits.FakeProvider, helm helm.Helmer, resourcesInstaller resources.Installer)
ConfigureTestOptions lets configure the options for use in tests using fake APIs to k8s cluster.
func CopyBuildPack ¶
CopyBuildPack copies the build pack from the source dir to the destination dir
func CreateBucketHTTPFn ¶
func CreateBucketHTTPFn(authSvc auth.ConfigService) func(string) (string, error)
CreateBucketHTTPFn creates a function to transform a git URL to add the token for accessing a git based bucket
func CreateTestEnvironmentDir ¶
func CreateTestEnvironmentDir(o *CommonOptions) error
CreateTestEnvironmentDir will create a temporary environment dir for the tests, copying over any existing config, and updating CommonOptions.EnvironmentDir() - this is useful for testing git operations on the environments without clobbering the local environments and risking the cluster getting contaminated - use with gits.GitLocal
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 GetTokenForGitURL ¶
func GetTokenForGitURL(authSvc auth.ConfigService, u string) (string, error)
GetTokenForGitURL returns the git token for the given git URL
func InstallVaultOperator ¶
func InstallVaultOperator(o *CommonOptions, namespace string) error
InstallVaultOperator installs a vault operator in the namespace provided
func KubernetesProviderOptions ¶
func KubernetesProviderOptions() string
KubernetesProviderOptions returns all the Kubernetes providers as a string
func LoadVersionFromCloudEnvironmentsDir ¶
func LoadVersionFromCloudEnvironmentsDir(wrkDir string, configStore configio.ConfigStore) (string, error)
LoadVersionFromCloudEnvironmentsDir lets load the jenkins-x-platform version
func NewCmdAdd ¶
func NewCmdAdd(commonOpts *CommonOptions) *cobra.Command
NewCmdAdd creates a command object for the "add" command
func NewCmdAddApp ¶
func NewCmdAddApp(commonOpts *CommonOptions) *cobra.Command
NewCmdAddApp creates a command object for the "create" command
func NewCmdCloudBees ¶
func NewCmdCloudBees(commonOpts *CommonOptions) *cobra.Command
func NewCmdCloudBeesPipeline ¶
func NewCmdCloudBeesPipeline(commonOpts *CommonOptions) *cobra.Command
func NewCmdCompletion ¶
func NewCmdCompletion(commonOpts *CommonOptions) *cobra.Command
func NewCmdComplianceDelete ¶
func NewCmdComplianceDelete(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
NewCmdComplianceLogs creates a command object for the "compliance logs" action, which prints the logs of compliance tests
func NewCmdComplianceResults ¶
func NewCmdComplianceResults(commonOpts *CommonOptions) *cobra.Command
NewCmdComplianceResults creates a command object for the "compliance results" action, which shows the results of E2E compliance tests
func NewCmdComplianceRun ¶
func NewCmdComplianceRun(commonOpts *CommonOptions) *cobra.Command
NewCmdComplianceRun creates a command object for the "compliance run" action, which starts the E2E compliance tests
func NewCmdComplianceStatus ¶
func NewCmdComplianceStatus(commonOpts *CommonOptions) *cobra.Command
NewCmdComplianceStatus creates a command object for the "compliance status" action, which retrieve the status of E2E compliance tests
func NewCmdConsole ¶
func NewCmdConsole(commonOpts *CommonOptions) *cobra.Command
func NewCmdContext ¶
func NewCmdContext(commonOpts *CommonOptions) *cobra.Command
func NewCmdController ¶
func NewCmdController(commonOpts *CommonOptions) *cobra.Command
NewCmdController creates the edit command
func NewCmdControllerBackup ¶
func NewCmdControllerBackup(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
NewCmdControllerBuild creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdControllerBuildNumbers ¶ added in v1.3.820
func NewCmdControllerBuildNumbers(commonOpts *CommonOptions) *cobra.Command
NewCmdControllerBuildNumbers builds a new command to serving build numbers over an HTTP interface.
func NewCmdControllerCommitStatus ¶
func NewCmdControllerCommitStatus(commonOpts *CommonOptions) *cobra.Command
NewCmdControllerCommitStatus creates a command object for the "create" command
func NewCmdControllerPipelineRunner ¶ added in v1.3.820
func NewCmdControllerPipelineRunner(commonOpts *CommonOptions) *cobra.Command
NewCmdControllerPipelineRunner creates the command
func NewCmdControllerRole ¶
func NewCmdControllerRole(commonOpts *CommonOptions) *cobra.Command
func NewCmdControllerTeam ¶
func NewCmdControllerTeam(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
NewCmdCreate creates a command object for the "create" command
func NewCmdCreateAddon ¶
func NewCmdCreateAddon(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateAddon creates a command object for the "create" command
func NewCmdCreateAddonAmbassador ¶
func NewCmdCreateAddonAmbassador(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateAddonAmbassador creates a command object for the "create" command
func NewCmdCreateAddonAnchore ¶
func NewCmdCreateAddonAnchore(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateAddonAnchore creates a command object for the "create" command
func NewCmdCreateAddonCloudBees ¶
func NewCmdCreateAddonCloudBees(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateAddonCloudBees creates a command object for the "create" command
func NewCmdCreateAddonFlagger ¶ added in v1.3.818
func NewCmdCreateAddonFlagger(commonOpts *CommonOptions) *cobra.Command
func NewCmdCreateAddonGitea ¶
func NewCmdCreateAddonGitea(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateAddonGitea creates a command object for the "create" command
func NewCmdCreateAddonIstio ¶
func NewCmdCreateAddonIstio(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateAddonIstio creates a command object for the "create" command
func NewCmdCreateAddonKnativeBuild ¶
func NewCmdCreateAddonKnativeBuild(commonOpts *CommonOptions) *cobra.Command
func NewCmdCreateAddonKubeless ¶
func NewCmdCreateAddonKubeless(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateAddonKubeless creates a command object for the "create" command
func NewCmdCreateAddonOwasp ¶
func NewCmdCreateAddonOwasp(commonOpts *CommonOptions) *cobra.Command
func NewCmdCreateAddonPipelineEvents ¶
func NewCmdCreateAddonPipelineEvents(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateAddonPipelineEvents creates a command object for the "create" command
func NewCmdCreateAddonPrometheus ¶
func NewCmdCreateAddonPrometheus(commonOpts *CommonOptions) *cobra.Command
func NewCmdCreateAddonProw ¶
func NewCmdCreateAddonProw(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateAddonProw creates a command object for the "create" command
func NewCmdCreateAddonSSO ¶
func NewCmdCreateAddonSSO(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateAddonSSO creates a command object for the "create addon sso" command
func NewCmdCreateAddonVault ¶
func NewCmdCreateAddonVault(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateAddonVault creates a command object for the "create addon vault-opeator" command
func NewCmdCreateArchetype ¶
func NewCmdCreateArchetype(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateArchetype creates a command object for the "create" command
func NewCmdCreateBranchPattern ¶
func NewCmdCreateBranchPattern(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateBranchPattern creates a command object for the "create" command
func NewCmdCreateCamel ¶
func NewCmdCreateCamel(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateCamel creates a command object for the "create" command
func NewCmdCreateChat ¶
func NewCmdCreateChat(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateChat creates a command object for the "create" command
func NewCmdCreateChatServer ¶
func NewCmdCreateChatServer(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateChatServer creates a command object for the "create" command
func NewCmdCreateChatToken ¶
func NewCmdCreateChatToken(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateChatToken creates a command
func NewCmdCreateClient ¶ added in v1.3.818
func NewCmdCreateClient(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateClient creates clients for CRDs
func NewCmdCreateClientDocs ¶ added in v1.3.818
func NewCmdCreateClientDocs(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateClientDocs creates apidocs for CRDs
func NewCmdCreateClientGo ¶ added in v1.3.818
func NewCmdCreateClientGo(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateClientGo creates the command
func NewCmdCreateClientOpenAPI ¶ added in v1.3.818
func NewCmdCreateClientOpenAPI(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateClientOpenAPI creates the command
func NewCmdCreateCluster ¶
func NewCmdCreateCluster(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateClusterAWS creates the command
func NewCmdCreateClusterEKS ¶
func NewCmdCreateClusterEKS(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateClusterEKS creates the command
func NewCmdCreateClusterGKE ¶
func NewCmdCreateClusterGKE(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateClusterGKE 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(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateClusterGKETerraform 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(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateCodeship creates a command object for the "create" command
func NewCmdCreateDevPod ¶
func NewCmdCreateDevPod(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateDevPod creates a command object for the "create" command
func NewCmdCreateDockerAuth ¶
func NewCmdCreateDockerAuth(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateIssue creates a command object for the "create" command
func NewCmdCreateDocs ¶
func NewCmdCreateDocs(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateDocs creates a command object for the "create" command
func NewCmdCreateEnv ¶
func NewCmdCreateEnv(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateEnv creates a command object for the "create" command
func NewCmdCreateEtcHosts ¶
func NewCmdCreateEtcHosts(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateEtcHosts creates a command object for the "create" command
func NewCmdCreateGit ¶
func NewCmdCreateGit(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateGit creates a command object for the "create" command
func NewCmdCreateGitServer ¶
func NewCmdCreateGitServer(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateGitServer creates a command object for the "create" command
func NewCmdCreateGitToken ¶
func NewCmdCreateGitToken(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateGitToken creates a command
func NewCmdCreateGitUser ¶
func NewCmdCreateGitUser(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateGitUser creates a command
func NewCmdCreateGkeServiceAccount ¶
func NewCmdCreateGkeServiceAccount(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateGkeServiceAccount creates a command object for the "create" command
func NewCmdCreateIssue ¶
func NewCmdCreateIssue(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateIssue creates a command object for the "create" command
func NewCmdCreateJHipster ¶
func NewCmdCreateJHipster(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateJHipster creates a command object for the "create" command
func NewCmdCreateJenkins ¶
func NewCmdCreateJenkins(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateJenkins creates a command object for the "create" command
func NewCmdCreateJenkinsUser ¶
func NewCmdCreateJenkinsUser(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateJenkinsUser creates a command
func NewCmdCreateLile ¶
func NewCmdCreateLile(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateLile creates a command object for the "create" command
func NewCmdCreateMicro ¶
func NewCmdCreateMicro(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateMicro creates a command object for the "create" command
func NewCmdCreatePostPreviewJob ¶
func NewCmdCreatePostPreviewJob(commonOpts *CommonOptions) *cobra.Command
NewCmdCreatePostPreviewJob creates a command object for the "create" command
func NewCmdCreateProject ¶
func NewCmdCreateProject(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateProject creates a command object for the "create" command
func NewCmdCreatePullRequest ¶
func NewCmdCreatePullRequest(commonOpts *CommonOptions) *cobra.Command
NewCmdCreatePullRequest creates a command object for the "create" command
func NewCmdCreateQuickstart ¶
func NewCmdCreateQuickstart(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateQuickstart creates a command object for the "create" command
func NewCmdCreateQuickstartLocation ¶
func NewCmdCreateQuickstartLocation(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateQuickstartLocation creates a command object for the "create" command
func NewCmdCreateSpring ¶
func NewCmdCreateSpring(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateSpring creates a command object for the "create" command
func NewCmdCreateTeam ¶
func NewCmdCreateTeam(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateTeam creates a command object for the "create" command
func NewCmdCreateTerraform ¶
func NewCmdCreateTerraform(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateTerraform creates a command object for the "create" command
func NewCmdCreateToken ¶
func NewCmdCreateToken(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateToken creates a command object for the "create" command
func NewCmdCreateTokenAddon ¶
func NewCmdCreateTokenAddon(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateTokenAddon creates a command
func NewCmdCreateTracker ¶
func NewCmdCreateTracker(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateTracker creates a command object for the "create" command
func NewCmdCreateTrackerServer ¶
func NewCmdCreateTrackerServer(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateTrackerServer creates a command object for the "create" command
func NewCmdCreateTrackerToken ¶
func NewCmdCreateTrackerToken(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateTrackerToken creates a command
func NewCmdCreateUser ¶
func NewCmdCreateUser(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateUser creates a command object for the "create" command
func NewCmdCreateVault ¶
func NewCmdCreateVault(commonOpts *CommonOptions) *cobra.Command
NewCmdCreateVault creates a command object for the "create" command
func NewCmdDelete ¶
func NewCmdDelete(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteAddonCloudBees defines the command
func NewCmdDeleteAddonFlagger ¶ added in v1.3.881
func NewCmdDeleteAddonFlagger(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteAddonFlagger defines the command
func NewCmdDeleteAddonGitea ¶
func NewCmdDeleteAddonGitea(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteAddonGitea defines the command
func NewCmdDeleteAddonKnativeBuild ¶
func NewCmdDeleteAddonKnativeBuild(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteAddonKnativeBuild defines the command
func NewCmdDeleteAddonSSO ¶
func NewCmdDeleteAddonSSO(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteAddonSSO defines the command
func NewCmdDeleteApp ¶
func NewCmdDeleteApp(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteApp creates a command object for this command
func NewCmdDeleteApplication ¶
func NewCmdDeleteApplication(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteApplication creates a command object for this command
func NewCmdDeleteAws ¶
func NewCmdDeleteAws(commonOpts *CommonOptions) *cobra.Command
func NewCmdDeleteBranch ¶
func NewCmdDeleteBranch(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteBranch creates a command object for the "delete repo" command
func NewCmdDeleteChat ¶
func NewCmdDeleteChat(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteChatServer defines the command
func NewCmdDeleteChatToken ¶
func NewCmdDeleteChatToken(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteChatToken defines the command
func NewCmdDeleteContext ¶
func NewCmdDeleteContext(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteContext creates a command object for the "delete repo" command
func NewCmdDeleteDevPod ¶
func NewCmdDeleteDevPod(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteDevPod creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteEnv ¶
func NewCmdDeleteEnv(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteEnv creates a command object for the "delete repo" command
func NewCmdDeleteExtension ¶
func NewCmdDeleteExtension(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteExtension creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteGit ¶
func NewCmdDeleteGit(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteGitServer defines the command
func NewCmdDeleteGitToken ¶
func NewCmdDeleteGitToken(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteGitToken defines the command
func NewCmdDeleteJenkins ¶
func NewCmdDeleteJenkins(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteJenkins creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteJenkinsToken ¶ added in v1.3.924
func NewCmdDeleteJenkinsToken(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteJenkinsToken defines the command
func NewCmdDeleteNamespace ¶
func NewCmdDeleteNamespace(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteNamespace creates a command object retrieves one or more resources from a server.
func NewCmdDeletePostPreviewJob ¶
func NewCmdDeletePostPreviewJob(commonOpts *CommonOptions) *cobra.Command
NewCmdDeletePostPreviewJob creates a command object for the "create" command
func NewCmdDeletePreview ¶
func NewCmdDeletePreview(commonOpts *CommonOptions) *cobra.Command
NewCmdDeletePreview creates a command object
func NewCmdDeleteQuickstartLocation ¶
func NewCmdDeleteQuickstartLocation(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteQuickstartLocation defines the command
func NewCmdDeleteRepo ¶
func NewCmdDeleteRepo(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteRepo creates a command object for the "delete repo" command
func NewCmdDeleteTeam ¶
func NewCmdDeleteTeam(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteTeam creates a command object retrieves one or more resources from a server.
func NewCmdDeleteToken ¶
func NewCmdDeleteToken(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteToken creates a command object retrieves one or more resources from a server.
func NewCmdDeleteTokenAddon ¶
func NewCmdDeleteTokenAddon(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteTokenAddon defines the command
func NewCmdDeleteTracker ¶
func NewCmdDeleteTracker(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteTrackerServer defines the command
func NewCmdDeleteTrackerToken ¶
func NewCmdDeleteTrackerToken(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteTrackerToken defines the command
func NewCmdDeleteUser ¶
func NewCmdDeleteUser(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteUser creates a command object retrieves one or more resources from a server.
func NewCmdDeleteVault ¶
func NewCmdDeleteVault(commonOpts *CommonOptions) *cobra.Command
NewCmdDeleteVault builds a new delete vault command
func NewCmdDiagnose ¶
func NewCmdDiagnose(commonOpts *CommonOptions) *cobra.Command
func NewCmdDocs ¶
func NewCmdDocs(commonOpts *CommonOptions) *cobra.Command
open the docs - Jenkins X docs by default
func NewCmdEdit ¶
func NewCmdEdit(commonOpts *CommonOptions) *cobra.Command
NewCmdEdit creates the edit command
func NewCmdEditAddon ¶
func NewCmdEditAddon(commonOpts *CommonOptions) *cobra.Command
NewCmdEditAddon creates a command object for the "create" command
func NewCmdEditAppJenkinsPlugins ¶ added in v1.3.932
func NewCmdEditAppJenkinsPlugins(commonOpts *CommonOptions) *cobra.Command
NewCmdEditAppJenkinsPlugins creates a command object for the "create" command
func NewCmdEditBuildpack ¶
func NewCmdEditBuildpack(commonOpts *CommonOptions) *cobra.Command
NewCmdEditBuildpack creates a command object for the "create" command
func NewCmdEditConfig ¶
func NewCmdEditConfig(commonOpts *CommonOptions) *cobra.Command
NewCmdEditConfig creates a command object for the "create" command
func NewCmdEditEnv ¶
func NewCmdEditEnv(commonOpts *CommonOptions) *cobra.Command
NewCmdEditEnv creates a command object for the "create" command
func NewCmdEditExtensionsRepository ¶
func NewCmdEditExtensionsRepository(commonOpts *CommonOptions) *cobra.Command
func NewCmdEditHelmBin ¶
func NewCmdEditHelmBin(commonOpts *CommonOptions) *cobra.Command
NewCmdEditHelmBin creates a command object for the "create" command
func NewCmdEditStorage ¶
func NewCmdEditStorage(commonOpts *CommonOptions) *cobra.Command
NewCmdEditStorage creates a command object for the "create" command
func NewCmdEditUserRole ¶
func NewCmdEditUserRole(commonOpts *CommonOptions) *cobra.Command
NewCmdEditUserRole creates a command object for the "create" command
func NewCmdEnvironment ¶
func NewCmdEnvironment(commonOpts *CommonOptions) *cobra.Command
func NewCmdGC ¶
func NewCmdGC(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
NewCmd s a command object for the "step" command
func NewCmdGCGKE ¶
func NewCmdGCGKE(commonOpts *CommonOptions) *cobra.Command
NewCmd s a command object for the "step" command
func NewCmdGCHelm ¶
func NewCmdGCHelm(commonOpts *CommonOptions) *cobra.Command
NewCmdGCHelm a command object for the "garbage collect" command
func NewCmdGCPods ¶
func NewCmdGCPods(commonOpts *CommonOptions) *cobra.Command
NewCmdGCPods creates the command object
func NewCmdGCPreviews ¶
func NewCmdGCPreviews(commonOpts *CommonOptions) *cobra.Command
NewCmd s a command object for the "step" command
func NewCmdGCReleases ¶
func NewCmdGCReleases(commonOpts *CommonOptions) *cobra.Command
NewCmd s a command object for the "step" command
func NewCmdGet ¶
func NewCmdGet(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
NewCmdGetAWSInfo creates the new command for: jx get env
func NewCmdGetActivity ¶
func NewCmdGetActivity(commonOpts *CommonOptions) *cobra.Command
NewCmdGetActivity creates the new command for: jx get version
func NewCmdGetAddon ¶
func NewCmdGetAddon(commonOpts *CommonOptions) *cobra.Command
NewCmdGetAddon creates the command
func NewCmdGetApplications ¶
func NewCmdGetApplications(commonOpts *CommonOptions) *cobra.Command
NewCmdGetApplications creates the new command for: jx get version
func NewCmdGetApps ¶ added in v1.3.914
func NewCmdGetApps(commonOpts *CommonOptions) *cobra.Command
NewCmdGetApps creates the new command for: jx get version
func NewCmdGetBranchPattern ¶
func NewCmdGetBranchPattern(commonOpts *CommonOptions) *cobra.Command
NewCmdGetBranchPattern creates the new command for: jx get env
func NewCmdGetBuild ¶
func NewCmdGetBuild(commonOpts *CommonOptions) *cobra.Command
NewCmdGetBuild creates the command object
func NewCmdGetBuildLogs ¶
func NewCmdGetBuildLogs(commonOpts *CommonOptions) *cobra.Command
NewCmdGetBuildLogs creates the command
func NewCmdGetBuildPack ¶
func NewCmdGetBuildPack(commonOpts *CommonOptions) *cobra.Command
NewCmdGetBuildPack creates the new command for: jx get env
func NewCmdGetBuildPods ¶
func NewCmdGetBuildPods(commonOpts *CommonOptions) *cobra.Command
NewCmdGetBuildPods creates the command
func NewCmdGetCVE ¶
func NewCmdGetCVE(commonOpts *CommonOptions) *cobra.Command
NewCmdGetCVE creates the command
func NewCmdGetChat ¶
func NewCmdGetChat(commonOpts *CommonOptions) *cobra.Command
NewCmdGetChat creates the command
func NewCmdGetConfig ¶
func NewCmdGetConfig(commonOpts *CommonOptions) *cobra.Command
NewCmdGetConfig creates the command
func NewCmdGetDevPod ¶
func NewCmdGetDevPod(commonOpts *CommonOptions) *cobra.Command
NewCmdGetDevPod creates the command
func NewCmdGetEks ¶
func NewCmdGetEks(commonOpts *CommonOptions) *cobra.Command
func NewCmdGetEnv ¶
func NewCmdGetEnv(commonOpts *CommonOptions) *cobra.Command
NewCmdGetEnv creates the new command for: jx get env
func NewCmdGetGit ¶
func NewCmdGetGit(commonOpts *CommonOptions) *cobra.Command
NewCmdGetGit creates the command
func NewCmdGetHelmBin ¶
func NewCmdGetHelmBin(commonOpts *CommonOptions) *cobra.Command
NewCmdGetHelmBin creates the new command for: jx get env
func NewCmdGetIssue ¶
func NewCmdGetIssue(commonOpts *CommonOptions) *cobra.Command
NewCmdGetIssue creates the command
func NewCmdGetIssues ¶
func NewCmdGetIssues(commonOpts *CommonOptions) *cobra.Command
NewCmdGetIssues creates the command
func NewCmdGetLimits ¶
func NewCmdGetLimits(commonOpts *CommonOptions) *cobra.Command
NewCmdGetLimits creates the command
func NewCmdGetPipeline ¶
func NewCmdGetPipeline(commonOpts *CommonOptions) *cobra.Command
NewCmdGetPipeline creates the command
func NewCmdGetPlugins ¶
func NewCmdGetPlugins(commonOpts *CommonOptions) *cobra.Command
NewCmdGetPlugins provides a way to list all plugin executables visible to jx
func NewCmdGetPostPreviewJob ¶
func NewCmdGetPostPreviewJob(commonOpts *CommonOptions) *cobra.Command
NewCmdGetPostPreviewJob creates a command object for the "create" command
func NewCmdGetPreview ¶
func NewCmdGetPreview(commonOpts *CommonOptions) *cobra.Command
NewCmdGetPreview creates the new command for: jx get env
func NewCmdGetQuickstartLocation ¶
func NewCmdGetQuickstartLocation(commonOpts *CommonOptions) *cobra.Command
NewCmdGetQuickstartLocation creates the new command for: jx get env
func NewCmdGetQuickstarts ¶ added in v1.3.888
func NewCmdGetQuickstarts(commonOpts *CommonOptions) *cobra.Command
NewCmdGetQuickstarts creates the command
func NewCmdGetRelease ¶
func NewCmdGetRelease(commonOpts *CommonOptions) *cobra.Command
NewCmdGetRelease creates the new command for: jx get env
func NewCmdGetSecret ¶
func NewCmdGetSecret(commonOpts *CommonOptions) *cobra.Command
NewCmdGetSecret creates a new command for 'jx get secrets'
func NewCmdGetStorage ¶
func NewCmdGetStorage(commonOpts *CommonOptions) *cobra.Command
NewCmdGetStorage creates the new command for: jx get env
func NewCmdGetTeam ¶
func NewCmdGetTeam(commonOpts *CommonOptions) *cobra.Command
NewCmdGetTeam creates the new command for: jx get env
func NewCmdGetTeamRole ¶
func NewCmdGetTeamRole(commonOpts *CommonOptions) *cobra.Command
NewCmdGetTeamRole creates the new command for: jx get env
func NewCmdGetToken ¶
func NewCmdGetToken(commonOpts *CommonOptions) *cobra.Command
NewCmdGetToken creates the command
func NewCmdGetTokenAddon ¶
func NewCmdGetTokenAddon(commonOpts *CommonOptions) *cobra.Command
NewCmdGetTokenAddon creates the command
func NewCmdGetTracker ¶
func NewCmdGetTracker(commonOpts *CommonOptions) *cobra.Command
NewCmdGetTracker creates the command
func NewCmdGetURL ¶
func NewCmdGetURL(commonOpts *CommonOptions) *cobra.Command
NewCmdGetURL creates the command
func NewCmdGetUser ¶
func NewCmdGetUser(commonOpts *CommonOptions) *cobra.Command
NewCmdGetUser creates the new command for: jx get env
func NewCmdGetVault ¶
func NewCmdGetVault(commonOpts *CommonOptions) *cobra.Command
NewCmdGetVault creates a new command for 'jx get vaults'
func NewCmdGetVaultConfig ¶
func NewCmdGetVaultConfig(commonOpts *CommonOptions) *cobra.Command
NewCmdGetVaultConfig creates a new command for 'jx get secrets'
func NewCmdGetWorkflow ¶
func NewCmdGetWorkflow(commonOpts *CommonOptions) *cobra.Command
NewCmdGetWorkflow creates the new command for: jx get env
func NewCmdImport ¶
func NewCmdImport(commonOpts *CommonOptions) *cobra.Command
NewCmdImport the cobra command for jx import
func NewCmdInit ¶
func NewCmdInit(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
NewCmdInstall creates a command object for the generic "install" action, which installs the jenkins-x platform on a Kubernetes cluster.
func NewCmdInstallDependencies ¶
func NewCmdInstallDependencies(commonOpts *CommonOptions) *cobra.Command
NewCmdInstallDependencies creates a command object to install any required dependencies
func NewCmdLogin ¶
func NewCmdLogin(commonOpts *CommonOptions) *cobra.Command
func NewCmdLogs ¶
func NewCmdLogs(commonOpts *CommonOptions) *cobra.Command
func NewCmdMetrics ¶
func NewCmdMetrics(commonOpts *CommonOptions) *cobra.Command
func NewCmdNamespace ¶
func NewCmdNamespace(commonOpts *CommonOptions) *cobra.Command
func NewCmdOpen ¶
func NewCmdOpen(commonOpts *CommonOptions) *cobra.Command
func NewCmdOptions ¶
NewCmdOptions implements the options command
func NewCmdPreview ¶
func NewCmdPreview(commonOpts *CommonOptions) *cobra.Command
NewCmdPreview creates a command object for the "create" command
func NewCmdPromote ¶
func NewCmdPromote(commonOpts *CommonOptions) *cobra.Command
NewCmdPromote creates the new command for: jx get prompt
func NewCmdPrompt ¶
func NewCmdPrompt(commonOpts *CommonOptions) *cobra.Command
NewCmdPrompt creates the new command for: jx get prompt
func NewCmdRepo ¶
func NewCmdRepo(commonOpts *CommonOptions) *cobra.Command
func NewCmdRsh ¶
func NewCmdRsh(commonOpts *CommonOptions) *cobra.Command
func NewCmdScan ¶
func NewCmdScan(commonOpts *CommonOptions) *cobra.Command
NewCmdScan creates a command object for the "scan" command
func NewCmdScanCluster ¶
func NewCmdScanCluster(commonOpts *CommonOptions) *cobra.Command
NewCmdScanCluster creates a command object for "scan cluster" command
func NewCmdShell ¶
func NewCmdShell(commonOpts *CommonOptions) *cobra.Command
func NewCmdStart ¶
func NewCmdStart(commonOpts *CommonOptions) *cobra.Command
NewCmdStart creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdStartPipeline ¶
func NewCmdStartPipeline(commonOpts *CommonOptions) *cobra.Command
NewCmdStartPipeline creates the command
func NewCmdStartProtection ¶
func NewCmdStartProtection(commonOpts *CommonOptions) *cobra.Command
NewCmdStartProtection creates the command
func NewCmdStatus ¶
func NewCmdStatus(commonOpts *CommonOptions) *cobra.Command
func NewCmdStep ¶
func NewCmdStep(commonOpts *CommonOptions) *cobra.Command
NewCmdStep Steps a command object for the "step" command
func NewCmdStepBDD ¶
func NewCmdStepBDD(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepBlog ¶
func NewCmdStepBlog(commonOpts *CommonOptions) *cobra.Command
NewCmdStepBlog Creates a new Command object
func NewCmdStepBuildPack ¶
func NewCmdStepBuildPack(commonOpts *CommonOptions) *cobra.Command
NewCmdStepBuildPack Steps a command object for the "step" command
func NewCmdStepBuildPackApply ¶
func NewCmdStepBuildPackApply(commonOpts *CommonOptions) *cobra.Command
NewCmdStepBuildPackApply Creates a new Command object
func NewCmdStepChangelog ¶
func NewCmdStepChangelog(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepCreate ¶
func NewCmdStepCreate(commonOpts *CommonOptions) *cobra.Command
NewCmdStepCreate Steps a command object for the "step" command
func NewCmdStepCreateBuild ¶
func NewCmdStepCreateBuild(commonOpts *CommonOptions) *cobra.Command
NewCmdStepCreateBuild Creates a new Command object
func NewCmdStepCreateBuildTemplate ¶
func NewCmdStepCreateBuildTemplate(commonOpts *CommonOptions) *cobra.Command
NewCmdStepCreateBuildTemplate Creates a new Command object
func NewCmdStepCreateTask ¶
func NewCmdStepCreateTask(commonOpts *CommonOptions) *cobra.Command
NewCmdStepCreateTask Creates a new Command object
func NewCmdStepCreateVersionPullRequest ¶ added in v1.3.852
func NewCmdStepCreateVersionPullRequest(commonOpts *CommonOptions) *cobra.Command
NewCmdStepCreateVersionPullRequest Creates a new Command object
func NewCmdStepCredential ¶
func NewCmdStepCredential(commonOpts *CommonOptions) *cobra.Command
NewCmdStepCredential creates the command
func NewCmdStepCustomPipeline ¶ added in v1.3.926
func NewCmdStepCustomPipeline(commonOpts *CommonOptions) *cobra.Command
NewCmdStepCustomPipeline creates the new command
func NewCmdStepEnv ¶
func NewCmdStepEnv(commonOpts *CommonOptions) *cobra.Command
NewCmdStepEnv Steps a command object for the "step" command
func NewCmdStepEnvApply ¶
func NewCmdStepEnvApply(commonOpts *CommonOptions) *cobra.Command
NewCmdStepEnvApply registers the command
func NewCmdStepGet ¶ added in v1.3.819
func NewCmdStepGet(commonOpts *CommonOptions) *cobra.Command
NewCmdStepGet Steps a command object for the "step" command
func NewCmdStepGetBuildNumber ¶ added in v1.3.819
func NewCmdStepGetBuildNumber(commonOpts *CommonOptions) *cobra.Command
NewCmdStepGetBuildNumber Creates a new Command object
func NewCmdStepGetVersionChangeSet ¶ added in v1.3.912
func NewCmdStepGetVersionChangeSet(commonOpts *CommonOptions) *cobra.Command
NewCmdStepGetVersionChangeSet create the 'step git envs' command
func NewCmdStepGit ¶
func NewCmdStepGit(commonOpts *CommonOptions) *cobra.Command
NewCmdStepGit Steps a command object for the "step" command
func NewCmdStepGitCredentials ¶
func NewCmdStepGitCredentials(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepGitEnvs ¶
func NewCmdStepGitEnvs(commonOpts *CommonOptions) *cobra.Command
NewCmdStepGitEnvs create the 'step git envs' command
func NewCmdStepGitMerge ¶ added in v1.3.886
func NewCmdStepGitMerge(commonOpts *CommonOptions) *cobra.Command
NewCmdStepGitMerge create the 'step git envs' command
func NewCmdStepGpgCredentials ¶
func NewCmdStepGpgCredentials(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepHelm ¶
func NewCmdStepHelm(commonOpts *CommonOptions) *cobra.Command
NewCmdStepHelm Steps a command object for the "step" command
func NewCmdStepHelmApply ¶
func NewCmdStepHelmApply(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepHelmBuild ¶
func NewCmdStepHelmBuild(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepHelmDelete ¶
func NewCmdStepHelmDelete(commonOpts *CommonOptions) *cobra.Command
NewCmdStepHelmDelete creates the command object
func NewCmdStepHelmEnv ¶
func NewCmdStepHelmEnv(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepHelmInstall ¶
func NewCmdStepHelmInstall(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepHelmList ¶
func NewCmdStepHelmList(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepHelmRelease ¶
func NewCmdStepHelmRelease(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepHelmVersion ¶
func NewCmdStepHelmVersion(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepLinkServices ¶
func NewCmdStepLinkServices(commonOpts *CommonOptions) *cobra.Command
NewCmdStepLinkServices Creates a new Command object
func NewCmdStepNextBuildNumber ¶
func NewCmdStepNextBuildNumber(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepNextVersion ¶
func NewCmdStepNextVersion(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepNexus ¶
func NewCmdStepNexus(commonOpts *CommonOptions) *cobra.Command
NewCmdStepNexus Steps a command object for the "step" command
func NewCmdStepNexusDrop ¶
func NewCmdStepNexusDrop(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepNexusRelease ¶
func NewCmdStepNexusRelease(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepPR ¶
func NewCmdStepPR(commonOpts *CommonOptions) *cobra.Command
NewCmdStepPR Steps a command object for the "step pr" command
func NewCmdStepPRComment ¶
func NewCmdStepPRComment(commonOpts *CommonOptions) *cobra.Command
NewCmdStepPRComment Steps a command object for the "step pr comment" command
func NewCmdStepPRLabels ¶ added in v1.3.837
func NewCmdStepPRLabels(commonOpts *CommonOptions) *cobra.Command
NewCmdStepPRLabels creates the new cmd
func NewCmdStepPost ¶
func NewCmdStepPost(commonOpts *CommonOptions) *cobra.Command
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPostBuild ¶
func NewCmdStepPostBuild(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepPostInstall ¶
func NewCmdStepPostInstall(commonOpts *CommonOptions) *cobra.Command
NewCmdStepPostInstall creates the command object
func NewCmdStepPostRun ¶
func NewCmdStepPostRun(commonOpts *CommonOptions) *cobra.Command
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPre ¶
func NewCmdStepPre(commonOpts *CommonOptions) *cobra.Command
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPreBuild ¶
func NewCmdStepPreBuild(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepPreExtend ¶
func NewCmdStepPreExtend(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepRelease ¶
func NewCmdStepRelease(commonOpts *CommonOptions) *cobra.Command
NewCmdStep Steps a command object for the "step" command
func NewCmdStepSplitMonorepo ¶
func NewCmdStepSplitMonorepo(commonOpts *CommonOptions) *cobra.Command
NewCmdStepSplitMonorepo Creates a new Command object
func NewCmdStepStash ¶
func NewCmdStepStash(commonOpts *CommonOptions) *cobra.Command
NewCmdStepStash creates the CLI command
func NewCmdStepTag ¶
func NewCmdStepTag(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepUnstash ¶
func NewCmdStepUnstash(commonOpts *CommonOptions) *cobra.Command
NewCmdStepUnstash creates the CLI command
func NewCmdStepValidate ¶
func NewCmdStepValidate(commonOpts *CommonOptions) *cobra.Command
NewCmdStepValidate Creates a new Command object
func NewCmdStepVerify ¶
func NewCmdStepVerify(commonOpts *CommonOptions) *cobra.Command
func NewCmdStepVerifyPod ¶ added in v1.3.858
func NewCmdStepVerifyPod(commonOpts *CommonOptions) *cobra.Command
NewCmdStepVerifyPod creates the `jx step verify pod` command
func NewCmdStepVerifyPodCount ¶ added in v1.3.958
func NewCmdStepVerifyPodCount(commonOpts *CommonOptions) *cobra.Command
NewCmdStepVerifyPodCount performs deployment verification
func NewCmdStepVerifyPodReady ¶ added in v1.3.958
func NewCmdStepVerifyPodReady(commonOpts *CommonOptions) *cobra.Command
NewCmdStepVerifyPodReady creates the `jx step verify pod` command
func NewCmdStepWaitForArtifact ¶
func NewCmdStepWaitForArtifact(commonOpts *CommonOptions) *cobra.Command
func NewCmdStop ¶
func NewCmdStop(commonOpts *CommonOptions) *cobra.Command
NewCmdStop creates the command object
func NewCmdStopPipeline ¶
func NewCmdStopPipeline(commonOpts *CommonOptions) *cobra.Command
NewCmdStopPipeline creates the command
func NewCmdSync ¶
func NewCmdSync(commonOpts *CommonOptions) *cobra.Command
func NewCmdTeam ¶
func NewCmdTeam(commonOpts *CommonOptions) *cobra.Command
func NewCmdUninstall ¶
func NewCmdUninstall(commonOpts *CommonOptions) *cobra.Command
func NewCmdUpdate ¶
func NewCmdUpdate(commonOpts *CommonOptions) *cobra.Command
NewCmdUpdate creates a command object for the "update" command
func NewCmdUpdateCluster ¶
func NewCmdUpdateCluster(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
func NewCmdUpdateClusterGKETerraform ¶
func NewCmdUpdateClusterGKETerraform(commonOpts *CommonOptions) *cobra.Command
NewCmdUpdateClusterGKETerraform creates a command object for the updating an existing cluster running on GKE using terraform.
func NewCmdUpdateWebhooks ¶
func NewCmdUpdateWebhooks(commonOpts *CommonOptions) *cobra.Command
func NewCmdUpgrade ¶
func NewCmdUpgrade(commonOpts *CommonOptions) *cobra.Command
NewCmdUpgrade creates the command
func NewCmdUpgradeAddonProw ¶
func NewCmdUpgradeAddonProw(commonOpts *CommonOptions) *cobra.Command
NewCmdUpgradeAddonProw defines the command
func NewCmdUpgradeAddons ¶
func NewCmdUpgradeAddons(commonOpts *CommonOptions) *cobra.Command
NewCmdUpgradeAddons defines the command
func NewCmdUpgradeApps ¶
func NewCmdUpgradeApps(commonOpts *CommonOptions) *cobra.Command
NewCmdUpgradeApps defines the command
func NewCmdUpgradeBinaries ¶
func NewCmdUpgradeBinaries(commonOpts *CommonOptions) *cobra.Command
func NewCmdUpgradeCLI ¶
func NewCmdUpgradeCLI(commonOpts *CommonOptions) *cobra.Command
NewCmdUpgradeCLI defines the command
func NewCmdUpgradeCRDs ¶ added in v1.3.904
func NewCmdUpgradeCRDs(commonOpts *CommonOptions) *cobra.Command
NewCmdUpgradeCRDs defines the command
func NewCmdUpgradeCluster ¶
func NewCmdUpgradeCluster(commonOpts *CommonOptions) *cobra.Command
NewCmdUpgradeCluster defines the command
func NewCmdUpgradeExtensions ¶
func NewCmdUpgradeExtensions(commonOpts *CommonOptions) *cobra.Command
func NewCmdUpgradeExtensionsRepository ¶
func NewCmdUpgradeExtensionsRepository(commonOpts *CommonOptions) *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(commonOpts *CommonOptions) *cobra.Command
NewCmdUpgradeIngress defines the command
func NewCmdUpgradePlatform ¶
func NewCmdUpgradePlatform(commonOpts *CommonOptions) *cobra.Command
NewCmdUpgradePlatform defines the command
func NewCmdVersion ¶
func NewCmdVersion(commonOpts *CommonOptions) *cobra.Command
func NewCompliance ¶
func NewCompliance(commonOpts *CommonOptions) *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 clients.Factory, in terminal.FileReader, out terminal.FileWriter, err io.Writer, args []string) *cobra.Command
NewJXCommand creates the `jx` command and its nested children. args used to determine binary plugin to run can be overridden (does not affect compiled in commands).
func ProjectExists ¶
func PullRequestURLToNumber ¶
PullRequestURLToNumber turns Pull Request URL to number
func SeeAlsoText ¶
SeeAlsoText returns text to describe which other commands to look at which are related to the current command
func SetPullRequestClosed ¶
func SetPullRequestClosed(pr *gits.FakePullRequest)
func SetSuccessCommitStatusInPR ¶
func SetSuccessCommitStatusInPR(t *testing.T, repository *gits.FakeRepository, prNumber int)
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 AddAppOptions ¶
type AddAppOptions struct { AddOptions GitOps bool DevEnv *jenkinsv1.Environment Repo string Username string Password string Alias string // allow git to be configured externally before a PR is created ConfigureGitCallback environments.ConfigureGitFn Namespace string Version string ReleaseName string SetValues []string ValuesFiles []string HelmUpdate bool }
AddAppOptions the options for the create spring command
type AddOptions ¶
type AddOptions struct { *CommonOptions DisableImport bool OutDir string }
AddOptions contains the command line options
type ApplicationEnvironmentInfo ¶
type ApplicationEnvironmentInfo struct { Deployment *v1beta1.Deployment Environment *v1.Environment Version string URL string }
ApplicationEnvironmentInfo contains the results of an app for an environment
type BranchPatterns ¶
type ByVersion ¶
type ByVersion []string
Components for sorting versions by numeric version number where version name ends in .vddd where ddd is an arbitrary sequence of digits
type 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 CommonDevPodOptions ¶
type CommonDevPodOptions struct {
Username string
}
CommonDevPodOptions are common flags that are to be applied across all DevPod commands
type CommonOptions ¶
type CommonOptions struct { Prow In terminal.FileReader Out terminal.FileWriter Err io.Writer Cmd *cobra.Command Args []string BatchMode bool Verbose bool LogLevel string NoBrew bool InstallDependencies bool SkipAuthSecretsMerge bool ServiceAccount string Username string ExternalJenkinsBaseURL string // contains filtered or unexported fields }
CommonOptions contains common options and helper methods
func NewCommonOptions ¶
func NewCommonOptions(devNamespace string, factory clients.Factory) CommonOptions
NewCommonOptions a helper method to create a new CommonOptions instance pre configured in a specific devNamespace
func NewCommonOptionsWithFactory ¶ added in v1.3.906
func NewCommonOptionsWithFactory(factory clients.Factory) CommonOptions
NewCommonOptionsWithFactory creates a new CommonOptions instance with the given factory
func (*CommonOptions) AddonAuthConfigService ¶ added in v1.3.906
func (o *CommonOptions) AddonAuthConfigService(secrets *corev1.SecretList) (auth.ConfigService, error)
AddonAuthConfigService creates the addon auth config service
func (*CommonOptions) ApiExtensionsClient ¶
func (o *CommonOptions) ApiExtensionsClient() (apiextensionsclientset.Interface, error)
ApiExtensionsClient return or creates the api extension client
func (CommonOptions) AuthConfigService ¶ added in v1.3.906
func (o CommonOptions) AuthConfigService(file string) (auth.ConfigService, error)
AuthConfigService creates the auth config service for given file
func (*CommonOptions) CertManagerClient ¶ added in v1.3.906
func (o *CommonOptions) CertManagerClient() (certmngclient.Interface, error)
CertManagerClient returns or creates the cert-manager client
func (*CommonOptions) ChangeNamespace ¶
func (o *CommonOptions) ChangeNamespace(ns string)
ChangeNamespace switches the current jx/K8S namespace to the one specified. This is analogous to running `jx namespace cheese`.
func (*CommonOptions) ChartmuseumAuthConfigService ¶ added in v1.3.906
func (o *CommonOptions) ChartmuseumAuthConfigService() (auth.ConfigService, error)
ChartmuseumAuthConfigService creates the chart museum auth config service
func (*CommonOptions) CleanExposecontrollerReources ¶
func (o *CommonOptions) CleanExposecontrollerReources(ns string)
CleanExposecontrollerReources cleans expose controller resources
func (*CommonOptions) ComplianceClient ¶ added in v1.3.906
func (o *CommonOptions) ComplianceClient() (*client.SonobuoyClient, error)
ComplianceClient returns or creates the compliance client
func (*CommonOptions) CreateCustomJenkinsClient ¶ added in v1.3.924
func (o *CommonOptions) CreateCustomJenkinsClient(jenkinsSelector *JenkinsSelectorOptions) (gojenkins.JenkinsClient, error)
CreateCustomJenkinsClient creates either a regular Jenkins client or if useCustom is true creates a JenkinsClient for a custom jenkins App. If no customJenkinsName is specified and there is only one available it is used. Otherwise the user is prompted to pick the Jenkins App to use if not in batch mode.
func (*CommonOptions) CreateGitAuthConfigService ¶
func (o *CommonOptions) CreateGitAuthConfigService() (auth.ConfigService, error)
func (*CommonOptions) CreateGitAuthConfigServiceDryRun ¶
func (o *CommonOptions) CreateGitAuthConfigServiceDryRun(dryRun bool) (auth.ConfigService, error)
func (*CommonOptions) CreateGitAuthConfigServiceFromSecrets ¶
func (o *CommonOptions) CreateGitAuthConfigServiceFromSecrets(fileName string, secrets *corev1.SecretList, isCDPipeline bool) (auth.ConfigService, error)
CreateGitAuthConfigServiceFromSecrets Creates a git auth config service from secrets
func (*CommonOptions) CustomJenkinsClient ¶ added in v1.3.924
func (o *CommonOptions) CustomJenkinsClient(jenkinsServiceName string) (gojenkins.JenkinsClient, error)
CustomJenkinsClient returns the Jenkins client for the custom jenkins app
func (*CommonOptions) CustomJenkinsURL ¶ added in v1.3.924
func (o *CommonOptions) CustomJenkinsURL(jenkinsSelector *JenkinsSelectorOptions, kubeClient kubernetes.Interface, ns string) (string, error)
CustomJenkinsURL returns the default or the custom Jenkins URL
func (*CommonOptions) Debugf ¶
func (o *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) EnvironmentsDir ¶
func (o *CommonOptions) EnvironmentsDir() (string, error)
EnvironmentsDir is the local directory the environments are stored in - can be faked out for tests
func (*CommonOptions) FindGitInfo ¶
func (o *CommonOptions) FindGitInfo(dir string) (*gits.GitRepository, 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) GetDevEnv ¶
func (o *CommonOptions) GetDevEnv() (gitOps bool, devEnv *jenkinsv1.Environment)
GetDevEnv gets the Development Enviornment CRD as devEnv, and also tells the user whether the development environment is using gitOps
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, trying to infer it either from various Kuberntes resources or cloud provider. If no domain can be determined, it will prompt to the user for a value.
func (*CommonOptions) GetErr ¶
func (o *CommonOptions) GetErr() io.Writer
func (*CommonOptions) GetFactory ¶ added in v1.3.934
func (o *CommonOptions) GetFactory() clients.Factory
GetFactory lazily creates a Factory if its not already created
func (*CommonOptions) GetIn ¶
func (o *CommonOptions) GetIn() terminal.FileReader
func (*CommonOptions) GetLatestJXVersion ¶
func (o *CommonOptions) GetLatestJXVersion() (semver.Version, error)
func (*CommonOptions) GetLatestPipelineBuildByCRD ¶ added in v1.3.875
func (o *CommonOptions) GetLatestPipelineBuildByCRD(pipeline string) (string, error)
GetLatestPipelineBuildByCRD returns the latest pipeline build
func (*CommonOptions) GetOut ¶
func (o *CommonOptions) GetOut() terminal.FileWriter
func (*CommonOptions) GetPipelineName ¶ added in v1.3.875
func (o *CommonOptions) GetPipelineName(gitInfo *gits.GitRepository, pipeline string, build string, appName string) (string, string)
GetPipelineName return the pipeline name
func (*CommonOptions) GetSecretsLocation ¶ added in v1.3.906
func (o *CommonOptions) GetSecretsLocation() secrets.SecretsLocationKind
GetSecretsLocation returns the location of the secrets
func (*CommonOptions) GetWebHookEndpoint ¶
func (o *CommonOptions) GetWebHookEndpoint() (string, error)
GetWebHookEndpoint returns the webhook endpoint
func (*CommonOptions) GitServerHostURLKind ¶
func (o *CommonOptions) GitServerHostURLKind(hostURL string) (string, error)
func (*CommonOptions) GitServerKind ¶
func (o *CommonOptions) GitServerKind(gitInfo *gits.GitRepository) (string, error)
func (*CommonOptions) Helm ¶
func (o *CommonOptions) Helm() helm.Helmer
Helm returns or creates the helm client
func (*CommonOptions) ImportProject ¶
func (o *CommonOptions) ImportProject(gitURL string, dir string, jenkinsfile string, branchPattern, credentials string, failIfExists bool, gitProvider gits.GitProvider, authConfigSvc auth.ConfigService, isEnvironment bool, batchMode bool) error
ImportProject imports a MultiBranchProject into Jenkins for the given git URL
func (*CommonOptions) InCDPipeline ¶ added in v1.3.906
func (o *CommonOptions) InCDPipeline() bool
InCDPipeline return true if the command execution takes place in the CD pipeline
func (*CommonOptions) InCluster ¶ added in v1.3.906
func (o *CommonOptions) InCluster() bool
InCluster return true if the command execution takes place in k8s cluster
func (*CommonOptions) InitHelm ¶ added in v1.3.883
func (o *CommonOptions) InitHelm(config InitHelmConfig) error
InitHelm initializes hlem client and server (tillter)
func (*CommonOptions) IstioClient ¶ added in v1.3.916
func (o *CommonOptions) IstioClient() (istioclient.Interface, error)
IstioClient creates a new Kubernetes client for Istio resources
func (*CommonOptions) JXClient ¶
func (o *CommonOptions) JXClient() (versioned.Interface, string, error)
JXClient returns or creates the jx client and current namespace
func (*CommonOptions) JXClientAndAdminNamespace ¶
func (o *CommonOptions) JXClientAndAdminNamespace() (versioned.Interface, string, error)
JXClientAndAdminNamespace returns or creates the jx client and admin namespace
func (*CommonOptions) JXClientAndDevNamespace ¶
func (o *CommonOptions) JXClientAndDevNamespace() (versioned.Interface, string, error)
JXClientAndDevNamespace returns and creates the jx client and dev namespace
func (*CommonOptions) JenkinsAuthConfigService ¶ added in v1.3.906
func (o *CommonOptions) JenkinsAuthConfigService(client kubernetes.Interface, namespace string, selector *JenkinsSelectorOptions) (auth.ConfigService, error)
JenkinsAuthConfigService creates the jenkins auth config service
func (*CommonOptions) JenkinsClient ¶
func (o *CommonOptions) JenkinsClient() (gojenkins.JenkinsClient, error)
JenkinsClient returns the Jenkins client
func (*CommonOptions) KnativeBuildClient ¶
func (o *CommonOptions) KnativeBuildClient() (buildclient.Interface, string, error)
KnativeBuildClient returns or creates the knative build client
func (*CommonOptions) Kube ¶
func (o *CommonOptions) Kube() kube.Kuber
Kube returns the k8s config client
func (*CommonOptions) KubeClient ¶
func (o *CommonOptions) KubeClient() (kubernetes.Interface, error)
KubeClient returns or creates the kube client
func (*CommonOptions) KubeClientAndDevNamespace ¶
func (o *CommonOptions) KubeClientAndDevNamespace() (kubernetes.Interface, string, error)
KubeClientAndDevNamespace returns a kube client and the development namespace
func (*CommonOptions) KubeClientAndNamespace ¶
func (o *CommonOptions) KubeClientAndNamespace() (kubernetes.Interface, string, error)
KubeClientAndNamespace returns or creates the kube client and the current 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) ModifyEnvironment ¶
func (o *CommonOptions) ModifyEnvironment(name string, callback func(env *v1.Environment) error) error
ModifyDevEnvironment modifies the development environment settings
func (*CommonOptions) ModifyTeam ¶
func (o *CommonOptions) ModifyTeam(adminNs string, teamName string, callback func(env *v1.Team) error) error
ModifyTeam lazily creates the Team CRD if it does not exist or updates it if it requires a change. The Team CRD will be modified in the specified admin namespace.
func (*CommonOptions) ModifyUser ¶
ModifyUser lazily creates the user if it does not exist or updates it if it requires a change
func (*CommonOptions) NewGitProvider ¶ added in v1.3.906
func (o *CommonOptions) NewGitProvider(gitURL string, message string, authConfigSvc auth.ConfigService, gitKind string, batchMode bool, gitter gits.Gitter) (gits.GitProvider, error)
NewGitProvider creates a new git provider for the given list of argumentes
func (*CommonOptions) NewHelm ¶ added in v1.3.906
func (o *CommonOptions) NewHelm(verbose bool, helmBinary string, noTiller bool, helmTemplate bool) helm.Helmer
NewHelm cerates a new helm client from the given list of parameters
func (*CommonOptions) PickCustomJenkinsName ¶ added in v1.3.924
func (o *CommonOptions) PickCustomJenkinsName(jenkinsSelector *JenkinsSelectorOptions, kubeClient kubernetes.Interface, ns string) (string, error)
PickCustomJenkinsName picks the name of a custom jenkins server App if available
func (*CommonOptions) ResetSecretsLocation ¶ added in v1.3.906
func (o *CommonOptions) ResetSecretsLocation() error
ResetSecretsLocation resets the secrets location
func (*CommonOptions) ResourcesInstaller ¶ added in v1.3.814
func (o *CommonOptions) ResourcesInstaller() resources.Installer
ResourcesInstaller returns the installer for Kubernetes resources
func (*CommonOptions) RunCommand ¶
func (o *CommonOptions) RunCommand(name string, args ...string) error
RunCommand runs a command
func (*CommonOptions) SetBatchMode ¶ added in v1.3.906
func (o *CommonOptions) SetBatchMode(batchMode bool)
SetBatchMode configures the batch mode
func (*CommonOptions) SetDevNamespace ¶
func (o *CommonOptions) SetDevNamespace(ns string)
SetDevNamespace configures the current dev namespace
func (*CommonOptions) SetFactory ¶ added in v1.3.934
func (o *CommonOptions) SetFactory(f clients.Factory)
SetFactory sets the factory to use
func (*CommonOptions) SetGit ¶
func (o *CommonOptions) SetGit(git gits.Gitter)
SetGit sets the git client
func (*CommonOptions) SetHelm ¶
func (o *CommonOptions) SetHelm(helmer helm.Helmer)
SetHelm sets the helmer used for this object
func (*CommonOptions) SetJenkinsClient ¶
func (o *CommonOptions) SetJenkinsClient(jenkinsClient gojenkins.JenkinsClient)
SetJenkinsClient sets the JenkinsClient - usually used in testing
func (*CommonOptions) SetKube ¶
func (o *CommonOptions) SetKube(kuber kube.Kuber)
SetKube sets the kube config client
func (*CommonOptions) SetKubeClient ¶
func (o *CommonOptions) SetKubeClient(kubeClient kubernetes.Interface)
SetKubeClient sets the kube client
func (*CommonOptions) SetResourcesInstaller ¶ added in v1.3.814
func (o *CommonOptions) SetResourcesInstaller(installer resources.Installer)
SetResourcesInstaller configures the installer for Kubernetes resources
func (*CommonOptions) SetSecretsLocation ¶ added in v1.3.906
func (o *CommonOptions) SetSecretsLocation(location secrets.SecretsLocationKind, persist bool) error
SetSecretsLocation sets the secrets location
func (*CommonOptions) SystemVaultClient ¶ added in v1.3.906
func (o *CommonOptions) SystemVaultClient(namespace string) (vault.Client, error)
SystemVaultClient return or creates the system vault client
func (*CommonOptions) TailLogs ¶ added in v1.3.883
func (o *CommonOptions) TailLogs(ns string, pod string, containerName string) error
TailLogs returns the logs from a given pod
func (*CommonOptions) TeamAndEnvironmentNames ¶
func (o *CommonOptions) TeamAndEnvironmentNames() (string, string, error)
TeamAndEnvironmentNames returns team and environment namespace
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) TektonClient ¶ added in v1.3.921
func (o *CommonOptions) TektonClient() (tektonclient.Interface, string, error)
TektonClient lazily creates a new Knative Pipeline client
func (*CommonOptions) UninstallBinary ¶
func (o *CommonOptions) UninstallBinary(binDir string, name string) error
func (*CommonOptions) VaultClient ¶ added in v1.3.906
VaultClient returns or creates the vault client
func (*CommonOptions) VaultOperatorClient ¶
func (o *CommonOptions) VaultOperatorClient() (vaultoperatorclient.Interface, error)
VaultOperatorClient returns or creates the vault operator client
func (*CommonOptions) WaitForReadyKnativeBuildPod ¶ added in v1.3.883
func (o *CommonOptions) WaitForReadyKnativeBuildPod(c kubernetes.Interface, ns string, readyOnly bool) (string, error)
WaitForReadyKnativeBuildPod waits for knative build pod to be ready
func (*CommonOptions) WaitForReadyPodForDeployment ¶ added in v1.3.883
func (o *CommonOptions) WaitForReadyPodForDeployment(c kubernetes.Interface, ns string, name string, names []string, readyOnly bool) (string, error)
WaitForReadyPodForDeployment waits for a pod of a deployment to be ready
func (*CommonOptions) WaitForReadyPodForSelector ¶ added in v1.3.883
func (o *CommonOptions) WaitForReadyPodForSelector(c kubernetes.Interface, ns string, selector labels.Selector, readyOnly bool) (string, error)
WaitForReadyPodForSelector waits for a pod to which the selector applies to be ready
func (*CommonOptions) WaitForReadyPodForSelectorLabels ¶ added in v1.3.883
func (o *CommonOptions) WaitForReadyPodForSelectorLabels(c kubernetes.Interface, ns string, labels map[string]string, readyOnly bool) (string, error)
WaitForReadyPodForSelectorLabels waits for a pod selected by the given labels to be ready
type CompletionOptions ¶ added in v1.3.883
type CompletionOptions struct {
*CommonOptions
}
CompletionOptions options for completion command
func (*CompletionOptions) Run ¶ added in v1.3.883
func (o *CompletionOptions) Run() error
Run executes the completion command
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
}
ComplianceRunOptions options for "compliance run" command
func (*ComplianceRunOptions) Run ¶
func (o *ComplianceRunOptions) Run() error
Run implements the "compliance run" command
type ComplianceStatusOptions ¶
type ComplianceStatusOptions struct {
*CommonOptions
}
ComplianceStatusOptions options for "compliance status" command
func (*ComplianceStatusOptions) Run ¶
func (o *ComplianceStatusOptions) Run() error
Run implements the "compliance status" command
type ConsoleOptions ¶
type ConsoleOptions struct { GetURLOptions OnlyViewURL bool ClassicMode bool JenkinsSelector JenkinsSelectorOptions }
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 ControllerBuildNumbersOptions ¶ added in v1.3.820
type ControllerBuildNumbersOptions struct { *CommonOptions BindAddress string Port int }
ControllerBuildNumbersOptions holds the options for the build number service.
func (*ControllerBuildNumbersOptions) Run ¶ added in v1.3.820
func (o *ControllerBuildNumbersOptions) Run() error
Run will execute this command, starting the HTTP build number generation service with the specified options.
type ControllerBuildOptions ¶
type ControllerBuildOptions struct { ControllerOptions Namespace string InitGitCredentials bool EnvironmentCache *kube.EnvironmentNamespaceCache }
ControllerBuildOptions are the flags for the commands
func (*ControllerBuildOptions) Run ¶
func (o *ControllerBuildOptions) Run() error
Run implements this command
type ControllerCommitStatusOptions ¶
type ControllerCommitStatusOptions struct {
ControllerOptions
}
ControllerCommitStatusOptions the options for the controller
func (*ControllerCommitStatusOptions) Run ¶
func (o *ControllerCommitStatusOptions) Run() error
Run implements this command
func (*ControllerCommitStatusOptions) UpsertCommitStatusCheck ¶
type ControllerOptions ¶
type ControllerOptions struct {
*CommonOptions
}
ControllerOptions contains the CLI options
type ControllerPipelineRunnerOptions ¶ added in v1.3.820
type ControllerPipelineRunnerOptions struct { *CommonOptions BindAddress string Path string Port int NoGitCredeentialsInit bool }
ControllerPipelineRunnerOptions holds the command line arguments
func (*ControllerPipelineRunnerOptions) Run ¶ added in v1.3.820
func (o *ControllerPipelineRunnerOptions) Run() error
Run will implement this command
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 TeamNs string }
ControllerRoleOptions the command line options
func (*ControllerRoleOptions) Run ¶
func (o *ControllerRoleOptions) Run() error
func (*ControllerRoleOptions) UpsertEnvironmentRoleBinding ¶
func (o *ControllerRoleOptions) UpsertEnvironmentRoleBinding(newEnv *v1.EnvironmentRoleBinding) error
UpsertEnvironmentRoleBinding processes an insert/update of the EnvironmentRoleBinding resource its public so that we can make testing easier
func (*ControllerRoleOptions) UpsertRole ¶
func (o *ControllerRoleOptions) UpsertRole(newRole *rbacv1.Role) error
UpsertRole processes the insert/update of a Role this function is public for easier testing
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 NoWaitForUpdatePipeline bool // calculated fields PullRequestPollDuration *time.Duration // Allow Git to be configured ConfigureGitFn environments.ConfigureGitFn // 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 CreateAddonFlaggerOptions ¶ added in v1.3.818
type CreateAddonFlaggerOptions struct { CreateAddonOptions Chart string GrafanaChart string ProductionEnvironment string IstioGateway string }
func (*CreateAddonFlaggerOptions) Run ¶ added in v1.3.818
func (o *CreateAddonFlaggerOptions) Run() error
Create the addon
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 IngressGatewayService 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 // contains filtered or unexported fields }
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 ValueFiles []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 Tekton bool }
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 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 CreateBucketValues ¶
type CreateBucketValues struct { Bucket string BucketKind string // GKE specific values GKEProjectID string GKEZone string }
CreateBucketValues contains the values to create a Bucket on cloud storage
func (*CreateBucketValues) IsEmpty ¶
func (cb *CreateBucketValues) IsEmpty() bool
IsEmpty returns true if there is no bucket name specified
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 CreateClientDocsOptions ¶ added in v1.3.818
type CreateClientDocsOptions struct { CreateClientOptions ReferenceDocsVersion string }
CreateClientDocsOptions the options for the create client docs command
func (*CreateClientDocsOptions) Run ¶ added in v1.3.818
func (o *CreateClientDocsOptions) Run() error
Run implements this command
type CreateClientGoOptions ¶ added in v1.3.818
type CreateClientGoOptions struct { CreateClientOptions Generators []string }
CreateClientGoOptions the options for the create client go command
func (*CreateClientGoOptions) Run ¶ added in v1.3.818
func (o *CreateClientGoOptions) Run() error
Run implements this command
type CreateClientOpenAPIOptions ¶ added in v1.3.818
type CreateClientOpenAPIOptions struct { CreateClientOptions Title string Version string ReferenceDocsVersion string OpenAPIDependencies []string OpenAPIGenVersion string OpenAPIOutputDir string ModuleName string }
CreateClientOpenAPIOptions the options for the create client openapi command
func (*CreateClientOpenAPIOptions) Run ¶ added in v1.3.818
func (o *CreateClientOpenAPIOptions) Run() error
Run implements this command
type CreateClientOptions ¶ added in v1.3.818
type CreateClientOptions struct { CreateOptions OutputBase string BoilerplateFile string GroupsWithVersions []string InputPackage string GoPathInputPackage string GoPathOutputPackage string GoPathOutputBase string OutputPackage string ClientGenVersion string InputBase string }
CreateClientOptions the options for the create client command
func (*CreateClientOptions) Run ¶ added in v1.3.818
func (o *CreateClientOptions) Run() error
Run implements this 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 EnhancedScopes bool Scopes []string Preemptible bool EnhancedApis bool }
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 CommonDevPodOptions 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 DockerRegistry string TillerNamespace string ServiceAccount string PullSecrets 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 NoDevNamespaceInit bool Prow bool GitOpsMode bool ForkEnvironmentGitRepo string EnvJobCredentials string GitRepositoryOptions gits.GitRepositoryOptions Prefix string BranchPattern string Vault bool PullSecrets string }
CreateEnvOptions the options for the create env command
func (*CreateEnvOptions) RegisterEnvironment ¶ added in v1.3.845
func (o *CreateEnvOptions) RegisterEnvironment(env *v1.Environment, gitProvider gits.GitProvider, authConfigSvc auth.ConfigService) error
RegisterEnvironment performs the environment registration
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 Kind string URL 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 JenkinsSelector JenkinsSelectorOptions Namespace string Username string Password string APIToken string BearerToken string Timeout string NoREST bool RecreateToken bool HealthTimeout time.Duration }
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 CreateProjectWizardOptions ¶
type CreateProjectWizardOptions struct {
CreateOptions
}
CreateProjectWizardOptions the options for the command
func (*CreateProjectWizardOptions) Run ¶
func (o *CreateProjectWizardOptions) Run() error
Run implements the command
type CreatePullRequestOptions ¶
type CreatePullRequestOptions struct { CreateOptions Dir string Title string Body string Labels []string Base string Results CreatePullRequestResults }
CreatePullRequestOptions the options for the create spring command
func (*CreatePullRequestOptions) PopulatePullRequest ¶
func (o *CreatePullRequestOptions) PopulatePullRequest(pullRequest *gits.GitPullRequestArguments, gitInfo *gits.GitRepository) error
func (*CreatePullRequestOptions) Run ¶
func (o *CreatePullRequestOptions) Run() error
Run implements the command
type CreatePullRequestResults ¶
type CreatePullRequestResults struct { GitInfo *gits.GitRepository GitProvider gits.GitProvider PullRequest *gits.GitPullRequest }
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 quickstart 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 }
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 CreateVaultOptions ¶
type CreateVaultOptions struct { CreateOptions GKEProjectID string GKEZone string Namespace string SecretsPathPrefix string IngressConfig kube.IngressConfig }
CreateVaultOptions the options for the create vault command
func (*CreateVaultOptions) Run ¶
func (o *CreateVaultOptions) Run() error
Run implements the command
type DeleteAddonFlaggerOptions ¶ added in v1.3.881
type DeleteAddonFlaggerOptions struct { DeleteAddonOptions ReleaseName string }
DeleteAddonFlaggerOptions the options for the create spring command
func (*DeleteAddonFlaggerOptions) Run ¶ added in v1.3.881
func (o *DeleteAddonFlaggerOptions) 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 DeleteAddoncoreOptions ¶
type DeleteAddoncoreOptions struct { DeleteAddonOptions ReleaseName string }
DeleteAddonGiteaOptions the options for the create spring command
func (*DeleteAddoncoreOptions) Run ¶
func (o *DeleteAddoncoreOptions) Run() error
Run implements the command
type DeleteAppOptions ¶
type DeleteAppOptions struct { *CommonOptions GitOps bool DevEnv *jenkinsv1.Environment ReleaseName string Namespace string Purge bool Alias string // allow git to be configured externally before a PR is created ConfigureGitCallback environments.ConfigureGitFn }
DeleteAppOptions are the flags for this delete commands
type DeleteApplicationOptions ¶
type DeleteApplicationOptions struct { *CommonOptions SelectAll bool SelectFilter string IgnoreEnvironments bool NoMergePullRequest bool Timeout string PullRequestPollTime string Org string // calculated fields TimeoutDuration *time.Duration PullRequestPollDuration *time.Duration // allow git to be configured externally before a PR is created ConfigureGitCallback environments.ConfigureGitFn }
DeleteApplicationOptions are the flags for this delete commands
func (*DeleteApplicationOptions) Run ¶
func (o *DeleteApplicationOptions) Run() error
Run implements this command
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 CommonDevPodOptions }
DeleteDevPodOptions are the flags for delete commands
func (*DeleteDevPodOptions) Run ¶
func (o *DeleteDevPodOptions) Run() error
Run implements this command
type DeleteEnvOptions ¶
type DeleteEnvOptions struct { *CommonOptions DeleteNamespace bool }
DeleteEnvOptions the options for the create spring command
type DeleteExtensionOptions ¶
type DeleteExtensionOptions struct { *CommonOptions All bool }
DeleteExtensionOptions are the flags for delete commands
func (*DeleteExtensionOptions) Run ¶
func (o *DeleteExtensionOptions) Run() error
Run implements this 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 DeleteJenkinsTokenOptions ¶ added in v1.3.924
type DeleteJenkinsTokenOptions struct { CreateOptions JenkinsSelector JenkinsSelectorOptions ServerFlags ServerFlags }
DeleteJenkinsTokenOptions the options for the create spring command
func (*DeleteJenkinsTokenOptions) Run ¶ added in v1.3.924
func (o *DeleteJenkinsTokenOptions) Run() error
Run implements the command
type DeleteKnativeBuildOptions ¶
type DeleteKnativeBuildOptions struct { DeleteAddonOptions ReleaseName string }
DeleteAddonGiteaOptions the options for the create spring command
func (*DeleteKnativeBuildOptions) Run ¶
func (o *DeleteKnativeBuildOptions) Run() error
Run implements the command
type DeleteNamespaceOptions ¶
type DeleteNamespaceOptions struct { *CommonOptions SelectAll bool SelectFilter string Confirm bool }
DeleteNamespaceOptions are the flags for delete commands
func (*DeleteNamespaceOptions) Run ¶
func (o *DeleteNamespaceOptions) Run() error
Run implements this 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 DeleteVaultOptions ¶
type DeleteVaultOptions struct { *CommonOptions Namespace string RemoveCloudResources bool GKEProjectID string GKEZone string }
DeleteVaultOptions keeps the options of delete vault command
func (*DeleteVaultOptions) Run ¶
func (o *DeleteVaultOptions) Run() error
Run implements the delete vault command
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.ConfigService }
EditAddonOptions the options for the create spring command
type EditAppJenkinsPluginsOptions ¶ added in v1.3.932
type EditAppJenkinsPluginsOptions struct { EditOptions Name string Enabled string IssuesAuthConfigSvc auth.ConfigService }
EditAppJenkinsPluginsOptions the options for the create spring command
func (*EditAppJenkinsPluginsOptions) Run ¶ added in v1.3.932
func (o *EditAppJenkinsPluginsOptions) Run() error
Run implements the command
type EditBuildPackOptions ¶
type EditBuildPackOptions struct { EditOptions BuildPackName string 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.ConfigService ChatAuthConfigSvc auth.ConfigService }
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 EditExtensionsRepositoryOptions ¶
type EditExtensionsRepositoryOptions struct { EditOptions ExtensionsRepositoryUrl string ExtensionsRepositoryGitHub string ExtensionsRepositoryHelmChart string ExtensionsRepositoryHelmRepo string ExtensionsRepositoryHelmRepoName string ExtensionsRepositoryHelmUsername string ExtensionsRepositoryHelmPassword string }
func (*EditExtensionsRepositoryOptions) Run ¶
func (o *EditExtensionsRepositoryOptions) Run() error
Run implements the 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 EditStorageOptions ¶
type EditStorageOptions struct { CreateOptions StorageLocation jenkinsv1.StorageLocation CreateBucket CreateBucketValues }
EditStorageOptions the options for the create spring command
func (*EditStorageOptions) Run ¶
func (o *EditStorageOptions) 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 }
EnvApps contains data about app deployments in an environment
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 FatalError ¶ added in v1.3.811
type FatalError struct {
E error
}
FatalError is a wrapper struct around regular error indicating that re(try) processing flow should be interrupted immediately.
func (*FatalError) Error ¶ added in v1.3.811
func (err *FatalError) Error() string
type Flags ¶
type Flags struct { Cluster []string ClusterName string // cannot be used in conjunction with Cluster CloudProvider string // cannot be used in conjunction with Cluster OrganisationName string SkipLogin bool ForkOrganisationGitRepo string SkipTerraformApply bool IgnoreTerraformWarnings bool JxEnvironment string GKEProjectID string GKESkipEnableApis bool GKEZone string GKEMachineType string GKEPreemptible bool GKEMinNumOfNodes string GKEMaxNumOfNodes string GKEDiskSize string GKEAutoRepair bool GKEAutoUpgrade bool GKEServiceAccount string GKEUseEnhancedScopes bool GKEUseEnhancedApis bool LocalOrganisationRepository string }
Flags for a cluster
type GCActivitiesOptions ¶
type GCActivitiesOptions struct { *CommonOptions RevisionHistoryLimit int PullRequestHours 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 GCPodsOptions ¶
type GCPodsOptions struct { *CommonOptions Selector string Namespace string Age time.Duration }
GCPodsOptions containers the CLI options
func (*GCPodsOptions) MatchesPod ¶
MatchesPod returns true if this pod can be garbage collected
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 GKECluster ¶
type GKECluster struct { Organisation string ProjectID string Zone string MachineType string Preemptible bool MinNumOfNodes string MaxNumOfNodes string DiskSize string AutoRepair bool AutoUpgrade bool ServiceAccount string DevStorageRole 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 Results GetApplicationsResults }
GetApplicationsOptions containers the CLI options
func (*GetApplicationsOptions) Run ¶
func (o *GetApplicationsOptions) Run() error
Run implements this command
type GetApplicationsResults ¶
type GetApplicationsResults struct { EnvApps []EnvApps EnvNames []string // Applications is a map indexed by the application name then the environment name Applications map[string]map[string]*ApplicationEnvironmentInfo }
GetApplicationsResults contains the data result from invoking this command
type GetAppsOptions ¶ added in v1.3.914
type GetAppsOptions struct { GetOptions Namespace string GitOps bool DevEnv *v1.Environment }
GetAppsOptions containers the CLI options
func (*GetAppsOptions) Run ¶ added in v1.3.914
func (o *GetAppsOptions) 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 Wait bool BuildFilter builds.BuildPodInfoFilter JenkinsSelector JenkinsSelectorOptions CurrentFolder bool WaitForPipelineDuration time.Duration }
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 All bool }
GetBuildPackOptions containers the CLI options
func (*GetBuildPackOptions) Run ¶
func (o *GetBuildPackOptions) Run() error
Run implements this command
type GetBuildPodsOptions ¶
type GetBuildPodsOptions struct { GetOptions Namespace string BuildFilter builds.BuildPodInfoFilter }
GetBuildPodsOptions the command line options
func (*GetBuildPodsOptions) Run ¶
func (o *GetBuildPodsOptions) 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 CommonDevPodOptions AllUsernames bool }
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 JenkinsSelector JenkinsSelectorOptions ProwOptions prow.Options }
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 GetPluginsOptions ¶
type GetPluginsOptions struct { *CommonOptions Verifier extensions.PathVerifier }
func (*GetPluginsOptions) Complete ¶
func (o *GetPluginsOptions) Complete() error
func (*GetPluginsOptions) Run ¶
func (o *GetPluginsOptions) Run() error
Run implements the get plugins 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 GetQuickstartsOptions ¶ added in v1.3.888
type GetQuickstartsOptions struct { GetOptions GitHubOrganisations []string Filter quickstarts.QuickstartFilter ShortFormat bool }
GetQuickstartsOptions - the command line options
func (*GetQuickstartsOptions) Run ¶ added in v1.3.888
func (o *GetQuickstartsOptions) Run() error
Run implements this command
type GetReleaseOptions ¶
type GetReleaseOptions struct { GetOptions Filter string Namespace string }
GetReleaseOptions containers the CLI options
type GetSecretOptions ¶
type GetSecretOptions struct { GetOptions Namespace string Name string }
func (*GetSecretOptions) VaultName ¶
func (o *GetSecretOptions) VaultName() string
func (*GetSecretOptions) VaultNamespace ¶
func (o *GetSecretOptions) VaultNamespace() string
type GetStorageOptions ¶
type GetStorageOptions struct {
GetOptions
}
GetStorageOptions contains 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 GetVaultConfigOptions ¶
type GetVaultConfigOptions struct { GetOptions Namespace string Name string // contains filtered or unexported fields }
func (*GetVaultConfigOptions) Run ¶
func (o *GetVaultConfigOptions) Run() error
Run implements the command
func (*GetVaultConfigOptions) VaultName ¶
func (o *GetVaultConfigOptions) VaultName() string
func (*GetVaultConfigOptions) VaultNamespace ¶
func (o *GetVaultConfigOptions) VaultNamespace() string
type GetVaultOptions ¶
type GetVaultOptions struct { GetOptions Namespace string }
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 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 GitDetails gits.CreateRepoData 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 ImportMode string UseDefaultGit bool }
ImportOptions options struct for jx import
func (*ImportOptions) CloneRepository ¶
func (options *ImportOptions) CloneRepository() error
CloneRepository clones a repository
func (*ImportOptions) ConfigureImportOptions ¶
func (options *ImportOptions) ConfigureImportOptions(repoData *gits.CreateRepoData)
ConfigureImportOptions updates the import options struct based on values from the create repo struct
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) GetGitRepositoryDetails ¶
func (options *ImportOptions) GetGitRepositoryDetails() (*gits.CreateRepoData, error)
GetGitRepositoryDetails determines the git repository details to use during the import command
func (*ImportOptions) GetOrganisation ¶ added in v1.3.879
func (options *ImportOptions) GetOrganisation() string
GetOrganisation gets the organisation from the RepoURL (if in the github format of github.com/org/repo). It will do this in preference to the Organisation field (if set). If the repo URL does not implicitly specify an organisation then the Organisation specified in the options is used.
func (*ImportOptions) ImportProjectsFromGitHub ¶
func (options *ImportOptions) ImportProjectsFromGitHub() error
ImportProjectsFromGitHub import projects from github
func (*ImportOptions) ReplacePlaceholders ¶
func (options *ImportOptions) ReplacePlaceholders(gitServerName, dockerRegistryOrg string) error
ReplacePlaceholders replaces app name, 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 VersionsRepository string DraftClient bool HelmClient bool Helm3 bool HelmBin string RecreateExistingDraftRepos bool NoTiller bool RemoteTiller bool GlobalTiller bool SkipIngress bool SkipTiller bool SkipClusterRole bool OnPremise bool Http bool NoGitValidate bool }
InitFlags the flags for running init
type InitHelmConfig ¶ added in v1.3.883
type InitHelmConfig struct { Namespace string OnlyHelmClient bool Helm3 bool SkipTiller bool GlobalTiller bool TillerNamespace string TillerRole string }
InitHelmConfig configuration for helm initialization
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 InstallDependenciesFlags ¶
type InstallDependenciesFlags struct {
Dependencies []string
}
InstallDependenciesFlags flags for the install command
type InstallDependenciesOptions ¶
type InstallDependenciesOptions struct { *CommonOptions Flags InstallDependenciesFlags }
InstallDependenciesOptions options for install dependencies
func CreateInstallDependenciesOptions ¶
func CreateInstallDependenciesOptions(commonOpts *CommonOptions) InstallDependenciesOptions
CreateInstallDependenciesOptions creates the options for jx install dependencies
func (*InstallDependenciesOptions) Run ¶
func (options *InstallDependenciesOptions) Run() error
Run implements this command
type InstallFlags ¶
type InstallFlags struct { InstallOnly bool Domain string ExposeControllerPathMode string DockerRegistry string Provider string VersionsRepository string Version string LocalHelmRepoName string Namespace string CloudEnvRepository string NoDefaultEnvironments bool DefaultEnvironmentPrefix string LocalCloudEnvironment bool EnvironmentGitOwner string Timeout string HelmTLS bool RegisterLocalHelmRepo bool CleanupTempFiles bool Prow bool DisableSetKubeContext bool Dir string Vault bool Tekton bool BuildPackName string Kaniko bool GitOpsMode bool NoGitOpsEnvApply bool NoGitOpsEnvRepo bool NoGitOpsEnvSetup bool NoGitOpsVault bool NextGeneration bool }
InstallFlags flags for the install command
type InstallOptions ¶
type InstallOptions struct { *CommonOptions gits.GitRepositoryOptions CreateJenkinsUserOptions CreateEnvOptions config.AdminSecretsService InitOptions InitOptions Flags InstallFlags // contains filtered or unexported fields }
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(commonOpts *CommonOptions) InstallOptions
CreateInstallOptions creates the options for jx install
func (*InstallOptions) ModifyConfigMap ¶
func (options *InstallOptions) ModifyConfigMap(name string, callback func(*core_v1.ConfigMap) error) (*core_v1.ConfigMap, error)
ModifyConfigMap modifies the ConfigMap either live or via the file system if generating the GitOps source
func (*InstallOptions) ModifySecret ¶
func (options *InstallOptions) ModifySecret(name string, callback func(*core_v1.Secret) error) (*core_v1.Secret, error)
ModifySecret modifies the Secret either live or via the file system if generating the GitOps source
type InvokeDraftPack ¶
type InvokeDraftPack struct { Dir string CustomDraftPack string Jenkinsfile string DefaultJenkinsfile string WithRename bool InitialisedGit bool DisableJenkinsfileCheck bool DisableAddFiles bool UseNextGenPipeline bool CreateJenkinsxYamlIfMissing bool ProjectConfig *config.ProjectConfig }
InvokeDraftPack used to pass arguments into the draft pack invocation
type JenkinsSelectorOptions ¶ added in v1.3.924
type JenkinsSelectorOptions struct { UseCustomJenkins bool CustomJenkinsName string // contains filtered or unexported fields }
JenkinsSelectorOptions used to represent the options used to refer to a Jenkins. if nothing is specified it assumes the current team is using a static Jenkins server as its execution engine. otherwise we can refer to other additional Jenkins Apps to implement custom Jenkins servers
func (*JenkinsSelectorOptions) AddFlags ¶ added in v1.3.924
func (o *JenkinsSelectorOptions) AddFlags(cmd *cobra.Command)
AddFlags add the command flags for picking a custom Jenkins App to work with
func (*JenkinsSelectorOptions) IsCustom ¶ added in v1.3.924
func (o *JenkinsSelectorOptions) IsCustom() bool
IsCustom returns true if a custom Jenkins App is specified
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 ModifyConfigMapCallback ¶
type ModifyConfigMapCallback func(string, func(*core_v1.ConfigMap) error) (*core_v1.ConfigMap, error)
ModifyConfigMapCallback a callback for modifying a ConfigMap for a given name
type ModifyDevEnvironmentFn ¶
type ModifyDevEnvironmentFn func(callback func(env *jenkinsv1.Environment) error) error
ModifyDevEnvironmentFn a callback to create/update the development Environment
type ModifyEnvironmentFn ¶
type ModifyEnvironmentFn func(name string, callback func(env *jenkinsv1.Environment) error) error
ModifyEnvironmentFn a callback to create/update an Environment
type ModifySecretCallback ¶
ModifySecretCallback a callback for modifying a Secret for a given name
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 ObjectReference ¶ added in v1.3.891
type ObjectReference struct { APIVersion string `json:"apiVersion" protobuf:"bytes,5,opt,name=apiVersion"` // Kind of the referent. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"` // Name of the referent. // More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `json:"name" protobuf:"bytes,3,opt,name=name"` }
ObjectReference represents a reference to a k8s resource
type OpenOptions ¶
type OpenOptions struct {
ConsoleOptions
}
func (*OpenOptions) Run ¶
func (o *OpenOptions) Run() error
type PackageJSON ¶
type PackageJSON struct {
Version string `json:"version"`
}
type PipelineRunRequest ¶ added in v1.3.820
type PipelineRunRequest struct { Labels map[string]string `json:"labels,omitempty"` ProwJobSpec prowapi.ProwJobSpec `json:"prowJobSpec,omitempty"` }
PipelineRunRequest the request to trigger a pipeline run
type PipelineRunResponse ¶ added in v1.3.820
type PipelineRunResponse struct {
Resources []kube.ObjectReference `json:"resources,omitempty"`
}
PipelineRunResponse the results of triggering a pipeline run
type PluginHandler ¶
type PluginHandler interface { // Lookup receives a potential filename and returns // a full or relative path to an executable, if one // exists at the given filename, or an error. Lookup(filename string) (string, error) // Execute receives an executable's filepath, a slice // of arguments, and a slice of environment variables // to relay to the executable. Execute(executablePath string, cmdArgs, environment []string) error }
PluginHandler is capable of parsing command line arguments and performing executable filename lookups to search for valid plugin files, and execute found plugins.
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.GitRepository NoComment bool // calculated fields PostPreviewJobTimeoutDuration time.Duration PostPreviewJobPollDuration time.Duration HelmValuesConfig config.HelmValuesConfig }
PreviewOptions the options for viewing running PRs
func (*PreviewOptions) GetPreviewValuesConfig ¶
func (o *PreviewOptions) GetPreviewValuesConfig(domain string) (*config.PreviewValuesConfig, error)
GetPreviewValuesConfig returns the PreviewValuesConfig to use as extraValues for helm
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 NoWaitForUpdatePipeline bool Timeout string PullRequestPollTime string Filter string Alias string // allow git to be configured externally before a PR is created ConfigureGitCallback environments.ConfigureGitFn // calculated fields TimeoutDuration *time.Duration PullRequestPollDuration *time.Duration Activities typev1.PipelineActivityInterface GitInfo *gits.GitRepository 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 *gits.PullRequestInfo }
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
IsEmpty returns true if the server flags and server URL are tempry
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 StartPipelineOptions ¶
type StartPipelineOptions struct { GetOptions Tail bool Filter string JenkinsSelector JenkinsSelectorOptions Jobs map[string]gojenkins.Job ProwOptions prow.Options }
StartPipelineOptions contains the command line options
func (*StartPipelineOptions) Run ¶
func (o *StartPipelineOptions) Run() error
Run implements this command
type StartProtectionOptions ¶
type StartProtectionOptions struct { *CommonOptions Tail bool Filter string Jobs map[string]gojenkins.Job }
StartProtectionOptions contains the command line options
func (*StartProtectionOptions) Run ¶
func (o *StartProtectionOptions) 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 StepBDDFlags ¶
type StepBDDFlags struct { GoPath string GitProvider string GitOwner string ReportsOutputDir string UseCurrentTeam bool DeleteTeam bool DisableDeleteApp bool DisableDeleteRepo bool IgnoreTestFailure bool Parallel bool VersionsDir string ConfigFile string TestRepoGitCloneUrl string SkipRepoGitClone bool TestGitBranch string TestGitPrNumber string JxBinary string TestCases []string }
type StepBDDOptions ¶
type StepBDDOptions struct { StepOptions InstallOptions InstallOptions Flags StepBDDFlags }
StepBDDOptions contains the command line arguments for this command
func (*StepBDDOptions) Run ¶
func (o *StepBDDOptions) Run() error
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.GitRepository 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 StepBuildPackApplyOptions ¶
type StepBuildPackApplyOptions struct { StepOptions Dir string Jenkinsfile string DraftPack string DisableJenkinsfileCheck bool }
StepBuildPackApplyOptions contains the command line flags
func (*StepBuildPackApplyOptions) Run ¶
func (o *StepBuildPackApplyOptions) Run() error
Run implements this command
type StepBuildPackOptions ¶
type StepBuildPackOptions struct {
StepOptions
}
StepBuildPackOptions contains the command line flags
func (*StepBuildPackOptions) Run ¶
func (o *StepBuildPackOptions) Run() error
Run implements this command
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 IncludeMergeCommits bool FailIfFindCommits bool State StepChangelogState }
StepChangelogOptions contains the command line flags
func (*StepChangelogOptions) Run ¶
func (o *StepChangelogOptions) Run() error
type StepChangelogState ¶
type StepChangelogState struct { GitInfo *gits.GitRepository GitProvider gits.GitProvider Tracker issues.IssueProvider FoundIssueNames map[string]bool LoggedIssueKind bool Release *v1.Release }
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 StepCreateBuildTemplateOptions ¶
type StepCreateBuildTemplateOptions struct { StepOptions Dir string OutputDir string BuildPackURL string BuildPackRef string PodTemplates map[string]*corev1.Pod MissingPodTemplates map[string]bool }
StepCreateBuildTemplateOptions contains the command line flags
func (*StepCreateBuildTemplateOptions) Run ¶
func (o *StepCreateBuildTemplateOptions) Run() error
Run implements this command
type StepCreateOptions ¶
type StepCreateOptions struct {
StepOptions
}
StepCreateOptions contains the command line flags
type StepCreateTaskOptions ¶
type StepCreateTaskOptions struct { StepOptions Pack string Dir string BuildPackURL string BuildPackRef string PipelineKind string Context string CustomLabels []string NoApply bool Trigger string TargetPath string SourceName string CustomImage string DockerRegistry string CloneGitURL string Branch string Revision string PullRequestNumber string DeleteTempDir bool ViewSteps bool NoReleasePrepare bool Duration time.Duration FromRepo bool NoKaniko bool KanikoImage string DockerRegistryOrg string PodTemplates map[string]*corev1.Pod MissingPodTemplates map[string]bool GitInfo *gits.GitRepository BuildNumber string Results StepCreateTaskResults // contains filtered or unexported fields }
StepCreateTaskOptions contains the command line flags
func (*StepCreateTaskOptions) CreatePipelineAndStructureForBuildPack ¶ added in v1.3.950
func (o *StepCreateTaskOptions) CreatePipelineAndStructureForBuildPack(task *pipelineapi.Task, sourceRepoResource *pipelineapi.PipelineResource, pipelineResourceName string) (*pipelineapi.Pipeline, *v1.PipelineStructure)
CreatePipelineAndStructureForBuildPack creates the Pipeline and PipelineStructure for a build pack
func (*StepCreateTaskOptions) CreatePipelineRun ¶ added in v1.3.950
func (o *StepCreateTaskOptions) CreatePipelineRun(pipeline *pipelineapi.Pipeline, resources []*pipelineapi.PipelineResource) *pipelineapi.PipelineRun
CreatePipelineRun creates a PipelineRun for a given Pipeline
func (*StepCreateTaskOptions) CreateSourceRepoResourceForBuildPack ¶ added in v1.3.950
func (o *StepCreateTaskOptions) CreateSourceRepoResourceForBuildPack(task *pipelineapi.Task, gitInfo *gits.GitRepository, branch string) *pipelineapi.PipelineResource
CreateSourceRepoResourceForBuildPack creates the source repository PipelineResource for a build pack
func (*StepCreateTaskOptions) CreateTaskForBuildPack ¶ added in v1.3.950
func (o *StepCreateTaskOptions) CreateTaskForBuildPack(languageName string, pipelineConfig *jenkinsfile.PipelineConfig, lifecycles *jenkinsfile.PipelineLifecycles, templateKind, ns string) (*pipelineapi.Task, error)
CreateTaskForBuildPack generates the Task for a build pack
func (*StepCreateTaskOptions) EnhanceTasksAndPipeline ¶ added in v1.3.950
func (o *StepCreateTaskOptions) EnhanceTasksAndPipeline(tasks []*pipelineapi.Task, pipeline *pipelineapi.Pipeline, pipelineConfig *jenkinsfile.PipelineConfig)
EnhanceTasksAndPipeline takes a slice of Tasks and a Pipeline and modifies them to include built-in volumes, environment variables, and parameters
func (*StepCreateTaskOptions) GenerateTektonCRDs ¶ added in v1.3.950
func (o *StepCreateTaskOptions) GenerateTektonCRDs(packsDir string, projectConfig *config.ProjectConfig, projectConfigFile string, resolver jenkinsfile.ImportFileResolver, ns string) (*pipelineapi.Pipeline, []*pipelineapi.Task, []*pipelineapi.PipelineResource, *pipelineapi.PipelineRun, *v1.PipelineStructure, error)
GenerateTektonCRDs creates the Pipeline, Task, PipelineResource, PipelineRun, and PipelineStructure CRDs that will be applied to actually kick off the pipeline
func (*StepCreateTaskOptions) GetDefaultTaskInputs ¶ added in v1.3.950
func (o *StepCreateTaskOptions) GetDefaultTaskInputs() *pipelineapi.Inputs
GetDefaultTaskInputs gets the base, built-in task parameters as an Input.
func (*StepCreateTaskOptions) Run ¶
func (o *StepCreateTaskOptions) Run() error
Run implements this command
type StepCreateTaskResults ¶ added in v1.3.820
type StepCreateTaskResults struct { Pipeline *pipelineapi.Pipeline Tasks []*pipelineapi.Task Resources []*pipelineapi.PipelineResource PipelineRun *pipelineapi.PipelineRun Structure *v1.PipelineStructure PipelineParams []pipelineapi.Param }
StepCreateTaskResults stores the generated results
func (*StepCreateTaskResults) ObjectReferences ¶ added in v1.3.820
func (r *StepCreateTaskResults) ObjectReferences() []kube.ObjectReference
ObjectReferences creates a list of object references created
type StepCreateVersionPullRequestOptions ¶ added in v1.3.852
type StepCreateVersionPullRequestOptions struct { StepOptions Kind string Name string Includes []string Excludes []string VersionsRepository string VersionsBranch string Version string // contains filtered or unexported fields }
StepCreateVersionPullRequestOptions contains the command line flags
func (*StepCreateVersionPullRequestOptions) Run ¶ added in v1.3.852
func (o *StepCreateVersionPullRequestOptions) Run() error
Run implements this command
type StepCreateVersionPullRequestResults ¶ added in v1.3.852
type StepCreateVersionPullRequestResults struct { Pipeline *pipelineapi.Pipeline Task *pipelineapi.Task PipelineRun *pipelineapi.PipelineRun }
StepCreateVersionPullRequestResults stores the generated results
type StepCredentialOptions ¶
type StepCredentialOptions struct { StepOptions Namespace string Secret string Key string File string }
StepCredentialOptions contains the command line arguments for this command
func (*StepCredentialOptions) Run ¶
func (o *StepCredentialOptions) Run() error
Run runs the command
type StepCustomPipelineOptions ¶ added in v1.3.926
type StepCustomPipelineOptions struct { StepOptions MultiBranchProject bool Dir string Jenkinsfile string JenkinsPath string JenkinsSelector JenkinsSelectorOptions }
StepCustomPipelineOptions contains the command line arguments for this command
func (*StepCustomPipelineOptions) Run ¶ added in v1.3.926
func (o *StepCustomPipelineOptions) Run() error
Run implements the command
type StepEnvApplyOptions ¶
type StepEnvApplyOptions struct { StepEnvOptions Namespace string Dir string ReleaseName string Wait bool Force bool DisableHelmVersion bool ChangeNs bool Vault bool }
StepEnvApplyOptions contains the command line flags
func (*StepEnvApplyOptions) Run ¶
func (o *StepEnvApplyOptions) Run() error
Run performs the comamand
type StepEnvOptions ¶
type StepEnvOptions struct {
StepOptions
}
StepEnvOptions contains the command line flags
type StepGetBuildNumberOptions ¶ added in v1.3.819
type StepGetBuildNumberOptions struct { StepOptions Dir string }
StepGetBuildNumberOptions contains the command line flags
func (*StepGetBuildNumberOptions) Run ¶ added in v1.3.819
func (o *StepGetBuildNumberOptions) Run() error
Run implements this command
type StepGetOptions ¶ added in v1.3.819
type StepGetOptions struct {
StepOptions
}
StepGetOptions contains the command line flags
func (*StepGetOptions) Run ¶ added in v1.3.819
func (o *StepGetOptions) Run() error
Run implements this command
type StepGetVersionChangeSetOptions ¶ added in v1.3.912
type StepGetVersionChangeSetOptions struct { StepOptions VersionsDir string VersionsRepository string TestingBranch string StableBranch string PR string }
StepGetVersionChangeSetOptions contains the command line flags
func (*StepGetVersionChangeSetOptions) Run ¶ added in v1.3.912
func (o *StepGetVersionChangeSetOptions) Run() error
Run implements the 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 StepGitEnvsOptions ¶
type StepGitEnvsOptions struct { StepOptions ServiceKind string }
StepGitEnvsOptions contains the command line flags
func (*StepGitEnvsOptions) Run ¶
func (o *StepGitEnvsOptions) Run() error
Run implements the command
type StepGitMergeOptions ¶ added in v1.3.886
type StepGitMergeOptions struct { StepOptions SHAs []string Remote string Dir string BaseBranch string BaseSHA string }
StepGitMergeOptions contains the command line flags
func (*StepGitMergeOptions) Run ¶ added in v1.3.886
func (o *StepGitMergeOptions) Run() error
Run implements the command
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 DisableHelmVersion bool Vault 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 StepHelmDeleteOptions ¶
type StepHelmDeleteOptions struct { StepHelmOptions Namespace string Purge bool }
StepHelmDeleteOptions contains the command line flags
func (*StepHelmDeleteOptions) Run ¶
func (o *StepHelmDeleteOptions) Run() error
Run performs the CLI command
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 StepHelmListOptions ¶
type StepHelmListOptions struct { StepHelmOptions Namespace string }
StepHelmListOptions contains the command line flags
func (*StepHelmListOptions) Run ¶
func (o *StepHelmListOptions) 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 StepPRLabelsOptions ¶ added in v1.3.837
type StepPRLabelsOptions struct { *CommonOptions Dir string Prefix string PullRequest string }
StepPRLabelsOptions holds the options for the cmd
func (*StepPRLabelsOptions) Run ¶ added in v1.3.837
func (o *StepPRLabelsOptions) Run() error
Run implements the execution
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 StepPostInstallOptions ¶
type StepPostInstallOptions struct { StepOptions EnvJobCredentials string Results StepPostInstallResults }
StepPostInstallOptions contains the command line flags
func (*StepPostInstallOptions) Run ¶
func (o *StepPostInstallOptions) Run() (err error)
Run implements this command
type StepPostInstallResults ¶
type StepPostInstallResults struct {
GitProviders map[string]gits.GitProvider
}
StepPostInstallResults contains the command outputs mostly for testing purposes
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 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 StepStashOptions ¶
type StepStashOptions struct { StepOptions Pattern []string Dir string ToPath string Basedir string StorageLocation jenkinsv1.StorageLocation ProjectGitURL string ProjectBranch string }
StepStashOptions contains the command line flags
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 StepUnstashOptions ¶
type StepUnstashOptions struct { StepOptions URL string OutDir string Timeout time.Duration }
StepUnstashOptions contains the command line flags
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
}
StepVerifyOptions contains the command line flags
type StepVerifyPodCountOptions ¶ added in v1.3.958
type StepVerifyPodCountOptions struct { StepOptions After int32 Pods int32 Restarts int32 }
StepVerifyPodCountOptions contains the command line flags
func (*StepVerifyPodCountOptions) Run ¶ added in v1.3.958
func (o *StepVerifyPodCountOptions) Run() error
Run the `jx step verify pod count` command
type StepVerifyPodOptions ¶ added in v1.3.858
type StepVerifyPodOptions struct {
StepOptions
}
StepVerifyPodOptions contains the command line flags
func (*StepVerifyPodOptions) Run ¶ added in v1.3.858
func (o *StepVerifyPodOptions) Run() error
Run implements this command
type StepVerifyPodReadyOptions ¶ added in v1.3.958
type StepVerifyPodReadyOptions struct { StepOptions Debug bool }
StepVerifyPodReadyOptions contains the command line flags
func (*StepVerifyPodReadyOptions) Run ¶ added in v1.3.958
func (o *StepVerifyPodReadyOptions) Run() error
Run the `jx step verify pod ready` command
type StepWaitForArtifactOptions ¶
type StepWaitForArtifactOptions struct { StepOptions ArtifactURL string RepoURL string GroupId string ArtifactId string Version string Extension string Timeout string PollTime string // calculated fields TimeoutDuration time.Duration PollDuration time.Duration }
StepWaitForArtifactOptions contains the command line flags
func (*StepWaitForArtifactOptions) Run ¶
func (o *StepWaitForArtifactOptions) Run() error
type StopPipelineOptions ¶
type StopPipelineOptions struct { GetOptions Build int Filter string JenkinsSelector JenkinsSelectorOptions 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 UninstallOptions ¶
type UninstallOptions struct { *CommonOptions Namespace string Context string Force bool // Force uninstallation - programmatic use only - do not expose to the user 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 }
UpdateClusterGKETerraformOptions the flags for updating a cluster on GKE using terraform
func (*UpdateClusterGKETerraformOptions) Run ¶
func (o *UpdateClusterGKETerraformOptions) Run() error
type UpdateClusterOptions ¶
type UpdateClusterOptions struct { UpdateOptions InstallOptions InstallOptions Flags InitFlags Provider string }
UpdateClusterOptions the flags for running update 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 UpdateWebhooksOptions ¶
type UpdateWebhooksOptions struct { *CommonOptions Org string Repo string ExactHookMatch bool PreviousHookUrl string DryRun bool }
UpdateWebhooksOptions the flags for updating webhooks
func (*UpdateWebhooksOptions) Run ¶
func (options *UpdateWebhooksOptions) Run() error
type UpgradeAddonProwOptions ¶
type UpgradeAddonProwOptions struct { UpgradeAddonsOptions Tekton bool // contains filtered or unexported fields }
UpgradeAddonProwOptions the options for the create spring command
func (*UpgradeAddonProwOptions) Run ¶
func (o *UpgradeAddonProwOptions) Run() error
Run implements the command
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 UpgradeAppsOptions ¶
type UpgradeAppsOptions struct { AddOptions GitOps bool DevEnv *jenkinsv1.Environment Repo string Alias string Username string Password string ReleaseName string HelmUpdate bool AskAll bool Version string All bool Namespace string Set []string // allow git to be configured externally before a PR is created ConfigureGitCallback environments.ConfigureGitFn InstallFlags InstallFlags }
UpgradeAppsOptions the options for the create spring command
func (*UpgradeAppsOptions) Run ¶
func (o *UpgradeAppsOptions) 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 UpgradeCRDsOptions ¶ added in v1.3.904
type UpgradeCRDsOptions struct {
UpgradeOptions
}
UpgradeCRDsOptions the options for the upgrade CRDs command
func (*UpgradeCRDsOptions) Run ¶ added in v1.3.904
func (o *UpgradeCRDsOptions) Run() error
Run implements the 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 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, exts 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 Force bool Namespaces []string Version string TargetNamespaces []string Services []string SkipResourcesUpdate bool WaitForCerts bool ConfigNamespace string IngressConfig kube.IngressConfig }
UpgradeIngressOptions the options for the create spring command
func (*UpgradeIngressOptions) AnnotateExposedServicesWithCertManager ¶
func (o *UpgradeIngressOptions) AnnotateExposedServicesWithCertManager(svcs ...string) ([]*v1.Service, error)
AnnotateExposedServicesWithCertManager annotates exposed services with cert manager
func (*UpgradeIngressOptions) CleanServiceAnnotations ¶
func (o *UpgradeIngressOptions) CleanServiceAnnotations(svcs ...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 { InstallOptions Version string ReleaseName string Chart string Namespace string Set string AlwaysUpgrade bool UpdateSecrets 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) GetOsVersion ¶
func (o *VersionOptions) GetOsVersion() (string, error)
GetOsVersion returns a human friendly string of the current OS in the case of an error this still returns a valid string for the details that can be found.
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 ¶
- add.go
- add_app.go
- cloudbees.go
- cloudbees_pipeline.go
- cmd.go
- common.go
- common_addon.go
- common_app.go
- common_auth.go
- common_bucket.go
- common_buildpacks.go
- common_cert_manager.go
- common_chat.go
- common_commands.go
- common_devpod.go
- common_domain.go
- common_environments.go
- common_git.go
- common_gke.go
- common_helm.go
- common_import.go
- common_install.go
- common_issues.go
- common_jenkins.go
- common_kube_rbac.go
- common_logs.go
- common_pipelines.go
- common_plugins.go
- common_pod.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_buildnumbers.go
- controller_commitstatus.go
- controller_pipelinerunner.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_flagger.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_client.go
- create_client_docs.go
- create_client_go.go
- create_client_openapi.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_project.go
- create_pullrequest.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
- create_vault.go
- delete.go
- delete_addon.go
- delete_addon_cloudbees.go
- delete_addon_flagger.go
- delete_addon_gitea.go
- delete_addon_knative_build.go
- delete_addon_sso.go
- delete_app.go
- delete_application.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_extension.go
- delete_git.go
- delete_git_server.go
- delete_git_token.go
- delete_jenkins.go
- delete_jenkins_token.go
- delete_namespace.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
- delete_vault.go
- diagnose.go
- docs.go
- edit.go
- edit_addon.go
- edit_app_jenkins_plugins.go
- edit_buildpack.go
- edit_config.go
- edit_env.go
- edit_extensionsrepository.go
- edit_helmbin.go
- edit_storage.go
- edit_userrole.go
- environment.go
- gc.go
- gc_activities.go
- gc_gke.go
- gc_helm.go
- gc_pods.go
- gc_previews.go
- gc_releases.go
- get.go
- get_activity.go
- get_addon.go
- get_applications.go
- get_apps.go
- get_aws_info.go
- get_branchpattern.go
- get_build.go
- get_build_logs.go
- get_build_pods.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_plugins.go
- get_post_preview_job.go
- get_preview.go
- get_quickstart_locations.go
- get_quickstarts.go
- get_release.go
- get_secret.go
- get_storage.go
- get_team.go
- get_teamrole.go
- get_token.go
- get_token_addon.go
- get_tracker.go
- get_url.go
- get_user.go
- get_vault.go
- get_vault_config.go
- get_workflow.go
- helpers.go
- import.go
- init.go
- install.go
- install_dependencies.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_pipeline.go
- start_protection.go
- status.go
- step.go
- step_bdd.go
- step_blog.go
- step_buildpack.go
- step_buildpack_apply.go
- step_changelog.go
- step_create.go
- step_create_build.go
- step_create_buildtemplate.go
- step_create_task.go
- step_create_version_pr.go
- step_credential.go
- step_custom_pipeline.go
- step_env.go
- step_env_apply.go
- step_get.go
- step_get_buildnumber.go
- step_get_version_changeset.go
- step_git.go
- step_git_credentials.go
- step_git_envs.go
- step_git_merge.go
- step_gpg_credentials.go
- step_helm.go
- step_helm_apply.go
- step_helm_build.go
- step_helm_delete.go
- step_helm_env.go
- step_helm_install.go
- step_helm_list.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_install.go
- step_post_run.go
- step_pr.go
- step_pr_comment.go
- step_pr_labels.go
- step_pre.go
- step_pre_build.go
- step_pre_extend.go
- step_release.go
- step_split_monorepo.go
- step_stash.go
- step_tag.go
- step_unstash.go
- step_validate.go
- step_verify.go
- step_verify_pod.go
- step_verify_pod_count.go
- step_verify_pod_ready.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
- update_webhooks.go
- upgrade.go
- upgrade_addon_prow.go
- upgrade_addons.go
- upgrade_apps.go
- upgrade_binaries.go
- upgrade_cli.go
- upgrade_cluster.go
- upgrade_crd.go
- upgrade_extensions.go
- upgrade_extensions_repository.go
- upgrade_ingress.go
- upgrade_platform.go
- version.go