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
}
Click to show internal directories.
Click to hide internal directories.