kubeclient

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient() (kubernetes.Interface, string, error)

GetClient - gets kubernetes client with namespace it runs in

func GetFakeClient

func GetFakeClient() (kubernetes.Interface, string, error)

func LeaderElection

func LeaderElection(ctx context.Context, cfg *config.Config, workload func(ctx2 context.Context), cancel func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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