mocks

package
v5.0.0-...-5bc921f Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 40 Imported by: 0

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

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

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

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

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

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

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

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

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

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

type MockJobserviceClientService struct {
	mock.Mock
}

MockJobserviceClientService is an autogenerated mock type for the ClientService type

func NewMockJobserviceClientService

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

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

func (*MockJobserviceClientService) ActionPendingJobs

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

func (*MockJobserviceClientService) GetWorkerPools

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

func (*MockJobserviceClientService) GetWorkers

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

func (*MockJobserviceClientService) ListJobQueues

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

func (*MockJobserviceClientService) SetTransport

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

SetTransport provides a mock function with given fields: transport

func (*MockJobserviceClientService) StopRunningJob

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

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

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

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

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

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

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

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

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

type MockPurgeClientService struct {
	mock.Mock
}

MockPurgeClientService is an autogenerated mock type for the ClientService type

func NewMockPurgeClientService

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

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

func (*MockPurgeClientService) GetPurgeHistory

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

func (*MockPurgeClientService) GetPurgeJob

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

func (*MockPurgeClientService) GetPurgeJobLog

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

func (*MockPurgeClientService) GetPurgeSchedule

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

func (*MockPurgeClientService) SetTransport

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

SetTransport provides a mock function with given fields: transport

func (*MockPurgeClientService) StopPurge

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

func (*MockPurgeClientService) UpdatePurgeSchedule

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

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

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

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

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

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

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

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

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

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

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

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

type MockScan_data_exportClientService struct {
	mock.Mock
}

MockScan_data_exportClientService is an autogenerated mock type for the ClientService type

func NewMockScan_data_exportClientService

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

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

func (*MockScan_data_exportClientService) ExportScanData

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

func (*MockScan_data_exportClientService) GetScanDataExportExecution

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

func (*MockScan_data_exportClientService) GetScanDataExportExecutionList

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

func (*MockScan_data_exportClientService) SetTransport

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

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

type MockScheduleClientService struct {
	mock.Mock
}

MockScheduleClientService is an autogenerated mock type for the ClientService type

func NewMockScheduleClientService

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

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

func (*MockScheduleClientService) ListSchedules

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

func (*MockScheduleClientService) SetTransport

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

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

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

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

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

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

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

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

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

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

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

func (*MockWebhookClientService) ListTasksOfWebhookExecution

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

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