Documentation ¶
Index ¶
- func AssertMetricsDouble(t *testing.T, actualMetric *metricspb.Metric, expectedMetric string, ...)
- func AssertMetricsInt(t *testing.T, actualMetric *metricspb.Metric, expectedMetric string, ...)
- func AssertMetricsWithLabels(t *testing.T, actualMetric *metricspb.Metric, expectedMetric string, ...)
- func AssertResource(t *testing.T, actualResource *resourcepb.Resource, expectedType string, ...)
- func NewDaemonset(id string) *appsv1.DaemonSet
- func NewDeployment(id string) *appsv1.Deployment
- func NewHPA(id string) *autoscalingv2beta2.HorizontalPodAutoscaler
- func NewJob(id string) *batchv1.Job
- func NewNode(id string) *corev1.Node
- func NewPodSpecWithContainer(containerName string) *corev1.PodSpec
- func NewPodStatusWithContainer(containerName, containerID string) *corev1.PodStatus
- func NewPodWithContainer(id string, spec *corev1.PodSpec, status *corev1.PodStatus) *corev1.Pod
- func NewReplicaSet(id string) *appsv1.ReplicaSet
- func WithOwnerReferences(or []v1.OwnerReference, obj interface{}) interface{}
- type MockStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertMetricsDouble ¶ added in v0.47.0
func AssertMetricsInt ¶ added in v0.47.0
func AssertMetricsWithLabels ¶
func AssertResource ¶
func NewDaemonset ¶ added in v0.71.0
func NewDeployment ¶ added in v0.71.0
func NewDeployment(id string) *appsv1.Deployment
func NewHPA ¶ added in v0.71.0
func NewHPA(id string) *autoscalingv2beta2.HorizontalPodAutoscaler
func NewPodSpecWithContainer ¶ added in v0.71.0
func NewPodStatusWithContainer ¶ added in v0.71.0
func NewPodWithContainer ¶ added in v0.71.0
func NewReplicaSet ¶ added in v0.71.0
func NewReplicaSet(id string) *appsv1.ReplicaSet
func WithOwnerReferences ¶ added in v0.71.0
func WithOwnerReferences(or []v1.OwnerReference, obj interface{}) interface{}
Types ¶
Click to show internal directories.
Click to hide internal directories.