const maxRespBodyLength …
type handlerRunner …
type podStatusProvider …
func NewHandlerRunner(httpDoer kubetypes.HTTPDoer, commandRunner kubecontainer.CommandRunner, containerManager podStatusProvider, eventRecorder record.EventRecorder) kubecontainer.HandlerRunner { … }
func (hr *handlerRunner) Run(ctx context.Context, containerID kubecontainer.ContainerID, pod *v1.Pod, container *v1.Container, handler *v1.LifecycleHandler) (string, error) { … }
func resolvePort(portReference intstr.IntOrString, container *v1.Container) (int, error) { … }
func (hr *handlerRunner) runSleepHandler(ctx context.Context, seconds int64) error { … }
func (hr *handlerRunner) runHTTPHandler(ctx context.Context, pod *v1.Pod, container *v1.Container, handler *v1.LifecycleHandler, eventRecorder record.EventRecorder) error { … }
func discardHTTPRespBody(resp *http.Response) { … }
func NewAppArmorAdmitHandler(validator apparmor.Validator) PodAdmitHandler { … }
type appArmorAdmitHandler …
func (a *appArmorAdmitHandler) Admit(attrs *PodAdmitAttributes) PodAdmitResult { … }
func isHTTPResponseError(err error) bool { … }