Documentation ¶
Index ¶
- func AddDefaulterInterface(resourceDef astmodel.TypeDefinition, idFactory astmodel.IdentifierFactory, ...) (astmodel.TypeDefinition, error)
- func AddKubernetesResourceInterfaceImpls(resourceDef astmodel.TypeDefinition, idFactory astmodel.IdentifierFactory, ...) (astmodel.TypeDefinitionSet, error)
- func AddValidatorInterface(resourceDef astmodel.TypeDefinition, idFactory astmodel.IdentifierFactory, ...) (astmodel.TypeDefinition, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefaulterInterface ¶
func AddDefaulterInterface( resourceDef astmodel.TypeDefinition, idFactory astmodel.IdentifierFactory, defaultFunctions []*functions.ResourceFunction, ) (astmodel.TypeDefinition, error)
func AddKubernetesResourceInterfaceImpls ¶
func AddKubernetesResourceInterfaceImpls( resourceDef astmodel.TypeDefinition, idFactory astmodel.IdentifierFactory, definitions astmodel.TypeDefinitionSet, log logr.Logger, ) (astmodel.TypeDefinitionSet, error)
AddKubernetesResourceInterfaceImpls adds the required interfaces for the resource to be a Kubernetes resource. Returns a set of modified definitions.
func AddValidatorInterface ¶
func AddValidatorInterface( resourceDef astmodel.TypeDefinition, idFactory astmodel.IdentifierFactory, definitions astmodel.TypeDefinitionSet, validations map[functions.ValidationKind][]*functions.ResourceFunction, ) (astmodel.TypeDefinition, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.