clientcmd

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RESTConfigToConfig

func RESTConfigToConfig(cfg *rest.Config) (*clientcmdapi.Config, error)

RESTConfigToConfig transforms a rest.Config to a clientcmdapi.Config. Some properties like e.g. a predefined namespace / proxy cannot be translated and might be lost. Same applies for custom dials / transports that cannot be serialized.

Types

This section is empty.

Jump to

Keyboard shortcuts

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