package
0.11.0-alpha.1
Repository: https://github.com/crossplane-contrib/function-kcl.git
Documentation: pkg.go.dev

# Functions

AddResourcesTo adds the given data to any allowed object passed Will return err if the object is not of a supported type For 'desired' composed resources, the Basename is used for the resource name For 'xr' resources, the Basename must match the xr name For 'existing' resources, the Basename must match the resource name.
Check the set the resource into the desired resource map.
DataResourcesFromYaml returns the manifests list from the YAML stream data.
No description provided by the author
No description provided by the author
No description provided by the author
MatchResources finds and associates the data to the desired resource The length of the passed data should match the total count of desired match data.
No description provided by the author
No description provided by the author
SetData is a recursive function that is intended to build a kube fieldpath valid JSONPath(s) of the given object, it will then copy from 'data' at the given path to the passed o object - at the same path, overwrite defines if this function should be allowed to overwrite values or not, if not return an conflicting value error If the resource to write to 'o' contains a nil .Resource, setData will return an error It is expected that the resource is created via composed.New() or composite.New() prior to calling setData.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
Default targets the existing all resources including XR, Desired XR, spec.Resources and DesiredComposed Resources.
No description provided by the author
PatchDesired targets existing Resources on the Desired XR.
PatchResources targets existing KCLInput.spec.Resources These resources are then created similar to the Resources target.
Resources creates new resources that are added to the DesiredComposed Resources.
XR targets the existing Observed XR itself.

# Structs

No description provided by the author
No description provided by the author
ExtraResourcesRequirement defines a single requirement for extra resources.
No description provided by the author

# Type aliases

DesiredMatch matches a list of data to apply to a desired resource This is used when targeting PatchDesired resources.
ExtraResourcesRequirements defines the requirements for extra resources.
No description provided by the author
No description provided by the author