package
0.13.1
Repository: https://github.com/k0sproject/k0s.git
Documentation: pkg.go.dev

# Functions

IsValidLease check whether or not the lease is expired.
NewAdminClientFactory creates a new factory that loads the admin kubeconfig based client.
NewClient creates new k8s client based of the given kubeconfig This should be only used in cases where the client is "short-running" and shouldn't/cannot use the common "cached" one.

# Interfaces

ClientFactory defines a factory interface to load a kube client.