perceptor

package
v2.2.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Resty *resty.Client
	Host  string
	Port  int
}

Client .....

func NewClient

func NewClient(host string, port int) *Client

NewClient .....

func (*Client) Dump

func (pd *Client) Dump() (*Dump, error)

Dump .....

func (*Client) DumpModel

func (pd *Client) DumpModel() (*api.Model, error)

DumpModel .....

func (*Client) DumpScanResults

func (pd *Client) DumpScanResults() (*api.ScanResults, error)

DumpScanResults .....

type ClientInterface

type ClientInterface interface {
	Dump() (*Dump, error)
}

ClientInterface .....

type Dump

type Dump struct {
	ScanResults        *api.ScanResults
	Model              *api.Model
	PodsByName         map[string]*api.ScannedPod
	DuplicatePodNames  map[string]bool
	ImagesBySha        map[string]*api.ScannedImage
	DuplicateImageShas map[string]bool
}

Dump .....

func NewDump

func NewDump(scanResults *api.ScanResults, model *api.Model) *Dump

NewDump .....

Jump to

Keyboard shortcuts

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