Documentation ¶
Index ¶
- Constants
- Variables
- func GetNamespaceNames(client *kubernetes.Clientset) ([]string, error)
- func IsPipeline(j *gojenkins.Job) bool
- func NewCmdCDX(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCompletion(f cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdConsole(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdContext(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonCDX(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAddonGitea(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateArchetype(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateCluster(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterAKS(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterAWS(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterGKE(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateClusterMinikube(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateDocs(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateEnv(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateEtcHosts(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateGit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateGitServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateGitToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateGitUser(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateIssue(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateJenkins(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateJenkinsUser(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateQuickstart(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateSpring(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDelete(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAddonGitea(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteContext(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteEnv(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteGit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteGitServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteGitToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteJenkins(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteJenkinsUser(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteRepo(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEdit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEditEnv(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEnvironment(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGet(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetActivity(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetBuild(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetBuildLogs(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetEnv(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetGit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetPipeline(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetURL(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetVersion(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdImport(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstall(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdLogs(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdMetrics(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdNamespace(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdOpen(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPreview(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPromote(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPrompt(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdRsh(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdShell(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStart(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStartPipeline(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStep(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepChangelog(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepNexus(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepNexusDrop(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepNexusRelease(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepPR(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepPRComment(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdStepTag(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUninstall(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgrade(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradePlatform(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdVersion(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewJXCommand(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command
- type CDXOptions
- type CommonOptions
- func (c *CommonOptions) CreateTable() table.Table
- func (*CommonOptions) FindHelmChart() (string, error)
- func (o *CommonOptions) GetCloudProvider(p string) (string, error)
- func (o *CommonOptions) GetDomain(client *kubernetes.Clientset, domain string, provider string, ...) (string, error)
- func (o *CommonOptions) GitServerKind(gitInfo *gits.GitRepositoryInfo) (string, error)
- func (o *CommonOptions) JXClient() (*versioned.Clientset, string, error)
- func (o *CommonOptions) JXClientAndDevNamespace() (*versioned.Clientset, string, error)
- func (o *CommonOptions) JenkinsClient() (*gojenkins.Jenkins, error)
- func (o *CommonOptions) KubeClient() (*kubernetes.Clientset, string, error)
- func (c *CommonOptions) Printf(format string, a ...interface{}) (n int, err error)
- func (o *CommonOptions) Run() error
- func (o *CommonOptions) TeamAndEnvironmentNames() (string, string, error)
- type ConsoleOptions
- type ContextOptions
- type CreateAddonCDXOptions
- type CreateAddonGiteaOptions
- type CreateAddonOptions
- type CreateArchetypeOptions
- type CreateClusterAKSFlags
- type CreateClusterAKSOptions
- type CreateClusterAWSFlags
- type CreateClusterAWSOptions
- type CreateClusterFlags
- type CreateClusterGKEFlags
- type CreateClusterGKEOptions
- type CreateClusterMinikubeFlags
- type CreateClusterMinikubeOptions
- type CreateClusterOptions
- type CreateDocsOptions
- type CreateEnvOptions
- type CreateEtcHostsOptions
- type CreateGitOptions
- type CreateGitServerOptions
- type CreateGitTokenOptions
- type CreateGitUserOptions
- type CreateIssueOptions
- type CreateJenkinsOptions
- type CreateJenkinsUserOptions
- type CreateOptions
- type CreateProjectOptions
- type CreateQuickstartOptions
- type CreateSpringOptions
- type DeleteAddonGiteaOptions
- type DeleteAddonOptions
- type DeleteContextOptions
- type DeleteEnvOptions
- type DeleteGitOptions
- type DeleteGitServerOptions
- type DeleteGitTokenOptions
- type DeleteJenkinsOptions
- type DeleteJenkinsUserOptions
- type DeleteOptions
- type DeleteRepoOptions
- type EditEnvOptions
- type EditOptions
- type EnvApps
- type EnvironmentOptions
- type GetActivityOptions
- type GetAddonOptions
- type GetBuildLogsOptions
- type GetBuildOptions
- type GetEnvOptions
- type GetGitOptions
- type GetOptions
- type GetPipelineOptions
- type GetURLOptions
- type GetVersionOptions
- type ImportOptions
- func (o *ImportOptions) CloneRepository() error
- func (o *ImportOptions) CreateNewRemoteRepository() error
- func (o *ImportOptions) DefaultGitIgnore() error
- func (o *ImportOptions) DiscoverGit() error
- func (o *ImportOptions) DiscoverRemoteGitURL() error
- func (o *ImportOptions) DoImport() error
- func (o *ImportOptions) DraftCreate() error
- func (o *ImportOptions) ImportProjectsFromGitHub() error
- func (o *ImportOptions) Run() error
- type InitFlags
- type InitOptions
- type InstallFlags
- type InstallOptions
- type KubernetesProvider
- type LogsOptions
- type MetricsOptions
- type NamespaceOptions
- type OpenOptions
- type PreviewOptions
- type PromoteOptions
- func (o *PromoteOptions) DiscoverAppName() (string, error)
- func (o *PromoteOptions) GetTargetNamespace(ns string, env string) (string, *v1.Environment, error)
- func (o *PromoteOptions) Promote(targetNS string, env *v1.Environment, warnIfAuto bool) (*ReleaseInfo, error)
- func (o *PromoteOptions) PromoteAllAutomatic() error
- func (o *PromoteOptions) PromoteViaPullRequest(env *v1.Environment, releaseInfo *ReleaseInfo) error
- func (o *PromoteOptions) Run() error
- func (o *PromoteOptions) WaitForPromotion(ns string, env *v1.Environment, releaseInfo *ReleaseInfo) error
- type PromptOptions
- type ReleaseInfo
- type ReleasePullRequestInfo
- type RshOptions
- type Secrets
- type ServerFlags
- type ShellOptions
- type Start
- type StartPipelineOptions
- type StepChangelogOptions
- type StepChangelogState
- type StepNexusDropOptions
- type StepNexusOptions
- type StepNexusReleaseOptions
- type StepOptions
- type StepPRCommentFlags
- type StepPRCommentOptions
- type StepPROptions
- type StepTagFlags
- type StepTagOptions
- type UninstallOptions
- type UpgradeOptions
- type UpgradePlatformOptions
- type VersionOptions
Constants ¶
const ( GKE = "gke" EKS = "eks" AKS = "aks" AWS = "aws" MINIKUBE = "minikube" KUBERNETES = "kubernetes" JX_INFRA = "jx-infra" )
const ( PlaceHolder = "REPLACE_ME" DefaultWritePermissions = 0760 )
const ( INGRESS_SERVICE_NAME = "jxing-nginx-ingress-controller" DEFAULT_CHARTMUSEUM_URL = "http://chartmuseum.build.cd.jenkins-x.io" )
const ( JX_GIT_TOKEN = "JX_GIT_TOKEN" JX_GIT_USER = "JX_GIT_USER" DEFAULT_CLOUD_ENVIRONMENTS_URL = "https://github.com/jenkins-x/cloud-environments" GitSecretsFile = "gitSecrets.yaml" AdminSecretsFile = "adminSecrets.yaml" ExtraValuesFile = "extraValues.yaml" )
const ( JENKINS_X_DOCKER_REGISTRY_SERVICE_HOST = "JENKINS_X_DOCKER_REGISTRY_SERVICE_HOST" JENKINS_X_DOCKER_REGISTRY_SERVICE_PORT = "JENKINS_X_DOCKER_REGISTRY_SERVICE_PORT" ORG = "ORG" APP_NAME = "APP_NAME" PREVIEW_VERSION = "PREVIEW_VERSION" )
const ( ReleaseName = `{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}` SpecName = `{{ .Chart.Name }}` SpecVersion = `{{ .Chart.Version }}` ReleaseCrdYaml = `` /* 498-byte string literal not displayed */ )
const CLUSTER_LIST_HEADER = "PROJECT_ID"
const (
DefaultShell = "/bin/sh"
)
const (
JenkinsXQuickstartsOrganisation = "jenkins-x-quickstarts"
)
const (
VERSION = "version"
)
Variables ¶
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 ( 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+)`) )
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 KUBERNETES_PROVIDERS = []string{MINIKUBE, GKE, AKS, AWS, EKS, KUBERNETES, JX_INFRA}
Functions ¶
func GetNamespaceNames ¶
func GetNamespaceNames(client *kubernetes.Clientset) ([]string, error)
GetNamespaceNames returns the sorted list of environment names
func IsPipeline ¶
func IsPipeline(j *gojenkins.Job) bool
func NewCmdConsole ¶
func NewCmdContext ¶
func NewCmdCreate ¶
NewCmdCreate creates a command object for the "create" command
func NewCmdCreateAddon ¶
NewCmdCreateAddon creates a command object for the "create" command
func NewCmdCreateAddonCDX ¶
NewCmdCreateAddonCDX creates a command object for the "create" command
func NewCmdCreateAddonGitea ¶
NewCmdCreateAddonGitea creates a command object for the "create" command
func NewCmdCreateArchetype ¶
NewCmdCreateArchetype creates a command object for the "create" command
func NewCmdCreateCluster ¶
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdCreateClusterAKS ¶
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdCreateClusterAWS ¶
NewCmdCreateClusterAWS creates the command
func NewCmdCreateClusterGKE ¶
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdCreateClusterMinikube ¶
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdCreateDocs ¶
NewCmdCreateDocs creates a command object for the "create" command
func NewCmdCreateEnv ¶
NewCmdCreateEnv creates a command object for the "create" command
func NewCmdCreateEtcHosts ¶
NewCmdCreateEtcHosts creates a command object for the "create" command
func NewCmdCreateGit ¶
NewCmdCreateGit creates a command object for the "create" command
func NewCmdCreateGitServer ¶
NewCmdCreateGitServer creates a command object for the "create" command
func NewCmdCreateGitToken ¶
NewCmdCreateGitToken creates a command
func NewCmdCreateGitUser ¶
NewCmdCreateGitUser creates a command
func NewCmdCreateIssue ¶
NewCmdCreateIssue creates a command object for the "create" command
func NewCmdCreateJenkins ¶
NewCmdCreateJenkins creates a command object for the "create" command
func NewCmdCreateJenkinsUser ¶
NewCmdCreateJenkinsUser creates a command
func NewCmdCreateQuickstart ¶
NewCmdCreateQuickstart creates a command object for the "create" command
func NewCmdCreateSpring ¶
NewCmdCreateSpring creates a command object for the "create" command
func NewCmdDelete ¶
NewCmdDelete creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteAddon ¶
NewCmdDeleteAddon creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteAddonGitea ¶
NewCmdDeleteAddonGitea defines the command
func NewCmdDeleteContext ¶
NewCmdDeleteContext creates a command object for the "delete repo" command
func NewCmdDeleteEnv ¶
NewCmdDeleteEnv creates a command object for the "delete repo" command
func NewCmdDeleteGit ¶
NewCmdDeleteGit creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteGitServer ¶
NewCmdDeleteGitServer defines the command
func NewCmdDeleteGitToken ¶
NewCmdDeleteGitToken defines the command
func NewCmdDeleteJenkins ¶
NewCmdDeleteJenkins creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdDeleteJenkinsUser ¶
NewCmdDeleteJenkinsUser defines the command
func NewCmdDeleteRepo ¶
NewCmdDeleteRepo creates a command object for the "delete repo" command
func NewCmdEdit ¶
NewCmdEdit creates the edit command
func NewCmdEditEnv ¶
NewCmdEditEnv creates a command object for the "create" command
func NewCmdEnvironment ¶
func NewCmdGet ¶
NewCmdGet creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdGetActivity ¶
NewCmdGetActivity creates the new command for: jx get version
func NewCmdGetAddon ¶
NewCmdGetAddon creates the command
func NewCmdGetBuild ¶
NewCmdGetBuild creates the command object
func NewCmdGetBuildLogs ¶
NewCmdGetBuildLogs creates the command
func NewCmdGetEnv ¶
NewCmdGetEnv creates the new command for: jx get env
func NewCmdGetGit ¶
NewCmdGetGit creates the command
func NewCmdGetPipeline ¶
NewCmdGetPipeline creates the command
func NewCmdGetURL ¶
NewCmdGetURL creates the command
func NewCmdGetVersion ¶
NewCmdGetVersion creates the new command for: jx get version
func NewCmdImport ¶
func NewCmdInit ¶
NewCmdInit creates a command object for the generic "init" action, which primes a kubernetes cluster so it's ready for jenkins x to be installed
func NewCmdInstall ¶
NewCmdGet creates a command object for the generic "install" action, which installs the jenkins-x platform on a kubernetes cluster.
func NewCmdLogs ¶
func NewCmdMetrics ¶
func NewCmdNamespace ¶
func NewCmdOpen ¶
func NewCmdPreview ¶
NewCmdPreview creates a command object for the "create" command
func NewCmdPromote ¶
NewCmdPromote creates the new command for: jx get prompt
func NewCmdPrompt ¶
NewCmdPrompt creates the new command for: jx get prompt
func NewCmdShell ¶
func NewCmdStart ¶
NewCmdStart creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdStartPipeline ¶
NewCmdStartPipeline creates the command
func NewCmdStep ¶
NewCmdStep Steps a command object for the "step" command
func NewCmdStepChangelog ¶
func NewCmdStepNexus ¶
NewCmdStepNexus Steps a command object for the "step" command
func NewCmdStepNexusDrop ¶
func NewCmdStepNexusRelease ¶
func NewCmdStepPR ¶
NewCmdStep Steps a command object for the "step" command
func NewCmdStepPRComment ¶
NewCmdStep Steps a command object for the "step" command
func NewCmdStepTag ¶
func NewCmdUninstall ¶
func NewCmdUpgrade ¶
NewCmdUpgrade creates the command
func NewCmdUpgradePlatform ¶
NewCmdUpgradePlatform defines the command
func NewCmdVersion ¶
Types ¶
type CDXOptions ¶
type CDXOptions struct { CommonOptions OnlyViewURL bool }
func (*CDXOptions) Run ¶
func (o *CDXOptions) Run() error
type CommonOptions ¶
type CommonOptions struct { Factory cmdutil.Factory Out io.Writer Err io.Writer Cmd *cobra.Command Args []string BatchMode bool Verbose bool Headless bool // contains filtered or unexported fields }
CommonOptions contains common options and helper methods
func (*CommonOptions) CreateTable ¶
func (c *CommonOptions) CreateTable() table.Table
func (*CommonOptions) FindHelmChart ¶
func (*CommonOptions) FindHelmChart() (string, error)
func (*CommonOptions) GetCloudProvider ¶
func (o *CommonOptions) GetCloudProvider(p string) (string, error)
func (*CommonOptions) GetDomain ¶
func (o *CommonOptions) GetDomain(client *kubernetes.Clientset, domain string, provider string, ingressNamespace string, ingressService string) (string, error)
func (*CommonOptions) GitServerKind ¶
func (o *CommonOptions) GitServerKind(gitInfo *gits.GitRepositoryInfo) (string, error)
func (*CommonOptions) JXClient ¶
func (o *CommonOptions) JXClient() (*versioned.Clientset, string, error)
func (*CommonOptions) JXClientAndDevNamespace ¶
func (o *CommonOptions) JXClientAndDevNamespace() (*versioned.Clientset, string, error)
func (*CommonOptions) JenkinsClient ¶
func (o *CommonOptions) JenkinsClient() (*gojenkins.Jenkins, error)
func (*CommonOptions) KubeClient ¶
func (o *CommonOptions) KubeClient() (*kubernetes.Clientset, string, error)
func (*CommonOptions) Printf ¶
func (c *CommonOptions) Printf(format string, a ...interface{}) (n int, err error)
func (*CommonOptions) Run ¶
func (o *CommonOptions) Run() error
func (*CommonOptions) TeamAndEnvironmentNames ¶
func (o *CommonOptions) TeamAndEnvironmentNames() (string, string, error)
type ConsoleOptions ¶
type ConsoleOptions struct { GetURLOptions OnlyViewURL bool }
func (*ConsoleOptions) Run ¶
func (o *ConsoleOptions) Run() error
type ContextOptions ¶
type ContextOptions struct {
CommonOptions
}
func (*ContextOptions) PickContext ¶
func (o *ContextOptions) PickContext(names []string, defaultValue string) (string, error)
func (*ContextOptions) Run ¶
func (o *ContextOptions) Run() error
type CreateAddonCDXOptions ¶
type CreateAddonCDXOptions struct {
CreateAddonOptions
}
CreateAddonCDXOptions the options for the create spring command
func (*CreateAddonCDXOptions) Run ¶
func (o *CreateAddonCDXOptions) Run() error
Run implements the command
type CreateAddonGiteaOptions ¶
type CreateAddonGiteaOptions struct { CreateAddonOptions Chart string Username string Password string Email string IsAdmin bool NoUser bool NoToken bool }
CreateAddonGiteaOptions the options for the create spring command
func (*CreateAddonGiteaOptions) Run ¶
func (o *CreateAddonGiteaOptions) Run() error
Run implements the command
type CreateAddonOptions ¶
type CreateAddonOptions struct { CreateOptions Namespace string Version string ReleaseName string HelmUpdate bool }
CreateAddonOptions the options for the create spring command
func (*CreateAddonOptions) CreateAddon ¶
func (o *CreateAddonOptions) CreateAddon(arg string) error
func (*CreateAddonOptions) Run ¶
func (o *CreateAddonOptions) Run() error
Run implements this command
type CreateArchetypeOptions ¶
type CreateArchetypeOptions struct { CreateProjectOptions ArchetypeCatalogURL string Filter maven.ArchetypeFilter PickVersion bool Interactive bool Form maven.ArchetypeForm }
CreateArchetypeOptions the options for the create spring command
func (*CreateArchetypeOptions) Run ¶
func (o *CreateArchetypeOptions) Run() error
Run implements the generic Create command
type CreateClusterAKSFlags ¶
type CreateClusterAKSOptions ¶
type CreateClusterAKSOptions struct { CreateClusterOptions Flags CreateClusterAKSFlags }
CreateClusterOptions the flags for running crest cluster
func (*CreateClusterAKSOptions) Run ¶
func (o *CreateClusterAKSOptions) Run() error
type CreateClusterAWSFlags ¶
type CreateClusterAWSOptions ¶
type CreateClusterAWSOptions struct { CreateClusterOptions Flags CreateClusterAWSFlags }
CreateClusterAWSOptions contains the CLI flags
func (*CreateClusterAWSOptions) Run ¶
func (o *CreateClusterAWSOptions) Run() error
Run runs the command
type CreateClusterFlags ¶
type CreateClusterFlags struct { }
type CreateClusterGKEFlags ¶
type CreateClusterGKEOptions ¶
type CreateClusterGKEOptions struct { CreateClusterOptions Flags CreateClusterGKEFlags }
CreateClusterOptions the flags for running crest cluster
func (*CreateClusterGKEOptions) Run ¶
func (o *CreateClusterGKEOptions) Run() error
type CreateClusterMinikubeOptions ¶
type CreateClusterMinikubeOptions struct { CreateClusterOptions Flags CreateClusterMinikubeFlags Provider KubernetesProvider }
CreateClusterOptions the flags for running crest cluster
func (*CreateClusterMinikubeOptions) Run ¶
func (o *CreateClusterMinikubeOptions) Run() error
type CreateClusterOptions ¶
type CreateClusterOptions struct { CreateOptions InstallOptions InstallOptions Flags InitFlags Provider string NoBrew bool }
CreateClusterOptions the flags for running crest cluster
func (*CreateClusterOptions) Run ¶
func (o *CreateClusterOptions) Run() error
type CreateDocsOptions ¶
type CreateDocsOptions struct { CreateOptions Dir string }
CreateDocsOptions the options for the create spring command
type CreateEnvOptions ¶
type CreateEnvOptions struct { CreateOptions Options v1.Environment HelmValuesConfig config.HelmValuesConfig PromotionStrategy string NoGitOps bool ForkEnvironmentGitRepo string EnvJobCredentials string GitRepositoryOptions gits.GitRepositoryOptions Prefix string BranchPattern string }
CreateEnvOptions the options for the create spring command
type CreateEtcHostsOptions ¶
type CreateEtcHostsOptions struct { CreateOptions Name string IP string }
CreateEtcHostsOptions the options for the create spring command
func (*CreateEtcHostsOptions) Run ¶
func (o *CreateEtcHostsOptions) Run() error
Run implements the command
type CreateGitOptions ¶
type CreateGitOptions struct {
CreateOptions
}
CreateGitOptions the options for the create spring command
type CreateGitServerOptions ¶
type CreateGitServerOptions struct { CreateOptions Name string }
CreateGitServerOptions the options for the create spring command
func (*CreateGitServerOptions) Run ¶
func (o *CreateGitServerOptions) Run() error
Run implements the command
type CreateGitTokenOptions ¶
type CreateGitTokenOptions struct { CreateOptions ServerFlags ServerFlags Username string Password string ApiToken string Timeout string }
CreateGitTokenOptions the command line options for the command
func (*CreateGitTokenOptions) Run ¶
func (o *CreateGitTokenOptions) Run() error
Run implements the command
type CreateGitUserOptions ¶
type CreateGitUserOptions struct { CreateOptions ServerFlags ServerFlags Username string Password string ApiToken string Email string IsAdmin bool }
CreateGitUserOptions the command line options for the command
func (*CreateGitUserOptions) Run ¶
func (o *CreateGitUserOptions) Run() error
Run implements the command
type CreateIssueOptions ¶
type CreateIssueOptions struct { CreateOptions Dir string Title string Body string Labels []string }
CreateIssueOptions the options for the create spring command
func (*CreateIssueOptions) FindGitInfo ¶
func (o *CreateIssueOptions) FindGitInfo(dir string) (*gits.GitRepositoryInfo, error)
func (*CreateIssueOptions) PopulateIssue ¶
func (o *CreateIssueOptions) PopulateIssue(issue *gits.GitIssue) error
func (*CreateIssueOptions) Run ¶
func (o *CreateIssueOptions) Run() error
Run implements the command
type CreateJenkinsOptions ¶
type CreateJenkinsOptions struct {
CreateOptions
}
CreateJenkinsOptions the options for the create spring command
func (*CreateJenkinsOptions) Run ¶
func (o *CreateJenkinsOptions) Run() error
Run implements this command
type CreateJenkinsUserOptions ¶
type CreateJenkinsUserOptions struct { CreateOptions ServerFlags ServerFlags Username string Password string ApiToken string Timeout string UseBrowser bool }
CreateJenkinsUserOptions the command line options for the command
func (*CreateJenkinsUserOptions) Run ¶
func (o *CreateJenkinsUserOptions) Run() error
Run implements the command
type CreateOptions ¶
type CreateOptions struct { CommonOptions DisableImport bool OutDir string }
CreateOptions contains the command line options
type CreateProjectOptions ¶
type CreateProjectOptions struct { ImportOptions DisableImport bool OutDir string }
CreateProjectOptions contains the command line options
func (*CreateProjectOptions) ImportCreatedProject ¶
func (o *CreateProjectOptions) ImportCreatedProject(outDir string) error
DoImport imports the project created at the given directory
type CreateQuickstartOptions ¶
type CreateQuickstartOptions struct { CreateProjectOptions GitHubOrganisations []string Filter quickstarts.QuickstartFilter }
CreateQuickstartOptions the options for the create spring command
func (*CreateQuickstartOptions) LoadQuickstarts ¶
func (o *CreateQuickstartOptions) LoadQuickstarts() (*quickstarts.QuickstartModel, error)
func (*CreateQuickstartOptions) Run ¶
func (o *CreateQuickstartOptions) Run() error
Run implements the generic Create command
type CreateSpringOptions ¶
type CreateSpringOptions struct { CreateProjectOptions Advanced bool SpringForm spring.SpringBootForm }
CreateSpringOptions the options for the create spring command
func (*CreateSpringOptions) Run ¶
func (o *CreateSpringOptions) Run() error
Run implements the command
type DeleteAddonGiteaOptions ¶
type DeleteAddonGiteaOptions struct { DeleteAddonOptions ReleaseName string }
DeleteAddonGiteaOptions the options for the create spring command
func (*DeleteAddonGiteaOptions) Run ¶
func (o *DeleteAddonGiteaOptions) Run() error
Run implements the command
type DeleteAddonOptions ¶
type DeleteAddonOptions struct { CommonOptions Purge bool }
DeleteAddonOptions are the flags for delete commands
func (*DeleteAddonOptions) Run ¶
func (o *DeleteAddonOptions) Run() error
Run implements this command
type DeleteContextOptions ¶
type DeleteContextOptions struct { CreateOptions SelectAll bool }
DeleteContextOptions the options for the create spring command
func (*DeleteContextOptions) Run ¶
func (o *DeleteContextOptions) Run() error
Run implements the command
type DeleteEnvOptions ¶
type DeleteEnvOptions struct { CreateOptions DeleteNamespace bool }
DeleteEnvOptions the options for the create spring command
type DeleteGitOptions ¶
type DeleteGitOptions struct {
CommonOptions
}
DeleteGitOptions are the flags for delete commands
type DeleteGitServerOptions ¶
type DeleteGitServerOptions struct { CommonOptions IgnoreMissingServer bool }
DeleteGitServerOptions the options for the create spring command
func (*DeleteGitServerOptions) Run ¶
func (o *DeleteGitServerOptions) Run() error
Run implements the command
type DeleteGitTokenOptions ¶
type DeleteGitTokenOptions struct { CreateOptions ServerFlags ServerFlags }
DeleteGitTokenOptions the options for the create spring command
func (*DeleteGitTokenOptions) Run ¶
func (o *DeleteGitTokenOptions) Run() error
Run implements the command
type DeleteJenkinsOptions ¶
type DeleteJenkinsOptions struct {
CommonOptions
}
DeleteJenkinsOptions are the flags for delete commands
func (*DeleteJenkinsOptions) Run ¶
func (o *DeleteJenkinsOptions) Run() error
Run implements this command
type DeleteJenkinsUserOptions ¶
type DeleteJenkinsUserOptions struct { CreateOptions ServerFlags ServerFlags }
DeleteJenkinsUserOptions the options for the create spring command
func (*DeleteJenkinsUserOptions) Run ¶
func (o *DeleteJenkinsUserOptions) Run() error
Run implements the command
type DeleteOptions ¶
type DeleteOptions struct {
CommonOptions
}
DeleteOptions are the flags for delete commands
type DeleteRepoOptions ¶
type DeleteRepoOptions struct { CreateOptions Organisation string Repositories []string GitHost string GitHub bool SelectAll bool SelectFilter string }
DeleteRepoOptions the options for the create spring command
type EditEnvOptions ¶
type EditEnvOptions struct { CreateOptions Options v1.Environment HelmValuesConfig config.HelmValuesConfig PromotionStrategy string NoGitOps bool ForkEnvironmentGitRepo string EnvJobCredentials string GitRepositoryOptions gits.GitRepositoryOptions Prefix string BranchPattern string }
EditEnvOptions the options for the create spring command
type EnvApps ¶
type EnvApps struct { Environment v1.Environment Apps map[string]v1beta1.Deployment }
type EnvironmentOptions ¶
type EnvironmentOptions struct {
CommonOptions
}
func (*EnvironmentOptions) PickNamespace ¶
func (o *EnvironmentOptions) PickNamespace(client *kubernetes.Clientset, defaultNamespace string) (string, error)
func (*EnvironmentOptions) Run ¶
func (o *EnvironmentOptions) Run() error
type GetActivityOptions ¶
type GetActivityOptions struct { CommonOptions Filter string BuildNumber string }
GetActivityOptions containers the CLI options
func (*GetActivityOptions) Run ¶
func (o *GetActivityOptions) Run() error
Run implements this command
type GetAddonOptions ¶
type GetAddonOptions struct {
GetOptions
}
GetAddonOptions the command line options
type GetBuildLogsOptions ¶
type GetBuildLogsOptions struct { GetOptions Tail bool Filter string }
GetBuildLogsOptions the command line options
func (*GetBuildLogsOptions) Run ¶
func (o *GetBuildLogsOptions) Run() error
Run implements this command
type GetBuildOptions ¶
type GetBuildOptions struct { CommonOptions Output string }
GetBuildOptions the command line options
type GetEnvOptions ¶
type GetEnvOptions struct { GetOptions PromotionStrategy string }
GetEnvOptions containers the CLI options
type GetGitOptions ¶
type GetGitOptions struct {
GetOptions
}
GetGitOptions the command line options
type GetOptions ¶
type GetOptions struct { CommonOptions Output string }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type GetPipelineOptions ¶
type GetPipelineOptions struct {
GetOptions
}
GetPipelineOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*GetPipelineOptions) Run ¶
func (o *GetPipelineOptions) Run() error
Run implements this command
type GetURLOptions ¶
type GetURLOptions struct { GetOptions Namespace string Environment string }
GetURLOptions the command line options
type GetVersionOptions ¶
type GetVersionOptions struct { CommonOptions UrlMode bool }
GetVersionOptions containers the CLI options
type ImportOptions ¶
type ImportOptions struct { CommonOptions RepoURL string Dir string Organisation string Repository string Credentials string AppName string GitHub bool DryRun bool SelectAll bool DisableDraft bool DisableJenkinsfileCheck bool SelectFilter string Jenkinsfile string BranchPattern string GitRepositoryOptions gits.GitRepositoryOptions ImportGitCommitMessage string DisableDotGitSearch bool Jenkins *gojenkins.Jenkins GitConfDir string GitProvider gits.GitProvider }
func (*ImportOptions) CloneRepository ¶
func (o *ImportOptions) CloneRepository() error
func (*ImportOptions) CreateNewRemoteRepository ¶
func (o *ImportOptions) CreateNewRemoteRepository() error
func (*ImportOptions) DefaultGitIgnore ¶
func (o *ImportOptions) DefaultGitIgnore() error
DiscoverGit checks if there is a git clone or prompts the user to import it
func (*ImportOptions) DiscoverGit ¶
func (o *ImportOptions) DiscoverGit() error
DiscoverGit checks if there is a git clone or prompts the user to import it
func (*ImportOptions) DiscoverRemoteGitURL ¶
func (o *ImportOptions) DiscoverRemoteGitURL() error
DiscoverRemoteGitURL finds the git url by looking in the directory and looking for a .git/config file
func (*ImportOptions) DoImport ¶
func (o *ImportOptions) DoImport() error
func (*ImportOptions) DraftCreate ¶
func (o *ImportOptions) DraftCreate() error
func (*ImportOptions) ImportProjectsFromGitHub ¶
func (o *ImportOptions) ImportProjectsFromGitHub() error
func (*ImportOptions) Run ¶
func (o *ImportOptions) Run() error
type InitFlags ¶
type InitFlags struct { Domain string Provider string Namespace string Username string UserClusterRole string TillerClusterRole string IngressClusterRole string TillerNamespace string IngressNamespace string IngressService string IngressDeployment string DraftClient bool HelmClient bool RecreateExistingDraftRepos bool GlobalTiller bool }
type InitOptions ¶
type InitOptions struct { CommonOptions Client clientset.Clientset Flags InitFlags }
InitOptions the flags for running init
func (*InitOptions) Run ¶
func (o *InitOptions) Run() error
type InstallFlags ¶
type InstallOptions ¶
type InstallOptions struct { CommonOptions gits.GitRepositoryOptions CreateJenkinsUserOptions CreateEnvOptions config.AdminSecretsService InitOptions InitOptions Flags InstallFlags }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type KubernetesProvider ¶
type KubernetesProvider string
type LogsOptions ¶
type LogsOptions struct { CommonOptions Container string Namespace string Filter string }
func (*LogsOptions) Run ¶
func (o *LogsOptions) Run() error
type MetricsOptions ¶
type MetricsOptions struct { CommonOptions Namespace string Filter string Duration string Selector string Metric string }
func (*MetricsOptions) Run ¶
func (o *MetricsOptions) Run() error
type 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 PreviewOptions ¶
type PreviewOptions struct { PromoteOptions Name string Label string Namespace string Cluster string PullRequestURL string PullRequest string SourceURL string SourceRef string Dir string GitConfDir string GitProvider gits.GitProvider HelmValuesConfig config.HelmValuesConfig }
PreviewOptions the options for the create spring command
type PromoteOptions ¶
type PromoteOptions struct { CommonOptions Namespace string Environment string Application string Version string ReleaseName string LocalHelmRepoName string HelmRepositoryURL string NoHelmUpdate bool AllAutomatic bool Timeout string PullRequestPollTime string // calculated fields TimeoutDuration *time.Duration PullRequestPollDuration *time.Duration Activities typev1.PipelineActivityInterface GitInfo *gits.GitRepositoryInfo // contains filtered or unexported fields }
PromoteOptions containers the CLI options
func (*PromoteOptions) DiscoverAppName ¶
func (o *PromoteOptions) DiscoverAppName() (string, error)
func (*PromoteOptions) GetTargetNamespace ¶
func (o *PromoteOptions) GetTargetNamespace(ns string, env string) (string, *v1.Environment, error)
func (*PromoteOptions) Promote ¶
func (o *PromoteOptions) Promote(targetNS string, env *v1.Environment, warnIfAuto bool) (*ReleaseInfo, error)
func (*PromoteOptions) PromoteAllAutomatic ¶
func (o *PromoteOptions) PromoteAllAutomatic() error
func (*PromoteOptions) PromoteViaPullRequest ¶
func (o *PromoteOptions) PromoteViaPullRequest(env *v1.Environment, releaseInfo *ReleaseInfo) error
func (*PromoteOptions) WaitForPromotion ¶
func (o *PromoteOptions) WaitForPromotion(ns string, env *v1.Environment, releaseInfo *ReleaseInfo) error
type PromptOptions ¶
type PromptOptions struct { CommonOptions NoLabel bool ShowIcon bool Prefix string Label string Separator string Divider string Suffix string LabelColor []string NamespaceColor []string ContextColor []string }
PromptOptions containers the CLI options
type ReleaseInfo ¶
type ReleaseInfo struct { ReleaseName string FullAppName string Version string PullRequestInfo *ReleasePullRequestInfo }
type ReleasePullRequestInfo ¶
type ReleasePullRequestInfo struct { GitProvider gits.GitProvider PullRequest *gits.GitPullRequest PullRequestArguments *gits.GitPullRequestArguments }
type RshOptions ¶
type RshOptions struct { CommonOptions Container string Namespace string Executable string // contains filtered or unexported fields }
func (*RshOptions) Run ¶
func (o *RshOptions) Run() error
type ServerFlags ¶
func (*ServerFlags) IsEmpty ¶
func (f *ServerFlags) IsEmpty() bool
type ShellOptions ¶
type ShellOptions struct {
CommonOptions
}
func (*ShellOptions) PickContext ¶
func (o *ShellOptions) PickContext(names []string, defaultValue string) (string, error)
func (*ShellOptions) Run ¶
func (o *ShellOptions) Run() error
type StartPipelineOptions ¶
type StartPipelineOptions struct { GetOptions Tail bool Filter string Jobs map[string]*gojenkins.Job }
StartPipelineOptions contains the command line options
func (*StartPipelineOptions) Run ¶
func (o *StartPipelineOptions) Run() error
Run implements this command
type StepChangelogOptions ¶
type StepChangelogOptions struct { StepOptions PreviousRevision string CurrentRevision string TemplatesDir string ReleaseYamlFile string CrdYamlFile string Dir string Version string Header string HeaderFile string OverwriteCRD bool GenerateCRD bool GenerateReleaseYaml bool UpdateRelease bool State StepChangelogState }
StepChangelogOptions contains the command line flags
func (*StepChangelogOptions) Run ¶
func (o *StepChangelogOptions) Run() error
type StepChangelogState ¶
type StepChangelogState struct { GitInfo *gits.GitRepositoryInfo GitProvider gits.GitProvider FoundIssueNames map[string]bool }
type StepNexusDropOptions ¶
type StepNexusDropOptions struct {
StepNexusOptions
}
StepNexusDropOptions contains the command line flags
func (*StepNexusDropOptions) Run ¶
func (o *StepNexusDropOptions) Run() error
type StepNexusOptions ¶
type StepNexusOptions struct {
StepOptions
}
StepNexusOptions contains the command line flags
type StepNexusReleaseOptions ¶
type StepNexusReleaseOptions struct { StepNexusOptions DropOnFailure bool }
StepNexusReleaseOptions contains the command line flags
func (*StepNexusReleaseOptions) Run ¶
func (o *StepNexusReleaseOptions) Run() error
type StepOptions ¶
type StepOptions struct { CommonOptions DisableImport bool OutDir string }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type StepPRCommentFlags ¶
type StepPRCommentOptions ¶
type StepPRCommentOptions struct { StepPROptions Flags StepPRCommentFlags }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*StepPRCommentOptions) Run ¶
func (o *StepPRCommentOptions) Run() error
Run implements this command
type StepPROptions ¶
type StepPROptions struct {
StepOptions
}
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type StepTagFlags ¶
type StepTagFlags struct {
Version string
}
type StepTagOptions ¶
type StepTagOptions struct { StepOptions Flags StepTagFlags }
CreateClusterOptions the flags for running crest cluster
func (*StepTagOptions) Run ¶
func (o *StepTagOptions) Run() error
type UninstallOptions ¶
type UninstallOptions struct {
CommonOptions
}
func (*UninstallOptions) Run ¶
func (o *UninstallOptions) Run() error
type UpgradeOptions ¶
type UpgradeOptions struct {
CommonOptions
}
UpgradeOptions are the flags for delete commands
type UpgradePlatformOptions ¶
type UpgradePlatformOptions struct { CreateOptions Version string ReleaseName string Chart string Namespace string }
UpgradePlatformOptions the options for the create spring command
func (*UpgradePlatformOptions) Run ¶
func (o *UpgradePlatformOptions) Run() error
Run implements the command
type VersionOptions ¶
type VersionOptions struct { CommonOptions Container string Namespace string }
func (*VersionOptions) Run ¶
func (o *VersionOptions) Run() error
Source Files ¶
- cdx.go
- cmd.go
- common.go
- common_kube_rbac.go
- completion.go
- console.go
- context.go
- create.go
- create_addon.go
- create_addon_cdx.go
- create_addon_gitea.go
- create_archetype.go
- create_cluster.go
- create_cluster_aks.go
- create_cluster_aws.go
- create_cluster_gke.go
- create_cluster_minikube.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_account.go
- create_issue.go
- create_jenkins.go
- create_jenkins_token.go
- create_quickstart.go
- create_spring.go
- delete.go
- delete_addon.go
- delete_addon_gitea.go
- delete_context.go
- delete_env.go
- delete_git.go
- delete_git_server.go
- delete_git_token.go
- delete_jenkins.go
- delete_jenkins_user.go
- delete_repo.go
- edit.go
- edit_env.go
- environment.go
- get.go
- get_activity.go
- get_addon.go
- get_app.go
- get_build.go
- get_build_logs.go
- get_env.go
- get_git.go
- get_pipeline.go
- get_url.go
- import.go
- init.go
- install.go
- logs.go
- metrics.go
- namespace.go
- open.go
- preview.go
- promote.go
- prompt.go
- rsh.go
- shell.go
- start.go
- start_pipeline.go
- step.go
- step_changelog.go
- step_nexus.go
- step_nexus_drop.go
- step_nexus_release.go
- step_pr.go
- step_pr_comment.go
- step_tag.go
- uninstall.go
- upgrade.go
- upgrade_platform.go
- version.go