kubernetes/vendor/github.com/pquerna/cachecontrol/cacheobject/directive.go

var ErrQuoteMismatch

var ErrMaxAgeDeltaSeconds

var ErrSMaxAgeDeltaSeconds

var ErrMaxStaleDeltaSeconds

var ErrMinFreshDeltaSeconds

var ErrNoCacheNoArgs

var ErrNoStoreNoArgs

var ErrNoTransformNoArgs

var ErrOnlyIfCachedNoArgs

var ErrMustRevalidateNoArgs

var ErrPublicNoArgs

var ErrProxyRevalidateNoArgs

var ErrImmutableNoArgs

var ErrStaleIfErrorDeltaSeconds

var ErrStaleWhileRevalidateDeltaSeconds

func whitespace(b byte) bool {}

func parse(value string, cd cacheDirective) error {}

type DeltaSeconds

// Parser for delta-seconds, a uint31, more or less:
// http://tools.ietf.org/html/rfc7234#section-1.2.1
func parseDeltaSeconds(v string) (DeltaSeconds, error) {}

type FieldNames

type cacheDirective

type RequestCacheDirectives

func (cd *RequestCacheDirectives) addToken(token string) error {}

func (cd *RequestCacheDirectives) addPair(token string, v string) error {}

// LOW LEVEL API: Parses a Cache Control Header from a Request into a set of directives.
func ParseRequestCacheControl(value string) (*RequestCacheDirectives, error) {}

type ResponseCacheDirectives

// LOW LEVEL API: Parses a Cache Control Header from a Response into a set of directives.
func ParseResponseCacheControl(value string) (*ResponseCacheDirectives, error) {}

func (cd *ResponseCacheDirectives) addToken(token string) error {}

func hasFieldNames(token string) bool {}

func (cd *ResponseCacheDirectives) addPair(token string, v string) error {}