workflows

package
v1.151.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWorkflowsWorkflowModel

func NewWorkflowsWorkflowModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func Workflow_StateError_FromProto added in v1.151.0

func Workflow_StateError_FromProto(mapCtx *direct.MapContext, in *pb.Workflow_StateError) *krm.Workflow_StateError

func Workflow_StateError_ToProto added in v1.151.0

func Workflow_StateError_ToProto(mapCtx *direct.MapContext, in *krm.Workflow_StateError) *pb.Workflow_StateError

func WorkflowsWorkflowObservedState_FromProto

func WorkflowsWorkflowObservedState_FromProto(mapCtx *direct.MapContext, in *pb.Workflow) *krm.WorkflowsWorkflowObservedState

func WorkflowsWorkflowObservedState_ToProto

func WorkflowsWorkflowObservedState_ToProto(mapCtx *direct.MapContext, in *krm.WorkflowsWorkflowObservedState) *pb.Workflow

func WorkflowsWorkflowSpec_FromProto

func WorkflowsWorkflowSpec_FromProto(mapCtx *direct.MapContext, in *pb.Workflow) *krm.WorkflowsWorkflowSpec

func WorkflowsWorkflowSpec_SourceContents_ToProto

func WorkflowsWorkflowSpec_SourceContents_ToProto(mapCtx *direct.MapContext, in *string) *pb.Workflow_SourceContents

func WorkflowsWorkflowSpec_ToProto

func WorkflowsWorkflowSpec_ToProto(mapCtx *direct.MapContext, in *krm.WorkflowsWorkflowSpec) *pb.Workflow

func WorkflowsWorkflowStateError_FromProto

func WorkflowsWorkflowStateError_FromProto(mapCtx *direct.MapContext, in *pb.Workflow_StateError) *krm.Workflow_StateError

func WorkflowsWorkflowStateError_ToProto

func WorkflowsWorkflowStateError_ToProto(mapCtx *direct.MapContext, in *krm.Workflow_StateError) *pb.Workflow_StateError

Types

type WorkflowsWorkflowAdapter

type WorkflowsWorkflowAdapter struct {
	// contains filtered or unexported fields
}

func (*WorkflowsWorkflowAdapter) Create

Create creates the resource in GCP based on `spec` and update the Config Connector object `status` based on the GCP response.

func (*WorkflowsWorkflowAdapter) Delete

Delete the resource from GCP service when the corresponding Config Connector resource is deleted.

func (*WorkflowsWorkflowAdapter) Export

Export maps the GCP object to a Config Connector resource `spec`.

func (*WorkflowsWorkflowAdapter) Find

Find retrieves the GCP resource. Return true means the object is found. This triggers Adapter `Update` call. Return false means the object is not found. This triggers Adapter `Create` call. Return a non-nil error requeues the requests.

func (*WorkflowsWorkflowAdapter) Update

Update updates the resource in GCP based on `spec` and update the Config Connector object `status` based on the GCP response.

Jump to

Keyboard shortcuts

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