Help us shape the future of Go! Take the 2026 Go Developer Survey

test

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertOutput

func AssertOutput(t *testing.T, expected, actual interface{})

func ExecuteCommand

func ExecuteCommand(root *cobra.Command, args ...string) (string, error)

ExecuteCommand executes the root command passing the args and returns the output as a string and error

func ExecuteCommandC

func ExecuteCommandC(c *cobra.Command, args ...string) (*cobra.Command, string, error)

ExecuteCommandC executes the root command passing the args and returns the root command, output as a string and error if any

Types

type Params

type Params struct {
	Tekton versioned.Interface
	Kube   k8s.Interface
	Clock  clockwork.Clock
	Cls    *cli.Clients
	// contains filtered or unexported fields
}

func (*Params) Clients

func (p *Params) Clients() (*cli.Clients, error)

func (*Params) KubeConfigPath

func (p *Params) KubeConfigPath() string

func (*Params) Namespace

func (p *Params) Namespace() string

func (*Params) SetKubeConfigPath

func (p *Params) SetKubeConfigPath(path string)

func (*Params) SetNamespace

func (p *Params) SetNamespace(ns string)

func (*Params) Time

func (p *Params) Time() clockwork.Clock

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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