apiserverk8s.io/apiserver/pkg/endpoints/internal Index | Files

package internal

import "k8s.io/apiserver/pkg/endpoints/internal"

Index

Types

type LazyClientIP

type LazyClientIP struct {
	Req *http.Request
}

LazyClientIP implements String() string and it will calls GetClientIP() lazily only when required.

func (*LazyClientIP) String

func (lazy *LazyClientIP) String() string

type LazyTruncatedUserAgent

type LazyTruncatedUserAgent struct {
	Req *http.Request
}

LazyTruncatedUserAgent implements String() string and it will return user-agent which may be truncated.

func (*LazyTruncatedUserAgent) String

func (lazy *LazyTruncatedUserAgent) String() string

Source Files

helpers.go

Version
v0.19.0-rc.1
Published
Jul 14, 2020
Platform
darwin/amd64
Imports
2 packages
Last checked
1 minute ago

Tools for package owners.