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.
Click to show internal directories.
Click to hide internal directories.