rest

package
v0.0.0-...-fd195c9 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 10 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 BuildClientWithOptions

func BuildClientWithOptions(cfg *rest.Config, options client.Options) (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