export

package
v0.3.27 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 22 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 {
	kyamls.Filter
	Dir          string
	ConfigFile   string
	Namespace    string
	ExplicitMode bool
	JXClient     versioned.Interface
}

LabelOptions the options for the command

func NewCmdExportConfig

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

NewCmdExportConfig creates a command object for the command

func (*Options) PopulateSourceConfig

func (o *Options) PopulateSourceConfig(srList []jenkinsv1.SourceRepository) error

PopulateSourceConfig populates the source config file given the list of source repositories

func (*Options) Run

func (o *Options) Run() error

Run transforms the YAML files

Jump to

Keyboard shortcuts

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