apiserver

package
v0.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

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)
)

Functions

This section is empty.

Types

type APIServer

type APIServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

APIServer contains state for a Kubernetes cluster apiserver.

type Config

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

Config defines the config for Antrea apiserver.

func (*Config) Complete

func (c *Config) Complete(informers informers.SharedInformerFactory) completedConfig

type ExtraConfig

type ExtraConfig struct {
	AddressGroupStore   storage.Interface
	AppliedToGroupStore storage.Interface
	NetworkPolicyStore  storage.Interface
}

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.
ram

Jump to

Keyboard shortcuts

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