Documentation ¶
Index ¶
- Variables
- func BuildKubeAPIserverOptions(masterConfig configapi.MasterConfig) (*kapiserveroptions.ServerRunOptions, error)
- func BuildKubernetesMasterConfig(masterConfig configapi.MasterConfig) (*incompleteKubeMasterConfig, error)
- func BuildStorageFactory(server *kapiserveroptions.ServerRunOptions, ...) (*apiserverstorage.DefaultStorageFactory, error)
- func GetAuditConfig(auditConfig configapi.AuditConfig) (audit.Backend, auditpolicy.Checker, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var LegacyAPIGroupPrefixes = sets.NewString(apiserver.DefaultLegacyAPIPrefix, legacy.RESTPrefix)
Functions ¶
func BuildKubeAPIserverOptions ¶
func BuildKubeAPIserverOptions(masterConfig configapi.MasterConfig) (*kapiserveroptions.ServerRunOptions, error)
TODO I'm honestly not sure this is worth it. We're not likely to ever be able to launch from flags, so this just adds a layer of complexity that is driving me crazy. BuildKubeAPIserverOptions constructs the appropriate kube-apiserver run options. It returns an error if no KubernetesMasterConfig was defined.
func BuildKubernetesMasterConfig ¶
func BuildKubernetesMasterConfig(masterConfig configapi.MasterConfig) (*incompleteKubeMasterConfig, error)
func BuildStorageFactory ¶
func BuildStorageFactory(server *kapiserveroptions.ServerRunOptions, enforcedStorageVersions map[schema.GroupResource]schema.GroupVersion) (*apiserverstorage.DefaultStorageFactory, error)
BuildStorageFactory builds a storage factory based on server.Etcd.StorageConfig with overrides from masterConfig. This storage factory is used for kubernetes and origin registries. Compare pkg/util/restoptions/configgetter.go.
func GetAuditConfig ¶
func GetAuditConfig(auditConfig configapi.AuditConfig) (audit.Backend, auditpolicy.Checker, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.