Documentation ¶
Index ¶
- type Prompt
- type TknHubRunner
- func (e TknHubRunner) Assert(t *testing.T, exp icmd.Expected, args ...string) *icmd.Result
- func (e TknHubRunner) MustSucceed(t *testing.T, args ...string) *icmd.Result
- func (e TknHubRunner) Run(args ...string) *icmd.Result
- func (e TknHubRunner) RunInteractiveTests(t *testing.T, ops *Prompt) *expect.Console
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TknHubRunner ¶
type TknHubRunner struct {
// contains filtered or unexported fields
}
TknHubRunner contains information about the current test execution tkn binary path under test
func NewTknHubRunner ¶
func NewTknHubRunner() (TknHubRunner, error)
NewTknHubRunner returns details about the tkn on particular namespace
func (TknHubRunner) MustSucceed ¶
MustSucceed asserts that the command ran with 0 exit code
func (TknHubRunner) Run ¶
func (e TknHubRunner) Run(args ...string) *icmd.Result
Run will help you execute tkn command on a specific namespace, with a timeout
func (TknHubRunner) RunInteractiveTests ¶
func (e TknHubRunner) RunInteractiveTests(t *testing.T, ops *Prompt) *expect.Console
RunInteractiveTests helps to run interactive tests.
Click to show internal directories.
Click to hide internal directories.