Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientset ¶
func NewClientset(ctx context.Context) *kubernetes.Clientset
NewClientset returns a new kubernetes client set with default options.
func NewClientsetWithConfigPath ¶
NewClientsetWithConfigPath returns a new kubernetes client set with options from config path.
func NewClientsetWithOptions ¶
func NewClientsetWithOptions(ctx context.Context, options *Options) *kubernetes.Clientset
NewClientsetWithOptions returns a new kubernetes client set with options.
Types ¶
type Options ¶
Options kubernetes client set options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals a given key path into options and returns it.
Click to show internal directories.
Click to hide internal directories.