kubernetes: k8s.io/kubernetes/pkg/kubeapiserver Index | Files | Directories

package kubeapiserver

import "k8s.io/kubernetes/pkg/kubeapiserver"

The kubeapiserver 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

Package Files

default_storage_factory_builder.go doc.go

Variables

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: "networking.k8s.io", Resource: "ingresses"}:    "ingress",
    {Group: "extensions", Resource: "podsecuritypolicies"}: "podsecuritypolicy",
    {Group: "policy", Resource: "podsecuritypolicies"}:     "podsecuritypolicy",
}

SpecialDefaultResourcePrefixes are prefixes compiled into Kubernetes.

type StorageFactoryConfig Uses

type StorageFactoryConfig struct {
    StorageConfig                    storagebackend.Config
    ApiResourceConfig                *serverstorage.ResourceConfig
    DefaultResourceEncoding          *serverstorage.DefaultResourceEncodingConfig
    DefaultStorageMediaType          string
    Serializer                       runtime.StorageSerializer
    ResourceEncodingOverrides        []schema.GroupVersionResource
    EtcdServersOverrides             []string
    EncryptionProviderConfigFilepath string
}

func NewStorageFactoryConfig Uses

func NewStorageFactoryConfig() *StorageFactoryConfig

func (*StorageFactoryConfig) Complete Uses

func (c *StorageFactoryConfig) Complete(etcdOptions *serveroptions.EtcdOptions) (*completedStorageFactoryConfig, error)

Directories

PathSynopsis
admission
authenticator
authorizer
authorizer/modes
optionsPackage options contains flags and options for initializing kube-apiserver
server

Package kubeapiserver imports 19 packages (graph) and is imported by 14 packages. Updated 2019-07-01. Refresh now. Tools for package owners.