Documentation ¶
Index ¶
- func AddFailureRetryWrapper(config *rest.Config, failureRetryCount int, failureRetryPeriodSeconds int) *rest.Config
- func NewKubectl() kube.Kubectl
- func PortForward(podSelector string, targetPort int, namespace string) (int, error)
- func SetAppInstanceLabel(target *unstructured.Unstructured, key, val string) error
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 PortForward ¶ added in v1.7.0
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.
Click to show internal directories.
Click to hide internal directories.