cache

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToScheme added in v1.12.0

func AddToScheme(scheme *runtime.Scheme)

AddToScheme applies all the stored functions to the scheme.

func New

New creates an instance of Cache

Types

type Cache

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

Cache caches resource from member clusters, and handle the read request(get/list/watch) for resources. For reading requests, we redirect them to cache. Users call these requests to read resources in member clusters, such as pods and nodes.

func (*Cache) Connect

func (c *Cache) Connect(_ context.Context, request framework.ProxyRequest) (http.Handler, error)

Connect implements Plugin

func (*Cache) Order

func (c *Cache) Order() int

Order implements Plugin

func (*Cache) SupportRequest

func (c *Cache) SupportRequest(request framework.ProxyRequest) bool

SupportRequest implements Plugin

Directories

Path Synopsis
apis

Jump to

Keyboard shortcuts

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