client

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBearerToken

func AddBearerToken(secret *corev1.Secret, restConfig *rest.Config) (*rest.Config, error)

TODO: this must be removed --- compare what is tested in client_test ?

Types

type ClientBuilder

type ClientBuilder func(authToken string, needDiscovery bool) (client.Client, discovery.DiscoveryInterface, error)

func NewClientBuilder

func NewClientBuilder(restConfig *rest.Config) ClientBuilder

Jump to

Keyboard shortcuts

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