v3

package
v0.6.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredSettingInformer

func NewFilteredSettingInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredSettingInformer constructs a new informer for Setting type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredUserInformer

func NewFilteredUserInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredUserInformer constructs a new informer for User type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewSettingInformer

func NewSettingInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewSettingInformer constructs a new informer for Setting type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewUserInformer

func NewUserInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewUserInformer constructs a new informer for User type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

Types

type Interface

type Interface interface {
	// Settings returns a SettingInformer.
	Settings() SettingInformer
	// Users returns a UserInformer.
	Users() UserInformer
}

Interface provides access to all the informers in this group version.

func New

New returns a new Interface.

type SettingInformer

type SettingInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v3.SettingLister
}

SettingInformer provides access to a shared informer and lister for Settings.

type UserInformer

type UserInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v3.UserLister
}

UserInformer provides access to a shared informer and lister for Users.

Jump to

Keyboard shortcuts

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