server

package
v1.12.1-lite6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Server

func Server(ctx context.Context, config *ServerConfig) error

Types

type ServerConfig

type ServerConfig struct {
	PublicHostname string
	AdvertiseIP    *net.IP
	AdvertisePort  int
	ListenAddr     net.IP
	ListenPort     int
	ClusterIPRange net.IPNet
	ServiceIPRange net.IPNet
	DataDir        string
	LeaderElect    bool
	UseTokenCA     bool
	ETCDEndpoints  []string
	ETCDKeyFile    string
	ETCDCertFile   string
	ETCDCAFile     string
	NoScheduler    bool

	NodeCert      string
	NodeKey       string
	ClientToken   string
	NodeToken     string
	KubeConfig    string
	Handler       http.Handler
	Authenticator authenticator.Request
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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