Documentation ¶
Index ¶
- Variables
- func DefaultOpenAPIConfig(oauthMetadata *oauthutil.OauthAuthorizationServerMetadata) *openapicommon.Config
- func GetAuditConfig(auditConfig configapi.AuditConfig) (audit.Backend, auditpolicy.Checker, error)
- func GetCloudProviderConfigFile(args map[string][]string) (string, error)
- func GetEtcdOptions(startingFlags map[string][]string, ...) (*options.EtcdOptions, error)
- func IsLongRunningRequest(r *http.Request, requestInfo *apirequest.RequestInfo) bool
- func OpenshiftRequestInfoResolver() apirequest.RequestInfoResolver
- func RouteAllocator(routingConfig configapi.RoutingConfig) (*routeallocationcontroller.RouteAllocationController, error)
- func ToServingOptions(servingInfo configapi.HTTPServingInfo) (*genericapiserveroptions.SecureServingOptionsWithLoopback, error)
- func WithCacheControl(handler http.Handler, value string) http.Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var LegacyAPIGroupPrefixes = sets.NewString(genericapiserver.DefaultLegacyAPIPrefix, legacy.RESTPrefix)
Functions ¶
func DefaultOpenAPIConfig ¶
func DefaultOpenAPIConfig(oauthMetadata *oauthutil.OauthAuthorizationServerMetadata) *openapicommon.Config
func GetAuditConfig ¶
func GetAuditConfig(auditConfig configapi.AuditConfig) (audit.Backend, auditpolicy.Checker, error)
func GetEtcdOptions ¶
func GetEtcdOptions(startingFlags map[string][]string, etcdConnectionInfo configapi.EtcdConnectionInfo, storagePrefix string, defaultWatchCacheSizes map[schema.GroupResource]int) (*options.EtcdOptions, error)
GetEtcdOptions takes configuration information and flag overrides to produce the upstream etcdoptions.
func IsLongRunningRequest ¶
func IsLongRunningRequest(r *http.Request, requestInfo *apirequest.RequestInfo) bool
func OpenshiftRequestInfoResolver ¶
func OpenshiftRequestInfoResolver() apirequest.RequestInfoResolver
func RouteAllocator ¶
func RouteAllocator(routingConfig configapi.RoutingConfig) (*routeallocationcontroller.RouteAllocationController, error)
func ToServingOptions ¶
func ToServingOptions(servingInfo configapi.HTTPServingInfo) (*genericapiserveroptions.SecureServingOptionsWithLoopback, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.