nodemetrics

package
v0.0.0-...-a9d428c Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: nodemetrics.go

Generated by this command:

mockgen -source=nodemetrics.go -package=nodemetrics -destination=mock_nodemetrics.go NodeMetrics

Package nodemetrics is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNodeMetrics

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

MockNodeMetrics is a mock of NodeMetrics interface.

func NewMockNodeMetrics

func NewMockNodeMetrics(ctrl *gomock.Controller) *MockNodeMetrics

NewMockNodeMetrics creates a new mock instance.

func (*MockNodeMetrics) EXPECT

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

func (*MockNodeMetrics) SetNodeMetricsAsDesired

func (m *MockNodeMetrics) SetNodeMetricsAsDesired(ds *v1.DaemonSet, devConfig *v1alpha1.DeviceConfig) error

SetNodeMetricsAsDesired mocks base method.

type MockNodeMetricsMockRecorder

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

MockNodeMetricsMockRecorder is the mock recorder for MockNodeMetrics.

func (*MockNodeMetricsMockRecorder) SetNodeMetricsAsDesired

func (mr *MockNodeMetricsMockRecorder) SetNodeMetricsAsDesired(ds, devConfig any) *gomock.Call

SetNodeMetricsAsDesired indicates an expected call of SetNodeMetricsAsDesired.

type NodeMetrics

type NodeMetrics interface {
	SetNodeMetricsAsDesired(ds *appsv1.DaemonSet, devConfig *amdv1alpha1.DeviceConfig) error
}

func NewNodeMetrcis

func NewNodeMetrcis(scheme *runtime.Scheme) NodeMetrics

Jump to

Keyboard shortcuts

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