Documentation ¶
Index ¶
Constants ¶
View Source
const (
APIVersionsSupported = "v1=true,api/beta=true,api/alpha=false"
)
View Source
const (
DefaultServiceClusterIP = "10.53.0.1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServerConfig ¶
type APIServerConfig struct { Certs *certs.CertInfo Etcd *etcd.EtcdConfig KubeConfig string Config *rest.Config }
func (*APIServerConfig) GenerateKubeConfig ¶
func (a *APIServerConfig) GenerateKubeConfig(path string) error
GenerateKubeConfig will generate KubeConfig to allow access to cluster
func (*APIServerConfig) RunAPIServer ¶
func (a *APIServerConfig) RunAPIServer(ctx context.Context, serviceClusterIP string) error
RunAPIServer will bootstrap an API server with only core resources enabled No additional controllers will be scheduled
Click to show internal directories.
Click to hide internal directories.