mocks

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PoolManagerController

type PoolManagerController struct {
	mock.Mock
}

PoolManagerController is an autogenerated mock type for the PoolManagerController type

func NewPoolManagerController

func NewPoolManagerController(t interface {
	mock.TestingT
	Cleanup(func())
}) *PoolManagerController

NewPoolManagerController creates a new instance of PoolManagerController. 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 (*PoolManagerController) CreateEnterprisePoolManager

func (_m *PoolManagerController) CreateEnterprisePoolManager(ctx context.Context, enterprise params.Enterprise, providers map[string]common.Provider, store databasecommon.Store) (common.PoolManager, error)

CreateEnterprisePoolManager provides a mock function with given fields: ctx, enterprise, providers, store

func (*PoolManagerController) CreateOrgPoolManager

func (_m *PoolManagerController) CreateOrgPoolManager(ctx context.Context, org params.Organization, providers map[string]common.Provider, store databasecommon.Store) (common.PoolManager, error)

CreateOrgPoolManager provides a mock function with given fields: ctx, org, providers, store

func (*PoolManagerController) CreateRepoPoolManager

func (_m *PoolManagerController) CreateRepoPoolManager(ctx context.Context, repo params.Repository, providers map[string]common.Provider, store databasecommon.Store) (common.PoolManager, error)

CreateRepoPoolManager provides a mock function with given fields: ctx, repo, providers, store

func (*PoolManagerController) DeleteEnterprisePoolManager

func (_m *PoolManagerController) DeleteEnterprisePoolManager(enterprise params.Enterprise) error

DeleteEnterprisePoolManager provides a mock function with given fields: enterprise

func (*PoolManagerController) DeleteOrgPoolManager

func (_m *PoolManagerController) DeleteOrgPoolManager(org params.Organization) error

DeleteOrgPoolManager provides a mock function with given fields: org

func (*PoolManagerController) DeleteRepoPoolManager

func (_m *PoolManagerController) DeleteRepoPoolManager(repo params.Repository) error

DeleteRepoPoolManager provides a mock function with given fields: repo

func (*PoolManagerController) GetEnterprisePoolManager

func (_m *PoolManagerController) GetEnterprisePoolManager(enterprise params.Enterprise) (common.PoolManager, error)

GetEnterprisePoolManager provides a mock function with given fields: enterprise

func (*PoolManagerController) GetEnterprisePoolManagers

func (_m *PoolManagerController) GetEnterprisePoolManagers() (map[string]common.PoolManager, error)

GetEnterprisePoolManagers provides a mock function with given fields:

func (*PoolManagerController) GetOrgPoolManager

func (_m *PoolManagerController) GetOrgPoolManager(org params.Organization) (common.PoolManager, error)

GetOrgPoolManager provides a mock function with given fields: org

func (*PoolManagerController) GetOrgPoolManagers

func (_m *PoolManagerController) GetOrgPoolManagers() (map[string]common.PoolManager, error)

GetOrgPoolManagers provides a mock function with given fields:

func (*PoolManagerController) GetRepoPoolManager

func (_m *PoolManagerController) GetRepoPoolManager(repo params.Repository) (common.PoolManager, error)

GetRepoPoolManager provides a mock function with given fields: repo

func (*PoolManagerController) GetRepoPoolManagers

func (_m *PoolManagerController) GetRepoPoolManagers() (map[string]common.PoolManager, error)

GetRepoPoolManagers provides a mock function with given fields:

Jump to

Keyboard shortcuts

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