apiextensions-apiserver: k8s.io/apiextensions-apiserver/pkg/apiserver/conversion Index | Files

package conversion

import "k8s.io/apiextensions-apiserver/pkg/apiserver/conversion"


Package Files

converter.go metrics.go nop_converter.go webhook_converter.go

type CRConverterFactory Uses

type CRConverterFactory struct {
    // contains filtered or unexported fields

CRConverterFactory is the factory for all CR converters.

func NewCRConverterFactory Uses

func NewCRConverterFactory(serviceResolver webhook.ServiceResolver, authResolverWrapper webhook.AuthenticationInfoResolverWrapper) (*CRConverterFactory, error)

NewCRConverterFactory creates a new CRConverterFactory

func (*CRConverterFactory) NewConverter Uses

func (m *CRConverterFactory) NewConverter(crd *apiextensionsv1.CustomResourceDefinition) (safe, unsafe runtime.ObjectConvertor, err error)

NewConverter returns a new CR converter based on the conversion settings in crd object.

Package conversion imports 24 packages (graph) and is imported by 2 packages. Updated 2020-08-13. Refresh now. Tools for package owners.