kubelite

package
v0.0.0-...-6259d52 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(kubeconfigPath string) (*k8s.Client, error)

loadClient parses a kubeconfig from a file or KUBECONFIG and returns a Kubernetes client. It does not support extensions or client auth providers.

Types

type K8SRegistry

type K8SRegistry struct {
	// contains filtered or unexported fields
}

func NewK8SRegistry

func NewK8SRegistry(client *k8s.Client) *K8SRegistry

func (*K8SRegistry) Start

func (kr *K8SRegistry) Start() error

func (*K8SRegistry) Sync

func (kr *K8SRegistry) Sync() error

Jump to

Keyboard shortcuts

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