privateregistry

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkflowDeploymentAction

type WorkflowDeploymentAction interface {
	// AddWorkflow registers a new workflow with the source
	AddWorkflow(ctx context.Context, workflow *WorkflowRegistration) error

	// UpdateWorkflow updates the workflow's status configuration
	UpdateWorkflow(ctx context.Context, workflowID [32]byte, config *WorkflowStatusConfig) error

	// DeleteWorkflow removes the workflow from the source
	DeleteWorkflow(ctx context.Context, workflowID [32]byte) error
}

WorkflowDeploymentAction defines operations for managing workflows in a workflow source. This interface is implemented by both the mock server (for testing) and the actual private workflow registry server (when built).

type WorkflowRegistration

type WorkflowRegistration struct {
	WorkflowID   [32]byte
	Owner        []byte
	WorkflowName string
	BinaryURL    string
	ConfigURL    string
	DonFamily    string
	Tag          string
	Attributes   []byte
}

WorkflowRegistration contains the data needed to register a workflow

type WorkflowStatusConfig

type WorkflowStatusConfig struct {
	// Paused indicates whether the workflow should be paused (true) or active (false)
	Paused bool
}

WorkflowStatusConfig contains the desired state for a workflow's status

Jump to

Keyboard shortcuts

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