workflows

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	Container interface{}        `yaml:"container,omitempty"`
	Steps     []Step             `yaml:"steps,omitempty"`
	Services  map[string]Service `yaml:"services,omitempty"`
}

type Service added in v0.2.0

type Service struct {
	Image string `yaml:"image"`
}

type Step

type Step struct {
	Uses string `yaml:"uses,omitempty"`
}

type WorkflowFile

type WorkflowFile struct {
	Jobs map[string]Job `yaml:"jobs,omitempty"`
}

type Workflows

type Workflows struct{}

Workflows is GitHub Actions Workflows file analyzer

func New

func New() *Workflows

func (*Workflows) Analyze

func (w *Workflows) Analyze(ctx context.Context, fsys fs.FS) ([]target.Target, error)

Jump to

Keyboard shortcuts

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