server

package
v0.20.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompletedConfig

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

type Config

type Config struct {
	Options options.CompletedOptions

	Core          *coreserver.Config
	GenericConfig *genericapiserver.Config // the config embedded into MiniAggregator, the head of the delegation chain
	Apis          *apis.Config

	ExtraConfig
}

func NewConfig

func NewConfig(opts options.CompletedOptions) (*Config, error)

func (*Config) Complete

func (c *Config) Complete() (CompletedConfig, error)

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

type ExtraConfig

type ExtraConfig struct {
	TmcSharedInformerFactory tmcinformers.SharedInformerFactory
}

type Server

type Server struct {
	CompletedConfig

	Core *coreserver.Server
	// contains filtered or unexported fields
}

func NewServer

func NewServer(c CompletedConfig) (*Server, error)

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

func (*Server) WaitForSyncPhase1

func (s *Server) WaitForSyncPhase1(stop <-chan struct{}) error

func (*Server) WaitForSyncPhase2

func (s *Server) WaitForSyncPhase2(stop <-chan struct{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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