client

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 11 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewProtobufClient added in v0.5.0

func NewProtobufClient(remoteURL RemoteURL) rpc.Scanner

func WithCustomHeaders added in v0.4.0

func WithCustomHeaders(ctx context.Context, customHeaders http.Header) context.Context

Types

type CustomHeaders added in v0.5.0

type CustomHeaders http.Header

type RemoteURL added in v0.5.0

type RemoteURL string

type Scanner added in v0.5.0

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

func NewScanner added in v0.5.0

func NewScanner(customHeaders CustomHeaders, s rpc.Scanner) Scanner

func (Scanner) Scan added in v0.5.0

func (s Scanner) Scan(target string, imageID string, layerIDs []string, options types.ScanOptions) (report.Results, *ftypes.OS, bool, error)

Jump to

Keyboard shortcuts

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