controller

package
v0.0.0-...-32a469f Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const APPS_V1 = "apps/v1"
View Source
const AUTOSCALING_V1 = "autoscaling/v1"
View Source
const BATCH_V1 = "batch/v1"
View Source
const EVENTS_V1 = "events.k8s.io/v1"
View Source
const NETWORKING_V1 = "networking.k8s.io/v1"
View Source
const RBAC_V1 = "rbac.authorization.k8s.io/v1"
View Source
const V1 = "v1"

Variables

This section is empty.

Functions

func Start

func Start(conf *config.Config, eventHandlers []handlers.Handler)

TODO: we don't need the informer to be indexed Start prepares watchers and run their controllers, then waits for process termination signals

Types

type Controller

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

Controller object

func (*Controller) HasSynced

func (c *Controller) HasSynced() bool

HasSynced is required for the cache.Controller interface.

func (*Controller) LastSyncResourceVersion

func (c *Controller) LastSyncResourceVersion() string

LastSyncResourceVersion is required for the cache.Controller interface.

func (*Controller) Run

func (c *Controller) Run(stopCh <-chan struct{})

Run starts the statemonitor controller

type Event

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

Event indicate the informerEvent

Jump to

Keyboard shortcuts

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