bootstrap

package
v0.0.0-...-877fc11 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_CREDENTIALS_FILE = "TOICredentials"
	DEFAULT_PARAMETER_FILE   = "TOIParameters"
)

Variables

View Source
var (
	Names = names.Package
	Verb  = verbs.Bootstrap
)

Functions

func NewCommand

func NewCommand(ctx clictx.Context, names ...string) *cobra.Command

NewCommand creates a new bootstrap component command.

Types

type Binary

type Binary struct {
	Binary []byte `json:"binary"`
}

type Command

type Command struct {
	utils.BaseCommand
	Action string
	Ref    string
	Id     v1.Identity

	CredentialsFile string
	ParameterFile   string
	OutputFile      string
	Credentials     blobaccess.DataSource
	Parameters      blobaccess.DataSource
	Config          map[string]string
	EnvDir          string
}

func (*Command) AddFlags

func (o *Command) AddFlags(fs *pflag.FlagSet)

func (*Command) Complete

func (o *Command) Complete(args []string) error

func (*Command) ForName

func (o *Command) ForName(name string) *cobra.Command

func (*Command) Run

func (o *Command) Run() error

Jump to

Keyboard shortcuts

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