config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	Kube      *kubernetes.Clientset
	Discovery *discovery.DiscoveryClient
	Dynamic   dynamic.Interface
	NRI       *versioned.Clientset
}

Clients struct regroups all necessary clients

func NewClients

func NewClients() (*Clients, error)

NewClients creates all clients and return them in Clients struct

type InformerFactories

type InformerFactories struct {
	Kube informers.SharedInformerFactory
	NRI  externalversions.SharedInformerFactory
}

InformerFactories regroups all necessary informer factories

func NewFactories

func NewFactories(clients *Clients, defaultResync time.Duration) *InformerFactories

NewFactories creates and returns all factories

func (*InformerFactories) Start

func (f *InformerFactories) Start(stop <-chan struct{})

Start starts all informer factories

Jump to

Keyboard shortcuts

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