Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeviceAuthorizer ¶
func NewDeviceAuthorizer() *deviceAuthorizer
func NewServer ¶
func NewServer(o ServerOptions) (*genericapiserver.GenericAPIServer, error)
NewServer creates a new server.
Types ¶
type ServerOptions ¶
type ServerOptions struct { DeviceName string HTTPSAddress string HTTPSPort int HTTPAddress string HTTPPort int AdvertiseIfaces []string WebDir string ManifestDir string DataDir string KubeletArgs []string Docker bool WriteHostResolvConf bool Shutdown func() error }
ServerOptions defines the configuration options for the server.
func NewServerOptions ¶
func NewServerOptions() ServerOptions
NewServerOptions creates server options with defaults.
Click to show internal directories.
Click to hide internal directories.