variables

package
v0.0.309 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 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 Entry

type Entry struct {
	Name  string
	Value string
	Index int
}

Entry a variable entry in the file on load

type Factory

type Factory struct {
	Name     string
	Function func() (string, error)
}

Factory used to create a variable if its not defined locally

type Options

type Options struct {
	scmhelpers.Options
	File           string
	RepositoryName string
	RepositoryURL  string
	ConfigMapName  string
	Namespace      string
	KubeClient     kubernetes.Interface
	JXClient       jxc.Interface
	Requirements   *config.RequirementsConfig
	ConfigMapData  map[string]string
	// contains filtered or unexported fields
}

Options the options for the command

func NewCmdVariables

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

NewCmdVariables creates a command object for the command

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) Validate

func (o *Options) Validate() error

Run implements the command

Jump to

Keyboard shortcuts

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