Documentation
¶
Index ¶
- Constants
- func FormatAliases(ids ...sbom.FormatID) (aliases []string)
- func IsVerbose(app *config.Application) (result bool)
- func MakeWriter(outputs []string, defaultFile, templateFilePath string) (sbom.Writer, error)
- type AttestOptions
- type FulcioOptions
- type Interface
- type OIDCOptions
- type PackagesOptions
- type RekorOptions
- type RootOptions
- type VersionOptions
Constants ¶
View Source
const DefaultOIDCIssuerURL = "https://oauth2.sigstore.dev/auth"
View Source
const DefaultRekorURL = "https://rekor.sigstore.dev"
Variables ¶
This section is empty.
Functions ¶
func FormatAliases ¶
func IsVerbose ¶
func IsVerbose(app *config.Application) (result bool)
func MakeWriter ¶
makeWriter creates a sbom.Writer for output or returns an error. this will either return a valid writer or an error but neither both and if there is no error, sbom.Writer.Close() should be called
Types ¶
type AttestOptions ¶
type AttestOptions struct { Key string Cert string CertChain string NoUpload bool Force bool Recursive bool Rekor RekorOptions Fulcio FulcioOptions OIDC OIDCOptions }
type FulcioOptions ¶
FulcioOptions is the wrapper for Fulcio related options.
type OIDCOptions ¶
OIDCOptions is the wrapper for OIDC related options.
type PackagesOptions ¶
type RekorOptions ¶
type RekorOptions struct {
URL string
}
RekorOptions is the wrapper for Rekor related options.
type RootOptions ¶
Click to show internal directories.
Click to hide internal directories.