Documentation
¶
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 Codecs = serializer.NewCodecFactory(Scheme) )
Functions ¶
This section is empty.
Types ¶
type CompletedConfig ¶
type CompletedConfig struct {
// contains filtered or unexported fields
}
CompletedConfig is the completed configuration for the API server
func (CompletedConfig) New ¶
func (c CompletedConfig) New() (*SubresourcesAPIServer, error)
New returns a new instance of SubresourcesAPIServer from the given config
type Config ¶
type Config struct {
GenericConfig *genericapiserver.Config
ExtraConfig ExtraConfig
}
Config contains configuration for the aggregated API server
func NewConfig ¶
func NewConfig(opts *options.ServerOptions, kubeClient kubernetes.Interface, virtClient client.Client) (*Config, error)
NewConfig creates a new Config from options
func (*Config) Complete ¶
func (cfg *Config) Complete() CompletedConfig
Complete fills in any fields not set that are required to have valid data
type ExtraConfig ¶
type ExtraConfig struct {
KubeClient kubernetes.Interface
VirtClient client.Client
}
ExtraConfig holds custom server configuration
type SubresourcesAPIServer ¶
type SubresourcesAPIServer struct {
GenericAPIServer *genericapiserver.GenericAPIServer
}
SubresourcesAPIServer contains state for the aggregated API server
Click to show internal directories.
Click to hide internal directories.