Versions in this module Expand all Collapse all v0 v0.1.2 Feb 18, 2026 v0.1.1 Feb 17, 2026 Changes in this version + const MaxAttributeNameLength + const MaxDataTypeLength + const MaxFunctionDescriptionLength + const MaxFunctionParameterNameLength type ResourceMutationList + func AttributeValueListToResourceMutationList(avl AttributeValueList) ResourceMutationList v0.1.0 Feb 6, 2026 Changes in this version + const AttributeNameContainerImage + const AttributeNameContainerImageReference + const AttributeNameContainerImages + const AttributeNameContainerName + const AttributeNameContainerRepositoryURI + const AttributeNameDefaultName + const AttributeNameDetail + const AttributeNameDomain + const AttributeNameGeneral + const AttributeNameHostname + const AttributeNameNeededValue + const AttributeNameNone + const AttributeNamePrefixRegexpString + const AttributeNameProvidedValue + const AttributeNameResourceName + const AttributeNameSubdomain + const DataTypeAttributeValueList + const DataTypeBool + const DataTypeCEL + const DataTypeEnum + const DataTypeEnv + const DataTypeHCL + const DataTypeINI + const DataTypeInt + const DataTypeJSON + const DataTypeNone + const DataTypePatchMap + const DataTypeProperties + const DataTypeResourceList + const DataTypeResourceMutationList + const DataTypeString + const DataTypeStringBoolMap + const DataTypeStringMap + const DataTypeStringStringUUIDBoolMap + const DataTypeTOML + const DataTypeTime + const DataTypeUUID + const DataTypeUUIDArray + const DataTypeUUIDStringMap + const DataTypeValueFilter + const DataTypeYAML + const EmbeddedAccessorRegexp + const EvaluatorCEL + const EvaluatorTemplate + const FunctionNamePrefixRegexpString + const FunctionTypeCustom + const FunctionTypePathVisitor + const MaxConfigDataLength + const MaxFilterLength + const MaxFunctionErrorMessageLength + const MaxFunctionNameLength + const MaxFunctionNumberOfErrors + const MaxFunctionOutputLength + const MaxNumFunctionArguments + const MaxResourceTypeLength + const OutputTypeAttributeValueList + const OutputTypeCustomJSON + const OutputTypeOpaque + const OutputTypePatchMap + const OutputTypeResourceInfoList + const OutputTypeResourceList + const OutputTypeResourceMutationList + const OutputTypeValidationResult + const OutputTypeValidationResultList + const OutputTypeYAML + const PathRegexpString + const ResourceCategoryAppConfig + const ResourceCategoryDyanmicData + const ResourceCategoryInvalid + const ResourceCategoryResource + const ResourceTypeAny + var BooleanLiteralRegexp = regexp.MustCompile(booleanLiteralRegexpString) + var ImportSupportedOperators = []string + var IntegerLiteralRegexp = regexp.MustCompile(integerLiteralRegexpString) + var LogicalOperatorRegexp = regexp.MustCompile(logicalOperatorRegexpString) + var SafeStringCharsOnlyRegexp = regexp.MustCompile("^" + safeStringCharsRegexpString + "$") + var StringLiteralRegexp = regexp.MustCompile(stringLiteralRegexpString) + var SupportedToolchains = map[workerapi.ToolchainType]string + var ValidationResultFalse = ValidationResult + var ValidationResultTrue = ValidationResult + func CombineOutputs(functionName string, instance string, newOutputType OutputType, ...) (map[OutputType]any, []string) + func DataTypeIsSerializedAsString(dataType DataType) bool + func EvaluateExpression(expr *RelationalExpression, leftValue any, rightValue any, ...) (bool, error) + func EvaluatePermissionsExpression(operator string, leftValue PermissionsData, rightValue interface{}, ...) (bool, error) + func GetLogicalOperator(decodedQueryString string) (string, string) + func IsSupportedToolchain(toolchain workerapi.ToolchainType) bool + func NoMutations(mutations ResourceMutationList) bool + func OffsetMutations(mutations ResourceMutationList, offset int64) + func ParseInClause(decodedQueryString string) (string, string, error) + func ParseInClauseValues(literal string) []string + func ParseWhereFilterForImport(queryString string) ([]ImportFilter, ImportOptions, error) + func SkipWhitespace(decodedQueryString string) string + func SkipWhitespaceWithLimit(decodedQueryString string, limit int) string + func SupportedToolchainsToString() string + func UnmarshalOutput(outputBytes []byte, outputType OutputType) (any, error) + func ValidateImportOperator(operator string) error + type AttributeDetails struct + Description string + GetterInvocation *FunctionInvocation + SetterInvocations []FunctionInvocation + type AttributeIdentifier struct + InLiveState bool + Path ResolvedPath + type AttributeInfo struct + type AttributeMetadata struct + AttributeName AttributeName + DataType DataType + Info *AttributeDetails + type AttributeName string + func AttributeNameForResourceType(resourceType ResourceType) AttributeName + type AttributeNameToResourceTypeToPathToVisitorInfoType map[AttributeName]ResourceTypeToPathToVisitorInfoType + type AttributeValue struct + Comment string + Index int + Value any + type AttributeValueList []AttributeValue + type CustomStringComparator interface + Evaluate func(expr *RelationalExpression, value string) (bool, error) + MatchesPath func(path string) bool + type DataType string + func ParseLiteral(decodedQueryString string) (string, string, DataType, error) + type EmbeddedAccessorType string + type FunctionArgument struct + Evaluator string + ParameterName string + Value any + type FunctionContext struct + ApprovedBy []string + BridgeWorkerID uuid.UUID + IsLiveState bool + NotLive bool + OrganizationID uuid.UUID + PreviousContentHash RevisionHash + QueuedOperationID uuid.UUID + RevisionID uuid.UUID + RevisionNum int64 + SpaceAnnotations map[string]string + SpaceID uuid.UUID + SpaceLabels map[string]string + SpaceSlug string + TargetID uuid.UUID + ToolchainType workerapi.ToolchainType + UnitAnnotations map[string]string + UnitID uuid.UUID + UnitLabels map[string]string + UnitSlug string + func (fc *FunctionContext) InstanceString() string + type FunctionIDs struct + OrganizationID uuid.UUID + RevisionID uuid.UUID + SpaceID uuid.UUID + UnitID uuid.UUID + type FunctionInvocation struct + Arguments []FunctionArgument + FunctionName string + type FunctionInvocationList []FunctionInvocation + type FunctionInvocationRequest struct + ConfigData []byte + FunctionInvocations FunctionInvocationList + NumFilters int + StopOnError bool + type FunctionInvocationResponse struct + ErrorMessages []string + Success bool + type FunctionInvocationSuccessResponse struct + ConfigData []byte + Mutations ResourceMutationList + Mutators []int + Outputs map[OutputType][]byte + type FunctionOutput struct + Description string + OutputType OutputType + ResultName string + Schema *jsonschema.Schema + type FunctionParameter struct + DataType DataType + Description string + Example string + ParameterName string + Required bool + type FunctionSignature struct + AffectedResourceTypes []ResourceType + AttributeName AttributeName + Description string + FunctionName string + FunctionType FunctionType + Hermetic bool + Idempotent bool + Mutating bool + OutputInfo *FunctionOutput + Parameters []FunctionParameter + RequiredParameters int + Validating bool + VarArgs bool + type FunctionType string + type ImportFilter struct + Operator string + Type string + Values []string + type ImportOptions map[string]interface + type MutationInfo struct + Index int64 + MutationType MutationType + Predicate bool + Value string + type MutationMap map[ResolvedPath]MutationInfo + type MutationMapEntry struct + MutationInfo *MutationInfo + Path ResolvedPath + type MutationType string + const MutationTypeAdd + const MutationTypeDelete + const MutationTypeNone + const MutationTypeReplace + const MutationTypeUpdate + type OutputType string + type PatchMap map[ResourceTypeAndName]ResourcePatch + type PathToVisitorInfoType map[UnresolvedPath]*PathVisitorInfo + type PathVisitorInfo struct + AttributeName AttributeName + DataType DataType + EmbeddedAccessorConfig string + EmbeddedAccessorType EmbeddedAccessorType + Info *AttributeDetails + Path UnresolvedPath + ResolvedPath ResolvedPath + TypeExceptions map[ResourceType]struct{} + type PermissionsData map[string]map[string]map[uuid.UUID]bool + type RelationalExpression struct + DataType DataType + IsLengthExpression bool + Literal string + Operator string + Path string + type ResolvedPath string + type Resource struct + ResourceBody string + type ResourceCategory string + type ResourceCategoryType struct + ResourceCategory ResourceCategory + ResourceType ResourceType + type ResourceInfo struct + ResourceCategory ResourceCategory + ResourceName ResourceName + ResourceNameWithoutScope ResourceName + ResourceType ResourceType + type ResourceInfoList []ResourceInfo + type ResourceList []Resource + type ResourceMutation struct + Aliases map[ResourceName]struct{} + AliasesWithoutScopes map[ResourceName]struct{} + PathMutationMap MutationMap + Resource ResourceInfo + ResourceMutationInfo MutationInfo + type ResourceMutationList []ResourceMutation + func AddMutations(mutations, newMutations ResourceMutationList) ResourceMutationList + func SubtractMutations(mutations, subtractMutations ResourceMutationList) ResourceMutationList + type ResourceName string + type ResourcePatch struct + Patches yamlpatch.Patch + type ResourceType string + type ResourceTypeAndName string + func ResourceTypeAndFullNameFromResourceInfo(resourceInfo ResourceInfo) ResourceTypeAndName + func ResourceTypeAndNameFromResourceInfo(resourceInfo ResourceInfo) ResourceTypeAndName + type ResourceTypeToPathToVisitorInfoType map[ResourceType]PathToVisitorInfoType + type RevisionHash int32 + func HashConfigData(data []byte) RevisionHash + type Scalar interface + type UnresolvedPath string + type ValidationResult struct + Details []string + FailedAttributes AttributeValueList + Index int + Passed bool + type ValidationResultList []ValidationResult + type ValueConstraints struct + EnumValues []string + Max *int + Min *int + Regexp string + Schema *jsonschema.Schema + type ValueFilter struct + AllowStrings map[string]bool + DenyStrings map[string]bool + type VisitorRelationalExpression struct + IsSplitPath bool + SubPath string + VisitorPath string + func ParseAndValidateBinaryExpression(decodedQueryString string) (string, *VisitorRelationalExpression, error) + func ParseAndValidateWhereFilter(queryString string) ([]*VisitorRelationalExpression, error) + func ParseAndValidateWhereFilterForImport(queryString string) ([]*VisitorRelationalExpression, error) + type YAMLPayload struct + Payload string