create

package
v2.1.80 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 53 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdStepCreate

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

NewCmdStepCreate Steps a command object for the "step" command

func NewCmdStepCreateDevPodWorkpace

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

NewCmdStepCreateDevPodWorkpace Creates a new Command object

func NewCmdStepCreateInstallValues

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

NewCmdStepCreateInstallValues Creates a new Command object

func NewCmdStepCreateTask

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

NewCmdStepCreateTask Creates a new Command object

func NewCmdStepCreateTemplatedConfig

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

NewCmdStepCreateTemplatedConfig Creates a new Command object

func NewCmdStepCreateValues

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

NewCmdStepCreateValues Creates a new Command object

Types

type StepCreateCommand

type StepCreateCommand struct {
	step.StepCreateOptions
}

StepCreateCommand is the options for NewCmdStepCreate

func (*StepCreateCommand) Run

func (o *StepCreateCommand) Run() error

Run implements this command

type StepCreateDevPodWorkpaceOptions

type StepCreateDevPodWorkpaceOptions struct {
	step.StepOptions

	Dir            string
	VSCodeSettings string
	VSCodeHome     string
	VSCode         bool
}

StepCreateDevPodWorkpaceOptions contains the command line flags

func (*StepCreateDevPodWorkpaceOptions) Run

Run implements this command

type StepCreateDevPodWorkpaceResults

type StepCreateDevPodWorkpaceResults struct {
	Pipeline    *pipelineapi.Pipeline
	Task        *pipelineapi.Task
	PipelineRun *pipelineapi.PipelineRun
}

StepCreateDevPodWorkpaceResults stores the generated results

type StepCreateTaskOptions

type StepCreateTaskOptions struct {
	step.StepOptions

	Pack                string
	BuildPackURL        string
	BuildPackRef        string
	PipelineKind        string
	Context             string
	CustomLabels        []string
	CustomEnvs          []string
	NoApply             *bool
	DryRun              bool
	InterpretMode       bool
	DisableConcurrent   bool
	StartStep           string
	EndStep             string
	Trigger             string
	TargetPath          string
	SourceName          string
	CustomImage         string
	DefaultImage        string
	CloneGitURL         string
	Branch              string
	Revision            string
	PullRequestNumber   string
	DeleteTempDir       bool
	ViewSteps           bool
	EffectivePipeline   bool
	NoReleasePrepare    bool
	Duration            time.Duration
	FromRepo            bool
	NoKaniko            bool
	SemanticRelease     bool
	KanikoImage         string
	KanikoSecretMount   string
	KanikoSecret        string
	KanikoSecretKey     string
	ProjectID           string
	DockerRegistry      string
	DockerRegistryOrg   string
	AdditionalEnvVars   map[string]string
	PodTemplates        map[string]*corev1.Pod
	UseBranchAsRevision bool

	GitInfo     *gits.GitRepository
	BuildNumber string

	Results tekton.CRDWrapper

	VersionResolver *versionstream.VersionResolver
	CloneDir        string
	// contains filtered or unexported fields
}

StepCreateTaskOptions contains the command line flags

func NewCmdStepCreateTaskAndOption

func NewCmdStepCreateTaskAndOption(commonOpts *opts.CommonOptions) (*cobra.Command, *StepCreateTaskOptions)

NewCmdStepCreateTaskAndOption Creates a new Command object and returns the options

func (*StepCreateTaskOptions) AddCommonFlags

func (o *StepCreateTaskOptions) AddCommonFlags(cmd *cobra.Command)

AddCommonFlags adds common CLI options

func (*StepCreateTaskOptions) Run

func (o *StepCreateTaskOptions) Run() error

Run implements this command

type StepCreateTemplatedConfigOptions

type StepCreateTemplatedConfigOptions struct {
	step.StepOptions

	TemplateFile    string
	ParametersFile  string
	RequirementsDir string
	ConfigFile      string
}

StepCreateTemplatedConfigOptions command line flags

func (*StepCreateTemplatedConfigOptions) Run

Run implements this command

type StepCreateValuesOptions

type StepCreateValuesOptions struct {
	step.StepCreateOptions

	Dir       string
	Namespace string
	Name      string
	BasePath  string

	Schema     string
	ValuesFile string

	SecretsScheme string
}

StepCreateValuesOptions contains the command line flags

func (*StepCreateValuesOptions) CreateValuesFile

func (o *StepCreateValuesOptions) CreateValuesFile(secretURLClient secreturl.Client) error

CreateValuesFile builds the clients and settings from the team needed to run apps.ProcessValues, and then copies the answer to the location requested by the command

func (*StepCreateValuesOptions) Run

func (o *StepCreateValuesOptions) Run() error

Run implements this command

type StepCreateValuesResults

type StepCreateValuesResults struct {
	Pipeline    *pipelineapi.Pipeline
	Task        *pipelineapi.Task
	PipelineRun *pipelineapi.PipelineRun
}

StepCreateValuesResults stores the generated results

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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