proxy

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 10 Imported by: 9 modules, 13 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUnformatterStore added in v0.3.0

func NewUnformatterStore(s types.Store) types.Store

NewUnformatterStore returns a store which removes fields added by the formatter that kubernetes cannot recognize.

Types

type ErrorStore added in v0.3.0

type ErrorStore struct {
	types.Store
}

ErrorStore implements types.store with errors translated into APIErrors

func NewErrorStore added in v0.3.0

func NewErrorStore(s types.Store) *ErrorStore

NewErrorStore returns a store with errors translated into APIErrors

func (*ErrorStore) ByID added in v0.3.0

func (e *ErrorStore) ByID(apiOp *types.APIRequest, schema *types.APISchema, id string) (types.APIObject, error)

ByID looks up a single object by its ID.

func (*ErrorStore) Create added in v0.3.0

func (e *ErrorStore) Create(apiOp *types.APIRequest, schema *types.APISchema, data types.APIObject) (types.APIObject, error)

Create creates a single object in the store.

func (*ErrorStore) Delete added in v0.3.0

func (e *ErrorStore) Delete(apiOp *types.APIRequest, schema *types.APISchema, id string) (types.APIObject, error)

Delete deletes an object from a store.

func (*ErrorStore) List added in v0.3.0

func (e *ErrorStore) List(apiOp *types.APIRequest, schema *types.APISchema) (types.APIObjectList, error)

List returns a list of resources.

func (*ErrorStore) Update added in v0.3.0

func (e *ErrorStore) Update(apiOp *types.APIRequest, schema *types.APISchema, data types.APIObject, id string) (types.APIObject, error)

Update updates a single object in the store.

func (*ErrorStore) Watch added in v0.3.0

func (e *ErrorStore) Watch(apiOp *types.APIRequest, schema *types.APISchema, wr types.WatchRequest) (chan types.APIEvent, error)

Watch returns a channel of events for a list or resource.

type WatchRefresh

type WatchRefresh struct {
	types.Store
	// contains filtered or unexported fields
}

WatchRefresh implements types.Store with awareness of changes to the requester's access.

func NewWatchRefresh added in v0.3.0

func NewWatchRefresh(s types.Store, asl accesscontrol.AccessSetLookup) *WatchRefresh

NewWatchRefresh returns a new store with awareness of changes to the requester's access.

func (*WatchRefresh) Watch

func (w *WatchRefresh) Watch(apiOp *types.APIRequest, schema *types.APISchema, wr types.WatchRequest) (chan types.APIEvent, error)

Watch performs a watch request which halts if the user's access level changes.

Jump to

Keyboard shortcuts

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