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 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) SupportRequest ¶
func (p *Karmada) SupportRequest(_ framework.ProxyRequest) bool
SupportRequest implements Plugin
Click to show internal directories.
Click to hide internal directories.