appcommands

package
v0.0.0-...-881e6dc Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNewApp

func GetNewApp(_projectID string,
	_runnerProvider func(runnerId string, version string, storage string, runnerData interface{}, skipRunnerData bool, skipChecksum bool, instanceId string) (runner.Runner, error),
	_createCmd CommandDetails,
	_destroyCmd CommandDetails,
	_logsCmd CommandDetails,
	_statusCmd CommandDetails,
	_recreateCmd CommandDetails,
	_restartCmd CommandDetails,
	_versionsCmd CommandDetails,
	_configShowCmd CommandDetails,
	_configDiffCmd CommandDetails,
	_configModifyCmd CommandDetails,
	_configResetCmd CommandDetails,
	_configApplyCmd CommandDetails,
	_keystoreCreateCmd CommandDetails,
	_keystoreDestroyCmd CommandDetails,
) (app, error)

Write initialiser logic

Types

type CommandDetails

type CommandDetails struct {
	Use                  string
	DescShort            string
	DescLong             string
	Cmd                  *cobra.Command
	AdditionalPreRunTest func(cmd *cobra.Command, args []string) error
	ArgStore             map[string]interface{}
}

Jump to

Keyboard shortcuts

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