Documentation ¶
Overview ¶
Package sch helps with Google Cloud Scheduler
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobDeployment ¶
type JobDeployment struct { Core *deploy.Core Artifacts struct { JobName string `yaml:"jobName"` TopicName string `yaml:"topicName"` Schedule string } }
JobDeployment struct
func NewJobDeployment ¶
func NewJobDeployment() *JobDeployment
NewJobDeployment create deployment structure
func (*JobDeployment) Deploy ¶
func (jobDeployment *JobDeployment) Deploy() (err error)
Deploy scheduler job
type Parameters ¶
type Parameters struct { Schedulers map[string]struct { JobName string `yaml:"jobName"` Schedule string } }
Parameters structure
Click to show internal directories.
Click to hide internal directories.