mocks

package
v0.7.17 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobObjectClient added in v0.7.14

type BlobObjectClient struct {
	mock.Mock
}

BlobObjectClient is an autogenerated mock type for the BlobObjectClient type

func NewBlobObjectClient added in v0.7.14

func NewBlobObjectClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *BlobObjectClient

NewBlobObjectClient creates a new instance of BlobObjectClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*BlobObjectClient) Objects added in v0.7.14

func (_m *BlobObjectClient) Objects(ctx context.Context, bucket string, query *storage.Query) gcs.ObjectIterator

Objects provides a mock function with given fields: ctx, bucket, query

type BlobStorageClient added in v0.7.14

type BlobStorageClient struct {
	mock.Mock
}

BlobStorageClient is an autogenerated mock type for the BlobStorageClient type

func NewBlobStorageClient added in v0.7.14

func NewBlobStorageClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *BlobStorageClient

NewBlobStorageClient creates a new instance of BlobStorageClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*BlobStorageClient) ListDlqMetadata added in v0.7.14

func (_m *BlobStorageClient) ListDlqMetadata(bucketInfo gcs.BucketInfo) ([]models.DlqMetadata, error)

ListDlqMetadata provides a mock function with given fields: bucketInfo

type JobSpecificationServiceClient

type JobSpecificationServiceClient struct {
	mock.Mock
}

JobSpecificationServiceClient is an autogenerated mock type for the JobSpecificationServiceClient type

func NewJobSpecificationServiceClient

func NewJobSpecificationServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *JobSpecificationServiceClient

NewJobSpecificationServiceClient creates a new instance of JobSpecificationServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*JobSpecificationServiceClient) AddJobSpecifications

AddJobSpecifications provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) ChangeJobNamespace

ChangeJobNamespace provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) CheckJobSpecification

CheckJobSpecification provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) CheckJobSpecifications

CheckJobSpecifications provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) CreateJobSpecification

CreateJobSpecification provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) DeleteJobSpecification

DeleteJobSpecification provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) DeployJobSpecification

DeployJobSpecification provides a mock function with given fields: ctx, opts

func (*JobSpecificationServiceClient) GetDeployJobsStatus

GetDeployJobsStatus provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) GetJobSpecification

GetJobSpecification provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) GetJobSpecifications

GetJobSpecifications provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) GetJobTask

GetJobTask provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) GetWindow

GetWindow provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) JobInspect

JobInspect provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) ListJobSpecification

ListJobSpecification provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) RefreshJobs

RefreshJobs provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) ReplaceAllJobSpecifications

ReplaceAllJobSpecifications provides a mock function with given fields: ctx, opts

func (*JobSpecificationServiceClient) SyncJobsState added in v0.7.9

SyncJobsState provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) UpdateJobSpecifications

UpdateJobSpecifications provides a mock function with given fields: ctx, in, opts

func (*JobSpecificationServiceClient) UpdateJobsState added in v0.7.9

UpdateJobsState provides a mock function with given fields: ctx, in, opts

type ObjectIterator added in v0.7.14

type ObjectIterator struct {
	mock.Mock
}

ObjectIterator is an autogenerated mock type for the ObjectIterator type

func NewObjectIterator added in v0.7.14

func NewObjectIterator(t interface {
	mock.TestingT
	Cleanup(func())
}) *ObjectIterator

NewObjectIterator creates a new instance of ObjectIterator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ObjectIterator) Next added in v0.7.14

func (_m *ObjectIterator) Next() (*storage.ObjectAttrs, error)

Next provides a mock function with given fields:

type ResourceServiceClient added in v0.7.14

type ResourceServiceClient struct {
	mock.Mock
}

ResourceServiceClient is an autogenerated mock type for the ResourceServiceClient type

func NewResourceServiceClient added in v0.7.14

func NewResourceServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ResourceServiceClient

NewResourceServiceClient creates a new instance of ResourceServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ResourceServiceClient) ApplyAction added in v0.7.14

ApplyAction provides a mock function with given fields: ctx, in, opts

func (*ResourceServiceClient) CreateResource added in v0.7.14

CreateResource provides a mock function with given fields: ctx, in, opts

func (*ResourceServiceClient) DeleteResource added in v0.7.14

DeleteResource provides a mock function with given fields: ctx, in, opts

func (*ResourceServiceClient) GetLog added in v0.7.14

GetLog provides a mock function with given fields: ctx, in, opts

func (*ResourceServiceClient) GetResource added in v0.7.14

GetResource provides a mock function with given fields: ctx, in, opts

func (*ResourceServiceClient) GetResourceRevisions added in v0.7.14

GetResourceRevisions provides a mock function with given fields: ctx, in, opts

func (*ResourceServiceClient) ListResources added in v0.7.14

ListResources provides a mock function with given fields: ctx, in, opts

func (*ResourceServiceClient) UpdateResource added in v0.7.14

UpdateResource provides a mock function with given fields: ctx, in, opts

type ShieldServiceClient added in v0.7.9

type ShieldServiceClient struct {
	mock.Mock
}

ShieldServiceClient is an autogenerated mock type for the ShieldServiceClient type

func NewShieldServiceClient added in v0.7.9

func NewShieldServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShieldServiceClient

NewShieldServiceClient creates a new instance of ShieldServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ShieldServiceClient) CheckResourcePermission added in v0.7.9

CheckResourcePermission provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) CreateAction added in v0.7.9

CreateAction provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) CreateGroup added in v0.7.9

CreateGroup provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) CreateMetadataKey added in v0.7.9

CreateMetadataKey provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) CreateNamespace added in v0.7.9

CreateNamespace provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) CreateOrganization added in v0.7.9

CreateOrganization provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) CreatePolicy added in v0.7.9

CreatePolicy provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) CreateProject added in v0.7.9

CreateProject provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) CreateRelation added in v0.7.9

CreateRelation provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) CreateResource added in v0.7.9

CreateResource provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) CreateRole added in v0.7.9

CreateRole provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) CreateUser added in v0.7.9

CreateUser provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) DeleteRelation added in v0.7.9

DeleteRelation provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) GetCurrentUser added in v0.7.9

GetCurrentUser provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) GetGroup added in v0.7.9

GetGroup provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) GetNamespace added in v0.7.9

GetNamespace provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) GetOrganization added in v0.7.9

GetOrganization provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) GetProject added in v0.7.9

GetProject provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) GetRelation added in v0.7.9

GetRelation provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) GetResource added in v0.7.9

GetResource provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) GetUser added in v0.7.9

GetUser provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListActions added in v0.7.9

ListActions provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListGroupRelations added in v0.7.9

ListGroupRelations provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListGroups added in v0.7.9

ListGroups provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListNamespaces added in v0.7.9

ListNamespaces provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListOrganizationAdmins added in v0.7.9

ListOrganizationAdmins provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListOrganizations added in v0.7.9

ListOrganizations provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListPolicies added in v0.7.9

ListPolicies provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListProjectAdmins added in v0.7.9

ListProjectAdmins provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListProjects added in v0.7.9

ListProjects provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListRelations added in v0.7.9

ListRelations provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListResources added in v0.7.9

ListResources provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListRoles added in v0.7.9

ListRoles provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListUserGroups added in v0.7.9

ListUserGroups provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) ListUsers added in v0.7.9

ListUsers provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) UpdateCurrentUser added in v0.7.9

UpdateCurrentUser provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) UpdateGroup added in v0.7.9

UpdateGroup provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) UpdateNamespace added in v0.7.9

UpdateNamespace provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) UpdateOrganization added in v0.7.9

UpdateOrganization provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) UpdateProject added in v0.7.9

UpdateProject provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) UpdateResource added in v0.7.9

UpdateResource provides a mock function with given fields: ctx, in, opts

func (*ShieldServiceClient) UpdateUser added in v0.7.9

UpdateUser provides a mock function with given fields: ctx, in, opts

type SirenServiceClient added in v0.7.9

type SirenServiceClient struct {
	mock.Mock
}

SirenServiceClient is an autogenerated mock type for the SirenServiceClient type

func NewSirenServiceClient added in v0.7.9

func NewSirenServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *SirenServiceClient

NewSirenServiceClient creates a new instance of SirenServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SirenServiceClient) CreateAlerts added in v0.7.9

CreateAlerts provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) CreateAlertsWithNamespace added in v0.7.9

CreateAlertsWithNamespace provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) CreateNamespace added in v0.7.9

CreateNamespace provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) CreateProvider added in v0.7.9

CreateProvider provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) CreateReceiver added in v0.7.9

CreateReceiver provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) CreateSilence added in v0.7.9

CreateSilence provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) CreateSubscription added in v0.7.9

CreateSubscription provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) DeleteNamespace added in v0.7.9

DeleteNamespace provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) DeleteProvider added in v0.7.9

DeleteProvider provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) DeleteReceiver added in v0.7.9

DeleteReceiver provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) DeleteSubscription added in v0.7.9

DeleteSubscription provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) DeleteTemplate added in v0.7.9

DeleteTemplate provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) ExpireSilence added in v0.7.9

ExpireSilence provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) GetNamespace added in v0.7.9

GetNamespace provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) GetProvider added in v0.7.9

GetProvider provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) GetReceiver added in v0.7.9

GetReceiver provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) GetSilence added in v0.7.9

GetSilence provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) GetSubscription added in v0.7.9

GetSubscription provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) GetTemplate added in v0.7.9

GetTemplate provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) ListAlerts added in v0.7.9

ListAlerts provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) ListNamespaces added in v0.7.9

ListNamespaces provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) ListProviders added in v0.7.9

ListProviders provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) ListReceivers added in v0.7.9

ListReceivers provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) ListRules added in v0.7.9

ListRules provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) ListSilences added in v0.7.9

ListSilences provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) ListSubscriptions added in v0.7.9

ListSubscriptions provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) ListTemplates added in v0.7.9

ListTemplates provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) NotifyReceiver added in v0.7.9

NotifyReceiver provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) RenderTemplate added in v0.7.9

RenderTemplate provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) UpdateNamespace added in v0.7.9

UpdateNamespace provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) UpdateProvider added in v0.7.9

UpdateProvider provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) UpdateReceiver added in v0.7.9

UpdateReceiver provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) UpdateRule added in v0.7.9

UpdateRule provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) UpdateSubscription added in v0.7.9

UpdateSubscription provides a mock function with given fields: ctx, in, opts

func (*SirenServiceClient) UpsertTemplate added in v0.7.9

UpsertTemplate provides a mock function with given fields: ctx, in, opts

Jump to

Keyboard shortcuts

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