rest

package
v0.0.0-...-44f9d36 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildClient

func BuildClient(cfg *rest.Config) (client.Client, error)

func BuildDefaultHostClient

func BuildDefaultHostClient() (client.Client, error)

BuildDefaultHostClient builds the default host client. It uses NewDefaultClientConfig for retrieving the client configuration.

func BuildDefaultRESTMapper

func BuildDefaultRESTMapper() (meta.RESTMapper, error)

BuildDefaultRESTMapper builds a RESTMapper from the default client configuration.

func BuildRESTMapper

func BuildRESTMapper(cfg *rest.Config) (meta.RESTMapper, error)

BuildRESTMapper builds a RESTMapper from a given configuration.

func NewDefaultClientConfig

func NewDefaultClientConfig() (*rest.Config, error)

NewDefaultClientConfig retrieves the client configuration from the process environment using the "k8s.io/client-go/tools/clientcmd" utilities

Types

This section is empty.

Jump to

Keyboard shortcuts

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