update

package
v0.0.285 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Dir             string
	Version         string
	Strategy        string
	RepositoryURL   string
	RepositoryOwner string
	RepositoryName  string
	KptBinary       string
	CommandRunner   cmdrunner.CommandRunner
}

KptOptions the options for the command

func NewCmdKptUpdate

func NewCmdKptUpdate() (*cobra.Command, *Options)

NewCmdKptUpdate creates a command object for the command

func (*Options) AddFlags added in v0.0.193

func (o *Options) AddFlags(cmd *cobra.Command)

AddFlags adds CLI flags

func (*Options) Matches

func (o *Options) Matches(path string) (bool, error)

Matches returns true if this kpt file matches the filters

func (*Options) Run

func (o *Options) Run() error

Run implements the command

Jump to

Keyboard shortcuts

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