Documentation
¶
Index ¶
- Constants
- func NewDeleteJobTool(cfg Config) (tool.Tool, error)
- func NewListJobsTool(cfg Config) (tool.Tool, error)
- func NewPauseJobTool(cfg Config) (tool.Tool, error)
- func NewResumeJobTool(cfg Config) (tool.Tool, error)
- func NewRunJobNowTool(cfg Config) (tool.Tool, error)
- func NewScheduleJobTool(cfg Config) (tool.Tool, error)
- func NewUpdateJobTool(cfg Config) (tool.Tool, error)
- type Config
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 ¶
NewDeleteJobTool returns the delete_job tool.
func NewListJobsTool ¶
NewListJobsTool returns the list_jobs tool.
func NewPauseJobTool ¶
NewPauseJobTool returns the pause_job tool.
func NewResumeJobTool ¶
NewResumeJobTool returns the resume_job tool.
func NewRunJobNowTool ¶
NewRunJobNowTool returns the run_job_now tool.
func NewScheduleJobTool ¶
NewScheduleJobTool returns the schedule_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.
Click to show internal directories.
Click to hide internal directories.