k8sapiserver

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: MIT Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewControlPlaneConfigWithOptions

func NewControlPlaneConfigWithOptions(serverURL, etcdURL string) *controlplane.Config

func StartAPIServer

func StartAPIServer(etcdURL string) (*restclient.Config, func(), error)

StartAPIServer starts API server, and it make panic when a error happen.

Types

type APIServerHolder

type APIServerHolder struct {
	Initialized chan struct{}
	M           *controlplane.Instance
}

APIServerHolder implements.

func (*APIServerHolder) SetAPIServer

func (h *APIServerHolder) SetAPIServer(m *controlplane.Instance)

SetAPIServer assigns the current API server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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