development

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package development implements controller-owned Git and publication actions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PublicationPolicy

type PublicationPolicy struct {
	Repository string   `yaml:"repository"`
	Base       string   `yaml:"base"`
	Remote     string   `yaml:"remote"`
	Checks     []string `yaml:"checks"`
	Reviewers  []string `yaml:"reviewers"`
}

type Runtime

type Runtime struct {
	Secrets map[string]string
	Root    string
	Store   *workflows.SQLiteStore
	Policy  PublicationPolicy
	// contains filtered or unexported fields
}

func (*Runtime) Admission

func (r *Runtime) Admission(ctx context.Context, all map[string]*workflows.Workflow) (map[string]any, error)

func (*Runtime) Cleanup

func (r *Runtime) Cleanup(ctx context.Context, id string) error

func (*Runtime) CleanupOwned

func (r *Runtime) CleanupOwned(ctx context.Context, id string, owner *ownership.Lock) error

CleanupOwned journals each filesystem/effect boundary before removal. The tombstone remains after the run records are deleted, making retries idempotent.

func (*Runtime) RunAction

func (r *Runtime) RunAction(ctx context.Context, req workflows.ActionRequest) (map[string]any, error)

Jump to

Keyboard shortcuts

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