trivyfakes

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCommandWrapper

type FakeCommandWrapper struct {
	ScanStub func(string) (*trivy.ScanOutput, error)

	VersionStub func() (*trivy.Version, error)
	// contains filtered or unexported fields
}

func (*FakeCommandWrapper) Invocations

func (fake *FakeCommandWrapper) Invocations() map[string][][]interface{}

func (*FakeCommandWrapper) Scan

func (fake *FakeCommandWrapper) Scan(arg1 string) (*trivy.ScanOutput, error)

func (*FakeCommandWrapper) ScanArgsForCall

func (fake *FakeCommandWrapper) ScanArgsForCall(i int) string

func (*FakeCommandWrapper) ScanCallCount

func (fake *FakeCommandWrapper) ScanCallCount() int

func (*FakeCommandWrapper) ScanCalls

func (fake *FakeCommandWrapper) ScanCalls(stub func(string) (*trivy.ScanOutput, error))

func (*FakeCommandWrapper) ScanReturns

func (fake *FakeCommandWrapper) ScanReturns(result1 *trivy.ScanOutput, result2 error)

func (*FakeCommandWrapper) ScanReturnsOnCall

func (fake *FakeCommandWrapper) ScanReturnsOnCall(i int, result1 *trivy.ScanOutput, result2 error)

func (*FakeCommandWrapper) Version

func (fake *FakeCommandWrapper) Version() (*trivy.Version, error)

func (*FakeCommandWrapper) VersionCallCount

func (fake *FakeCommandWrapper) VersionCallCount() int

func (*FakeCommandWrapper) VersionCalls

func (fake *FakeCommandWrapper) VersionCalls(stub func() (*trivy.Version, error))

func (*FakeCommandWrapper) VersionReturns

func (fake *FakeCommandWrapper) VersionReturns(result1 *trivy.Version, result2 error)

func (*FakeCommandWrapper) VersionReturnsOnCall

func (fake *FakeCommandWrapper) VersionReturnsOnCall(i int, result1 *trivy.Version, result2 error)

Jump to

Keyboard shortcuts

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