anchore

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidBaseURLInput = errors.New("invalid base URL input")

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg Configuration) (*Client, error)

func (*Client) Import

func (c *Client) Import(ctx context.Context, cfg ImportConfig) error

type Configuration

type Configuration struct {
	BaseURL   string
	Username  string
	Password  string
	UserAgent string
}

type ImportConfig

type ImportConfig struct {
	ImageMetadata           image.Metadata
	SBOM                    sbom.SBOM
	Dockerfile              []byte
	OverwriteExistingUpload bool
	Timeout                 uint
}

Jump to

Keyboard shortcuts

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