apiserver

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompletedConfig

type CompletedConfig struct {
	// contains filtered or unexported fields
}

CompletedConfig embeds a private pointer that cannot be instantiated outside of this package.

func (CompletedConfig) New

func (c CompletedConfig) New(scheme *runtime.Scheme, codecs serializer.CodecFactory,
	logger logger.Logger) (*genericapiserver.GenericAPIServer, error)

New returns a new instance of NepheControllerAPIServer from the given config.

type Config

type Config struct {
	GenericConfig *genericapiserver.RecommendedConfig
	ExtraConfig   ExtraConfig
}

Config defines the config for the apiserver.

func NewConfig

func NewConfig(codecs serializer.CodecFactory, npTrackerIndexer cache.Indexer, cloudInventory inventory.Interface,
	certDir string) (*Config, error)

func (*Config) Complete

func (cfg *Config) Complete() CompletedConfig

Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.

type ExtraConfig

type ExtraConfig struct {
	// contains filtered or unexported fields
}

ExtraConfig holds custom apiserver config.

type NepheControllerAPIServer

type NepheControllerAPIServer struct {
	// contains filtered or unexported fields
}

NepheControllerAPIServer contains state for a Kubernetes cluster master/api server.

func (*NepheControllerAPIServer) SetupWithManager

func (s *NepheControllerAPIServer) SetupWithManager(
	mgr controllerruntime.Manager,
	npTrackerIndexer cache.Indexer,
	cloudInventory inventory.Interface,
	certDir string,
	logger logger.Logger) error

func (*NepheControllerAPIServer) Start

Directories

Path Synopsis
registry

Jump to

Keyboard shortcuts

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