package models type Job struct { ID int64 AgentID string JobForInsert JobForUpdate } type JobForInsert struct { Command []string Stdin *string } type JobForUpdate struct { Stdout string Stderr string Status int32 }