automation

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ToolNameScheduleJob = "schedule_job"
	ToolNameListJobs    = "list_jobs"
	ToolNameUpdateJob   = "update_job"
	ToolNameDeleteJob   = "delete_job"
	ToolNamePauseJob    = "pause_job"
	ToolNameResumeJob   = "resume_job"
	ToolNameRunJobNow   = "run_job_now"
)
View Source
const (
	ToolDescScheduleJob = `` /* 544-byte string literal not displayed */

	ToolDescListJobs = `` /* 253-byte string literal not displayed */

	ToolDescUpdateJob = `` /* 332-byte string literal not displayed */

	ToolDescDeleteJob = `` /* 197-byte string literal not displayed */

	ToolDescPauseJob = `` /* 172-byte string literal not displayed */

	ToolDescResumeJob = `` /* 180-byte string literal not displayed */

	ToolDescRunJobNow = `` /* 262-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func NewDeleteJobTool

func NewDeleteJobTool(cfg Config) (tool.Tool, error)

NewDeleteJobTool returns the delete_job tool.

func NewListJobsTool

func NewListJobsTool(cfg Config) (tool.Tool, error)

NewListJobsTool returns the list_jobs tool.

func NewPauseJobTool

func NewPauseJobTool(cfg Config) (tool.Tool, error)

NewPauseJobTool returns the pause_job tool.

func NewResumeJobTool

func NewResumeJobTool(cfg Config) (tool.Tool, error)

NewResumeJobTool returns the resume_job tool.

func NewRunJobNowTool

func NewRunJobNowTool(cfg Config) (tool.Tool, error)

NewRunJobNowTool returns the run_job_now tool.

func NewScheduleJobTool

func NewScheduleJobTool(cfg Config) (tool.Tool, error)

NewScheduleJobTool returns the schedule_job tool.

func NewUpdateJobTool

func NewUpdateJobTool(cfg Config) (tool.Tool, error)

NewUpdateJobTool returns the update_job tool.

Types

type Config

type Config struct {
	ServiceURL string // base URL of seshat-automation daemon, e.g. "http://localhost:8090"
	APIKey     string // API key for daemon auth (AUTOMATION_API_KEY)
}

Config holds the runtime configuration for the automation tools.

Jump to

Keyboard shortcuts

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