cmd

package
v1.3.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2018 License: Apache-2.0 Imports: 101 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinikubeDefaultCpu = "3"

	MinikubeDefaultMemory = "4096"
)
View Source
const (
	GKE        = "gke"
	EKS        = "eks"
	AKS        = "aks"
	AWS        = "aws"
	PKS        = "pks"
	MINIKUBE   = "minikube"
	MINISHIFT  = "minishift"
	KUBERNETES = "kubernetes"
	OPENSHIFT  = "openshift"
	ORACLE     = "oracle"
	IBM        = "ibm"
	JX_INFRA   = "jx-infra"
)
View Source
const (
	Clusters              = "clusters"
	TerraformTemplatesGKE = "https://github.com/jenkins-x/terraform-jx-templates-gke.git"
)
View Source
const (
	PlaceHolderAppName     = "REPLACE_ME_APP_NAME"
	PlaceHolderGitProvider = "REPLACE_ME_GIT_PROVIDER"
	PlaceHolderOrg         = "REPLACE_ME_ORG"

	DefaultWritePermissions = 0760
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	ReleaseName = `{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}`

	SpecName    = `{{ .Chart.Name }}`
	SpecVersion = `{{ .Chart.Version }}`

	ReleaseCrdYaml = `` /* 498-byte string literal not displayed */

)
View Source
const (
	BlueOceanPath = "/blue"
)
View Source
const CLUSTER_LIST_HEADER = "PROJECT_ID"
View Source
const (
	DefaultShell = "/bin/sh"
)
View Source
const (
	JenkinsXQuickstartsOrganisation = "jenkins-x-quickstarts"
)
View Source
const (
	VERSION = "version"
)

Variables

View Source
var (
	CreateAddonCloudBeesLong = templates.LongDesc(`
		Creates the CloudBees app for Kubernetes addon

		CloudBees app for Kubernetes provides unified Continuous Delivery Environment console to make it easier to do CI/CD and Environments across a number of microservices and teams
`)

	CreateAddonCloudBeesExample = templates.Examples(`
		# Create the cloudbees addon 
		jx create addon cloudbees
	`)
)
View Source
var (
	GCActivitiesLong = templates.LongDesc(`
		Garbage collect the Jenkins X Activity Custom Resource Definitions

`)

	GCActivitiesExample = templates.Examples(`
		jx garbage collect activities
		jx gc activities
`)
)
View Source
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
`)
)
View Source
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
`)
)
View Source
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
	`)
)
View Source
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
	`)
)
View Source
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
`)
)
View Source
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
`)
)
View Source
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+)`)
)
View Source
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

`)
)
View Source
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

`)
)
View Source
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

`)
)
View Source
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

`)
)
View Source
var (
	StepHelmReleaseLong = templates.LongDesc(`
		This pipeline step releases the Helm chart in the current directory
`)

	StepHelmReleaseExample = templates.Examples(`
		jx step helm release

`)
)
View Source
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
`)
)
View Source
var (
	StepNexusDropLong = templates.LongDesc(`
		This pipeline step command drops a Staging Nexus Repository

`)

	StepNexusDropExample = templates.Examples(`
		jx step nexus drop

`)
)
View Source
var (
	StepNexusReleaseLong = templates.LongDesc(`
		This pipeline step command releases a Nexus staging repository
`)

	StepNexusReleaseExample = templates.Examples(`
		jx step nexus release

`)
)
View Source
var (
	StepPostBuildLong = templates.LongDesc(`
		This pipeline step performs post build actions such as CVE analysis
`)

	StepPostBuildExample = templates.Examples(`
		jx step post build
`)
)
View Source
var (
	StepReportActivitiesLong = templates.LongDesc(`
		This pipeline step reports activities to pluggable backends like ElasticSearch
`)

	StepReportActivitiesExample = templates.Examples(`
		jx step report activities
`)
)
View Source
var (
	StepReportReleasesLong = templates.LongDesc(`
		This pipeline step reports releases to pluggable backends like ElasticSearch
`)

	StepReportReleasesExample = templates.Examples(`
		jx step report Releases
`)
)
View Source
var (
	StepWaitForArtifactLong = templates.LongDesc(`
		Waits for the given artifact to be available in a maven style repository

`)

	StepWaitForArtifactExample = templates.Examples(`
		# wait for a 
		jx step gpg credentials

		# generate the git credentials to a output file
		jx step gpg credentials -o /tmp/mycreds

`)
)

Functions

func ConfigureTestOptions added in v1.3.7

func ConfigureTestOptions(o *CommonOptions)

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)

ConfigureTestOptions lets configure the options for use in tests using fake APIs to k8s cluster

func GetNamespaceNames added in v1.0.2

func GetNamespaceNames(client kubernetes.Interface) ([]string, error)

GetNamespaceNames returns the sorted list of environment names

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 NewCmdCloudBees added in v1.2.62

func NewCmdCloudBees(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdCompletion added in v1.0.2

func NewCmdCompletion(f cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdComplianceDelete added in v1.2.129

func NewCmdComplianceDelete(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdComplianceDeletecreates a command object for the "compliance delete" action, which delete the Kubernetes resources allocated by the compliance tests

func NewCmdComplianceLogs added in v1.2.129

func NewCmdComplianceLogs(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdComplianceLogs creates a command object for the "compliance logs" action, which prints the logs of compliance tests

func NewCmdComplianceResults added in v1.2.129

func NewCmdComplianceResults(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdComplianceResults creates a command object for the "compliance results" action, which shows the results of E2E compliance tests

func NewCmdComplianceRun added in v1.2.129

func NewCmdComplianceRun(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdComplianceRun creates a command object for the "compliance run" action, which starts the E2E compliance tests

func NewCmdComplianceStatus added in v1.2.129

func NewCmdComplianceStatus(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdComplianceStatus creates a command object for the "compliance status" action, which retrieve the status of E2E compliance tests

func NewCmdConsole

func NewCmdConsole(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdContext added in v1.0.6

func NewCmdContext(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdCreate added in v1.0.2

func NewCmdCreate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreate creates a command object for the "create" command

func NewCmdCreateAddon added in v1.0.54

func NewCmdCreateAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateAddon creates a command object for the "create" command

func NewCmdCreateAddonAmbassador added in v1.1.72

func NewCmdCreateAddonAmbassador(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateAddonAmbassador creates a command object for the "create" command

func NewCmdCreateAddonAnchore added in v1.1.63

func NewCmdCreateAddonAnchore(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateAddonAnchore creates a command object for the "create" command

func NewCmdCreateAddonCloudBees added in v1.2.62

func NewCmdCreateAddonCloudBees(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateAddonCloudBees creates a command object for the "create" command

func NewCmdCreateAddonGitea added in v1.0.54

func NewCmdCreateAddonGitea(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateAddonGitea creates a command object for the "create" command

func NewCmdCreateAddonIstio added in v1.2.120

func NewCmdCreateAddonIstio(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateAddonIstio creates a command object for the "create" command

func NewCmdCreateAddonKubeless added in v1.1.56

func NewCmdCreateAddonKubeless(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateAddonKubeless creates a command object for the "create" command

func NewCmdCreateAddonPipelineEvents added in v1.2.77

func NewCmdCreateAddonPipelineEvents(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateAddonPipelineEvents creates a command object for the "create" command

func NewCmdCreateArchetype added in v1.0.2

func NewCmdCreateArchetype(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateArchetype creates a command object for the "create" command

func NewCmdCreateBranchPattern added in v1.2.84

func NewCmdCreateBranchPattern(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateBranchPattern creates a command object for the "create" command

func NewCmdCreateCamel added in v1.2.120

func NewCmdCreateCamel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateCamel creates a command object for the "create" command

func NewCmdCreateChat added in v1.1.67

func NewCmdCreateChat(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateChat creates a command object for the "create" command

func NewCmdCreateChatServer added in v1.1.67

func NewCmdCreateChatServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateChatServer creates a command object for the "create" command

func NewCmdCreateChatToken added in v1.1.67

func NewCmdCreateChatToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateChatToken creates a command

func NewCmdCreateCluster added in v1.0.2

func NewCmdCreateCluster(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.

func NewCmdCreateClusterAKS added in v1.0.2

func NewCmdCreateClusterAKS(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.

func NewCmdCreateClusterAWS added in v1.1.4

func NewCmdCreateClusterAWS(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateClusterAWS creates the command

func NewCmdCreateClusterGKE added in v1.0.2

func NewCmdCreateClusterGKE(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.

func NewCmdCreateClusterGKETerraform added in v1.2.124

func NewCmdCreateClusterGKETerraform(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.

func NewCmdCreateClusterMinikube added in v1.0.2

func NewCmdCreateClusterMinikube(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.

func NewCmdCreateClusterMinishift added in v1.2.11

func NewCmdCreateClusterMinishift(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.

func NewCmdCreateDevPod added in v1.2.30

func NewCmdCreateDevPod(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateDevPod creates a command object for the "create" command

func NewCmdCreateDocs added in v1.0.61

func NewCmdCreateDocs(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateDocs creates a command object for the "create" command

func NewCmdCreateEnv added in v1.0.2

func NewCmdCreateEnv(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateEnv creates a command object for the "create" command

func NewCmdCreateEtcHosts added in v1.0.55

func NewCmdCreateEtcHosts(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateEtcHosts creates a command object for the "create" command

func NewCmdCreateGit added in v1.0.16

func NewCmdCreateGit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateGit creates a command object for the "create" command

func NewCmdCreateGitServer added in v1.0.40

func NewCmdCreateGitServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateGitServer creates a command object for the "create" command

func NewCmdCreateGitToken added in v1.0.43

func NewCmdCreateGitToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateGitToken creates a command

func NewCmdCreateGitUser added in v1.0.40

func NewCmdCreateGitUser(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateGitUser creates a command

func NewCmdCreateIssue added in v1.0.112

func NewCmdCreateIssue(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateIssue creates a command object for the "create" command

func NewCmdCreateJHipster added in v1.2.83

func NewCmdCreateJHipster(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateJHipster creates a command object for the "create" command

func NewCmdCreateJenkins added in v1.0.41

func NewCmdCreateJenkins(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateJenkins creates a command object for the "create" command

func NewCmdCreateJenkinsUser added in v1.0.41

func NewCmdCreateJenkinsUser(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateJenkinsUser creates a command

func NewCmdCreateLile added in v1.1.64

func NewCmdCreateLile(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateLile creates a command object for the "create" command

func NewCmdCreateMicro added in v1.2.9

func NewCmdCreateMicro(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateMicro creates a command object for the "create" command

func NewCmdCreateQuickstart added in v1.1.4

func NewCmdCreateQuickstart(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateQuickstart creates a command object for the "create" command

func NewCmdCreateQuickstartLocation added in v1.2.84

func NewCmdCreateQuickstartLocation(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateQuickstartLocation creates a command object for the "create" command

func NewCmdCreateSpring added in v1.0.2

func NewCmdCreateSpring(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateSpring creates a command object for the "create" command

func NewCmdCreateTerraform added in v1.3.29

func NewCmdCreateTerraform(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateTerraform creates a command object for the "create" command

func NewCmdCreateToken added in v1.1.69

func NewCmdCreateToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateToken creates a command object for the "create" command

func NewCmdCreateTokenAddon added in v1.1.69

func NewCmdCreateTokenAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateTokenAddon creates a command

func NewCmdCreateTracker added in v1.1.23

func NewCmdCreateTracker(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateTracker creates a command object for the "create" command

func NewCmdCreateTrackerServer added in v1.1.23

func NewCmdCreateTrackerServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateTrackerServer creates a command object for the "create" command

func NewCmdCreateTrackerToken added in v1.1.23

func NewCmdCreateTrackerToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateTrackerToken creates a command

func NewCmdDelete added in v1.0.6

func NewCmdDelete(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDelete creates a command object for the generic "get" action, which retrieves one or more resources from a server.

func NewCmdDeleteAddon added in v1.0.54

func NewCmdDeleteAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteAddon creates a command object for the generic "get" action, which retrieves one or more resources from a server.

func NewCmdDeleteAddonCloudBees added in v1.2.62

func NewCmdDeleteAddonCloudBees(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteAddonCloudBees defines the command

func NewCmdDeleteAddonGitea added in v1.0.54

func NewCmdDeleteAddonGitea(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteAddonGitea defines the command

func NewCmdDeleteApp added in v1.2.38

func NewCmdDeleteApp(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteApp creates a command object for this command

func NewCmdDeleteChat added in v1.1.67

func NewCmdDeleteChat(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteChat creates a command object for the generic "get" action, which retrieves one or more resources from a server.

func NewCmdDeleteChatServer added in v1.1.67

func NewCmdDeleteChatServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteChatServer defines the command

func NewCmdDeleteChatToken added in v1.1.67

func NewCmdDeleteChatToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteChatToken defines the command

func NewCmdDeleteContext added in v1.0.119

func NewCmdDeleteContext(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteContext creates a command object for the "delete repo" command

func NewCmdDeleteDevPod added in v1.2.30

func NewCmdDeleteDevPod(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteDevPod creates a command object for the generic "get" action, which retrieves one or more resources from a server.

func NewCmdDeleteEnv added in v1.0.6

func NewCmdDeleteEnv(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteEnv creates a command object for the "delete repo" command

func NewCmdDeleteGit added in v1.0.39

func NewCmdDeleteGit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteGit creates a command object for the generic "get" action, which retrieves one or more resources from a server.

func NewCmdDeleteGitServer added in v1.0.40

func NewCmdDeleteGitServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteGitServer defines the command

func NewCmdDeleteGitToken added in v1.0.45

func NewCmdDeleteGitToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteGitToken defines the command

func NewCmdDeleteJenkins added in v1.0.41

func NewCmdDeleteJenkins(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteJenkins creates a command object for the generic "get" action, which retrieves one or more resources from a server.

func NewCmdDeleteJenkinsUser added in v1.0.41

func NewCmdDeleteJenkinsUser(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteJenkinsUser defines the command

func NewCmdDeletePreview added in v1.2.75

func NewCmdDeletePreview(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeletePreview creates a command object

func NewCmdDeleteQuickstartLocation added in v1.2.84

func NewCmdDeleteQuickstartLocation(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteQuickstartLocation defines the command

func NewCmdDeleteRepo added in v1.0.6

func NewCmdDeleteRepo(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteRepo creates a command object for the "delete repo" command

func NewCmdDeleteToken added in v1.1.69

func NewCmdDeleteToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteToken creates a command object retrieves one or more resources from a server.

func NewCmdDeleteTokenAddon added in v1.1.69

func NewCmdDeleteTokenAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteTokenAddon defines the command

func NewCmdDeleteTracker added in v1.1.23

func NewCmdDeleteTracker(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteTracker creates a command object for the generic "get" action, which retrieves one or more resources from a server.

func NewCmdDeleteTrackerServer added in v1.1.23

func NewCmdDeleteTrackerServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteTrackerServer defines the command

func NewCmdDeleteTrackerToken added in v1.1.56

func NewCmdDeleteTrackerToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteTrackerToken defines the command

func NewCmdEdit added in v1.0.2

func NewCmdEdit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdEdit creates the edit command

func NewCmdEditAddon added in v1.1.33

func NewCmdEditAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdEditAddon creates a command object for the "create" command

func NewCmdEditBuildpack added in v1.2.107

func NewCmdEditBuildpack(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdEditBuildpack creates a command object for the "create" command

func NewCmdEditConfig added in v1.1.23

func NewCmdEditConfig(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdEditConfig creates a command object for the "create" command

func NewCmdEditEnv added in v1.0.2

func NewCmdEditEnv(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdEditEnv creates a command object for the "create" command

func NewCmdEditHelmBin added in v1.2.132

func NewCmdEditHelmBin(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdEditHelmBin creates a command object for the "create" command

func NewCmdEnvironment added in v1.0.2

func NewCmdEnvironment(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdGC added in v1.2.83

func NewCmdGC(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGC creates a command object for the generic "gc" action, which retrieves one or more resources from a server.

func NewCmdGCActivities added in v1.2.83

func NewCmdGCActivities(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmd s a command object for the "step" command

func NewCmdGCHelm added in v1.2.138

func NewCmdGCHelm(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGCHelm a command object for the "garbage collect" command

func NewCmdGCPreviews added in v1.2.83

func NewCmdGCPreviews(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmd s a command object for the "step" command

func NewCmdGet

func NewCmdGet(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGet creates a command object for the generic "get" action, which retrieves one or more resources from a server.

func NewCmdGetActivity added in v1.0.84

func NewCmdGetActivity(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetActivity creates the new command for: jx get version

func NewCmdGetAddon added in v1.0.54

func NewCmdGetAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetAddon creates the command

func NewCmdGetApplications added in v1.1.32

func NewCmdGetApplications(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetApplications creates the new command for: jx get version

func NewCmdGetBranchPattern added in v1.2.84

func NewCmdGetBranchPattern(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetBranchPattern creates the new command for: jx get env

func NewCmdGetBuild added in v1.0.61

func NewCmdGetBuild(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetBuild creates the command object

func NewCmdGetBuildLogs added in v1.0.61

func NewCmdGetBuildLogs(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetBuildLogs creates the command

func NewCmdGetBuildPack added in v1.2.107

func NewCmdGetBuildPack(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetBuildPack creates the new command for: jx get env

func NewCmdGetCVE added in v1.2.27

func NewCmdGetCVE(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetCVE creates the command

func NewCmdGetChat added in v1.1.67

func NewCmdGetChat(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetChat creates the command

func NewCmdGetConfig added in v1.1.23

func NewCmdGetConfig(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetConfig creates the command

func NewCmdGetDevPod added in v1.2.30

func NewCmdGetDevPod(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetDevPod creates the command

func NewCmdGetEnv added in v1.0.2

func NewCmdGetEnv(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetEnv creates the new command for: jx get env

func NewCmdGetGit added in v1.0.16

func NewCmdGetGit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetGit creates the command

func NewCmdGetHelmBin added in v1.2.132

func NewCmdGetHelmBin(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetHelmBin creates the new command for: jx get env

func NewCmdGetIssue added in v1.3.5

func NewCmdGetIssue(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetIssue creates the command

func NewCmdGetIssues added in v1.1.23

func NewCmdGetIssues(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetIssues creates the command

func NewCmdGetPipeline added in v1.0.2

func NewCmdGetPipeline(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetPipeline creates the command

func NewCmdGetPreview added in v1.2.75

func NewCmdGetPreview(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetPreview creates the new command for: jx get env

func NewCmdGetQuickstartLocation added in v1.2.84

func NewCmdGetQuickstartLocation(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetQuickstartLocation creates the new command for: jx get env

func NewCmdGetTeam added in v1.3.27

func NewCmdGetTeam(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetTeam creates the new command for: jx get env

func NewCmdGetToken added in v1.1.69

func NewCmdGetToken(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetToken creates the command

func NewCmdGetTokenAddon added in v1.1.69

func NewCmdGetTokenAddon(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetTokenAddon creates the command

func NewCmdGetTracker added in v1.1.23

func NewCmdGetTracker(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetTracker creates the command

func NewCmdGetURL added in v1.0.2

func NewCmdGetURL(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGetURL creates the command

func NewCmdImport

func NewCmdImport(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdInit added in v1.0.2

func NewCmdInit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInit creates a command object for the generic "init" action, which primes a kubernetes cluster so it's ready for jenkins x to be installed

func NewCmdInstall

func NewCmdInstall(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGet creates a command object for the generic "install" action, which installs the jenkins-x platform on a kubernetes cluster.

func NewCmdLogs added in v1.0.2

func NewCmdLogs(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdMetrics added in v1.0.8

func NewCmdMetrics(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdNamespace

func NewCmdNamespace(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdOpen

func NewCmdOpen(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdPreview added in v1.0.83

func NewCmdPreview(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPreview creates a command object for the "create" command

func NewCmdPromote added in v1.0.2

func NewCmdPromote(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPromote creates the new command for: jx get prompt

func NewCmdPrompt added in v1.0.2

func NewCmdPrompt(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPrompt creates the new command for: jx get prompt

func NewCmdRepo added in v1.2.132

func NewCmdRepo(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdRsh added in v1.0.10

func NewCmdRsh(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdShell added in v1.0.6

func NewCmdShell(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStart added in v1.0.10

func NewCmdStart(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStart creates a command object for the generic "get" action, which retrieves one or more resources from a server.

func NewCmdStartPipeline added in v1.0.10

func NewCmdStartPipeline(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStartPipeline creates the command

func NewCmdStatus added in v1.1.41

func NewCmdStatus(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStep added in v1.0.19

func NewCmdStep(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStep Steps a command object for the "step" command

func NewCmdStepBlog added in v1.1.67

func NewCmdStepBlog(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStepBlog Creates a new Command object

func NewCmdStepChangelog added in v1.0.90

func NewCmdStepChangelog(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepEnvRoleBinding added in v1.3.16

func NewCmdStepEnvRoleBinding(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepGit added in v1.1.61

func NewCmdStepGit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStepGit Steps a command object for the "step" command

func NewCmdStepGitCredentials added in v1.1.61

func NewCmdStepGitCredentials(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepGpgCredentials added in v1.2.95

func NewCmdStepGpgCredentials(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepHelm added in v1.2.132

func NewCmdStepHelm(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStepHelm Steps a command object for the "step" command

func NewCmdStepHelmApply added in v1.2.141

func NewCmdStepHelmApply(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepHelmBuild added in v1.2.141

func NewCmdStepHelmBuild(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepHelmRelease added in v1.2.132

func NewCmdStepHelmRelease(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepNextVersion added in v1.2.60

func NewCmdStepNextVersion(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepNexus added in v1.0.26

func NewCmdStepNexus(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStepNexus Steps a command object for the "step" command

func NewCmdStepNexusDrop added in v1.0.26

func NewCmdStepNexusDrop(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepNexusRelease added in v1.0.26

func NewCmdStepNexusRelease(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepPR added in v1.0.91

func NewCmdStepPR(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStep Steps a command object for the "step" command

func NewCmdStepPRComment added in v1.0.91

func NewCmdStepPRComment(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStep Steps a command object for the "step" command

func NewCmdStepPost added in v1.2.27

func NewCmdStepPost(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStep Steps a command object for the "step" command

func NewCmdStepPostBuild added in v1.2.27

func NewCmdStepPostBuild(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepReport added in v1.2.77

func NewCmdStepReport(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStep Steps a command object for the "step" command

func NewCmdStepReportActivities added in v1.2.77

func NewCmdStepReportActivities(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepReportReleases added in v1.2.106

func NewCmdStepReportReleases(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepSplitMonorepo added in v1.2.62

func NewCmdStepSplitMonorepo(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStepSplitMonorepo Creates a new Command object

func NewCmdStepTag added in v1.0.19

func NewCmdStepTag(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStepValidate added in v1.1.60

func NewCmdStepValidate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStepValidate Creates a new Command object

func NewCmdStepWaitForArtifact added in v1.2.97

func NewCmdStepWaitForArtifact(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdStop added in v1.2.67

func NewCmdStop(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStop creates the command object

func NewCmdStopPipeline added in v1.2.67

func NewCmdStopPipeline(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdStopPipeline creates the command

func NewCmdSync added in v1.2.30

func NewCmdSync(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdTeam added in v1.3.27

func NewCmdTeam(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdUninstall added in v1.0.2

func NewCmdUninstall(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdUpdate added in v1.2.125

func NewCmdUpdate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpdate creates a command object for the "update" command

func NewCmdUpdateCluster added in v1.2.125

func NewCmdUpdateCluster(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.

func NewCmdUpdateClusterGKE added in v1.2.125

func NewCmdUpdateClusterGKE(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdUpdateClusterGKETerraform added in v1.2.125

func NewCmdUpdateClusterGKETerraform(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.

func NewCmdUpgrade added in v1.0.51

func NewCmdUpgrade(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgrade creates the command

func NewCmdUpgradeCLI added in v1.1.56

func NewCmdUpgradeCLI(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgradeCLI defines the command

func NewCmdUpgradeCluster added in v1.2.79

func NewCmdUpgradeCluster(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgradeCluster defines the command

func NewCmdUpgradePlatform added in v1.0.51

func NewCmdUpgradePlatform(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgradePlatform defines the command

func NewCmdVersion

func NewCmdVersion(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCompliance added in v1.2.129

func NewCompliance(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCompliance creates a command object for the generic "compliance" action, which executes the compliance tests against a Kubernetes cluster

func NewJXCommand

func NewJXCommand(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command

NewJXCommand creates the `jx` command and its nested children.

Types

type BranchPatterns added in v1.2.84

type BranchPatterns struct {
	DefaultBranchPattern string
	ForkBranchPattern    string
}

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

func (ByVersion) Len added in v1.2.138

func (a ByVersion) Len() int

func (ByVersion) Less added in v1.2.138

func (a ByVersion) Less(i, j int) bool

func (ByVersion) Swap added in v1.2.138

func (a ByVersion) Swap(i, j int)

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 struct {
	Name     string
	Provider string
}

type CommonOptions

type CommonOptions struct {
	Factory        cmdutil.Factory
	Out            io.Writer
	Err            io.Writer
	Cmd            *cobra.Command
	Args           []string
	BatchMode      bool
	Verbose        bool
	Headless       bool
	NoBrew         bool
	ServiceAccount string
	// contains filtered or unexported fields
}

CommonOptions contains common options and helper methods

func (*CommonOptions) CreateAddonAuthConfigService 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) 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) FindHelmChart added in v1.0.90

func (*CommonOptions) FindHelmChart() (string, error)

func (*CommonOptions) GetCloudProvider added in v1.0.38

func (o *CommonOptions) GetCloudProvider(p string) (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) 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) 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) 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) 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) Run added in v1.0.2

func (o *CommonOptions) Run() error

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, error)

TeamHelmBin returns the helm binary used for a team

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
}

ComplianceStatusOptions options for "compliance results" command

func (*ComplianceResultsOptions) Run added in v1.2.129

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 ConsoleOptions

type ConsoleOptions struct {
	GetURLOptions

	OnlyViewURL bool
	ClassicMode bool
}

func (*ConsoleOptions) Open

func (o *ConsoleOptions) Open(name string, label string) error

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 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

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

Run implements the command

type CreateAddonCloudBeesOptions added in v1.2.62

type CreateAddonCloudBeesOptions struct {
	CreateAddonOptions
}

CreateAddonCloudBeesOptions the options for the create spring command

func (*CreateAddonCloudBeesOptions) Run added in v1.2.62

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 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

Run implements the command

type CreateAddonOptions added in v1.0.54

type CreateAddonOptions struct {
	CreateOptions

	Namespace   string
	Version     string
	ReleaseName 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 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

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

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 CreateClusterAWSFlags struct {
	ClusterName            string
	NodeCount              string
	KubeVersion            string
	Zones                  string
	InsecureDockerRegistry string
	UseRBAC                bool
	TerraformDirectory     string
}

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 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
	ProjectId       string
	SkipLogin       bool
	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 CreateClusterGKETerraformFlags struct {
	AutoUpgrade bool
	ClusterName string
	//ClusterIpv4Cidr string
	//ClusterVersion  string
	DiskSize      string
	MachineType   string
	MinNumOfNodes string
	MaxNumOfNodes string
	ProjectId     string
	SkipLogin     bool
	Zone          string
	Labels        string
}

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

type CreateClusterMinikubeFlags added in v1.0.2

type CreateClusterMinikubeFlags struct {
	Memory              string
	CPU                 string
	Driver              string
	HyperVVirtualSwitch string
	Namespace           string
	ClusterVersion      string
}

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

type CreateClusterMinishiftFlags added in v1.2.11

type CreateClusterMinishiftFlags struct {
	Memory              string
	CPU                 string
	Driver              string
	HyperVVirtualSwitch string
	Namespace           string
}

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

type CreateClusterOptions added in v1.0.2

type CreateClusterOptions struct {
	CreateOptions
	InstallOptions InstallOptions
	Flags          InitFlags
	Provider       string
}

CreateClusterOptions the flags for running create cluster

func (*CreateClusterOptions) Run added in v1.0.2

func (o *CreateClusterOptions) Run() error

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
}

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 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
	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 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 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) FindGitInfo added in v1.0.112

func (o *CreateIssueOptions) FindGitInfo(dir string) (*gits.GitRepositoryInfo, error)

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

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 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

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)

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 CreateTerraformOptions added in v1.3.29

type CreateTerraformOptions struct {
	CreateOptions
	Flags                Flags
	Clusters             []Cluster
	GitRepositoryOptions gits.GitRepositoryOptions
}

CreateTerraformOptions the options for the create spring command

func (*CreateTerraformOptions) ClusterDetailsWizard added in v1.3.29

func (o *CreateTerraformOptions) ClusterDetailsWizard() error

func (*CreateTerraformOptions) Run added in v1.3.29

func (o *CreateTerraformOptions) Run() error

Run implements this command

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

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

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
}

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

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 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

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 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

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

Run implements the 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 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 Flags added in v1.3.29

type Flags struct {
	Cluster                 []string
	OrganisationRepoName    string
	ForkOrganisationGitRepo string
}

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 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()

func (*GCOptions) Run added in v1.2.83

func (o *GCOptions) Run() error

Run implements this command

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 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

func (o *GetActivityOptions) WatchActivities(table *tbl.Table, jxClient versioned.Interface, ns string) error

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 GetPreviewOptions added in v1.2.75

type GetPreviewOptions struct {
	GetEnvOptions
}

GetPreviewOptions containers the CLI options

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

Run implements this command

type GetTeamOptions added in v1.3.27

type GetTeamOptions struct {
	GetOptions
}

GetTeamOptions containers the CLI options

func (*GetTeamOptions) Run added in v1.3.27

func (o *GetTeamOptions) 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 ImportOptions

type ImportOptions struct {
	CommonOptions

	RepoURL string

	Dir                     string
	Organisation            string
	Repository              string
	Credentials             string
	AppName                 string
	GitHub                  bool
	DryRun                  bool
	SelectAll               bool
	DisableDraft            bool
	DisableJenkinsfileCheck bool
	SelectFilter            string
	Jenkinsfile             string
	BranchPattern           string
	GitRepositoryOptions    gits.GitRepositoryOptions
	ImportGitCommitMessage  string
	ListDraftPacks          bool
	DraftPack               string
	DefaultOwner            string

	DisableDotGitSearch   bool
	InitialisedGit        bool
	Jenkins               *gojenkins.Jenkins
	GitConfDir            string
	GitServer             *auth.AuthServer
	GitUserAuth           *auth.UserAuth
	GitProvider           gits.GitProvider
	PostDraftPackCallback CallbackFn
	DisableMaven          bool
}

func (*ImportOptions) CloneRepository 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) DoImport added in v1.0.2

func (o *ImportOptions) DoImport() error

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) Run

func (o *ImportOptions) Run() error

type InitFlags added in v1.0.2

type InitFlags struct {
	Domain                     string
	Provider                   string
	Namespace                  string
	Username                   string
	UserClusterRole            string
	TillerClusterRole          string
	IngressClusterRole         string
	TillerNamespace            string
	IngressNamespace           string
	IngressService             string
	IngressDeployment          string
	ExternalIP                 string
	DraftClient                bool
	HelmClient                 bool
	Helm3                      bool
	RecreateExistingDraftRepos bool
	GlobalTiller               bool
	SkipIngress                bool
	SkipTiller                 bool
	OnPremise                  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
	Provider                 string
	CloudEnvRepository       string
	LocalHelmRepoName        string
	Namespace                string
	NoDefaultEnvironments    bool
	HelmTLS                  bool
	DefaultEnvironmentPrefix string
	LocalCloudEnvironment    bool
	Timeout                  string
	RegisterLocalHelmRepo    bool
	CleanupTempFiles         bool
	EnvironmentGitOwner      string
}

type InstallOptions

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 LogsOptions added in v1.0.2

type LogsOptions struct {
	CommonOptions

	Container       string
	Namespace       string
	Environment     string
	Filter          string
	EditEnvironment 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

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

	PullRequestName string
	GitConfDir      string
	GitProvider     gits.GitProvider
	GitInfo         *gits.GitRepositoryInfo

	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

type Project added in v1.2.60

type Project struct {
	Version string `xml:"version"`
}

type PromoteOptions added in v1.0.2

type PromoteOptions struct {
	CommonOptions

	Namespace           string
	Environment         string
	Application         string
	Version             string
	ReleaseName         string
	LocalHelmRepoName   string
	HelmRepositoryURL   string
	NoHelmUpdate        bool
	AllAutomatic        bool
	NoMergePullRequest  bool
	Timeout             string
	PullRequestPollTime string

	// calculated fields
	TimeoutDuration         *time.Duration
	PullRequestPollDuration *time.Duration
	Activities              typev1.PipelineActivityInterface
	GitInfo                 *gits.GitRepositoryInfo
	// contains filtered or unexported fields
}

PromoteOptions containers the CLI options

func (*PromoteOptions) DiscoverAppName added in v1.0.83

func (o *PromoteOptions) DiscoverAppName() (string, error)

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) 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
	DevPod     bool
	// contains filtered or unexported fields
}

func (*RshOptions) Run added in v1.0.10

func (o *RshOptions) Run() error

type Secrets

type Secrets struct {
	Login string
	Token string
}

type ServerFlags added in v1.0.41

type ServerFlags struct {
	ServerName string
	ServerURL  string
}

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 Start added in v1.0.10

type Start struct {
	CommonOptions
}

Start contains the command line options

func (*Start) Run added in v1.0.10

func (o *Start) Run() error

Run implements this command

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

StatusSotedTestCase 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
	Header              string
	HeaderFile          string
	Footer              string
	FooterFile          string
	OutputMarkdownFile  string
	OverwriteCRD        bool
	GenerateCRD         bool
	GenerateReleaseYaml bool
	UpdateRelease       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 StepEnvRoleBindingFlags added in v1.3.16

type StepEnvRoleBindingFlags struct {
	Version string
}

type StepEnvRoleBindingOptions added in v1.3.16

type StepEnvRoleBindingOptions struct {
	StepOptions

	Watch bool

	Roles           map[string]*rbacv1.Role
	EnvRoleBindings map[string]*v1.EnvironmentRoleBinding
}

StepEnvRoleBindingOptions the command line options

func (*StepEnvRoleBindingOptions) Run added in v1.3.16

func (*StepEnvRoleBindingOptions) WatchEnvironmentRoleBindings added in v1.3.16

func (o *StepEnvRoleBindingOptions) WatchEnvironmentRoleBindings(jxClient versioned.Interface, ns string) error

func (*StepEnvRoleBindingOptions) WatchEnvironments added in v1.3.16

func (o *StepEnvRoleBindingOptions) WatchEnvironments(kubeClient kubernetes.Interface, jxClient versioned.Interface, ns string) error

func (*StepEnvRoleBindingOptions) WatchRoles added in v1.3.16

func (o *StepEnvRoleBindingOptions) WatchRoles(kubeClient kubernetes.Interface, ns string) error

type StepGitCredentialsOptions added in v1.1.61

type StepGitCredentialsOptions struct {
	StepOptions

	OutputFile string
}

StepGitCredentialsOptions contains the command line flags

func (*StepGitCredentialsOptions) Run added in v1.1.61

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

type StepHelmApplyOptions added in v1.2.141

type StepHelmApplyOptions struct {
	StepHelmOptions

	Namespace   string
	ReleaseName string
}

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
}

StepHelmBuildOptions contains the command line flags

func (*StepHelmBuildOptions) Run added in v1.2.141

func (o *StepHelmBuildOptions) Run() error

type StepHelmOptions added in v1.2.132

type StepHelmOptions struct {
	StepOptions

	Dir string
}

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 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) Run added in v1.2.60

func (o *StepNextVersionOptions) Run() error

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 StepPRCommentFlags struct {
	Comment    string
	URL        string
	Owner      string
	Repository string
	PR         string
}

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 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

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

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

Run implements this command

type StepTagFlags added in v1.0.19

type StepTagFlags struct {
	Version string
}

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 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

type Stop added in v1.2.67

type Stop struct {
	CommonOptions
}

Stop contains the command line options

func (*Stop) Run added in v1.2.67

func (o *Stop) Run() error

Run implements this command

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 UninstallOptions added in v1.0.2

type UninstallOptions struct {
	CommonOptions
}

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 UpdateClusterGKETerraformFlags struct {
	ClusterName    string
	SkipLogin      bool
	ServiceAccount string
}

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

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 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 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

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL