timegate

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	NextValidTime   *string    `json:"nextValidTime"`
	PushedThroughBy *core.User `json:"pushedThroughBy,omitempty"`
	PushedThroughAt *string    `json:"pushedThroughAt,omitempty"`
}

type Spec

type Spec struct {
	Days         []string `json:"days"`
	TimeRange    string   `json:"timeRange"`
	Timezone     string   `json:"timezone,omitempty"`
	ExcludeDates []string `json:"excludeDates,omitempty"`
}

type TimeGate

type TimeGate struct{}

func (*TimeGate) Actions

func (tg *TimeGate) Actions() []core.Action

func (*TimeGate) Cancel

func (tg *TimeGate) Cancel(ctx core.ExecutionContext) error

func (*TimeGate) Cleanup added in v0.7.0

func (tg *TimeGate) Cleanup(ctx core.SetupContext) error

func (*TimeGate) Color

func (tg *TimeGate) Color() string

func (*TimeGate) Configuration

func (tg *TimeGate) Configuration() []configuration.Field

func (*TimeGate) Description

func (tg *TimeGate) Description() string

func (*TimeGate) Documentation added in v0.1.6

func (tg *TimeGate) Documentation() string

func (*TimeGate) ExampleOutput added in v0.0.45

func (tg *TimeGate) ExampleOutput() map[string]any

func (*TimeGate) Execute

func (tg *TimeGate) Execute(ctx core.ExecutionContext) error

func (*TimeGate) HandleAction

func (tg *TimeGate) HandleAction(ctx core.ActionContext) error

func (*TimeGate) HandlePushThrough

func (tg *TimeGate) HandlePushThrough(ctx core.ActionContext) error

func (*TimeGate) HandleTimeReached

func (tg *TimeGate) HandleTimeReached(ctx core.ActionContext) error

func (*TimeGate) HandleWebhook

func (tg *TimeGate) HandleWebhook(ctx core.WebhookRequestContext) (int, error)

func (*TimeGate) Icon

func (tg *TimeGate) Icon() string

func (*TimeGate) Label

func (tg *TimeGate) Label() string

func (*TimeGate) Name

func (tg *TimeGate) Name() string

func (*TimeGate) OutputChannels

func (tg *TimeGate) OutputChannels(configuration any) []core.OutputChannel

func (*TimeGate) ProcessQueueItem

func (tg *TimeGate) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*TimeGate) Setup

func (tg *TimeGate) Setup(ctx core.SetupContext) error

Jump to

Keyboard shortcuts

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