pipelines

package
v0.0.0-...-8dda575 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BootstrapRecommendedCommandName = "bootstrap"
)
View Source
const RecommendedCommandName = "pipelines"

RecommendedPipelinesCommandName is the recommended pipelines command name.

Variables

This section is empty.

Functions

func NewCmdBootstrap

func NewCmdBootstrap(name, fullName string) *cobra.Command

NewCmdBootstrap creates the project bootstrap command.

func NewCmdComponent

func NewCmdComponent(name, fullName string) *cobra.Command

NewCmdComponent implements the component odo command

Types

type BootstrapOptions

type BootstrapOptions struct {

	// generic context options common to all commands
	*genericclioptions.Context
	// contains filtered or unexported fields
}

BootstrapOptions encapsulates the options for the odo pipelines bootstrap command.

func NewBootstrapOptions

func NewBootstrapOptions() *BootstrapOptions

NewBootstrapOptions bootstraps a BootstrapOptions instance.

func (*BootstrapOptions) Complete

func (bo *BootstrapOptions) Complete(name string, cmd *cobra.Command, args []string) error

Complete completes BootstrapOptions after they've been created.

If the prefix provided doesn't have a "-" then one is added, this makes the generated environment names nicer to read.

func (*BootstrapOptions) Run

func (bo *BootstrapOptions) Run() error

Run runs the project bootstrap command.

func (*BootstrapOptions) Validate

func (bo *BootstrapOptions) Validate() error

Validate validates the parameters of the BootstrapOptions.

Jump to

Keyboard shortcuts

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