store

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 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 Client

type Client interface {
	// Reads
	GetSchedules(ctx context.Context, session ...codec.SessionOption) ([]*schedulepkg.ScheduleView, error)
	GetSchedule(ctx context.Context, id string, session ...codec.SessionOption) (*schedulepkg.ScheduleView, error)
	GetRuns(ctx context.Context, scheduleID string, since string, session ...codec.SessionOption) ([]*runpkg.RunView, error)

	// Component-shaped reads (input -> output)
	ReadSchedules(ctx context.Context, in *schedulepkg.ScheduleListInput, session []codec.SessionOption, extra ...datly.OperateOption) (*schedulepkg.ScheduleOutput, error)
	ReadSchedule(ctx context.Context, in *schedulepkg.ScheduleInput, session []codec.SessionOption, extra ...datly.OperateOption) (*schedulepkg.ScheduleOutput, error)
	ReadRuns(ctx context.Context, in *runpkg.RunInput, session []codec.SessionOption, extra ...datly.OperateOption) (*runpkg.RunOutput, error)

	// Writes
	PatchSchedules(ctx context.Context, in *schedwrite.Input, extra ...datly.OperateOption) (*schedwrite.Output, error)
	PatchRuns(ctx context.Context, in *runwrite.Input, extra ...datly.OperateOption) (*runwrite.Output, error)

	// Single upserts (helpers)
	PatchSchedule(ctx context.Context, schedule *schedwrite.Schedule) error
	PatchRun(ctx context.Context, run *runwrite.Run) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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