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 Cluster
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster proxies the remaining requests to member clusters: - writing resources. - or subresource requests, e.g. `pods/log` We firstly find the resource from cache, and get the located cluster. Then redirect the request to the cluster.
func (*Cluster) Connect ¶
func (c *Cluster) Connect(ctx context.Context, request framework.ProxyRequest) (http.Handler, error)
Connect implements Plugin
func (*Cluster) SupportRequest ¶
func (c *Cluster) SupportRequest(request framework.ProxyRequest) bool
SupportRequest implements Plugin
Click to show internal directories.
Click to hide internal directories.