Documentation ¶
Index ¶
- Constants
- Variables
- func AddDomainOptionsArguments(cmd *cobra.Command, options *DomainOptions)
- func AddLabel(labels string, name string, value string) string
- func FindDevPodLabelFromJenkinsfile(filename string, labels []string) (string, error)
- func LoadVersionFromCloudEnvironmentsDir(wrkDir string, configStore configio.ConfigStore) (string, error)
- func NewCmdCreate(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddon(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddonAmbassador(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddonAnchore(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddonEnvironmentController(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddonFlagger(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddonGitea(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddonGloo(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddonIngressController(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddonIstio(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddonKubeless(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddonOwasp(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddonPipelineEvents(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddonPrometheus(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateAddonProw(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateBranchPattern(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateChat(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateChatServer(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateChatToken(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateCluster(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateClusterAKS(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateClusterEKS(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateClusterGKE(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateClusterIKS(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateDevPod(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateDockerAuth(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateDocs(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateDomain(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateDomainGKE(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateEnv(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateEtcHosts(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateGit(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateGitServer(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateGitToken(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateGitUser(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateGkeServiceAccount(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateIssue(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateJenkins(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateJenkinsUser(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateMLQuickstart(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateProject(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreatePullRequest(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateQuickstart(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateQuickstartLocation(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateSpring(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateStep(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateTeam(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateToken(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateTokenAddon(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateTracker(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateTrackerServer(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateTrackerToken(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateUser(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdCreateVariable(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdInstall(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdInstallDependencies(commonOpts *opts.CommonOptions) *cobra.Command
- type Auth
- type Config
- type CreateAddonAmbassadorOptions
- type CreateAddonAnchoreOptions
- type CreateAddonEnvironmentControllerOptions
- type CreateAddonFlaggerOptions
- type CreateAddonGiteaOptions
- type CreateAddonGlooOptions
- type CreateAddonIngressControllerOptions
- type CreateAddonIstioOptions
- type CreateAddonKubelessOptions
- type CreateAddonOptions
- type CreateAddonOwaspOptions
- type CreateAddonPipelineEventsOptions
- type CreateAddonPrometheusOptions
- type CreateAddonProwOptions
- type CreateBranchPatternOptions
- type CreateChatOptions
- type CreateChatServerOptions
- type CreateChatTokenOptions
- type CreateClusterAKSFlags
- type CreateClusterAKSOptions
- type CreateClusterEKSFlags
- type CreateClusterEKSOptions
- type CreateClusterFlags
- type CreateClusterGKEFlags
- type CreateClusterGKEOptions
- type CreateClusterIKSFlags
- type CreateClusterIKSOptions
- type CreateClusterOptions
- type CreateDevPodOptions
- type CreateDevPodResults
- type CreateDockerAuthOptions
- type CreateDocsOptions
- type CreateEnvOptions
- type CreateEtcHostsOptions
- type CreateGitOptions
- type CreateGitServerOptions
- type CreateGitTokenOptions
- type CreateGitUserOptions
- type CreateGkeServiceAccountFlags
- type CreateGkeServiceAccountOptions
- type CreateIssueOptions
- type CreateJenkinsOptions
- type CreateJenkinsUserOptions
- type CreateMLQuickstartOptions
- type CreateProjectOptions
- type CreateProjectWizardOptions
- type CreatePullRequestOptions
- type CreateQuickstartLocationOptions
- type CreateQuickstartOptions
- type CreateStepOptions
- type CreateTeamOptions
- type CreateTokenAddonOptions
- type CreateTokenOptions
- type CreateTrackerOptions
- type CreateTrackerServerOptions
- type CreateTrackerTokenOptions
- type CreateUserOptions
- type CreateVariableOptions
- type DomainGKEOptions
- type DomainOptions
- type InstallDependenciesFlags
- type InstallDependenciesOptions
- type InstallFlags
- type InstallOptions
- func (options *InstallOptions) AddInstallFlags(cmd *cobra.Command, includesInit bool)
- func (options *InstallOptions) CheckFeatures() error
- func (options *InstallOptions) CheckFlags() error
- func (options *InstallOptions) CloneJXCloudEnvironmentsRepo() (string, error)
- func (options *InstallOptions) ConfigureKaniko() error
- func (options *InstallOptions) ModifyConfigMap(name string, callback func(*core_v1.ConfigMap) error) (*core_v1.ConfigMap, error)
- func (options *InstallOptions) ModifySecret(name string, callback func(*core_v1.Secret) error) (*core_v1.Secret, error)
- func (options *InstallOptions) Run() error
- func (options *InstallOptions) SetInstallValues(values map[string]string)
- type KubernetesProvider
- type ModifyConfigMapCallback
- type ModifySecretCallback
- type NewStepDetails
- type Secrets
- type SpringOptions
Constants ¶
const ( DefaultEnvCtrlReleaseName = "jxet" DefaultEnvCtrlNamespace = "jx" )
const ( JenkinsCookieName = "JSESSIONID" JenkinsVersionHeader = "X-Jenkins" )
const ( JX_GIT_TOKEN = "JX_GIT_TOKEN" // #nosec JX_GIT_USER = "JX_GIT_USER" ServerlessJenkins = "Serverless Jenkins X Pipelines with Tekton" GitOpsChartYAML = `` /* 172-byte string literal not displayed */ )
const (
DEFAULT_IBMREPO_URL = "https://registry.bluemix.net/helm/ibm"
)
const (
DefaultAnchoreName = "anchore"
)
const (
DefaultFlaggerNamespace = DefaultIstioNamespace
)
const (
DefaultIstioNamespace = "istio-system"
)
const (
// Domain to create within managed DNS services
Domain = "domain"
)
const (
// JenkinsXMLQuickstartsOrganisation is the default organisation for machine-learning quickstarts
JenkinsXMLQuickstartsOrganisation = "machine-learning-quickstarts"
)
const (
// JenkinsXQuickstartsOrganisation is the default organisation for quickstarts
JenkinsXQuickstartsOrganisation = "jenkins-x-quickstarts"
)
const ProjectID = "project-id"
ProjectID the Google Cloud Project ID
const (
ValidKubernetesProviders = `` /* 621-byte string literal not displayed */
)
Variables ¶
var ( CreateClusterLong = templates.LongDesc(` This command creates a new Kubernetes cluster, installing required local dependencies and provisions the Jenkins X platform You can see a demo of this command here: [https://jenkins-x.io/demos/create_cluster/](https://jenkins-x.io/demos/create_cluster/) %s Depending on which cloud provider your cluster is created on possible dependencies that will be installed are: - kubectl (CLI to interact with Kubernetes clusters) - helm (package manager for Kubernetes) - draft (CLI that makes it easy to build applications that run on Kubernetes) - virtualisation drivers (to run Minikube in a VM) - gcloud (Google Cloud CLI) - oci (Oracle Cloud Infrastructure CLI) - az (Azure CLI) - ibmcloud (IBM CLoud CLI) For more documentation see: [https://jenkins-x.io/getting-started/create-cluster/](https://jenkins-x.io/getting-started/create-cluster/) `) CreateClusterExample = templates.Examples(` # create a cluster on Google Cloud jx create cluster gke --skip-installation # create a cluster on AWS via EKS jx create cluster eks --skip-installation `) )
var ( InstalLong = templates.LongDesc(` Installs the Jenkins X platform on a Kubernetes cluster Requires a --git-username and --git-api-token that can be used to create a new token. This is so the Jenkins X platform can git tag your releases For more documentation see: [https://jenkins-x.io/getting-started/install-on-cluster/](https://jenkins-x.io/getting-started/install-on-cluster/) The current requirements are: *RBAC is enabled on the cluster *Insecure Docker registry is enabled for Docker registries running locally inside Kubernetes on the service IP range. See the above documentation for more detail `) InstalExample = templates.Examples(` # Default installer which uses interactive prompts to generate git secrets jx install # Install with a GitHub personal access token jx install --git-username jenkins-x-bot --git-api-token 9fdbd2d070cd81eb12bca87861bcd850 # If you know the cloud provider you can pass this as a CLI argument. E.g. for AWS jx install --provider=aws `) )
var ( // DefaultMLQuickstartLocation is the default organisation for machine-learning quickstarts DefaultMLQuickstartLocation = v1.QuickStartLocation{ GitURL: gits.GitHubURL, GitKind: gits.KindGitHub, Owner: JenkinsXMLQuickstartsOrganisation, Includes: []string{"ML-*"}, Excludes: []string{"WIP-*"}, } )
var JenkinsReferenceVersion = semver.Version{Major: 2, Minor: 140, Patch: 0}
Functions ¶
func AddDomainOptionsArguments ¶
func AddDomainOptionsArguments(cmd *cobra.Command, options *DomainOptions)
AddDomainOptionsArguments adds common Domain flags to the given cobra command
func FindDevPodLabelFromJenkinsfile ¶
FindDevPodLabelFromJenkinsfile finds pod labels from a Jenkinsfile
func LoadVersionFromCloudEnvironmentsDir ¶
func LoadVersionFromCloudEnvironmentsDir(wrkDir string, configStore configio.ConfigStore) (string, error)
LoadVersionFromCloudEnvironmentsDir lets load the jenkins-x-platform version
func NewCmdCreate ¶
func NewCmdCreate(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreate creates a command object for the "create" command
func NewCmdCreateAddon ¶
func NewCmdCreateAddon(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateAddon creates a command object for the "create" command
func NewCmdCreateAddonAmbassador ¶
func NewCmdCreateAddonAmbassador(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateAddonAmbassador creates a command object for the "create" command
func NewCmdCreateAddonAnchore ¶
func NewCmdCreateAddonAnchore(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateAddonAnchore creates a command object for the "create" command
func NewCmdCreateAddonEnvironmentController ¶
func NewCmdCreateAddonEnvironmentController(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateAddonEnvironmentController creates a command object for the "create" command
func NewCmdCreateAddonFlagger ¶
func NewCmdCreateAddonFlagger(commonOpts *opts.CommonOptions) *cobra.Command
func NewCmdCreateAddonGitea ¶
func NewCmdCreateAddonGitea(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateAddonGitea creates a command object for the "create" command
func NewCmdCreateAddonGloo ¶
func NewCmdCreateAddonGloo(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateAddonGloo creates a command object for the "create" command
func NewCmdCreateAddonIngressController ¶
func NewCmdCreateAddonIngressController(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateAddonIngressController creates a command object for the "create" command
func NewCmdCreateAddonIstio ¶
func NewCmdCreateAddonIstio(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateAddonIstio creates a command object for the "create" command
func NewCmdCreateAddonKubeless ¶
func NewCmdCreateAddonKubeless(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateAddonKubeless creates a command object for the "create" command
func NewCmdCreateAddonOwasp ¶
func NewCmdCreateAddonOwasp(commonOpts *opts.CommonOptions) *cobra.Command
func NewCmdCreateAddonPipelineEvents ¶
func NewCmdCreateAddonPipelineEvents(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateAddonPipelineEvents creates a command object for the "create" command
func NewCmdCreateAddonPrometheus ¶
func NewCmdCreateAddonPrometheus(commonOpts *opts.CommonOptions) *cobra.Command
func NewCmdCreateAddonProw ¶
func NewCmdCreateAddonProw(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateAddonProw creates a command object for the "create" command
func NewCmdCreateBranchPattern ¶
func NewCmdCreateBranchPattern(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateBranchPattern creates a command object for the "create" command
func NewCmdCreateChat ¶
func NewCmdCreateChat(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateChat creates a command object for the "create" command
func NewCmdCreateChatServer ¶
func NewCmdCreateChatServer(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateChatServer creates a command object for the "create" command
func NewCmdCreateChatToken ¶
func NewCmdCreateChatToken(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateChatToken creates a command
func NewCmdCreateCluster ¶
func NewCmdCreateCluster(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateCluster creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a Kubernetes cluster.
func NewCmdCreateClusterAKS ¶
func NewCmdCreateClusterAKS(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a Kubernetes cluster.
func NewCmdCreateClusterEKS ¶
func NewCmdCreateClusterEKS(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateClusterEKS creates the command
func NewCmdCreateClusterGKE ¶
func NewCmdCreateClusterGKE(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateClusterGKE creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a Kubernetes cluster.
func NewCmdCreateClusterIKS ¶
func NewCmdCreateClusterIKS(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a kubernetes cluster.
func NewCmdCreateDevPod ¶
func NewCmdCreateDevPod(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateDevPod creates a command object for the "create" command
func NewCmdCreateDockerAuth ¶
func NewCmdCreateDockerAuth(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateDockerAuth creates a command object for the "create" command
func NewCmdCreateDocs ¶
func NewCmdCreateDocs(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateDocs creates a command object for the "create" command
func NewCmdCreateDomain ¶
func NewCmdCreateDomain(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateDomain creates a command object for the "create" command
func NewCmdCreateDomainGKE ¶
func NewCmdCreateDomainGKE(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateDomainGKE creates a command object for the "create" command
func NewCmdCreateEnv ¶
func NewCmdCreateEnv(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateEnv creates a command object for the "create" command
func NewCmdCreateEtcHosts ¶
func NewCmdCreateEtcHosts(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateEtcHosts creates a command object for the "create" command
func NewCmdCreateGit ¶
func NewCmdCreateGit(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateGit creates a command object for the "create" command
func NewCmdCreateGitServer ¶
func NewCmdCreateGitServer(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateGitServer creates a command object for the "create" command
func NewCmdCreateGitToken ¶
func NewCmdCreateGitToken(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateGitToken creates a command
func NewCmdCreateGitUser ¶
func NewCmdCreateGitUser(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateGitUser creates a command
func NewCmdCreateGkeServiceAccount ¶
func NewCmdCreateGkeServiceAccount(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateGkeServiceAccount creates a command object for the "create" command
func NewCmdCreateIssue ¶
func NewCmdCreateIssue(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateIssue creates a command object for the "create" command
func NewCmdCreateJenkins ¶
func NewCmdCreateJenkins(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateJenkins creates a command object for the "create" command
func NewCmdCreateJenkinsUser ¶
func NewCmdCreateJenkinsUser(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateJenkinsUser creates a command
func NewCmdCreateMLQuickstart ¶
func NewCmdCreateMLQuickstart(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateMLQuickstart creates a command object for the "create" command
func NewCmdCreateProject ¶
func NewCmdCreateProject(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateProject creates a command object for the "create" command
func NewCmdCreatePullRequest ¶
func NewCmdCreatePullRequest(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreatePullRequest creates a command object for the "create" command
func NewCmdCreateQuickstart ¶
func NewCmdCreateQuickstart(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateQuickstart creates a command object for the "create" command
func NewCmdCreateQuickstartLocation ¶
func NewCmdCreateQuickstartLocation(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateQuickstartLocation creates a command object for the "create" command
func NewCmdCreateSpring ¶
func NewCmdCreateSpring(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateSpring creates a command object for the "create" command
func NewCmdCreateStep ¶
func NewCmdCreateStep(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateStep creates a command object for the "create" command
func NewCmdCreateTeam ¶
func NewCmdCreateTeam(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateTeam creates a command object for the "create" command
func NewCmdCreateToken ¶
func NewCmdCreateToken(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateToken creates a command object for the "create" command
func NewCmdCreateTokenAddon ¶
func NewCmdCreateTokenAddon(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateTokenAddon creates a command
func NewCmdCreateTracker ¶
func NewCmdCreateTracker(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateTracker creates a command object for the "create" command
func NewCmdCreateTrackerServer ¶
func NewCmdCreateTrackerServer(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateTrackerServer creates a command object for the "create" command
func NewCmdCreateTrackerToken ¶
func NewCmdCreateTrackerToken(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateTrackerToken creates a command
func NewCmdCreateUser ¶
func NewCmdCreateUser(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateUser creates a command object for the "create" command
func NewCmdCreateVariable ¶
func NewCmdCreateVariable(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdCreateVariable creates a command object for the "create" command
func NewCmdInstall ¶
func NewCmdInstall(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdInstall creates a command object for the generic "install" action, which installs the jenkins-x platform on a Kubernetes cluster.
func NewCmdInstallDependencies ¶
func NewCmdInstallDependencies(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdInstallDependencies creates a command object to install any required dependencies
Types ¶
type CreateAddonAmbassadorOptions ¶
type CreateAddonAmbassadorOptions struct { CreateAddonOptions Chart string }
CreateAddonAmbassadorOptions the options for the create spring command
func (*CreateAddonAmbassadorOptions) Run ¶
func (o *CreateAddonAmbassadorOptions) Run() error
Run implements the command
type CreateAddonAnchoreOptions ¶
type CreateAddonAnchoreOptions struct { CreateAddonOptions Chart string Password string ConfigDir string }
CreateAddonAnchoreOptions the options for the create spring command
func (*CreateAddonAnchoreOptions) Run ¶
func (o *CreateAddonAnchoreOptions) Run() error
Run implements the command
type CreateAddonEnvironmentControllerOptions ¶
type CreateAddonEnvironmentControllerOptions struct { CreateAddonOptions Namespace string Version string ReleaseName string SetValues string Timeout int InitOptions initcmd.InitOptions // chart parameters WebHookURL string GitSourceURL string GitKind string GitUser string GitToken string BuildPackURL string BuildPackRef string ClusterRBAC bool NoClusterAdmin bool ProjectID string DockerRegistry string DockerRegistryOrg string }
CreateAddonEnvironmentControllerOptions the options for the create spring command
func (*CreateAddonEnvironmentControllerOptions) Run ¶
func (o *CreateAddonEnvironmentControllerOptions) Run() error
Run implements the command
type CreateAddonFlaggerOptions ¶
type CreateAddonFlaggerOptions struct { CreateAddonOptions Chart string GrafanaChart string GrafanaVersion string ProductionEnvironment string IstioGateway string }
func (*CreateAddonFlaggerOptions) Run ¶
func (o *CreateAddonFlaggerOptions) Run() error
Create the addon
type CreateAddonGiteaOptions ¶
type CreateAddonGiteaOptions struct { CreateAddonOptions Chart string Username string Password string Email string IsAdmin bool NoUser bool NoToken bool }
CreateAddonGiteaOptions the options for the create spring command
func (*CreateAddonGiteaOptions) Run ¶
func (o *CreateAddonGiteaOptions) Run() error
Run implements the command
type CreateAddonGlooOptions ¶
type CreateAddonGlooOptions struct { CreateAddonOptions GlooNamespace string ClusterIngressProxy string KnativeServeNamespace string KnativeServeConfigMap string }
CreateAddonGlooOptions the options for the create spring command
func (*CreateAddonGlooOptions) Run ¶
func (o *CreateAddonGlooOptions) Run() error
Run implements the command
type CreateAddonIngressControllerOptions ¶
type CreateAddonIngressControllerOptions struct { CreateAddonOptions InitOptions initcmd.InitOptions }
CreateAddonIngressControllerOptions the options for the create spring command
func (*CreateAddonIngressControllerOptions) Run ¶
func (o *CreateAddonIngressControllerOptions) Run() error
Run implements the command
type CreateAddonIstioOptions ¶
type CreateAddonIstioOptions struct { CreateAddonOptions Chart string Password string ConfigDir string NoInjectorWebhook bool Dir string IngressGatewayService string }
CreateAddonIstioOptions the options for the create spring command
func (*CreateAddonIstioOptions) Run ¶
func (o *CreateAddonIstioOptions) Run() error
Run implements the command
type CreateAddonKubelessOptions ¶
type CreateAddonKubelessOptions struct { CreateAddonOptions Chart string }
CreateAddonKubelessOptions the options for the create spring command
func (*CreateAddonKubelessOptions) Run ¶
func (o *CreateAddonKubelessOptions) Run() error
Run implements the command
type CreateAddonOptions ¶
type CreateAddonOptions struct { options.CreateOptions Namespace string Version string ReleaseName string SetValues string ValueFiles []string HelmUpdate bool }
CreateAddonOptions the options for the create spring command
func (*CreateAddonOptions) CreateAddon ¶
func (o *CreateAddonOptions) CreateAddon(addon string) error
func (*CreateAddonOptions) ExposeAddon ¶
func (o *CreateAddonOptions) ExposeAddon(addon string) error
func (*CreateAddonOptions) Run ¶
func (o *CreateAddonOptions) Run() error
Run implements this command
type CreateAddonOwaspOptions ¶
type CreateAddonOwaspOptions struct { CreateAddonOptions BackoffLimit int32 Image string }
func (*CreateAddonOwaspOptions) Run ¶
func (o *CreateAddonOwaspOptions) Run() error
Create the addon
type CreateAddonPipelineEventsOptions ¶
type CreateAddonPipelineEventsOptions struct { CreateAddonOptions Password string }
CreateAddonPipelineEventsOptions the options for the create spring command
func (*CreateAddonPipelineEventsOptions) Run ¶
func (o *CreateAddonPipelineEventsOptions) Run() error
Run implements the command
type CreateAddonPrometheusOptions ¶
type CreateAddonPrometheusOptions struct { options.CreateOptions Namespace string Version string ReleaseName string HelmUpdate bool SetValues string Password string }
func (*CreateAddonPrometheusOptions) Run ¶
func (o *CreateAddonPrometheusOptions) Run() error
type CreateAddonProwOptions ¶
type CreateAddonProwOptions struct { CreateAddonOptions Password string Chart string Tekton bool ExternalDNS bool }
CreateAddonProwOptions the options for the create spring command
func (*CreateAddonProwOptions) Run ¶
func (o *CreateAddonProwOptions) Run() error
Run implements the command
type CreateBranchPatternOptions ¶
type CreateBranchPatternOptions struct { options.CreateOptions BranchPattern string }
CreateBranchPatternOptions the options for the create spring command
func (*CreateBranchPatternOptions) Run ¶
func (o *CreateBranchPatternOptions) Run() error
Run implements the command
type CreateChatOptions ¶
type CreateChatOptions struct {
options.CreateOptions
}
CreateChatOptions the options for the create spring command
type CreateChatServerOptions ¶
type CreateChatServerOptions struct { options.CreateOptions Name string }
CreateChatServerOptions the options for the create spring command
func (*CreateChatServerOptions) Run ¶
func (o *CreateChatServerOptions) Run() error
Run implements the command
type CreateChatTokenOptions ¶
type CreateChatTokenOptions struct { options.CreateOptions ServerFlags opts.ServerFlags Username string Password string ApiToken string Timeout string }
CreateChatTokenOptions the command line options for the command
func (*CreateChatTokenOptions) Run ¶
func (o *CreateChatTokenOptions) Run() error
Run implements the command
type CreateClusterAKSFlags ¶
type CreateClusterAKSFlags struct { UserName string Password string ClusterName string ResourceName string Location string NodeVMSize string NodeOSDiskSize string NodeCount string KubeVersion string PathToPublicKey string ClientSecret string ServicePrincipal string Subscription string AADClientAppID string AADServerAppID string AADServerAppSecret string AADTenantID string AdminUsername string DNSNamePrefix string DNSServiceIP string DockerBridgeAddress string PodCIDR string ServiceCIDR string VnetSubnetID string WorkspaceResourceID string SkipLogin bool SkipProviderRegistration bool SkipResourceGroupCreation bool Tags string }
type CreateClusterAKSOptions ¶
type CreateClusterAKSOptions struct { CreateClusterOptions Flags CreateClusterAKSFlags }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterAKSOptions) Run ¶
func (o *CreateClusterAKSOptions) Run() error
type CreateClusterEKSFlags ¶
type CreateClusterEKSOptions ¶
type CreateClusterEKSOptions struct { CreateClusterOptions Flags CreateClusterEKSFlags }
CreateClusterEKSOptions contains the CLI flags
func (*CreateClusterEKSOptions) Run ¶
func (o *CreateClusterEKSOptions) Run() error
Runs the command logic (including installing required binaries, parsing options and aggregating eksctl command)
type CreateClusterFlags ¶
type CreateClusterFlags struct { }
type CreateClusterGKEFlags ¶
type CreateClusterGKEFlags struct { AutoUpgrade bool `mapstructure:"enable-autoupgrade"` ClusterName string `mapstructure:"cluster-name"` ClusterIpv4Cidr string `mapstructure:"cluster-ipv4-cidr"` ClusterVersion string `mapstructure:"kubernetes-version"` DiskSize string `mapstructure:"disk-size"` ImageType string `mapstructure:"image-type"` MachineType string `mapstructure:"machine-type"` MinNumOfNodes string `mapstructure:"min-num-nodes"` MaxNumOfNodes string `mapstructure:"max-num-nodes"` Network string ProjectID string `mapstructure:"project-id"` SkipLogin bool `mapstructure:"skip-login"` SubNetwork string Region string Zone string Namespace string Labels string EnhancedScopes bool `mapstructure:"enhanced-scopes"` Scopes []string Preemptible bool EnhancedApis bool `mapstructure:"enhanced-apis"` UseStackDriverMonitoring bool `mapstructure:"use-stackdriver-monitoring"` ServiceAccount string }
type CreateClusterGKEOptions ¶
type CreateClusterGKEOptions struct { CreateClusterOptions Flags CreateClusterGKEFlags `mapstructure:"cluster"` }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterGKEOptions) Run ¶
func (o *CreateClusterGKEOptions) Run() error
type CreateClusterIKSFlags ¶
type CreateClusterIKSFlags struct { Username string Password string Account string SSOCode bool APIKey string Region string ClusterName string KubeVersion string Zone string MachineType string PrivateVLAN string CreatePrivateVLAN bool PublicVLAN string CreatePublicVLAN bool PrivateOnly bool Workers string Isolation string NoSubnet bool DiskEncrypt bool Trusted bool SkipLogin bool }
type CreateClusterIKSOptions ¶
type CreateClusterIKSOptions struct { CreateClusterOptions Flags CreateClusterIKSFlags }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterIKSOptions) Run ¶
func (o *CreateClusterIKSOptions) Run() error
type CreateClusterOptions ¶
type CreateClusterOptions struct { options.CreateOptions InstallOptions InstallOptions Flags initcmd.InitFlags Provider string SkipInstallation bool `mapstructure:"skip-installation"` }
CreateClusterOptions the flags for running create cluster
func (*CreateClusterOptions) Run ¶
func (o *CreateClusterOptions) Run() error
Run returns help if function is run without any argument
type CreateDevPodOptions ¶
type CreateDevPodOptions struct { options.CreateOptions opts.CommonDevPodOptions Label string Suffix string WorkingDir string RequestCpu string RequestMemory string Dir string Reuse bool Sync bool Ports []int AutoExpose bool Persist bool ImportURL string Import bool TempDir bool Theia bool ShellCmd string DockerRegistry string TillerNamespace string ServiceAccount string PullSecrets string GitCredentials credentials.StepGitCredentialsOptions Results CreateDevPodResults }
CreateDevPodOptions the options for the create spring command
func (*CreateDevPodOptions) Run ¶
func (o *CreateDevPodOptions) Run() error
Run implements this command
type CreateDevPodResults ¶
CreateDevPodResults the results of running the command
type CreateDockerAuthOptions ¶
type CreateDockerAuthOptions struct { options.CreateOptions Host string User string Secret string Email string }
CreateDockerAuthOptions the options for the create Docker auth command
func (*CreateDockerAuthOptions) Run ¶
func (o *CreateDockerAuthOptions) Run() error
Run implements the command
type CreateDocsOptions ¶
type CreateDocsOptions struct { options.CreateOptions Dir string }
CreateDocsOptions the options for the create spring command
type CreateEnvOptions ¶
type CreateEnvOptions struct { options.CreateOptions Options v1.Environment HelmValuesConfig config.HelmValuesConfig PromotionStrategy string NoGitOps bool NoDevNamespaceInit bool Prow bool GitOpsMode bool ForkEnvironmentGitRepo string EnvJobCredentials string GitRepositoryOptions gits.GitRepositoryOptions Prefix string BranchPattern string Vault bool PullSecrets string Update bool }
CreateEnvOptions the options for the create env command
func (*CreateEnvOptions) RegisterEnvironment ¶
func (o *CreateEnvOptions) RegisterEnvironment(env *v1.Environment, gitProvider gits.GitProvider, authConfigSvc auth.ConfigService) error
RegisterEnvironment performs the environment registration
type CreateEtcHostsOptions ¶
type CreateEtcHostsOptions struct { options.CreateOptions Name string IP string }
CreateEtcHostsOptions the options for the create spring command
func (*CreateEtcHostsOptions) Run ¶
func (o *CreateEtcHostsOptions) Run() error
Run implements the command
type CreateGitOptions ¶
type CreateGitOptions struct {
options.CreateOptions
}
CreateGitOptions the options for the create spring command
type CreateGitServerOptions ¶
type CreateGitServerOptions struct { options.CreateOptions Name string Kind string URL string User string Secret string }
CreateGitServerOptions the options for the create spring command
func (*CreateGitServerOptions) Run ¶
func (o *CreateGitServerOptions) Run() error
Run implements the command
type CreateGitTokenOptions ¶
type CreateGitTokenOptions struct { options.CreateOptions ServerFlags opts.ServerFlags Username string Password string ApiToken string Timeout string }
CreateGitTokenOptions the command line options for the command
func (*CreateGitTokenOptions) Run ¶
func (o *CreateGitTokenOptions) Run() error
Run implements the command
type CreateGitUserOptions ¶
type CreateGitUserOptions struct { options.CreateOptions ServerFlags opts.ServerFlags Username string Password string ApiToken string Email string IsAdmin bool }
CreateGitUserOptions the command line options for the command
func (*CreateGitUserOptions) Run ¶
func (o *CreateGitUserOptions) Run() error
Run implements the command
type CreateGkeServiceAccountOptions ¶
type CreateGkeServiceAccountOptions struct { options.CreateOptions Flags CreateGkeServiceAccountFlags }
func (*CreateGkeServiceAccountOptions) Run ¶
func (o *CreateGkeServiceAccountOptions) Run() error
Run implements this command
type CreateIssueOptions ¶
type CreateIssueOptions struct { options.CreateOptions Dir string Title string Body string Labels []string }
CreateIssueOptions the options for the create spring command
func (*CreateIssueOptions) PopulateIssue ¶
func (o *CreateIssueOptions) PopulateIssue(issue *gits.GitIssue) error
func (*CreateIssueOptions) Run ¶
func (o *CreateIssueOptions) Run() error
Run implements the command
type CreateJenkinsOptions ¶
type CreateJenkinsOptions struct {
options.CreateOptions
}
CreateJenkinsOptions the options for the create spring command
func (*CreateJenkinsOptions) Run ¶
func (o *CreateJenkinsOptions) Run() error
Run implements this command
type CreateJenkinsUserOptions ¶
type CreateJenkinsUserOptions struct { options.CreateOptions ServerFlags opts.ServerFlags JenkinsSelector opts.JenkinsSelectorOptions Namespace string Username string Password string APIToken string BearerToken string Timeout string NoREST bool RecreateToken bool HealthTimeout time.Duration }
CreateJenkinsUserOptions the command line options for the command
func (*CreateJenkinsUserOptions) Run ¶
func (o *CreateJenkinsUserOptions) Run() error
Run implements the command
type CreateMLQuickstartOptions ¶
type CreateMLQuickstartOptions struct { CreateProjectOptions GitHubOrganisations []string Filter quickstarts.QuickstartFilter GitProvider gits.GitProvider GitHost string IgnoreTeam bool }
CreateMLQuickstartOptions the options for the create quickstart command
func (*CreateMLQuickstartOptions) LoadQuickstartsFromMap ¶
func (o *CreateMLQuickstartOptions) LoadQuickstartsFromMap(config *auth.AuthConfig, gitMap map[string]map[string]v1.QuickStartLocation) (*quickstarts.QuickstartModel, error)
LoadQuickstartsFromMap Load all quickstarts
func (*CreateMLQuickstartOptions) Run ¶
func (o *CreateMLQuickstartOptions) Run() error
Run implements the generic Create command
type CreateProjectOptions ¶
type CreateProjectOptions struct { importcmd.ImportOptions DisableImport bool OutDir string GithubAppInstalled bool }
CreateProjectOptions contains the command line options
func (*CreateProjectOptions) ImportCreatedProject ¶
func (o *CreateProjectOptions) ImportCreatedProject(outDir string) error
DoImport imports the project created at the given directory
type CreateProjectWizardOptions ¶
type CreateProjectWizardOptions struct {
options.CreateOptions
}
CreateProjectWizardOptions the options for the command
func (*CreateProjectWizardOptions) Run ¶
func (o *CreateProjectWizardOptions) Run() error
Run implements the command
type CreatePullRequestOptions ¶
type CreatePullRequestOptions struct { options.CreateOptions Dir string Title string Body string Labels []string Base string Push bool Fork bool Results *gits.PullRequestInfo }
CreatePullRequestOptions the options for the create spring command
func (*CreatePullRequestOptions) Run ¶
func (o *CreatePullRequestOptions) Run() error
Run implements the command
type CreateQuickstartLocationOptions ¶
type CreateQuickstartLocationOptions struct { options.CreateOptions GitUrl string GitKind string Owner string Includes []string Excludes []string }
CreateQuickstartLocationOptions the options for the create spring command
func (*CreateQuickstartLocationOptions) Run ¶
func (o *CreateQuickstartLocationOptions) Run() error
Run implements the command
type CreateQuickstartOptions ¶
type CreateQuickstartOptions struct { CreateProjectOptions GitHubOrganisations []string Filter quickstarts.QuickstartFilter GitProvider gits.GitProvider GitHost string IgnoreTeam bool }
CreateQuickstartOptions the options for the create quickstart command
func (*CreateQuickstartOptions) CreateQuickStart ¶
func (o *CreateQuickstartOptions) CreateQuickStart(q *quickstarts.QuickstartForm) error
CreateQuickStart helper method to create a quickstart from a quickstart resource
func (*CreateQuickstartOptions) Run ¶
func (o *CreateQuickstartOptions) Run() error
Run implements the generic Create command
type CreateStepOptions ¶
type CreateStepOptions struct { options.CreateOptions Dir string NewStepDetails NewStepDetails }
CreateStepOptions the options for the create spring command
func (*CreateStepOptions) AddStepToProjectConfig ¶
func (o *CreateStepOptions) AddStepToProjectConfig() (*config.ProjectConfig, string, error)
AddStepToProjectConfig creates the new step, adds it to the project config, and returns the modified project config.
type CreateTeamOptions ¶
type CreateTeamOptions struct { options.CreateOptions Name string Members []string }
CreateTeamOptions the options for the create spring command
type CreateTokenAddonOptions ¶
type CreateTokenAddonOptions struct { options.CreateOptions ServerFlags opts.ServerFlags Username string Password string ApiToken string Timeout string Kind string }
CreateTokenAddonOptions the command line options for the command
func (*CreateTokenAddonOptions) Run ¶
func (o *CreateTokenAddonOptions) Run() error
Run implements the command
type CreateTokenOptions ¶
type CreateTokenOptions struct {
options.CreateOptions
}
CreateTokenOptions the options for the create spring command
func (*CreateTokenOptions) Run ¶
func (o *CreateTokenOptions) Run() error
Run implements this command
type CreateTrackerOptions ¶
type CreateTrackerOptions struct {
options.CreateOptions
}
CreateTrackerOptions the options for the create spring command
func (*CreateTrackerOptions) Run ¶
func (o *CreateTrackerOptions) Run() error
Run implements this command
type CreateTrackerServerOptions ¶
type CreateTrackerServerOptions struct { options.CreateOptions Name string }
CreateTrackerServerOptions the options for the create spring command
func (*CreateTrackerServerOptions) Run ¶
func (o *CreateTrackerServerOptions) Run() error
Run implements the command
type CreateTrackerTokenOptions ¶
type CreateTrackerTokenOptions struct { options.CreateOptions ServerFlags opts.ServerFlags Username string Password string ApiToken string Timeout string }
CreateTrackerTokenOptions the command line options for the command
func (*CreateTrackerTokenOptions) Run ¶
func (o *CreateTrackerTokenOptions) Run() error
Run implements the command
type CreateUserOptions ¶
type CreateUserOptions struct { options.CreateOptions UserSpec v1.UserDetails }
CreateUserOptions the options for the create spring command
type CreateVariableOptions ¶
type CreateVariableOptions struct { options.CreateOptions Dir string Name string Value string }
CreateVariableOptions the options for the create spring command
func (*CreateVariableOptions) Run ¶
func (o *CreateVariableOptions) Run() error
Run implements the command
type DomainGKEOptions ¶
type DomainGKEOptions struct { DomainOptions ProjectID string }
DomainGKEOptions the options for the create spring command
type DomainOptions ¶
type DomainOptions struct { options.CreateOptions SkipMessages bool }
DomainOptions the options for the create spring command
type InstallDependenciesFlags ¶
InstallDependenciesFlags flags for the install command
type InstallDependenciesOptions ¶
type InstallDependenciesOptions struct { *opts.CommonOptions Flags InstallDependenciesFlags }
InstallDependenciesOptions options for install dependencies
func CreateInstallDependenciesOptions ¶
func CreateInstallDependenciesOptions(commonOpts *opts.CommonOptions) InstallDependenciesOptions
CreateInstallDependenciesOptions creates the options for jx install dependencies
func (*InstallDependenciesOptions) Run ¶
func (options *InstallDependenciesOptions) Run() error
Run implements this command
type InstallFlags ¶
type InstallFlags struct { ConfigFile string InstallOnly bool Domain string ExposeControllerURLTemplate string ExposeControllerPathMode string AzureRegistrySubscription string DockerRegistry string DockerRegistryOrg string Provider string VersionsRepository string VersionsGitRef string Version string LocalHelmRepoName string Namespace string CloudEnvRepository string NoDefaultEnvironments bool RemoteEnvironments bool DefaultEnvironmentPrefix string LocalCloudEnvironment bool EnvironmentGitOwner string Timeout string HelmTLS bool RegisterLocalHelmRepo bool CleanupTempFiles bool Prow bool DisableSetKubeContext bool Dir string Vault bool RecreateVaultBucket bool Tekton bool BuildPackName string Kaniko bool GitOpsMode bool NoGitOpsEnvApply bool NoGitOpsEnvRepo bool NoGitOpsEnvSetup bool NoGitOpsVault bool NextGeneration bool `mapstructure:"next-generation"` StaticJenkins bool LongTermStorage bool `mapstructure:"long-term-storage"` LongTermStorageBucketName string `mapstructure:"lts-bucket"` }
InstallFlags flags for the install command
func (*InstallFlags) AddCloudEnvOptions ¶
func (flags *InstallFlags) AddCloudEnvOptions(cmd *cobra.Command)
type InstallOptions ¶
type InstallOptions struct { *opts.CommonOptions gits.GitRepositoryOptions CreateJenkinsUserOptions CreateEnvOptions config.AdminSecretsService kubevault.AWSConfig InitOptions initcmd.InitOptions Flags InstallFlags `mapstructure:"install"` // contains filtered or unexported fields }
InstallOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func CreateInstallOptions ¶
func CreateInstallOptions(commonOpts *opts.CommonOptions) InstallOptions
CreateInstallOptions creates the options for jx install
func (*InstallOptions) AddInstallFlags ¶
func (options *InstallOptions) AddInstallFlags(cmd *cobra.Command, includesInit bool)
func (*InstallOptions) CheckFeatures ¶
func (options *InstallOptions) CheckFeatures() error
CheckFeatures - determines if the various features have been enabled
func (*InstallOptions) CheckFlags ¶
func (options *InstallOptions) CheckFlags() error
CheckFlags validates & configures install flags
func (*InstallOptions) CloneJXCloudEnvironmentsRepo ¶
func (options *InstallOptions) CloneJXCloudEnvironmentsRepo() (string, error)
clones the jenkins-x cloud-environments repo to a local working dir
func (*InstallOptions) ConfigureKaniko ¶
func (options *InstallOptions) ConfigureKaniko() error
ConfigureKaniko configures the kaniko SA and secret
func (*InstallOptions) ModifyConfigMap ¶
func (options *InstallOptions) ModifyConfigMap(name string, callback func(*core_v1.ConfigMap) error) (*core_v1.ConfigMap, error)
ModifyConfigMap modifies the ConfigMap either live or via the file system if generating the GitOps source
func (*InstallOptions) ModifySecret ¶
func (options *InstallOptions) ModifySecret(name string, callback func(*core_v1.Secret) error) (*core_v1.Secret, error)
ModifySecret modifies the Secret either live or via the file system if generating the GitOps source
func (*InstallOptions) SetInstallValues ¶
func (options *InstallOptions) SetInstallValues(values map[string]string)
SetInstallValues sets the install values
type KubernetesProvider ¶
type KubernetesProvider string
type ModifyConfigMapCallback ¶
type ModifyConfigMapCallback func(string, func(*core_v1.ConfigMap) error) (*core_v1.ConfigMap, error)
ModifyConfigMapCallback a callback for modifying a ConfigMap for a given name
type ModifySecretCallback ¶
ModifySecretCallback a callback for modifying a Secret for a given name
type NewStepDetails ¶
NewStepDetails configures a new step
func (*NewStepDetails) AddToPipeline ¶
func (s *NewStepDetails) AddToPipeline(projectConfig *config.ProjectConfig) error
AddToPipeline adds the step to the given pipeline configuration
type SpringOptions ¶ added in v2.1.85
type SpringOptions struct { CreateProjectOptions Advanced bool SpringForm spring.SpringBootForm }
SpringOptions the options for the create spring command
func (*SpringOptions) Run ¶ added in v2.1.85
func (o *SpringOptions) Run() error
Run implements the command
Source Files ¶
- create.go
- create_addon.go
- create_addon_ambassador.go
- create_addon_anchore.go
- create_addon_environment_controller.go
- create_addon_flagger.go
- create_addon_gitea.go
- create_addon_gloo.go
- create_addon_ingress.go
- create_addon_istio.go
- create_addon_kubeless.go
- create_addon_owasp.go
- create_addon_pipeline_events.go
- create_addon_prometheus.go
- create_addon_prow.go
- create_branch_pattern.go
- create_chat.go
- create_chat_server.go
- create_chat_token.go
- create_cluster.go
- create_cluster_aks.go
- create_cluster_eks.go
- create_cluster_gke.go
- create_cluster_iks.go
- create_devpod.go
- create_docker_auth.go
- create_docs.go
- create_domain.go
- create_domain_gke.go
- create_env.go
- create_etc_hosts.go
- create_git.go
- create_git_api_token.go
- create_git_server.go
- create_git_user.go
- create_gke_service_account.go
- create_issue.go
- create_jenkins.go
- create_jenkins_token.go
- create_mlquickstart.go
- create_project.go
- create_pullrequest.go
- create_quickstart.go
- create_quickstart_location.go
- create_spring.go
- create_step.go
- create_team.go
- create_token.go
- create_token_addon.go
- create_tracker.go
- create_tracker_server.go
- create_tracker_token.go
- create_user.go
- create_variable.go
- install.go
- install_dependencies.go