cluster

package
v1.7.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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) Order

func (c *Cluster) Order() int

Order implements Plugin

func (*Cluster) SupportRequest

func (c *Cluster) 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