Documentation ¶
Overview ¶
The kubapiserver package holds code that is common to both the kube-apiserver and the federation-apiserver, but isn't part of a generic API server. For instance, the non-delegated authorization options are used by those two servers, but no generic API server is likely to use them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SpecialDefaultResourcePrefixes = map[schema.GroupResource]string{
{Group: "", Resource: "replicationcontrollers"}: "controllers",
{Group: "", Resource: "endpoints"}: "services/endpoints",
{Group: "", Resource: "nodes"}: "minions",
{Group: "", Resource: "services"}: "services/specs",
{Group: "extensions", Resource: "ingresses"}: "ingress",
{Group: "extensions", Resource: "podsecuritypolicies"}: "podsecuritypolicy",
{Group: "policy", Resource: "podsecuritypolicies"}: "podsecuritypolicy",
}
SpecialDefaultResourcePrefixes are prefixes compiled into Kubernetes.
Functions ¶
This section is empty.
Types ¶
type StorageFactoryConfig ¶ added in v1.12.6
type StorageFactoryConfig struct { StorageConfig storagebackend.Config ApiResourceConfig *serverstorage.ResourceConfig DefaultResourceEncoding *serverstorage.DefaultResourceEncodingConfig DefaultStorageMediaType string Serializer runtime.StorageSerializer StorageEncodingOverrides map[string]schema.GroupVersion ResourceEncodingOverrides []schema.GroupVersionResource EtcdServersOverrides []string EncryptionProviderConfigFilepath string }
func NewStorageFactoryConfig ¶ added in v1.12.6
func NewStorageFactoryConfig() *StorageFactoryConfig
func (*StorageFactoryConfig) Complete ¶ added in v1.12.6
func (c *StorageFactoryConfig) Complete(etcdOptions *serveroptions.EtcdOptions, serializationOptions *kubeapiserveroptions.StorageSerializationOptions) (*completedStorageFactoryConfig, error)
Directories ¶
Path | Synopsis |
---|---|
Package options contains flags and options for initializing kube-apiserver
|
Package options contains flags and options for initializing kube-apiserver |
Click to show internal directories.
Click to hide internal directories.