mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFilterer

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

MockFilterer is a mock of Filterer interface

func NewMockFilterer

func NewMockFilterer(ctrl *gomock.Controller) *MockFilterer

NewMockFilterer creates a new mock instance

func (*MockFilterer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockFilterer) ParseExpression

func (m *MockFilterer) ParseExpression(arg0 string) (*filtering.Query, error)

ParseExpression mocks base method

type MockFiltererMockRecorder

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

MockFiltererMockRecorder is the mock recorder for MockFilterer

func (*MockFiltererMockRecorder) ParseExpression

func (mr *MockFiltererMockRecorder) ParseExpression(arg0 interface{}) *gomock.Call

ParseExpression indicates an expected call of ParseExpression

type MockGrafeasClient

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

MockGrafeasClient is a mock of GrafeasV1Beta1Client interface

func NewMockGrafeasClient

func NewMockGrafeasClient(ctrl *gomock.Controller) *MockGrafeasClient

NewMockGrafeasClient creates a new mock instance

func (*MockGrafeasClient) BatchCreateNotes

BatchCreateNotes mocks base method

func (*MockGrafeasClient) BatchCreateOccurrences

BatchCreateOccurrences mocks base method

func (*MockGrafeasClient) CreateNote

CreateNote mocks base method

func (*MockGrafeasClient) CreateOccurrence

CreateOccurrence mocks base method

func (*MockGrafeasClient) DeleteNote

DeleteNote mocks base method

func (*MockGrafeasClient) DeleteOccurrence

DeleteOccurrence mocks base method

func (*MockGrafeasClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGrafeasClient) GetNote

GetNote mocks base method

func (*MockGrafeasClient) GetOccurrence

GetOccurrence mocks base method

func (*MockGrafeasClient) GetOccurrenceNote

GetOccurrenceNote mocks base method

func (*MockGrafeasClient) GetVulnerabilityOccurrencesSummary

GetVulnerabilityOccurrencesSummary mocks base method

func (*MockGrafeasClient) ListNoteOccurrences

ListNoteOccurrences mocks base method

func (*MockGrafeasClient) ListNotes

ListNotes mocks base method

func (*MockGrafeasClient) ListOccurrences

ListOccurrences mocks base method

func (*MockGrafeasClient) UpdateNote

UpdateNote mocks base method

func (*MockGrafeasClient) UpdateOccurrence

UpdateOccurrence mocks base method

type MockGrafeasClientMockRecorder

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

MockGrafeasClientMockRecorder is the mock recorder for MockGrafeasClient

func (*MockGrafeasClientMockRecorder) BatchCreateNotes

func (mr *MockGrafeasClientMockRecorder) BatchCreateNotes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

BatchCreateNotes indicates an expected call of BatchCreateNotes

func (*MockGrafeasClientMockRecorder) BatchCreateOccurrences

func (mr *MockGrafeasClientMockRecorder) BatchCreateOccurrences(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

BatchCreateOccurrences indicates an expected call of BatchCreateOccurrences

func (*MockGrafeasClientMockRecorder) CreateNote

func (mr *MockGrafeasClientMockRecorder) CreateNote(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateNote indicates an expected call of CreateNote

func (*MockGrafeasClientMockRecorder) CreateOccurrence

func (mr *MockGrafeasClientMockRecorder) CreateOccurrence(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateOccurrence indicates an expected call of CreateOccurrence

func (*MockGrafeasClientMockRecorder) DeleteNote

func (mr *MockGrafeasClientMockRecorder) DeleteNote(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeleteNote indicates an expected call of DeleteNote

func (*MockGrafeasClientMockRecorder) DeleteOccurrence

func (mr *MockGrafeasClientMockRecorder) DeleteOccurrence(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeleteOccurrence indicates an expected call of DeleteOccurrence

func (*MockGrafeasClientMockRecorder) GetNote

func (mr *MockGrafeasClientMockRecorder) GetNote(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetNote indicates an expected call of GetNote

func (*MockGrafeasClientMockRecorder) GetOccurrence

func (mr *MockGrafeasClientMockRecorder) GetOccurrence(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetOccurrence indicates an expected call of GetOccurrence

func (*MockGrafeasClientMockRecorder) GetOccurrenceNote

func (mr *MockGrafeasClientMockRecorder) GetOccurrenceNote(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetOccurrenceNote indicates an expected call of GetOccurrenceNote

func (*MockGrafeasClientMockRecorder) GetVulnerabilityOccurrencesSummary

func (mr *MockGrafeasClientMockRecorder) GetVulnerabilityOccurrencesSummary(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetVulnerabilityOccurrencesSummary indicates an expected call of GetVulnerabilityOccurrencesSummary

func (*MockGrafeasClientMockRecorder) ListNoteOccurrences

func (mr *MockGrafeasClientMockRecorder) ListNoteOccurrences(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListNoteOccurrences indicates an expected call of ListNoteOccurrences

func (*MockGrafeasClientMockRecorder) ListNotes

func (mr *MockGrafeasClientMockRecorder) ListNotes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListNotes indicates an expected call of ListNotes

func (*MockGrafeasClientMockRecorder) ListOccurrences

func (mr *MockGrafeasClientMockRecorder) ListOccurrences(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListOccurrences indicates an expected call of ListOccurrences

func (*MockGrafeasClientMockRecorder) UpdateNote

func (mr *MockGrafeasClientMockRecorder) UpdateNote(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UpdateNote indicates an expected call of UpdateNote

func (*MockGrafeasClientMockRecorder) UpdateOccurrence

func (mr *MockGrafeasClientMockRecorder) UpdateOccurrence(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UpdateOccurrence indicates an expected call of UpdateOccurrence

type MockGrafeasProjectsClient

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

MockGrafeasProjectsClient is a mock of ProjectsClient interface

func NewMockGrafeasProjectsClient

func NewMockGrafeasProjectsClient(ctrl *gomock.Controller) *MockGrafeasProjectsClient

NewMockGrafeasProjectsClient creates a new mock instance

func (*MockGrafeasProjectsClient) CreateProject

CreateProject mocks base method

func (*MockGrafeasProjectsClient) DeleteProject

DeleteProject mocks base method

func (*MockGrafeasProjectsClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGrafeasProjectsClient) GetProject

GetProject mocks base method

func (*MockGrafeasProjectsClient) ListProjects

ListProjects mocks base method

type MockGrafeasProjectsClientMockRecorder

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

MockGrafeasProjectsClientMockRecorder is the mock recorder for MockGrafeasProjectsClient

func (*MockGrafeasProjectsClientMockRecorder) CreateProject

func (mr *MockGrafeasProjectsClientMockRecorder) CreateProject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateProject indicates an expected call of CreateProject

func (*MockGrafeasProjectsClientMockRecorder) DeleteProject

func (mr *MockGrafeasProjectsClientMockRecorder) DeleteProject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeleteProject indicates an expected call of DeleteProject

func (*MockGrafeasProjectsClientMockRecorder) GetProject

func (mr *MockGrafeasProjectsClientMockRecorder) GetProject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetProject indicates an expected call of GetProject

func (*MockGrafeasProjectsClientMockRecorder) ListProjects

func (mr *MockGrafeasProjectsClientMockRecorder) ListProjects(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListProjects indicates an expected call of ListProjects

type MockOpaClient

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

MockOpaClient is a mock of Client interface

func NewMockOpaClient

func NewMockOpaClient(ctrl *gomock.Controller) *MockOpaClient

NewMockOpaClient creates a new mock instance

func (*MockOpaClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockOpaClient) EvaluatePolicy

func (m *MockOpaClient) EvaluatePolicy(arg0 string, arg1 []byte) (*opa.EvaluatePolicyResponse, error)

EvaluatePolicy mocks base method

func (*MockOpaClient) InitializePolicy

func (m *MockOpaClient) InitializePolicy(arg0 string) opa.ClientError

InitializePolicy mocks base method

type MockOpaClientMockRecorder

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

MockOpaClientMockRecorder is the mock recorder for MockOpaClient

func (*MockOpaClientMockRecorder) EvaluatePolicy

func (mr *MockOpaClientMockRecorder) EvaluatePolicy(arg0, arg1 interface{}) *gomock.Call

EvaluatePolicy indicates an expected call of EvaluatePolicy

func (*MockOpaClientMockRecorder) InitializePolicy

func (mr *MockOpaClientMockRecorder) InitializePolicy(arg0 interface{}) *gomock.Call

InitializePolicy indicates an expected call of InitializePolicy

Jump to

Keyboard shortcuts

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