external

package
v0.8.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

README

External Job Factory

Modify factory.go in this directory to link your jobs into Spin Cycle. If your jobs repo is located at github.com/user/jobs, then change only line

import myJobs "github.com/square/spincycle/job/internal"

to

import myJobs "github.com/user/jobs"

and rebuild Spin Cycle.

Documentation

Overview

Package external provides the hook for your job factory. See the source code for the single line to modify. After setting your job factory, Spin Cycle must be rebuilt.

Index

Constants

This section is empty.

Variables

View Source
var JobFactory job.Factory = myJobs.Factory // do not change

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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