mocks

package
v5.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 40 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockArtifactClientService

type MockArtifactClientService struct {
	mock.Mock
}

MockArtifactClientService is an autogenerated mock type for the ClientService type

func NewMockArtifactClientService added in v5.1.0

func NewMockArtifactClientService(t mockConstructorTestingTNewMockArtifactClientService) *MockArtifactClientService

NewMockArtifactClientService creates a new instance of MockArtifactClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockArtifactClientService) AddLabel

AddLabel provides a mock function with given fields: params, authInfo

func (*MockArtifactClientService) CopyArtifact

CopyArtifact provides a mock function with given fields: params, authInfo

func (*MockArtifactClientService) CreateTag

CreateTag provides a mock function with given fields: params, authInfo

func (*MockArtifactClientService) DeleteArtifact

DeleteArtifact provides a mock function with given fields: params, authInfo

func (*MockArtifactClientService) DeleteTag

DeleteTag provides a mock function with given fields: params, authInfo

func (*MockArtifactClientService) GetAddition

GetAddition provides a mock function with given fields: params, authInfo

func (*MockArtifactClientService) GetArtifact

GetArtifact provides a mock function with given fields: params, authInfo

func (*MockArtifactClientService) GetVulnerabilitiesAddition

GetVulnerabilitiesAddition provides a mock function with given fields: params, authInfo

func (*MockArtifactClientService) ListAccessories added in v5.1.0

ListAccessories provides a mock function with given fields: params, authInfo

func (*MockArtifactClientService) ListArtifacts

ListArtifacts provides a mock function with given fields: params, authInfo

func (*MockArtifactClientService) ListTags

ListTags provides a mock function with given fields: params, authInfo

func (*MockArtifactClientService) RemoveLabel

RemoveLabel provides a mock function with given fields: params, authInfo

func (*MockArtifactClientService) SetTransport

func (_m *MockArtifactClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

type MockAuditlogClientService

type MockAuditlogClientService struct {
	mock.Mock
}

MockAuditlogClientService is an autogenerated mock type for the ClientService type

func NewMockAuditlogClientService added in v5.1.0

func NewMockAuditlogClientService(t mockConstructorTestingTNewMockAuditlogClientService) *MockAuditlogClientService

NewMockAuditlogClientService creates a new instance of MockAuditlogClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockAuditlogClientService) ListAuditLogs

ListAuditLogs provides a mock function with given fields: params, authInfo

func (*MockAuditlogClientService) SetTransport

func (_m *MockAuditlogClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

type MockConfigureClientService

type MockConfigureClientService struct {
	mock.Mock
}

MockConfigureClientService is an autogenerated mock type for the ClientService type

func NewMockConfigureClientService added in v5.1.0

func NewMockConfigureClientService(t mockConstructorTestingTNewMockConfigureClientService) *MockConfigureClientService

NewMockConfigureClientService creates a new instance of MockConfigureClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockConfigureClientService) GetConfigurations

GetConfigurations provides a mock function with given fields: params, authInfo

func (*MockConfigureClientService) GetInternalconfig

GetInternalconfig provides a mock function with given fields: params, authInfo

func (*MockConfigureClientService) SetTransport

func (_m *MockConfigureClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockConfigureClientService) UpdateConfigurations

UpdateConfigurations provides a mock function with given fields: params, authInfo

type MockGcClientService

type MockGcClientService struct {
	mock.Mock
}

MockGcClientService is an autogenerated mock type for the ClientService type

func NewMockGcClientService added in v5.1.0

func NewMockGcClientService(t mockConstructorTestingTNewMockGcClientService) *MockGcClientService

NewMockGcClientService creates a new instance of MockGcClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockGcClientService) CreateGCSchedule

CreateGCSchedule provides a mock function with given fields: params, authInfo

func (*MockGcClientService) GetGC

func (_m *MockGcClientService) GetGC(params *gc.GetGCParams, authInfo runtime.ClientAuthInfoWriter) (*gc.GetGCOK, error)

GetGC provides a mock function with given fields: params, authInfo

func (*MockGcClientService) GetGCHistory

GetGCHistory provides a mock function with given fields: params, authInfo

func (*MockGcClientService) GetGCLog

GetGCLog provides a mock function with given fields: params, authInfo

func (*MockGcClientService) GetGCSchedule

GetGCSchedule provides a mock function with given fields: params, authInfo

func (*MockGcClientService) SetTransport

func (_m *MockGcClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockGcClientService) StopGC added in v5.2.0

func (_m *MockGcClientService) StopGC(params *gc.StopGCParams, authInfo runtime.ClientAuthInfoWriter) (*gc.StopGCOK, error)

StopGC provides a mock function with given fields: params, authInfo

func (*MockGcClientService) UpdateGCSchedule

UpdateGCSchedule provides a mock function with given fields: params, authInfo

type MockHealthClientService

type MockHealthClientService struct {
	mock.Mock
}

MockHealthClientService is an autogenerated mock type for the ClientService type

func NewMockHealthClientService added in v5.1.0

func NewMockHealthClientService(t mockConstructorTestingTNewMockHealthClientService) *MockHealthClientService

NewMockHealthClientService creates a new instance of MockHealthClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockHealthClientService) GetHealth

GetHealth provides a mock function with given fields: params, authInfo

func (*MockHealthClientService) SetTransport

func (_m *MockHealthClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

type MockIconClientService

type MockIconClientService struct {
	mock.Mock
}

MockIconClientService is an autogenerated mock type for the ClientService type

func NewMockIconClientService added in v5.1.0

func NewMockIconClientService(t mockConstructorTestingTNewMockIconClientService) *MockIconClientService

NewMockIconClientService creates a new instance of MockIconClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockIconClientService) GetIcon

GetIcon provides a mock function with given fields: params, authInfo

func (*MockIconClientService) SetTransport

func (_m *MockIconClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

type MockImmutableClientService

type MockImmutableClientService struct {
	mock.Mock
}

MockImmutableClientService is an autogenerated mock type for the ClientService type

func NewMockImmutableClientService added in v5.1.0

func NewMockImmutableClientService(t mockConstructorTestingTNewMockImmutableClientService) *MockImmutableClientService

NewMockImmutableClientService creates a new instance of MockImmutableClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockImmutableClientService) CreateImmuRule

CreateImmuRule provides a mock function with given fields: params, authInfo

func (*MockImmutableClientService) DeleteImmuRule

DeleteImmuRule provides a mock function with given fields: params, authInfo

func (*MockImmutableClientService) ListImmuRules

ListImmuRules provides a mock function with given fields: params, authInfo

func (*MockImmutableClientService) SetTransport

func (_m *MockImmutableClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockImmutableClientService) UpdateImmuRule

UpdateImmuRule provides a mock function with given fields: params, authInfo

type MockJobserviceClientService added in v5.2.0

type MockJobserviceClientService struct {
	mock.Mock
}

MockJobserviceClientService is an autogenerated mock type for the ClientService type

func NewMockJobserviceClientService added in v5.2.0

func NewMockJobserviceClientService(t mockConstructorTestingTNewMockJobserviceClientService) *MockJobserviceClientService

NewMockJobserviceClientService creates a new instance of MockJobserviceClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockJobserviceClientService) ActionGetJobLog added in v5.4.0

ActionGetJobLog provides a mock function with given fields: params, authInfo

func (*MockJobserviceClientService) ActionPendingJobs added in v5.2.0

ActionPendingJobs provides a mock function with given fields: params, authInfo

func (*MockJobserviceClientService) GetWorkerPools added in v5.2.0

GetWorkerPools provides a mock function with given fields: params, authInfo

func (*MockJobserviceClientService) GetWorkers added in v5.2.0

GetWorkers provides a mock function with given fields: params, authInfo

func (*MockJobserviceClientService) ListJobQueues added in v5.2.0

ListJobQueues provides a mock function with given fields: params, authInfo

func (*MockJobserviceClientService) SetTransport added in v5.2.0

func (_m *MockJobserviceClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockJobserviceClientService) StopRunningJob added in v5.2.0

StopRunningJob provides a mock function with given fields: params, authInfo

type MockLabelClientService

type MockLabelClientService struct {
	mock.Mock
}

MockLabelClientService is an autogenerated mock type for the ClientService type

func NewMockLabelClientService added in v5.1.0

func NewMockLabelClientService(t mockConstructorTestingTNewMockLabelClientService) *MockLabelClientService

NewMockLabelClientService creates a new instance of MockLabelClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockLabelClientService) CreateLabel

CreateLabel provides a mock function with given fields: params, authInfo

func (*MockLabelClientService) DeleteLabel

DeleteLabel provides a mock function with given fields: params, authInfo

func (*MockLabelClientService) GetLabelByID

GetLabelByID provides a mock function with given fields: params, authInfo

func (*MockLabelClientService) ListLabels

ListLabels provides a mock function with given fields: params, authInfo

func (*MockLabelClientService) SetTransport

func (_m *MockLabelClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockLabelClientService) UpdateLabel

UpdateLabel provides a mock function with given fields: params, authInfo

type MockLdapClientService

type MockLdapClientService struct {
	mock.Mock
}

MockLdapClientService is an autogenerated mock type for the ClientService type

func NewMockLdapClientService added in v5.1.0

func NewMockLdapClientService(t mockConstructorTestingTNewMockLdapClientService) *MockLdapClientService

NewMockLdapClientService creates a new instance of MockLdapClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockLdapClientService) ImportLdapUser

ImportLdapUser provides a mock function with given fields: params, authInfo

func (*MockLdapClientService) PingLdap

PingLdap provides a mock function with given fields: params, authInfo

func (*MockLdapClientService) SearchLdapGroup

SearchLdapGroup provides a mock function with given fields: params, authInfo

func (*MockLdapClientService) SearchLdapUser

SearchLdapUser provides a mock function with given fields: params, authInfo

func (*MockLdapClientService) SetTransport

func (_m *MockLdapClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

type MockMemberClientService

type MockMemberClientService struct {
	mock.Mock
}

MockMemberClientService is an autogenerated mock type for the ClientService type

func NewMockMemberClientService added in v5.1.0

func NewMockMemberClientService(t mockConstructorTestingTNewMockMemberClientService) *MockMemberClientService

NewMockMemberClientService creates a new instance of MockMemberClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockMemberClientService) CreateProjectMember

CreateProjectMember provides a mock function with given fields: params, authInfo

func (*MockMemberClientService) DeleteProjectMember

DeleteProjectMember provides a mock function with given fields: params, authInfo

func (*MockMemberClientService) GetProjectMember

GetProjectMember provides a mock function with given fields: params, authInfo

func (*MockMemberClientService) ListProjectMembers

ListProjectMembers provides a mock function with given fields: params, authInfo

func (*MockMemberClientService) SetTransport

func (_m *MockMemberClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockMemberClientService) UpdateProjectMember

UpdateProjectMember provides a mock function with given fields: params, authInfo

type MockOidcClientService

type MockOidcClientService struct {
	mock.Mock
}

MockOidcClientService is an autogenerated mock type for the ClientService type

func NewMockOidcClientService added in v5.1.0

func NewMockOidcClientService(t mockConstructorTestingTNewMockOidcClientService) *MockOidcClientService

NewMockOidcClientService creates a new instance of MockOidcClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockOidcClientService) PingOIDC

PingOIDC provides a mock function with given fields: params, authInfo

func (*MockOidcClientService) SetTransport

func (_m *MockOidcClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

type MockPingClientService

type MockPingClientService struct {
	mock.Mock
}

MockPingClientService is an autogenerated mock type for the ClientService type

func NewMockPingClientService added in v5.1.0

func NewMockPingClientService(t mockConstructorTestingTNewMockPingClientService) *MockPingClientService

NewMockPingClientService creates a new instance of MockPingClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockPingClientService) GetPing

GetPing provides a mock function with given fields: params, authInfo

func (*MockPingClientService) SetTransport

func (_m *MockPingClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

type MockPreheatClientService

type MockPreheatClientService struct {
	mock.Mock
}

MockPreheatClientService is an autogenerated mock type for the ClientService type

func NewMockPreheatClientService added in v5.1.0

func NewMockPreheatClientService(t mockConstructorTestingTNewMockPreheatClientService) *MockPreheatClientService

NewMockPreheatClientService creates a new instance of MockPreheatClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockPreheatClientService) CreateInstance

CreateInstance provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) CreatePolicy

CreatePolicy provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) DeleteInstance

DeleteInstance provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) DeletePolicy

DeletePolicy provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) GetExecution

GetExecution provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) GetInstance

GetInstance provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) GetPolicy

GetPolicy provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) GetPreheatLog

GetPreheatLog provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) ListExecutions

ListExecutions provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) ListInstances

ListInstances provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) ListPolicies

ListPolicies provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) ListProviders

ListProviders provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) ListProvidersUnderProject

ListProvidersUnderProject provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) ListTasks

ListTasks provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) ManualPreheat

ManualPreheat provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) PingInstances

PingInstances provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) SetTransport

func (_m *MockPreheatClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockPreheatClientService) StopExecution

StopExecution provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) UpdateInstance

UpdateInstance provides a mock function with given fields: params, authInfo

func (*MockPreheatClientService) UpdatePolicy

UpdatePolicy provides a mock function with given fields: params, authInfo

type MockProjectClientService

type MockProjectClientService struct {
	mock.Mock
}

MockProjectClientService is an autogenerated mock type for the ClientService type

func NewMockProjectClientService added in v5.1.0

func NewMockProjectClientService(t mockConstructorTestingTNewMockProjectClientService) *MockProjectClientService

NewMockProjectClientService creates a new instance of MockProjectClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockProjectClientService) CreateProject

CreateProject provides a mock function with given fields: params, authInfo

func (*MockProjectClientService) DeleteProject

DeleteProject provides a mock function with given fields: params, authInfo

func (*MockProjectClientService) GetLogs

GetLogs provides a mock function with given fields: params, authInfo

func (*MockProjectClientService) GetProject

GetProject provides a mock function with given fields: params, authInfo

func (*MockProjectClientService) GetProjectDeletable

GetProjectDeletable provides a mock function with given fields: params, authInfo

func (*MockProjectClientService) GetProjectSummary

GetProjectSummary provides a mock function with given fields: params, authInfo

func (*MockProjectClientService) GetScannerOfProject

GetScannerOfProject provides a mock function with given fields: params, authInfo

func (*MockProjectClientService) HeadProject

HeadProject provides a mock function with given fields: params, authInfo

func (*MockProjectClientService) ListProjects

ListProjects provides a mock function with given fields: params, authInfo

func (*MockProjectClientService) ListScannerCandidatesOfProject

ListScannerCandidatesOfProject provides a mock function with given fields: params, authInfo

func (*MockProjectClientService) SetScannerOfProject

SetScannerOfProject provides a mock function with given fields: params, authInfo

func (*MockProjectClientService) SetTransport

func (_m *MockProjectClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockProjectClientService) UpdateProject

UpdateProject provides a mock function with given fields: params, authInfo

type MockProject_metadataClientService

type MockProject_metadataClientService struct {
	mock.Mock
}

MockProject_metadataClientService is an autogenerated mock type for the ClientService type

func NewMockProject_metadataClientService added in v5.1.0

func NewMockProject_metadataClientService(t mockConstructorTestingTNewMockProject_metadataClientService) *MockProject_metadataClientService

NewMockProject_metadataClientService creates a new instance of MockProject_metadataClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockProject_metadataClientService) AddProjectMetadatas

AddProjectMetadatas provides a mock function with given fields: params, authInfo

func (*MockProject_metadataClientService) DeleteProjectMetadata

DeleteProjectMetadata provides a mock function with given fields: params, authInfo

func (*MockProject_metadataClientService) GetProjectMetadata

GetProjectMetadata provides a mock function with given fields: params, authInfo

func (*MockProject_metadataClientService) ListProjectMetadatas

ListProjectMetadatas provides a mock function with given fields: params, authInfo

func (*MockProject_metadataClientService) SetTransport

func (_m *MockProject_metadataClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockProject_metadataClientService) UpdateProjectMetadata

UpdateProjectMetadata provides a mock function with given fields: params, authInfo

type MockPurgeClientService added in v5.2.0

type MockPurgeClientService struct {
	mock.Mock
}

MockPurgeClientService is an autogenerated mock type for the ClientService type

func NewMockPurgeClientService added in v5.2.0

func NewMockPurgeClientService(t mockConstructorTestingTNewMockPurgeClientService) *MockPurgeClientService

NewMockPurgeClientService creates a new instance of MockPurgeClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockPurgeClientService) CreatePurgeSchedule added in v5.2.0

CreatePurgeSchedule provides a mock function with given fields: params, authInfo

func (*MockPurgeClientService) GetPurgeHistory added in v5.2.0

GetPurgeHistory provides a mock function with given fields: params, authInfo

func (*MockPurgeClientService) GetPurgeJob added in v5.2.0

GetPurgeJob provides a mock function with given fields: params, authInfo

func (*MockPurgeClientService) GetPurgeJobLog added in v5.2.0

GetPurgeJobLog provides a mock function with given fields: params, authInfo

func (*MockPurgeClientService) GetPurgeSchedule added in v5.2.0

GetPurgeSchedule provides a mock function with given fields: params, authInfo

func (*MockPurgeClientService) SetTransport added in v5.2.0

func (_m *MockPurgeClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockPurgeClientService) StopPurge added in v5.2.0

StopPurge provides a mock function with given fields: params, authInfo

func (*MockPurgeClientService) UpdatePurgeSchedule added in v5.2.0

UpdatePurgeSchedule provides a mock function with given fields: params, authInfo

type MockQuotaClientService

type MockQuotaClientService struct {
	mock.Mock
}

MockQuotaClientService is an autogenerated mock type for the ClientService type

func NewMockQuotaClientService added in v5.1.0

func NewMockQuotaClientService(t mockConstructorTestingTNewMockQuotaClientService) *MockQuotaClientService

NewMockQuotaClientService creates a new instance of MockQuotaClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockQuotaClientService) GetQuota

GetQuota provides a mock function with given fields: params, authInfo

func (*MockQuotaClientService) ListQuotas

ListQuotas provides a mock function with given fields: params, authInfo

func (*MockQuotaClientService) SetTransport

func (_m *MockQuotaClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockQuotaClientService) UpdateQuota

UpdateQuota provides a mock function with given fields: params, authInfo

type MockRegistryClientService

type MockRegistryClientService struct {
	mock.Mock
}

MockRegistryClientService is an autogenerated mock type for the ClientService type

func NewMockRegistryClientService added in v5.1.0

func NewMockRegistryClientService(t mockConstructorTestingTNewMockRegistryClientService) *MockRegistryClientService

NewMockRegistryClientService creates a new instance of MockRegistryClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockRegistryClientService) CreateRegistry

CreateRegistry provides a mock function with given fields: params, authInfo

func (*MockRegistryClientService) DeleteRegistry

DeleteRegistry provides a mock function with given fields: params, authInfo

func (*MockRegistryClientService) GetRegistry

GetRegistry provides a mock function with given fields: params, authInfo

func (*MockRegistryClientService) GetRegistryInfo

GetRegistryInfo provides a mock function with given fields: params, authInfo

func (*MockRegistryClientService) ListRegistries

ListRegistries provides a mock function with given fields: params, authInfo

func (*MockRegistryClientService) ListRegistryProviderInfos

ListRegistryProviderInfos provides a mock function with given fields: params, authInfo

func (*MockRegistryClientService) ListRegistryProviderTypes

ListRegistryProviderTypes provides a mock function with given fields: params, authInfo

func (*MockRegistryClientService) PingRegistry

PingRegistry provides a mock function with given fields: params, authInfo

func (*MockRegistryClientService) SetTransport

func (_m *MockRegistryClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockRegistryClientService) UpdateRegistry

UpdateRegistry provides a mock function with given fields: params, authInfo

type MockReplicationClientService

type MockReplicationClientService struct {
	mock.Mock
}

MockReplicationClientService is an autogenerated mock type for the ClientService type

func NewMockReplicationClientService added in v5.1.0

func NewMockReplicationClientService(t mockConstructorTestingTNewMockReplicationClientService) *MockReplicationClientService

NewMockReplicationClientService creates a new instance of MockReplicationClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockReplicationClientService) CreateReplicationPolicy

CreateReplicationPolicy provides a mock function with given fields: params, authInfo

func (*MockReplicationClientService) DeleteReplicationPolicy

DeleteReplicationPolicy provides a mock function with given fields: params, authInfo

func (*MockReplicationClientService) GetReplicationExecution

GetReplicationExecution provides a mock function with given fields: params, authInfo

func (*MockReplicationClientService) GetReplicationLog

GetReplicationLog provides a mock function with given fields: params, authInfo

func (*MockReplicationClientService) GetReplicationPolicy

GetReplicationPolicy provides a mock function with given fields: params, authInfo

func (*MockReplicationClientService) ListReplicationExecutions

ListReplicationExecutions provides a mock function with given fields: params, authInfo

func (*MockReplicationClientService) ListReplicationPolicies

ListReplicationPolicies provides a mock function with given fields: params, authInfo

func (*MockReplicationClientService) ListReplicationTasks

ListReplicationTasks provides a mock function with given fields: params, authInfo

func (*MockReplicationClientService) SetTransport

func (_m *MockReplicationClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockReplicationClientService) StartReplication

StartReplication provides a mock function with given fields: params, authInfo

func (*MockReplicationClientService) StopReplication

StopReplication provides a mock function with given fields: params, authInfo

func (*MockReplicationClientService) UpdateReplicationPolicy

UpdateReplicationPolicy provides a mock function with given fields: params, authInfo

type MockRepositoryClientService

type MockRepositoryClientService struct {
	mock.Mock
}

MockRepositoryClientService is an autogenerated mock type for the ClientService type

func NewMockRepositoryClientService added in v5.1.0

func NewMockRepositoryClientService(t mockConstructorTestingTNewMockRepositoryClientService) *MockRepositoryClientService

NewMockRepositoryClientService creates a new instance of MockRepositoryClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockRepositoryClientService) DeleteRepository

DeleteRepository provides a mock function with given fields: params, authInfo

func (*MockRepositoryClientService) GetRepository

GetRepository provides a mock function with given fields: params, authInfo

func (*MockRepositoryClientService) ListAllRepositories

ListAllRepositories provides a mock function with given fields: params, authInfo

func (*MockRepositoryClientService) ListRepositories

ListRepositories provides a mock function with given fields: params, authInfo

func (*MockRepositoryClientService) SetTransport

func (_m *MockRepositoryClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockRepositoryClientService) UpdateRepository

UpdateRepository provides a mock function with given fields: params, authInfo

type MockRetentionClientService

type MockRetentionClientService struct {
	mock.Mock
}

MockRetentionClientService is an autogenerated mock type for the ClientService type

func NewMockRetentionClientService added in v5.1.0

func NewMockRetentionClientService(t mockConstructorTestingTNewMockRetentionClientService) *MockRetentionClientService

NewMockRetentionClientService creates a new instance of MockRetentionClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockRetentionClientService) CreateRetention

CreateRetention provides a mock function with given fields: params, authInfo

func (*MockRetentionClientService) DeleteRetention

DeleteRetention provides a mock function with given fields: params, authInfo

func (*MockRetentionClientService) GetRentenitionMetadata

GetRentenitionMetadata provides a mock function with given fields: params, authInfo

func (*MockRetentionClientService) GetRetention

GetRetention provides a mock function with given fields: params, authInfo

func (*MockRetentionClientService) GetRetentionTaskLog

GetRetentionTaskLog provides a mock function with given fields: params, authInfo

func (*MockRetentionClientService) ListRetentionExecutions

ListRetentionExecutions provides a mock function with given fields: params, authInfo

func (*MockRetentionClientService) ListRetentionTasks

ListRetentionTasks provides a mock function with given fields: params, authInfo

func (*MockRetentionClientService) OperateRetentionExecution

OperateRetentionExecution provides a mock function with given fields: params, authInfo

func (*MockRetentionClientService) SetTransport

func (_m *MockRetentionClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockRetentionClientService) TriggerRetentionExecution

TriggerRetentionExecution provides a mock function with given fields: params, authInfo

func (*MockRetentionClientService) UpdateRetention

UpdateRetention provides a mock function with given fields: params, authInfo

type MockRobotClientService

type MockRobotClientService struct {
	mock.Mock
}

MockRobotClientService is an autogenerated mock type for the ClientService type

func NewMockRobotClientService added in v5.1.0

func NewMockRobotClientService(t mockConstructorTestingTNewMockRobotClientService) *MockRobotClientService

NewMockRobotClientService creates a new instance of MockRobotClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockRobotClientService) CreateRobot

CreateRobot provides a mock function with given fields: params, authInfo

func (*MockRobotClientService) DeleteRobot

DeleteRobot provides a mock function with given fields: params, authInfo

func (*MockRobotClientService) GetRobotByID

GetRobotByID provides a mock function with given fields: params, authInfo

func (*MockRobotClientService) ListRobot

ListRobot provides a mock function with given fields: params, authInfo

func (*MockRobotClientService) RefreshSec

RefreshSec provides a mock function with given fields: params, authInfo

func (*MockRobotClientService) SetTransport

func (_m *MockRobotClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockRobotClientService) UpdateRobot

UpdateRobot provides a mock function with given fields: params, authInfo

type MockRobotv1ClientService

type MockRobotv1ClientService struct {
	mock.Mock
}

MockRobotv1ClientService is an autogenerated mock type for the ClientService type

func NewMockRobotv1ClientService added in v5.1.0

func NewMockRobotv1ClientService(t mockConstructorTestingTNewMockRobotv1ClientService) *MockRobotv1ClientService

NewMockRobotv1ClientService creates a new instance of MockRobotv1ClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockRobotv1ClientService) CreateRobotV1

CreateRobotV1 provides a mock function with given fields: params, authInfo

func (*MockRobotv1ClientService) DeleteRobotV1

DeleteRobotV1 provides a mock function with given fields: params, authInfo

func (*MockRobotv1ClientService) GetRobotByIDV1

GetRobotByIDV1 provides a mock function with given fields: params, authInfo

func (*MockRobotv1ClientService) ListRobotV1

ListRobotV1 provides a mock function with given fields: params, authInfo

func (*MockRobotv1ClientService) SetTransport

func (_m *MockRobotv1ClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockRobotv1ClientService) UpdateRobotV1

UpdateRobotV1 provides a mock function with given fields: params, authInfo

type MockScanClientService

type MockScanClientService struct {
	mock.Mock
}

MockScanClientService is an autogenerated mock type for the ClientService type

func NewMockScanClientService added in v5.1.0

func NewMockScanClientService(t mockConstructorTestingTNewMockScanClientService) *MockScanClientService

NewMockScanClientService creates a new instance of MockScanClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockScanClientService) GetReportLog

GetReportLog provides a mock function with given fields: params, authInfo

func (*MockScanClientService) ScanArtifact

ScanArtifact provides a mock function with given fields: params, authInfo

func (*MockScanClientService) SetTransport

func (_m *MockScanClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockScanClientService) StopScanArtifact added in v5.0.3

StopScanArtifact provides a mock function with given fields: params, authInfo

type MockScan_allClientService

type MockScan_allClientService struct {
	mock.Mock
}

MockScan_allClientService is an autogenerated mock type for the ClientService type

func NewMockScan_allClientService added in v5.1.0

func NewMockScan_allClientService(t mockConstructorTestingTNewMockScan_allClientService) *MockScan_allClientService

NewMockScan_allClientService creates a new instance of MockScan_allClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockScan_allClientService) CreateScanAllSchedule

CreateScanAllSchedule provides a mock function with given fields: params, authInfo

func (*MockScan_allClientService) GetLatestScanAllMetrics

GetLatestScanAllMetrics provides a mock function with given fields: params, authInfo

func (*MockScan_allClientService) GetLatestScheduledScanAllMetrics

GetLatestScheduledScanAllMetrics provides a mock function with given fields: params, authInfo

func (*MockScan_allClientService) GetScanAllSchedule

GetScanAllSchedule provides a mock function with given fields: params, authInfo

func (*MockScan_allClientService) SetTransport

func (_m *MockScan_allClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockScan_allClientService) StopScanAll added in v5.0.3

StopScanAll provides a mock function with given fields: params, authInfo

func (*MockScan_allClientService) UpdateScanAllSchedule

UpdateScanAllSchedule provides a mock function with given fields: params, authInfo

type MockScan_data_exportClientService added in v5.2.0

type MockScan_data_exportClientService struct {
	mock.Mock
}

MockScan_data_exportClientService is an autogenerated mock type for the ClientService type

func NewMockScan_data_exportClientService added in v5.2.0

func NewMockScan_data_exportClientService(t mockConstructorTestingTNewMockScan_data_exportClientService) *MockScan_data_exportClientService

NewMockScan_data_exportClientService creates a new instance of MockScan_data_exportClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockScan_data_exportClientService) DownloadScanData added in v5.2.0

DownloadScanData provides a mock function with given fields: params, authInfo, writer

func (*MockScan_data_exportClientService) ExportScanData added in v5.2.0

ExportScanData provides a mock function with given fields: params, authInfo

func (*MockScan_data_exportClientService) GetScanDataExportExecution added in v5.2.0

GetScanDataExportExecution provides a mock function with given fields: params, authInfo

func (*MockScan_data_exportClientService) GetScanDataExportExecutionList added in v5.2.0

GetScanDataExportExecutionList provides a mock function with given fields: params, authInfo

func (*MockScan_data_exportClientService) SetTransport added in v5.2.0

func (_m *MockScan_data_exportClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

type MockScannerClientService

type MockScannerClientService struct {
	mock.Mock
}

MockScannerClientService is an autogenerated mock type for the ClientService type

func NewMockScannerClientService added in v5.1.0

func NewMockScannerClientService(t mockConstructorTestingTNewMockScannerClientService) *MockScannerClientService

NewMockScannerClientService creates a new instance of MockScannerClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockScannerClientService) CreateScanner

CreateScanner provides a mock function with given fields: params, authInfo

func (*MockScannerClientService) DeleteScanner

DeleteScanner provides a mock function with given fields: params, authInfo

func (*MockScannerClientService) GetScanner

GetScanner provides a mock function with given fields: params, authInfo

func (*MockScannerClientService) GetScannerMetadata

GetScannerMetadata provides a mock function with given fields: params, authInfo

func (*MockScannerClientService) ListScanners

ListScanners provides a mock function with given fields: params, authInfo

func (*MockScannerClientService) PingScanner

PingScanner provides a mock function with given fields: params, authInfo

func (*MockScannerClientService) SetScannerAsDefault

SetScannerAsDefault provides a mock function with given fields: params, authInfo

func (*MockScannerClientService) SetTransport

func (_m *MockScannerClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockScannerClientService) UpdateScanner

UpdateScanner provides a mock function with given fields: params, authInfo

type MockScheduleClientService added in v5.2.0

type MockScheduleClientService struct {
	mock.Mock
}

MockScheduleClientService is an autogenerated mock type for the ClientService type

func NewMockScheduleClientService added in v5.2.0

func NewMockScheduleClientService(t mockConstructorTestingTNewMockScheduleClientService) *MockScheduleClientService

NewMockScheduleClientService creates a new instance of MockScheduleClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockScheduleClientService) GetSchedulePaused added in v5.2.0

GetSchedulePaused provides a mock function with given fields: params, authInfo

func (*MockScheduleClientService) ListSchedules added in v5.2.0

ListSchedules provides a mock function with given fields: params, authInfo

func (*MockScheduleClientService) SetTransport added in v5.2.0

func (_m *MockScheduleClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

type MockSearchClientService

type MockSearchClientService struct {
	mock.Mock
}

MockSearchClientService is an autogenerated mock type for the ClientService type

func NewMockSearchClientService added in v5.1.0

func NewMockSearchClientService(t mockConstructorTestingTNewMockSearchClientService) *MockSearchClientService

NewMockSearchClientService creates a new instance of MockSearchClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockSearchClientService) Search

Search provides a mock function with given fields: params, authInfo

func (*MockSearchClientService) SetTransport

func (_m *MockSearchClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

type MockStatisticClientService

type MockStatisticClientService struct {
	mock.Mock
}

MockStatisticClientService is an autogenerated mock type for the ClientService type

func NewMockStatisticClientService added in v5.1.0

func NewMockStatisticClientService(t mockConstructorTestingTNewMockStatisticClientService) *MockStatisticClientService

NewMockStatisticClientService creates a new instance of MockStatisticClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockStatisticClientService) GetStatistic

GetStatistic provides a mock function with given fields: params, authInfo

func (*MockStatisticClientService) SetTransport

func (_m *MockStatisticClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

type MockSystem_cve_allowlistClientService

type MockSystem_cve_allowlistClientService struct {
	mock.Mock
}

MockSystem_cve_allowlistClientService is an autogenerated mock type for the ClientService type

func NewMockSystem_cve_allowlistClientService added in v5.1.0

func NewMockSystem_cve_allowlistClientService(t mockConstructorTestingTNewMockSystem_cve_allowlistClientService) *MockSystem_cve_allowlistClientService

NewMockSystem_cve_allowlistClientService creates a new instance of MockSystem_cve_allowlistClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockSystem_cve_allowlistClientService) GetSystemCVEAllowlist

GetSystemCVEAllowlist provides a mock function with given fields: params, authInfo

func (*MockSystem_cve_allowlistClientService) PutSystemCVEAllowlist

PutSystemCVEAllowlist provides a mock function with given fields: params, authInfo

func (*MockSystem_cve_allowlistClientService) SetTransport

SetTransport provides a mock function with given fields: transport

type MockSysteminfoClientService

type MockSysteminfoClientService struct {
	mock.Mock
}

MockSysteminfoClientService is an autogenerated mock type for the ClientService type

func NewMockSysteminfoClientService added in v5.1.0

func NewMockSysteminfoClientService(t mockConstructorTestingTNewMockSysteminfoClientService) *MockSysteminfoClientService

NewMockSysteminfoClientService creates a new instance of MockSysteminfoClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockSysteminfoClientService) GetCert

GetCert provides a mock function with given fields: params, authInfo, writer

func (*MockSysteminfoClientService) GetSystemInfo

GetSystemInfo provides a mock function with given fields: params, authInfo

func (*MockSysteminfoClientService) GetVolumes

GetVolumes provides a mock function with given fields: params, authInfo

func (*MockSysteminfoClientService) SetTransport

func (_m *MockSysteminfoClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

type MockUserClientService

type MockUserClientService struct {
	mock.Mock
}

MockUserClientService is an autogenerated mock type for the ClientService type

func NewMockUserClientService added in v5.1.0

func NewMockUserClientService(t mockConstructorTestingTNewMockUserClientService) *MockUserClientService

NewMockUserClientService creates a new instance of MockUserClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockUserClientService) CreateUser

CreateUser provides a mock function with given fields: params, authInfo

func (*MockUserClientService) DeleteUser

DeleteUser provides a mock function with given fields: params, authInfo

func (*MockUserClientService) GetCurrentUserInfo

GetCurrentUserInfo provides a mock function with given fields: params, authInfo

func (*MockUserClientService) GetCurrentUserPermissions

GetCurrentUserPermissions provides a mock function with given fields: params, authInfo

func (*MockUserClientService) GetUser

GetUser provides a mock function with given fields: params, authInfo

func (*MockUserClientService) ListUsers

ListUsers provides a mock function with given fields: params, authInfo

func (*MockUserClientService) SearchUsers

SearchUsers provides a mock function with given fields: params, authInfo

func (*MockUserClientService) SetCliSecret

SetCliSecret provides a mock function with given fields: params, authInfo

func (*MockUserClientService) SetTransport

func (_m *MockUserClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockUserClientService) SetUserSysAdmin

SetUserSysAdmin provides a mock function with given fields: params, authInfo

func (*MockUserClientService) UpdateUserPassword

UpdateUserPassword provides a mock function with given fields: params, authInfo

func (*MockUserClientService) UpdateUserProfile

UpdateUserProfile provides a mock function with given fields: params, authInfo

type MockUsergroupClientService

type MockUsergroupClientService struct {
	mock.Mock
}

MockUsergroupClientService is an autogenerated mock type for the ClientService type

func NewMockUsergroupClientService added in v5.1.0

func NewMockUsergroupClientService(t mockConstructorTestingTNewMockUsergroupClientService) *MockUsergroupClientService

NewMockUsergroupClientService creates a new instance of MockUsergroupClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockUsergroupClientService) CreateUserGroup

CreateUserGroup provides a mock function with given fields: params, authInfo

func (*MockUsergroupClientService) DeleteUserGroup

DeleteUserGroup provides a mock function with given fields: params, authInfo

func (*MockUsergroupClientService) GetUserGroup

GetUserGroup provides a mock function with given fields: params, authInfo

func (*MockUsergroupClientService) ListUserGroups

ListUserGroups provides a mock function with given fields: params, authInfo

func (*MockUsergroupClientService) SearchUserGroups added in v5.0.3

SearchUserGroups provides a mock function with given fields: params, authInfo

func (*MockUsergroupClientService) SetTransport

func (_m *MockUsergroupClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockUsergroupClientService) UpdateUserGroup

UpdateUserGroup provides a mock function with given fields: params, authInfo

type MockWebhookClientService

type MockWebhookClientService struct {
	mock.Mock
}

MockWebhookClientService is an autogenerated mock type for the ClientService type

func NewMockWebhookClientService added in v5.1.0

func NewMockWebhookClientService(t mockConstructorTestingTNewMockWebhookClientService) *MockWebhookClientService

NewMockWebhookClientService creates a new instance of MockWebhookClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockWebhookClientService) CreateWebhookPolicyOfProject

CreateWebhookPolicyOfProject provides a mock function with given fields: params, authInfo

func (*MockWebhookClientService) DeleteWebhookPolicyOfProject

DeleteWebhookPolicyOfProject provides a mock function with given fields: params, authInfo

func (*MockWebhookClientService) GetLogsOfWebhookTask added in v5.4.0

GetLogsOfWebhookTask provides a mock function with given fields: params, authInfo

func (*MockWebhookClientService) GetSupportedEventTypes

GetSupportedEventTypes provides a mock function with given fields: params, authInfo

func (*MockWebhookClientService) GetWebhookPolicyOfProject

GetWebhookPolicyOfProject provides a mock function with given fields: params, authInfo

func (*MockWebhookClientService) LastTrigger

LastTrigger provides a mock function with given fields: params, authInfo

func (*MockWebhookClientService) ListExecutionsOfWebhookPolicy added in v5.4.0

ListExecutionsOfWebhookPolicy provides a mock function with given fields: params, authInfo

func (*MockWebhookClientService) ListTasksOfWebhookExecution added in v5.4.0

ListTasksOfWebhookExecution provides a mock function with given fields: params, authInfo

func (*MockWebhookClientService) ListWebhookPoliciesOfProject

ListWebhookPoliciesOfProject provides a mock function with given fields: params, authInfo

func (*MockWebhookClientService) SetTransport

func (_m *MockWebhookClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

func (*MockWebhookClientService) UpdateWebhookPolicyOfProject

UpdateWebhookPolicyOfProject provides a mock function with given fields: params, authInfo

type MockWebhookjobClientService

type MockWebhookjobClientService struct {
	mock.Mock
}

MockWebhookjobClientService is an autogenerated mock type for the ClientService type

func NewMockWebhookjobClientService added in v5.1.0

func NewMockWebhookjobClientService(t mockConstructorTestingTNewMockWebhookjobClientService) *MockWebhookjobClientService

NewMockWebhookjobClientService creates a new instance of MockWebhookjobClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockWebhookjobClientService) ListWebhookJobs

ListWebhookJobs provides a mock function with given fields: params, authInfo

func (*MockWebhookjobClientService) SetTransport

func (_m *MockWebhookjobClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

Jump to

Keyboard shortcuts

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