karmada

package
v1.9.10 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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New creates an instance of Karmada

Types

type Karmada

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

Karmada proxies requests to karmada control panel. For non-resource requests, or resources are not defined in ResourceRegistry, we redirect the requests to karmada apiserver. Usually the request are - api index, e.g.: `/api`, `/apis` - to workload created in karmada controller panel, such as deployments and services.

func (*Karmada) Connect

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

Connect implements Plugin

func (*Karmada) Order

func (p *Karmada) Order() int

Order implements Plugin

func (*Karmada) SupportRequest

func (p *Karmada) SupportRequest(_ framework.ProxyRequest) bool

SupportRequest implements Plugin

Jump to

Keyboard shortcuts

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