kubernetes

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clientset

func Clientset(conf *rest.Config) (kubernetes.Interface, error)

Clientset creates and returns the canonical kubernetes clientset.

If conf is nil, then RestConfig() is used to generate the config object.

func RestConfig

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

RestConfig returns the canonical kubernetes REST config.

Out-of-cluster loading is attempted first, followed by in-cluster when that fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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