apiserver

package
v0.0.0-...-04a223e Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeviceAuthorizer

func NewDeviceAuthorizer() *deviceAuthorizer

func NewServer

NewServer creates a new server.

func NewWebUIHandler

func NewWebUIHandler(dir string, apiPaths []string, apiHandler, fallbackHandler http.Handler) http.Handler

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.

Jump to

Keyboard shortcuts

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