app

package
v0.0.0-...-0d7ca9c Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 16 Imported by: 18

Documentation

Overview

Package app implements the kubetest2 high level application logic

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(deployerName string, newDeployer types.NewDeployer)

Main implements the kubetest2 deployer binary entrypoint Each deployer binary should invoke this, in addition to loading deployers

func NewCommand

func NewCommand(deployerName string, newDeployer types.NewDeployer) *cobra.Command

NewCommand returns a new cobra.Command for kubetest2

func RealMain

func RealMain(opts types.Options, d types.Deployer, tester types.Tester) (result error)

RealMain contains nearly all of the application logic / control flow beyond the command line boilerplate

func Run

func Run(deployerName string, newDeployer types.NewDeployer) error

Run instantiates and executes the kubetest2 cobra command, returning the result

Types

This section is empty.

Directories

Path Synopsis
Package shim implements the kubetest2 root command logic, "shimming" to deployer specific binaries
Package shim implements the kubetest2 root command logic, "shimming" to deployer specific binaries

Jump to

Keyboard shortcuts

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