Documentation ¶
Index ¶
- type Entry
- type Factory
- type Options
- func (o *Options) FindBuildNumber(buildID string) (string, error)
- func (o *Options) FindDockerfilePath() (string, error)
- func (o *Options) GetBuildID() string
- func (o *Options) GetBuildNumber() (string, error)
- func (o *Options) GetDashboardURL() (string, error)
- func (o *Options) GetGitBranch() (string, error)
- func (o *Options) GetJenkinsXURL() (string, error)
- func (o *Options) Run() error
- func (o *Options) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { scmhelpers.Options File string RepositoryName string RepositoryURL string ConfigMapName string Namespace string VersionFile string BuildNumber string BuildID string GitCommitUsername string GitCommitUserEmail string GitBranch string DashboardURL string Commit bool KubeClient kubernetes.Interface JXClient jxc.Interface Requirements *jxcore.RequirementsConfig ConfigMapData map[string]string // contains filtered or unexported fields }
Options the options for the command
func NewCmdVariables ¶
NewCmdVariables creates a command object for the command
func (*Options) FindBuildNumber ¶
FindBuildNumber finds the build number for the given build ID
func (*Options) FindDockerfilePath ¶
FindDockerfilePath finds the dockerfile path to use relative to the current directory
func (*Options) GetBuildID ¶
GetBuildID returns the current build ID
func (*Options) GetBuildNumber ¶
GetBuildNumber returns the build number from BUILD_NUMBER or uses PipelineActivities to create/find it
func (*Options) GetDashboardURL ¶ added in v0.2.64
GetDashboardURL
func (*Options) GetGitBranch ¶ added in v0.2.64
func (*Options) GetJenkinsXURL ¶ added in v0.2.64
GetJenkinsXURL returns the Jenkins URL
Click to show internal directories.
Click to hide internal directories.