engine

package
v1.13.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const BaseS3Path = "spindle/workflows"

Variables

View Source
var (
	ErrTimedOut       = errors.New("timed out")
	ErrWorkflowFailed = errors.New("workflow failed")
)

Functions

func StartWorkflows

func StartWorkflows(l *slog.Logger, vault secrets.Manager, cfg *config.Config, db *db.DB, n *notifier.Notifier, ctx context.Context, pipeline *models.Pipeline, pipelineId models.PipelineId)

Types

type S3

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

func NewS3

func NewS3(bucket string) (*S3, error)

func (*S3) ReadFile

func (s *S3) ReadFile(ctx context.Context, name string) ([]byte, error)

func (*S3) WriteFile

func (s *S3) WriteFile(ctx context.Context, path string) error

Source Files

  • engine.go
  • s3.go

Jump to

Keyboard shortcuts

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