job

package
v0.0.0-...-53bcd79 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeCommit  = "commit"
	TypeRelease = "release"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	Package      string   `attr:"package"`
	Name         string   `attr:"name"`
	Target       string   `attr:"target"`
	Targets      []string `attr:"targets"`
	Platforms    []string `attr:"platforms"`
	Command      string   `attr:"command"`
	AllRevision  bool     `attr:"all_revision"`
	GithubStatus bool     `attr:"github_status"`
	CPULimit     string   `attr:"cpu_limit"`
	MemoryLimit  string   `attr:"memory_limit"`
	Exclusive    bool     `attr:"exclusive"`
	ConfigName   string   `attr:"config_name"`
	Type         string   `attr:"type"`
	Schedule     string   `attr:"schedule"`
}

func (*Job) ZapFields

func (j *Job) ZapFields() []zap.Field

Jump to

Keyboard shortcuts

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