cache

package
v1.9.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

Jump to

Keyboard shortcuts

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