Back to godoc.org

Package conversion

v0.19.2
Latest Go to latest

The latest major version is .

Published: Sep 16, 2020 | License: Apache-2.0 | Module: k8s.io/apiextensions-apiserver

Index

type CRConverterFactory

type CRConverterFactory struct {
	// contains filtered or unexported fields
}

CRConverterFactory is the factory for all CR converters.

func NewCRConverterFactory

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

NewCRConverterFactory creates a new CRConverterFactory

func (*CRConverterFactory) NewConverter

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 Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier