utils

package
v0.0.0-...-b8e83fa Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FactoryFromKubeConfig

func FactoryFromKubeConfig(path, context string, opts ...ClientOption) cmdutil.Factory

FactoryFromKubeConfig returns a factory with the default Kubernetes resources for the given kube config path and context

Types

type ClientOption

type ClientOption func(*genericclioptions.ConfigFlags)

ClientOption is a function that allows to modify ConfigFlags object which is used to create Client

func SetTimeout

func SetTimeout(timeout string) ClientOption

SetTimeout sets Timeout option in ConfigFlags object

Jump to

Keyboard shortcuts

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