server

package
v0.0.0-...-d838d59 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAggregatorConfig

func CreateAggregatorConfig(sharedConfig genericapiserver.Config, sharedEtcdOptions genericoptions.EtcdOptions) (*aggregatorapiserver.Config, error)

func CreateAggregatorServer

func CreateAggregatorServer(aggregatorConfig *aggregatorapiserver.Config, delegateAPIServer genericapiserver.DelegationTarget, apiExtensionInformers apiextensionsinformers.SharedInformerFactory) (*aggregatorapiserver.APIAggregator, error)

func CreateExtensions

CreateExtensions creates the Exensions Server.

func RunAggregator

func RunAggregator(server *aggregatorapiserver.APIAggregator, stopCh <-chan struct{}) error

RunAggregator runs the API Aggregator.

Types

type HoHApiServer

type HoHApiServer struct {

	// contains caches
	Cache cache.Cache
	// contains filtered or unexported fields
}

func NewHoHApiServer

func NewHoHApiServer(opts *Options, client dynamic.Interface,
	hostedConfig *rest.Config) *HoHApiServer

func (*HoHApiServer) AddPostStartHook

func (s *HoHApiServer) AddPostStartHook(name string, hook genericapiserver.PostStartHookFunc)

AddPostStartHook allows you to add a PostStartHook that gets passed to the underlying genericapiserver implementation.

func (*HoHApiServer) AddPreShutdownHook

func (s *HoHApiServer) AddPreShutdownHook(name string, hook genericapiserver.PreShutdownHookFunc)

AddPreShutdownHook allows you to add a PreShutdownHookFunc that gets passed to the underlying genericapiserver implementation.

func (*HoHApiServer) CreateCache

func (s *HoHApiServer) CreateCache(ctx context.Context) error

func (*HoHApiServer) InstallCRDController

func (s *HoHApiServer) InstallCRDController(ctx context.Context, config *rest.Config) error

func (*HoHApiServer) InstallPlacementBindingController

func (s *HoHApiServer) InstallPlacementBindingController(ctx context.Context, config *rest.Config) error

func (*HoHApiServer) InstallPlacementRuleController

func (s *HoHApiServer) InstallPlacementRuleController(ctx context.Context, config *rest.Config) error

func (*HoHApiServer) InstallPolicyController

func (s *HoHApiServer) InstallPolicyController(ctx context.Context, config *rest.Config) error

func (*HoHApiServer) RunHoHApiServer

func (s *HoHApiServer) RunHoHApiServer(ctx context.Context) error

RunHoHApiServer starts a new HoHApiServer.

type Options

func NewOptions

func NewOptions() *Options

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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