worker

package
v0.0.0-...-a134451 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Strategy = strategy{ObjectTyper: v1.Scheme}

Strategy is the default logic that applies when creating and updating objects via the REST API.

Functions

This section is empty.

Types

type REST

type REST struct {
	*registry.Store
}

func NewREST

func NewREST(options *options.StoreOptions) (*REST, error)

func (*REST) Actions

func (r *REST) Actions() []rest.SubResourceAction

func (*REST) Handle

func (r *REST) Handle(verb, subresource string, req *restful.Request, resp *restful.Response)

type WorkerStorage

type WorkerStorage struct {
	REST *REST
}

func NewStorage

func NewStorage(options *options.StoreOptions) (WorkerStorage, error)

Jump to

Keyboard shortcuts

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