client

package
v0.0.0-...-e440a83 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransformingWatcher

func NewTransformingWatcher(watcher watch.Interface, eventTransformer EventTransformer) *transformingWatcher

NewTransformingWatcher returns a watcher based on the input watcher, but which will apply the EventTransformer to each event before delivering it.

func NewVirtualManifestWork

func NewVirtualManifestWork(ctx context.Context, c workclientset.Interface) *virtualManifestWork

Types

type EventTransformer

type EventTransformer func(event watch.Event) (transformed *watch.Event)

EventTransformer is a simple interface that transforms a watch event.

Jump to

Keyboard shortcuts

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