client

package
v0.0.0-...-a74e115 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client = &ClientSet{}

Client defines the client set that will be used for testing

Functions

func ClearTestClientsHolder

func ClearTestClientsHolder()

func Setup

func Setup()

Types

type ClientSet

ClientSet provides the struct to talk with relevant API

func GetTestClientSet

func GetTestClientSet(k8sMockObjects []runtime.Object) *ClientSet

GetTestClientSet Overwrites the existing clientholders with a mocked version for unit testing.

func New

func New(kubeconfig string) *ClientSet

New returns a *ClientBuilder with the given kubeconfig.

Jump to

Keyboard shortcuts

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