schedule

package
v6.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: MIT Imports: 13 Imported by: 0

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
	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