Documentation ¶
Index ¶
- func AssertMetricInt(t testing.TB, m pmetric.Metric, expectedMetric string, ...)
- func NewClusterResourceQuota(id string) *quotav1.ClusterResourceQuota
- func NewCronJob(id string) *batchv1.CronJob
- func NewDaemonset(id string) *appsv1.DaemonSet
- func NewDeployment(id string) *appsv1.Deployment
- func NewEvictedTerminatedPodStatusWithContainer(containerName, containerID string) *corev1.PodStatus
- func NewHPA(id string) *autoscalingv2.HorizontalPodAutoscaler
- func NewJob(id string) *batchv1.Job
- func NewNamespace(id string) *corev1.Namespace
- 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 NewReplicationController(id string) *corev1.ReplicationController
- func NewResourceQuota(id string) *corev1.ResourceQuota
- func NewStatefulset(id string) *appsv1.StatefulSet
- func WithOwnerReferences(or []v1.OwnerReference, obj any) any
- type MockStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertMetricInt ¶ added in v0.80.0
func NewClusterResourceQuota ¶ added in v0.82.0
func NewClusterResourceQuota(id string) *quotav1.ClusterResourceQuota
func NewCronJob ¶ added in v0.83.0
func NewDaemonset ¶ added in v0.71.0
func NewDeployment ¶ added in v0.71.0
func NewDeployment(id string) *appsv1.Deployment
func NewEvictedTerminatedPodStatusWithContainer ¶ added in v0.85.0
func NewHPA ¶ added in v0.71.0
func NewHPA(id string) *autoscalingv2.HorizontalPodAutoscaler
func NewNamespace ¶ added in v0.83.0
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 NewReplicationController ¶ added in v0.83.0
func NewReplicationController(id string) *corev1.ReplicationController
func NewResourceQuota ¶ added in v0.83.0
func NewResourceQuota(id string) *corev1.ResourceQuota
func NewStatefulset ¶ added in v0.83.0
func NewStatefulset(id string) *appsv1.StatefulSet
func WithOwnerReferences ¶ added in v0.71.0
func WithOwnerReferences(or []v1.OwnerReference, obj any) any
Types ¶
Click to show internal directories.
Click to hide internal directories.