# Functions
And combines matchers.
Callback saves you the toil of creating a struct for a matcher.
InjectConfigMaps puts configmaps into a *ConfigMapList.
InjectHorizontalPodAutoscalers puts hpas into a *HorizontalPodAutoscalerList.
No description provided by the author
No description provided by the author
InjectPrometheusRules puts PrometheusRules into a *PrometheusRuleList.
InjectReplicaSets puts replicasets into a *ReplicaSetList.
InjectSecrets puts secrets into a *SecretList.
InjectServiceLevels puts ServiceLevel into a *ServiceLevelList.
InjectServiceMonitors puts ServiceMonitor into a *ServiceMonitorList.
InjectHorizontalPodAutoscalers puts hpas into a *HorizontalPodAutoscalerList.
Kind matches k8s kinds.
ListOptions matches client.ListOptions.
NamespacedName matches a k8s objects namespace and name.
NewMockClient creates a new mock instance.
ObjectKey matches an argument to an ObjectKey.
UpdateHPASpec sets the spec on a *HorizontalPodAutoscaler.
UpdateKEDAObjectMeta sets the ObjectMeta on a *Keda Scaled Object.
No description provided by the author
No description provided by the author
No description provided by the author
UpdateNamespaceLabes sets the labels on a *Namespace.
UpdateReplicaSetSpec sets the spec on a *ReplicaSet.
UpdateWPAObjectMeta sets the ObjectMeta on a *WorkerPodAutoscaler.
UpdateHPASpec sets the spec on a *HorizontalPodAutoscaler.
# Structs
MockClient is a mock of Client interface.
MockClientMockRecorder is the mock recorder for MockClient.