server

package
v1.10.6-lite4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2018 License: Apache-2.0 Imports: 35 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
	PublicIP       *net.IP
	PublicPort     int
	ListenAddr     net.IP
	ListenPort     int
	ClusterIPRange net.IPNet
	ServiceIPRange net.IPNet
	DataDir        string
	LeaderElect    bool
	UseTokenCA     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