sigscan

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MediaTypeConfig       = "application/vnd.docker.container.image.v1+json"
	MediaTypeManifestList = "application/vnd.docker.distribution.manifest.list.v2+json"
	MediaTypeManifest     = "application/vnd.docker.distribution.manifest.v2+json"
	MediaTypeForeignLayer = "application/vnd.docker.image.rootfs.foreign.diff.tar.gzip"
)

Variables

This section is empty.

Functions

func DefaultRegistryClientOpts

func DefaultRegistryClientOpts(ctx context.Context) []remote.Option

func Execute

func Execute()

func NewRoot

func NewRoot(ctx context.Context) *cobra.Command

Types

type FSInspectOptions added in v0.2.0

type FSInspectOptions struct {
	Dir string
}

type Info

type Info struct {
	GoVer      string           `json:"goVersion"`       // go version
	GoCompiler string           `json:"goCompiler"`      // go compiler
	Platform   string           `json:"platform"`        // os/arch
	VCSCommit  string           `json:"vcsCommit"`       // commit sha
	VCSDate    string           `json:"vcsDate"`         // commit date in RFC3339 format
	VCSRef     string           `json:"vcsRef"`          // commit sha + dirty if state is not clean
	VCSState   string           `json:"vcsState"`        // clean or dirty
	VCSTag     string           `json:"-"`               // tag is not available from Go
	Debug      *debug.BuildInfo `json:"debug,omitempty"` // build info debugging data
}

func GetInfo

func GetInfo() Info

type RepoInspectOptions added in v0.2.0

type RepoInspectOptions struct {
	Username     string
	Password     string
	AccessToken  string
	Insecure     bool // HTTP vs HTTPS
	Organization string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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