secondarywatch

package
v0.0.0-...-4a3d265 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options *Options) (lister *Lister, startFunc StarterFunc)

New sets up watch on secondary resources. The function returns lister(s) that can be used to query secondary resources and a StarterFunc that can be called to start the watch.

Types

type Lister

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

Lister is a set of Lister(s) for secondary resource(s)

func (*Lister) AdmissionRegistrationV1MutatingWebhookConfigurationLister

func (l *Lister) AdmissionRegistrationV1MutatingWebhookConfigurationLister() admissionregistrationv1.MutatingWebhookConfigurationLister

func (*Lister) AppsV1DaemonSetLister

func (l *Lister) AppsV1DaemonSetLister() listersappsv1.DaemonSetLister

func (*Lister) AppsV1DeploymentLister

func (l *Lister) AppsV1DeploymentLister() listersappsv1.DeploymentLister

func (*Lister) CoreV1ConfigMapLister

func (l *Lister) CoreV1ConfigMapLister() listerscorev1.ConfigMapLister

func (*Lister) CoreV1SecretLister

func (l *Lister) CoreV1SecretLister() listerscorev1.SecretLister

func (*Lister) CoreV1ServiceLister

func (l *Lister) CoreV1ServiceLister() listerscorev1.ServiceLister

type Options

type Options struct {
	Client       *runtime.Client
	ResyncPeriod time.Duration
	Namespace    string
}

type StarterFunc

type StarterFunc func(enqueuer runtime.Enqueuer, shutdown context.Context) error

StarterFunc refers to a function that can be called to start watch on secondary resources.

func (StarterFunc) Start

func (s StarterFunc) Start(enqueuer runtime.Enqueuer, shutdown context.Context) error

Jump to

Keyboard shortcuts

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