Documentation ¶
Index ¶
- Constants
- Variables
- func BehaviorOnFatal(f func(string, int))
- func CheckErr(err error)
- func ConfigureTestOptions(o *CommonOptions, git gits.Gitter, helm helm.Helmer)
- func ConfigureTestOptionsWithResources(o *CommonOptions, k8sObjects []runtime.Object, jxObjects []runtime.Object, ...)
- func DefaultBehaviorOnFatal()
- func DigitSuffix(text string) string
- func ExtractConfigMap(cms *v1.ConfigMapList, version string) (v1.ConfigMap, error)
- func ExtractReleases(cms *v1.ConfigMapList) []string
- func ExtractSsoCookie(text string) string
- func ExtractVersions(cms *v1.ConfigMapList, release string) []string
- func FindDevPodLabelFromJenkinsfile(filename string, labels []string) (string, error)
- func GetNamespaceNames(client kubernetes.Interface) ([]string, error)
- func GetSafeUsername(username string) string
- func HomeDir() string
- func IsPipeline(j *gojenkins.Job) bool
- func KubernetesProviderOptions() string
- func LoadVersionFromCloudEnvironmentsDir(wrkDir string) (string, error)
- func NewCmdCloudBees(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCompletion(f Factory, out io.Writer) *cobra.Command
- func NewCmdComplianceDelete(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdComplianceLogs(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdComplianceResults(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdComplianceRun(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdComplianceStatus(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdConsole(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdContext(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdController(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdControllerBackup(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdControllerBuild(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdControllerRole(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdControllerTeam(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdControllerWorkflow(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreate(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddon(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonAmbassador(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonAnchore(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonCloudBees(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonGitea(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonIstio(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonKnativeBuild(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonKubeless(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonOwasp(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonPipelineEvents(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonProw(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonSSO(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateArchetype(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateBranchPattern(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateBuild(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateCamel(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateChat(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateChatServer(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateChatToken(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateCluster(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterAKS(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterAWS(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterEKS(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterGKE(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterGKETerraform(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterMinikube(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterMinishift(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterOKE(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateCodeship(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateDevPod(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateDockerAuth(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateDocs(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateEnv(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateEtcHosts(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateGit(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateGitServer(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateGitToken(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateGitUser(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateGkeServiceAccount(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateIssue(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateJHipster(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateJenkins(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateJenkinsUser(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateLile(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateMicro(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreatePostPreviewJob(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateQuickstart(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateQuickstartLocation(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateSpring(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateTeam(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateTerraform(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateToken(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateTokenAddon(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateTracker(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateTrackerServer(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateTrackerToken(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateUser(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDelete(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAddon(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAddonCloudBees(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAddonGitea(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteApp(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteChat(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteChatServer(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteChatToken(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteContext(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteDevPod(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteEnv(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteGit(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteGitServer(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteGitToken(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteJenkins(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteJenkinsUser(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeletePostPreviewJob(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeletePreview(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteQuickstartLocation(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteRepo(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTeam(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteToken(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTokenAddon(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTracker(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTrackerServer(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteTrackerToken(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteUser(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEdit(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEditAddon(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEditBuildpack(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEditConfig(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEditEnv(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEditHelmBin(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEditUserRole(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEnvironment(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGC(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGCActivities(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGCGKE(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGCHelm(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGCPreviews(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGCReleases(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGet(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetAWSInfo(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetActivity(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetAddon(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetApplications(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetBranchPattern(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetBuild(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetBuildLogs(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetBuildPack(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetCVE(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetChat(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetConfig(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetDevPod(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetEnv(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetGit(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetHelmBin(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetIssue(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetIssues(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetPipeline(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetPostPreviewJob(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetPreview(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetQuickstartLocation(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetRelease(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetTeam(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetTeamRole(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetToken(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetTokenAddon(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetTracker(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetURL(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetUser(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetWorkflow(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdImport(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInit(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstall(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdLogin(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdLogs(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdMetrics(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdNamespace(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdOpen(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdOptions(out io.Writer) *cobra.Command
- func NewCmdPreview(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPromote(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPrompt(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdRepo(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdRsh(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdScan(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdScanCluster(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdShell(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStart(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStartPipeline(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStatus(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStep(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepBlog(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepChangelog(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepGit(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepGitCredentials(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepGpgCredentials(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepHelm(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepHelmApply(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepHelmBuild(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepHelmEnv(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepHelmRelease(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepLinkServices(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepNextBuildNumber(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepNextVersion(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepNexus(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepNexusDrop(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepNexusRelease(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepPR(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepPRComment(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepPost(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepPostBuild(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepPre(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepPreBuild(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepRelease(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepReport(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepReportActivities(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepReportReleases(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepSplitMonorepo(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepTag(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepValidate(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepVerify(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepWaitForArtifact(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStop(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStopPipeline(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdSync(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdTeam(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUninstall(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpdate(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpdateCluster(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpdateClusterGKE(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpdateClusterGKETerraform(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgrade(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeCLI(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeCluster(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeIngress(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradePlatform(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdVersion(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCompliance(f Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewJXCommand(f Factory, in io.Reader, out, err io.Writer) *cobra.Command
- func ProjectExists(ctx context.Context, org *codeship.Organization, codeshipOrg string, ...) (bool, string, error)
- func PullRequestURLToNumber(text string) (int, error)
- func StandardErrorMessage(err error) (string, bool)
- func UsageError(cmd *cobra.Command, format string, args ...interface{}) error
- func VersionsToDelete(versions []string, desired int) []string
- type ArgumentSpec
- type Auth
- type BranchPatterns
- type Build
- type BuildCondition
- type BuildConditionType
- type BuildList
- type BuildParams
- type BuildProvider
- type BuildSpec
- type BuildStatus
- type ByVersion
- type CallbackFn
- type CloudBeesOptions
- type Cluster
- type ClusterSpec
- type CommonOptions
- func (o *CommonOptions) CleanExposecontrollerReources(ns string)
- func (o *CommonOptions) CreateAddonAuthConfigService() (auth.AuthConfigService, error)
- func (o *CommonOptions) CreateApiExtensionsClient() (apiextensionsclientset.Interface, error)
- func (o *CommonOptions) CreateChatAuthConfigService() (auth.AuthConfigService, error)
- func (o *CommonOptions) CreateGitAuthConfigService() (auth.AuthConfigService, error)
- func (o *CommonOptions) CreateGitAuthConfigServiceDryRun(dryRun bool) (auth.AuthConfigService, error)
- func (o *CommonOptions) CreateGitAuthConfigServiceFromSecrets(fileName string, secrets *corev1.SecretList, isCDPipeline bool) (auth.AuthConfigService, error)
- func (o *CommonOptions) CreateIssueTrackerAuthConfigService() (auth.AuthConfigService, error)
- func (c *CommonOptions) CreateTable() table.Table
- func (c *CommonOptions) Debugf(format string, a ...interface{})
- func (o *CommonOptions) DiscoverAppName() (string, error)
- func (o *CommonOptions) FindGitInfo(dir string) (*gits.GitRepositoryInfo, error)
- func (o *CommonOptions) FindHelmChart() (string, error)
- func (o *CommonOptions) GetCloudProvider(p string) (string, error)
- func (o *CommonOptions) GetClusterUserName() (string, error)
- func (o *CommonOptions) GetDomain(client kubernetes.Interface, domain string, provider string, ...) (string, error)
- func (o *CommonOptions) GetJenkinsURL() (string, error)
- func (o *CommonOptions) GetLatestJXVersion() (semver.Version, error)
- func (o *CommonOptions) Git() gits.Gitter
- func (o *CommonOptions) GitServerHostURLKind(hostURL string) (string, error)
- func (o *CommonOptions) GitServerKind(gitInfo *gits.GitRepositoryInfo) (string, error)
- func (o *CommonOptions) Helm() helm.Helmer
- func (o *CommonOptions) ImportProject(gitURL string, dir string, jenkinsfile string, ...) error
- func (o *CommonOptions) JXClient() (versioned.Interface, string, error)
- func (o *CommonOptions) JXClientAndAdminNamespace() (versioned.Interface, string, error)
- func (o *CommonOptions) JXClientAndDevNamespace() (versioned.Interface, string, error)
- func (o *CommonOptions) JenkinsClient() (*gojenkins.Jenkins, error)
- func (o *CommonOptions) KubeClient() (kubernetes.Interface, string, error)
- func (o *CommonOptions) KubeClientAndDevNamespace() (kubernetes.Interface, string, error)
- func (o *CommonOptions) LoadPipelineSecrets(kind, serviceKind string) (*corev1.SecretList, error)
- func (o *CommonOptions) ModifyDevEnvironment(callback func(env *v1.Environment) error) error
- func (o *CommonOptions) ModifyTeam(teamName string, callback func(env *v1.Team) error) error
- func (o *CommonOptions) ModifyUser(userName string, callback func(env *v1.User) error) error
- func (o *CommonOptions) Run() error
- func (o *CommonOptions) RunCommand(name string, args ...string) error
- func (c *CommonOptions) Stdout() io.Writer
- func (o *CommonOptions) TeamAndEnvironmentNames() (string, string, error)
- func (o *CommonOptions) TeamBranchPatterns() (*BranchPatterns, error)
- func (o *CommonOptions) TeamHelmBin() (string, bool, error)
- func (o *CommonOptions) TeamSettings() (*v1.TeamSettings, error)
- type ComplianceDeleteOptions
- type ComplianceLogsOptions
- type ComplianceOptions
- type ComplianceResultsOptions
- type ComplianceRunOptions
- type ComplianceStatusOptions
- type Config
- type ConfigureGitFolderFn
- type ConsoleOptions
- type ContextOptions
- type ControllerBackupOptions
- type ControllerBuildOptions
- type ControllerOptions
- type ControllerRoleFlags
- type ControllerRoleOptions
- func (o *ControllerRoleOptions) Run() error
- func (o *ControllerRoleOptions) WatchEnvironmentRoleBindings(jxClient versioned.Interface, ns string) error
- func (o *ControllerRoleOptions) WatchEnvironments(kubeClient kubernetes.Interface, jxClient versioned.Interface, ns string) error
- func (o *ControllerRoleOptions) WatchRoles(kubeClient kubernetes.Interface, ns string) error
- type ControllerTeamOptions
- type ControllerWorkflowOptions
- type CreateAddonAmbassadorOptions
- type CreateAddonAnchoreOptions
- type CreateAddonCloudBeesOptions
- type CreateAddonGiteaOptions
- type CreateAddonIstioOptions
- type CreateAddonKnativeBuildOptions
- type CreateAddonKubelessOptions
- type CreateAddonOptions
- type CreateAddonOwaspOptions
- type CreateAddonPipelineEventsOptions
- type CreateAddonProwOptions
- type CreateAddonSSOOptions
- type CreateArchetypeOptions
- type CreateBranchPatternOptions
- type CreateCamelOptions
- type CreateChatOptions
- type CreateChatServerOptions
- type CreateChatTokenOptions
- type CreateClusterAKSFlags
- type CreateClusterAKSOptions
- type CreateClusterAWSFlags
- type CreateClusterAWSOptions
- type CreateClusterEKSFlags
- type CreateClusterEKSOptions
- type CreateClusterFlags
- type CreateClusterGKEFlags
- type CreateClusterGKEOptions
- type CreateClusterGKETerraformFlags
- type CreateClusterGKETerraformOptions
- type CreateClusterMinikubeFlags
- type CreateClusterMinikubeOptions
- type CreateClusterMinishiftFlags
- type CreateClusterMinishiftOptions
- type CreateClusterOKEFlags
- type CreateClusterOKEOptions
- type CreateClusterOptions
- type CreateCodeshipFlags
- type CreateCodeshipOptions
- type CreateDevPodOptions
- type CreateDockerAuthOptions
- type CreateDocsOptions
- type CreateEnvOptions
- type CreateEnvPullRequestFn
- type CreateEtcHostsOptions
- type CreateGitOptions
- type CreateGitServerOptions
- type CreateGitTokenOptions
- type CreateGitUserOptions
- type CreateGkeServiceAccountFlags
- type CreateGkeServiceAccountOptions
- type CreateIssueOptions
- type CreateJHipsterOptions
- type CreateJenkinsOptions
- type CreateJenkinsUserOptions
- type CreateLileOptions
- type CreateMicroOptions
- type CreateOptions
- type CreatePostPreviewJobOptions
- type CreateProjectOptions
- type CreateQuickstartLocationOptions
- type CreateQuickstartOptions
- type CreateSpringOptions
- type CreateTeamOptions
- type CreateTerraformOptions
- type CreateTokenAddonOptions
- type CreateTokenOptions
- type CreateTrackerOptions
- type CreateTrackerServerOptions
- type CreateTrackerTokenOptions
- type CreateUserOptions
- type DeleteAddonCDXOptions
- type DeleteAddonGiteaOptions
- type DeleteAddonOptions
- type DeleteAppOptions
- type DeleteChatOptions
- type DeleteChatServerOptions
- type DeleteChatTokenOptions
- type DeleteContextOptions
- type DeleteDevPodOptions
- type DeleteEnvOptions
- type DeleteGitOptions
- type DeleteGitServerOptions
- type DeleteGitTokenOptions
- type DeleteJenkinsOptions
- type DeleteJenkinsUserOptions
- type DeleteOptions
- type DeletePostPreviewJobOptions
- type DeletePreviewOptions
- type DeleteQuickstartLocationOptions
- type DeleteRepoOptions
- type DeleteTeamOptions
- type DeleteTokenAddonOptions
- type DeleteTokenOptions
- type DeleteTrackerOptions
- type DeleteTrackerServerOptions
- type DeleteTrackerTokenOptions
- type DeleteUserOptions
- type EditAddonOptions
- type EditBuildpackOptions
- type EditConfigOptions
- type EditEnvOptions
- type EditHelmBinOptions
- type EditOptions
- type EditUserRoleOptions
- type EnvApps
- type EnvironmentOptions
- type Factory
- type Flags
- type GCActivitiesOptions
- type GCGKEOptions
- type GCHelmOptions
- type GCOptions
- type GCPreviewsOptions
- type GCReleasesOptions
- type GCSSourceSpec
- type GCSSourceType
- type GKECluster
- func (g GKECluster) ClusterName() string
- func (g GKECluster) Context() string
- func (g GKECluster) CreateTfVarsFile(path string) error
- func (g GKECluster) Name() string
- func (g *GKECluster) ParseTfVarsFile(path string)
- func (g GKECluster) Provider() string
- func (g GKECluster) Region() string
- func (g *GKECluster) SetName(name string) string
- func (g *GKECluster) SetProvider(provider string) string
- type GetAWSInfoOptions
- type GetActivityOptions
- type GetAddonOptions
- type GetApplicationsOptions
- type GetBranchPatternOptions
- type GetBuildLogsOptions
- type GetBuildOptions
- type GetBuildPackOptions
- type GetCVEOptions
- type GetChatOptions
- type GetConfigOptions
- type GetDevPodOptions
- type GetEnvOptions
- type GetGitOptions
- type GetHelmBinOptions
- type GetIssueOptions
- type GetIssuesOptions
- type GetOptions
- type GetPipelineOptions
- type GetPostPreviewJobOptions
- type GetPreviewOptions
- type GetQuickstartLocationOptions
- type GetReleaseOptions
- type GetTeamOptions
- type GetTeamRoleOptions
- type GetTokenAddonOptions
- type GetTokenOptions
- type GetTrackerOptions
- type GetURLOptions
- type GetUserOptions
- type GetWorkflowOptions
- type GitSourceSpec
- type GoogleSpec
- type ImportOptions
- func (o *ImportOptions) CloneRepository() error
- func (o *ImportOptions) CreateNewRemoteRepository() error
- func (o *ImportOptions) DefaultGitIgnore() error
- func (o *ImportOptions) DiscoverGit() error
- func (o *ImportOptions) DiscoverRemoteGitURL() error
- func (o *ImportOptions) DraftCreate() error
- func (o *ImportOptions) ImportProjectsFromGitHub() error
- func (o *ImportOptions) ReplacePlaceholders(gitServerName, gitOrg, dockerRegistryOrg string) error
- func (o *ImportOptions) Run() error
- type InitFlags
- type InitOptions
- type InstallFlags
- type InstallOptions
- type KubernetesProvider
- type Login
- type LoginOptions
- type LogsOptions
- type MetricsOptions
- type ModifyRequirementsFn
- type NamespaceOptions
- type OpenOptions
- type PackageJSON
- type PreviewOptions
- type Project
- type PromoteOptions
- func (o *PromoteOptions) GetTargetNamespace(ns string, env string) (string, *v1.Environment, error)
- func (o *PromoteOptions) Promote(targetNS string, env *v1.Environment, warnIfAuto bool) (*ReleaseInfo, error)
- func (o *PromoteOptions) PromoteAllAutomatic() error
- func (o *PromoteOptions) PromoteViaPullRequest(env *v1.Environment, releaseInfo *ReleaseInfo) error
- func (o *PromoteOptions) Run() error
- func (o *PromoteOptions) SearchForChart(filter string) (string, error)
- func (o *PromoteOptions) WaitForPromotion(ns string, env *v1.Environment, releaseInfo *ReleaseInfo) error
- type PromptOptions
- type Prow
- type ReleaseInfo
- type ReleasePullRequestInfo
- type RepoOptions
- type RshOptions
- type Rule
- type Rules
- type ScanClusterOptions
- type ScanOptions
- type Secrets
- type ServerFlags
- type ShellOptions
- type SourceSpec
- type Start
- type StartPipelineOptions
- type StatusOptions
- type StatusSortedTestCases
- type StepBlogOptions
- type StepBlogState
- type StepChangelogOptions
- type StepChangelogState
- type StepCreateBuildOptions
- type StepGitCredentialsOptions
- type StepGitOptions
- type StepGpgCredentialsOptions
- type StepHelmApplyOptions
- type StepHelmBuildOptions
- type StepHelmEnvOptions
- type StepHelmOptions
- type StepHelmReleaseOptions
- type StepLinkServicesOptions
- type StepNextBuildNumberOptions
- type StepNextVersionOptions
- type StepNexusDropOptions
- type StepNexusOptions
- type StepNexusReleaseOptions
- type StepOptions
- type StepPRCommentFlags
- type StepPRCommentOptions
- type StepPROptions
- type StepPostBuildOptions
- type StepPostOptions
- type StepPreBuildOptions
- type StepPreOptions
- type StepReleaseOptions
- type StepReportActivitiesOptions
- type StepReportOptions
- type StepReportReleasesOptions
- type StepSplitMonorepoOptions
- type StepSummary
- type StepTagFlags
- type StepTagOptions
- type StepValidateOptions
- type StepVerifyOptions
- type StepWaitForArtifactOptions
- type Stop
- type StopPipelineOptions
- type SyncOptions
- type TeamOptions
- type TemplateInstantiationSpec
- type UninstallOptions
- type UpdateClusterFlags
- type UpdateClusterGKEOptions
- type UpdateClusterGKETerraformFlags
- type UpdateClusterGKETerraformOptions
- type UpdateClusterOptions
- type UpdateOptions
- type UpgradeCLIOptions
- type UpgradeClusterOptions
- type UpgradeIngressOptions
- type UpgradeOptions
- type UpgradePlatformOptions
- type UserLoginInfo
- type VersionOptions
Constants ¶
const ( MinikubeDefaultCpu = "3" MinikubeDefaultMemory = "4096" )
const ( GKE = "gke" OKE = "oke" EKS = "eks" AKS = "aks" AWS = "aws" PKS = "pks" MINIKUBE = "minikube" MINISHIFT = "minishift" KUBERNETES = "kubernetes" OPENSHIFT = "openshift" ORACLE = "oracle" IBM = "ibm" JX_INFRA = "jx-infra" )
const ( // Clusters constant Clusters = "clusters" // Terraform constant Terraform = "terraform" // TerraformTemplatesGKE constant TerraformTemplatesGKE = "https://github.com/jenkins-x/terraform-jx-templates-gke.git" )
const ( AddonAuthConfigFile = "addonAuth.yaml" JenkinsAuthConfigFile = "jenkinsAuth.yaml" IssuesAuthConfigFile = "issuesAuth.yaml" ChatAuthConfigFile = "chatAuth.yaml" GitAuthConfigFile = "gitAuth.yaml" ChartmuseumAuthConfigFile = "chartmuseumAuth.yaml" )
const ( DefaultErrorExitCode = 1 DefaultWritePermissions = 0760 )
const ( PlaceHolderAppName = "REPLACE_ME_APP_NAME" PlaceHolderGitProvider = "REPLACE_ME_GIT_PROVIDER" PlaceHolderOrg = "REPLACE_ME_ORG" PlaceHolderDockerRegistryOrg = "REPLACE_ME_DOCKER_REGISTRY_ORG" JenkinsfileBackupSuffix = ".backup" )
const ( JenkinsBuildPackURL = "https://github.com/jenkins-x/draft-packs.git" INGRESS_SERVICE_NAME = "jxing-nginx-ingress-controller" DEFAULT_CHARTMUSEUM_URL = "https://chartmuseum.build.cd.jenkins-x.io" )
const ( JX_GIT_TOKEN = "JX_GIT_TOKEN" JX_GIT_USER = "JX_GIT_USER" DEFAULT_CLOUD_ENVIRONMENTS_URL = "https://github.com/jenkins-x/cloud-environments" GitSecretsFile = "gitSecrets.yaml" AdminSecretsFile = "adminSecrets.yaml" ExtraValuesFile = "extraValues.yaml" JXInstallConfig = "jx-install-config" CloudEnvValuesFile = "myvalues.yaml" CloudEnvSecretsFile = "secrets.yaml" )
const ( UserOnboardingEndpoint = "/api/v1/users" SsoCookieName = "sso-cdx" )
const ( DOCKER_REGISTRY = "DOCKER_REGISTRY" JENKINS_X_DOCKER_REGISTRY_SERVICE_HOST = "JENKINS_X_DOCKER_REGISTRY_SERVICE_HOST" JENKINS_X_DOCKER_REGISTRY_SERVICE_PORT = "JENKINS_X_DOCKER_REGISTRY_SERVICE_PORT" ORG = "ORG" APP_NAME = "APP_NAME" DOCKER_REGISTRY_ORG = "DOCKER_REGISTRY_ORG" PREVIEW_VERSION = "PREVIEW_VERSION" )
const ( DefaultShell = "/bin/sh" ShellsFile = "/etc/shells" )
const ( ReleaseName = `{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}` SpecName = `{{ .Chart.Name }}` SpecVersion = `{{ .Chart.Version }}` ReleaseCrdYaml = `` /* 498-byte string literal not displayed */ )
const ( PROW_JOB_ID = "PROW_JOB_ID" REPO_OWNER = "REPO_OWNER" REPO_NAME = "REPO_NAME" PULL_PULL_SHA = "PULL_PULL_SHA" )
const ( VERSION = "version" ValuesYamlRepositoryPrefix = " repository:" ValuesYamlTagPrefix = " tag:" )
const ( CertManagerDeployment = "cert-manager" CertManagerNamespace = "cert-manager" Exposecontroller = "exposecontroller" )
const (
BlueOceanPath = "/blue"
)
const CLUSTER_LIST_HEADER = "PROJECT_ID"
const (
DefaultMavenCentralRepo = "http://central.maven.org/maven2/"
)
const (
// JenkinsXQuickstartsOrganisation is the default organisation for quickstarts
JenkinsXQuickstartsOrganisation = "jenkins-x-quickstarts"
)
Variables ¶
var ( CreateAddonCloudBeesLong = templates.LongDesc(` Creates the CloudBees app for Kubernetes addon CloudBees app for Kubernetes provides unified Continuous Delivery Environment console to make it easier to do CI/CD and Environments across a number of microservices and teams For more information please see [https://www.cloudbees.com/blog/want-help-build-cloudbees-kubernetes-jenkins-x](https://www.cloudbees.com/blog/want-help-build-cloudbees-kubernetes-jenkins-x) `) CreateAddonCloudBeesExample = templates.Examples(` # Create the cloudbees addon jx create addon cloudbees `) )
var ( CreateAddonSSOLong = templates.LongDesc(` Creates the Single Sign-On addon This addon will install and configure the dex identity provider, sso-operator and cert-manager. `) CreateAddonSSOExample = templates.Examples(` # Create the sso addon jx create addon sso `) )
var ( GCActivitiesLong = templates.LongDesc(` Garbage collect the Jenkins X Activity Custom Resource Definitions `) GCActivitiesExample = templates.Examples(` jx garbage collect activities jx gc activities `) )
var ( GCGKELong = templates.LongDesc(` Garbage collect Google Container Engine resources that are not deleted when a delete cluster is performed This command will generate the gcloud command to run and delete external loadbalancers and persistent disks that are no longer in use. `) GCGKEExample = templates.Examples(` jx garbage collect gke jx gc gke `) )
var ( GCHelmLong = templates.LongDesc(` Garbage collect Helm ConfigMaps. To facilitate rollbacks, Helm leaves a history of chart versions in place in Kubernetes and these should be pruned at intervals to avoid consuming excessive system resources. `) GCHelmExample = templates.Examples(` jx garbage collect helm jx gc helm `) )
var ( GCPreviewsLong = templates.LongDesc(` Garbage collect Jenkins X preview environments. If a pull request is merged or closed the associated preview environment will be deleted. `) GCPreviewsExample = templates.Examples(` jx garbage collect previews jx gc previews `) )
var ( GCReleasesLong = templates.LongDesc(` Garbage collect the Jenkins X Activity Custom Resource Definitions `) GCReleasesExample = templates.Examples(` jx garbage collect releases jx gc releases `) )
var ( GetIssueLong = templates.LongDesc(` Display the status of an issue for a project. `) GetIssueExample = templates.Examples(` # Get the status of an issue for a project jx get issue --id ISSUE_ID `) )
var ( GetIssuesLong = templates.LongDesc(` Display one or many issues for a project. `) GetIssuesExample = templates.Examples(` # List open issues on the current project jx get issues `) )
var ( MetricsLong = templates.LongDesc(` Gets the metrics of the newest pod for a Deployment. `) MetricsExample = templates.Examples(` # displays metrics of the latest pod in deployment myapp jx metrics myapp # Tails the metrics of the container foo in the latest pod in deployment myapp jx metrics myapp -c foo `) )
var ( StatusLong = templates.LongDesc(` Gets the current status of the Kubernetes cluster `) StatusExample = templates.Examples(` # displays the current status of the kubernetes cluster jx status `) )
var ( GitAccessDescription = `` /* 363-byte string literal not displayed */ StepChangelogLong = templates.LongDesc(` Generates a Changelog for the latest tag This command will generate a Changelog as markdown for the git commit range given. If you are using GitHub it will also update the GitHub Release with the changelog. You can disable that by passing'--update-release=false' If you have just created a git tag this command will try default to the changes between the last tag and the previous one. You can always specify the exact git references (tag/sha) directly via '--previous-rev' and '--rev' The changelog is generated by parsing the git commits. It will also detect any text like 'fixes #123' to link to issue fixes. You can also use Conventional Commits notation: https://conventionalcommits.org/ to get a nicer formatted changelog. e.g. using commits like 'fix:(my feature) this my fix' or 'feat:(cheese) something' This command also generates a Release Custom Resource Definition you can include in your helm chart to give metadata about the changelog of the application along with metadata about the release (git tag, url, commits, issues fixed etc). Including this metadata in a helm charts means we can do things like automatically comment on issues when they hit Staging or Production; or give detailed descriptions of what things have changed when using GitOps to update versions in an environment by referencing the fixed issues in the Pull Request. You can opt out of the release YAML generation via the '--generate-yaml=false' option To update the release notes on GitHub / Gitea this command needs a git API token. `) + GitAccessDescription StepChangelogExample = templates.Examples(` # generate a changelog on the current source jx step changelog # specify the version to use jx step changelog --version 1.2.3 # specify the version and a header template jx step changelog --header-file docs/dev/changelog-header.md --version 1.2.3 `) GitHubIssueRegex = regexp.MustCompile(`(\#\d+)`) JIRAIssueRegex = regexp.MustCompile(`[A-Z][A-Z]+-(\d+)`) )
var ( StepGitCredentialsLong = templates.LongDesc(` This pipeline step generates a git credentials file for the current Git provider pipeline Secrets `) StepGitCredentialsExample = templates.Examples(` # generate the git credentials file in the canonical location jx step git credentials # generate the git credentials to a output file jx step git credentials -o /tmp/mycreds `) )
var ( StepGpgCredentialsLong = templates.LongDesc(` This pipeline step generates GPG credentials files from the ` + kube.SecretJenkinsReleaseGPG + ` secret `) StepGpgCredentialsExample = templates.Examples(` # generate the GPG credentials file in the canonical location jx step gpg credentials # generate the git credentials to a output file jx step gpg credentials -o /tmp/mycreds `) )
var ( StepHelmApplyLong = templates.LongDesc(` Applies the helm chart in a given directory. This step is usually used to apply any GitOps promotion changes into a Staging or Production cluster. `) StepHelmApplyExample = templates.Examples(` # apply the chart in the env folder to namespace jx-staging jx step helm apply --dir env --namespace jx-staging `) )
var ( StepHelmBuildLong = templates.LongDesc(` Builds the helm chart in a given directory. This step is usually used to validate any GitOps Pull Requests. `) StepHelmBuildExample = templates.Examples(` # builds the helm chart in the env directory jx step helm build --dir env `) )
var ( 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 ( StepHelmReleaseLong = templates.LongDesc(` This pipeline step releases the Helm chart in the current directory `) StepHelmReleaseExample = templates.Examples(` jx step helm release `) )
var ( StepLinkServicesLong = templates.LongDesc(` This pipeline step helps to link microservices from different namespaces like staging/production onto a preview environment `) StepLinkServicesExample = templates.Examples(` #Link services from jx-staging namespace to the current namespace jx step link services --from-namespace jx-staging #Link services from jx-staging namespace to the jx-prod namespace jx step link services --from-namespace jx-staging --to-namespace jx-prod #Link services from jx-staging namespace to the jx-prod namespace including all but the ones starting with the characters 'cheese' jx step link services --from-namespace jx-staging --to-namespace jx-prod --includes * --excludes cheese* `) )
var ( StepNextBuildNumberLong = templates.LongDesc(` TGenerates the next build unique number for a pipeline `) StepNextBuildNumberExample = templates.Examples(` jx step next-buildnumber `) )
var ( StepNextVersionLong = templates.LongDesc(` This pipeline step command works out a semantic version, writes a file ./VERSION and optionally updates a file `) StepNextVersionExample = templates.Examples(` jx step next-version jx step next-version --filename package.json jx step next-version --filename package.json --tag jx step next-version --filename package.json --tag --version 1.2.3 `) )
var ( StepNexusDropLong = templates.LongDesc(` This pipeline step command drops a Staging Nexus Repository `) StepNexusDropExample = templates.Examples(` jx step nexus drop `) )
var ( StepNexusReleaseLong = templates.LongDesc(` This pipeline step command releases a Nexus staging repository `) StepNexusReleaseExample = templates.Examples(` jx step nexus release `) )
var ( StepPostBuildLong = templates.LongDesc(` This pipeline step performs post build actions such as CVE analysis `) StepPostBuildExample = templates.Examples(` jx step post build `) )
var ( 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 post build ${DOCKER_REGISTRY}/someorg/myapp `) )
var ( StepReportActivitiesLong = templates.LongDesc(` This pipeline step reports activities to pluggable backends like ElasticSearch `) StepReportActivitiesExample = templates.Examples(` jx step report activities `) )
var ( StepReportReleasesLong = templates.LongDesc(` This pipeline step reports releases to pluggable backends like ElasticSearch `) StepReportReleasesExample = templates.Examples(` jx step report Releases `) )
var ( StepVerifyLong = templates.LongDesc(` This pipeline step performs deployment verification `) StepVerifyExample = templates.Examples(` jx step verify `) )
var ( StepWaitForArtifactLong = templates.LongDesc(` Waits for the given artifact to be available in a maven style repository `) StepWaitForArtifactExample = templates.Examples(` # wait for a jx step gpg credentials # generate the git credentials to a output file jx step gpg credentials -o /tmp/mycreds `) )
var ErrExit = fmt.Errorf("exit")
ErrExit may be passed to CheckError to instruct it to output nothing but exit with status code 1.
Functions ¶
func BehaviorOnFatal ¶ added in v1.3.49
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 ¶ added in v1.3.49
func CheckErr(err error)
CheckErr prints a user friendly error to STDERR and exits with a non-zero exit code. Unrecognized errors will be printed with an "error: " prefix.
This method is generic to the command in use and may be used by non-Kubectl commands.
func ConfigureTestOptions ¶ added in v1.3.7
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 ¶ added in v1.3.16
func ConfigureTestOptionsWithResources(o *CommonOptions, k8sObjects []runtime.Object, jxObjects []runtime.Object, git gits.Gitter, helm helm.Helmer)
ConfigureTestOptions lets configure the options for use in tests using fake APIs to k8s cluster
func DefaultBehaviorOnFatal ¶ added in v1.3.49
func DefaultBehaviorOnFatal()
DefaultBehaviorOnFatal allows you to undo any previous override. Useful in tests.
func DigitSuffix ¶ added in v1.3.176
DigitSuffix outputs digital suffix
func ExtractConfigMap ¶ added in v1.3.176
ExtractConfigMap extracts a configmap
func ExtractReleases ¶ added in v1.3.176
func ExtractReleases(cms *v1.ConfigMapList) []string
ExtractReleases Extract a set of releases from a list of ConfigMaps
func ExtractSsoCookie ¶ added in v1.3.248
func ExtractVersions ¶ added in v1.3.176
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 ¶ added in v1.3.176
FindDevPodLabelFromJenkinsfile finds pod labels from a Jenkinsfile
func GetNamespaceNames ¶ added in v1.0.2
func GetNamespaceNames(client kubernetes.Interface) ([]string, error)
GetNamespaceNames returns the sorted list of environment names
func GetSafeUsername ¶ added in v1.3.160
func IsPipeline ¶ added in v1.0.10
func IsPipeline(j *gojenkins.Job) bool
func KubernetesProviderOptions ¶ added in v1.1.26
func KubernetesProviderOptions() string
KubernetesProviderOptions returns all the kubernetes providers as a string
func LoadVersionFromCloudEnvironmentsDir ¶ added in v1.3.176
LoadVersionFromCloudEnvironmentsDir loads a version from the cloud environments directory
func NewCmdCloudBees ¶ added in v1.2.62
func NewCmdCompletion ¶ added in v1.0.2
func NewCmdComplianceDelete ¶ added in v1.2.129
NewCmdComplianceDeletecreates a command object for the "compliance delete" action, which delete the Kubernetes resources allocated by the compliance tests
func NewCmdComplianceLogs ¶ added in v1.2.129
NewCmdComplianceLogs creates a command object for the "compliance logs" action, which prints the logs of compliance tests
func NewCmdComplianceResults ¶ added in v1.2.129
NewCmdComplianceResults creates a command object for the "compliance results" action, which shows the results of E2E compliance tests
func NewCmdComplianceRun ¶ added in v1.2.129
NewCmdComplianceRun creates a command object for the "compliance run" action, which starts the E2E compliance tests
func NewCmdComplianceStatus ¶ added in v1.2.129
NewCmdComplianceStatus creates a command object for the "compliance status" action, which retrieve the status of E2E compliance tests
func NewCmdContext ¶ added in v1.0.6
func NewCmdController ¶ added in v1.3.145
NewCmdController creates the edit command
func NewCmdControllerBackup ¶ added in v1.3.170
NewCmdControllerBackup creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdControllerBuild ¶ added in v1.3.145
NewCmdControllerBuild creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdControllerRole ¶ added in v1.3.193
func NewCmdControllerTeam ¶ added in v1.3.213
NewCmdControllerTeam creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdControllerWorkflow ¶ added in v1.3.169
NewCmdControllerWorkflow creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdCreate ¶ added in v1.0.2
NewCmdCreate creates a command object for the "create" command
func NewCmdCreateAddon ¶ added in v1.0.54
NewCmdCreateAddon creates a command object for the "create" command
func NewCmdCreateAddonAmbassador ¶ added in v1.1.72
NewCmdCreateAddonAmbassador creates a command object for the "create" command
func NewCmdCreateAddonAnchore ¶ added in v1.1.63
NewCmdCreateAddonAnchore creates a command object for the "create" command
func NewCmdCreateAddonCloudBees ¶ added in v1.2.62
NewCmdCreateAddonCloudBees creates a command object for the "create" command
func NewCmdCreateAddonGitea ¶ added in v1.0.54
NewCmdCreateAddonGitea creates a command object for the "create" command
func NewCmdCreateAddonIstio ¶ added in v1.2.120
NewCmdCreateAddonIstio creates a command object for the "create" command
func NewCmdCreateAddonKnativeBuild ¶ added in v1.3.164
func NewCmdCreateAddonKubeless ¶ added in v1.1.56
NewCmdCreateAddonKubeless creates a command object for the "create" command
func NewCmdCreateAddonOwasp ¶ added in v1.3.91
func NewCmdCreateAddonPipelineEvents ¶ added in v1.2.77
NewCmdCreateAddonPipelineEvents creates a command object for the "create" command
func NewCmdCreateAddonProw ¶ added in v1.3.93
NewCmdCreateAddonProw creates a command object for the "create" command
func NewCmdCreateAddonSSO ¶ added in v1.3.207
NewCmdCreateAddonSSO creates a command object for the "create sso" command
func NewCmdCreateArchetype ¶ added in v1.0.2
NewCmdCreateArchetype creates a command object for the "create" command
func NewCmdCreateBranchPattern ¶ added in v1.2.84
NewCmdCreateBranchPattern creates a command object for the "create" command
func NewCmdCreateBuild ¶ added in v1.3.148
NewCmdCreateBuild Creates a new Command object
func NewCmdCreateCamel ¶ added in v1.2.120
NewCmdCreateCamel creates a command object for the "create" command
func NewCmdCreateChat ¶ added in v1.1.67
NewCmdCreateChat creates a command object for the "create" command
func NewCmdCreateChatServer ¶ added in v1.1.67
NewCmdCreateChatServer creates a command object for the "create" command
func NewCmdCreateChatToken ¶ added in v1.1.67
NewCmdCreateChatToken creates a command
func NewCmdCreateCluster ¶ added in v1.0.2
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdCreateClusterAKS ¶ added in v1.0.2
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 ¶ added in v1.1.4
NewCmdCreateClusterAWS creates the command
func NewCmdCreateClusterEKS ¶ added in v1.3.53
NewCmdCreateClusterEKS creates the command
func NewCmdCreateClusterGKE ¶ added in v1.0.2
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdCreateClusterGKETerraform ¶ added in v1.2.124
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 ¶ added in v1.0.2
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 ¶ added in v1.2.11
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 ¶ added in v1.3.67
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 ¶ added in v1.3.98
NewCmdCreateCodeship creates a command object for the "create" command
func NewCmdCreateDevPod ¶ added in v1.2.30
NewCmdCreateDevPod creates a command object for the "create" command
func NewCmdCreateDockerAuth ¶ added in v1.3.205
NewCmdCreateIssue creates a command object for the "create" command
func NewCmdCreateDocs ¶ added in v1.0.61
NewCmdCreateDocs creates a command object for the "create" command
func NewCmdCreateEnv ¶ added in v1.0.2
NewCmdCreateEnv creates a command object for the "create" command
func NewCmdCreateEtcHosts ¶ added in v1.0.55
NewCmdCreateEtcHosts creates a command object for the "create" command
func NewCmdCreateGit ¶ added in v1.0.16
NewCmdCreateGit creates a command object for the "create" command
func NewCmdCreateGitServer ¶ added in v1.0.40
NewCmdCreateGitServer creates a command object for the "create" command
func NewCmdCreateGitToken ¶ added in v1.0.43
NewCmdCreateGitToken creates a command
func NewCmdCreateGitUser ¶ added in v1.0.40
NewCmdCreateGitUser creates a command
func NewCmdCreateGkeServiceAccount ¶ added in v1.3.114
NewCmdCreateGkeServiceAccount creates a command object for the "create" command
func NewCmdCreateIssue ¶ added in v1.0.112
NewCmdCreateIssue creates a command object for the "create" command
func NewCmdCreateJHipster ¶ added in v1.2.83
NewCmdCreateJHipster creates a command object for the "create" command
func NewCmdCreateJenkins ¶ added in v1.0.41
NewCmdCreateJenkins creates a command object for the "create" command
func NewCmdCreateJenkinsUser ¶ added in v1.0.41
NewCmdCreateJenkinsUser creates a command
func NewCmdCreateLile ¶ added in v1.1.64
NewCmdCreateLile creates a command object for the "create" command
func NewCmdCreateMicro ¶ added in v1.2.9
NewCmdCreateMicro creates a command object for the "create" command
func NewCmdCreatePostPreviewJob ¶ added in v1.3.46
NewCmdCreatePostPreviewJob creates a command object for the "create" command
func NewCmdCreateQuickstart ¶ added in v1.1.4
NewCmdCreateQuickstart creates a command object for the "create" command
func NewCmdCreateQuickstartLocation ¶ added in v1.2.84
NewCmdCreateQuickstartLocation creates a command object for the "create" command
func NewCmdCreateSpring ¶ added in v1.0.2
NewCmdCreateSpring creates a command object for the "create" command
func NewCmdCreateTeam ¶ added in v1.3.146
NewCmdCreateTeam creates a command object for the "create" command
func NewCmdCreateTerraform ¶ added in v1.3.29
NewCmdCreateTerraform creates a command object for the "create" command
func NewCmdCreateToken ¶ added in v1.1.69
NewCmdCreateToken creates a command object for the "create" command
func NewCmdCreateTokenAddon ¶ added in v1.1.69
NewCmdCreateTokenAddon creates a command
func NewCmdCreateTracker ¶ added in v1.1.23
NewCmdCreateTracker creates a command object for the "create" command
func NewCmdCreateTrackerServer ¶ added in v1.1.23
NewCmdCreateTrackerServer creates a command object for the "create" command
func NewCmdCreateTrackerToken ¶ added in v1.1.23
NewCmdCreateTrackerToken creates a command
func NewCmdCreateUser ¶ added in v1.3.146
NewCmdCreateUser creates a command object for the "create" command
func NewCmdDelete ¶ added in v1.0.6
NewCmdDelete creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteAddon ¶ added in v1.0.54
NewCmdDeleteAddon creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteAddonCloudBees ¶ added in v1.2.62
NewCmdDeleteAddonCloudBees defines the command
func NewCmdDeleteAddonGitea ¶ added in v1.0.54
NewCmdDeleteAddonGitea defines the command
func NewCmdDeleteApp ¶ added in v1.2.38
NewCmdDeleteApp creates a command object for this command
func NewCmdDeleteChat ¶ added in v1.1.67
NewCmdDeleteChat creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteChatServer ¶ added in v1.1.67
NewCmdDeleteChatServer defines the command
func NewCmdDeleteChatToken ¶ added in v1.1.67
NewCmdDeleteChatToken defines the command
func NewCmdDeleteContext ¶ added in v1.0.119
NewCmdDeleteContext creates a command object for the "delete repo" command
func NewCmdDeleteDevPod ¶ added in v1.2.30
NewCmdDeleteDevPod creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteEnv ¶ added in v1.0.6
NewCmdDeleteEnv creates a command object for the "delete repo" command
func NewCmdDeleteGit ¶ added in v1.0.39
NewCmdDeleteGit creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteGitServer ¶ added in v1.0.40
NewCmdDeleteGitServer defines the command
func NewCmdDeleteGitToken ¶ added in v1.0.45
NewCmdDeleteGitToken defines the command
func NewCmdDeleteJenkins ¶ added in v1.0.41
NewCmdDeleteJenkins creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteJenkinsUser ¶ added in v1.0.41
NewCmdDeleteJenkinsUser defines the command
func NewCmdDeletePostPreviewJob ¶ added in v1.3.46
NewCmdDeletePostPreviewJob creates a command object for the "create" command
func NewCmdDeletePreview ¶ added in v1.2.75
NewCmdDeletePreview creates a command object
func NewCmdDeleteQuickstartLocation ¶ added in v1.2.84
NewCmdDeleteQuickstartLocation defines the command
func NewCmdDeleteRepo ¶ added in v1.0.6
NewCmdDeleteRepo creates a command object for the "delete repo" command
func NewCmdDeleteTeam ¶ added in v1.3.69
NewCmdDeleteTeam creates a command object retrieves one or more resources from a server.
func NewCmdDeleteToken ¶ added in v1.1.69
NewCmdDeleteToken creates a command object retrieves one or more resources from a server.
func NewCmdDeleteTokenAddon ¶ added in v1.1.69
NewCmdDeleteTokenAddon defines the command
func NewCmdDeleteTracker ¶ added in v1.1.23
NewCmdDeleteTracker creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteTrackerServer ¶ added in v1.1.23
NewCmdDeleteTrackerServer defines the command
func NewCmdDeleteTrackerToken ¶ added in v1.1.56
NewCmdDeleteTrackerToken defines the command
func NewCmdDeleteUser ¶ added in v1.3.146
NewCmdDeleteUser creates a command object retrieves one or more resources from a server.
func NewCmdEdit ¶ added in v1.0.2
NewCmdEdit creates the edit command
func NewCmdEditAddon ¶ added in v1.1.33
NewCmdEditAddon creates a command object for the "create" command
func NewCmdEditBuildpack ¶ added in v1.2.107
NewCmdEditBuildpack creates a command object for the "create" command
func NewCmdEditConfig ¶ added in v1.1.23
NewCmdEditConfig creates a command object for the "create" command
func NewCmdEditEnv ¶ added in v1.0.2
NewCmdEditEnv creates a command object for the "create" command
func NewCmdEditHelmBin ¶ added in v1.2.132
NewCmdEditHelmBin creates a command object for the "create" command
func NewCmdEditUserRole ¶ added in v1.3.249
NewCmdEditUserRole creates a command object for the "create" command
func NewCmdEnvironment ¶ added in v1.0.2
func NewCmdGC ¶ added in v1.2.83
NewCmdGC creates a command object for the generic "gc" action, which retrieves one or more resources from a server.
func NewCmdGCActivities ¶ added in v1.2.83
NewCmd s a command object for the "step" command
func NewCmdGCGKE ¶ added in v1.3.31
NewCmd s a command object for the "step" command
func NewCmdGCHelm ¶ added in v1.2.138
NewCmdGCHelm a command object for the "garbage collect" command
func NewCmdGCPreviews ¶ added in v1.2.83
NewCmd s a command object for the "step" command
func NewCmdGCReleases ¶ added in v1.3.171
NewCmd s a command object for the "step" command
func NewCmdGet ¶
NewCmdGet creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdGetAWSInfo ¶ added in v1.3.61
NewCmdGetAWSInfo creates the new command for: jx get env
func NewCmdGetActivity ¶ added in v1.0.84
NewCmdGetActivity creates the new command for: jx get version
func NewCmdGetAddon ¶ added in v1.0.54
NewCmdGetAddon creates the command
func NewCmdGetApplications ¶ added in v1.1.32
NewCmdGetApplications creates the new command for: jx get version
func NewCmdGetBranchPattern ¶ added in v1.2.84
NewCmdGetBranchPattern creates the new command for: jx get env
func NewCmdGetBuild ¶ added in v1.0.61
NewCmdGetBuild creates the command object
func NewCmdGetBuildLogs ¶ added in v1.0.61
NewCmdGetBuildLogs creates the command
func NewCmdGetBuildPack ¶ added in v1.2.107
NewCmdGetBuildPack creates the new command for: jx get env
func NewCmdGetCVE ¶ added in v1.2.27
NewCmdGetCVE creates the command
func NewCmdGetChat ¶ added in v1.1.67
NewCmdGetChat creates the command
func NewCmdGetConfig ¶ added in v1.1.23
NewCmdGetConfig creates the command
func NewCmdGetDevPod ¶ added in v1.2.30
NewCmdGetDevPod creates the command
func NewCmdGetEnv ¶ added in v1.0.2
NewCmdGetEnv creates the new command for: jx get env
func NewCmdGetGit ¶ added in v1.0.16
NewCmdGetGit creates the command
func NewCmdGetHelmBin ¶ added in v1.2.132
NewCmdGetHelmBin creates the new command for: jx get env
func NewCmdGetIssue ¶ added in v1.3.5
NewCmdGetIssue creates the command
func NewCmdGetIssues ¶ added in v1.1.23
NewCmdGetIssues creates the command
func NewCmdGetPipeline ¶ added in v1.0.2
NewCmdGetPipeline creates the command
func NewCmdGetPostPreviewJob ¶ added in v1.3.46
NewCmdGetPostPreviewJob creates a command object for the "create" command
func NewCmdGetPreview ¶ added in v1.2.75
NewCmdGetPreview creates the new command for: jx get env
func NewCmdGetQuickstartLocation ¶ added in v1.2.84
NewCmdGetQuickstartLocation creates the new command for: jx get env
func NewCmdGetRelease ¶ added in v1.3.171
NewCmdGetRelease creates the new command for: jx get env
func NewCmdGetTeam ¶ added in v1.3.27
NewCmdGetTeam creates the new command for: jx get env
func NewCmdGetTeamRole ¶ added in v1.3.249
NewCmdGetTeamRole creates the new command for: jx get env
func NewCmdGetToken ¶ added in v1.1.69
NewCmdGetToken creates the command
func NewCmdGetTokenAddon ¶ added in v1.1.69
NewCmdGetTokenAddon creates the command
func NewCmdGetTracker ¶ added in v1.1.23
NewCmdGetTracker creates the command
func NewCmdGetURL ¶ added in v1.0.2
NewCmdGetURL creates the command
func NewCmdGetUser ¶ added in v1.3.146
NewCmdGetUser creates the new command for: jx get env
func NewCmdGetWorkflow ¶ added in v1.3.166
NewCmdGetWorkflow creates the new command for: jx get env
func NewCmdInit ¶ added in v1.0.2
NewCmdInit creates a command object for the generic "init" action, which primes a kubernetes cluster so it's ready for jenkins x to be installed
func NewCmdInstall ¶
NewCmdGet creates a command object for the generic "install" action, which installs the jenkins-x platform on a kubernetes cluster.
func NewCmdLogin ¶ added in v1.3.248
func NewCmdLogs ¶ added in v1.0.2
func NewCmdMetrics ¶ added in v1.0.8
func NewCmdNamespace ¶
func NewCmdOptions ¶ added in v1.3.180
NewCmdOptions implements the options command
func NewCmdPreview ¶ added in v1.0.83
NewCmdPreview creates a command object for the "create" command
func NewCmdPromote ¶ added in v1.0.2
NewCmdPromote creates the new command for: jx get prompt
func NewCmdPrompt ¶ added in v1.0.2
NewCmdPrompt creates the new command for: jx get prompt
func NewCmdRepo ¶ added in v1.2.132
func NewCmdScan ¶ added in v1.3.179
NewCmdScan creates a command object for the "scan" command
func NewCmdScanCluster ¶ added in v1.3.179
NewCmdScanCluster creates a command object for "scan cluster" command
func NewCmdShell ¶ added in v1.0.6
func NewCmdStart ¶ added in v1.0.10
NewCmdStart creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdStartPipeline ¶ added in v1.0.10
NewCmdStartPipeline creates the command
func NewCmdStatus ¶ added in v1.1.41
func NewCmdStep ¶ added in v1.0.19
NewCmdStep Steps a command object for the "step" command
func NewCmdStepBlog ¶ added in v1.1.67
NewCmdStepBlog Creates a new Command object
func NewCmdStepChangelog ¶ added in v1.0.90
func NewCmdStepGit ¶ added in v1.1.61
NewCmdStepGit Steps a command object for the "step" command
func NewCmdStepGitCredentials ¶ added in v1.1.61
func NewCmdStepGpgCredentials ¶ added in v1.2.95
func NewCmdStepHelm ¶ added in v1.2.132
NewCmdStepHelm Steps a command object for the "step" command
func NewCmdStepHelmApply ¶ added in v1.2.141
func NewCmdStepHelmBuild ¶ added in v1.2.141
func NewCmdStepHelmEnv ¶ added in v1.3.249
func NewCmdStepHelmRelease ¶ added in v1.2.132
func NewCmdStepLinkServices ¶ added in v1.3.71
NewCmdStepLinkServices Creates a new Command object
func NewCmdStepNextBuildNumber ¶ added in v1.3.252
func NewCmdStepNextVersion ¶ added in v1.2.60
func NewCmdStepNexus ¶ added in v1.0.26
NewCmdStepNexus Steps a command object for the "step" command
func NewCmdStepNexusDrop ¶ added in v1.0.26
func NewCmdStepNexusRelease ¶ added in v1.0.26
func NewCmdStepPR ¶ added in v1.0.91
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPRComment ¶ added in v1.0.91
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPost ¶ added in v1.2.27
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPostBuild ¶ added in v1.2.27
func NewCmdStepPre ¶ added in v1.3.61
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPreBuild ¶ added in v1.3.61
func NewCmdStepRelease ¶ added in v1.3.137
NewCmdStep Steps a command object for the "step" command
func NewCmdStepReport ¶ added in v1.2.77
NewCmdStep Steps a command object for the "step" command
func NewCmdStepReportActivities ¶ added in v1.2.77
func NewCmdStepReportReleases ¶ added in v1.2.106
func NewCmdStepSplitMonorepo ¶ added in v1.2.62
NewCmdStepSplitMonorepo Creates a new Command object
func NewCmdStepTag ¶ added in v1.0.19
func NewCmdStepValidate ¶ added in v1.1.60
NewCmdStepValidate Creates a new Command object
func NewCmdStepVerify ¶ added in v1.3.127
func NewCmdStepWaitForArtifact ¶ added in v1.2.97
func NewCmdStop ¶ added in v1.2.67
NewCmdStop creates the command object
func NewCmdStopPipeline ¶ added in v1.2.67
NewCmdStopPipeline creates the command
func NewCmdSync ¶ added in v1.2.30
func NewCmdTeam ¶ added in v1.3.27
func NewCmdUninstall ¶ added in v1.0.2
func NewCmdUpdate ¶ added in v1.2.125
NewCmdUpdate creates a command object for the "update" command
func NewCmdUpdateCluster ¶ added in v1.2.125
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 ¶ added in v1.2.125
func NewCmdUpdateClusterGKETerraform ¶ added in v1.2.125
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdUpgrade ¶ added in v1.0.51
NewCmdUpgrade creates the command
func NewCmdUpgradeCLI ¶ added in v1.1.56
NewCmdUpgradeCLI defines the command
func NewCmdUpgradeCluster ¶ added in v1.2.79
NewCmdUpgradeCluster defines the command
func NewCmdUpgradeIngress ¶ added in v1.3.90
NewCmdUpgradeIngress defines the command
func NewCmdUpgradePlatform ¶ added in v1.0.51
NewCmdUpgradePlatform defines the command
func NewCompliance ¶ added in v1.2.129
NewCompliance creates a command object for the generic "compliance" action, which executes the compliance tests against a Kubernetes cluster
func NewJXCommand ¶
NewJXCommand creates the `jx` command and its nested children.
func ProjectExists ¶ added in v1.3.98
func PullRequestURLToNumber ¶ added in v1.3.176
PullRequestURLToNumber turns pull request URL to number
func StandardErrorMessage ¶ added in v1.3.49
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 UsageError ¶ added in v1.3.49
func VersionsToDelete ¶ added in v1.3.176
VersionsToDelete returns a slice of strings
Types ¶
type ArgumentSpec ¶ added in v1.3.148
type ArgumentSpec struct { // Name is the name of the argument. Name string `json:"name"` // Value is the value of the argument. Value string `json:"value"` }
ArgumentSpec defines the actual values to use to populate a template's parameters.
type BranchPatterns ¶ added in v1.2.84
type Build ¶ added in v1.3.148
type Build struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BuildSpec `json:"spec"` Status BuildStatus `json:"status"` }
Build represents a build of a container image. A Build is made up of a source, and a set of steps. Steps can mount volumes to share data between themselves. A build may be created by instantiating a BuildTemplate.
func (*Build) GetGeneration ¶ added in v1.3.148
GetGeneration returns the generation number of this object.
func (*Build) SetGeneration ¶ added in v1.3.148
SetGeneration sets the generation number of this object.
type BuildCondition ¶ added in v1.3.148
type BuildCondition struct { // Type is the type of the condition. Type BuildConditionType `json:"state"` // Status is one of True, False or Unknown. Status corev1.ConditionStatus `json:"status" description:"status of the condition, one of True, False, Unknown"` // Reason is a one-word CamelCase reason for the condition's last // transition. // +optional Reason string `json:"reason,omitempty" description:"one-word CamelCase reason for the condition's last transition"` // Message is a human-readable message indicating details about the // last transition. // +optional Message string `json:"message,omitempty" description:"human-readable message indicating details about last transition"` }
BuildCondition defines a readiness condition for a Build. See: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#typical-status-properties
type BuildConditionType ¶ added in v1.3.148
type BuildConditionType string
BuildConditionType defines types of build conditions.
const BuildSucceeded BuildConditionType = "Succeeded"
BuildSucceeded is set when the build is running, and becomes True when the build finishes successfully.
If the build is ongoing, its status will be Unknown. If it fails, its status will be False.
type BuildList ¶ added in v1.3.148
type BuildList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` // Items is the list of Build items in this list. Items []Build `json:"items"` }
BuildList is a list of Build resources
type BuildParams ¶ added in v1.3.247
type BuildParams struct { GitOwner string GitRepository string BranchName string BuildNumber string }
func (*BuildParams) DefaultValuesFromEnvVars ¶ added in v1.3.247
func (p *BuildParams) DefaultValuesFromEnvVars(envVars []corev1.EnvVar)
DefaultValuesFromEnvVars defaults values from the environment variables
func (*BuildParams) MatchesPipeline ¶ added in v1.3.247
func (p *BuildParams) MatchesPipeline(activity *v1.PipelineActivity) bool
MatchesPipeline returns true if the given pipeline matches the build parameters
type BuildProvider ¶ added in v1.3.148
type BuildProvider string
BuildProvider defines a build execution implementation.
const ( // GoogleBuildProvider indicates that this build was performed with Google Cloud Build. GoogleBuildProvider BuildProvider = "Google" // ClusterBuildProvider indicates that this build was performed on-cluster. ClusterBuildProvider BuildProvider = "Cluster" )
type BuildSpec ¶ added in v1.3.148
type BuildSpec struct { // TODO: Generation does not work correctly with CRD. They are scrubbed // by the APIserver (https://github.com/kubernetes/kubernetes/issues/58778) // So, we add Generation here. Once that gets fixed, remove this and use // ObjectMeta.Generation instead. // +optional Generation int64 `json:"generation,omitempty"` // Source specifies the input to the build. Source *SourceSpec `json:"source,omitempty"` // Steps are the steps of the build; each step is run sequentially with the // source mounted into /workspace. Steps []corev1.Container `json:"steps,omitempty"` // Volumes is a collection of volumes that are available to mount into the // steps of the build. Volumes []corev1.Volume `json:"volumes,omitempty"` // The name of the service account as which to run this build. ServiceAccountName string `json:"serviceAccountName,omitempty"` // Template, if specified, references a BuildTemplate resource to use to // populate fields in the build, and optional Arguments to pass to the // template. Template *TemplateInstantiationSpec `json:"template,omitempty"` // NodeSelector is a selector which must be true for the pod to fit on a node. // Selector which must match a node's labels for the pod to be scheduled on that node. // More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ // +optional NodeSelector map[string]string `json:"nodeSelector,omitempty"` }
BuildSpec is the spec for a Build resource.
type BuildStatus ¶ added in v1.3.148
type BuildStatus struct { Builder BuildProvider `json:"builder,omitempty"` // Cluster provides additional information if the builder is Cluster. Cluster *ClusterSpec `json:"cluster,omitempty"` // Google provides additional information if the builder is Google. Google *GoogleSpec `json:"google,omitempty"` // StartTime is the time the build started. StartTime metav1.Time `json:"startTime,omitEmpty"` // CompletionTime is the time the build completed. CompletionTime metav1.Time `json:"completionTime,omitEmpty"` // StepStates describes the state of each build step container. StepStates []corev1.ContainerState `json:"stepStates,omitEmpty"` // Conditions describes the set of conditions of this build. Conditions []BuildCondition `json:"conditions,omitempty"` StepsCompleted []string `json:"stepsCompleted"` }
BuildStatus is the status for a Build resource
func (*BuildStatus) GetCondition ¶ added in v1.3.148
func (bs *BuildStatus) GetCondition(t BuildConditionType) *BuildCondition
GetCondition returns the Condition matching the given type.
func (*BuildStatus) RemoveCondition ¶ added in v1.3.148
func (b *BuildStatus) RemoveCondition(t BuildConditionType)
RemoveCondition removes any condition with the given type.
func (*BuildStatus) SetCondition ¶ added in v1.3.148
func (b *BuildStatus) SetCondition(newCond *BuildCondition)
SetCondition sets the condition, unsetting previous conditions with the same type as necessary.
type ByVersion ¶ added in v1.2.138
type ByVersion []string
Components for sorting versions by numeric version number where version name ends in .vddd where ddd is an arbitrary sequence of digits
type CallbackFn ¶ added in v1.2.67
type CallbackFn func() error
type CloudBeesOptions ¶ added in v1.2.62
type CloudBeesOptions struct { CommonOptions OnlyViewURL bool }
func (*CloudBeesOptions) Open ¶ added in v1.2.62
func (o *CloudBeesOptions) Open(name string, label string) error
func (*CloudBeesOptions) OpenURL ¶ added in v1.2.62
func (o *CloudBeesOptions) OpenURL(url string, label string) error
func (*CloudBeesOptions) Run ¶ added in v1.2.62
func (o *CloudBeesOptions) Run() error
type Cluster ¶ added in v1.3.29
type Cluster interface { Name() string SetName(string) string ClusterName() string Provider() string SetProvider(string) string Context() string CreateTfVarsFile(path string) error }
Cluster interface for Clusters
type ClusterSpec ¶ added in v1.3.148
type ClusterSpec struct { // Namespace is the namespace in which the pod is running. Namespace string `json:"namespace"` // PodName is the name of the pod responsible for executing this build's steps. PodName string `json:"podName"` }
ClusterSpec provides information about the on-cluster build, if applicable.
type CommonOptions ¶
type CommonOptions struct { Factory Factory Out io.Writer Err io.Writer Cmd *cobra.Command Args []string BatchMode bool Verbose bool Headless bool NoBrew bool InstallDependencies bool SkipAuthSecretsMerge bool ServiceAccount string Username string // common cached clients KubeClientCached kubernetes.Interface GitClient gits.Gitter Prow // contains filtered or unexported fields }
CommonOptions contains common options and helper methods
func NewCommonOptions ¶ added in v1.3.169
func NewCommonOptions(devNamespace string, factory Factory) CommonOptions
NewCommonOptions a helper method to create a new CommonOptions instance pre configured in a specific devNamespace
func (*CommonOptions) CleanExposecontrollerReources ¶ added in v1.3.176
func (o *CommonOptions) CleanExposecontrollerReources(ns string)
CleanExposecontrollerReources cleans expose controller resources
func (*CommonOptions) CreateAddonAuthConfigService ¶ added in v1.1.69
func (o *CommonOptions) CreateAddonAuthConfigService() (auth.AuthConfigService, error)
func (*CommonOptions) CreateApiExtensionsClient ¶ added in v1.2.133
func (o *CommonOptions) CreateApiExtensionsClient() (apiextensionsclientset.Interface, error)
func (*CommonOptions) CreateChatAuthConfigService ¶ added in v1.1.67
func (o *CommonOptions) CreateChatAuthConfigService() (auth.AuthConfigService, error)
func (*CommonOptions) CreateGitAuthConfigService ¶ added in v1.3.2
func (o *CommonOptions) CreateGitAuthConfigService() (auth.AuthConfigService, error)
func (*CommonOptions) CreateGitAuthConfigServiceDryRun ¶ added in v1.3.2
func (o *CommonOptions) CreateGitAuthConfigServiceDryRun(dryRun bool) (auth.AuthConfigService, error)
func (*CommonOptions) CreateGitAuthConfigServiceFromSecrets ¶ added in v1.3.176
func (o *CommonOptions) CreateGitAuthConfigServiceFromSecrets(fileName string, secrets *corev1.SecretList, isCDPipeline bool) (auth.AuthConfigService, error)
CreateGitAuthConfigServiceFromSecrets Creates a git auth config service from secrets
func (*CommonOptions) CreateIssueTrackerAuthConfigService ¶ added in v1.1.56
func (o *CommonOptions) CreateIssueTrackerAuthConfigService() (auth.AuthConfigService, error)
func (*CommonOptions) CreateTable ¶
func (c *CommonOptions) CreateTable() table.Table
func (*CommonOptions) Debugf ¶ added in v1.1.72
func (c *CommonOptions) Debugf(format string, a ...interface{})
Debugf outputs the given text to the console if verbose mode is enabled
func (*CommonOptions) DiscoverAppName ¶ added in v1.3.127
func (o *CommonOptions) DiscoverAppName() (string, error)
func (*CommonOptions) FindGitInfo ¶ added in v1.3.137
func (o *CommonOptions) FindGitInfo(dir string) (*gits.GitRepositoryInfo, error)
func (*CommonOptions) FindHelmChart ¶ added in v1.0.90
func (o *CommonOptions) FindHelmChart() (string, error)
func (*CommonOptions) GetCloudProvider ¶ added in v1.0.38
func (o *CommonOptions) GetCloudProvider(p string) (string, error)
func (*CommonOptions) GetClusterUserName ¶ added in v1.3.93
func (o *CommonOptions) GetClusterUserName() (string, error)
func (*CommonOptions) GetDomain ¶ added in v1.0.38
func (o *CommonOptions) GetDomain(client kubernetes.Interface, domain string, provider string, ingressNamespace string, ingressService string, externalIP string) (string, error)
func (*CommonOptions) GetJenkinsURL ¶ added in v1.3.3
func (o *CommonOptions) GetJenkinsURL() (string, error)
func (*CommonOptions) GetLatestJXVersion ¶ added in v1.3.159
func (o *CommonOptions) GetLatestJXVersion() (semver.Version, error)
func (*CommonOptions) Git ¶ added in v1.3.30
func (o *CommonOptions) Git() gits.Gitter
func (*CommonOptions) GitServerHostURLKind ¶ added in v1.1.72
func (o *CommonOptions) GitServerHostURLKind(hostURL string) (string, error)
func (*CommonOptions) GitServerKind ¶ added in v1.0.114
func (o *CommonOptions) GitServerKind(gitInfo *gits.GitRepositoryInfo) (string, error)
func (*CommonOptions) Helm ¶ added in v1.3.68
func (o *CommonOptions) Helm() helm.Helmer
func (*CommonOptions) ImportProject ¶ added in v1.1.72
func (o *CommonOptions) ImportProject(gitURL string, dir string, jenkinsfile string, branchPattern, credentials string, failIfExists bool, gitProvider gits.GitProvider, authConfigSvc auth.AuthConfigService, isEnvironment bool, batchMode bool) error
ImportProject imports a MultiBranchProject into Jenkins for the given git URL
func (*CommonOptions) JXClient ¶ added in v1.0.2
func (o *CommonOptions) JXClient() (versioned.Interface, string, error)
func (*CommonOptions) JXClientAndAdminNamespace ¶ added in v1.3.146
func (o *CommonOptions) JXClientAndAdminNamespace() (versioned.Interface, string, error)
func (*CommonOptions) JXClientAndDevNamespace ¶ added in v1.0.114
func (o *CommonOptions) JXClientAndDevNamespace() (versioned.Interface, string, error)
func (*CommonOptions) JenkinsClient ¶ added in v1.0.10
func (o *CommonOptions) JenkinsClient() (*gojenkins.Jenkins, error)
func (*CommonOptions) KubeClient ¶ added in v1.0.2
func (o *CommonOptions) KubeClient() (kubernetes.Interface, string, error)
func (*CommonOptions) KubeClientAndDevNamespace ¶ added in v1.3.148
func (o *CommonOptions) KubeClientAndDevNamespace() (kubernetes.Interface, string, error)
KubeClientAndDevNamespace returns a kube client and the development namespace
func (*CommonOptions) LoadPipelineSecrets ¶ added in v1.3.2
func (o *CommonOptions) LoadPipelineSecrets(kind, serviceKind string) (*corev1.SecretList, error)
func (*CommonOptions) ModifyDevEnvironment ¶ added in v1.2.107
func (o *CommonOptions) ModifyDevEnvironment(callback func(env *v1.Environment) error) error
ModifyDevEnvironment modifies the development environment settings
func (*CommonOptions) ModifyTeam ¶ added in v1.3.146
ModifyTeam lazily creates the team if it does not exist or updates it if it requires a change
func (*CommonOptions) ModifyUser ¶ added in v1.3.146
ModifyUser lazily creates the user if it does not exist or updates it if it requires a change
func (*CommonOptions) Run ¶ added in v1.0.2
func (o *CommonOptions) Run() error
func (*CommonOptions) RunCommand ¶ added in v1.3.176
func (o *CommonOptions) RunCommand(name string, args ...string) error
RunCommand runs a command
func (*CommonOptions) Stdout ¶ added in v1.1.60
func (c *CommonOptions) Stdout() io.Writer
func (*CommonOptions) TeamAndEnvironmentNames ¶ added in v1.0.2
func (o *CommonOptions) TeamAndEnvironmentNames() (string, string, error)
func (*CommonOptions) TeamBranchPatterns ¶ added in v1.2.84
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 ¶ added in v1.2.132
func (o *CommonOptions) TeamHelmBin() (string, bool, error)
TeamHelmBin returns the helm binary used for a team and whether a remote tiller is disabled
func (*CommonOptions) TeamSettings ¶ added in v1.2.107
func (o *CommonOptions) TeamSettings() (*v1.TeamSettings, error)
TeamSettings returns the team settings
type ComplianceDeleteOptions ¶ added in v1.2.129
type ComplianceDeleteOptions struct {
CommonOptions
}
ComplianceDeleteOptions options for "compliance delete" command
func (*ComplianceDeleteOptions) Run ¶ added in v1.2.129
func (o *ComplianceDeleteOptions) Run() error
Run implements the "compliance delete" command
type ComplianceLogsOptions ¶ added in v1.2.129
type ComplianceLogsOptions struct { CommonOptions Follow bool }
ComplianceLogsOptions options for "compliance logs" command
func (*ComplianceLogsOptions) Run ¶ added in v1.2.129
func (o *ComplianceLogsOptions) Run() error
Run implements the "compliance logs" command
type ComplianceOptions ¶ added in v1.2.129
type ComplianceOptions struct {
CommonOptions
}
ComplianceOptions options for compliance command
func (*ComplianceOptions) Run ¶ added in v1.2.129
func (o *ComplianceOptions) Run() error
Run implements the compliance root command
type ComplianceResultsOptions ¶ added in v1.2.129
type ComplianceResultsOptions struct {
CommonOptions
}
ComplianceResultsOptions options for "compliance results" command
func (*ComplianceResultsOptions) Exit ¶ added in v1.3.94
func (o *ComplianceResultsOptions) Exit(status int)
Exit the main goroutine with status
func (*ComplianceResultsOptions) Run ¶ added in v1.2.129
func (o *ComplianceResultsOptions) Run() error
Run implements the "compliance results" command
type ComplianceRunOptions ¶ added in v1.2.129
type ComplianceRunOptions struct {
CommonOptions
}
ComplianceRuntOptions options for "compliance run" command
func (*ComplianceRunOptions) Run ¶ added in v1.2.129
func (o *ComplianceRunOptions) Run() error
Run implements the "compliance run" command
type ComplianceStatusOptions ¶ added in v1.2.129
type ComplianceStatusOptions struct {
CommonOptions
}
ComplianceStatusOptions options for "compliance status" command
func (*ComplianceStatusOptions) Run ¶ added in v1.2.129
func (o *ComplianceStatusOptions) Run() error
Run implements the "compliance status" command
type ConfigureGitFolderFn ¶ added in v1.3.212
type ConfigureGitFolderFn func(dir string, gitInfo *gits.GitRepositoryInfo, gitAdapter gits.Gitter) error
ConfigureGitFolderFn callback to optionally configure git before its used for creating commits and PRs
type ConsoleOptions ¶
type ConsoleOptions struct { GetURLOptions OnlyViewURL bool ClassicMode bool }
func (*ConsoleOptions) Run ¶
func (o *ConsoleOptions) Run() error
type ContextOptions ¶ added in v1.0.6
type ContextOptions struct {
CommonOptions
}
func (*ContextOptions) PickContext ¶ added in v1.0.6
func (o *ContextOptions) PickContext(names []string, defaultValue string) (string, error)
func (*ContextOptions) Run ¶ added in v1.0.6
func (o *ContextOptions) Run() error
type ControllerBackupOptions ¶ added in v1.3.170
type ControllerBackupOptions struct { ControllerOptions GitRepositoryOptions gits.GitRepositoryOptions Namespace string Organisation string }
ControllerBackupOptions are the flags for the commands
func (*ControllerBackupOptions) Run ¶ added in v1.3.170
func (o *ControllerBackupOptions) Run() error
Run implements this command
type ControllerBuildOptions ¶ added in v1.3.145
type ControllerBuildOptions struct { ControllerOptions Namespace string }
ControllerBuildOptions are the flags for the commands
func (*ControllerBuildOptions) Run ¶ added in v1.3.145
func (o *ControllerBuildOptions) Run() error
Run implements this command
type ControllerOptions ¶ added in v1.3.145
type ControllerOptions struct {
CommonOptions
}
ControllerOptions contains the CLI options
func (*ControllerOptions) Run ¶ added in v1.3.145
func (o *ControllerOptions) Run() error
Run implements this command
type ControllerRoleFlags ¶ added in v1.3.193
type ControllerRoleFlags struct {
Version string
}
type ControllerRoleOptions ¶ added in v1.3.193
type ControllerRoleOptions struct { ControllerOptions NoWatch bool Roles map[string]*rbacv1.Role EnvRoleBindings map[string]*v1.EnvironmentRoleBinding }
ControllerRoleOptions the command line options
func (*ControllerRoleOptions) Run ¶ added in v1.3.193
func (o *ControllerRoleOptions) Run() error
func (*ControllerRoleOptions) WatchEnvironmentRoleBindings ¶ added in v1.3.193
func (o *ControllerRoleOptions) WatchEnvironmentRoleBindings(jxClient versioned.Interface, ns string) error
func (*ControllerRoleOptions) WatchEnvironments ¶ added in v1.3.193
func (o *ControllerRoleOptions) WatchEnvironments(kubeClient kubernetes.Interface, jxClient versioned.Interface, ns string) error
func (*ControllerRoleOptions) WatchRoles ¶ added in v1.3.193
func (o *ControllerRoleOptions) WatchRoles(kubeClient kubernetes.Interface, ns string) error
type ControllerTeamOptions ¶ added in v1.3.213
type ControllerTeamOptions struct { ControllerOptions InstallOptions GitRepositoryOptions gits.GitRepositoryOptions }
ControllerTeamOptions are the flags for the commands
func (*ControllerTeamOptions) Run ¶ added in v1.3.213
func (o *ControllerTeamOptions) Run() error
Run implements this command
type ControllerWorkflowOptions ¶ added in v1.3.169
type ControllerWorkflowOptions struct { ControllerOptions Namespace string NoWatch bool NoMergePullRequest bool Verbose bool LocalHelmRepoName string PullRequestPollTime string // testing FakePullRequests CreateEnvPullRequestFn FakeGitProvider *gits.FakeProvider // calculated fields PullRequestPollDuration *time.Duration // contains filtered or unexported fields }
ControllerWorkflowOptions are the flags for the commands
func (*ControllerWorkflowOptions) PipelineMap ¶ added in v1.3.212
func (o *ControllerWorkflowOptions) PipelineMap() map[string]*v1.PipelineActivity
func (*ControllerWorkflowOptions) ReloadAndPollGitPipelineStatuses ¶ added in v1.3.176
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 ¶ added in v1.3.169
func (o *ControllerWorkflowOptions) Run() error
Run implements this command
type CreateAddonAmbassadorOptions ¶ added in v1.1.72
type CreateAddonAmbassadorOptions struct { CreateAddonOptions Chart string }
CreateAddonAmbassadorOptions the options for the create spring command
func (*CreateAddonAmbassadorOptions) Run ¶ added in v1.1.72
func (o *CreateAddonAmbassadorOptions) Run() error
Run implements the command
type CreateAddonAnchoreOptions ¶ added in v1.1.63
type CreateAddonAnchoreOptions struct { CreateAddonOptions Chart string Password string ConfigDir string }
CreateAddonAnchoreOptions the options for the create spring command
func (*CreateAddonAnchoreOptions) Run ¶ added in v1.1.63
func (o *CreateAddonAnchoreOptions) Run() error
Run implements the command
type CreateAddonCloudBeesOptions ¶ added in v1.2.62
type CreateAddonCloudBeesOptions struct { CreateAddonOptions Sso bool }
CreateAddonCloudBeesOptions the options for the create spring command
func (*CreateAddonCloudBeesOptions) Run ¶ added in v1.2.62
func (o *CreateAddonCloudBeesOptions) Run() error
Run implements the command
type CreateAddonGiteaOptions ¶ added in v1.0.54
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 ¶ added in v1.0.54
func (o *CreateAddonGiteaOptions) Run() error
Run implements the command
type CreateAddonIstioOptions ¶ added in v1.2.120
type CreateAddonIstioOptions struct { CreateAddonOptions Chart string Password string ConfigDir string NoInjectorWebhook bool Dir string }
CreateAddonIstioOptions the options for the create spring command
func (*CreateAddonIstioOptions) Run ¶ added in v1.2.120
func (o *CreateAddonIstioOptions) Run() error
Run implements the command
type CreateAddonKnativeBuildOptions ¶ added in v1.3.164
type CreateAddonKnativeBuildOptions struct { CreateAddonOptions BackoffLimit int32 Image string }
func (*CreateAddonKnativeBuildOptions) Run ¶ added in v1.3.164
func (o *CreateAddonKnativeBuildOptions) Run() error
Create the addon
type CreateAddonKubelessOptions ¶ added in v1.1.56
type CreateAddonKubelessOptions struct { CreateAddonOptions Chart string }
CreateAddonKubelessOptions the options for the create spring command
func (*CreateAddonKubelessOptions) Run ¶ added in v1.1.56
func (o *CreateAddonKubelessOptions) Run() error
Run implements the command
type CreateAddonOptions ¶ added in v1.0.54
type CreateAddonOptions struct { CreateOptions Namespace string Version string ReleaseName string SetValues string HelmUpdate bool }
CreateAddonOptions the options for the create spring command
func (*CreateAddonOptions) CreateAddon ¶ added in v1.0.102
func (o *CreateAddonOptions) CreateAddon(addon string) error
func (*CreateAddonOptions) Run ¶ added in v1.0.54
func (o *CreateAddonOptions) Run() error
Run implements this command
type CreateAddonOwaspOptions ¶ added in v1.3.91
type CreateAddonOwaspOptions struct { CreateAddonOptions BackoffLimit int32 Image string }
func (*CreateAddonOwaspOptions) Run ¶ added in v1.3.91
func (o *CreateAddonOwaspOptions) Run() error
Create the addon
type CreateAddonPipelineEventsOptions ¶ added in v1.2.77
type CreateAddonPipelineEventsOptions struct { CreateAddonOptions Password string }
CreateAddonPipelineEventsOptions the options for the create spring command
func (*CreateAddonPipelineEventsOptions) Run ¶ added in v1.2.77
func (o *CreateAddonPipelineEventsOptions) Run() error
Run implements the command
type CreateAddonProwOptions ¶ added in v1.3.93
type CreateAddonProwOptions struct { CreateAddonOptions Password string Chart string }
CreateAddonProwOptions the options for the create spring command
func (*CreateAddonProwOptions) Run ¶ added in v1.3.93
func (o *CreateAddonProwOptions) Run() error
Run implements the command
type CreateAddonSSOOptions ¶ added in v1.3.207
type CreateAddonSSOOptions struct { CreateAddonOptions UpgradeIngressOptions UpgradeIngressOptions }
CreateAddonSSOptions the options for the create sso addon
func (*CreateAddonSSOOptions) Run ¶ added in v1.3.207
func (o *CreateAddonSSOOptions) Run() error
Run implements the command
type CreateArchetypeOptions ¶ added in v1.0.2
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 ¶ added in v1.2.120
func (o *CreateArchetypeOptions) CreateArchetype() error
func (*CreateArchetypeOptions) Run ¶ added in v1.0.2
func (o *CreateArchetypeOptions) Run() error
Run implements the generic Create command
type CreateBranchPatternOptions ¶ added in v1.2.84
type CreateBranchPatternOptions struct { CreateOptions BranchPattern string }
CreateBranchPatternOptions the options for the create spring command
func (*CreateBranchPatternOptions) Run ¶ added in v1.2.84
func (o *CreateBranchPatternOptions) Run() error
Run implements the command
type CreateCamelOptions ¶ added in v1.2.120
type CreateCamelOptions struct {
CreateArchetypeOptions
}
CreateCamelOptions the options for the create spring command
func (*CreateCamelOptions) Run ¶ added in v1.2.120
func (o *CreateCamelOptions) Run() error
Run implements the command
type CreateChatOptions ¶ added in v1.1.67
type CreateChatOptions struct {
CreateOptions
}
CreateChatOptions the options for the create spring command
func (*CreateChatOptions) Run ¶ added in v1.1.67
func (o *CreateChatOptions) Run() error
Run implements this command
type CreateChatServerOptions ¶ added in v1.1.67
type CreateChatServerOptions struct { CreateOptions Name string }
CreateChatServerOptions the options for the create spring command
func (*CreateChatServerOptions) Run ¶ added in v1.1.67
func (o *CreateChatServerOptions) Run() error
Run implements the command
type CreateChatTokenOptions ¶ added in v1.1.67
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 ¶ added in v1.1.67
func (o *CreateChatTokenOptions) Run() error
Run implements the command
type CreateClusterAKSFlags ¶ added in v1.0.2
type CreateClusterAKSFlags struct { UserName string Password string ClusterName string ResourceName string Location string NodeVMSize string NodeOSDiskSize string NodeCount string KubeVersion string PathToPublicKey string SkipLogin bool SkipProviderRegistration bool SkipResourceGroupCreation bool Tags string }
type CreateClusterAKSOptions ¶ added in v1.0.2
type CreateClusterAKSOptions struct { CreateClusterOptions Flags CreateClusterAKSFlags }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterAKSOptions) Run ¶ added in v1.0.2
func (o *CreateClusterAKSOptions) Run() error
type CreateClusterAWSFlags ¶ added in v1.1.4
type CreateClusterAWSOptions ¶ added in v1.1.4
type CreateClusterAWSOptions struct { CreateClusterOptions Flags CreateClusterAWSFlags }
CreateClusterAWSOptions contains the CLI flags
func (*CreateClusterAWSOptions) Run ¶ added in v1.1.4
func (o *CreateClusterAWSOptions) Run() error
Run runs the command
type CreateClusterEKSFlags ¶ added in v1.3.53
type CreateClusterEKSOptions ¶ added in v1.3.53
type CreateClusterEKSOptions struct { CreateClusterOptions Flags CreateClusterEKSFlags }
CreateClusterEKSOptions contains the CLI flags
func (*CreateClusterEKSOptions) Run ¶ added in v1.3.53
func (o *CreateClusterEKSOptions) Run() error
Run runs the command
type CreateClusterFlags ¶ added in v1.0.2
type CreateClusterFlags struct { }
type CreateClusterGKEFlags ¶ added in v1.0.2
type CreateClusterGKEFlags struct { AutoUpgrade bool ClusterName string ClusterIpv4Cidr string ClusterVersion string DiskSize string ImageType string MachineType string MinNumOfNodes string MaxNumOfNodes string Network string ProjectId string SkipLogin bool SubNetwork string Zone string Namespace string Labels string }
type CreateClusterGKEOptions ¶ added in v1.0.2
type CreateClusterGKEOptions struct { CreateClusterOptions Flags CreateClusterGKEFlags }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterGKEOptions) Run ¶ added in v1.0.2
func (o *CreateClusterGKEOptions) Run() error
type CreateClusterGKETerraformFlags ¶ added in v1.2.124
type CreateClusterGKETerraformOptions ¶ added in v1.2.124
type CreateClusterGKETerraformOptions struct { CreateClusterOptions Flags CreateClusterGKETerraformFlags }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterGKETerraformOptions) Run ¶ added in v1.2.124
func (o *CreateClusterGKETerraformOptions) Run() error
type CreateClusterMinikubeFlags ¶ added in v1.0.2
type CreateClusterMinikubeOptions ¶ added in v1.0.2
type CreateClusterMinikubeOptions struct { CreateClusterOptions Flags CreateClusterMinikubeFlags Provider KubernetesProvider }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterMinikubeOptions) Run ¶ added in v1.0.2
func (o *CreateClusterMinikubeOptions) Run() error
type CreateClusterMinishiftFlags ¶ added in v1.2.11
type CreateClusterMinishiftOptions ¶ added in v1.2.11
type CreateClusterMinishiftOptions struct { CreateClusterOptions Flags CreateClusterMinishiftFlags Provider KubernetesProvider }
CreateClusterMinishiftOptions the flags for running create cluster
func (*CreateClusterMinishiftOptions) Run ¶ added in v1.2.11
func (o *CreateClusterMinishiftOptions) Run() error
type CreateClusterOKEFlags ¶ added in v1.3.67
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 ¶ added in v1.3.67
type CreateClusterOKEOptions struct { CreateClusterOptions Flags CreateClusterOKEFlags }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterOKEOptions) Run ¶ added in v1.3.67
func (o *CreateClusterOKEOptions) Run() error
type CreateClusterOptions ¶ added in v1.0.2
type CreateClusterOptions struct { CreateOptions InstallOptions InstallOptions Flags InitFlags Provider string SkipInstallation bool }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterOptions) Run ¶ added in v1.0.2
func (o *CreateClusterOptions) Run() error
type CreateCodeshipFlags ¶ added in v1.3.98
type CreateCodeshipOptions ¶ added in v1.3.98
type CreateCodeshipOptions struct { CreateOptions CreateTerraformOptions CreateGkeServiceAccountOptions Flags CreateCodeshipFlags GitRepositoryOptions gits.GitRepositoryOptions }
CreateCodeshipOptions the options for the create spring command
func (*CreateCodeshipOptions) Run ¶ added in v1.3.98
func (o *CreateCodeshipOptions) Run() error
Run implements this command
type CreateDevPodOptions ¶ added in v1.2.30
type CreateDevPodOptions struct { CreateOptions Label string Suffix string WorkingDir string RequestCpu string Dir string Reuse bool Sync bool Ports []int AutoExpose bool Persist bool ImportUrl string Import bool }
CreateDevPodOptions the options for the create spring command
func (*CreateDevPodOptions) Run ¶ added in v1.2.30
func (o *CreateDevPodOptions) Run() error
Run implements this command
type CreateDockerAuthOptions ¶ added in v1.3.205
type CreateDockerAuthOptions struct { CreateOptions Host string User string Secret string Email string }
CreateDockerAuthOptions the options for the create docker auth command
func (*CreateDockerAuthOptions) Run ¶ added in v1.3.205
func (o *CreateDockerAuthOptions) Run() error
Run implements the command
type CreateDocsOptions ¶ added in v1.0.61
type CreateDocsOptions struct { CreateOptions Dir string }
CreateDocsOptions the options for the create spring command
func (*CreateDocsOptions) Run ¶ added in v1.0.61
func (o *CreateDocsOptions) Run() error
Run implements the command
type CreateEnvOptions ¶ added in v1.0.2
type CreateEnvOptions struct { CreateOptions Options v1.Environment HelmValuesConfig config.HelmValuesConfig PromotionStrategy string NoGitOps bool Prow bool ForkEnvironmentGitRepo string EnvJobCredentials string GitRepositoryOptions gits.GitRepositoryOptions Prefix string BranchPattern string }
CreateEnvOptions the options for the create spring command
func (*CreateEnvOptions) Run ¶ added in v1.0.2
func (o *CreateEnvOptions) Run() error
Run implements the command
type CreateEnvPullRequestFn ¶ added in v1.3.169
type CreateEnvPullRequestFn func(env *v1.Environment, modifyRequirementsFn ModifyRequirementsFn, branchNameText string, title string, message string, pullRequestInfo *ReleasePullRequestInfo) (*ReleasePullRequestInfo, error)
type CreateEtcHostsOptions ¶ added in v1.0.55
type CreateEtcHostsOptions struct { CreateOptions Name string IP string }
CreateEtcHostsOptions the options for the create spring command
func (*CreateEtcHostsOptions) Run ¶ added in v1.0.55
func (o *CreateEtcHostsOptions) Run() error
Run implements the command
type CreateGitOptions ¶ added in v1.0.16
type CreateGitOptions struct {
CreateOptions
}
CreateGitOptions the options for the create spring command
func (*CreateGitOptions) Run ¶ added in v1.0.16
func (o *CreateGitOptions) Run() error
Run implements this command
type CreateGitServerOptions ¶ added in v1.0.40
type CreateGitServerOptions struct { CreateOptions Name string }
CreateGitServerOptions the options for the create spring command
func (*CreateGitServerOptions) Run ¶ added in v1.0.40
func (o *CreateGitServerOptions) Run() error
Run implements the command
type CreateGitTokenOptions ¶ added in v1.0.43
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 ¶ added in v1.0.43
func (o *CreateGitTokenOptions) Run() error
Run implements the command
type CreateGitUserOptions ¶ added in v1.0.40
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 ¶ added in v1.0.40
func (o *CreateGitUserOptions) Run() error
Run implements the command
type CreateGkeServiceAccountFlags ¶ added in v1.3.114
type CreateGkeServiceAccountOptions ¶ added in v1.3.114
type CreateGkeServiceAccountOptions struct { CreateOptions Flags CreateGkeServiceAccountFlags }
func (*CreateGkeServiceAccountOptions) Run ¶ added in v1.3.114
func (o *CreateGkeServiceAccountOptions) Run() error
Run implements this command
type CreateIssueOptions ¶ added in v1.0.112
type CreateIssueOptions struct { CreateOptions Dir string Title string Body string Labels []string }
CreateIssueOptions the options for the create spring command
func (*CreateIssueOptions) PopulateIssue ¶ added in v1.0.112
func (o *CreateIssueOptions) PopulateIssue(issue *gits.GitIssue) error
func (*CreateIssueOptions) Run ¶ added in v1.0.112
func (o *CreateIssueOptions) Run() error
Run implements the command
type CreateJHipsterOptions ¶ added in v1.2.83
type CreateJHipsterOptions struct {
CreateProjectOptions
}
CreateJHipsterOptions the options for the create spring command
func (CreateJHipsterOptions) GenerateJHipster ¶ added in v1.2.83
func (o CreateJHipsterOptions) GenerateJHipster(dir string) error
GenerateJHipster creates a fresh JHipster project by running jhipster on local shell
func (*CreateJHipsterOptions) Run ¶ added in v1.2.83
func (o *CreateJHipsterOptions) Run() error
Run implements the command
type CreateJenkinsOptions ¶ added in v1.0.41
type CreateJenkinsOptions struct {
CreateOptions
}
CreateJenkinsOptions the options for the create spring command
func (*CreateJenkinsOptions) Run ¶ added in v1.0.41
func (o *CreateJenkinsOptions) Run() error
Run implements this command
type CreateJenkinsUserOptions ¶ added in v1.0.41
type CreateJenkinsUserOptions struct { CreateOptions ServerFlags ServerFlags Username string Password string ApiToken string Timeout string UseBrowser bool }
CreateJenkinsUserOptions the command line options for the command
func (*CreateJenkinsUserOptions) Run ¶ added in v1.0.41
func (o *CreateJenkinsUserOptions) Run() error
Run implements the command
type CreateLileOptions ¶ added in v1.1.64
type CreateLileOptions struct { CreateProjectOptions OutDir string }
CreateLileOptions the options for the create spring command
func (CreateLileOptions) GenerateLile ¶ added in v1.1.64
func (o CreateLileOptions) GenerateLile(dir string) error
GenerateLile creates a fresh lile project by running lile on local shell
func (*CreateLileOptions) Run ¶ added in v1.1.64
func (o *CreateLileOptions) Run() error
Run implements the command
type CreateMicroOptions ¶ added in v1.2.9
type CreateMicroOptions struct {
CreateProjectOptions
}
CreateMicroOptions the options for the create spring command
func (CreateMicroOptions) GenerateMicro ¶ added in v1.2.9
func (o CreateMicroOptions) GenerateMicro(dir string) error
GenerateMicro creates a fresh micro project by running micro on local shell
func (*CreateMicroOptions) Run ¶ added in v1.2.9
func (o *CreateMicroOptions) Run() error
Run implements the command
type CreateOptions ¶ added in v1.0.2
type CreateOptions struct { CommonOptions DisableImport bool OutDir string }
CreateOptions contains the command line options
func (*CreateOptions) Run ¶ added in v1.0.2
func (o *CreateOptions) Run() error
Run implements this command
type CreatePostPreviewJobOptions ¶ added in v1.3.46
type CreatePostPreviewJobOptions struct { CreateOptions Name string Image string Commands []string BackoffLimit int32 }
CreatePostPreviewJobOptions the options for the create spring command
func (*CreatePostPreviewJobOptions) Run ¶ added in v1.3.46
func (o *CreatePostPreviewJobOptions) Run() error
Run implements the command
type CreateProjectOptions ¶ added in v1.0.39
type CreateProjectOptions struct { ImportOptions DisableImport bool OutDir string }
CreateProjectOptions contains the command line options
func (*CreateProjectOptions) ImportCreatedProject ¶ added in v1.0.39
func (o *CreateProjectOptions) ImportCreatedProject(outDir string) error
DoImport imports the project created at the given directory
type CreateQuickstartLocationOptions ¶ added in v1.2.84
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 ¶ added in v1.2.84
func (o *CreateQuickstartLocationOptions) Run() error
Run implements the command
type CreateQuickstartOptions ¶ added in v1.1.4
type CreateQuickstartOptions struct { CreateProjectOptions GitHubOrganisations []string Filter quickstarts.QuickstartFilter GitProvider gits.GitProvider GitHost string IgnoreTeam bool }
CreateQuickstartOptions the options for the create spring command
func (*CreateQuickstartOptions) LoadQuickstartsFromMap ¶ added in v1.2.84
func (o *CreateQuickstartOptions) LoadQuickstartsFromMap(config *auth.AuthConfig, gitMap map[string]map[string]v1.QuickStartLocation) (*quickstarts.QuickstartModel, error)
LoadQuickstartsFromMap Load all quickstarts
func (*CreateQuickstartOptions) Run ¶ added in v1.1.4
func (o *CreateQuickstartOptions) Run() error
Run implements the generic Create command
type CreateSpringOptions ¶ added in v1.0.2
type CreateSpringOptions struct { CreateProjectOptions Advanced bool SpringForm spring.SpringBootForm }
CreateSpringOptions the options for the create spring command
func (*CreateSpringOptions) Run ¶ added in v1.0.2
func (o *CreateSpringOptions) Run() error
Run implements the command
type CreateTeamOptions ¶ added in v1.3.146
type CreateTeamOptions struct { CreateOptions Name string Members []string }
CreateTeamOptions the options for the create spring command
func (*CreateTeamOptions) Run ¶ added in v1.3.146
func (o *CreateTeamOptions) Run() error
Run implements the command
type CreateTerraformOptions ¶ added in v1.3.29
type CreateTerraformOptions struct { CreateOptions InstallOptions InstallOptions Flags Flags Clusters []Cluster GitRepositoryOptions gits.GitRepositoryOptions }
CreateTerraformOptions the options for the create spring command
func (*CreateTerraformOptions) ClusterDetailsWizard ¶ added in v1.3.29
func (options *CreateTerraformOptions) ClusterDetailsWizard() error
ClusterDetailsWizard cluster details wizard
func (*CreateTerraformOptions) CreateOrganisationFolderStructure ¶ added in v1.3.176
func (options *CreateTerraformOptions) CreateOrganisationFolderStructure(dir string) ([]Cluster, error)
CreateOrganisationFolderStructure creates an organisations folder structure
func (*CreateTerraformOptions) Run ¶ added in v1.3.29
func (options *CreateTerraformOptions) Run() error
Run implements this command
func (*CreateTerraformOptions) ValidateClusterDetails ¶ added in v1.3.176
func (options *CreateTerraformOptions) ValidateClusterDetails() error
ValidateClusterDetails validates the options for a cluster
type CreateTokenAddonOptions ¶ added in v1.1.69
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 ¶ added in v1.1.69
func (o *CreateTokenAddonOptions) Run() error
Run implements the command
type CreateTokenOptions ¶ added in v1.1.69
type CreateTokenOptions struct {
CreateOptions
}
CreateTokenOptions the options for the create spring command
func (*CreateTokenOptions) Run ¶ added in v1.1.69
func (o *CreateTokenOptions) Run() error
Run implements this command
type CreateTrackerOptions ¶ added in v1.1.23
type CreateTrackerOptions struct {
CreateOptions
}
CreateTrackerOptions the options for the create spring command
func (*CreateTrackerOptions) Run ¶ added in v1.1.23
func (o *CreateTrackerOptions) Run() error
Run implements this command
type CreateTrackerServerOptions ¶ added in v1.1.23
type CreateTrackerServerOptions struct { CreateOptions Name string }
CreateTrackerServerOptions the options for the create spring command
func (*CreateTrackerServerOptions) Run ¶ added in v1.1.23
func (o *CreateTrackerServerOptions) Run() error
Run implements the command
type CreateTrackerTokenOptions ¶ added in v1.1.23
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 ¶ added in v1.1.23
func (o *CreateTrackerTokenOptions) Run() error
Run implements the command
type CreateUserOptions ¶ added in v1.3.146
type CreateUserOptions struct { CreateOptions UserSpec v1.UserDetails }
CreateUserOptions the options for the create spring command
func (*CreateUserOptions) Run ¶ added in v1.3.146
func (o *CreateUserOptions) Run() error
Run implements the command
type DeleteAddonCDXOptions ¶ added in v1.2.43
type DeleteAddonCDXOptions struct { DeleteAddonOptions ReleaseName string }
DeleteAddonGiteaOptions the options for the create spring command
func (*DeleteAddonCDXOptions) Run ¶ added in v1.2.43
func (o *DeleteAddonCDXOptions) Run() error
Run implements the command
type DeleteAddonGiteaOptions ¶ added in v1.0.54
type DeleteAddonGiteaOptions struct { DeleteAddonOptions ReleaseName string }
DeleteAddonGiteaOptions the options for the create spring command
func (*DeleteAddonGiteaOptions) Run ¶ added in v1.0.54
func (o *DeleteAddonGiteaOptions) Run() error
Run implements the command
type DeleteAddonOptions ¶ added in v1.0.54
type DeleteAddonOptions struct { CommonOptions Purge bool }
DeleteAddonOptions are the flags for delete commands
func (*DeleteAddonOptions) Run ¶ added in v1.0.54
func (o *DeleteAddonOptions) Run() error
Run implements this command
type DeleteAppOptions ¶ added in v1.2.38
type DeleteAppOptions struct { CommonOptions SelectAll bool SelectFilter string IgnoreEnvironments bool NoMergePullRequest bool Timeout string PullRequestPollTime string // calculated fields TimeoutDuration *time.Duration PullRequestPollDuration *time.Duration // allow git to be configured externally before a PR is created ConfigureGitCallback ConfigureGitFolderFn }
DeleteAppOptions are the flags for this delete commands
func (*DeleteAppOptions) Run ¶ added in v1.2.38
func (o *DeleteAppOptions) Run() error
Run implements this command
type DeleteChatOptions ¶ added in v1.1.67
type DeleteChatOptions struct {
CommonOptions
}
DeleteChatOptions are the flags for delete commands
func (*DeleteChatOptions) Run ¶ added in v1.1.67
func (o *DeleteChatOptions) Run() error
Run implements this command
type DeleteChatServerOptions ¶ added in v1.1.67
type DeleteChatServerOptions struct { CommonOptions IgnoreMissingServer bool }
DeleteChatServerOptions the options for the create spring command
func (*DeleteChatServerOptions) Run ¶ added in v1.1.67
func (o *DeleteChatServerOptions) Run() error
Run implements the command
type DeleteChatTokenOptions ¶ added in v1.1.67
type DeleteChatTokenOptions struct { CreateOptions ServerFlags ServerFlags }
DeleteChatTokenOptions the options for the create spring command
func (*DeleteChatTokenOptions) Run ¶ added in v1.1.67
func (o *DeleteChatTokenOptions) Run() error
Run implements the command
type DeleteContextOptions ¶ added in v1.0.119
type DeleteContextOptions struct { CreateOptions SelectAll bool SelectFilter string }
DeleteContextOptions the options for the create spring command
func (*DeleteContextOptions) Run ¶ added in v1.0.119
func (o *DeleteContextOptions) Run() error
Run implements the command
type DeleteDevPodOptions ¶ added in v1.2.30
type DeleteDevPodOptions struct {
CommonOptions
}
DeleteDevPodOptions are the flags for delete commands
func (*DeleteDevPodOptions) Run ¶ added in v1.2.30
func (o *DeleteDevPodOptions) Run() error
Run implements this command
type DeleteEnvOptions ¶ added in v1.0.6
type DeleteEnvOptions struct { CommonOptions DeleteNamespace bool }
DeleteEnvOptions the options for the create spring command
func (*DeleteEnvOptions) Run ¶ added in v1.0.6
func (o *DeleteEnvOptions) Run() error
Run implements the command
type DeleteGitOptions ¶ added in v1.0.39
type DeleteGitOptions struct {
CommonOptions
}
DeleteGitOptions are the flags for delete commands
func (*DeleteGitOptions) Run ¶ added in v1.0.39
func (o *DeleteGitOptions) Run() error
Run implements this command
type DeleteGitServerOptions ¶ added in v1.0.40
type DeleteGitServerOptions struct { CommonOptions IgnoreMissingServer bool }
DeleteGitServerOptions the options for the create spring command
func (*DeleteGitServerOptions) Run ¶ added in v1.0.40
func (o *DeleteGitServerOptions) Run() error
Run implements the command
type DeleteGitTokenOptions ¶ added in v1.0.45
type DeleteGitTokenOptions struct { CreateOptions ServerFlags ServerFlags }
DeleteGitTokenOptions the options for the create spring command
func (*DeleteGitTokenOptions) Run ¶ added in v1.0.45
func (o *DeleteGitTokenOptions) Run() error
Run implements the command
type DeleteJenkinsOptions ¶ added in v1.0.41
type DeleteJenkinsOptions struct {
CommonOptions
}
DeleteJenkinsOptions are the flags for delete commands
func (*DeleteJenkinsOptions) Run ¶ added in v1.0.41
func (o *DeleteJenkinsOptions) Run() error
Run implements this command
type DeleteJenkinsUserOptions ¶ added in v1.0.41
type DeleteJenkinsUserOptions struct { CreateOptions ServerFlags ServerFlags }
DeleteJenkinsUserOptions the options for the create spring command
func (*DeleteJenkinsUserOptions) Run ¶ added in v1.0.41
func (o *DeleteJenkinsUserOptions) Run() error
Run implements the command
type DeleteOptions ¶ added in v1.0.6
type DeleteOptions struct {
CommonOptions
}
DeleteOptions are the flags for delete commands
func (*DeleteOptions) Run ¶ added in v1.0.6
func (o *DeleteOptions) Run() error
Run implements this command
type DeletePostPreviewJobOptions ¶ added in v1.3.46
type DeletePostPreviewJobOptions struct { DeleteOptions Name string }
DeletePostPreviewJobOptions the options for the create spring command
func (*DeletePostPreviewJobOptions) Run ¶ added in v1.3.46
func (o *DeletePostPreviewJobOptions) Run() error
Run implements the command
type DeletePreviewOptions ¶ added in v1.2.75
type DeletePreviewOptions struct {
PreviewOptions
}
DeletePreviewOptions are the flags for delete commands
func (*DeletePreviewOptions) Run ¶ added in v1.2.75
func (o *DeletePreviewOptions) Run() error
Run implements this command
type DeleteQuickstartLocationOptions ¶ added in v1.2.84
type DeleteQuickstartLocationOptions struct { CommonOptions GitUrl string Owner string }
DeleteQuickstartLocationOptions the options for the create spring command
func (*DeleteQuickstartLocationOptions) Run ¶ added in v1.2.84
func (o *DeleteQuickstartLocationOptions) Run() error
Run implements the command
type DeleteRepoOptions ¶ added in v1.0.6
type DeleteRepoOptions struct { CreateOptions Organisation string Repositories []string GitHost string GitHub bool SelectAll bool SelectFilter string }
DeleteRepoOptions the options for the create spring command
func (*DeleteRepoOptions) Run ¶ added in v1.0.6
func (o *DeleteRepoOptions) Run() error
Run implements the command
type DeleteTeamOptions ¶ added in v1.3.69
type DeleteTeamOptions struct { CommonOptions SelectAll bool SelectFilter string Confirm bool }
DeleteTeamOptions are the flags for delete commands
func (*DeleteTeamOptions) Run ¶ added in v1.3.69
func (o *DeleteTeamOptions) Run() error
Run implements this command
type DeleteTokenAddonOptions ¶ added in v1.1.69
type DeleteTokenAddonOptions struct { CreateOptions ServerFlags ServerFlags Kind string }
DeleteTokenAddonOptions the options for the create spring command
func (*DeleteTokenAddonOptions) Run ¶ added in v1.1.69
func (o *DeleteTokenAddonOptions) Run() error
Run implements the command
type DeleteTokenOptions ¶ added in v1.1.69
type DeleteTokenOptions struct {
CommonOptions
}
DeleteTokenOptions are the flags for delete commands
func (*DeleteTokenOptions) Run ¶ added in v1.1.69
func (o *DeleteTokenOptions) Run() error
Run implements this command
type DeleteTrackerOptions ¶ added in v1.1.23
type DeleteTrackerOptions struct {
CommonOptions
}
DeleteTrackerOptions are the flags for delete commands
func (*DeleteTrackerOptions) Run ¶ added in v1.1.23
func (o *DeleteTrackerOptions) Run() error
Run implements this command
type DeleteTrackerServerOptions ¶ added in v1.1.23
type DeleteTrackerServerOptions struct { CommonOptions IgnoreMissingServer bool }
DeleteTrackerServerOptions the options for the create spring command
func (*DeleteTrackerServerOptions) Run ¶ added in v1.1.23
func (o *DeleteTrackerServerOptions) Run() error
Run implements the command
type DeleteTrackerTokenOptions ¶ added in v1.1.56
type DeleteTrackerTokenOptions struct { CreateOptions ServerFlags ServerFlags }
DeleteTrackerTokenOptions the options for the create spring command
func (*DeleteTrackerTokenOptions) Run ¶ added in v1.1.56
func (o *DeleteTrackerTokenOptions) Run() error
Run implements the command
type DeleteUserOptions ¶ added in v1.3.146
type DeleteUserOptions struct { CommonOptions SelectAll bool SelectFilter string Confirm bool }
DeleteUserOptions are the flags for delete commands
func (*DeleteUserOptions) Run ¶ added in v1.3.146
func (o *DeleteUserOptions) Run() error
Run implements this command
type EditAddonOptions ¶ added in v1.1.33
type EditAddonOptions struct { EditOptions Name string Enabled string IssuesAuthConfigSvc auth.AuthConfigService }
EditAddonOptions the options for the create spring command
func (*EditAddonOptions) Run ¶ added in v1.1.33
func (o *EditAddonOptions) Run() error
Run implements the command
type EditBuildpackOptions ¶ added in v1.2.107
type EditBuildpackOptions struct { EditOptions BuildPackURL string BuildPackRef string }
EditBuildpackOptions the options for the create spring command
func (*EditBuildpackOptions) Run ¶ added in v1.2.107
func (o *EditBuildpackOptions) Run() error
Run implements the command
type EditConfigOptions ¶ added in v1.1.23
type EditConfigOptions struct { EditOptions Dir string Kind string IssuesAuthConfigSvc auth.AuthConfigService ChatAuthConfigSvc auth.AuthConfigService }
EditConfigOptions the options for the create spring command
func (*EditConfigOptions) EditChat ¶ added in v1.1.67
func (o *EditConfigOptions) EditChat(pc *config.ProjectConfig) (bool, error)
func (*EditConfigOptions) EditIssueTracker ¶ added in v1.1.23
func (o *EditConfigOptions) EditIssueTracker(pc *config.ProjectConfig) (bool, error)
func (*EditConfigOptions) Run ¶ added in v1.1.23
func (o *EditConfigOptions) Run() error
Run implements the command
type EditEnvOptions ¶ added in v1.0.2
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
func (*EditEnvOptions) Run ¶ added in v1.0.2
func (o *EditEnvOptions) Run() error
Run implements the command
type EditHelmBinOptions ¶ added in v1.2.132
type EditHelmBinOptions struct {
CreateOptions
}
EditHelmBinOptions the options for the create spring command
func (*EditHelmBinOptions) Run ¶ added in v1.2.132
func (o *EditHelmBinOptions) Run() error
Run implements the command
type EditOptions ¶ added in v1.0.2
type EditOptions struct {
CommonOptions
}
EditOptions contains the CLI options
func (*EditOptions) Run ¶ added in v1.0.2
func (o *EditOptions) Run() error
Run implements this command
type EditUserRoleOptions ¶ added in v1.3.249
type EditUserRoleOptions struct { EditOptions Login string Roles []string }
EditUserRoleOptions the options for the create spring command
func (*EditUserRoleOptions) Run ¶ added in v1.3.249
func (o *EditUserRoleOptions) Run() error
Run implements the command
type EnvApps ¶ added in v1.0.2
type EnvApps struct { Environment v1.Environment Apps map[string]v1beta1.Deployment }
type EnvironmentOptions ¶ added in v1.0.2
type EnvironmentOptions struct {
CommonOptions
}
func (*EnvironmentOptions) PickNamespace ¶ added in v1.0.2
func (o *EnvironmentOptions) PickNamespace(client kubernetes.Interface, defaultNamespace string) (string, error)
func (*EnvironmentOptions) Run ¶ added in v1.0.2
func (o *EnvironmentOptions) Run() error
type Factory ¶ added in v1.3.49
type Factory interface { CreateJenkinsClient(kubeClient kubernetes.Interface, ns string) (*gojenkins.Jenkins, error) GetJenkinsURL(kubeClient kubernetes.Interface, ns string) (string, error) CreateAuthConfigService(fileName string) (auth.AuthConfigService, error) CreateJenkinsAuthConfigService(kubernetes.Interface, string) (auth.AuthConfigService, error) CreateChartmuseumAuthConfigService() (auth.AuthConfigService, error) CreateIssueTrackerAuthConfigService(secrets *corev1.SecretList) (auth.AuthConfigService, error) CreateChatAuthConfigService(secrets *corev1.SecretList) (auth.AuthConfigService, error) CreateAddonAuthConfigService(secrets *corev1.SecretList) (auth.AuthConfigService, error) CreateClient() (kubernetes.Interface, string, error) CreateKubeConfig() (*rest.Config, error) CreateJXClient() (versioned.Interface, string, error) CreateApiExtensionsClient() (apiextensionsclientset.Interface, error) CreateMetricsClient() (*metricsclient.Clientset, error) CreateComplianceClient() (*client.SonobuoyClient, error) CreateTable(out io.Writer) table.Table SetBatch(batch bool) ImpersonateUser(user string) Factory IsInCluster() bool IsInCDPIpeline() bool AuthMergePipelineSecrets(config *auth.AuthConfig, secrets *corev1.SecretList, kind string, isCDPipeline bool) error }
func NewFactory ¶ added in v1.3.49
func NewFactory() Factory
NewFactory creates a factory with the default Kubernetes resources defined if optionalClientConfig is nil, then flags will be bound to a new clientcmd.ClientConfig. if optionalClientConfig is not nil, then this factory will make use of it.
type Flags ¶ added in v1.3.29
type Flags struct { Cluster []string OrganisationName string ForkOrganisationGitRepo string SkipTerraformApply bool IgnoreTerraformWarnings bool JxEnvironment string GKEProjectID string GKESkipEnableApis bool GKEZone string GKEMachineType string GKEMinNumOfNodes string GKEMaxNumOfNodes string GKEDiskSize string GKEAutoRepair bool GKEAutoUpgrade bool GKEServiceAccount string LocalOrganisationRepository string }
Flags for a cluster
type GCActivitiesOptions ¶ added in v1.2.83
type GCActivitiesOptions struct { CommonOptions RevisionHistoryLimit int // contains filtered or unexported fields }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*GCActivitiesOptions) Run ¶ added in v1.2.83
func (o *GCActivitiesOptions) Run() error
Run implements this command
type GCGKEOptions ¶ added in v1.3.31
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()
func (*GCGKEOptions) Run ¶ added in v1.3.31
func (o *GCGKEOptions) Run() error
Run implements this command
type GCHelmOptions ¶ added in v1.2.138
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 ¶ added in v1.2.138
func (o *GCHelmOptions) Run() error
type GCOptions ¶ added in v1.2.83
type GCOptions struct { CommonOptions Output string }
GCOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type GCPreviewsOptions ¶ added in v1.2.83
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()
func (*GCPreviewsOptions) Run ¶ added in v1.2.83
func (o *GCPreviewsOptions) Run() error
Run implements this command
type GCReleasesOptions ¶ added in v1.3.171
type GCReleasesOptions struct { CommonOptions RevisionHistoryLimit int }
GCReleasesOptions contains the CLI options for this command
func (*GCReleasesOptions) Run ¶ added in v1.3.171
func (o *GCReleasesOptions) Run() error
Run implements this command
type GCSSourceSpec ¶ added in v1.3.148
type GCSSourceSpec struct { // Type declares the style of source to fetch. Type GCSSourceType `json:"type,omitempty"` // Location specifies the location of the source archive or manifest file. Location string `json:"location,omitempty"` }
GCSSourceSpec describes source input to the Build in the form of an archive, or a source manifest describing files to fetch.
type GCSSourceType ¶ added in v1.3.148
type GCSSourceType string
GCSSourceType defines a type of GCS source fetch.
const ( // GCSArchive indicates that source should be fetched from a typical archive file. GCSArchive GCSSourceType = "Archive" // GCSManifest indicates that source should be fetched using a // manifest-based protocol which enables incremental source upload. GCSManifest GCSSourceType = "Manifest" )
type GKECluster ¶ added in v1.3.42
type GKECluster struct { Organisation string ProjectID string Zone string MachineType string MinNumOfNodes string MaxNumOfNodes string DiskSize string AutoRepair bool AutoUpgrade bool ServiceAccount string // contains filtered or unexported fields }
GKECluster implements Cluster interface for GKE
func (GKECluster) ClusterName ¶ added in v1.3.111
func (g GKECluster) ClusterName() string
ClusterName get cluster name
func (GKECluster) Context ¶ added in v1.3.110
func (g GKECluster) Context() string
Context Get the context
func (GKECluster) CreateTfVarsFile ¶ added in v1.3.58
func (g GKECluster) CreateTfVarsFile(path string) error
CreateTfVarsFile create vars
func (*GKECluster) ParseTfVarsFile ¶ added in v1.3.75
func (g *GKECluster) ParseTfVarsFile(path string)
ParseTfVarsFile Parse vars file
func (GKECluster) Provider ¶ added in v1.3.56
func (g GKECluster) Provider() string
Provider get provider
func (GKECluster) Region ¶ added in v1.3.67
func (g GKECluster) Region() string
Region Get the region
func (*GKECluster) SetName ¶ added in v1.3.176
func (g *GKECluster) SetName(name string) string
SetName Sets the name
func (*GKECluster) SetProvider ¶ added in v1.3.176
func (g *GKECluster) SetProvider(provider string) string
SetProvider Set the provider
type GetAWSInfoOptions ¶ added in v1.3.61
type GetAWSInfoOptions struct {
GetOptions
}
GetAWSInfoOptions containers the CLI options
func (*GetAWSInfoOptions) Run ¶ added in v1.3.61
func (o *GetAWSInfoOptions) Run() error
Run implements this command
type GetActivityOptions ¶ added in v1.0.84
type GetActivityOptions struct { CommonOptions Filter string BuildNumber string Watch bool }
GetActivityOptions containers the CLI options
func (*GetActivityOptions) Run ¶ added in v1.0.84
func (o *GetActivityOptions) Run() error
Run implements this command
func (*GetActivityOptions) WatchActivities ¶ added in v1.1.32
type GetAddonOptions ¶ added in v1.0.54
type GetAddonOptions struct {
GetOptions
}
GetAddonOptions the command line options
func (*GetAddonOptions) Run ¶ added in v1.0.54
func (o *GetAddonOptions) Run() error
Run implements this command
type GetApplicationsOptions ¶ added in v1.1.32
type GetApplicationsOptions struct { CommonOptions Namespace string Environment string HideUrl bool HidePod bool Previews bool }
GetApplicationsOptions containers the CLI options
func (*GetApplicationsOptions) Run ¶ added in v1.1.32
func (o *GetApplicationsOptions) Run() error
Run implements this command
type GetBranchPatternOptions ¶ added in v1.2.84
type GetBranchPatternOptions struct {
GetOptions
}
GetBranchPatternOptions containers the CLI options
func (*GetBranchPatternOptions) Run ¶ added in v1.2.84
func (o *GetBranchPatternOptions) Run() error
Run implements this command
type GetBuildLogsOptions ¶ added in v1.0.61
type GetBuildLogsOptions struct { GetOptions Tail bool Filter string Build int }
GetBuildLogsOptions the command line options
func (*GetBuildLogsOptions) Run ¶ added in v1.0.61
func (o *GetBuildLogsOptions) Run() error
Run implements this command
type GetBuildOptions ¶ added in v1.0.61
type GetBuildOptions struct { CommonOptions Output string }
GetBuildOptions the command line options
func (*GetBuildOptions) Run ¶ added in v1.0.61
func (o *GetBuildOptions) Run() error
Run implements this command
type GetBuildPackOptions ¶ added in v1.2.107
type GetBuildPackOptions struct {
GetOptions
}
GetBuildPackOptions containers the CLI options
func (*GetBuildPackOptions) Run ¶ added in v1.2.107
func (o *GetBuildPackOptions) Run() error
Run implements this command
type GetCVEOptions ¶ added in v1.2.27
type GetCVEOptions struct { GetOptions ImageName string ImageID string Version string Env string VulnerabilityType string }
GetGitOptions the command line options
func (*GetCVEOptions) Run ¶ added in v1.2.27
func (o *GetCVEOptions) Run() error
Run implements this command
type GetChatOptions ¶ added in v1.1.67
type GetChatOptions struct { GetOptions Kind string Dir string }
GetChatOptions the command line options
func (*GetChatOptions) Run ¶ added in v1.1.67
func (o *GetChatOptions) Run() error
Run implements this command
type GetConfigOptions ¶ added in v1.1.23
type GetConfigOptions struct { GetOptions Dir string }
GetConfigOptions the command line options
func (*GetConfigOptions) Run ¶ added in v1.1.23
func (o *GetConfigOptions) Run() error
Run implements this command
type GetDevPodOptions ¶ added in v1.2.30
type GetDevPodOptions struct {
GetOptions
}
GetDevPodOptions the command line options
func (*GetDevPodOptions) Run ¶ added in v1.2.30
func (o *GetDevPodOptions) Run() error
Run implements this command
type GetEnvOptions ¶ added in v1.0.2
type GetEnvOptions struct { GetOptions PromotionStrategy string PreviewOnly bool }
GetEnvOptions containers the CLI options
func (*GetEnvOptions) Run ¶ added in v1.0.2
func (o *GetEnvOptions) Run() error
Run implements this command
type GetGitOptions ¶ added in v1.0.16
type GetGitOptions struct {
GetOptions
}
GetGitOptions the command line options
func (*GetGitOptions) Run ¶ added in v1.0.16
func (o *GetGitOptions) Run() error
Run implements this command
type GetHelmBinOptions ¶ added in v1.2.132
type GetHelmBinOptions struct {
GetOptions
}
GetHelmBinOptions containers the CLI options
func (*GetHelmBinOptions) Run ¶ added in v1.2.132
func (o *GetHelmBinOptions) Run() error
Run implements this command
type GetIssueOptions ¶ added in v1.3.5
type GetIssueOptions struct { GetOptions Dir string Id string }
GetIssueOptions contains the command line options
func (*GetIssueOptions) Run ¶ added in v1.3.5
func (o *GetIssueOptions) Run() error
Run implements this command
type GetIssuesOptions ¶ added in v1.1.23
type GetIssuesOptions struct { GetOptions Dir string Filter string }
GetIssuesOptions contains the command line options
func (*GetIssuesOptions) Run ¶ added in v1.1.23
func (o *GetIssuesOptions) Run() error
Run implements this command
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()
func (*GetOptions) Run ¶ added in v1.0.2
func (o *GetOptions) Run() error
Run implements this command
type GetPipelineOptions ¶ added in v1.0.2
type GetPipelineOptions struct {
GetOptions
}
GetPipelineOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*GetPipelineOptions) Run ¶ added in v1.0.2
func (o *GetPipelineOptions) Run() error
Run implements this command
type GetPostPreviewJobOptions ¶ added in v1.3.46
type GetPostPreviewJobOptions struct {
CreateOptions
}
GetPostPreviewJobOptions the options for the create spring command
func (*GetPostPreviewJobOptions) Run ¶ added in v1.3.46
func (o *GetPostPreviewJobOptions) Run() error
Run implements the command
type GetPreviewOptions ¶ added in v1.2.75
type GetPreviewOptions struct { GetEnvOptions Current bool }
GetPreviewOptions containers the CLI options
func (*GetPreviewOptions) CurrentPreviewUrl ¶ added in v1.3.91
func (o *GetPreviewOptions) CurrentPreviewUrl() error
func (*GetPreviewOptions) Run ¶ added in v1.2.75
func (o *GetPreviewOptions) Run() error
Run implements this command
type GetQuickstartLocationOptions ¶ added in v1.2.84
type GetQuickstartLocationOptions struct {
GetOptions
}
GetQuickstartLocationOptions containers the CLI options
func (*GetQuickstartLocationOptions) Run ¶ added in v1.2.84
func (o *GetQuickstartLocationOptions) Run() error
Run implements this command
type GetReleaseOptions ¶ added in v1.3.171
type GetReleaseOptions struct { GetOptions Filter string Namespace string }
GetReleaseOptions containers the CLI options
func (*GetReleaseOptions) Run ¶ added in v1.3.171
func (o *GetReleaseOptions) Run() error
Run implements this command
type GetTeamOptions ¶ added in v1.3.27
type GetTeamOptions struct { GetOptions Pending bool }
GetTeamOptions containers the CLI options
func (*GetTeamOptions) Run ¶ added in v1.3.27
func (o *GetTeamOptions) Run() error
Run implements this command
type GetTeamRoleOptions ¶ added in v1.3.249
type GetTeamRoleOptions struct {
GetOptions
}
GetTeamRoleOptions containers the CLI options
func (*GetTeamRoleOptions) Run ¶ added in v1.3.249
func (o *GetTeamRoleOptions) Run() error
Run implements this command
type GetTokenAddonOptions ¶ added in v1.1.69
type GetTokenAddonOptions struct {
GetTokenOptions
}
GetTokenAddonOptions the command line options
func (*GetTokenAddonOptions) Run ¶ added in v1.1.69
func (o *GetTokenAddonOptions) Run() error
Run implements this command
type GetTokenOptions ¶ added in v1.1.69
type GetTokenOptions struct { GetOptions Kind string Name string }
GetTokenOptions the command line options
func (*GetTokenOptions) Run ¶ added in v1.1.69
func (o *GetTokenOptions) Run() error
Run implements this command
type GetTrackerOptions ¶ added in v1.1.23
type GetTrackerOptions struct { GetOptions Kind string Dir string }
GetTrackerOptions the command line options
func (*GetTrackerOptions) Run ¶ added in v1.1.23
func (o *GetTrackerOptions) Run() error
Run implements this command
type GetURLOptions ¶ added in v1.0.2
type GetURLOptions struct { GetOptions Namespace string Environment string }
GetURLOptions the command line options
func (*GetURLOptions) Run ¶ added in v1.0.2
func (o *GetURLOptions) Run() error
Run implements this command
type GetUserOptions ¶ added in v1.3.146
type GetUserOptions struct { GetOptions Pending bool }
GetUserOptions containers the CLI options
func (*GetUserOptions) Run ¶ added in v1.3.146
func (o *GetUserOptions) Run() error
Run implements this command
type GetWorkflowOptions ¶ added in v1.3.166
type GetWorkflowOptions struct { GetOptions Name string }
GetWorkflowOptions containers the CLI options
func (*GetWorkflowOptions) Run ¶ added in v1.3.166
func (o *GetWorkflowOptions) Run() error
Run implements this command
type GitSourceSpec ¶ added in v1.3.148
type GitSourceSpec struct { // URL of the Git repository to clone from. Url string `json:"url"` // Git revision (branch, tag, commit SHA or ref) to clone. See // https://git-scm.com/docs/gitrevisions#_specifying_revisions for more // information. Revision string `json:"revision"` }
GitSourceSpec describes a Git repo source input to the Build.
type GoogleSpec ¶ added in v1.3.148
type GoogleSpec struct { // Operation is the unique name of the GCB API Operation for the build. Operation string `json:"operation"` }
GoogleSpec provides information about the GCB build, if applicable.
type ImportOptions ¶
type ImportOptions struct { CommonOptions RepoURL string Dir string Organisation string Repository string Credentials string AppName string GitHub bool DryRun bool SelectAll bool DisableDraft bool DisableJenkinsfileCheck bool SelectFilter string Jenkinsfile string BranchPattern string GitRepositoryOptions gits.GitRepositoryOptions ImportGitCommitMessage string ListDraftPacks bool DraftPack string DefaultOwner string DockerRegistryOrg string DisableDotGitSearch bool InitialisedGit bool Jenkins *gojenkins.Jenkins GitConfDir string GitServer *auth.AuthServer GitUserAuth *auth.UserAuth GitProvider gits.GitProvider PostDraftPackCallback CallbackFn DisableMaven bool }
func (*ImportOptions) CloneRepository ¶ added in v1.0.2
func (o *ImportOptions) CloneRepository() error
func (*ImportOptions) CreateNewRemoteRepository ¶ added in v1.0.2
func (o *ImportOptions) CreateNewRemoteRepository() error
func (*ImportOptions) DefaultGitIgnore ¶ added in v1.0.2
func (o *ImportOptions) DefaultGitIgnore() error
DiscoverGit checks if there is a git clone or prompts the user to import it
func (*ImportOptions) DiscoverGit ¶ added in v1.0.2
func (o *ImportOptions) DiscoverGit() error
DiscoverGit checks if there is a git clone or prompts the user to import it
func (*ImportOptions) DiscoverRemoteGitURL ¶ added in v1.0.2
func (o *ImportOptions) DiscoverRemoteGitURL() error
DiscoverRemoteGitURL finds the git url by looking in the directory and looking for a .git/config file
func (*ImportOptions) DraftCreate ¶ added in v1.0.2
func (o *ImportOptions) DraftCreate() error
func (*ImportOptions) ImportProjectsFromGitHub ¶ added in v1.0.6
func (o *ImportOptions) ImportProjectsFromGitHub() error
func (*ImportOptions) ReplacePlaceholders ¶ added in v1.3.176
func (o *ImportOptions) ReplacePlaceholders(gitServerName, gitOrg, dockerRegistryOrg string) error
ReplacePlaceholders replaces git server name, git org, and docker registry org placeholders
func (*ImportOptions) Run ¶
func (o *ImportOptions) Run() error
type InitFlags ¶ added in v1.0.2
type InitFlags struct { Domain string Provider string Namespace string UserClusterRole string TillerClusterRole string IngressClusterRole string TillerNamespace string IngressNamespace string IngressService string IngressDeployment string ExternalIP string DraftClient bool HelmClient bool Helm3 bool HelmBin string RecreateExistingDraftRepos bool Tiller bool GlobalTiller bool SkipIngress bool SkipTiller bool OnPremise bool Http bool }
type InitOptions ¶ added in v1.0.2
type InitOptions struct { CommonOptions Client clientset.Clientset Flags InitFlags }
InitOptions the flags for running init
func (*InitOptions) HelmBinary ¶ added in v1.3.22
func (o *InitOptions) HelmBinary() string
func (*InitOptions) Run ¶ added in v1.0.2
func (o *InitOptions) Run() error
type InstallFlags ¶
type InstallFlags struct { Domain string ExposeControllerPathMode string DockerRegistry string Provider string CloudEnvRepository string LocalHelmRepoName string Namespace string NoDefaultEnvironments bool HelmTLS bool DefaultEnvironmentPrefix string LocalCloudEnvironment bool Timeout string RegisterLocalHelmRepo bool CleanupTempFiles bool InstallOnly bool EnvironmentGitOwner string Version string Prow bool }
type InstallOptions ¶
type InstallOptions struct { CommonOptions gits.GitRepositoryOptions CreateJenkinsUserOptions CreateEnvOptions config.AdminSecretsService InitOptions InitOptions Flags InstallFlags }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*InstallOptions) Run ¶ added in v1.0.2
func (options *InstallOptions) Run() error
Run implements this command
type KubernetesProvider ¶ added in v1.0.2
type KubernetesProvider string
type Login ¶ added in v1.3.248
type Login struct {
Data UserLoginInfo `form:"data,omitempty" json:"data,omitempty" yaml:"data,omitempty" xml:"data,omitempty"`
}
Login holds the login information
type LoginOptions ¶ added in v1.3.248
type LoginOptions struct { CommonOptions URL string }
LoginOptions options for login command
func (*LoginOptions) Login ¶ added in v1.3.248
func (o *LoginOptions) Login() (*UserLoginInfo, error)
func (*LoginOptions) OnboardUser ¶ added in v1.3.248
func (o *LoginOptions) OnboardUser(cookie string) (*UserLoginInfo, error)
func (*LoginOptions) Run ¶ added in v1.3.248
func (o *LoginOptions) Run() error
type LogsOptions ¶ added in v1.0.2
type LogsOptions struct { CommonOptions Container string Namespace string Environment string Filter string Label string EditEnvironment bool KNativeBuild bool }
func (*LogsOptions) Run ¶ added in v1.0.2
func (o *LogsOptions) Run() error
type MetricsOptions ¶ added in v1.0.8
type MetricsOptions struct { CommonOptions Namespace string Filter string Duration string Selector string Metric string }
func (*MetricsOptions) Run ¶ added in v1.0.8
func (o *MetricsOptions) Run() error
type ModifyRequirementsFn ¶ added in v1.2.39
type ModifyRequirementsFn func(requirements *helm.Requirements) error
ModifyRequirementsFn callback for modifying requirements
type NamespaceOptions ¶
type NamespaceOptions struct {
CommonOptions
}
func (*NamespaceOptions) PickNamespace ¶
func (o *NamespaceOptions) PickNamespace(names []string, defaultNamespace string) (string, error)
func (*NamespaceOptions) Run ¶
func (o *NamespaceOptions) Run() error
type OpenOptions ¶
type OpenOptions struct {
ConsoleOptions
}
func (*OpenOptions) Run ¶
func (o *OpenOptions) Run() error
type PackageJSON ¶ added in v1.2.60
type PackageJSON struct {
Version string `json:"version"`
}
type PreviewOptions ¶ added in v1.0.83
type PreviewOptions struct { PromoteOptions Name string Label string Namespace string DevNamespace string Cluster string PullRequestURL string PullRequest string SourceURL string SourceRef string Dir string PostPreviewJobTimeout string PostPreviewJobPollTime string PullRequestName string GitConfDir string GitProvider gits.GitProvider GitInfo *gits.GitRepositoryInfo // calculated fields PostPreviewJobTimeoutDuration time.Duration PostPreviewJobPollDuration time.Duration HelmValuesConfig config.HelmValuesConfig }
PreviewOptions the options for viewing running PRs
func (*PreviewOptions) Run ¶ added in v1.0.83
func (o *PreviewOptions) Run() error
Run implements the command
func (*PreviewOptions) RunPostPreviewSteps ¶ added in v1.3.46
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 ¶ added in v1.0.2
type PromoteOptions struct { CommonOptions Namespace string Environment string Application string Pipeline string Build string Version string ReleaseName string LocalHelmRepoName string HelmRepositoryURL string NoHelmUpdate bool AllAutomatic bool NoMergePullRequest bool NoPoll bool NoWaitAfterMerge bool IgnoreLocalFiles bool Timeout string PullRequestPollTime string Filter string Alias string // allow git to be configured externally before a PR is created ConfigureGitCallback ConfigureGitFolderFn // for testing FakePullRequests CreateEnvPullRequestFn // calculated fields TimeoutDuration *time.Duration PullRequestPollDuration *time.Duration Activities typev1.PipelineActivityInterface GitInfo *gits.GitRepositoryInfo ReleaseInfo *ReleaseInfo // contains filtered or unexported fields }
PromoteOptions containers the CLI options
func (*PromoteOptions) GetTargetNamespace ¶ added in v1.0.2
func (o *PromoteOptions) GetTargetNamespace(ns string, env string) (string, *v1.Environment, error)
func (*PromoteOptions) Promote ¶ added in v1.0.13
func (o *PromoteOptions) Promote(targetNS string, env *v1.Environment, warnIfAuto bool) (*ReleaseInfo, error)
func (*PromoteOptions) PromoteAllAutomatic ¶ added in v1.0.13
func (o *PromoteOptions) PromoteAllAutomatic() error
func (*PromoteOptions) PromoteViaPullRequest ¶ added in v1.0.2
func (o *PromoteOptions) PromoteViaPullRequest(env *v1.Environment, releaseInfo *ReleaseInfo) error
func (*PromoteOptions) Run ¶ added in v1.0.2
func (o *PromoteOptions) Run() error
Run implements this command
func (*PromoteOptions) SearchForChart ¶ added in v1.3.166
func (o *PromoteOptions) SearchForChart(filter string) (string, error)
func (*PromoteOptions) WaitForPromotion ¶ added in v1.0.13
func (o *PromoteOptions) WaitForPromotion(ns string, env *v1.Environment, releaseInfo *ReleaseInfo) error
type PromptOptions ¶ added in v1.0.2
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
func (*PromptOptions) Run ¶ added in v1.0.2
func (o *PromptOptions) Run() error
Run implements this command
type ReleaseInfo ¶ added in v1.0.63
type ReleaseInfo struct { ReleaseName string FullAppName string Version string PullRequestInfo *ReleasePullRequestInfo }
type ReleasePullRequestInfo ¶ added in v1.0.63
type ReleasePullRequestInfo struct { GitProvider gits.GitProvider PullRequest *gits.GitPullRequest PullRequestArguments *gits.GitPullRequestArguments }
type RepoOptions ¶ added in v1.2.132
type RepoOptions struct { CommonOptions Dir string OnlyViewURL bool }
func (*RepoOptions) Run ¶ added in v1.2.132
func (o *RepoOptions) Run() error
type RshOptions ¶ added in v1.0.10
type RshOptions struct { CommonOptions Container string Namespace string Pod string Executable string ExecCmd string DevPod bool // contains filtered or unexported fields }
func (*RshOptions) Run ¶ added in v1.0.10
func (o *RshOptions) Run() error
type ScanClusterOptions ¶ added in v1.3.179
type ScanClusterOptions struct { ScanOptions Output string }
ScanClusterOptions the options for 'scan cluster' command
func (*ScanClusterOptions) Run ¶ added in v1.3.179
func (o *ScanClusterOptions) Run() error
Run executes the "scan cluster" command
type ScanOptions ¶ added in v1.3.179
type ScanOptions struct {
CommonOptions
}
Scan Options contains the command line options for scan commands
func (*ScanOptions) Run ¶ added in v1.3.179
func (o *ScanOptions) Run() error
Run executes the scan commands
type ServerFlags ¶ added in v1.0.41
func (*ServerFlags) IsEmpty ¶ added in v1.0.41
func (f *ServerFlags) IsEmpty() bool
type ShellOptions ¶ added in v1.0.6
type ShellOptions struct {
CommonOptions
}
func (*ShellOptions) PickContext ¶ added in v1.0.6
func (o *ShellOptions) PickContext(names []string, defaultValue string) (string, error)
func (*ShellOptions) Run ¶ added in v1.0.6
func (o *ShellOptions) Run() error
type SourceSpec ¶ added in v1.3.148
type SourceSpec struct { // Git represents source in a Git repository. Git *GitSourceSpec `json:"git,omitempty"` // GCS represents source in Google Cloud Storage. GCS *GCSSourceSpec `json:"gcs,omitempty"` // Custom indicates that source should be retrieved using a custom // process defined in a container invocation. Custom *corev1.Container `json:"custom,omitempty"` // SubPath specifies a path within the fetched source which should be // built. This option makes parent directories *inaccessible* to the // build steps. (The specific source type may, in fact, not even fetch // files not in the SubPath.) SubPath string `json:"subPath,omitempty"` }
SourceSpec defines the input to the Build
type Start ¶ added in v1.0.10
type Start struct {
CommonOptions
}
Start contains the command line options
type StartPipelineOptions ¶ added in v1.0.10
type StartPipelineOptions struct { GetOptions Tail bool Filter string Jobs map[string]gojenkins.Job }
StartPipelineOptions contains the command line options
func (*StartPipelineOptions) Run ¶ added in v1.0.10
func (o *StartPipelineOptions) Run() error
Run implements this command
type StatusOptions ¶ added in v1.1.41
type StatusOptions struct { CommonOptions // contains filtered or unexported fields }
func (*StatusOptions) Run ¶ added in v1.1.41
func (o *StatusOptions) Run() error
type StatusSortedTestCases ¶ added in v1.2.129
type StatusSortedTestCases []reporters.JUnitTestCase
StatusSortedTestCases implements Sort by status of a list of test case
func (StatusSortedTestCases) Len ¶ added in v1.2.129
func (s StatusSortedTestCases) Len() int
func (StatusSortedTestCases) Less ¶ added in v1.2.129
func (s StatusSortedTestCases) Less(i, j int) bool
func (StatusSortedTestCases) Swap ¶ added in v1.2.129
func (s StatusSortedTestCases) Swap(i, j int)
type StepBlogOptions ¶ added in v1.1.67
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
func (*StepBlogOptions) Run ¶ added in v1.1.67
func (o *StepBlogOptions) Run() error
Run implements this command
type StepBlogState ¶ added in v1.1.67
type StepBlogState struct { GitInfo *gits.GitRepositoryInfo GitProvider gits.GitProvider Tracker issues.IssueProvider Release *v1.Release BlogFileName string DeveloperChatMetricsName string UserChatMetricsName string Buffer *bytes.Buffer Writer *bufio.Writer HistoryService *reports.ProjectHistoryService History *reports.ProjectHistory NewContributors map[string]*v1.UserDetails NewCommitters map[string]*v1.UserDetails }
type StepChangelogOptions ¶ added in v1.0.90
type StepChangelogOptions struct { StepOptions PreviousRevision string PreviousDate string CurrentRevision string TemplatesDir string ReleaseYamlFile string CrdYamlFile string Dir string Version string Build string Header string HeaderFile string OutputMarkdownFile string OverwriteCRD bool GenerateCRD bool GenerateReleaseYaml bool UpdateRelease bool NoReleaseInDev bool State StepChangelogState }
StepChangelogOptions contains the command line flags
func (*StepChangelogOptions) Run ¶ added in v1.0.90
func (o *StepChangelogOptions) Run() error
type StepChangelogState ¶ added in v1.0.97
type StepChangelogState struct { GitInfo *gits.GitRepositoryInfo GitProvider gits.GitProvider Tracker issues.IssueProvider FoundIssueNames map[string]bool LoggedIssueKind bool Release *v1.Release }
type StepCreateBuildOptions ¶ added in v1.3.148
type StepCreateBuildOptions struct { StepOptions Dir string OutputDir string OutputFilePrefix string BranchKind string BuildNumber int }
StepCreateBuildOptions contains the command line flags
func (*StepCreateBuildOptions) Run ¶ added in v1.3.148
func (o *StepCreateBuildOptions) Run() error
Run implements this command
type StepGitCredentialsOptions ¶ added in v1.1.61
type StepGitCredentialsOptions struct { StepOptions OutputFile string }
StepGitCredentialsOptions contains the command line flags
func (*StepGitCredentialsOptions) CreateGitCredentialsFromSecrets ¶ added in v1.3.176
func (o *StepGitCredentialsOptions) CreateGitCredentialsFromSecrets(secretList *corev1.SecretList) []byte
CreateGitCredentialsFromSecrets Creates git credentials from secrets
func (*StepGitCredentialsOptions) Run ¶ added in v1.1.61
func (o *StepGitCredentialsOptions) Run() error
type StepGitOptions ¶ added in v1.1.61
type StepGitOptions struct {
StepOptions
}
StepGitOptions contains the command line flags
func (*StepGitOptions) Run ¶ added in v1.1.61
func (o *StepGitOptions) Run() error
Run implements this command
type StepGpgCredentialsOptions ¶ added in v1.2.95
type StepGpgCredentialsOptions struct { StepOptions OutputDir string }
StepGpgCredentialsOptions contains the command line flags
func (*StepGpgCredentialsOptions) GenerateGpgFiles ¶ added in v1.2.95
func (o *StepGpgCredentialsOptions) GenerateGpgFiles(secret *v1.Secret) error
func (*StepGpgCredentialsOptions) Run ¶ added in v1.2.95
func (o *StepGpgCredentialsOptions) Run() error
type StepHelmApplyOptions ¶ added in v1.2.141
type StepHelmApplyOptions struct { StepHelmOptions Namespace string ReleaseName string Wait bool Force bool }
StepHelmApplyOptions contains the command line flags
func (*StepHelmApplyOptions) Run ¶ added in v1.2.141
func (o *StepHelmApplyOptions) Run() error
type StepHelmBuildOptions ¶ added in v1.2.141
type StepHelmBuildOptions struct { StepHelmOptions // contains filtered or unexported fields }
StepHelmBuildOptions contains the command line flags
func (*StepHelmBuildOptions) Run ¶ added in v1.2.141
func (o *StepHelmBuildOptions) Run() error
type StepHelmEnvOptions ¶ added in v1.3.249
type StepHelmEnvOptions struct { StepHelmOptions // contains filtered or unexported fields }
StepHelmEnvOptions contains the command line flags
func (*StepHelmEnvOptions) Run ¶ added in v1.3.249
func (o *StepHelmEnvOptions) Run() error
type StepHelmOptions ¶ added in v1.2.132
type StepHelmOptions struct { StepOptions Dir string GitProvider string // contains filtered or unexported fields }
StepHelmOptions contains the command line flags
func (*StepHelmOptions) Run ¶ added in v1.2.132
func (o *StepHelmOptions) Run() error
Run implements this command
type StepHelmReleaseOptions ¶ added in v1.2.132
type StepHelmReleaseOptions struct {
StepHelmOptions
}
StepHelmReleaseOptions contains the command line flags
func (*StepHelmReleaseOptions) Run ¶ added in v1.2.132
func (o *StepHelmReleaseOptions) Run() error
type StepLinkServicesOptions ¶ added in v1.3.71
type StepLinkServicesOptions struct { StepOptions FromNamespace string ToNamespace string Includes []string Excludes []string }
StepLinkServicesOptions contains the command line flags
func (*StepLinkServicesOptions) Run ¶ added in v1.3.71
func (o *StepLinkServicesOptions) Run() error
Run implements this command
type StepNextBuildNumberOptions ¶ added in v1.3.252
type StepNextBuildNumberOptions struct { StepOptions Owner string Repository string Branch string }
StepNextBuildNumberOptions contains the command line flags
func (*StepNextBuildNumberOptions) Run ¶ added in v1.3.252
func (o *StepNextBuildNumberOptions) Run() error
type StepNextVersionOptions ¶ added in v1.2.60
type StepNextVersionOptions struct { Filename string Dir string Tag bool UseGitTagOnly bool NewVersion string StepOptions }
StepNextVersionOptions contains the command line flags
func (*StepNextVersionOptions) GetVersion ¶ added in v1.3.176
func (o *StepNextVersionOptions) GetVersion() (string, error)
GetVersion gets the version from a source file
func (*StepNextVersionOptions) Run ¶ added in v1.2.60
func (o *StepNextVersionOptions) Run() error
func (*StepNextVersionOptions) SetVersion ¶ added in v1.3.176
func (o *StepNextVersionOptions) SetVersion() error
SetVersion Sets the version...
type StepNexusDropOptions ¶ added in v1.0.26
type StepNexusDropOptions struct {
StepNexusOptions
}
StepNexusDropOptions contains the command line flags
func (*StepNexusDropOptions) Run ¶ added in v1.0.26
func (o *StepNexusDropOptions) Run() error
type StepNexusOptions ¶ added in v1.0.26
type StepNexusOptions struct {
StepOptions
}
StepNexusOptions contains the command line flags
func (*StepNexusOptions) Run ¶ added in v1.0.26
func (o *StepNexusOptions) Run() error
Run implements this command
type StepNexusReleaseOptions ¶ added in v1.0.26
type StepNexusReleaseOptions struct { StepNexusOptions DropOnFailure bool }
StepNexusReleaseOptions contains the command line flags
func (*StepNexusReleaseOptions) Run ¶ added in v1.0.26
func (o *StepNexusReleaseOptions) Run() error
type StepOptions ¶ added in v1.0.19
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()
func (*StepOptions) Run ¶ added in v1.0.19
func (o *StepOptions) Run() error
Run implements this command
type StepPRCommentFlags ¶ added in v1.0.91
type StepPRCommentOptions ¶ added in v1.0.91
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 ¶ added in v1.0.91
func (o *StepPRCommentOptions) Run() error
Run implements this command
type StepPROptions ¶ added in v1.0.91
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()
func (*StepPROptions) Run ¶ added in v1.0.91
func (o *StepPROptions) Run() error
Run implements this command
type StepPostBuildOptions ¶ added in v1.2.27
type StepPostBuildOptions struct { StepOptions FullImageName string OutputFile string }
StepPostBuildOptions contains the command line flags
func (*StepPostBuildOptions) Run ¶ added in v1.2.27
func (o *StepPostBuildOptions) Run() error
type StepPostOptions ¶ added in v1.2.27
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()
func (*StepPostOptions) Run ¶ added in v1.2.27
func (o *StepPostOptions) Run() error
Run implements this command
type StepPreBuildOptions ¶ added in v1.3.61
type StepPreBuildOptions struct { StepOptions Image string }
StepPreBuildOptions contains the command line flags
func (*StepPreBuildOptions) Run ¶ added in v1.3.61
func (o *StepPreBuildOptions) Run() error
type StepPreOptions ¶ added in v1.3.61
type StepPreOptions struct { CommonOptions DisableImport bool OutDir string }
StepPreOptions defines the CLI arguments
func (*StepPreOptions) Run ¶ added in v1.3.61
func (o *StepPreOptions) Run() error
Run implements this command
type StepReleaseOptions ¶ added in v1.3.137
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 ¶ added in v1.3.137
func (o *StepReleaseOptions) Run() error
Run implements this command
type StepReportActivitiesOptions ¶ added in v1.2.77
type StepReportActivitiesOptions struct { StepReportOptions Watch bool pe.PipelineEventsProvider }
StepReportActivitiesOptions contains the command line flags
func (*StepReportActivitiesOptions) Run ¶ added in v1.2.77
func (o *StepReportActivitiesOptions) Run() error
type StepReportOptions ¶ added in v1.2.77
type StepReportOptions struct {
StepOptions
}
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*StepReportOptions) Run ¶ added in v1.2.77
func (o *StepReportOptions) Run() error
Run implements this command
type StepReportReleasesOptions ¶ added in v1.2.106
type StepReportReleasesOptions struct { StepReportOptions Watch bool pe.PipelineEventsProvider }
StepReportReleasesOptions contains the command line flags
func (*StepReportReleasesOptions) Run ¶ added in v1.2.106
func (o *StepReportReleasesOptions) Run() error
type StepSplitMonorepoOptions ¶ added in v1.2.62
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 ¶ added in v1.2.62
func (o *StepSplitMonorepoOptions) Run() error
Run implements this command
type StepSummary ¶ added in v1.3.166
type StepTagFlags ¶ added in v1.0.19
type StepTagOptions ¶ added in v1.0.19
type StepTagOptions struct { StepOptions Flags StepTagFlags }
CreateClusterOptions the flags for running create cluster
func (*StepTagOptions) Run ¶ added in v1.0.19
func (o *StepTagOptions) Run() error
type StepValidateOptions ¶ added in v1.1.60
type StepValidateOptions struct { StepOptions MinimumJxVersion string Dir string }
StepValidateOptions contains the command line flags
func (*StepValidateOptions) Run ¶ added in v1.1.60
func (o *StepValidateOptions) Run() error
Run implements this command
type StepVerifyOptions ¶ added in v1.3.127
type StepVerifyOptions struct { StepOptions After int32 Pods int32 Restarts int32 }
func (*StepVerifyOptions) Run ¶ added in v1.3.127
func (o *StepVerifyOptions) Run() error
type StepWaitForArtifactOptions ¶ added in v1.2.97
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 ¶ added in v1.2.97
func (o *StepWaitForArtifactOptions) Run() error
type Stop ¶ added in v1.2.67
type Stop struct {
CommonOptions
}
Stop contains the command line options
type StopPipelineOptions ¶ added in v1.2.67
type StopPipelineOptions struct { GetOptions Build int Filter string Jobs map[string]gojenkins.Job }
StopPipelineOptions contains the command line options
func (*StopPipelineOptions) Run ¶ added in v1.2.67
func (o *StopPipelineOptions) Run() error
Run implements this command
type SyncOptions ¶ added in v1.2.30
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 ¶ added in v1.2.69
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 ¶ added in v1.2.86
func (o *SyncOptions) KsyncWatch() error
func (*SyncOptions) Run ¶ added in v1.2.30
func (o *SyncOptions) Run() error
type TeamOptions ¶ added in v1.3.27
type TeamOptions struct {
CommonOptions
}
func (*TeamOptions) Run ¶ added in v1.3.27
func (o *TeamOptions) Run() error
type TemplateInstantiationSpec ¶ added in v1.3.148
type TemplateInstantiationSpec struct { // Name references the BuildTemplate resource to use. // // The template is assumed to exist in the Build's namespace. Name string `json:"name"` // Arguments, if specified, lists values that should be applied to the // parameters specified by the template. Arguments []ArgumentSpec `json:"arguments,omitempty"` // Env, if specified will provide variables to all build template steps. // This will override any of the template's steps environment variables. Env []corev1.EnvVar `json:"env,omitempty"` }
TemplateInstantiationSpec specifies how a BuildTemplate is instantiated into a Build.
type UninstallOptions ¶ added in v1.0.2
type UninstallOptions struct { CommonOptions Namespace string Confirm bool }
func (*UninstallOptions) Run ¶ added in v1.0.2
func (o *UninstallOptions) Run() error
type UpdateClusterFlags ¶ added in v1.2.125
type UpdateClusterFlags struct { }
type UpdateClusterGKEOptions ¶ added in v1.2.125
type UpdateClusterGKEOptions struct {
UpdateClusterOptions
}
CreateClusterOptions the flags for running create cluster
func (*UpdateClusterGKEOptions) Run ¶ added in v1.2.125
func (o *UpdateClusterGKEOptions) Run() error
type UpdateClusterGKETerraformFlags ¶ added in v1.2.125
type UpdateClusterGKETerraformOptions ¶ added in v1.2.125
type UpdateClusterGKETerraformOptions struct { UpdateClusterOptions Flags UpdateClusterGKETerraformFlags }
CreateClusterOptions the flags for running create cluster
func (*UpdateClusterGKETerraformOptions) Run ¶ added in v1.2.125
func (o *UpdateClusterGKETerraformOptions) Run() error
type UpdateClusterOptions ¶ added in v1.2.125
type UpdateClusterOptions struct { UpdateOptions InstallOptions InstallOptions Flags InitFlags Provider string }
CreateClusterOptions the flags for running create cluster
func (*UpdateClusterOptions) Run ¶ added in v1.2.125
func (o *UpdateClusterOptions) Run() error
type UpdateOptions ¶ added in v1.2.125
type UpdateOptions struct { CommonOptions DisableImport bool OutDir string }
Update contains the command line options
func (*UpdateOptions) Run ¶ added in v1.2.125
func (o *UpdateOptions) Run() error
Run implements this command
type UpgradeCLIOptions ¶ added in v1.1.56
type UpgradeCLIOptions struct { CreateOptions Version string }
UpgradeCLIOptions the options for the create spring command
func (*UpgradeCLIOptions) Run ¶ added in v1.1.56
func (o *UpgradeCLIOptions) Run() error
Run implements the command
type UpgradeClusterOptions ¶ added in v1.2.79
type UpgradeClusterOptions struct { UpgradeOptions Version string ClusterName string }
UpgradeClusterOptions the options for the create spring command
func (*UpgradeClusterOptions) Run ¶ added in v1.2.79
func (o *UpgradeClusterOptions) Run() error
Run implements the command
type UpgradeIngressOptions ¶ added in v1.3.90
type UpgradeIngressOptions struct { CreateOptions SkipCertManager bool Cluster bool Namespaces []string Version string TargetNamespaces []string IngressConfig kube.IngressConfig }
UpgradeIngressOptions the options for the create spring command
func (*UpgradeIngressOptions) AnnotateExposedServicesWithCertManager ¶ added in v1.3.176
func (o *UpgradeIngressOptions) AnnotateExposedServicesWithCertManager() error
AnnotateExposedServicesWithCertManager annotates exposed service with cert manager
func (*UpgradeIngressOptions) CleanServiceAnnotations ¶ added in v1.3.176
func (o *UpgradeIngressOptions) CleanServiceAnnotations() error
CleanServiceAnnotations cleans service annotations
func (*UpgradeIngressOptions) Run ¶ added in v1.3.90
func (o *UpgradeIngressOptions) Run() error
Run implements the command
type UpgradeOptions ¶ added in v1.0.51
type UpgradeOptions struct {
CommonOptions
}
UpgradeOptions are the flags for delete commands
func (*UpgradeOptions) Run ¶ added in v1.0.51
func (o *UpgradeOptions) Run() error
Run implements this command
type UpgradePlatformOptions ¶ added in v1.0.51
type UpgradePlatformOptions struct { CreateOptions Version string ReleaseName string Chart string Namespace string Set string InstallFlags InstallFlags }
UpgradePlatformOptions the options for the create spring command
func (*UpgradePlatformOptions) Run ¶ added in v1.0.51
func (o *UpgradePlatformOptions) Run() error
Run implements the command
type UserLoginInfo ¶ added in v1.3.248
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 ¶ added in v1.0.6
type VersionOptions struct { CommonOptions Container string Namespace string HelmTLS bool NoVersionCheck bool }
func (*VersionOptions) Run ¶ added in v1.0.6
func (o *VersionOptions) Run() error
func (*VersionOptions) UpgradeCli ¶ added in v1.3.159
func (o *VersionOptions) UpgradeCli() error
func (*VersionOptions) VersionCheck ¶ added in v1.3.159
func (o *VersionOptions) VersionCheck() error
Source Files ¶
- cloudbees.go
- cmd.go
- common.go
- common_addon.go
- common_auth.go
- common_cert_manageer.go
- common_chat.go
- common_commands.go
- common_environments.go
- common_git.go
- common_helm.go
- common_import.go
- common_install.go
- common_issues.go
- common_jenkins.go
- common_kube_rbac.go
- common_team_settings.go
- completion.go
- compliance.go
- compliance_delete.go
- compliance_logs.go
- compliance_results.go
- compliance_run.go
- compliance_status.go
- console.go
- constants.go
- context.go
- controller.go
- controller_backup.go
- controller_build.go
- controller_role.go
- controller_team.go
- controller_workflow.go
- create.go
- create_addon.go
- create_addon_ambassador.go
- create_addon_anchore.go
- create_addon_cloudbees.go
- create_addon_gitea.go
- create_addon_istio.go
- create_addon_knative_build.go
- create_addon_kubeless.go
- create_addon_owasp.go
- create_addon_pipeline_events.go
- create_addon_prow.go
- create_addon_sso.go
- create_archetype.go
- create_branch_pattern.go
- create_camel.go
- create_chat.go
- create_chat_server.go
- create_chat_token.go
- create_cluster.go
- create_cluster_aks.go
- create_cluster_aws.go
- create_cluster_eks.go
- create_cluster_gke.go
- create_cluster_gke_terraform.go
- create_cluster_minikube.go
- create_cluster_minishift.go
- create_cluster_oke.go
- create_codeship.go
- create_devpod.go
- create_docker_auth.go
- create_docs.go
- create_env.go
- create_etc_hosts.go
- create_git.go
- create_git_api_token.go
- create_git_server.go
- create_git_user.go
- create_gke_service_account.go
- create_issue.go
- create_jenkins.go
- create_jenkins_token.go
- create_jhipster.go
- create_lile.go
- create_micro.go
- create_post_preview_job.go
- create_quickstart.go
- create_quickstart_location.go
- create_spring.go
- create_team.go
- create_terraform.go
- create_token.go
- create_token_addon.go
- create_tracker.go
- create_tracker_server.go
- create_tracker_token.go
- create_user.go
- delete.go
- delete_addon.go
- delete_addon_cloudbees.go
- delete_addon_gitea.go
- delete_app.go
- delete_chat.go
- delete_chat_server.go
- delete_chat_token.go
- delete_context.go
- delete_devpod.go
- delete_env.go
- delete_git.go
- delete_git_server.go
- delete_git_token.go
- delete_jenkins.go
- delete_jenkins_user.go
- delete_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
- edit.go
- edit_addon.go
- edit_buildpack.go
- edit_config.go
- edit_env.go
- edit_helmbin.go
- edit_userrole.go
- environment.go
- factory.go
- gc.go
- gc_activities.go
- gc_gke.go
- gc_helm.go
- gc_previews.go
- gc_releases.go
- get.go
- get_activity.go
- get_addon.go
- get_applications.go
- get_aws_info.go
- get_branchpattern.go
- get_build.go
- get_build_logs.go
- get_buildpack.go
- get_chat.go
- get_config.go
- get_cve.go
- get_devpod.go
- get_env.go
- get_git.go
- get_helmbin.go
- get_issue.go
- get_issues.go
- get_pipeline.go
- get_post_preview_job.go
- get_preview.go
- get_quickstart_locations.go
- get_release.go
- get_team.go
- get_teamrole.go
- get_token.go
- get_token_addon.go
- get_tracker.go
- get_url.go
- get_user.go
- get_workflow.go
- helpers.go
- import.go
- init.go
- install.go
- 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
- status.go
- step.go
- step_blog.go
- step_changelog.go
- step_create_build.go
- step_git.go
- step_git_credentials.go
- step_gpg_credentials.go
- step_helm.go
- step_helm_apply.go
- step_helm_build.go
- step_helm_env.go
- step_helm_release.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_pr.go
- step_pr_comment.go
- step_pre.go
- step_pre_build.go
- step_release.go
- step_report.go
- step_report_activities.go
- step_report_releases.go
- step_split_monorepo.go
- step_tag.go
- step_validate.go
- step_verify.go
- step_wait_for_artifact.go
- stop.go
- stop_pipeline.go
- sync.go
- team.go
- test_helpers.go
- uninstall.go
- update.go
- update_cluster.go
- update_cluster_gke.go
- update_cluster_gke_terraform.go
- upgrade.go
- upgrade_cli.go
- upgrade_cluster.go
- upgrade_ingress.go
- upgrade_platform.go
- version.go