utils

package
v0.0.0-...-e1cf38b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	KubeClient         kubernetes.Interface
	Dynamic            dynamic.Interface
	ApprovalTaskClient approvaltaskv1alpha1.OpenshiftpipelinesV1alpha1Interface
	TektonClient       v1beta1.TektonV1beta1Interface
	Config             *rest.Config
	KubeClientSet      *kubernetes.Clientset
}

Clients holds instances of interfaces for making requests to Tekton Pipelines.

func NewClients

func NewClients(configPath string, clusterName string, namespace string) (*Clients, error)

NewClients instantiates and returns several clientsets required for making request to the TektonPipeline cluster specified by the combination of clusterName and configPath.

Jump to

Keyboard shortcuts

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