jx: github.com/jenkins-x/jx/pkg/cmd/step/syntax Index | Files

package syntax

import "github.com/jenkins-x/jx/pkg/cmd/step/syntax"

Index

Package Files

step_syntax.go step_syntax_effective.go step_syntax_schema.go step_syntax_validate.go step_syntax_validate_buildpacks.go step_syntax_validate_pipeline.go

func NewCmdStepSyntax Uses

func NewCmdStepSyntax(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepSyntax Steps a command object for the "step" command

func NewCmdStepSyntaxEffective Uses

func NewCmdStepSyntaxEffective(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepSyntaxEffective Creates a new Command object

func NewCmdStepSyntaxSchema Uses

func NewCmdStepSyntaxSchema(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepSyntaxSchema Steps a command object for the "step" command

func NewCmdStepSyntaxValidate Uses

func NewCmdStepSyntaxValidate(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepSyntaxValidate Steps a command object for the "step" command

func NewCmdStepSyntaxValidateBuildPacks Uses

func NewCmdStepSyntaxValidateBuildPacks(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepSyntaxValidateBuildPacks Creates a new Command object

func NewCmdStepSyntaxValidatePipeline Uses

func NewCmdStepSyntaxValidatePipeline(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepSyntaxValidatePipeline Creates a new Command object

type StepSyntaxEffectiveOptions Uses

type StepSyntaxEffectiveOptions struct {
    step.StepOptions

    Pack              string
    BuildPackURL      string
    BuildPackRef      string
    Context           string
    CustomImage       string
    DefaultImage      string
    UseKaniko         bool
    KanikoImage       string
    ProjectID         string
    DockerRegistry    string
    DockerRegistryOrg string
    SourceName        string
    CustomEnvs        []string
    OutputFile        string
    ShortView         bool

    PodTemplates map[string]*corev1.Pod

    GitInfo         *gits.GitRepository
    VersionResolver *versionstream.VersionResolver
}

StepSyntaxEffectiveOptions contains the command line flags

func (*StepSyntaxEffectiveOptions) CreateEffectivePipeline Uses

func (o *StepSyntaxEffectiveOptions) CreateEffectivePipeline(packsDir string, projectConfig *config.ProjectConfig, projectConfigFile string, resolver jenkinsfile.ImportFileResolver) (*config.ProjectConfig, error)

CreateEffectivePipeline takes a project config and generates the effective version of the pipeline for it, including build packs, inheritance, overrides, defaults, etc.

func (*StepSyntaxEffectiveOptions) Run Uses

func (o *StepSyntaxEffectiveOptions) Run() error

Run implements this command

type StepSyntaxOptions Uses

type StepSyntaxOptions struct {
    step.StepOptions
}

StepSyntaxOptions contains the command line flags

func (*StepSyntaxOptions) Run Uses

func (o *StepSyntaxOptions) Run() error

Run implements this command

type StepSyntaxSchemaOptions Uses

type StepSyntaxSchemaOptions struct {
    step.StepOptions

    Pipeline  bool
    BuildPack bool
    Out       string
}

StepSyntaxSchemaOptions contains the command line flags

func (*StepSyntaxSchemaOptions) Run Uses

func (o *StepSyntaxSchemaOptions) Run() error

Run implements this command

type StepSyntaxValidateBuildPacksOptions Uses

type StepSyntaxValidateBuildPacksOptions struct {
    step.StepOptions
}

StepSyntaxValidateBuildPacksOptions contains the command line flags

func (*StepSyntaxValidateBuildPacksOptions) Run Uses

func (o *StepSyntaxValidateBuildPacksOptions) Run() error

Run implements this command

type StepSyntaxValidateOptions Uses

type StepSyntaxValidateOptions struct {
    step.StepOptions
}

StepSyntaxValidateOptions contains the command line flags

func (*StepSyntaxValidateOptions) Run Uses

func (o *StepSyntaxValidateOptions) Run() error

Run implements this command

type StepSyntaxValidatePipelineOptions Uses

type StepSyntaxValidatePipelineOptions struct {
    step.StepOptions

    Context string
    Dir     string
}

StepSyntaxValidatePipelineOptions contains the command line flags

func (*StepSyntaxValidatePipelineOptions) Run Uses

func (o *StepSyntaxValidatePipelineOptions) Run() error

Run implements this command

Package syntax imports 26 packages (graph) and is imported by 2 packages. Updated 2019-09-18. Refresh now. Tools for package owners.