aggregation

package
v0.0.0-...-5ee5d88 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

type REST struct {
	// contains filtered or unexported fields
}

func NewREST

func NewREST(
	federatedInformerManager informermanager.FederatedInformerManager,
	podLister cache.GenericLister,
	config *restclient.Config,
	minRequestTimeout time.Duration,
	logger klog.Logger,
) (*REST, error)

NewREST returns a RESTStorage object that will work against API services.

func (*REST) Connect

func (r *REST) Connect(ctx context.Context, _ string, _ runtime.Object, resp rest.Responder) (http.Handler, error)

func (*REST) ConnectMethods

func (r *REST) ConnectMethods() []string

ConnectMethods returns the list of HTTP methods handled by Connect

func (*REST) Destroy

func (r *REST) Destroy()

Destroy cleans up its resources on shutdown.

func (*REST) NamespaceScoped

func (r *REST) NamespaceScoped() bool

NamespaceScoped returns true if the storage is namespaced

func (*REST) New

func (r *REST) New() runtime.Object

New returns an empty object that can be used with Create and Update after request data has been put into it. This object must be a pointer type for use with Codec.DecodeInto([]byte, runtime.Object)

func (*REST) NewConnectOptions

func (r *REST) NewConnectOptions() (runtime.Object, bool, string)

NewConnectOptions returns an empty options object that will be used to pass options to the Connect method. If nil, then a nil options object is passed to Connect.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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