clients

package
v0.0.921 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPIClients added in v0.0.677

GetAPIClients returns the tekton, kube, and Lighthouse clients and the kubeconfig used to create them

func GetConfig added in v0.0.677

func GetConfig(masterURL, kubeconfig string) (*rest.Config, error)

GetConfig returns a rest.Config to be used for kubernetes client creation. It does so in the following order:

  1. Use the passed kubeconfig/masterURL.
  2. Fallback to the KUBECONFIG environment variable.
  3. Fallback to in-cluster config.
  4. Fallback to the ~/.kube/config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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