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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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