generic

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewREST

func NewREST(
	obj resource.InternalObject,
	scheme *runtime.Scheme,
	watcherManager watchermanager.WatcherManager,
	optsGetter generic.RESTOptionsGetter,
	opts *options.Options,
) (*registry.Store, error)

func NewStatusREST

func NewStatusREST(
	obj resource.ObjectWithStatusSubResource,
	scheme *runtime.Scheme,
	watcherManager watchermanager.WatcherManager,
	opts *options.Options,
	store rest.Storage,
) (*registry.Store, error)

func NewStatusStrategy

func NewStatusStrategy(
	obj resource.ObjectWithStatusSubResource,
	typer runtime.ObjectTyper,
	storage storebackend.Storer[runtime.Object],
	watcherManager watchermanager.WatcherManager,
	opts *options.Options,
) *statusStrategy

NewStatusStrategy creates and returns a sttaus strategy instance

func NewStrategy

func NewStrategy(
	obj resource.InternalObject,
	typer runtime.ObjectTyper,
	storage storebackend.Storer[runtime.Object],
	watcherManager watchermanager.WatcherManager,
	opts *options.Options,
) *strategy

NewStrategy creates and returns a strategy instance

Types

This section is empty.

Jump to

Keyboard shortcuts

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