kubernetes/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/loadconfigfromcrds.go

type OpenAPIDefinition

type myProperties

type nameToApiMap

// LoadConfigFromCRDs parse CRD schemas from paths into a TransformerConfig
func LoadConfigFromCRDs(
	ldr ifc.Loader, paths []string) (*builtinconfig.TransformerConfig, error) {}

func makeNameToApiMap(content []byte) (result nameToApiMap, err error) {}

func makeConfigFromApiMap(m nameToApiMap) (*builtinconfig.TransformerConfig, error) {}

// TODO: Get Group and Version for CRD from the
// openAPI definition once
// "x-kubernetes-group-version-kind" is available in CRD
func makeGvkFromTypeName(n string) resid.Gvk {}

func looksLikeAk8sType(properties myProperties) bool {}

const xAnnotation

const xLabelSelector

const xIdentity

const xVersion

const xKind

const xNameKey

// loadCrdIntoConfig loads a CRD spec into a TransformerConfig
func loadCrdIntoConfig(
	theConfig *builtinconfig.TransformerConfig, theGvk resid.Gvk, theMap nameToApiMap,
	typeName string, path []string) (err error) {}

func makeFs(in resid.Gvk, path []string) types.FieldSpec {}