tconfig

package
v0.0.0-...-c054a23 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Tekton     tektonclient.Interface
	Kube       kubernetes.Interface
	Resource   versionedResource.Interface
	HTTPclient http.Client
	Dynamic    dynamic.Interface
}

Client struct contains Tekton, Kubernetes and Dynamic intefaces.

type Params

type Params interface {
	SetKubeConfigPath(string)

	SetKubeContext(string)

	Client() (*Client, error)

	SetNamespace(string)
}

type TektonParam

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

TektonParam struct contains Tekton client and kubernetes configuration.

func (*TektonParam) Client

func (p *TektonParam) Client() (*Client, error)

func (*TektonParam) Namespace

func (p *TektonParam) Namespace() string

func (*TektonParam) SetKubeConfigPath

func (p *TektonParam) SetKubeConfigPath(path string)

func (*TektonParam) SetKubeContext

func (p *TektonParam) SetKubeContext(context string)

func (*TektonParam) SetNamespace

func (p *TektonParam) SetNamespace(ns string)

Jump to

Keyboard shortcuts

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