mocks

package
v0.0.0-...-470703e Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 7 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApiClient

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

MockApiClient is a mock of ApiClient interface.

func NewMockApiClient

func NewMockApiClient(ctrl *gomock.Controller) *MockApiClient

NewMockApiClient creates a new mock instance.

func (*MockApiClient) EXPECT

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

func (*MockApiClient) GetDefaultOrgId

func (m *MockApiClient) GetDefaultOrgId() (string, error)

GetDefaultOrgId mocks base method.

func (*MockApiClient) GetFeatureFlag

func (m *MockApiClient) GetFeatureFlag(flagname, origId string) (bool, error)

GetFeatureFlag mocks base method.

func (*MockApiClient) GetOrgIdFromSlug

func (m *MockApiClient) GetOrgIdFromSlug(slugName string) (string, error)

GetOrgIdFromSlug mocks base method.

func (*MockApiClient) GetSastSettings

func (m *MockApiClient) GetSastSettings(orgId string) (contract.SastResponse, error)

GetSastSettings mocks base method.

func (*MockApiClient) GetSelf

func (m *MockApiClient) GetSelf() (contract.SelfResponse, error)

GetSelf mocks base method.

func (*MockApiClient) GetSlugFromOrgId

func (m *MockApiClient) GetSlugFromOrgId(orgID string) (string, error)

GetSlugFromOrgId mocks base method.

func (*MockApiClient) GetUserMe

func (m *MockApiClient) GetUserMe() (string, error)

GetUserMe mocks base method.

func (*MockApiClient) Init

func (m *MockApiClient) Init(url string, client *http.Client)

Init mocks base method.

type MockApiClientMockRecorder

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

MockApiClientMockRecorder is the mock recorder for MockApiClient.

func (*MockApiClientMockRecorder) GetDefaultOrgId

func (mr *MockApiClientMockRecorder) GetDefaultOrgId() *gomock.Call

GetDefaultOrgId indicates an expected call of GetDefaultOrgId.

func (*MockApiClientMockRecorder) GetFeatureFlag

func (mr *MockApiClientMockRecorder) GetFeatureFlag(flagname, origId interface{}) *gomock.Call

GetFeatureFlag indicates an expected call of GetFeatureFlag.

func (*MockApiClientMockRecorder) GetOrgIdFromSlug

func (mr *MockApiClientMockRecorder) GetOrgIdFromSlug(slugName interface{}) *gomock.Call

GetOrgIdFromSlug indicates an expected call of GetOrgIdFromSlug.

func (*MockApiClientMockRecorder) GetSastSettings

func (mr *MockApiClientMockRecorder) GetSastSettings(orgId interface{}) *gomock.Call

GetSastSettings indicates an expected call of GetSastSettings.

func (*MockApiClientMockRecorder) GetSelf

func (mr *MockApiClientMockRecorder) GetSelf() *gomock.Call

GetSelf indicates an expected call of GetSelf.

func (*MockApiClientMockRecorder) GetSlugFromOrgId

func (mr *MockApiClientMockRecorder) GetSlugFromOrgId(orgID interface{}) *gomock.Call

GetSlugFromOrgId indicates an expected call of GetSlugFromOrgId.

func (*MockApiClientMockRecorder) GetUserMe

func (mr *MockApiClientMockRecorder) GetUserMe() *gomock.Call

GetUserMe indicates an expected call of GetUserMe.

func (*MockApiClientMockRecorder) Init

func (mr *MockApiClientMockRecorder) Init(url, client interface{}) *gomock.Call

Init indicates an expected call of Init.

type MockOutputDestination

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

MockOutputDestination is a mock of OutputDestination interface.

func NewMockOutputDestination

func NewMockOutputDestination(ctrl *gomock.Controller) *MockOutputDestination

NewMockOutputDestination creates a new mock instance.

func (*MockOutputDestination) EXPECT

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

func (*MockOutputDestination) GetWriter

func (m *MockOutputDestination) GetWriter() io.Writer

GetWriter mocks base method.

func (*MockOutputDestination) Println

func (m *MockOutputDestination) Println(a ...any) (int, error)

Println mocks base method.

func (*MockOutputDestination) Remove

func (m *MockOutputDestination) Remove(name string) error

Remove mocks base method.

func (*MockOutputDestination) WriteFile

func (m *MockOutputDestination) WriteFile(filename string, data []byte, perm fs.FileMode) error

WriteFile mocks base method.

type MockOutputDestinationMockRecorder

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

MockOutputDestinationMockRecorder is the mock recorder for MockOutputDestination.

func (*MockOutputDestinationMockRecorder) GetWriter

GetWriter indicates an expected call of GetWriter.

func (*MockOutputDestinationMockRecorder) Println

func (mr *MockOutputDestinationMockRecorder) Println(a ...interface{}) *gomock.Call

Println indicates an expected call of Println.

func (*MockOutputDestinationMockRecorder) Remove

func (mr *MockOutputDestinationMockRecorder) Remove(name interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockOutputDestinationMockRecorder) WriteFile

func (mr *MockOutputDestinationMockRecorder) WriteFile(filename, data, perm interface{}) *gomock.Call

WriteFile indicates an expected call of WriteFile.

type MockSnykOSUtil

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

MockSnykOSUtil is a mock of SnykOSUtil interface.

func NewMockSnykOSUtil

func NewMockSnykOSUtil(ctrl *gomock.Controller) *MockSnykOSUtil

NewMockSnykOSUtil creates a new mock instance.

func (*MockSnykOSUtil) EXPECT

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

func (*MockSnykOSUtil) MkdirAll

func (m *MockSnykOSUtil) MkdirAll(path string, perm os.FileMode) error

MkdirAll mocks base method.

func (*MockSnykOSUtil) Stat

func (m *MockSnykOSUtil) Stat(name string) (os.FileInfo, error)

Stat mocks base method.

func (*MockSnykOSUtil) TempDir

func (m *MockSnykOSUtil) TempDir() string

TempDir mocks base method.

func (*MockSnykOSUtil) UserCacheDir

func (m *MockSnykOSUtil) UserCacheDir() (string, error)

UserCacheDir mocks base method.

type MockSnykOSUtilMockRecorder

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

MockSnykOSUtilMockRecorder is the mock recorder for MockSnykOSUtil.

func (*MockSnykOSUtilMockRecorder) MkdirAll

func (mr *MockSnykOSUtilMockRecorder) MkdirAll(path, perm interface{}) *gomock.Call

MkdirAll indicates an expected call of MkdirAll.

func (*MockSnykOSUtilMockRecorder) Stat

func (mr *MockSnykOSUtilMockRecorder) Stat(name interface{}) *gomock.Call

Stat indicates an expected call of Stat.

func (*MockSnykOSUtilMockRecorder) TempDir

func (mr *MockSnykOSUtilMockRecorder) TempDir() *gomock.Call

TempDir indicates an expected call of TempDir.

func (*MockSnykOSUtilMockRecorder) UserCacheDir

func (mr *MockSnykOSUtilMockRecorder) UserCacheDir() *gomock.Call

UserCacheDir indicates an expected call of UserCacheDir.

Jump to

Keyboard shortcuts

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