Documentation
¶
Overview ¶
Package mock_integration_rest is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Authenticate(arg0, arg1 string) error
- func (m *MockClient) CreateScanReport(arg0 int, arg1 string, arg2 rest.Retry) ([]byte, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetConfigurationsKeys() (*rest.EngineKeysConfigMapping, error)
- func (m *MockClient) GetEngineConfigurationMappings() ([]byte, error)
- func (m *MockClient) GetEngineConfigurations(arg0 int) ([]byte, error)
- func (m *MockClient) GetEngineServers() ([]*rest.EngineServer, error)
- func (m *MockClient) GetLdapRoleMappings() ([]byte, error)
- func (m *MockClient) GetLdapServers() ([]byte, error)
- func (m *MockClient) GetLdapTeamMappings() ([]byte, error)
- func (m *MockClient) GetPresets() ([]*rest.PresetShort, error)
- func (m *MockClient) GetProjectExcludeSettings(arg0 int) (*rest.ProjectExcludeSettings, error)
- func (m *MockClient) GetProjects(arg0, arg1, arg2 string, arg3, arg4 int) ([]*rest.Project, error)
- func (m *MockClient) GetProjectsWithLastScanID(arg0, arg1, arg2 string, arg3, arg4 int) (*[]rest.ProjectWithLastScanID, error)
- func (m *MockClient) GetRoles() ([]byte, error)
- func (m *MockClient) GetSamlIdentityProviders() ([]byte, error)
- func (m *MockClient) GetSamlRoleMappings() ([]byte, error)
- func (m *MockClient) GetSamlTeamMappings() ([]*rest.SamlTeamMapping, error)
- func (m *MockClient) GetTeams() ([]*rest.Team, error)
- func (m *MockClient) GetTriagedResultsByScanID(arg0 int) (*[]rest.TriagedScanResult, error)
- func (m *MockClient) GetUsers() ([]*rest.User, error)
- func (m *MockClient) PostResponseBody(arg0 string, arg1 io.Reader) ([]byte, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Authenticate(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) CreateScanReport(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetConfigurationsKeys() *gomock.Call
- func (mr *MockClientMockRecorder) GetEngineConfigurationMappings() *gomock.Call
- func (mr *MockClientMockRecorder) GetEngineConfigurations(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetEngineServers() *gomock.Call
- func (mr *MockClientMockRecorder) GetLdapRoleMappings() *gomock.Call
- func (mr *MockClientMockRecorder) GetLdapServers() *gomock.Call
- func (mr *MockClientMockRecorder) GetLdapTeamMappings() *gomock.Call
- func (mr *MockClientMockRecorder) GetPresets() *gomock.Call
- func (mr *MockClientMockRecorder) GetProjectExcludeSettings(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetProjects(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetProjectsWithLastScanID(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetRoles() *gomock.Call
- func (mr *MockClientMockRecorder) GetSamlIdentityProviders() *gomock.Call
- func (mr *MockClientMockRecorder) GetSamlRoleMappings() *gomock.Call
- func (mr *MockClientMockRecorder) GetSamlTeamMappings() *gomock.Call
- func (mr *MockClientMockRecorder) GetTeams() *gomock.Call
- func (mr *MockClientMockRecorder) GetTriagedResultsByScanID(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetUsers() *gomock.Call
- func (mr *MockClientMockRecorder) PostResponseBody(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) Authenticate ¶
func (m *MockClient) Authenticate(arg0, arg1 string) error
Authenticate mocks base method.
func (*MockClient) CreateScanReport ¶
CreateScanReport mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetConfigurationsKeys ¶ added in v1.8.0
func (m *MockClient) GetConfigurationsKeys() (*rest.EngineKeysConfigMapping, error)
GetConfigurationsKeys mocks base method.
func (*MockClient) GetEngineConfigurationMappings ¶ added in v1.7.0
func (m *MockClient) GetEngineConfigurationMappings() ([]byte, error)
GetEngineConfigurationMappings mocks base method.
func (*MockClient) GetEngineConfigurations ¶ added in v1.7.0
func (m *MockClient) GetEngineConfigurations(arg0 int) ([]byte, error)
GetEngineConfigurations mocks base method.
func (*MockClient) GetEngineServers ¶ added in v1.2.0
func (m *MockClient) GetEngineServers() ([]*rest.EngineServer, error)
GetEngineServers mocks base method.
func (*MockClient) GetLdapRoleMappings ¶
func (m *MockClient) GetLdapRoleMappings() ([]byte, error)
GetLdapRoleMappings mocks base method.
func (*MockClient) GetLdapServers ¶
func (m *MockClient) GetLdapServers() ([]byte, error)
GetLdapServers mocks base method.
func (*MockClient) GetLdapTeamMappings ¶
func (m *MockClient) GetLdapTeamMappings() ([]byte, error)
GetLdapTeamMappings mocks base method.
func (*MockClient) GetPresets ¶ added in v1.0.4
func (m *MockClient) GetPresets() ([]*rest.PresetShort, error)
GetPresets mocks base method.
func (*MockClient) GetProjectExcludeSettings ¶ added in v1.9.1
func (m *MockClient) GetProjectExcludeSettings(arg0 int) (*rest.ProjectExcludeSettings, error)
GetProjectExcludeSettings mocks base method.
func (*MockClient) GetProjects ¶ added in v1.0.4
GetProjects mocks base method.
func (*MockClient) GetProjectsWithLastScanID ¶
func (m *MockClient) GetProjectsWithLastScanID(arg0, arg1, arg2 string, arg3, arg4 int) (*[]rest.ProjectWithLastScanID, error)
GetProjectsWithLastScanID mocks base method.
func (*MockClient) GetRoles ¶
func (m *MockClient) GetRoles() ([]byte, error)
GetRoles mocks base method.
func (*MockClient) GetSamlIdentityProviders ¶
func (m *MockClient) GetSamlIdentityProviders() ([]byte, error)
GetSamlIdentityProviders mocks base method.
func (*MockClient) GetSamlRoleMappings ¶
func (m *MockClient) GetSamlRoleMappings() ([]byte, error)
GetSamlRoleMappings mocks base method.
func (*MockClient) GetSamlTeamMappings ¶
func (m *MockClient) GetSamlTeamMappings() ([]*rest.SamlTeamMapping, error)
GetSamlTeamMappings mocks base method.
func (*MockClient) GetTeams ¶
func (m *MockClient) GetTeams() ([]*rest.Team, error)
GetTeams mocks base method.
func (*MockClient) GetTriagedResultsByScanID ¶
func (m *MockClient) GetTriagedResultsByScanID(arg0 int) (*[]rest.TriagedScanResult, error)
GetTriagedResultsByScanID mocks base method.
func (*MockClient) GetUsers ¶
func (m *MockClient) GetUsers() ([]*rest.User, error)
GetUsers mocks base method.
func (*MockClient) PostResponseBody ¶
PostResponseBody mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Authenticate ¶
func (mr *MockClientMockRecorder) Authenticate(arg0, arg1 any) *gomock.Call
Authenticate indicates an expected call of Authenticate.
func (*MockClientMockRecorder) CreateScanReport ¶
func (mr *MockClientMockRecorder) CreateScanReport(arg0, arg1, arg2 any) *gomock.Call
CreateScanReport indicates an expected call of CreateScanReport.
func (*MockClientMockRecorder) GetConfigurationsKeys ¶ added in v1.8.0
func (mr *MockClientMockRecorder) GetConfigurationsKeys() *gomock.Call
GetConfigurationsKeys indicates an expected call of GetConfigurationsKeys.
func (*MockClientMockRecorder) GetEngineConfigurationMappings ¶ added in v1.7.0
func (mr *MockClientMockRecorder) GetEngineConfigurationMappings() *gomock.Call
GetEngineConfigurationMappings indicates an expected call of GetEngineConfigurationMappings.
func (*MockClientMockRecorder) GetEngineConfigurations ¶ added in v1.7.0
func (mr *MockClientMockRecorder) GetEngineConfigurations(arg0 any) *gomock.Call
GetEngineConfigurations indicates an expected call of GetEngineConfigurations.
func (*MockClientMockRecorder) GetEngineServers ¶ added in v1.2.0
func (mr *MockClientMockRecorder) GetEngineServers() *gomock.Call
GetEngineServers indicates an expected call of GetEngineServers.
func (*MockClientMockRecorder) GetLdapRoleMappings ¶
func (mr *MockClientMockRecorder) GetLdapRoleMappings() *gomock.Call
GetLdapRoleMappings indicates an expected call of GetLdapRoleMappings.
func (*MockClientMockRecorder) GetLdapServers ¶
func (mr *MockClientMockRecorder) GetLdapServers() *gomock.Call
GetLdapServers indicates an expected call of GetLdapServers.
func (*MockClientMockRecorder) GetLdapTeamMappings ¶
func (mr *MockClientMockRecorder) GetLdapTeamMappings() *gomock.Call
GetLdapTeamMappings indicates an expected call of GetLdapTeamMappings.
func (*MockClientMockRecorder) GetPresets ¶ added in v1.0.4
func (mr *MockClientMockRecorder) GetPresets() *gomock.Call
GetPresets indicates an expected call of GetPresets.
func (*MockClientMockRecorder) GetProjectExcludeSettings ¶ added in v1.9.1
func (mr *MockClientMockRecorder) GetProjectExcludeSettings(arg0 any) *gomock.Call
GetProjectExcludeSettings indicates an expected call of GetProjectExcludeSettings.
func (*MockClientMockRecorder) GetProjects ¶ added in v1.0.4
func (mr *MockClientMockRecorder) GetProjects(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
GetProjects indicates an expected call of GetProjects.
func (*MockClientMockRecorder) GetProjectsWithLastScanID ¶
func (mr *MockClientMockRecorder) GetProjectsWithLastScanID(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
GetProjectsWithLastScanID indicates an expected call of GetProjectsWithLastScanID.
func (*MockClientMockRecorder) GetRoles ¶
func (mr *MockClientMockRecorder) GetRoles() *gomock.Call
GetRoles indicates an expected call of GetRoles.
func (*MockClientMockRecorder) GetSamlIdentityProviders ¶
func (mr *MockClientMockRecorder) GetSamlIdentityProviders() *gomock.Call
GetSamlIdentityProviders indicates an expected call of GetSamlIdentityProviders.
func (*MockClientMockRecorder) GetSamlRoleMappings ¶
func (mr *MockClientMockRecorder) GetSamlRoleMappings() *gomock.Call
GetSamlRoleMappings indicates an expected call of GetSamlRoleMappings.
func (*MockClientMockRecorder) GetSamlTeamMappings ¶
func (mr *MockClientMockRecorder) GetSamlTeamMappings() *gomock.Call
GetSamlTeamMappings indicates an expected call of GetSamlTeamMappings.
func (*MockClientMockRecorder) GetTeams ¶
func (mr *MockClientMockRecorder) GetTeams() *gomock.Call
GetTeams indicates an expected call of GetTeams.
func (*MockClientMockRecorder) GetTriagedResultsByScanID ¶
func (mr *MockClientMockRecorder) GetTriagedResultsByScanID(arg0 any) *gomock.Call
GetTriagedResultsByScanID indicates an expected call of GetTriagedResultsByScanID.
func (*MockClientMockRecorder) GetUsers ¶
func (mr *MockClientMockRecorder) GetUsers() *gomock.Call
GetUsers indicates an expected call of GetUsers.
func (*MockClientMockRecorder) PostResponseBody ¶
func (mr *MockClientMockRecorder) PostResponseBody(arg0, arg1 any) *gomock.Call
PostResponseBody indicates an expected call of PostResponseBody.