sch

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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