type crdHandler …
type crdInfo …
type crdStorageMap …
func NewCustomResourceDefinitionHandler(
versionDiscoveryHandler *versionDiscoveryHandler,
groupDiscoveryHandler *groupDiscoveryHandler,
crdInformer informers.CustomResourceDefinitionInformer,
delegate http.Handler,
restOptionsGetter generic.RESTOptionsGetter,
admission admission.Interface,
establishingController *establish.EstablishingController,
serviceResolver webhook.ServiceResolver,
authResolverWrapper webhook.AuthenticationInfoResolverWrapper,
masterCount int,
authorizer authorizer.Authorizer,
requestTimeout time.Duration,
minRequestTimeout time.Duration,
staticOpenAPISpec map[string]*spec.Schema,
maxRequestBodyBytes int64) (*crdHandler, error) { … }
var longRunningFilter …
var possiblyAcrossAllNamespacesVerbs …
func (r *crdHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { … }
func (r *crdHandler) serveResource(w http.ResponseWriter, req *http.Request, requestInfo *apirequest.RequestInfo, crdInfo *crdInfo, crd *apiextensionsv1.CustomResourceDefinition, terminating bool, supportedTypes []string) http.HandlerFunc { … }
func (r *crdHandler) serveStatus(w http.ResponseWriter, req *http.Request, requestInfo *apirequest.RequestInfo, crdInfo *crdInfo, terminating bool, supportedTypes []string) http.HandlerFunc { … }
func (r *crdHandler) serveScale(w http.ResponseWriter, req *http.Request, requestInfo *apirequest.RequestInfo, crdInfo *crdInfo, terminating bool, supportedTypes []string) http.HandlerFunc { … }
func (r *crdHandler) createCustomResourceDefinition(obj interface{ … }
func (r *crdHandler) updateCustomResourceDefinition(oldObj, newObj interface{ … }
func (r *crdHandler) removeStorage_locked(uid types.UID) { … }
func (r *crdHandler) removeDeadStorage() { … }
func (r *crdHandler) tearDown(oldInfo *crdInfo) { … }
func (r *crdHandler) destroy() { … }
func (r *crdHandler) GetCustomResourceListerCollectionDeleter(crd *apiextensionsv1.CustomResourceDefinition) (finalizer.ListerCollectionDeleter, error) { … }
func newCBORSerializerInfo(creater runtime.ObjectCreater, typer runtime.ObjectTyper) runtime.SerializerInfo { … }
func (r *crdHandler) getOrCreateServingInfoFor(uid types.UID, name string) (*crdInfo, error) { … }
func scopeWithFieldManager(typeConverter managedfields.TypeConverter, reqScope handlers.RequestScope, resetFields map[fieldpath.APIVersion]*fieldpath.Set, subresource string) (handlers.RequestScope, error) { … }
func defaultDeprecationWarning(deprecatedVersion string, crd apiextensionsv1.CustomResourceDefinitionSpec) string { … }
type unstructuredNegotiatedSerializer …
func (s unstructuredNegotiatedSerializer) SupportedMediaTypes() []runtime.SerializerInfo { … }
func (s unstructuredNegotiatedSerializer) EncoderForVersion(encoder runtime.Encoder, gv runtime.GroupVersioner) runtime.Encoder { … }
func (s unstructuredNegotiatedSerializer) DecoderToVersion(decoder runtime.Decoder, gv runtime.GroupVersioner) runtime.Decoder { … }
type UnstructuredObjectTyper …
func newUnstructuredObjectTyper(Delegate runtime.ObjectTyper) UnstructuredObjectTyper { … }
func (t UnstructuredObjectTyper) ObjectKinds(obj runtime.Object) ([]schema.GroupVersionKind, bool, error) { … }
func (t UnstructuredObjectTyper) Recognizes(gvk schema.GroupVersionKind) bool { … }
type unstructuredCreator …
func (c unstructuredCreator) New(kind schema.GroupVersionKind) (runtime.Object, error) { … }
type unstructuredDefaulter …
func (d unstructuredDefaulter) Default(in runtime.Object) { … }
func (in crdStorageMap) clone() crdStorageMap { … }
type crdConversionRESTOptionsGetter …
func (t crdConversionRESTOptionsGetter) GetRESTOptions(resource schema.GroupResource, example runtime.Object) (generic.RESTOptions, error) { … }
type schemaCoercingDecoder …
var _ …
func (d schemaCoercingDecoder) Decode(data []byte, defaults *schema.GroupVersionKind, into runtime.Object) (runtime.Object, *schema.GroupVersionKind, error) { … }
type schemaCoercingConverter …
var _ …
func (v schemaCoercingConverter) Convert(in, out, context interface{ … }
func (v schemaCoercingConverter) ConvertToVersion(in runtime.Object, gv runtime.GroupVersioner) (runtime.Object, error) { … }
func (v schemaCoercingConverter) ConvertFieldLabel(gvk schema.GroupVersionKind, label, value string) (string, string, error) { … }
type unstructuredSchemaCoercer …
func (v *unstructuredSchemaCoercer) apply(u *unstructured.Unstructured) (unknownFieldPaths []string, err error) { … }
func hasServedCRDVersion(spec *apiextensionsv1.CustomResourceDefinitionSpec, version string) bool { … }
func buildOpenAPIModelsForApply(staticOpenAPISpec map[string]*spec.Schema, crd *apiextensionsv1.CustomResourceDefinition) (map[string]*spec.Schema, error) { … }