kube

package
v1.7.8 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 23 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 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