search

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServer

type APIServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

APIServer contains state for karmada-search.

type CompletedConfig

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

CompletedConfig embeds a private pointer that cannot be instantiated outside this package.

func (CompletedConfig) New

func (c CompletedConfig) New() (*APIServer, error)

type Config

type Config struct {
	GenericConfig                *genericapiserver.RecommendedConfig
	Controller                   *Controller
	ProxyController              *proxy.Controller
	KarmadaSharedInformerFactory informerfactory.SharedInformerFactory
}

Config defines the config for the APIServer.

func (*Config) Complete

func (cfg *Config) Complete() CompletedConfig

Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.

type Controller

type Controller struct {
	InformerManager genericmanager.MultiClusterInformerManager
	// contains filtered or unexported fields
}

Controller ResourceRegistry controller

func NewController

func NewController(restConfig *rest.Config) (*Controller, error)

NewController returns a new ResourceRegistry controller

func (*Controller) Start

func (c *Controller) Start(stopCh <-chan struct{})

Start the controller

type ExtraConfig

type ExtraConfig struct {
	MultiClusterInformerManager  genericmanager.MultiClusterInformerManager
	ClusterLister                clusterlister.ClusterLister
	KarmadaSharedInformerFactory informerfactory.SharedInformerFactory
	ProxyController              *proxy.Controller
}

ExtraConfig holds custom apiserver config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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