stdin

package
v0.1.35 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const TriggerID = "stdin"

Variables

This section is empty.

Functions

This section is empty.

Types

type Trigger

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

func NewTrigger

func NewTrigger(params TriggerParams) (*Trigger, error)

func (*Trigger) ID

func (t *Trigger) ID() string

func (*Trigger) Run

func (t *Trigger) Run(ctx triggers.Context, job triggers.Jobs)

type TriggerParams

type TriggerParams struct {
	Clock  based.Clock `validate:"required"`
	Reader io.Reader
	Writer io.Writer
}

Jump to

Keyboard shortcuts

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