mock

package
v0.0.0-...-1595bd0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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 MockCostService

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

MockCostService is a mock of CostService interface.

func NewMockCostService

func NewMockCostService(ctrl *gomock.Controller) *MockCostService

NewMockCostService creates a new mock instance.

func (*MockCostService) EXPECT

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

func (*MockCostService) GetCostForPeriod

func (m *MockCostService) GetCostForPeriod(from, to time.Time) (*models.ApplicationCostSet, error)

GetCostForPeriod mocks base method.

func (*MockCostService) GetFutureCost

func (m *MockCostService) GetFutureCost(appName string) (*models.ApplicationCost, error)

GetFutureCost mocks base method.

type MockCostServiceMockRecorder

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

MockCostServiceMockRecorder is the mock recorder for MockCostService.

func (*MockCostServiceMockRecorder) GetCostForPeriod

func (mr *MockCostServiceMockRecorder) GetCostForPeriod(from, to interface{}) *gomock.Call

GetCostForPeriod indicates an expected call of GetCostForPeriod.

func (*MockCostServiceMockRecorder) GetFutureCost

func (mr *MockCostServiceMockRecorder) GetFutureCost(appName interface{}) *gomock.Call

GetFutureCost indicates an expected call of GetFutureCost.

Jump to

Keyboard shortcuts

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