schedule

package
v6.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package schedule implements the `schedule` commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(ctx context.Context, c *platform.Client, o ApplyOptions) error

func Create

func Create(ctx context.Context, c *platform.Client, o CreateOptions) error

func Delete

func Delete(ctx context.Context, c *platform.Client, id string) error

func Get

func List

func SetEnabled

func SetEnabled(ctx context.Context, c *platform.Client, id string, enabled bool) error

func Update

func Update(ctx context.Context, c *platform.Client, o UpdateOptions) error

Types

type ApplyOptions

type ApplyOptions struct {
	Files     []string
	Recursive bool
}

type CreateOptions

type CreateOptions struct {
	Fields
	Experiment string
	Disabled   bool
}

type Fields

type Fields struct {
	Cron, StartAt, Timezone string
	AllowParallel           *bool
	AllowRunningAgain       *bool
	Variables               *jsyaml.Map
}

type GetOptions

type GetOptions struct {
	ID, File, Type string
}

type ListOptions

type ListOptions struct {
	Teams, Experiments []string
	Type               string
}

type UpdateOptions

type UpdateOptions struct {
	Fields
	ID string
}

Jump to

Keyboard shortcuts

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