informer

package
v0.0.0-...-b8a8d02 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartPodInformer

func StartPodInformer(client *KubernetesClient) error

Types

type KubernetesClient

type KubernetesClient struct {
	KubeConfig      string
	Client          kubernetes.Interface
	DynClient       dynamic.Interface
	DiscoveryClient discovery.DiscoveryInterface
	// contains filtered or unexported fields
}

KubernetesClient represents the Kubernetes configuration of the project.

func NewClient

func NewClient(kubeconfig string) *KubernetesClient

func (*KubernetesClient) Config

func (kc *KubernetesClient) Config() *rest.Config

Config returns the rest configuration to the Kubernetes API.

func (*KubernetesClient) Init

func (kc *KubernetesClient) Init() error

Init initializes the Kubernetes client-go.

Jump to

Keyboard shortcuts

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