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

cli

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: Apache-2.0 Imports: 7 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	Tekton versioned.Interface
	Kube   k8s.Interface
}

type Params

type Params interface {
	// SetKubeConfigPath uses the kubeconfig path to instantiate tekton
	// returned by Clientset function
	SetKubeConfigPath(string)
	Clients() (*Clients, error)

	// SetNamespace can be used to store the namespace parameter that is needed
	// by most commands
	SetNamespace(string)
	Namespace() string

	Time() clockwork.Clock
}

Params interface provides

type Stream

type Stream struct {
	Out io.Writer
	Err io.Writer
}

type TektonParams

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

func (*TektonParams) Clients

func (p *TektonParams) Clients() (*Clients, error)

func (*TektonParams) Namespace

func (p *TektonParams) Namespace() string

func (*TektonParams) SetKubeConfigPath

func (p *TektonParams) SetKubeConfigPath(path string)

func (*TektonParams) SetNamespace

func (p *TektonParams) SetNamespace(ns string)

func (*TektonParams) Time

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

Jump to

Keyboard shortcuts

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