cli

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TknApprovalTaskRunner

type TknApprovalTaskRunner struct {
	// contains filtered or unexported fields
}

func NewTknApprovalTaskRunner

func NewTknApprovalTaskRunner() (TknApprovalTaskRunner, error)

func (TknApprovalTaskRunner) Assert

func (tknApprovalTaskRunner TknApprovalTaskRunner) Assert(t *testing.T, exp icmd.Expected, args ...string) *icmd.Result

Assert runs a command and verifies exit code (0)

func (TknApprovalTaskRunner) MustSucceed

func (tknApprovalTaskRunner TknApprovalTaskRunner) MustSucceed(t *testing.T, args ...string) *icmd.Result

MustSucceed asserts that the command ran with 0 exit code

func (TknApprovalTaskRunner) Run

func (tknApprovalTaskRunner TknApprovalTaskRunner) Run(args ...string) *icmd.Result

Jump to

Keyboard shortcuts

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