Documentation
¶
Index ¶
- Constants
- func NewCmdInit(commonOpts *opts.CommonOptions) *cobra.Command
- type InitFlags
- type InitOptions
- func (o *InitOptions) AddIngressFlags(cmd *cobra.Command)
- func (o *InitOptions) AddInitFlags(cmd *cobra.Command)
- func (o *InitOptions) EnableClusterAdminRole() error
- func (o *InitOptions) HelmBinary() string
- func (o *InitOptions) InitIngress() error
- func (o *InitOptions) Run() error
- func (o *InitOptions) ValidateGit() error
Constants ¶
View Source
const (
// JenkinsBuildPackURL URL of Draft packs for Jenkins X
JenkinsBuildPackURL = "https://github.com/jenkins-x/draft-packs.git"
)
Variables ¶
This section is empty.
Functions ¶
func NewCmdInit ¶
func NewCmdInit(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdInit creates a command object for the generic "init" action, which primes a Kubernetes cluster so it's ready for Jenkins X to be installed
Types ¶
type InitFlags ¶
type InitFlags struct {
Domain string
Provider string
Namespace string
UserClusterRole string
TillerClusterRole string
IngressClusterRole string
TillerNamespace string
IngressNamespace string
IngressService string
IngressDeployment string
ExternalIP string
VersionsRepository string
VersionsGitRef string
DraftClient bool
HelmClient bool
Helm3 bool
HelmBin string
RecreateExistingDraftRepos bool
NoTiller bool
RemoteTiller bool
GlobalTiller bool
SkipIngress bool
SkipTiller bool
SkipClusterRole bool
OnPremise bool
Http bool
NoGitValidate bool
ExternalDNS bool
}
InitFlags the flags for running init
type InitOptions ¶
type InitOptions struct {
*opts.CommonOptions
Client clientset.Clientset
Flags InitFlags
}
InitOptions the options for running init
func (*InitOptions) AddIngressFlags ¶
func (o *InitOptions) AddIngressFlags(cmd *cobra.Command)
func (*InitOptions) AddInitFlags ¶
func (o *InitOptions) AddInitFlags(cmd *cobra.Command)
func (*InitOptions) EnableClusterAdminRole ¶
func (o *InitOptions) EnableClusterAdminRole() error
func (*InitOptions) HelmBinary ¶
func (o *InitOptions) HelmBinary() string
HelmBinary returns name of configured Helm binary
func (*InitOptions) InitIngress ¶
func (o *InitOptions) InitIngress() error
func (*InitOptions) ValidateGit ¶
func (o *InitOptions) ValidateGit() error
ValidateGit validates that git is configured correctly
Click to show internal directories.
Click to hide internal directories.