kubernetes

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 6 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.

func WaitForIstioSidecar added in v0.1.41

func WaitForIstioSidecar(logger logr.Logger) (func(), error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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