Documentation ¶
Index ¶
- type ClientOption
- type ClientService
- func (_m *ClientService) ClusterUsage(params *clientaccounting.ClusterUsageParams, ...) (*clientaccounting.ClusterUsageOK, error)
- func (_m *ClientService) ClusterUsageCSV(params *clientaccounting.ClusterUsageCSVParams, ...) (*clientaccounting.ClusterUsageCSVOK, error)
- func (_m *ClientService) ContainerUsage(params *clientaccounting.ContainerUsageParams, ...) (*clientaccounting.ContainerUsageOK, error)
- func (_m *ClientService) ContainerUsageCSV(params *clientaccounting.ContainerUsageCSVParams, ...) (*clientaccounting.ContainerUsageCSVOK, error)
- func (_m *ClientService) IPUsage(params *clientaccounting.IPUsageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientaccounting.IPUsageOK, error)
- func (_m *ClientService) IPUsageCSV(params *clientaccounting.IPUsageCSVParams, ...) (*clientaccounting.IPUsageCSVOK, error)
- func (_m *ClientService) MachineUsage(params *clientaccounting.MachineUsageParams, ...) (*clientaccounting.MachineUsageOK, error)
- func (_m *ClientService) NetworkUsage(params *clientaccounting.NetworkUsageParams, ...) (*clientaccounting.NetworkUsageOK, error)
- func (_m *ClientService) NetworkUsageCSV(params *clientaccounting.NetworkUsageCSVParams, ...) (*clientaccounting.NetworkUsageCSVOK, error)
- func (_m *ClientService) PostgresUsage(params *clientaccounting.PostgresUsageParams, ...) (*clientaccounting.PostgresUsageOK, error)
- func (_m *ClientService) PostgresUsageCSV(params *clientaccounting.PostgresUsageCSVParams, ...) (*clientaccounting.PostgresUsageCSVOK, error)
- func (_m *ClientService) ProductOptionUsage(params *clientaccounting.ProductOptionUsageParams, ...) (*clientaccounting.ProductOptionUsageOK, error)
- func (_m *ClientService) Projects(params *clientaccounting.ProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientaccounting.ProjectsOK, error)
- func (_m *ClientService) S3Usage(params *clientaccounting.S3UsageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientaccounting.S3UsageOK, error)
- func (_m *ClientService) S3UsageCSV(params *clientaccounting.S3UsageCSVParams, ...) (*clientaccounting.S3UsageCSVOK, error)
- func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_m *ClientService) VolumeUsage(params *clientaccounting.VolumeUsageParams, ...) (*clientaccounting.VolumeUsageOK, error)
- func (_m *ClientService) VolumeUsageCSV(params *clientaccounting.VolumeUsageCSVParams, ...) (*clientaccounting.VolumeUsageCSVOK, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOption ¶
ClientOption is an autogenerated mock type for the ClientOption type
func NewClientOption ¶ added in v0.18.21
func NewClientOption(t interface { mock.TestingT Cleanup(func()) }) *ClientOption
NewClientOption creates a new instance of ClientOption. 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 (*ClientOption) Execute ¶
func (_m *ClientOption) Execute(_a0 *runtime.ClientOperation)
Execute provides a mock function with given fields: _a0
type ClientService ¶
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 ¶
func (_m *ClientService) ClusterUsage(params *clientaccounting.ClusterUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.ClusterUsageOK, error)
ClusterUsage provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ClusterUsageCSV ¶
func (_m *ClientService) ClusterUsageCSV(params *clientaccounting.ClusterUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.ClusterUsageCSVOK, error)
ClusterUsageCSV provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ContainerUsage ¶
func (_m *ClientService) ContainerUsage(params *clientaccounting.ContainerUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.ContainerUsageOK, error)
ContainerUsage provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ContainerUsageCSV ¶
func (_m *ClientService) ContainerUsageCSV(params *clientaccounting.ContainerUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.ContainerUsageCSVOK, error)
ContainerUsageCSV provides a mock function with given fields: params, authInfo, opts
func (*ClientService) IPUsage ¶
func (_m *ClientService) IPUsage(params *clientaccounting.IPUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.IPUsageOK, error)
IPUsage provides a mock function with given fields: params, authInfo, opts
func (*ClientService) IPUsageCSV ¶
func (_m *ClientService) IPUsageCSV(params *clientaccounting.IPUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.IPUsageCSVOK, error)
IPUsageCSV provides a mock function with given fields: params, authInfo, opts
func (*ClientService) MachineUsage ¶ added in v0.23.2
func (_m *ClientService) MachineUsage(params *clientaccounting.MachineUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.MachineUsageOK, error)
MachineUsage provides a mock function with given fields: params, authInfo, opts
func (*ClientService) NetworkUsage ¶
func (_m *ClientService) NetworkUsage(params *clientaccounting.NetworkUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.NetworkUsageOK, error)
NetworkUsage provides a mock function with given fields: params, authInfo, opts
func (*ClientService) NetworkUsageCSV ¶
func (_m *ClientService) NetworkUsageCSV(params *clientaccounting.NetworkUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.NetworkUsageCSVOK, error)
NetworkUsageCSV provides a mock function with given fields: params, authInfo, opts
func (*ClientService) PostgresUsage ¶
func (_m *ClientService) PostgresUsage(params *clientaccounting.PostgresUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.PostgresUsageOK, error)
PostgresUsage provides a mock function with given fields: params, authInfo, opts
func (*ClientService) PostgresUsageCSV ¶
func (_m *ClientService) PostgresUsageCSV(params *clientaccounting.PostgresUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.PostgresUsageCSVOK, error)
PostgresUsageCSV provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ProductOptionUsage ¶ added in v0.23.2
func (_m *ClientService) ProductOptionUsage(params *clientaccounting.ProductOptionUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.ProductOptionUsageOK, error)
ProductOptionUsage provides a mock function with given fields: params, authInfo, opts
func (*ClientService) Projects ¶ added in v0.18.20
func (_m *ClientService) Projects(params *clientaccounting.ProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.ProjectsOK, error)
Projects provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3Usage ¶
func (_m *ClientService) S3Usage(params *clientaccounting.S3UsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.S3UsageOK, error)
S3Usage provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3UsageCSV ¶
func (_m *ClientService) S3UsageCSV(params *clientaccounting.S3UsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.S3UsageCSVOK, error)
S3UsageCSV provides a mock function with given fields: params, authInfo, opts
func (*ClientService) SetTransport ¶
func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function with given fields: transport
func (*ClientService) VolumeUsage ¶
func (_m *ClientService) VolumeUsage(params *clientaccounting.VolumeUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.VolumeUsageOK, error)
VolumeUsage provides a mock function with given fields: params, authInfo, opts
func (*ClientService) VolumeUsageCSV ¶
func (_m *ClientService) VolumeUsageCSV(params *clientaccounting.VolumeUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientaccounting.ClientOption) (*clientaccounting.VolumeUsageCSVOK, error)
VolumeUsageCSV provides a mock function with given fields: params, authInfo, opts