ci

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipeline

type Pipeline struct {
	Platform Platform
	ScanOnly bool
}

func Detect

func Detect() Pipeline

func (Pipeline) String

func (p Pipeline) String() string

type Platform

type Platform string
const (
	PlatformGitHubActions Platform = "github-actions"
	PlatformGitLabCI      Platform = "gitlab-ci"
	PlatformJenkins       Platform = "jenkins"
	PlatformCircleCI      Platform = "circleci"
	PlatformLocal         Platform = "local"
)

type Result

type Result struct {
	ScanResult  *types.ScanResult
	Passed      bool
	Message     string
	CommentSent bool
}

func Run

func Run(ctx context.Context, cfg *config.Config) (*Result, error)

Jump to

Keyboard shortcuts

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