apiserver

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 51 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.

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