test

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestYear = 1984
	TestDay  = 4
)

Variables

This section is empty.

Functions

func FakeClock

func FakeClock() clockwork.FakeClock

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(_ ...*rest.Config) (*cli.Clients, error)

func (*Params) KubeClient

func (p *Params) KubeClient() (k8s.Interface, 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) SetKubeContext

func (p *Params) SetKubeContext(context string)

func (*Params) SetNamespace

func (p *Params) SetNamespace(ns string)

func (*Params) SetNoColour

func (p *Params) SetNoColour(_ bool)

func (*Params) Time

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

Jump to

Keyboard shortcuts

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