jobs

package
v0.0.0-...-4d712e3 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FolderDefinition

type FolderDefinition struct {
	XMLName     xml.Name `xml:"com.cloudbees.hudson.plugins.folder.Folder"`
	Description string   `xml:"description"`
	DisplayName string   `xml:"displayName"`
}

type Job

type Job struct {
	Name        string
	Description string
	Status      string
	Script      string
	IsDir       bool
}

type JobDatabase

type JobDatabase struct {
	// contains filtered or unexported fields
}

func GetInstance

func GetInstance() *JobDatabase

func (*JobDatabase) ListJobs

func (jdb *JobDatabase) ListJobs(jobPath string) []*Job

func (*JobDatabase) LoadJobs

func (jdb *JobDatabase) LoadJobs() ([]*Job, error)

type JobDefinition

type JobDefinition struct {
	XMLName   xml.Name `xml:"definition"`
	JobScript string   `xml:"script"`
}

type WorkflowDefinition

type WorkflowDefinition struct {
	XMLName       xml.Name      `xml:"flow-definition"`
	Description   string        `xml:"description"`
	JobDefinition JobDefinition `xml:"definition"`
	Disabled      bool          `xml:"disabled"`
}

Jump to

Keyboard shortcuts

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