anchore

package
v0.48.0 Latest Latest
Warning

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

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

Documentation

Overview

nolint:dupl

nolint: dupl

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

nolint:funlen

type Configuration

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

type ImportConfig added in v0.11.0

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