clientconfig

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientAndNamespaceFromContext

func ClientAndNamespaceFromContext(ctx context.Context) (client kubeclient.Client, namespace string, overridden bool, err error)

func GetRESTConfig added in v1.4.0

func GetRESTConfig(ctx context.Context) (*rest.Config, error)

func NewContext

func NewContext(ctx context.Context, clientConfig clientcmd.ClientConfig) context.Context

NewContext returns a new Context that stores a clientConfig as value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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