const requestTimeoutUpperBound …
const DuplicateOwnerReferencesWarningFormat …
const DuplicateOwnerReferencesAfterMutatingAdmissionWarningFormat …
const shortPrefix …
const longPrefix …
type RequestScope …
func (scope *RequestScope) err(err error, w http.ResponseWriter, req *http.Request) { … }
func (scope *RequestScope) AcceptsGroupVersion(gv schema.GroupVersion) bool { … }
func (scope *RequestScope) AllowsMediaTypeTransform(mimeType, mimeSubType string, gvk *schema.GroupVersionKind) bool { … }
func (scope *RequestScope) AllowsServerVersion(version string) bool { … }
func (scope *RequestScope) AllowsStreamSchema(s string) bool { … }
var _ …
func (r *RequestScope) GetObjectCreater() runtime.ObjectCreater { … }
func (r *RequestScope) GetObjectTyper() runtime.ObjectTyper { … }
func (r *RequestScope) GetObjectDefaulter() runtime.ObjectDefaulter { … }
func (r *RequestScope) GetObjectConvertor() runtime.ObjectConvertor { … }
func (r *RequestScope) GetEquivalentResourceMapper() runtime.EquivalentResourceMapper { … }
func ConnectResource(connecter rest.Connecter, scope *RequestScope, admit admission.Interface, restPath string, isSubresource bool) http.HandlerFunc { … }
type responder …
func (r *responder) Object(statusCode int, obj runtime.Object) { … }
func (r *responder) Error(err error) { … }
func transformDecodeError(typer runtime.ObjectTyper, baseErr error, into runtime.Object, gvk *schema.GroupVersionKind, body []byte) error { … }
func hasUID(obj runtime.Object) (bool, error) { … }
func checkName(obj runtime.Object, name, namespace string, namer ScopeNamer) error { … }
func dedupOwnerReferences(refs []metav1.OwnerReference) ([]metav1.OwnerReference, []string) { … }
func hasOwnerReference(refs []metav1.OwnerReference, ref metav1.OwnerReference) bool { … }
func dedupOwnerReferencesAndAddWarning(obj runtime.Object, requestContext context.Context, afterMutatingAdmission bool) { … }
func summarizeData(data []byte, maxLength int) string { … }
func limitedReadBody(req *http.Request, limit int64) ([]byte, error) { … }
func limitedReadBodyWithRecordMetric(ctx context.Context, req *http.Request, limit int64, resourceGroup string, verb requestmetrics.RequestBodyVerb) ([]byte, error) { … }
func isDryRun(url *url.URL) bool { … }
func fieldValidation(directive string) string { … }
func parseYAMLWarnings(errString string) []string { … }
func addStrictDecodingWarnings(requestContext context.Context, errs []error) { … }
type etcdError …
type grpcError …
func isTooLargeError(err error) bool { … }