cli

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gate

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

func NewGate

func NewGate(repo runstate.Repository, signer *runstate.TokenSigner, out io.Writer, opts ...GateOption) *Gate

func (*Gate) Pause

func (g *Gate) Pause(ctx context.Context, state core.CheckpointState) (string, error)

func (*Gate) Resume

func (g *Gate) Resume(ctx context.Context, token string, decision core.Decision, amendment json.RawMessage) error

type GateOption

type GateOption func(*Gate)

func WithTokenTTL

func WithTokenTTL(ttl time.Duration) GateOption

Jump to

Keyboard shortcuts

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