apiserver

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

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

Jump to

Keyboard shortcuts

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