Documentation ¶
Index ¶
- Variables
- func DefaultOpenAPIConfig(oauthMetadata *oauthutil.OauthAuthorizationServerMetadata) *openapicommon.Config
- func GetAuditConfig(auditConfig configv1.AuditConfig) (audit.Backend, auditpolicy.Checker, error)
- func GetCloudProviderConfigFile(args map[string][]string) (string, error)
- func GetEtcdOptions(startingFlags map[string][]string, serializedConfig configv1.EtcdStorageConfig, ...) (*options.EtcdOptions, error)
- func IsLongRunningRequest(r *http.Request, requestInfo *apirequest.RequestInfo) bool
- func OpenshiftRequestInfoResolver() apirequest.RequestInfoResolver
- func RouteAllocator(routingSubdomain string) (*routeallocationcontroller.RouteAllocationController, error)
- func ToServingOptions(servingInfo configv1.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 configv1.AuditConfig) (audit.Backend, auditpolicy.Checker, error)
func GetEtcdOptions ¶
func GetEtcdOptions(startingFlags map[string][]string, serializedConfig configv1.EtcdStorageConfig, 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(routingSubdomain string) (*routeallocationcontroller.RouteAllocationController, error)
func ToServingOptions ¶
func ToServingOptions(servingInfo configv1.HTTPServingInfo) (*genericapiserveroptions.SecureServingOptionsWithLoopback, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.