accounting

package
v0.30.21 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientService

type ClientService struct {
	mock.Mock
}

ClientService is an autogenerated mock type for the ClientService type

func NewClientService added in v0.18.21

func NewClientService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientService

NewClientService creates a new instance of ClientService. 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 (*ClientService) ClusterUsage

ClusterUsage provides a mock function for the type ClientService

func (*ClientService) ClusterUsageCSV

ClusterUsageCSV provides a mock function for the type ClientService

func (*ClientService) ContainerUsage

ContainerUsage provides a mock function for the type ClientService

func (*ClientService) ContainerUsageCSV

ContainerUsageCSV provides a mock function for the type ClientService

func (*ClientService) EXPECT added in v0.30.9

func (_m *ClientService) EXPECT() *ClientService_Expecter

func (*ClientService) IPUsage

IPUsage provides a mock function for the type ClientService

func (*ClientService) IPUsageCSV

IPUsageCSV provides a mock function for the type ClientService

func (*ClientService) MachineReservationUsage added in v0.29.0

MachineReservationUsage provides a mock function for the type ClientService

func (*ClientService) MachineUsage added in v0.23.2

MachineUsage provides a mock function for the type ClientService

func (*ClientService) NetworkUsage

NetworkUsage provides a mock function for the type ClientService

func (*ClientService) NetworkUsageCSV

NetworkUsageCSV provides a mock function for the type ClientService

func (*ClientService) PostgresUsage

PostgresUsage provides a mock function for the type ClientService

func (*ClientService) PostgresUsageCSV

PostgresUsageCSV provides a mock function for the type ClientService

func (*ClientService) ProductOptionUsage added in v0.23.2

ProductOptionUsage provides a mock function for the type ClientService

func (*ClientService) Projects added in v0.18.20

Projects provides a mock function for the type ClientService

func (*ClientService) S3Usage

S3Usage provides a mock function for the type ClientService

func (*ClientService) S3UsageCSV

S3UsageCSV provides a mock function for the type ClientService

func (*ClientService) SetTransport

func (_mock *ClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function for the type ClientService

func (*ClientService) VolumeUsage

VolumeUsage provides a mock function for the type ClientService

func (*ClientService) VolumeUsageCSV

VolumeUsageCSV provides a mock function for the type ClientService

type ClientService_ClusterUsageCSV_Call added in v0.30.9

type ClientService_ClusterUsageCSV_Call struct {
	*mock.Call
}

ClientService_ClusterUsageCSV_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClusterUsageCSV'

func (*ClientService_ClusterUsageCSV_Call) Return added in v0.30.9

func (*ClientService_ClusterUsageCSV_Call) Run added in v0.30.9

func (*ClientService_ClusterUsageCSV_Call) RunAndReturn added in v0.30.9

type ClientService_ClusterUsage_Call added in v0.30.9

type ClientService_ClusterUsage_Call struct {
	*mock.Call
}

ClientService_ClusterUsage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClusterUsage'

func (*ClientService_ClusterUsage_Call) Return added in v0.30.9

func (*ClientService_ClusterUsage_Call) Run added in v0.30.9

func (*ClientService_ClusterUsage_Call) RunAndReturn added in v0.30.9

type ClientService_ContainerUsageCSV_Call added in v0.30.9

type ClientService_ContainerUsageCSV_Call struct {
	*mock.Call
}

ClientService_ContainerUsageCSV_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerUsageCSV'

func (*ClientService_ContainerUsageCSV_Call) Return added in v0.30.9

func (*ClientService_ContainerUsageCSV_Call) Run added in v0.30.9

func (*ClientService_ContainerUsageCSV_Call) RunAndReturn added in v0.30.9

type ClientService_ContainerUsage_Call added in v0.30.9

type ClientService_ContainerUsage_Call struct {
	*mock.Call
}

ClientService_ContainerUsage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerUsage'

func (*ClientService_ContainerUsage_Call) Return added in v0.30.9

func (*ClientService_ContainerUsage_Call) Run added in v0.30.9

func (*ClientService_ContainerUsage_Call) RunAndReturn added in v0.30.9

type ClientService_Expecter added in v0.30.9

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

func (*ClientService_Expecter) ClusterUsage added in v0.30.9

func (_e *ClientService_Expecter) ClusterUsage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ClusterUsage_Call

ClusterUsage is a helper method to define mock.On call

  • params *accounting.ClusterUsageParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) ClusterUsageCSV added in v0.30.9

func (_e *ClientService_Expecter) ClusterUsageCSV(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ClusterUsageCSV_Call

ClusterUsageCSV is a helper method to define mock.On call

  • params *accounting.ClusterUsageCSVParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) ContainerUsage added in v0.30.9

func (_e *ClientService_Expecter) ContainerUsage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ContainerUsage_Call

ContainerUsage is a helper method to define mock.On call

  • params *accounting.ContainerUsageParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) ContainerUsageCSV added in v0.30.9

func (_e *ClientService_Expecter) ContainerUsageCSV(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ContainerUsageCSV_Call

ContainerUsageCSV is a helper method to define mock.On call

  • params *accounting.ContainerUsageCSVParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) IPUsage added in v0.30.9

func (_e *ClientService_Expecter) IPUsage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_IPUsage_Call

IPUsage is a helper method to define mock.On call

  • params *accounting.IPUsageParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) IPUsageCSV added in v0.30.9

func (_e *ClientService_Expecter) IPUsageCSV(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_IPUsageCSV_Call

IPUsageCSV is a helper method to define mock.On call

  • params *accounting.IPUsageCSVParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) MachineReservationUsage added in v0.30.9

func (_e *ClientService_Expecter) MachineReservationUsage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_MachineReservationUsage_Call

MachineReservationUsage is a helper method to define mock.On call

  • params *accounting.MachineReservationUsageParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) MachineUsage added in v0.30.9

func (_e *ClientService_Expecter) MachineUsage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_MachineUsage_Call

MachineUsage is a helper method to define mock.On call

  • params *accounting.MachineUsageParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) NetworkUsage added in v0.30.9

func (_e *ClientService_Expecter) NetworkUsage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_NetworkUsage_Call

NetworkUsage is a helper method to define mock.On call

  • params *accounting.NetworkUsageParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) NetworkUsageCSV added in v0.30.9

func (_e *ClientService_Expecter) NetworkUsageCSV(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_NetworkUsageCSV_Call

NetworkUsageCSV is a helper method to define mock.On call

  • params *accounting.NetworkUsageCSVParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) PostgresUsage added in v0.30.9

func (_e *ClientService_Expecter) PostgresUsage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_PostgresUsage_Call

PostgresUsage is a helper method to define mock.On call

  • params *accounting.PostgresUsageParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) PostgresUsageCSV added in v0.30.9

func (_e *ClientService_Expecter) PostgresUsageCSV(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_PostgresUsageCSV_Call

PostgresUsageCSV is a helper method to define mock.On call

  • params *accounting.PostgresUsageCSVParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) ProductOptionUsage added in v0.30.9

func (_e *ClientService_Expecter) ProductOptionUsage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ProductOptionUsage_Call

ProductOptionUsage is a helper method to define mock.On call

  • params *accounting.ProductOptionUsageParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) Projects added in v0.30.9

func (_e *ClientService_Expecter) Projects(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_Projects_Call

Projects is a helper method to define mock.On call

  • params *accounting.ProjectsParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) S3Usage added in v0.30.9

func (_e *ClientService_Expecter) S3Usage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_S3Usage_Call

S3Usage is a helper method to define mock.On call

  • params *accounting.S3UsageParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) S3UsageCSV added in v0.30.9

func (_e *ClientService_Expecter) S3UsageCSV(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_S3UsageCSV_Call

S3UsageCSV is a helper method to define mock.On call

  • params *accounting.S3UsageCSVParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) SetTransport added in v0.30.9

func (_e *ClientService_Expecter) SetTransport(transport interface{}) *ClientService_SetTransport_Call

SetTransport is a helper method to define mock.On call

  • transport runtime.ClientTransport

func (*ClientService_Expecter) VolumeUsage added in v0.30.9

func (_e *ClientService_Expecter) VolumeUsage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_VolumeUsage_Call

VolumeUsage is a helper method to define mock.On call

  • params *accounting.VolumeUsageParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

func (*ClientService_Expecter) VolumeUsageCSV added in v0.30.9

func (_e *ClientService_Expecter) VolumeUsageCSV(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_VolumeUsageCSV_Call

VolumeUsageCSV is a helper method to define mock.On call

  • params *accounting.VolumeUsageCSVParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...accounting.ClientOption

type ClientService_IPUsageCSV_Call added in v0.30.9

type ClientService_IPUsageCSV_Call struct {
	*mock.Call
}

ClientService_IPUsageCSV_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IPUsageCSV'

func (*ClientService_IPUsageCSV_Call) Return added in v0.30.9

func (*ClientService_IPUsageCSV_Call) Run added in v0.30.9

func (*ClientService_IPUsageCSV_Call) RunAndReturn added in v0.30.9

type ClientService_IPUsage_Call added in v0.30.9

type ClientService_IPUsage_Call struct {
	*mock.Call
}

ClientService_IPUsage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IPUsage'

func (*ClientService_IPUsage_Call) Return added in v0.30.9

func (*ClientService_IPUsage_Call) Run added in v0.30.9

func (*ClientService_IPUsage_Call) RunAndReturn added in v0.30.9

type ClientService_MachineReservationUsage_Call added in v0.30.9

type ClientService_MachineReservationUsage_Call struct {
	*mock.Call
}

ClientService_MachineReservationUsage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MachineReservationUsage'

func (*ClientService_MachineReservationUsage_Call) Return added in v0.30.9

func (*ClientService_MachineReservationUsage_Call) Run added in v0.30.9

type ClientService_MachineUsage_Call added in v0.30.9

type ClientService_MachineUsage_Call struct {
	*mock.Call
}

ClientService_MachineUsage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MachineUsage'

func (*ClientService_MachineUsage_Call) Return added in v0.30.9

func (*ClientService_MachineUsage_Call) Run added in v0.30.9

func (*ClientService_MachineUsage_Call) RunAndReturn added in v0.30.9

type ClientService_NetworkUsageCSV_Call added in v0.30.9

type ClientService_NetworkUsageCSV_Call struct {
	*mock.Call
}

ClientService_NetworkUsageCSV_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworkUsageCSV'

func (*ClientService_NetworkUsageCSV_Call) Return added in v0.30.9

func (*ClientService_NetworkUsageCSV_Call) Run added in v0.30.9

func (*ClientService_NetworkUsageCSV_Call) RunAndReturn added in v0.30.9

type ClientService_NetworkUsage_Call added in v0.30.9

type ClientService_NetworkUsage_Call struct {
	*mock.Call
}

ClientService_NetworkUsage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworkUsage'

func (*ClientService_NetworkUsage_Call) Return added in v0.30.9

func (*ClientService_NetworkUsage_Call) Run added in v0.30.9

func (*ClientService_NetworkUsage_Call) RunAndReturn added in v0.30.9

type ClientService_PostgresUsageCSV_Call added in v0.30.9

type ClientService_PostgresUsageCSV_Call struct {
	*mock.Call
}

ClientService_PostgresUsageCSV_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostgresUsageCSV'

func (*ClientService_PostgresUsageCSV_Call) Return added in v0.30.9

func (*ClientService_PostgresUsageCSV_Call) Run added in v0.30.9

func (*ClientService_PostgresUsageCSV_Call) RunAndReturn added in v0.30.9

type ClientService_PostgresUsage_Call added in v0.30.9

type ClientService_PostgresUsage_Call struct {
	*mock.Call
}

ClientService_PostgresUsage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostgresUsage'

func (*ClientService_PostgresUsage_Call) Return added in v0.30.9

func (*ClientService_PostgresUsage_Call) Run added in v0.30.9

func (*ClientService_PostgresUsage_Call) RunAndReturn added in v0.30.9

type ClientService_ProductOptionUsage_Call added in v0.30.9

type ClientService_ProductOptionUsage_Call struct {
	*mock.Call
}

ClientService_ProductOptionUsage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProductOptionUsage'

func (*ClientService_ProductOptionUsage_Call) Return added in v0.30.9

func (*ClientService_ProductOptionUsage_Call) Run added in v0.30.9

func (*ClientService_ProductOptionUsage_Call) RunAndReturn added in v0.30.9

type ClientService_Projects_Call added in v0.30.9

type ClientService_Projects_Call struct {
	*mock.Call
}

ClientService_Projects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Projects'

func (*ClientService_Projects_Call) Return added in v0.30.9

func (*ClientService_Projects_Call) Run added in v0.30.9

func (*ClientService_Projects_Call) RunAndReturn added in v0.30.9

type ClientService_S3UsageCSV_Call added in v0.30.9

type ClientService_S3UsageCSV_Call struct {
	*mock.Call
}

ClientService_S3UsageCSV_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'S3UsageCSV'

func (*ClientService_S3UsageCSV_Call) Return added in v0.30.9

func (*ClientService_S3UsageCSV_Call) Run added in v0.30.9

func (*ClientService_S3UsageCSV_Call) RunAndReturn added in v0.30.9

type ClientService_S3Usage_Call added in v0.30.9

type ClientService_S3Usage_Call struct {
	*mock.Call
}

ClientService_S3Usage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'S3Usage'

func (*ClientService_S3Usage_Call) Return added in v0.30.9

func (*ClientService_S3Usage_Call) Run added in v0.30.9

func (*ClientService_S3Usage_Call) RunAndReturn added in v0.30.9

type ClientService_SetTransport_Call added in v0.30.9

type ClientService_SetTransport_Call struct {
	*mock.Call
}

ClientService_SetTransport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTransport'

func (*ClientService_SetTransport_Call) Return added in v0.30.9

func (*ClientService_SetTransport_Call) Run added in v0.30.9

func (*ClientService_SetTransport_Call) RunAndReturn added in v0.30.9

type ClientService_VolumeUsageCSV_Call added in v0.30.9

type ClientService_VolumeUsageCSV_Call struct {
	*mock.Call
}

ClientService_VolumeUsageCSV_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VolumeUsageCSV'

func (*ClientService_VolumeUsageCSV_Call) Return added in v0.30.9

func (*ClientService_VolumeUsageCSV_Call) Run added in v0.30.9

func (*ClientService_VolumeUsageCSV_Call) RunAndReturn added in v0.30.9

type ClientService_VolumeUsage_Call added in v0.30.9

type ClientService_VolumeUsage_Call struct {
	*mock.Call
}

ClientService_VolumeUsage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VolumeUsage'

func (*ClientService_VolumeUsage_Call) Return added in v0.30.9

func (*ClientService_VolumeUsage_Call) Run added in v0.30.9

func (*ClientService_VolumeUsage_Call) RunAndReturn added in v0.30.9

Jump to

Keyboard shortcuts

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