processor

package
v0.52.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoSchemaFound = errors.New("no schema found for resource type")

Functions

func GetSchemaForResourceType added in v0.50.0

func GetSchemaForResourceType(ctx context.Context, ucp *v20231001preview.ClientFactory, resourceID string, apiVersion string) (any, error)

GetSchemaForResourceType fetches the schema for a resource type from UCP

Types

type DynamicProcessor

type DynamicProcessor struct {
}

DynamicProcessor is a processor for dynamic resources. It implements the processors.ResourceProcessor interface.

func (*DynamicProcessor) Delete

func (d *DynamicProcessor) Delete(ctx context.Context, resource *datamodel.DynamicResource, options processors.Options) error

Delete implements the processors.Processor interface for dynamic resources. Deletion of resources is handled in recipe_delete_controller.go and inert_delete_controller.go.

func (*DynamicProcessor) Process

func (d *DynamicProcessor) Process(ctx context.Context, resource *datamodel.DynamicResource, options processors.Options) error

Process validates resource properties, and applies output values from the recipe output.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL