revisions

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultHandler

type DefaultHandler func(string)

DefaultHandler is a callback for when the default revision changes.

type DefaultWatcher

type DefaultWatcher interface {
	Run(stopCh <-chan struct{})
	HasSynced() bool
	GetDefault() string
	AddHandler(handler DefaultHandler)
}

DefaultWatcher keeps track of the current default revision and can notify watchers when the default revision changes.

func NewDefaultWatcher

func NewDefaultWatcher(client kube.Client, revision string) DefaultWatcher

type TagHandler

type TagHandler func(sets.String)

TagHandler is a callback for when the tags revision change.

type TagWatcher

type TagWatcher interface {
	Run(stopCh <-chan struct{})
	HasSynced() bool
	AddHandler(handler TagHandler)
	GetMyTags() sets.String
}

TagWatcher keeps track of the current tags and can notify watchers when the tags change.

func NewTagWatcher

func NewTagWatcher(client kube.Client, revision string) TagWatcher

Jump to

Keyboard shortcuts

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