k8sutil

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultKubernetesClient

func DefaultKubernetesClient() (*kubernetes.Clientset, error)

func NewDefaultConfig

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

NewDefaultConfig loads kubeconfig from the environment based on the default SDK behavior - that is, this respects `$KUBECONFIG` and would load service access tokens if available.

func PostMetadata

func PostMetadata(nc v1.NodeInterface, nodeName string, cont marker.Container) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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