fake

package
v0.25.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCustomMetricsClient

type FakeCustomMetricsClient struct {
	testing.Fake
}

func (*FakeCustomMetricsClient) NamespacedMetrics

func (c *FakeCustomMetricsClient) NamespacedMetrics(namespace string) cmclient.MetricsInterface

func (*FakeCustomMetricsClient) RootScopedMetrics

func (c *FakeCustomMetricsClient) RootScopedMetrics() cmclient.MetricsInterface

type GetForAction

type GetForAction interface {
	testing.GetAction
	GetMetricName() string
	GetLabelSelector() labels.Selector
}

type GetForActionImpl

type GetForActionImpl struct {
	testing.GetAction
	MetricName    string
	LabelSelector labels.Selector
}

func NewGetForAction

func NewGetForAction(groupKind schema.GroupKind, namespace, name string, metricName string, labelSelector labels.Selector) GetForActionImpl

func NewRootGetForAction

func NewRootGetForAction(groupKind schema.GroupKind, name string, metricName string, labelSelector labels.Selector) GetForActionImpl

func (GetForActionImpl) DeepCopy

func (i GetForActionImpl) DeepCopy() testing.Action

func (GetForActionImpl) GetLabelSelector

func (i GetForActionImpl) GetLabelSelector() labels.Selector

func (GetForActionImpl) GetMetricName

func (i GetForActionImpl) GetMetricName() string

func (GetForActionImpl) GetSubresource

func (i GetForActionImpl) GetSubresource() string

Jump to

Keyboard shortcuts

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