kube

package
v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 25 Imported by: 176

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFailureRetryWrapper added in v1.6.0

func AddFailureRetryWrapper(config *rest.Config, failureRetryCount int, failureRetryPeriodSeconds int) *rest.Config

AddFailureRetryWrapper adds a transport wrapper which wraps a function call around each kubernetes request

func NewKubectl added in v1.8.0

func NewKubectl() kube.Kubectl

func PortForward added in v1.7.0

func PortForward(podSelector string, targetPort int, namespace string) (int, error)

func SetAppInstanceLabel added in v0.11.0

func SetAppInstanceLabel(target *unstructured.Unstructured, key, val string) error

SetAppInstanceLabel the recommended app.kubernetes.io/instance label against an unstructured object Uses the legacy labeling if environment variable is set

Types

This section is empty.

Jump to

Keyboard shortcuts

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