ghscan

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ResultsDir string = "results"

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Results []Result `json:"results,omitempty"`
}

type Request

type Request struct {
	Cache         Cache
	CacheFile     string
	CachedResults map[string]bool
	Client        *github.Client
	EndTime       time.Time
	IOC           *ioc.IOC
	Owner         string
	RepoName      string
	StartTime     time.Time
	Timeout       time.Duration
	Token         string
	Workflows     []string
}

type Result

type Result struct {
	Base64Data       string `json:"base64_data,omitempty"`
	DecodedData      string `json:"decoded_data,omitempty"`
	LineData         string `json:"line_data,omitempty"`
	Repository       string `json:"repository,omitempty"`
	WorkflowFileName string `json:"workflow_file_name,omitempty"`
	WorkflowRunURL   string `json:"workflow_run_url,omitempty"`
	WorkflowURL      string `json:"workflow_url,omitempty"`
}

func (*Result) IsEmpty

func (r *Result) IsEmpty() bool

Jump to

Keyboard shortcuts

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