Documentation ¶
Index ¶
- type JobGraph
- func (g *JobGraph) AddEdge(start string, end string)
- func (g *JobGraph) AddJob(pipeline gitlab.Pipeline, job gitlab.Job)
- func (g *JobGraph) GetDependencies(job string) []string
- func (g *JobGraph) GetJob(job string) (gitlab.Job, error)
- func (g *JobGraph) HasDependency(dependency string, job string) bool
- func (g *JobGraph) HasJob(job string) bool
- func (g *JobGraph) New(pipeline gitlab.Pipeline, variables map[string]string) error
- func (g JobGraph) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobGraph ¶
type JobGraph struct {
// contains filtered or unexported fields
}
func (*JobGraph) GetDependencies ¶
Get all direct and indirect dependencies for a given job
func (*JobGraph) HasDependency ¶
Checks if a job has a (indirect) dependency on the given dependency
Click to show internal directories.
Click to hide internal directories.