Documentation ¶
Index ¶
- Constants
- func All(userInput string, cfg *Config) []collections.TaggedValue[source.Provider]
- type Config
- func (c *Config) WithAlias(alias source.Alias) *Config
- func (c *Config) WithBasePath(basePath string) *Config
- func (c *Config) WithDigestAlgorithms(algorithms ...crypto.Hash) *Config
- func (c *Config) WithExcludeConfig(excludeConfig source.ExcludeConfig) *Config
- func (c *Config) WithPlatform(platform *image.Platform) *Config
- func (c *Config) WithRegistryOptions(registryOptions *image.RegistryOptions) *Config
Constants ¶
View Source
const ( FileTag = stereoscope.FileTag DirTag = stereoscope.DirTag PullTag = stereoscope.PullTag )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Platform *image.Platform Alias source.Alias RegistryOptions *image.RegistryOptions Exclude source.ExcludeConfig DigestAlgorithms []crypto.Hash BasePath string }
Config is the uber-configuration for all Syft source providers
func DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) WithBasePath ¶
func (*Config) WithDigestAlgorithms ¶
func (*Config) WithExcludeConfig ¶
func (c *Config) WithExcludeConfig(excludeConfig source.ExcludeConfig) *Config
func (*Config) WithRegistryOptions ¶
func (c *Config) WithRegistryOptions(registryOptions *image.RegistryOptions) *Config
Click to show internal directories.
Click to hide internal directories.