mock

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEnterpriseClient

type MockEnterpriseClient struct {
	// contains filtered or unexported fields
}

MockEnterpriseClient is a mock of EnterpriseClient interface.

func NewMockEnterpriseClient

func NewMockEnterpriseClient(ctrl *gomock.Controller) *MockEnterpriseClient

NewMockEnterpriseClient creates a new mock instance.

func (*MockEnterpriseClient) CreateEnterprise

CreateEnterprise mocks base method.

func (*MockEnterpriseClient) DeleteEnterprise

func (m *MockEnterpriseClient) DeleteEnterprise(param *enterprises.DeleteEnterpriseParams) error

DeleteEnterprise mocks base method.

func (*MockEnterpriseClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEnterpriseClient) GetEnterprise

GetEnterprise mocks base method.

func (*MockEnterpriseClient) ListEnterprises

ListEnterprises mocks base method.

func (*MockEnterpriseClient) UpdateEnterprise

UpdateEnterprise mocks base method.

type MockEnterpriseClientMockRecorder

type MockEnterpriseClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockEnterpriseClientMockRecorder is the mock recorder for MockEnterpriseClient.

func (*MockEnterpriseClientMockRecorder) CreateEnterprise

func (mr *MockEnterpriseClientMockRecorder) CreateEnterprise(param any) *gomock.Call

CreateEnterprise indicates an expected call of CreateEnterprise.

func (*MockEnterpriseClientMockRecorder) DeleteEnterprise

func (mr *MockEnterpriseClientMockRecorder) DeleteEnterprise(param any) *gomock.Call

DeleteEnterprise indicates an expected call of DeleteEnterprise.

func (*MockEnterpriseClientMockRecorder) GetEnterprise

func (mr *MockEnterpriseClientMockRecorder) GetEnterprise(param any) *gomock.Call

GetEnterprise indicates an expected call of GetEnterprise.

func (*MockEnterpriseClientMockRecorder) ListEnterprises

func (mr *MockEnterpriseClientMockRecorder) ListEnterprises(param any) *gomock.Call

ListEnterprises indicates an expected call of ListEnterprises.

func (*MockEnterpriseClientMockRecorder) UpdateEnterprise

func (mr *MockEnterpriseClientMockRecorder) UpdateEnterprise(param any) *gomock.Call

UpdateEnterprise indicates an expected call of UpdateEnterprise.

type MockGarmClient added in v0.2.1

type MockGarmClient struct {
	// contains filtered or unexported fields
}

MockGarmClient is a mock of GarmClient interface.

func NewMockGarmClient added in v0.2.1

func NewMockGarmClient(ctrl *gomock.Controller) *MockGarmClient

NewMockGarmClient creates a new mock instance.

func (*MockGarmClient) EXPECT added in v0.2.1

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGarmClient) GarmAPI added in v0.2.1

func (m *MockGarmClient) GarmAPI() *client.GarmAPI

GarmAPI mocks base method.

func (*MockGarmClient) Init added in v0.2.1

func (m *MockGarmClient) Init() error

Init mocks base method.

func (*MockGarmClient) Login added in v0.2.1

func (m *MockGarmClient) Login() error

Login mocks base method.

func (*MockGarmClient) Token added in v0.2.1

Token mocks base method.

type MockGarmClientMockRecorder added in v0.2.1

type MockGarmClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockGarmClientMockRecorder is the mock recorder for MockGarmClient.

func (*MockGarmClientMockRecorder) GarmAPI added in v0.2.1

func (mr *MockGarmClientMockRecorder) GarmAPI() *gomock.Call

GarmAPI indicates an expected call of GarmAPI.

func (*MockGarmClientMockRecorder) Init added in v0.2.1

Init indicates an expected call of Init.

func (*MockGarmClientMockRecorder) Login added in v0.2.1

func (mr *MockGarmClientMockRecorder) Login() *gomock.Call

Login indicates an expected call of Login.

func (*MockGarmClientMockRecorder) Token added in v0.2.1

func (mr *MockGarmClientMockRecorder) Token() *gomock.Call

Token indicates an expected call of Token.

type MockInstanceClient

type MockInstanceClient struct {
	// contains filtered or unexported fields
}

MockInstanceClient is a mock of InstanceClient interface.

func NewMockInstanceClient

func NewMockInstanceClient(ctrl *gomock.Controller) *MockInstanceClient

NewMockInstanceClient creates a new mock instance.

func (*MockInstanceClient) DeleteInstance added in v0.1.2

func (m *MockInstanceClient) DeleteInstance(params *instances.DeleteInstanceParams) error

DeleteInstance mocks base method.

func (*MockInstanceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInstanceClient) GetInstance

GetInstance mocks base method.

func (*MockInstanceClient) ListInstances

ListInstances mocks base method.

func (*MockInstanceClient) ListPoolInstances

ListPoolInstances mocks base method.

type MockInstanceClientMockRecorder

type MockInstanceClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockInstanceClientMockRecorder is the mock recorder for MockInstanceClient.

func (*MockInstanceClientMockRecorder) DeleteInstance added in v0.1.2

func (mr *MockInstanceClientMockRecorder) DeleteInstance(params any) *gomock.Call

DeleteInstance indicates an expected call of DeleteInstance.

func (*MockInstanceClientMockRecorder) GetInstance

func (mr *MockInstanceClientMockRecorder) GetInstance(params any) *gomock.Call

GetInstance indicates an expected call of GetInstance.

func (*MockInstanceClientMockRecorder) ListInstances

func (mr *MockInstanceClientMockRecorder) ListInstances(params any) *gomock.Call

ListInstances indicates an expected call of ListInstances.

func (*MockInstanceClientMockRecorder) ListPoolInstances

func (mr *MockInstanceClientMockRecorder) ListPoolInstances(params any) *gomock.Call

ListPoolInstances indicates an expected call of ListPoolInstances.

type MockOrganizationClient

type MockOrganizationClient struct {
	// contains filtered or unexported fields
}

MockOrganizationClient is a mock of OrganizationClient interface.

func NewMockOrganizationClient

func NewMockOrganizationClient(ctrl *gomock.Controller) *MockOrganizationClient

NewMockOrganizationClient creates a new mock instance.

func (*MockOrganizationClient) CreateOrganization

CreateOrganization mocks base method.

func (*MockOrganizationClient) DeleteOrganization

func (m *MockOrganizationClient) DeleteOrganization(param *organizations.DeleteOrgParams) error

DeleteOrganization mocks base method.

func (*MockOrganizationClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockOrganizationClient) GetOrganization

GetOrganization mocks base method.

func (*MockOrganizationClient) ListOrganizations

ListOrganizations mocks base method.

func (*MockOrganizationClient) UpdateOrganization

UpdateOrganization mocks base method.

type MockOrganizationClientMockRecorder

type MockOrganizationClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockOrganizationClientMockRecorder is the mock recorder for MockOrganizationClient.

func (*MockOrganizationClientMockRecorder) CreateOrganization

func (mr *MockOrganizationClientMockRecorder) CreateOrganization(param any) *gomock.Call

CreateOrganization indicates an expected call of CreateOrganization.

func (*MockOrganizationClientMockRecorder) DeleteOrganization

func (mr *MockOrganizationClientMockRecorder) DeleteOrganization(param any) *gomock.Call

DeleteOrganization indicates an expected call of DeleteOrganization.

func (*MockOrganizationClientMockRecorder) GetOrganization

func (mr *MockOrganizationClientMockRecorder) GetOrganization(param any) *gomock.Call

GetOrganization indicates an expected call of GetOrganization.

func (*MockOrganizationClientMockRecorder) ListOrganizations

func (mr *MockOrganizationClientMockRecorder) ListOrganizations(param any) *gomock.Call

ListOrganizations indicates an expected call of ListOrganizations.

func (*MockOrganizationClientMockRecorder) UpdateOrganization

func (mr *MockOrganizationClientMockRecorder) UpdateOrganization(param any) *gomock.Call

UpdateOrganization indicates an expected call of UpdateOrganization.

type MockPoolClient

type MockPoolClient struct {
	// contains filtered or unexported fields
}

MockPoolClient is a mock of PoolClient interface.

func NewMockPoolClient

func NewMockPoolClient(ctrl *gomock.Controller) *MockPoolClient

NewMockPoolClient creates a new mock instance.

func (*MockPoolClient) CreateEnterprisePool

CreateEnterprisePool mocks base method.

func (*MockPoolClient) CreateOrgPool

CreateOrgPool mocks base method.

func (*MockPoolClient) CreateRepoPool

CreateRepoPool mocks base method.

func (*MockPoolClient) DeleteEnterprisePool

func (m *MockPoolClient) DeleteEnterprisePool(param *enterprises.DeleteEnterprisePoolParams) error

DeleteEnterprisePool mocks base method.

func (*MockPoolClient) DeletePool

func (m *MockPoolClient) DeletePool(param *pools.DeletePoolParams) error

DeletePool mocks base method.

func (*MockPoolClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPoolClient) GetEnterprisePool

GetEnterprisePool mocks base method.

func (*MockPoolClient) GetPool

func (m *MockPoolClient) GetPool(param *pools.GetPoolParams) (*pools.GetPoolOK, error)

GetPool mocks base method.

func (*MockPoolClient) ListAllPools

func (m *MockPoolClient) ListAllPools(param *pools.ListPoolsParams) (*pools.ListPoolsOK, error)

ListAllPools mocks base method.

func (*MockPoolClient) UpdateEnterprisePool

UpdateEnterprisePool mocks base method.

func (*MockPoolClient) UpdatePool

func (m *MockPoolClient) UpdatePool(param *pools.UpdatePoolParams) (*pools.UpdatePoolOK, error)

UpdatePool mocks base method.

type MockPoolClientMockRecorder

type MockPoolClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockPoolClientMockRecorder is the mock recorder for MockPoolClient.

func (*MockPoolClientMockRecorder) CreateEnterprisePool

func (mr *MockPoolClientMockRecorder) CreateEnterprisePool(param any) *gomock.Call

CreateEnterprisePool indicates an expected call of CreateEnterprisePool.

func (*MockPoolClientMockRecorder) CreateOrgPool

func (mr *MockPoolClientMockRecorder) CreateOrgPool(param any) *gomock.Call

CreateOrgPool indicates an expected call of CreateOrgPool.

func (*MockPoolClientMockRecorder) CreateRepoPool

func (mr *MockPoolClientMockRecorder) CreateRepoPool(param any) *gomock.Call

CreateRepoPool indicates an expected call of CreateRepoPool.

func (*MockPoolClientMockRecorder) DeleteEnterprisePool

func (mr *MockPoolClientMockRecorder) DeleteEnterprisePool(param any) *gomock.Call

DeleteEnterprisePool indicates an expected call of DeleteEnterprisePool.

func (*MockPoolClientMockRecorder) DeletePool

func (mr *MockPoolClientMockRecorder) DeletePool(param any) *gomock.Call

DeletePool indicates an expected call of DeletePool.

func (*MockPoolClientMockRecorder) GetEnterprisePool

func (mr *MockPoolClientMockRecorder) GetEnterprisePool(param any) *gomock.Call

GetEnterprisePool indicates an expected call of GetEnterprisePool.

func (*MockPoolClientMockRecorder) GetPool

func (mr *MockPoolClientMockRecorder) GetPool(param any) *gomock.Call

GetPool indicates an expected call of GetPool.

func (*MockPoolClientMockRecorder) ListAllPools

func (mr *MockPoolClientMockRecorder) ListAllPools(param any) *gomock.Call

ListAllPools indicates an expected call of ListAllPools.

func (*MockPoolClientMockRecorder) UpdateEnterprisePool

func (mr *MockPoolClientMockRecorder) UpdateEnterprisePool(param any) *gomock.Call

UpdateEnterprisePool indicates an expected call of UpdateEnterprisePool.

func (*MockPoolClientMockRecorder) UpdatePool

func (mr *MockPoolClientMockRecorder) UpdatePool(param any) *gomock.Call

UpdatePool indicates an expected call of UpdatePool.

type MockRepositoryClient

type MockRepositoryClient struct {
	// contains filtered or unexported fields
}

MockRepositoryClient is a mock of RepositoryClient interface.

func NewMockRepositoryClient

func NewMockRepositoryClient(ctrl *gomock.Controller) *MockRepositoryClient

NewMockRepositoryClient creates a new mock instance.

func (*MockRepositoryClient) CreateRepository

CreateRepository mocks base method.

func (*MockRepositoryClient) DeleteRepository

func (m *MockRepositoryClient) DeleteRepository(param *repositories.DeleteRepoParams) error

DeleteRepository mocks base method.

func (*MockRepositoryClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRepositoryClient) GetRepository

GetRepository mocks base method.

func (*MockRepositoryClient) ListRepositories

ListRepositories mocks base method.

func (*MockRepositoryClient) UpdateRepository

UpdateRepository mocks base method.

type MockRepositoryClientMockRecorder

type MockRepositoryClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockRepositoryClientMockRecorder is the mock recorder for MockRepositoryClient.

func (*MockRepositoryClientMockRecorder) CreateRepository

func (mr *MockRepositoryClientMockRecorder) CreateRepository(param any) *gomock.Call

CreateRepository indicates an expected call of CreateRepository.

func (*MockRepositoryClientMockRecorder) DeleteRepository

func (mr *MockRepositoryClientMockRecorder) DeleteRepository(param any) *gomock.Call

DeleteRepository indicates an expected call of DeleteRepository.

func (*MockRepositoryClientMockRecorder) GetRepository

func (mr *MockRepositoryClientMockRecorder) GetRepository(param any) *gomock.Call

GetRepository indicates an expected call of GetRepository.

func (*MockRepositoryClientMockRecorder) ListRepositories

func (mr *MockRepositoryClientMockRecorder) ListRepositories(param any) *gomock.Call

ListRepositories indicates an expected call of ListRepositories.

func (*MockRepositoryClientMockRecorder) UpdateRepository

func (mr *MockRepositoryClientMockRecorder) UpdateRepository(param any) *gomock.Call

UpdateRepository indicates an expected call of UpdateRepository.

Jump to

Keyboard shortcuts

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