configprocessing

package
v4.0.0-0.14.0+incompat... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2018 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func DefaultOpenAPIConfig

func DefaultOpenAPIConfig(oauthMetadata *oauthutil.OauthAuthorizationServerMetadata) *openapicommon.Config

func GetAuditConfig

func GetAuditConfig(auditConfig configv1.AuditConfig) (audit.Backend, auditpolicy.Checker, error)

func GetCloudProviderConfigFile

func GetCloudProviderConfigFile(args map[string][]string) (string, 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 WithCacheControl

func WithCacheControl(handler http.Handler, value string) http.Handler

cacheControlFilter sets the Cache-Control header to the specified value.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL