Documentation ¶
Overview ¶
Package apiserver contains code to create kubernetes-like API server for antrea-controller. The API server provides REST APIs supporting listing and watching Antrea resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Scheme defines methods for serializing and deserializing API objects. Scheme = runtime.NewScheme() // Codecs provides methods for retrieving codecs and serializers for specific // versions and content types. Codecs = serializer.NewCodecFactory(Scheme) // #nosec G101: false positive triggered by variable name which includes "token" TokenPath = "/var/run/antrea/apiserver/loopback-client-token" )
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer struct { GenericAPIServer *genericapiserver.GenericAPIServer // contains filtered or unexported fields }
APIServer contains state for a Kubernetes cluster apiserver.
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config defines the config for Antrea apiserver.
func NewConfig ¶ added in v0.5.0
func NewConfig( genericConfig *genericapiserver.Config, addressGroupStore, appliedToGroupStore, networkPolicyStore storage.Interface, caCertController *certificate.CACertController, controllerQuerier querier.ControllerQuerier) *Config
func (*Config) Complete ¶
func (c *Config) Complete(informers informers.SharedInformerFactory) completedConfig
type ExtraConfig ¶
type ExtraConfig struct {
// contains filtered or unexported fields
}
ExtraConfig holds custom apiserver config.
Directories ¶
Path | Synopsis |
---|---|
registry
|
|
Package storage contains storage interfaces and implementations for the apiserver.
|
Package storage contains storage interfaces and implementations for the apiserver. |
Click to show internal directories.
Click to hide internal directories.