mock_manager

package
v0.0.0-...-64e8fac Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_manager is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockManager

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

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) Create

func (m *MockManager) Create(ctx context.Context, templateRelease *models1.TemplateRelease) (*models1.TemplateRelease, error)

Create mocks base method.

func (*MockManager) DeleteByID

func (m *MockManager) DeleteByID(ctx context.Context, id uint) error

DeleteByID mocks base method.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) GetByID

func (m *MockManager) GetByID(ctx context.Context, releaseID uint) (*models1.TemplateRelease, error)

GetByID mocks base method.

func (*MockManager) GetByTemplateNameAndRelease

func (m *MockManager) GetByTemplateNameAndRelease(ctx context.Context, templateName, release string) (*models1.TemplateRelease, error)

GetByTemplateNameAndRelease mocks base method.

func (*MockManager) GetRefOfApplication

func (m *MockManager) GetRefOfApplication(ctx context.Context, id uint) ([]*models.Application, uint, error)

GetRefOfApplication mocks base method.

func (*MockManager) GetRefOfCluster

func (m *MockManager) GetRefOfCluster(ctx context.Context, id uint) ([]*models0.Cluster, uint, error)

GetRefOfCluster mocks base method.

func (*MockManager) ListByTemplateID

func (m *MockManager) ListByTemplateID(ctx context.Context, id uint) ([]*models1.TemplateRelease, error)

ListByTemplateID mocks base method.

func (*MockManager) ListByTemplateName

func (m *MockManager) ListByTemplateName(ctx context.Context, templateName string) ([]*models1.TemplateRelease, error)

ListByTemplateName mocks base method.

func (*MockManager) UpdateByID

func (m *MockManager) UpdateByID(ctx context.Context, releaseID uint, release *models1.TemplateRelease) error

UpdateByID mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) Create

func (mr *MockManagerMockRecorder) Create(ctx, templateRelease interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockManagerMockRecorder) DeleteByID

func (mr *MockManagerMockRecorder) DeleteByID(ctx, id interface{}) *gomock.Call

DeleteByID indicates an expected call of DeleteByID.

func (*MockManagerMockRecorder) GetByID

func (mr *MockManagerMockRecorder) GetByID(ctx, releaseID interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockManagerMockRecorder) GetByTemplateNameAndRelease

func (mr *MockManagerMockRecorder) GetByTemplateNameAndRelease(ctx, templateName, release interface{}) *gomock.Call

GetByTemplateNameAndRelease indicates an expected call of GetByTemplateNameAndRelease.

func (*MockManagerMockRecorder) GetRefOfApplication

func (mr *MockManagerMockRecorder) GetRefOfApplication(ctx, id interface{}) *gomock.Call

GetRefOfApplication indicates an expected call of GetRefOfApplication.

func (*MockManagerMockRecorder) GetRefOfCluster

func (mr *MockManagerMockRecorder) GetRefOfCluster(ctx, id interface{}) *gomock.Call

GetRefOfCluster indicates an expected call of GetRefOfCluster.

func (*MockManagerMockRecorder) ListByTemplateID

func (mr *MockManagerMockRecorder) ListByTemplateID(ctx, id interface{}) *gomock.Call

ListByTemplateID indicates an expected call of ListByTemplateID.

func (*MockManagerMockRecorder) ListByTemplateName

func (mr *MockManagerMockRecorder) ListByTemplateName(ctx, templateName interface{}) *gomock.Call

ListByTemplateName indicates an expected call of ListByTemplateName.

func (*MockManagerMockRecorder) UpdateByID

func (mr *MockManagerMockRecorder) UpdateByID(ctx, releaseID, release interface{}) *gomock.Call

UpdateByID indicates an expected call of UpdateByID.

Jump to

Keyboard shortcuts

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