Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(dep pluginruntime.PluginDependency) (framework.Plugin, error)
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) SupportRequest ¶
func (c *Cache) SupportRequest(request framework.ProxyRequest) bool
SupportRequest implements Plugin
Click to show internal directories.
Click to hide internal directories.