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.
Click to show internal directories.
Click to hide internal directories.