Documentation
¶
Overview ¶
Package env provides the per-test wilhelm environment plus typed resource getters for every namespaced and cluster-scoped resource that the upstream kubernetes.Interface exposes, as well as dynamic-client getters for Gateway API and Prometheus Operator types.
Re-generate the getter catalogue (zz_generated.go) with:
go generate ./env/...
Index ¶
- type Env
- func (env *Env) AssertNone(t *testing.T, name string, assertion assert.Assertable)
- func (env *Env) AssertPartial(t *testing.T, name string, assertion assert.Assertable)
- func (env *Env) GetAdmissionregistrationV1alpha1MutatingAdmissionPolicy(t *testing.T, name string) *v1alpha1.MutatingAdmissionPolicy
- func (env *Env) GetAdmissionregistrationV1alpha1MutatingAdmissionPolicyBinding(t *testing.T, name string) *v1alpha1.MutatingAdmissionPolicyBinding
- func (env *Env) GetAdmissionregistrationV1alpha1MutatingAdmissionPolicyBindingE(t *testing.T, name string) (*v1alpha1.MutatingAdmissionPolicyBinding, error)
- func (env *Env) GetAdmissionregistrationV1alpha1MutatingAdmissionPolicyE(t *testing.T, name string) (*v1alpha1.MutatingAdmissionPolicy, error)
- func (env *Env) GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicy(t *testing.T, name string) *v1alpha1.ValidatingAdmissionPolicy
- func (env *Env) GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBinding(t *testing.T, name string) *v1alpha1.ValidatingAdmissionPolicyBinding
- func (env *Env) GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBindingE(t *testing.T, name string) (*v1alpha1.ValidatingAdmissionPolicyBinding, error)
- func (env *Env) GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicyE(t *testing.T, name string) (*v1alpha1.ValidatingAdmissionPolicy, error)
- func (env *Env) GetAdmissionregistrationV1beta1MutatingAdmissionPolicy(t *testing.T, name string) *v1beta1.MutatingAdmissionPolicy
- func (env *Env) GetAdmissionregistrationV1beta1MutatingAdmissionPolicyBinding(t *testing.T, name string) *v1beta1.MutatingAdmissionPolicyBinding
- func (env *Env) GetAdmissionregistrationV1beta1MutatingAdmissionPolicyBindingE(t *testing.T, name string) (*v1beta1.MutatingAdmissionPolicyBinding, error)
- func (env *Env) GetAdmissionregistrationV1beta1MutatingAdmissionPolicyE(t *testing.T, name string) (*v1beta1.MutatingAdmissionPolicy, error)
- func (env *Env) GetAdmissionregistrationV1beta1MutatingWebhookConfiguration(t *testing.T, name string) *v1beta1.MutatingWebhookConfiguration
- func (env *Env) GetAdmissionregistrationV1beta1MutatingWebhookConfigurationE(t *testing.T, name string) (*v1beta1.MutatingWebhookConfiguration, error)
- func (env *Env) GetAdmissionregistrationV1beta1ValidatingAdmissionPolicy(t *testing.T, name string) *v1beta1.ValidatingAdmissionPolicy
- func (env *Env) GetAdmissionregistrationV1beta1ValidatingAdmissionPolicyBinding(t *testing.T, name string) *v1beta1.ValidatingAdmissionPolicyBinding
- func (env *Env) GetAdmissionregistrationV1beta1ValidatingAdmissionPolicyBindingE(t *testing.T, name string) (*v1beta1.ValidatingAdmissionPolicyBinding, error)
- func (env *Env) GetAdmissionregistrationV1beta1ValidatingAdmissionPolicyE(t *testing.T, name string) (*v1beta1.ValidatingAdmissionPolicy, error)
- func (env *Env) GetAdmissionregistrationV1beta1ValidatingWebhookConfiguration(t *testing.T, name string) *v1beta1.ValidatingWebhookConfiguration
- func (env *Env) GetAdmissionregistrationV1beta1ValidatingWebhookConfigurationE(t *testing.T, name string) (*v1beta1.ValidatingWebhookConfiguration, error)
- func (env *Env) GetAlertmanager(t *testing.T, name string) *v119.Alertmanager
- func (env *Env) GetAlertmanagerE(t *testing.T, name string) (*v119.Alertmanager, error)
- func (env *Env) GetAppsV1beta1ControllerRevision(t *testing.T, name string) *v1beta11.ControllerRevision
- func (env *Env) GetAppsV1beta1ControllerRevisionE(t *testing.T, name string) (*v1beta11.ControllerRevision, error)
- func (env *Env) GetAppsV1beta1Deployment(t *testing.T, name string) *v1beta11.Deployment
- func (env *Env) GetAppsV1beta1DeploymentE(t *testing.T, name string) (*v1beta11.Deployment, error)
- func (env *Env) GetAppsV1beta1StatefulSet(t *testing.T, name string) *v1beta11.StatefulSet
- func (env *Env) GetAppsV1beta1StatefulSetE(t *testing.T, name string) (*v1beta11.StatefulSet, error)
- func (env *Env) GetAppsV1beta2ControllerRevision(t *testing.T, name string) *v1beta2.ControllerRevision
- func (env *Env) GetAppsV1beta2ControllerRevisionE(t *testing.T, name string) (*v1beta2.ControllerRevision, error)
- func (env *Env) GetAppsV1beta2DaemonSet(t *testing.T, name string) *v1beta2.DaemonSet
- func (env *Env) GetAppsV1beta2DaemonSetE(t *testing.T, name string) (*v1beta2.DaemonSet, error)
- func (env *Env) GetAppsV1beta2Deployment(t *testing.T, name string) *v1beta2.Deployment
- func (env *Env) GetAppsV1beta2DeploymentE(t *testing.T, name string) (*v1beta2.Deployment, error)
- func (env *Env) GetAppsV1beta2ReplicaSet(t *testing.T, name string) *v1beta2.ReplicaSet
- func (env *Env) GetAppsV1beta2ReplicaSetE(t *testing.T, name string) (*v1beta2.ReplicaSet, error)
- func (env *Env) GetAppsV1beta2StatefulSet(t *testing.T, name string) *v1beta2.StatefulSet
- func (env *Env) GetAppsV1beta2StatefulSetE(t *testing.T, name string) (*v1beta2.StatefulSet, error)
- func (env *Env) GetAutoscalingV1HorizontalPodAutoscaler(t *testing.T, name string) *v13.HorizontalPodAutoscaler
- func (env *Env) GetAutoscalingV1HorizontalPodAutoscalerE(t *testing.T, name string) (*v13.HorizontalPodAutoscaler, error)
- func (env *Env) GetBackendTLSPolicy(t *testing.T, name string) *v118.BackendTLSPolicy
- func (env *Env) GetBackendTLSPolicyE(t *testing.T, name string) (*v118.BackendTLSPolicy, error)
- func (env *Env) GetBatchV1beta1CronJob(t *testing.T, name string) *v1beta12.CronJob
- func (env *Env) GetBatchV1beta1CronJobE(t *testing.T, name string) (*v1beta12.CronJob, error)
- func (env *Env) GetCSIDriver(t *testing.T, name string) *v117.CSIDriver
- func (env *Env) GetCSIDriverE(t *testing.T, name string) (*v117.CSIDriver, error)
- func (env *Env) GetCSINode(t *testing.T, name string) *v117.CSINode
- func (env *Env) GetCSINodeE(t *testing.T, name string) (*v117.CSINode, error)
- func (env *Env) GetCSIStorageCapacity(t *testing.T, name string) *v117.CSIStorageCapacity
- func (env *Env) GetCSIStorageCapacityE(t *testing.T, name string) (*v117.CSIStorageCapacity, error)
- func (env *Env) GetCertificateSigningRequest(t *testing.T, name string) *v15.CertificateSigningRequest
- func (env *Env) GetCertificateSigningRequestE(t *testing.T, name string) (*v15.CertificateSigningRequest, error)
- func (env *Env) GetCertificatesV1alpha1ClusterTrustBundle(t *testing.T, name string) *v1alpha11.ClusterTrustBundle
- func (env *Env) GetCertificatesV1alpha1ClusterTrustBundleE(t *testing.T, name string) (*v1alpha11.ClusterTrustBundle, error)
- func (env *Env) GetCertificatesV1beta1CertificateSigningRequest(t *testing.T, name string) *v1beta13.CertificateSigningRequest
- func (env *Env) GetCertificatesV1beta1CertificateSigningRequestE(t *testing.T, name string) (*v1beta13.CertificateSigningRequest, error)
- func (env *Env) GetClusterRole(t *testing.T, name string) *v114.ClusterRole
- func (env *Env) GetClusterRoleBinding(t *testing.T, name string) *v114.ClusterRoleBinding
- func (env *Env) GetClusterRoleBindingE(t *testing.T, name string) (*v114.ClusterRoleBinding, error)
- func (env *Env) GetClusterRoleE(t *testing.T, name string) (*v114.ClusterRole, error)
- func (env *Env) GetClusterTrustBundle(t *testing.T, name string) *v1beta13.ClusterTrustBundle
- func (env *Env) GetClusterTrustBundleE(t *testing.T, name string) (*v1beta13.ClusterTrustBundle, error)
- func (env *Env) GetComponentStatus(t *testing.T, name string) *v17.ComponentStatus
- func (env *Env) GetComponentStatusE(t *testing.T, name string) (*v17.ComponentStatus, error)
- func (env *Env) GetConfigMap(t *testing.T, name string) *v17.ConfigMap
- func (env *Env) GetConfigMapE(t *testing.T, name string) (*v17.ConfigMap, error)
- func (env *Env) GetControllerRevision(t *testing.T, name string) *v12.ControllerRevision
- func (env *Env) GetControllerRevisionE(t *testing.T, name string) (*v12.ControllerRevision, error)
- func (env *Env) GetCoordinationV1alpha2LeaseCandidate(t *testing.T, name string) *v1alpha2.LeaseCandidate
- func (env *Env) GetCoordinationV1alpha2LeaseCandidateE(t *testing.T, name string) (*v1alpha2.LeaseCandidate, error)
- func (env *Env) GetCoordinationV1beta1Lease(t *testing.T, name string) *v1beta14.Lease
- func (env *Env) GetCoordinationV1beta1LeaseE(t *testing.T, name string) (*v1beta14.Lease, error)
- func (env *Env) GetCronJob(t *testing.T, name string) *v14.CronJob
- func (env *Env) GetCronJobE(t *testing.T, name string) (*v14.CronJob, error)
- func (env *Env) GetDaemonSet(t *testing.T, name string) *v12.DaemonSet
- func (env *Env) GetDaemonSetE(t *testing.T, name string) (*v12.DaemonSet, error)
- func (env *Env) GetDeployment(t *testing.T, name string) *v12.Deployment
- func (env *Env) GetDeploymentE(t *testing.T, name string) (*v12.Deployment, error)
- func (env *Env) GetDeviceClass(t *testing.T, name string) *v115.DeviceClass
- func (env *Env) GetDeviceClassE(t *testing.T, name string) (*v115.DeviceClass, error)
- func (env *Env) GetDeviceTaintRule(t *testing.T, name string) *v1beta22.DeviceTaintRule
- func (env *Env) GetDeviceTaintRuleE(t *testing.T, name string) (*v1beta22.DeviceTaintRule, error)
- func (env *Env) GetDiscoveryV1beta1EndpointSlice(t *testing.T, name string) *v1beta15.EndpointSlice
- func (env *Env) GetDiscoveryV1beta1EndpointSliceE(t *testing.T, name string) (*v1beta15.EndpointSlice, error)
- func (env *Env) GetEndpointSlice(t *testing.T, name string) *v18.EndpointSlice
- func (env *Env) GetEndpointSliceE(t *testing.T, name string) (*v18.EndpointSlice, error)
- func (env *Env) GetEndpoints(t *testing.T, name string) *v17.Endpoints
- func (env *Env) GetEndpointsE(t *testing.T, name string) (*v17.Endpoints, error)
- func (env *Env) GetEvent(t *testing.T, name string) *v17.Event
- func (env *Env) GetEventE(t *testing.T, name string) (*v17.Event, error)
- func (env *Env) GetEventsV1Event(t *testing.T, name string) *v19.Event
- func (env *Env) GetEventsV1EventE(t *testing.T, name string) (*v19.Event, error)
- func (env *Env) GetEventsV1beta1Event(t *testing.T, name string) *v1beta16.Event
- func (env *Env) GetEventsV1beta1EventE(t *testing.T, name string) (*v1beta16.Event, error)
- func (env *Env) GetExtensionsV1beta1DaemonSet(t *testing.T, name string) *v1beta17.DaemonSet
- func (env *Env) GetExtensionsV1beta1DaemonSetE(t *testing.T, name string) (*v1beta17.DaemonSet, error)
- func (env *Env) GetExtensionsV1beta1Deployment(t *testing.T, name string) *v1beta17.Deployment
- func (env *Env) GetExtensionsV1beta1DeploymentE(t *testing.T, name string) (*v1beta17.Deployment, error)
- func (env *Env) GetExtensionsV1beta1Ingress(t *testing.T, name string) *v1beta17.Ingress
- func (env *Env) GetExtensionsV1beta1IngressE(t *testing.T, name string) (*v1beta17.Ingress, error)
- func (env *Env) GetExtensionsV1beta1NetworkPolicy(t *testing.T, name string) *v1beta17.NetworkPolicy
- func (env *Env) GetExtensionsV1beta1NetworkPolicyE(t *testing.T, name string) (*v1beta17.NetworkPolicy, error)
- func (env *Env) GetExtensionsV1beta1ReplicaSet(t *testing.T, name string) *v1beta17.ReplicaSet
- func (env *Env) GetExtensionsV1beta1ReplicaSetE(t *testing.T, name string) (*v1beta17.ReplicaSet, error)
- func (env *Env) GetFlowSchema(t *testing.T, name string) *v110.FlowSchema
- func (env *Env) GetFlowSchemaE(t *testing.T, name string) (*v110.FlowSchema, error)
- func (env *Env) GetFlowcontrolV1beta1FlowSchema(t *testing.T, name string) *v1beta18.FlowSchema
- func (env *Env) GetFlowcontrolV1beta1FlowSchemaE(t *testing.T, name string) (*v1beta18.FlowSchema, error)
- func (env *Env) GetFlowcontrolV1beta1PriorityLevelConfiguration(t *testing.T, name string) *v1beta18.PriorityLevelConfiguration
- func (env *Env) GetFlowcontrolV1beta1PriorityLevelConfigurationE(t *testing.T, name string) (*v1beta18.PriorityLevelConfiguration, error)
- func (env *Env) GetFlowcontrolV1beta2FlowSchema(t *testing.T, name string) *v1beta21.FlowSchema
- func (env *Env) GetFlowcontrolV1beta2FlowSchemaE(t *testing.T, name string) (*v1beta21.FlowSchema, error)
- func (env *Env) GetFlowcontrolV1beta2PriorityLevelConfiguration(t *testing.T, name string) *v1beta21.PriorityLevelConfiguration
- func (env *Env) GetFlowcontrolV1beta2PriorityLevelConfigurationE(t *testing.T, name string) (*v1beta21.PriorityLevelConfiguration, error)
- func (env *Env) GetFlowcontrolV1beta3FlowSchema(t *testing.T, name string) *v1beta3.FlowSchema
- func (env *Env) GetFlowcontrolV1beta3FlowSchemaE(t *testing.T, name string) (*v1beta3.FlowSchema, error)
- func (env *Env) GetFlowcontrolV1beta3PriorityLevelConfiguration(t *testing.T, name string) *v1beta3.PriorityLevelConfiguration
- func (env *Env) GetFlowcontrolV1beta3PriorityLevelConfigurationE(t *testing.T, name string) (*v1beta3.PriorityLevelConfiguration, error)
- func (env *Env) GetGRPCRoute(t *testing.T, name string) *v118.GRPCRoute
- func (env *Env) GetGRPCRouteE(t *testing.T, name string) (*v118.GRPCRoute, error)
- func (env *Env) GetGateway(t *testing.T, name string) *v118.Gateway
- func (env *Env) GetGatewayClass(t *testing.T, name string) *v118.GatewayClass
- func (env *Env) GetGatewayClassE(t *testing.T, name string) (*v118.GatewayClass, error)
- func (env *Env) GetGatewayE(t *testing.T, name string) (*v118.Gateway, error)
- func (env *Env) GetHTTPRoute(t *testing.T, name string) *v118.HTTPRoute
- func (env *Env) GetHTTPRouteE(t *testing.T, name string) (*v118.HTTPRoute, error)
- func (env *Env) GetHorizontalPodAutoscaler(t *testing.T, name string) *v2.HorizontalPodAutoscaler
- func (env *Env) GetHorizontalPodAutoscalerE(t *testing.T, name string) (*v2.HorizontalPodAutoscaler, error)
- func (env *Env) GetIPAddress(t *testing.T, name string) *v111.IPAddress
- func (env *Env) GetIPAddressE(t *testing.T, name string) (*v111.IPAddress, error)
- func (env *Env) GetIngress(t *testing.T, name string) *v111.Ingress
- func (env *Env) GetIngressClass(t *testing.T, name string) *v111.IngressClass
- func (env *Env) GetIngressClassE(t *testing.T, name string) (*v111.IngressClass, error)
- func (env *Env) GetIngressE(t *testing.T, name string) (*v111.Ingress, error)
- func (env *Env) GetJob(t *testing.T, name string) *v14.Job
- func (env *Env) GetJobE(t *testing.T, name string) (*v14.Job, error)
- func (env *Env) GetLease(t *testing.T, name string) *v16.Lease
- func (env *Env) GetLeaseCandidate(t *testing.T, name string) *v1beta14.LeaseCandidate
- func (env *Env) GetLeaseCandidateE(t *testing.T, name string) (*v1beta14.LeaseCandidate, error)
- func (env *Env) GetLeaseE(t *testing.T, name string) (*v16.Lease, error)
- func (env *Env) GetLimitRange(t *testing.T, name string) *v17.LimitRange
- func (env *Env) GetLimitRangeE(t *testing.T, name string) (*v17.LimitRange, error)
- func (env *Env) GetListenerSet(t *testing.T, name string) *v118.ListenerSet
- func (env *Env) GetListenerSetE(t *testing.T, name string) (*v118.ListenerSet, error)
- func (env *Env) GetMutatingAdmissionPolicy(t *testing.T, name string) *v1.MutatingAdmissionPolicy
- func (env *Env) GetMutatingAdmissionPolicyBinding(t *testing.T, name string) *v1.MutatingAdmissionPolicyBinding
- func (env *Env) GetMutatingAdmissionPolicyBindingE(t *testing.T, name string) (*v1.MutatingAdmissionPolicyBinding, error)
- func (env *Env) GetMutatingAdmissionPolicyE(t *testing.T, name string) (*v1.MutatingAdmissionPolicy, error)
- func (env *Env) GetMutatingWebhookConfiguration(t *testing.T, name string) *v1.MutatingWebhookConfiguration
- func (env *Env) GetMutatingWebhookConfigurationE(t *testing.T, name string) (*v1.MutatingWebhookConfiguration, error)
- func (env *Env) GetNamespace(t *testing.T, name string) *v17.Namespace
- func (env *Env) GetNamespaceE(t *testing.T, name string) (*v17.Namespace, error)
- func (env *Env) GetNetworkPolicy(t *testing.T, name string) *v111.NetworkPolicy
- func (env *Env) GetNetworkPolicyE(t *testing.T, name string) (*v111.NetworkPolicy, error)
- func (env *Env) GetNetworkingV1beta1IPAddress(t *testing.T, name string) *v1beta19.IPAddress
- func (env *Env) GetNetworkingV1beta1IPAddressE(t *testing.T, name string) (*v1beta19.IPAddress, error)
- func (env *Env) GetNetworkingV1beta1Ingress(t *testing.T, name string) *v1beta19.Ingress
- func (env *Env) GetNetworkingV1beta1IngressClass(t *testing.T, name string) *v1beta19.IngressClass
- func (env *Env) GetNetworkingV1beta1IngressClassE(t *testing.T, name string) (*v1beta19.IngressClass, error)
- func (env *Env) GetNetworkingV1beta1IngressE(t *testing.T, name string) (*v1beta19.Ingress, error)
- func (env *Env) GetNetworkingV1beta1ServiceCIDR(t *testing.T, name string) *v1beta19.ServiceCIDR
- func (env *Env) GetNetworkingV1beta1ServiceCIDRE(t *testing.T, name string) (*v1beta19.ServiceCIDR, error)
- func (env *Env) GetNode(t *testing.T, name string) *v17.Node
- func (env *Env) GetNodeE(t *testing.T, name string) (*v17.Node, error)
- func (env *Env) GetNodeV1alpha1RuntimeClass(t *testing.T, name string) *v1alpha13.RuntimeClass
- func (env *Env) GetNodeV1alpha1RuntimeClassE(t *testing.T, name string) (*v1alpha13.RuntimeClass, error)
- func (env *Env) GetNodeV1beta1RuntimeClass(t *testing.T, name string) *v1beta110.RuntimeClass
- func (env *Env) GetNodeV1beta1RuntimeClassE(t *testing.T, name string) (*v1beta110.RuntimeClass, error)
- func (env *Env) GetPersistentVolume(t *testing.T, name string) *v17.PersistentVolume
- func (env *Env) GetPersistentVolumeClaim(t *testing.T, name string) *v17.PersistentVolumeClaim
- func (env *Env) GetPersistentVolumeClaimE(t *testing.T, name string) (*v17.PersistentVolumeClaim, error)
- func (env *Env) GetPersistentVolumeE(t *testing.T, name string) (*v17.PersistentVolume, error)
- func (env *Env) GetPod(t *testing.T, name string) *v17.Pod
- func (env *Env) GetPodCertificateRequest(t *testing.T, name string) *v1beta13.PodCertificateRequest
- func (env *Env) GetPodCertificateRequestE(t *testing.T, name string) (*v1beta13.PodCertificateRequest, error)
- func (env *Env) GetPodDisruptionBudget(t *testing.T, name string) *v113.PodDisruptionBudget
- func (env *Env) GetPodDisruptionBudgetE(t *testing.T, name string) (*v113.PodDisruptionBudget, error)
- func (env *Env) GetPodE(t *testing.T, name string) (*v17.Pod, error)
- func (env *Env) GetPodGroup(t *testing.T, name string) *v1alpha21.PodGroup
- func (env *Env) GetPodGroupE(t *testing.T, name string) (*v1alpha21.PodGroup, error)
- func (env *Env) GetPodMonitor(t *testing.T, name string) *v119.PodMonitor
- func (env *Env) GetPodMonitorE(t *testing.T, name string) (*v119.PodMonitor, error)
- func (env *Env) GetPodTemplate(t *testing.T, name string) *v17.PodTemplate
- func (env *Env) GetPodTemplateE(t *testing.T, name string) (*v17.PodTemplate, error)
- func (env *Env) GetPolicyV1beta1PodDisruptionBudget(t *testing.T, name string) *v1beta111.PodDisruptionBudget
- func (env *Env) GetPolicyV1beta1PodDisruptionBudgetE(t *testing.T, name string) (*v1beta111.PodDisruptionBudget, error)
- func (env *Env) GetPriorityClass(t *testing.T, name string) *v116.PriorityClass
- func (env *Env) GetPriorityClassE(t *testing.T, name string) (*v116.PriorityClass, error)
- func (env *Env) GetPriorityLevelConfiguration(t *testing.T, name string) *v110.PriorityLevelConfiguration
- func (env *Env) GetPriorityLevelConfigurationE(t *testing.T, name string) (*v110.PriorityLevelConfiguration, error)
- func (env *Env) GetProbe(t *testing.T, name string) *v119.Probe
- func (env *Env) GetProbeE(t *testing.T, name string) (*v119.Probe, error)
- func (env *Env) GetPrometheus(t *testing.T, name string) *v119.Prometheus
- func (env *Env) GetPrometheusE(t *testing.T, name string) (*v119.Prometheus, error)
- func (env *Env) GetPrometheusRule(t *testing.T, name string) *v119.PrometheusRule
- func (env *Env) GetPrometheusRuleE(t *testing.T, name string) (*v119.PrometheusRule, error)
- func (env *Env) GetRbacV1alpha1ClusterRole(t *testing.T, name string) *v1alpha14.ClusterRole
- func (env *Env) GetRbacV1alpha1ClusterRoleBinding(t *testing.T, name string) *v1alpha14.ClusterRoleBinding
- func (env *Env) GetRbacV1alpha1ClusterRoleBindingE(t *testing.T, name string) (*v1alpha14.ClusterRoleBinding, error)
- func (env *Env) GetRbacV1alpha1ClusterRoleE(t *testing.T, name string) (*v1alpha14.ClusterRole, error)
- func (env *Env) GetRbacV1alpha1Role(t *testing.T, name string) *v1alpha14.Role
- func (env *Env) GetRbacV1alpha1RoleBinding(t *testing.T, name string) *v1alpha14.RoleBinding
- func (env *Env) GetRbacV1alpha1RoleBindingE(t *testing.T, name string) (*v1alpha14.RoleBinding, error)
- func (env *Env) GetRbacV1alpha1RoleE(t *testing.T, name string) (*v1alpha14.Role, error)
- func (env *Env) GetRbacV1beta1ClusterRole(t *testing.T, name string) *v1beta112.ClusterRole
- func (env *Env) GetRbacV1beta1ClusterRoleBinding(t *testing.T, name string) *v1beta112.ClusterRoleBinding
- func (env *Env) GetRbacV1beta1ClusterRoleBindingE(t *testing.T, name string) (*v1beta112.ClusterRoleBinding, error)
- func (env *Env) GetRbacV1beta1ClusterRoleE(t *testing.T, name string) (*v1beta112.ClusterRole, error)
- func (env *Env) GetRbacV1beta1Role(t *testing.T, name string) *v1beta112.Role
- func (env *Env) GetRbacV1beta1RoleBinding(t *testing.T, name string) *v1beta112.RoleBinding
- func (env *Env) GetRbacV1beta1RoleBindingE(t *testing.T, name string) (*v1beta112.RoleBinding, error)
- func (env *Env) GetRbacV1beta1RoleE(t *testing.T, name string) (*v1beta112.Role, error)
- func (env *Env) GetReferenceGrant(t *testing.T, name string) *v118.ReferenceGrant
- func (env *Env) GetReferenceGrantE(t *testing.T, name string) (*v118.ReferenceGrant, error)
- func (env *Env) GetReplicaSet(t *testing.T, name string) *v12.ReplicaSet
- func (env *Env) GetReplicaSetE(t *testing.T, name string) (*v12.ReplicaSet, error)
- func (env *Env) GetReplicationController(t *testing.T, name string) *v17.ReplicationController
- func (env *Env) GetReplicationControllerE(t *testing.T, name string) (*v17.ReplicationController, error)
- func (env *Env) GetResourceClaim(t *testing.T, name string) *v115.ResourceClaim
- func (env *Env) GetResourceClaimE(t *testing.T, name string) (*v115.ResourceClaim, error)
- func (env *Env) GetResourceClaimTemplate(t *testing.T, name string) *v115.ResourceClaimTemplate
- func (env *Env) GetResourceClaimTemplateE(t *testing.T, name string) (*v115.ResourceClaimTemplate, error)
- func (env *Env) GetResourcePoolStatusRequest(t *testing.T, name string) *v1alpha3.ResourcePoolStatusRequest
- func (env *Env) GetResourcePoolStatusRequestE(t *testing.T, name string) (*v1alpha3.ResourcePoolStatusRequest, error)
- func (env *Env) GetResourceQuota(t *testing.T, name string) *v17.ResourceQuota
- func (env *Env) GetResourceQuotaE(t *testing.T, name string) (*v17.ResourceQuota, error)
- func (env *Env) GetResourceSlice(t *testing.T, name string) *v115.ResourceSlice
- func (env *Env) GetResourceSliceE(t *testing.T, name string) (*v115.ResourceSlice, error)
- func (env *Env) GetResourceV1alpha3DeviceTaintRule(t *testing.T, name string) *v1alpha3.DeviceTaintRule
- func (env *Env) GetResourceV1alpha3DeviceTaintRuleE(t *testing.T, name string) (*v1alpha3.DeviceTaintRule, error)
- func (env *Env) GetResourceV1beta1DeviceClass(t *testing.T, name string) *v1beta113.DeviceClass
- func (env *Env) GetResourceV1beta1DeviceClassE(t *testing.T, name string) (*v1beta113.DeviceClass, error)
- func (env *Env) GetResourceV1beta1ResourceClaim(t *testing.T, name string) *v1beta113.ResourceClaim
- func (env *Env) GetResourceV1beta1ResourceClaimE(t *testing.T, name string) (*v1beta113.ResourceClaim, error)
- func (env *Env) GetResourceV1beta1ResourceClaimTemplate(t *testing.T, name string) *v1beta113.ResourceClaimTemplate
- func (env *Env) GetResourceV1beta1ResourceClaimTemplateE(t *testing.T, name string) (*v1beta113.ResourceClaimTemplate, error)
- func (env *Env) GetResourceV1beta1ResourceSlice(t *testing.T, name string) *v1beta113.ResourceSlice
- func (env *Env) GetResourceV1beta1ResourceSliceE(t *testing.T, name string) (*v1beta113.ResourceSlice, error)
- func (env *Env) GetResourceV1beta2DeviceClass(t *testing.T, name string) *v1beta22.DeviceClass
- func (env *Env) GetResourceV1beta2DeviceClassE(t *testing.T, name string) (*v1beta22.DeviceClass, error)
- func (env *Env) GetResourceV1beta2ResourceClaim(t *testing.T, name string) *v1beta22.ResourceClaim
- func (env *Env) GetResourceV1beta2ResourceClaimE(t *testing.T, name string) (*v1beta22.ResourceClaim, error)
- func (env *Env) GetResourceV1beta2ResourceClaimTemplate(t *testing.T, name string) *v1beta22.ResourceClaimTemplate
- func (env *Env) GetResourceV1beta2ResourceClaimTemplateE(t *testing.T, name string) (*v1beta22.ResourceClaimTemplate, error)
- func (env *Env) GetResourceV1beta2ResourceSlice(t *testing.T, name string) *v1beta22.ResourceSlice
- func (env *Env) GetResourceV1beta2ResourceSliceE(t *testing.T, name string) (*v1beta22.ResourceSlice, error)
- func (env *Env) GetRole(t *testing.T, name string) *v114.Role
- func (env *Env) GetRoleBinding(t *testing.T, name string) *v114.RoleBinding
- func (env *Env) GetRoleBindingE(t *testing.T, name string) (*v114.RoleBinding, error)
- func (env *Env) GetRoleE(t *testing.T, name string) (*v114.Role, error)
- func (env *Env) GetRuntimeClass(t *testing.T, name string) *v112.RuntimeClass
- func (env *Env) GetRuntimeClassE(t *testing.T, name string) (*v112.RuntimeClass, error)
- func (env *Env) GetSchedulingV1beta1PriorityClass(t *testing.T, name string) *v1beta114.PriorityClass
- func (env *Env) GetSchedulingV1beta1PriorityClassE(t *testing.T, name string) (*v1beta114.PriorityClass, error)
- func (env *Env) GetSecret(t *testing.T, name string) *v17.Secret
- func (env *Env) GetSecretE(t *testing.T, name string) (*v17.Secret, error)
- func (env *Env) GetService(t *testing.T, name string) *v17.Service
- func (env *Env) GetServiceAccount(t *testing.T, name string) *v17.ServiceAccount
- func (env *Env) GetServiceAccountE(t *testing.T, name string) (*v17.ServiceAccount, error)
- func (env *Env) GetServiceCIDR(t *testing.T, name string) *v111.ServiceCIDR
- func (env *Env) GetServiceCIDRE(t *testing.T, name string) (*v111.ServiceCIDR, error)
- func (env *Env) GetServiceE(t *testing.T, name string) (*v17.Service, error)
- func (env *Env) GetServiceMonitor(t *testing.T, name string) *v119.ServiceMonitor
- func (env *Env) GetServiceMonitorE(t *testing.T, name string) (*v119.ServiceMonitor, error)
- func (env *Env) GetStatefulSet(t *testing.T, name string) *v12.StatefulSet
- func (env *Env) GetStatefulSetE(t *testing.T, name string) (*v12.StatefulSet, error)
- func (env *Env) GetStorageClass(t *testing.T, name string) *v117.StorageClass
- func (env *Env) GetStorageClassE(t *testing.T, name string) (*v117.StorageClass, error)
- func (env *Env) GetStorageV1alpha1CSIStorageCapacity(t *testing.T, name string) *v1alpha15.CSIStorageCapacity
- func (env *Env) GetStorageV1alpha1CSIStorageCapacityE(t *testing.T, name string) (*v1alpha15.CSIStorageCapacity, error)
- func (env *Env) GetStorageV1alpha1VolumeAttachment(t *testing.T, name string) *v1alpha15.VolumeAttachment
- func (env *Env) GetStorageV1alpha1VolumeAttachmentE(t *testing.T, name string) (*v1alpha15.VolumeAttachment, error)
- func (env *Env) GetStorageV1alpha1VolumeAttributesClass(t *testing.T, name string) *v1alpha15.VolumeAttributesClass
- func (env *Env) GetStorageV1alpha1VolumeAttributesClassE(t *testing.T, name string) (*v1alpha15.VolumeAttributesClass, error)
- func (env *Env) GetStorageV1beta1CSIDriver(t *testing.T, name string) *v1beta115.CSIDriver
- func (env *Env) GetStorageV1beta1CSIDriverE(t *testing.T, name string) (*v1beta115.CSIDriver, error)
- func (env *Env) GetStorageV1beta1CSINode(t *testing.T, name string) *v1beta115.CSINode
- func (env *Env) GetStorageV1beta1CSINodeE(t *testing.T, name string) (*v1beta115.CSINode, error)
- func (env *Env) GetStorageV1beta1CSIStorageCapacity(t *testing.T, name string) *v1beta115.CSIStorageCapacity
- func (env *Env) GetStorageV1beta1CSIStorageCapacityE(t *testing.T, name string) (*v1beta115.CSIStorageCapacity, error)
- func (env *Env) GetStorageV1beta1StorageClass(t *testing.T, name string) *v1beta115.StorageClass
- func (env *Env) GetStorageV1beta1StorageClassE(t *testing.T, name string) (*v1beta115.StorageClass, error)
- func (env *Env) GetStorageV1beta1VolumeAttachment(t *testing.T, name string) *v1beta115.VolumeAttachment
- func (env *Env) GetStorageV1beta1VolumeAttachmentE(t *testing.T, name string) (*v1beta115.VolumeAttachment, error)
- func (env *Env) GetStorageV1beta1VolumeAttributesClass(t *testing.T, name string) *v1beta115.VolumeAttributesClass
- func (env *Env) GetStorageV1beta1VolumeAttributesClassE(t *testing.T, name string) (*v1beta115.VolumeAttributesClass, error)
- func (env *Env) GetStorageVersion(t *testing.T, name string) *v1alpha12.StorageVersion
- func (env *Env) GetStorageVersionE(t *testing.T, name string) (*v1alpha12.StorageVersion, error)
- func (env *Env) GetStorageVersionMigration(t *testing.T, name string) *v1beta116.StorageVersionMigration
- func (env *Env) GetStorageVersionMigrationE(t *testing.T, name string) (*v1beta116.StorageVersionMigration, error)
- func (env *Env) GetTLSRoute(t *testing.T, name string) *v118.TLSRoute
- func (env *Env) GetTLSRouteE(t *testing.T, name string) (*v118.TLSRoute, error)
- func (env *Env) GetThanosRuler(t *testing.T, name string) *v119.ThanosRuler
- func (env *Env) GetThanosRulerE(t *testing.T, name string) (*v119.ThanosRuler, error)
- func (env *Env) GetValidatingAdmissionPolicy(t *testing.T, name string) *v1.ValidatingAdmissionPolicy
- func (env *Env) GetValidatingAdmissionPolicyBinding(t *testing.T, name string) *v1.ValidatingAdmissionPolicyBinding
- func (env *Env) GetValidatingAdmissionPolicyBindingE(t *testing.T, name string) (*v1.ValidatingAdmissionPolicyBinding, error)
- func (env *Env) GetValidatingAdmissionPolicyE(t *testing.T, name string) (*v1.ValidatingAdmissionPolicy, error)
- func (env *Env) GetValidatingWebhookConfiguration(t *testing.T, name string) *v1.ValidatingWebhookConfiguration
- func (env *Env) GetValidatingWebhookConfigurationE(t *testing.T, name string) (*v1.ValidatingWebhookConfiguration, error)
- func (env *Env) GetVolumeAttachment(t *testing.T, name string) *v117.VolumeAttachment
- func (env *Env) GetVolumeAttachmentE(t *testing.T, name string) (*v117.VolumeAttachment, error)
- func (env *Env) GetVolumeAttributesClass(t *testing.T, name string) *v117.VolumeAttributesClass
- func (env *Env) GetVolumeAttributesClassE(t *testing.T, name string) (*v117.VolumeAttributesClass, error)
- func (env *Env) GetWorkload(t *testing.T, name string) *v1alpha21.Workload
- func (env *Env) GetWorkloadE(t *testing.T, name string) (*v1alpha21.Workload, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct {
// Ctx is forwarded to every API call. Tests may set a per-test timeout
// or cancellation context by replacing this field.
Ctx context.Context
// Namespace is the target namespace for every namespaced lookup.
Namespace string
// Client is the typed Kubernetes clientset.
Client *kubernetes.Clientset
// DynamicClient fetches arbitrary resources (CRDs and core types alike)
// as unstructured.Unstructured values.
DynamicClient dynamic.Interface
}
Env is the per-test environment passed to wilhelm's resource getters and AssertPartial dispatcher. It owns a Kubernetes typed client, a dynamic client (for CRDs that wilhelm does not have a typed clientset for), the target namespace, and a base context used by every API call.
func NewEnv ¶
NewEnv builds an Env from a *rest.Config and a target namespace. Tests obtain the rest.Config however they like (in-cluster, kubeconfig file, custom transport) and pass it in.
func NewEnvWithContext ¶
NewEnvWithContext is like NewEnv but accepts an explicit base context.
func (*Env) AssertNone ¶
AssertNone asserts that the K8s resource implied by the assertion type does not exist (the GET returns NotFound). The resource type is inferred from the concrete assertion struct via a type switch.
func (*Env) AssertPartial ¶
AssertPartial fetches the K8s resource implied by the assertion type and runs a partial assertion. The resource type is inferred from the concrete assertion struct via a type switch.
func (*Env) GetAdmissionregistrationV1alpha1MutatingAdmissionPolicy ¶
func (env *Env) GetAdmissionregistrationV1alpha1MutatingAdmissionPolicy(t *testing.T, name string) *v1alpha1.MutatingAdmissionPolicy
GetAdmissionregistrationV1alpha1MutatingAdmissionPolicy fetches a AdmissionregistrationV1alpha1MutatingAdmissionPolicy by name, failing the test on error.
func (*Env) GetAdmissionregistrationV1alpha1MutatingAdmissionPolicyBinding ¶
func (env *Env) GetAdmissionregistrationV1alpha1MutatingAdmissionPolicyBinding(t *testing.T, name string) *v1alpha1.MutatingAdmissionPolicyBinding
GetAdmissionregistrationV1alpha1MutatingAdmissionPolicyBinding fetches a AdmissionregistrationV1alpha1MutatingAdmissionPolicyBinding by name, failing the test on error.
func (*Env) GetAdmissionregistrationV1alpha1MutatingAdmissionPolicyBindingE ¶
func (env *Env) GetAdmissionregistrationV1alpha1MutatingAdmissionPolicyBindingE(t *testing.T, name string) (*v1alpha1.MutatingAdmissionPolicyBinding, error)
GetAdmissionregistrationV1alpha1MutatingAdmissionPolicyBindingE fetches a AdmissionregistrationV1alpha1MutatingAdmissionPolicyBinding by name, returning the error for non-existence checks.
func (*Env) GetAdmissionregistrationV1alpha1MutatingAdmissionPolicyE ¶
func (env *Env) GetAdmissionregistrationV1alpha1MutatingAdmissionPolicyE(t *testing.T, name string) (*v1alpha1.MutatingAdmissionPolicy, error)
GetAdmissionregistrationV1alpha1MutatingAdmissionPolicyE fetches a AdmissionregistrationV1alpha1MutatingAdmissionPolicy by name, returning the error for non-existence checks.
func (*Env) GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicy ¶
func (env *Env) GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicy(t *testing.T, name string) *v1alpha1.ValidatingAdmissionPolicy
GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicy fetches a AdmissionregistrationV1alpha1ValidatingAdmissionPolicy by name, failing the test on error.
func (*Env) GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBinding ¶
func (env *Env) GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBinding(t *testing.T, name string) *v1alpha1.ValidatingAdmissionPolicyBinding
GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBinding fetches a AdmissionregistrationV1alpha1ValidatingAdmissionPolicyBinding by name, failing the test on error.
func (*Env) GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBindingE ¶
func (env *Env) GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBindingE(t *testing.T, name string) (*v1alpha1.ValidatingAdmissionPolicyBinding, error)
GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBindingE fetches a AdmissionregistrationV1alpha1ValidatingAdmissionPolicyBinding by name, returning the error for non-existence checks.
func (*Env) GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicyE ¶
func (env *Env) GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicyE(t *testing.T, name string) (*v1alpha1.ValidatingAdmissionPolicy, error)
GetAdmissionregistrationV1alpha1ValidatingAdmissionPolicyE fetches a AdmissionregistrationV1alpha1ValidatingAdmissionPolicy by name, returning the error for non-existence checks.
func (*Env) GetAdmissionregistrationV1beta1MutatingAdmissionPolicy ¶
func (env *Env) GetAdmissionregistrationV1beta1MutatingAdmissionPolicy(t *testing.T, name string) *v1beta1.MutatingAdmissionPolicy
GetAdmissionregistrationV1beta1MutatingAdmissionPolicy fetches a AdmissionregistrationV1beta1MutatingAdmissionPolicy by name, failing the test on error.
func (*Env) GetAdmissionregistrationV1beta1MutatingAdmissionPolicyBinding ¶
func (env *Env) GetAdmissionregistrationV1beta1MutatingAdmissionPolicyBinding(t *testing.T, name string) *v1beta1.MutatingAdmissionPolicyBinding
GetAdmissionregistrationV1beta1MutatingAdmissionPolicyBinding fetches a AdmissionregistrationV1beta1MutatingAdmissionPolicyBinding by name, failing the test on error.
func (*Env) GetAdmissionregistrationV1beta1MutatingAdmissionPolicyBindingE ¶
func (env *Env) GetAdmissionregistrationV1beta1MutatingAdmissionPolicyBindingE(t *testing.T, name string) (*v1beta1.MutatingAdmissionPolicyBinding, error)
GetAdmissionregistrationV1beta1MutatingAdmissionPolicyBindingE fetches a AdmissionregistrationV1beta1MutatingAdmissionPolicyBinding by name, returning the error for non-existence checks.
func (*Env) GetAdmissionregistrationV1beta1MutatingAdmissionPolicyE ¶
func (env *Env) GetAdmissionregistrationV1beta1MutatingAdmissionPolicyE(t *testing.T, name string) (*v1beta1.MutatingAdmissionPolicy, error)
GetAdmissionregistrationV1beta1MutatingAdmissionPolicyE fetches a AdmissionregistrationV1beta1MutatingAdmissionPolicy by name, returning the error for non-existence checks.
func (*Env) GetAdmissionregistrationV1beta1MutatingWebhookConfiguration ¶
func (env *Env) GetAdmissionregistrationV1beta1MutatingWebhookConfiguration(t *testing.T, name string) *v1beta1.MutatingWebhookConfiguration
GetAdmissionregistrationV1beta1MutatingWebhookConfiguration fetches a AdmissionregistrationV1beta1MutatingWebhookConfiguration by name, failing the test on error.
func (*Env) GetAdmissionregistrationV1beta1MutatingWebhookConfigurationE ¶
func (env *Env) GetAdmissionregistrationV1beta1MutatingWebhookConfigurationE(t *testing.T, name string) (*v1beta1.MutatingWebhookConfiguration, error)
GetAdmissionregistrationV1beta1MutatingWebhookConfigurationE fetches a AdmissionregistrationV1beta1MutatingWebhookConfiguration by name, returning the error for non-existence checks.
func (*Env) GetAdmissionregistrationV1beta1ValidatingAdmissionPolicy ¶
func (env *Env) GetAdmissionregistrationV1beta1ValidatingAdmissionPolicy(t *testing.T, name string) *v1beta1.ValidatingAdmissionPolicy
GetAdmissionregistrationV1beta1ValidatingAdmissionPolicy fetches a AdmissionregistrationV1beta1ValidatingAdmissionPolicy by name, failing the test on error.
func (*Env) GetAdmissionregistrationV1beta1ValidatingAdmissionPolicyBinding ¶
func (env *Env) GetAdmissionregistrationV1beta1ValidatingAdmissionPolicyBinding(t *testing.T, name string) *v1beta1.ValidatingAdmissionPolicyBinding
GetAdmissionregistrationV1beta1ValidatingAdmissionPolicyBinding fetches a AdmissionregistrationV1beta1ValidatingAdmissionPolicyBinding by name, failing the test on error.
func (*Env) GetAdmissionregistrationV1beta1ValidatingAdmissionPolicyBindingE ¶
func (env *Env) GetAdmissionregistrationV1beta1ValidatingAdmissionPolicyBindingE(t *testing.T, name string) (*v1beta1.ValidatingAdmissionPolicyBinding, error)
GetAdmissionregistrationV1beta1ValidatingAdmissionPolicyBindingE fetches a AdmissionregistrationV1beta1ValidatingAdmissionPolicyBinding by name, returning the error for non-existence checks.
func (*Env) GetAdmissionregistrationV1beta1ValidatingAdmissionPolicyE ¶
func (env *Env) GetAdmissionregistrationV1beta1ValidatingAdmissionPolicyE(t *testing.T, name string) (*v1beta1.ValidatingAdmissionPolicy, error)
GetAdmissionregistrationV1beta1ValidatingAdmissionPolicyE fetches a AdmissionregistrationV1beta1ValidatingAdmissionPolicy by name, returning the error for non-existence checks.
func (*Env) GetAdmissionregistrationV1beta1ValidatingWebhookConfiguration ¶
func (env *Env) GetAdmissionregistrationV1beta1ValidatingWebhookConfiguration(t *testing.T, name string) *v1beta1.ValidatingWebhookConfiguration
GetAdmissionregistrationV1beta1ValidatingWebhookConfiguration fetches a AdmissionregistrationV1beta1ValidatingWebhookConfiguration by name, failing the test on error.
func (*Env) GetAdmissionregistrationV1beta1ValidatingWebhookConfigurationE ¶
func (env *Env) GetAdmissionregistrationV1beta1ValidatingWebhookConfigurationE(t *testing.T, name string) (*v1beta1.ValidatingWebhookConfiguration, error)
GetAdmissionregistrationV1beta1ValidatingWebhookConfigurationE fetches a AdmissionregistrationV1beta1ValidatingWebhookConfiguration by name, returning the error for non-existence checks.
func (*Env) GetAlertmanager ¶ added in v1.1.0
GetAlertmanager fetches a Alertmanager by name via the dynamic client, failing the test on error.
func (*Env) GetAlertmanagerE ¶ added in v1.1.0
GetAlertmanagerE fetches a Alertmanager by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetAppsV1beta1ControllerRevision ¶
func (env *Env) GetAppsV1beta1ControllerRevision(t *testing.T, name string) *v1beta11.ControllerRevision
GetAppsV1beta1ControllerRevision fetches a AppsV1beta1ControllerRevision by name, failing the test on error.
func (*Env) GetAppsV1beta1ControllerRevisionE ¶
func (env *Env) GetAppsV1beta1ControllerRevisionE(t *testing.T, name string) (*v1beta11.ControllerRevision, error)
GetAppsV1beta1ControllerRevisionE fetches a AppsV1beta1ControllerRevision by name, returning the error for non-existence checks.
func (*Env) GetAppsV1beta1Deployment ¶
GetAppsV1beta1Deployment fetches a AppsV1beta1Deployment by name, failing the test on error.
func (*Env) GetAppsV1beta1DeploymentE ¶
GetAppsV1beta1DeploymentE fetches a AppsV1beta1Deployment by name, returning the error for non-existence checks.
func (*Env) GetAppsV1beta1StatefulSet ¶
GetAppsV1beta1StatefulSet fetches a AppsV1beta1StatefulSet by name, failing the test on error.
func (*Env) GetAppsV1beta1StatefulSetE ¶
func (env *Env) GetAppsV1beta1StatefulSetE(t *testing.T, name string) (*v1beta11.StatefulSet, error)
GetAppsV1beta1StatefulSetE fetches a AppsV1beta1StatefulSet by name, returning the error for non-existence checks.
func (*Env) GetAppsV1beta2ControllerRevision ¶
func (env *Env) GetAppsV1beta2ControllerRevision(t *testing.T, name string) *v1beta2.ControllerRevision
GetAppsV1beta2ControllerRevision fetches a AppsV1beta2ControllerRevision by name, failing the test on error.
func (*Env) GetAppsV1beta2ControllerRevisionE ¶
func (env *Env) GetAppsV1beta2ControllerRevisionE(t *testing.T, name string) (*v1beta2.ControllerRevision, error)
GetAppsV1beta2ControllerRevisionE fetches a AppsV1beta2ControllerRevision by name, returning the error for non-existence checks.
func (*Env) GetAppsV1beta2DaemonSet ¶
GetAppsV1beta2DaemonSet fetches a AppsV1beta2DaemonSet by name, failing the test on error.
func (*Env) GetAppsV1beta2DaemonSetE ¶
GetAppsV1beta2DaemonSetE fetches a AppsV1beta2DaemonSet by name, returning the error for non-existence checks.
func (*Env) GetAppsV1beta2Deployment ¶
GetAppsV1beta2Deployment fetches a AppsV1beta2Deployment by name, failing the test on error.
func (*Env) GetAppsV1beta2DeploymentE ¶
GetAppsV1beta2DeploymentE fetches a AppsV1beta2Deployment by name, returning the error for non-existence checks.
func (*Env) GetAppsV1beta2ReplicaSet ¶
GetAppsV1beta2ReplicaSet fetches a AppsV1beta2ReplicaSet by name, failing the test on error.
func (*Env) GetAppsV1beta2ReplicaSetE ¶
GetAppsV1beta2ReplicaSetE fetches a AppsV1beta2ReplicaSet by name, returning the error for non-existence checks.
func (*Env) GetAppsV1beta2StatefulSet ¶
GetAppsV1beta2StatefulSet fetches a AppsV1beta2StatefulSet by name, failing the test on error.
func (*Env) GetAppsV1beta2StatefulSetE ¶
GetAppsV1beta2StatefulSetE fetches a AppsV1beta2StatefulSet by name, returning the error for non-existence checks.
func (*Env) GetAutoscalingV1HorizontalPodAutoscaler ¶
func (env *Env) GetAutoscalingV1HorizontalPodAutoscaler(t *testing.T, name string) *v13.HorizontalPodAutoscaler
GetAutoscalingV1HorizontalPodAutoscaler fetches a AutoscalingV1HorizontalPodAutoscaler by name, failing the test on error.
func (*Env) GetAutoscalingV1HorizontalPodAutoscalerE ¶
func (env *Env) GetAutoscalingV1HorizontalPodAutoscalerE(t *testing.T, name string) (*v13.HorizontalPodAutoscaler, error)
GetAutoscalingV1HorizontalPodAutoscalerE fetches a AutoscalingV1HorizontalPodAutoscaler by name, returning the error for non-existence checks.
func (*Env) GetBackendTLSPolicy ¶ added in v1.1.0
GetBackendTLSPolicy fetches a BackendTLSPolicy by name via the dynamic client, failing the test on error.
func (*Env) GetBackendTLSPolicyE ¶ added in v1.1.0
GetBackendTLSPolicyE fetches a BackendTLSPolicy by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetBatchV1beta1CronJob ¶
GetBatchV1beta1CronJob fetches a BatchV1beta1CronJob by name, failing the test on error.
func (*Env) GetBatchV1beta1CronJobE ¶
GetBatchV1beta1CronJobE fetches a BatchV1beta1CronJob by name, returning the error for non-existence checks.
func (*Env) GetCSIDriver ¶
GetCSIDriver fetches a CSIDriver by name, failing the test on error.
func (*Env) GetCSIDriverE ¶
GetCSIDriverE fetches a CSIDriver by name, returning the error for non-existence checks.
func (*Env) GetCSINode ¶
GetCSINode fetches a CSINode by name, failing the test on error.
func (*Env) GetCSINodeE ¶
GetCSINodeE fetches a CSINode by name, returning the error for non-existence checks.
func (*Env) GetCSIStorageCapacity ¶
GetCSIStorageCapacity fetches a CSIStorageCapacity by name, failing the test on error.
func (*Env) GetCSIStorageCapacityE ¶
GetCSIStorageCapacityE fetches a CSIStorageCapacity by name, returning the error for non-existence checks.
func (*Env) GetCertificateSigningRequest ¶
func (env *Env) GetCertificateSigningRequest(t *testing.T, name string) *v15.CertificateSigningRequest
GetCertificateSigningRequest fetches a CertificateSigningRequest by name, failing the test on error.
func (*Env) GetCertificateSigningRequestE ¶
func (env *Env) GetCertificateSigningRequestE(t *testing.T, name string) (*v15.CertificateSigningRequest, error)
GetCertificateSigningRequestE fetches a CertificateSigningRequest by name, returning the error for non-existence checks.
func (*Env) GetCertificatesV1alpha1ClusterTrustBundle ¶
func (env *Env) GetCertificatesV1alpha1ClusterTrustBundle(t *testing.T, name string) *v1alpha11.ClusterTrustBundle
GetCertificatesV1alpha1ClusterTrustBundle fetches a CertificatesV1alpha1ClusterTrustBundle by name, failing the test on error.
func (*Env) GetCertificatesV1alpha1ClusterTrustBundleE ¶
func (env *Env) GetCertificatesV1alpha1ClusterTrustBundleE(t *testing.T, name string) (*v1alpha11.ClusterTrustBundle, error)
GetCertificatesV1alpha1ClusterTrustBundleE fetches a CertificatesV1alpha1ClusterTrustBundle by name, returning the error for non-existence checks.
func (*Env) GetCertificatesV1beta1CertificateSigningRequest ¶
func (env *Env) GetCertificatesV1beta1CertificateSigningRequest(t *testing.T, name string) *v1beta13.CertificateSigningRequest
GetCertificatesV1beta1CertificateSigningRequest fetches a CertificatesV1beta1CertificateSigningRequest by name, failing the test on error.
func (*Env) GetCertificatesV1beta1CertificateSigningRequestE ¶
func (env *Env) GetCertificatesV1beta1CertificateSigningRequestE(t *testing.T, name string) (*v1beta13.CertificateSigningRequest, error)
GetCertificatesV1beta1CertificateSigningRequestE fetches a CertificatesV1beta1CertificateSigningRequest by name, returning the error for non-existence checks.
func (*Env) GetClusterRole ¶
GetClusterRole fetches a ClusterRole by name, failing the test on error.
func (*Env) GetClusterRoleBinding ¶
GetClusterRoleBinding fetches a ClusterRoleBinding by name, failing the test on error.
func (*Env) GetClusterRoleBindingE ¶
GetClusterRoleBindingE fetches a ClusterRoleBinding by name, returning the error for non-existence checks.
func (*Env) GetClusterRoleE ¶
GetClusterRoleE fetches a ClusterRole by name, returning the error for non-existence checks.
func (*Env) GetClusterTrustBundle ¶
GetClusterTrustBundle fetches a ClusterTrustBundle by name, failing the test on error.
func (*Env) GetClusterTrustBundleE ¶
func (env *Env) GetClusterTrustBundleE(t *testing.T, name string) (*v1beta13.ClusterTrustBundle, error)
GetClusterTrustBundleE fetches a ClusterTrustBundle by name, returning the error for non-existence checks.
func (*Env) GetComponentStatus ¶
GetComponentStatus fetches a ComponentStatus by name, failing the test on error.
func (*Env) GetComponentStatusE ¶
GetComponentStatusE fetches a ComponentStatus by name, returning the error for non-existence checks.
func (*Env) GetConfigMap ¶
GetConfigMap fetches a ConfigMap by name, failing the test on error.
func (*Env) GetConfigMapE ¶
GetConfigMapE fetches a ConfigMap by name, returning the error for non-existence checks.
func (*Env) GetControllerRevision ¶
GetControllerRevision fetches a ControllerRevision by name, failing the test on error.
func (*Env) GetControllerRevisionE ¶
GetControllerRevisionE fetches a ControllerRevision by name, returning the error for non-existence checks.
func (*Env) GetCoordinationV1alpha2LeaseCandidate ¶
func (env *Env) GetCoordinationV1alpha2LeaseCandidate(t *testing.T, name string) *v1alpha2.LeaseCandidate
GetCoordinationV1alpha2LeaseCandidate fetches a CoordinationV1alpha2LeaseCandidate by name, failing the test on error.
func (*Env) GetCoordinationV1alpha2LeaseCandidateE ¶
func (env *Env) GetCoordinationV1alpha2LeaseCandidateE(t *testing.T, name string) (*v1alpha2.LeaseCandidate, error)
GetCoordinationV1alpha2LeaseCandidateE fetches a CoordinationV1alpha2LeaseCandidate by name, returning the error for non-existence checks.
func (*Env) GetCoordinationV1beta1Lease ¶
GetCoordinationV1beta1Lease fetches a CoordinationV1beta1Lease by name, failing the test on error.
func (*Env) GetCoordinationV1beta1LeaseE ¶
GetCoordinationV1beta1LeaseE fetches a CoordinationV1beta1Lease by name, returning the error for non-existence checks.
func (*Env) GetCronJob ¶
GetCronJob fetches a CronJob by name, failing the test on error.
func (*Env) GetCronJobE ¶
GetCronJobE fetches a CronJob by name, returning the error for non-existence checks.
func (*Env) GetDaemonSet ¶
GetDaemonSet fetches a DaemonSet by name, failing the test on error.
func (*Env) GetDaemonSetE ¶
GetDaemonSetE fetches a DaemonSet by name, returning the error for non-existence checks.
func (*Env) GetDeployment ¶
GetDeployment fetches a Deployment by name, failing the test on error.
func (*Env) GetDeploymentE ¶
GetDeploymentE fetches a Deployment by name, returning the error for non-existence checks.
func (*Env) GetDeviceClass ¶
GetDeviceClass fetches a DeviceClass by name, failing the test on error.
func (*Env) GetDeviceClassE ¶
GetDeviceClassE fetches a DeviceClass by name, returning the error for non-existence checks.
func (*Env) GetDeviceTaintRule ¶
GetDeviceTaintRule fetches a DeviceTaintRule by name, failing the test on error.
func (*Env) GetDeviceTaintRuleE ¶
GetDeviceTaintRuleE fetches a DeviceTaintRule by name, returning the error for non-existence checks.
func (*Env) GetDiscoveryV1beta1EndpointSlice ¶
GetDiscoveryV1beta1EndpointSlice fetches a DiscoveryV1beta1EndpointSlice by name, failing the test on error.
func (*Env) GetDiscoveryV1beta1EndpointSliceE ¶
func (env *Env) GetDiscoveryV1beta1EndpointSliceE(t *testing.T, name string) (*v1beta15.EndpointSlice, error)
GetDiscoveryV1beta1EndpointSliceE fetches a DiscoveryV1beta1EndpointSlice by name, returning the error for non-existence checks.
func (*Env) GetEndpointSlice ¶
GetEndpointSlice fetches a EndpointSlice by name, failing the test on error.
func (*Env) GetEndpointSliceE ¶
GetEndpointSliceE fetches a EndpointSlice by name, returning the error for non-existence checks.
func (*Env) GetEndpoints ¶
GetEndpoints fetches a Endpoints by name, failing the test on error.
func (*Env) GetEndpointsE ¶
GetEndpointsE fetches a Endpoints by name, returning the error for non-existence checks.
func (*Env) GetEventE ¶
GetEventE fetches a Event by name, returning the error for non-existence checks.
func (*Env) GetEventsV1Event ¶
GetEventsV1Event fetches a EventsV1Event by name, failing the test on error.
func (*Env) GetEventsV1EventE ¶
GetEventsV1EventE fetches a EventsV1Event by name, returning the error for non-existence checks.
func (*Env) GetEventsV1beta1Event ¶
GetEventsV1beta1Event fetches a EventsV1beta1Event by name, failing the test on error.
func (*Env) GetEventsV1beta1EventE ¶
GetEventsV1beta1EventE fetches a EventsV1beta1Event by name, returning the error for non-existence checks.
func (*Env) GetExtensionsV1beta1DaemonSet ¶
GetExtensionsV1beta1DaemonSet fetches a ExtensionsV1beta1DaemonSet by name, failing the test on error.
func (*Env) GetExtensionsV1beta1DaemonSetE ¶
func (env *Env) GetExtensionsV1beta1DaemonSetE(t *testing.T, name string) (*v1beta17.DaemonSet, error)
GetExtensionsV1beta1DaemonSetE fetches a ExtensionsV1beta1DaemonSet by name, returning the error for non-existence checks.
func (*Env) GetExtensionsV1beta1Deployment ¶
GetExtensionsV1beta1Deployment fetches a ExtensionsV1beta1Deployment by name, failing the test on error.
func (*Env) GetExtensionsV1beta1DeploymentE ¶
func (env *Env) GetExtensionsV1beta1DeploymentE(t *testing.T, name string) (*v1beta17.Deployment, error)
GetExtensionsV1beta1DeploymentE fetches a ExtensionsV1beta1Deployment by name, returning the error for non-existence checks.
func (*Env) GetExtensionsV1beta1Ingress ¶
GetExtensionsV1beta1Ingress fetches a ExtensionsV1beta1Ingress by name, failing the test on error.
func (*Env) GetExtensionsV1beta1IngressE ¶
GetExtensionsV1beta1IngressE fetches a ExtensionsV1beta1Ingress by name, returning the error for non-existence checks.
func (*Env) GetExtensionsV1beta1NetworkPolicy ¶
func (env *Env) GetExtensionsV1beta1NetworkPolicy(t *testing.T, name string) *v1beta17.NetworkPolicy
GetExtensionsV1beta1NetworkPolicy fetches a ExtensionsV1beta1NetworkPolicy by name, failing the test on error.
func (*Env) GetExtensionsV1beta1NetworkPolicyE ¶
func (env *Env) GetExtensionsV1beta1NetworkPolicyE(t *testing.T, name string) (*v1beta17.NetworkPolicy, error)
GetExtensionsV1beta1NetworkPolicyE fetches a ExtensionsV1beta1NetworkPolicy by name, returning the error for non-existence checks.
func (*Env) GetExtensionsV1beta1ReplicaSet ¶
GetExtensionsV1beta1ReplicaSet fetches a ExtensionsV1beta1ReplicaSet by name, failing the test on error.
func (*Env) GetExtensionsV1beta1ReplicaSetE ¶
func (env *Env) GetExtensionsV1beta1ReplicaSetE(t *testing.T, name string) (*v1beta17.ReplicaSet, error)
GetExtensionsV1beta1ReplicaSetE fetches a ExtensionsV1beta1ReplicaSet by name, returning the error for non-existence checks.
func (*Env) GetFlowSchema ¶
GetFlowSchema fetches a FlowSchema by name, failing the test on error.
func (*Env) GetFlowSchemaE ¶
GetFlowSchemaE fetches a FlowSchema by name, returning the error for non-existence checks.
func (*Env) GetFlowcontrolV1beta1FlowSchema ¶
GetFlowcontrolV1beta1FlowSchema fetches a FlowcontrolV1beta1FlowSchema by name, failing the test on error.
func (*Env) GetFlowcontrolV1beta1FlowSchemaE ¶
func (env *Env) GetFlowcontrolV1beta1FlowSchemaE(t *testing.T, name string) (*v1beta18.FlowSchema, error)
GetFlowcontrolV1beta1FlowSchemaE fetches a FlowcontrolV1beta1FlowSchema by name, returning the error for non-existence checks.
func (*Env) GetFlowcontrolV1beta1PriorityLevelConfiguration ¶
func (env *Env) GetFlowcontrolV1beta1PriorityLevelConfiguration(t *testing.T, name string) *v1beta18.PriorityLevelConfiguration
GetFlowcontrolV1beta1PriorityLevelConfiguration fetches a FlowcontrolV1beta1PriorityLevelConfiguration by name, failing the test on error.
func (*Env) GetFlowcontrolV1beta1PriorityLevelConfigurationE ¶
func (env *Env) GetFlowcontrolV1beta1PriorityLevelConfigurationE(t *testing.T, name string) (*v1beta18.PriorityLevelConfiguration, error)
GetFlowcontrolV1beta1PriorityLevelConfigurationE fetches a FlowcontrolV1beta1PriorityLevelConfiguration by name, returning the error for non-existence checks.
func (*Env) GetFlowcontrolV1beta2FlowSchema ¶
GetFlowcontrolV1beta2FlowSchema fetches a FlowcontrolV1beta2FlowSchema by name, failing the test on error.
func (*Env) GetFlowcontrolV1beta2FlowSchemaE ¶
func (env *Env) GetFlowcontrolV1beta2FlowSchemaE(t *testing.T, name string) (*v1beta21.FlowSchema, error)
GetFlowcontrolV1beta2FlowSchemaE fetches a FlowcontrolV1beta2FlowSchema by name, returning the error for non-existence checks.
func (*Env) GetFlowcontrolV1beta2PriorityLevelConfiguration ¶
func (env *Env) GetFlowcontrolV1beta2PriorityLevelConfiguration(t *testing.T, name string) *v1beta21.PriorityLevelConfiguration
GetFlowcontrolV1beta2PriorityLevelConfiguration fetches a FlowcontrolV1beta2PriorityLevelConfiguration by name, failing the test on error.
func (*Env) GetFlowcontrolV1beta2PriorityLevelConfigurationE ¶
func (env *Env) GetFlowcontrolV1beta2PriorityLevelConfigurationE(t *testing.T, name string) (*v1beta21.PriorityLevelConfiguration, error)
GetFlowcontrolV1beta2PriorityLevelConfigurationE fetches a FlowcontrolV1beta2PriorityLevelConfiguration by name, returning the error for non-existence checks.
func (*Env) GetFlowcontrolV1beta3FlowSchema ¶
GetFlowcontrolV1beta3FlowSchema fetches a FlowcontrolV1beta3FlowSchema by name, failing the test on error.
func (*Env) GetFlowcontrolV1beta3FlowSchemaE ¶
func (env *Env) GetFlowcontrolV1beta3FlowSchemaE(t *testing.T, name string) (*v1beta3.FlowSchema, error)
GetFlowcontrolV1beta3FlowSchemaE fetches a FlowcontrolV1beta3FlowSchema by name, returning the error for non-existence checks.
func (*Env) GetFlowcontrolV1beta3PriorityLevelConfiguration ¶
func (env *Env) GetFlowcontrolV1beta3PriorityLevelConfiguration(t *testing.T, name string) *v1beta3.PriorityLevelConfiguration
GetFlowcontrolV1beta3PriorityLevelConfiguration fetches a FlowcontrolV1beta3PriorityLevelConfiguration by name, failing the test on error.
func (*Env) GetFlowcontrolV1beta3PriorityLevelConfigurationE ¶
func (env *Env) GetFlowcontrolV1beta3PriorityLevelConfigurationE(t *testing.T, name string) (*v1beta3.PriorityLevelConfiguration, error)
GetFlowcontrolV1beta3PriorityLevelConfigurationE fetches a FlowcontrolV1beta3PriorityLevelConfiguration by name, returning the error for non-existence checks.
func (*Env) GetGRPCRoute ¶ added in v1.1.0
GetGRPCRoute fetches a GRPCRoute by name via the dynamic client, failing the test on error.
func (*Env) GetGRPCRouteE ¶ added in v1.1.0
GetGRPCRouteE fetches a GRPCRoute by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetGateway ¶ added in v1.1.0
GetGateway fetches a Gateway by name via the dynamic client, failing the test on error.
func (*Env) GetGatewayClass ¶ added in v1.1.0
GetGatewayClass fetches a GatewayClass by name via the dynamic client, failing the test on error.
func (*Env) GetGatewayClassE ¶ added in v1.1.0
GetGatewayClassE fetches a GatewayClass by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetGatewayE ¶ added in v1.1.0
GetGatewayE fetches a Gateway by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetHTTPRoute ¶ added in v1.1.0
GetHTTPRoute fetches a HTTPRoute by name via the dynamic client, failing the test on error.
func (*Env) GetHTTPRouteE ¶ added in v1.1.0
GetHTTPRouteE fetches a HTTPRoute by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetHorizontalPodAutoscaler ¶
GetHorizontalPodAutoscaler fetches a HorizontalPodAutoscaler by name, failing the test on error.
func (*Env) GetHorizontalPodAutoscalerE ¶
func (env *Env) GetHorizontalPodAutoscalerE(t *testing.T, name string) (*v2.HorizontalPodAutoscaler, error)
GetHorizontalPodAutoscalerE fetches a HorizontalPodAutoscaler by name, returning the error for non-existence checks.
func (*Env) GetIPAddress ¶
GetIPAddress fetches a IPAddress by name, failing the test on error.
func (*Env) GetIPAddressE ¶
GetIPAddressE fetches a IPAddress by name, returning the error for non-existence checks.
func (*Env) GetIngress ¶
GetIngress fetches a Ingress by name, failing the test on error.
func (*Env) GetIngressClass ¶
GetIngressClass fetches a IngressClass by name, failing the test on error.
func (*Env) GetIngressClassE ¶
GetIngressClassE fetches a IngressClass by name, returning the error for non-existence checks.
func (*Env) GetIngressE ¶
GetIngressE fetches a Ingress by name, returning the error for non-existence checks.
func (*Env) GetLeaseCandidate ¶
GetLeaseCandidate fetches a LeaseCandidate by name, failing the test on error.
func (*Env) GetLeaseCandidateE ¶
GetLeaseCandidateE fetches a LeaseCandidate by name, returning the error for non-existence checks.
func (*Env) GetLeaseE ¶
GetLeaseE fetches a Lease by name, returning the error for non-existence checks.
func (*Env) GetLimitRange ¶
GetLimitRange fetches a LimitRange by name, failing the test on error.
func (*Env) GetLimitRangeE ¶
GetLimitRangeE fetches a LimitRange by name, returning the error for non-existence checks.
func (*Env) GetListenerSet ¶ added in v1.1.0
GetListenerSet fetches a ListenerSet by name via the dynamic client, failing the test on error.
func (*Env) GetListenerSetE ¶ added in v1.1.0
GetListenerSetE fetches a ListenerSet by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetMutatingAdmissionPolicy ¶
GetMutatingAdmissionPolicy fetches a MutatingAdmissionPolicy by name, failing the test on error.
func (*Env) GetMutatingAdmissionPolicyBinding ¶
func (env *Env) GetMutatingAdmissionPolicyBinding(t *testing.T, name string) *v1.MutatingAdmissionPolicyBinding
GetMutatingAdmissionPolicyBinding fetches a MutatingAdmissionPolicyBinding by name, failing the test on error.
func (*Env) GetMutatingAdmissionPolicyBindingE ¶
func (env *Env) GetMutatingAdmissionPolicyBindingE(t *testing.T, name string) (*v1.MutatingAdmissionPolicyBinding, error)
GetMutatingAdmissionPolicyBindingE fetches a MutatingAdmissionPolicyBinding by name, returning the error for non-existence checks.
func (*Env) GetMutatingAdmissionPolicyE ¶
func (env *Env) GetMutatingAdmissionPolicyE(t *testing.T, name string) (*v1.MutatingAdmissionPolicy, error)
GetMutatingAdmissionPolicyE fetches a MutatingAdmissionPolicy by name, returning the error for non-existence checks.
func (*Env) GetMutatingWebhookConfiguration ¶
func (env *Env) GetMutatingWebhookConfiguration(t *testing.T, name string) *v1.MutatingWebhookConfiguration
GetMutatingWebhookConfiguration fetches a MutatingWebhookConfiguration by name, failing the test on error.
func (*Env) GetMutatingWebhookConfigurationE ¶
func (env *Env) GetMutatingWebhookConfigurationE(t *testing.T, name string) (*v1.MutatingWebhookConfiguration, error)
GetMutatingWebhookConfigurationE fetches a MutatingWebhookConfiguration by name, returning the error for non-existence checks.
func (*Env) GetNamespace ¶
GetNamespace fetches a Namespace by name, failing the test on error.
func (*Env) GetNamespaceE ¶
GetNamespaceE fetches a Namespace by name, returning the error for non-existence checks.
func (*Env) GetNetworkPolicy ¶
GetNetworkPolicy fetches a NetworkPolicy by name, failing the test on error.
func (*Env) GetNetworkPolicyE ¶
GetNetworkPolicyE fetches a NetworkPolicy by name, returning the error for non-existence checks.
func (*Env) GetNetworkingV1beta1IPAddress ¶
GetNetworkingV1beta1IPAddress fetches a NetworkingV1beta1IPAddress by name, failing the test on error.
func (*Env) GetNetworkingV1beta1IPAddressE ¶
func (env *Env) GetNetworkingV1beta1IPAddressE(t *testing.T, name string) (*v1beta19.IPAddress, error)
GetNetworkingV1beta1IPAddressE fetches a NetworkingV1beta1IPAddress by name, returning the error for non-existence checks.
func (*Env) GetNetworkingV1beta1Ingress ¶
GetNetworkingV1beta1Ingress fetches a NetworkingV1beta1Ingress by name, failing the test on error.
func (*Env) GetNetworkingV1beta1IngressClass ¶
GetNetworkingV1beta1IngressClass fetches a NetworkingV1beta1IngressClass by name, failing the test on error.
func (*Env) GetNetworkingV1beta1IngressClassE ¶
func (env *Env) GetNetworkingV1beta1IngressClassE(t *testing.T, name string) (*v1beta19.IngressClass, error)
GetNetworkingV1beta1IngressClassE fetches a NetworkingV1beta1IngressClass by name, returning the error for non-existence checks.
func (*Env) GetNetworkingV1beta1IngressE ¶
GetNetworkingV1beta1IngressE fetches a NetworkingV1beta1Ingress by name, returning the error for non-existence checks.
func (*Env) GetNetworkingV1beta1ServiceCIDR ¶
GetNetworkingV1beta1ServiceCIDR fetches a NetworkingV1beta1ServiceCIDR by name, failing the test on error.
func (*Env) GetNetworkingV1beta1ServiceCIDRE ¶
func (env *Env) GetNetworkingV1beta1ServiceCIDRE(t *testing.T, name string) (*v1beta19.ServiceCIDR, error)
GetNetworkingV1beta1ServiceCIDRE fetches a NetworkingV1beta1ServiceCIDR by name, returning the error for non-existence checks.
func (*Env) GetNodeE ¶
GetNodeE fetches a Node by name, returning the error for non-existence checks.
func (*Env) GetNodeV1alpha1RuntimeClass ¶
GetNodeV1alpha1RuntimeClass fetches a NodeV1alpha1RuntimeClass by name, failing the test on error.
func (*Env) GetNodeV1alpha1RuntimeClassE ¶
func (env *Env) GetNodeV1alpha1RuntimeClassE(t *testing.T, name string) (*v1alpha13.RuntimeClass, error)
GetNodeV1alpha1RuntimeClassE fetches a NodeV1alpha1RuntimeClass by name, returning the error for non-existence checks.
func (*Env) GetNodeV1beta1RuntimeClass ¶
GetNodeV1beta1RuntimeClass fetches a NodeV1beta1RuntimeClass by name, failing the test on error.
func (*Env) GetNodeV1beta1RuntimeClassE ¶
func (env *Env) GetNodeV1beta1RuntimeClassE(t *testing.T, name string) (*v1beta110.RuntimeClass, error)
GetNodeV1beta1RuntimeClassE fetches a NodeV1beta1RuntimeClass by name, returning the error for non-existence checks.
func (*Env) GetPersistentVolume ¶
GetPersistentVolume fetches a PersistentVolume by name, failing the test on error.
func (*Env) GetPersistentVolumeClaim ¶
GetPersistentVolumeClaim fetches a PersistentVolumeClaim by name, failing the test on error.
func (*Env) GetPersistentVolumeClaimE ¶
func (env *Env) GetPersistentVolumeClaimE(t *testing.T, name string) (*v17.PersistentVolumeClaim, error)
GetPersistentVolumeClaimE fetches a PersistentVolumeClaim by name, returning the error for non-existence checks.
func (*Env) GetPersistentVolumeE ¶
GetPersistentVolumeE fetches a PersistentVolume by name, returning the error for non-existence checks.
func (*Env) GetPodCertificateRequest ¶
GetPodCertificateRequest fetches a PodCertificateRequest by name, failing the test on error.
func (*Env) GetPodCertificateRequestE ¶
func (env *Env) GetPodCertificateRequestE(t *testing.T, name string) (*v1beta13.PodCertificateRequest, error)
GetPodCertificateRequestE fetches a PodCertificateRequest by name, returning the error for non-existence checks.
func (*Env) GetPodDisruptionBudget ¶
GetPodDisruptionBudget fetches a PodDisruptionBudget by name, failing the test on error.
func (*Env) GetPodDisruptionBudgetE ¶
func (env *Env) GetPodDisruptionBudgetE(t *testing.T, name string) (*v113.PodDisruptionBudget, error)
GetPodDisruptionBudgetE fetches a PodDisruptionBudget by name, returning the error for non-existence checks.
func (*Env) GetPodGroup ¶
GetPodGroup fetches a PodGroup by name, failing the test on error.
func (*Env) GetPodGroupE ¶
GetPodGroupE fetches a PodGroup by name, returning the error for non-existence checks.
func (*Env) GetPodMonitor ¶ added in v1.1.0
GetPodMonitor fetches a PodMonitor by name via the dynamic client, failing the test on error.
func (*Env) GetPodMonitorE ¶ added in v1.1.0
GetPodMonitorE fetches a PodMonitor by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetPodTemplate ¶
GetPodTemplate fetches a PodTemplate by name, failing the test on error.
func (*Env) GetPodTemplateE ¶
GetPodTemplateE fetches a PodTemplate by name, returning the error for non-existence checks.
func (*Env) GetPolicyV1beta1PodDisruptionBudget ¶
func (env *Env) GetPolicyV1beta1PodDisruptionBudget(t *testing.T, name string) *v1beta111.PodDisruptionBudget
GetPolicyV1beta1PodDisruptionBudget fetches a PolicyV1beta1PodDisruptionBudget by name, failing the test on error.
func (*Env) GetPolicyV1beta1PodDisruptionBudgetE ¶
func (env *Env) GetPolicyV1beta1PodDisruptionBudgetE(t *testing.T, name string) (*v1beta111.PodDisruptionBudget, error)
GetPolicyV1beta1PodDisruptionBudgetE fetches a PolicyV1beta1PodDisruptionBudget by name, returning the error for non-existence checks.
func (*Env) GetPriorityClass ¶
GetPriorityClass fetches a PriorityClass by name, failing the test on error.
func (*Env) GetPriorityClassE ¶
GetPriorityClassE fetches a PriorityClass by name, returning the error for non-existence checks.
func (*Env) GetPriorityLevelConfiguration ¶
func (env *Env) GetPriorityLevelConfiguration(t *testing.T, name string) *v110.PriorityLevelConfiguration
GetPriorityLevelConfiguration fetches a PriorityLevelConfiguration by name, failing the test on error.
func (*Env) GetPriorityLevelConfigurationE ¶
func (env *Env) GetPriorityLevelConfigurationE(t *testing.T, name string) (*v110.PriorityLevelConfiguration, error)
GetPriorityLevelConfigurationE fetches a PriorityLevelConfiguration by name, returning the error for non-existence checks.
func (*Env) GetProbe ¶ added in v1.1.0
GetProbe fetches a Probe by name via the dynamic client, failing the test on error.
func (*Env) GetProbeE ¶ added in v1.1.0
GetProbeE fetches a Probe by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetPrometheus ¶ added in v1.1.0
GetPrometheus fetches a Prometheus by name via the dynamic client, failing the test on error.
func (*Env) GetPrometheusE ¶ added in v1.1.0
GetPrometheusE fetches a Prometheus by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetPrometheusRule ¶ added in v1.1.0
GetPrometheusRule fetches a PrometheusRule by name via the dynamic client, failing the test on error.
func (*Env) GetPrometheusRuleE ¶ added in v1.1.0
GetPrometheusRuleE fetches a PrometheusRule by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetRbacV1alpha1ClusterRole ¶
GetRbacV1alpha1ClusterRole fetches a RbacV1alpha1ClusterRole by name, failing the test on error.
func (*Env) GetRbacV1alpha1ClusterRoleBinding ¶
func (env *Env) GetRbacV1alpha1ClusterRoleBinding(t *testing.T, name string) *v1alpha14.ClusterRoleBinding
GetRbacV1alpha1ClusterRoleBinding fetches a RbacV1alpha1ClusterRoleBinding by name, failing the test on error.
func (*Env) GetRbacV1alpha1ClusterRoleBindingE ¶
func (env *Env) GetRbacV1alpha1ClusterRoleBindingE(t *testing.T, name string) (*v1alpha14.ClusterRoleBinding, error)
GetRbacV1alpha1ClusterRoleBindingE fetches a RbacV1alpha1ClusterRoleBinding by name, returning the error for non-existence checks.
func (*Env) GetRbacV1alpha1ClusterRoleE ¶
func (env *Env) GetRbacV1alpha1ClusterRoleE(t *testing.T, name string) (*v1alpha14.ClusterRole, error)
GetRbacV1alpha1ClusterRoleE fetches a RbacV1alpha1ClusterRole by name, returning the error for non-existence checks.
func (*Env) GetRbacV1alpha1Role ¶
GetRbacV1alpha1Role fetches a RbacV1alpha1Role by name, failing the test on error.
func (*Env) GetRbacV1alpha1RoleBinding ¶
GetRbacV1alpha1RoleBinding fetches a RbacV1alpha1RoleBinding by name, failing the test on error.
func (*Env) GetRbacV1alpha1RoleBindingE ¶
func (env *Env) GetRbacV1alpha1RoleBindingE(t *testing.T, name string) (*v1alpha14.RoleBinding, error)
GetRbacV1alpha1RoleBindingE fetches a RbacV1alpha1RoleBinding by name, returning the error for non-existence checks.
func (*Env) GetRbacV1alpha1RoleE ¶
GetRbacV1alpha1RoleE fetches a RbacV1alpha1Role by name, returning the error for non-existence checks.
func (*Env) GetRbacV1beta1ClusterRole ¶
GetRbacV1beta1ClusterRole fetches a RbacV1beta1ClusterRole by name, failing the test on error.
func (*Env) GetRbacV1beta1ClusterRoleBinding ¶
func (env *Env) GetRbacV1beta1ClusterRoleBinding(t *testing.T, name string) *v1beta112.ClusterRoleBinding
GetRbacV1beta1ClusterRoleBinding fetches a RbacV1beta1ClusterRoleBinding by name, failing the test on error.
func (*Env) GetRbacV1beta1ClusterRoleBindingE ¶
func (env *Env) GetRbacV1beta1ClusterRoleBindingE(t *testing.T, name string) (*v1beta112.ClusterRoleBinding, error)
GetRbacV1beta1ClusterRoleBindingE fetches a RbacV1beta1ClusterRoleBinding by name, returning the error for non-existence checks.
func (*Env) GetRbacV1beta1ClusterRoleE ¶
func (env *Env) GetRbacV1beta1ClusterRoleE(t *testing.T, name string) (*v1beta112.ClusterRole, error)
GetRbacV1beta1ClusterRoleE fetches a RbacV1beta1ClusterRole by name, returning the error for non-existence checks.
func (*Env) GetRbacV1beta1Role ¶
GetRbacV1beta1Role fetches a RbacV1beta1Role by name, failing the test on error.
func (*Env) GetRbacV1beta1RoleBinding ¶
GetRbacV1beta1RoleBinding fetches a RbacV1beta1RoleBinding by name, failing the test on error.
func (*Env) GetRbacV1beta1RoleBindingE ¶
func (env *Env) GetRbacV1beta1RoleBindingE(t *testing.T, name string) (*v1beta112.RoleBinding, error)
GetRbacV1beta1RoleBindingE fetches a RbacV1beta1RoleBinding by name, returning the error for non-existence checks.
func (*Env) GetRbacV1beta1RoleE ¶
GetRbacV1beta1RoleE fetches a RbacV1beta1Role by name, returning the error for non-existence checks.
func (*Env) GetReferenceGrant ¶ added in v1.1.0
GetReferenceGrant fetches a ReferenceGrant by name via the dynamic client, failing the test on error.
func (*Env) GetReferenceGrantE ¶ added in v1.1.0
GetReferenceGrantE fetches a ReferenceGrant by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetReplicaSet ¶
GetReplicaSet fetches a ReplicaSet by name, failing the test on error.
func (*Env) GetReplicaSetE ¶
GetReplicaSetE fetches a ReplicaSet by name, returning the error for non-existence checks.
func (*Env) GetReplicationController ¶
GetReplicationController fetches a ReplicationController by name, failing the test on error.
func (*Env) GetReplicationControllerE ¶
func (env *Env) GetReplicationControllerE(t *testing.T, name string) (*v17.ReplicationController, error)
GetReplicationControllerE fetches a ReplicationController by name, returning the error for non-existence checks.
func (*Env) GetResourceClaim ¶
GetResourceClaim fetches a ResourceClaim by name, failing the test on error.
func (*Env) GetResourceClaimE ¶
GetResourceClaimE fetches a ResourceClaim by name, returning the error for non-existence checks.
func (*Env) GetResourceClaimTemplate ¶
GetResourceClaimTemplate fetches a ResourceClaimTemplate by name, failing the test on error.
func (*Env) GetResourceClaimTemplateE ¶
func (env *Env) GetResourceClaimTemplateE(t *testing.T, name string) (*v115.ResourceClaimTemplate, error)
GetResourceClaimTemplateE fetches a ResourceClaimTemplate by name, returning the error for non-existence checks.
func (*Env) GetResourcePoolStatusRequest ¶
func (env *Env) GetResourcePoolStatusRequest(t *testing.T, name string) *v1alpha3.ResourcePoolStatusRequest
GetResourcePoolStatusRequest fetches a ResourcePoolStatusRequest by name, failing the test on error.
func (*Env) GetResourcePoolStatusRequestE ¶
func (env *Env) GetResourcePoolStatusRequestE(t *testing.T, name string) (*v1alpha3.ResourcePoolStatusRequest, error)
GetResourcePoolStatusRequestE fetches a ResourcePoolStatusRequest by name, returning the error for non-existence checks.
func (*Env) GetResourceQuota ¶
GetResourceQuota fetches a ResourceQuota by name, failing the test on error.
func (*Env) GetResourceQuotaE ¶
GetResourceQuotaE fetches a ResourceQuota by name, returning the error for non-existence checks.
func (*Env) GetResourceSlice ¶
GetResourceSlice fetches a ResourceSlice by name, failing the test on error.
func (*Env) GetResourceSliceE ¶
GetResourceSliceE fetches a ResourceSlice by name, returning the error for non-existence checks.
func (*Env) GetResourceV1alpha3DeviceTaintRule ¶
func (env *Env) GetResourceV1alpha3DeviceTaintRule(t *testing.T, name string) *v1alpha3.DeviceTaintRule
GetResourceV1alpha3DeviceTaintRule fetches a ResourceV1alpha3DeviceTaintRule by name, failing the test on error.
func (*Env) GetResourceV1alpha3DeviceTaintRuleE ¶
func (env *Env) GetResourceV1alpha3DeviceTaintRuleE(t *testing.T, name string) (*v1alpha3.DeviceTaintRule, error)
GetResourceV1alpha3DeviceTaintRuleE fetches a ResourceV1alpha3DeviceTaintRule by name, returning the error for non-existence checks.
func (*Env) GetResourceV1beta1DeviceClass ¶
GetResourceV1beta1DeviceClass fetches a ResourceV1beta1DeviceClass by name, failing the test on error.
func (*Env) GetResourceV1beta1DeviceClassE ¶
func (env *Env) GetResourceV1beta1DeviceClassE(t *testing.T, name string) (*v1beta113.DeviceClass, error)
GetResourceV1beta1DeviceClassE fetches a ResourceV1beta1DeviceClass by name, returning the error for non-existence checks.
func (*Env) GetResourceV1beta1ResourceClaim ¶
GetResourceV1beta1ResourceClaim fetches a ResourceV1beta1ResourceClaim by name, failing the test on error.
func (*Env) GetResourceV1beta1ResourceClaimE ¶
func (env *Env) GetResourceV1beta1ResourceClaimE(t *testing.T, name string) (*v1beta113.ResourceClaim, error)
GetResourceV1beta1ResourceClaimE fetches a ResourceV1beta1ResourceClaim by name, returning the error for non-existence checks.
func (*Env) GetResourceV1beta1ResourceClaimTemplate ¶
func (env *Env) GetResourceV1beta1ResourceClaimTemplate(t *testing.T, name string) *v1beta113.ResourceClaimTemplate
GetResourceV1beta1ResourceClaimTemplate fetches a ResourceV1beta1ResourceClaimTemplate by name, failing the test on error.
func (*Env) GetResourceV1beta1ResourceClaimTemplateE ¶
func (env *Env) GetResourceV1beta1ResourceClaimTemplateE(t *testing.T, name string) (*v1beta113.ResourceClaimTemplate, error)
GetResourceV1beta1ResourceClaimTemplateE fetches a ResourceV1beta1ResourceClaimTemplate by name, returning the error for non-existence checks.
func (*Env) GetResourceV1beta1ResourceSlice ¶
GetResourceV1beta1ResourceSlice fetches a ResourceV1beta1ResourceSlice by name, failing the test on error.
func (*Env) GetResourceV1beta1ResourceSliceE ¶
func (env *Env) GetResourceV1beta1ResourceSliceE(t *testing.T, name string) (*v1beta113.ResourceSlice, error)
GetResourceV1beta1ResourceSliceE fetches a ResourceV1beta1ResourceSlice by name, returning the error for non-existence checks.
func (*Env) GetResourceV1beta2DeviceClass ¶
GetResourceV1beta2DeviceClass fetches a ResourceV1beta2DeviceClass by name, failing the test on error.
func (*Env) GetResourceV1beta2DeviceClassE ¶
func (env *Env) GetResourceV1beta2DeviceClassE(t *testing.T, name string) (*v1beta22.DeviceClass, error)
GetResourceV1beta2DeviceClassE fetches a ResourceV1beta2DeviceClass by name, returning the error for non-existence checks.
func (*Env) GetResourceV1beta2ResourceClaim ¶
GetResourceV1beta2ResourceClaim fetches a ResourceV1beta2ResourceClaim by name, failing the test on error.
func (*Env) GetResourceV1beta2ResourceClaimE ¶
func (env *Env) GetResourceV1beta2ResourceClaimE(t *testing.T, name string) (*v1beta22.ResourceClaim, error)
GetResourceV1beta2ResourceClaimE fetches a ResourceV1beta2ResourceClaim by name, returning the error for non-existence checks.
func (*Env) GetResourceV1beta2ResourceClaimTemplate ¶
func (env *Env) GetResourceV1beta2ResourceClaimTemplate(t *testing.T, name string) *v1beta22.ResourceClaimTemplate
GetResourceV1beta2ResourceClaimTemplate fetches a ResourceV1beta2ResourceClaimTemplate by name, failing the test on error.
func (*Env) GetResourceV1beta2ResourceClaimTemplateE ¶
func (env *Env) GetResourceV1beta2ResourceClaimTemplateE(t *testing.T, name string) (*v1beta22.ResourceClaimTemplate, error)
GetResourceV1beta2ResourceClaimTemplateE fetches a ResourceV1beta2ResourceClaimTemplate by name, returning the error for non-existence checks.
func (*Env) GetResourceV1beta2ResourceSlice ¶
GetResourceV1beta2ResourceSlice fetches a ResourceV1beta2ResourceSlice by name, failing the test on error.
func (*Env) GetResourceV1beta2ResourceSliceE ¶
func (env *Env) GetResourceV1beta2ResourceSliceE(t *testing.T, name string) (*v1beta22.ResourceSlice, error)
GetResourceV1beta2ResourceSliceE fetches a ResourceV1beta2ResourceSlice by name, returning the error for non-existence checks.
func (*Env) GetRoleBinding ¶
GetRoleBinding fetches a RoleBinding by name, failing the test on error.
func (*Env) GetRoleBindingE ¶
GetRoleBindingE fetches a RoleBinding by name, returning the error for non-existence checks.
func (*Env) GetRoleE ¶
GetRoleE fetches a Role by name, returning the error for non-existence checks.
func (*Env) GetRuntimeClass ¶
GetRuntimeClass fetches a RuntimeClass by name, failing the test on error.
func (*Env) GetRuntimeClassE ¶
GetRuntimeClassE fetches a RuntimeClass by name, returning the error for non-existence checks.
func (*Env) GetSchedulingV1beta1PriorityClass ¶
func (env *Env) GetSchedulingV1beta1PriorityClass(t *testing.T, name string) *v1beta114.PriorityClass
GetSchedulingV1beta1PriorityClass fetches a SchedulingV1beta1PriorityClass by name, failing the test on error.
func (*Env) GetSchedulingV1beta1PriorityClassE ¶
func (env *Env) GetSchedulingV1beta1PriorityClassE(t *testing.T, name string) (*v1beta114.PriorityClass, error)
GetSchedulingV1beta1PriorityClassE fetches a SchedulingV1beta1PriorityClass by name, returning the error for non-existence checks.
func (*Env) GetSecretE ¶
GetSecretE fetches a Secret by name, returning the error for non-existence checks.
func (*Env) GetService ¶
GetService fetches a Service by name, failing the test on error.
func (*Env) GetServiceAccount ¶
GetServiceAccount fetches a ServiceAccount by name, failing the test on error.
func (*Env) GetServiceAccountE ¶
GetServiceAccountE fetches a ServiceAccount by name, returning the error for non-existence checks.
func (*Env) GetServiceCIDR ¶
GetServiceCIDR fetches a ServiceCIDR by name, failing the test on error.
func (*Env) GetServiceCIDRE ¶
GetServiceCIDRE fetches a ServiceCIDR by name, returning the error for non-existence checks.
func (*Env) GetServiceE ¶
GetServiceE fetches a Service by name, returning the error for non-existence checks.
func (*Env) GetServiceMonitor ¶ added in v1.1.0
GetServiceMonitor fetches a ServiceMonitor by name via the dynamic client, failing the test on error.
func (*Env) GetServiceMonitorE ¶ added in v1.1.0
GetServiceMonitorE fetches a ServiceMonitor by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetStatefulSet ¶
GetStatefulSet fetches a StatefulSet by name, failing the test on error.
func (*Env) GetStatefulSetE ¶
GetStatefulSetE fetches a StatefulSet by name, returning the error for non-existence checks.
func (*Env) GetStorageClass ¶
GetStorageClass fetches a StorageClass by name, failing the test on error.
func (*Env) GetStorageClassE ¶
GetStorageClassE fetches a StorageClass by name, returning the error for non-existence checks.
func (*Env) GetStorageV1alpha1CSIStorageCapacity ¶
func (env *Env) GetStorageV1alpha1CSIStorageCapacity(t *testing.T, name string) *v1alpha15.CSIStorageCapacity
GetStorageV1alpha1CSIStorageCapacity fetches a StorageV1alpha1CSIStorageCapacity by name, failing the test on error.
func (*Env) GetStorageV1alpha1CSIStorageCapacityE ¶
func (env *Env) GetStorageV1alpha1CSIStorageCapacityE(t *testing.T, name string) (*v1alpha15.CSIStorageCapacity, error)
GetStorageV1alpha1CSIStorageCapacityE fetches a StorageV1alpha1CSIStorageCapacity by name, returning the error for non-existence checks.
func (*Env) GetStorageV1alpha1VolumeAttachment ¶
func (env *Env) GetStorageV1alpha1VolumeAttachment(t *testing.T, name string) *v1alpha15.VolumeAttachment
GetStorageV1alpha1VolumeAttachment fetches a StorageV1alpha1VolumeAttachment by name, failing the test on error.
func (*Env) GetStorageV1alpha1VolumeAttachmentE ¶
func (env *Env) GetStorageV1alpha1VolumeAttachmentE(t *testing.T, name string) (*v1alpha15.VolumeAttachment, error)
GetStorageV1alpha1VolumeAttachmentE fetches a StorageV1alpha1VolumeAttachment by name, returning the error for non-existence checks.
func (*Env) GetStorageV1alpha1VolumeAttributesClass ¶
func (env *Env) GetStorageV1alpha1VolumeAttributesClass(t *testing.T, name string) *v1alpha15.VolumeAttributesClass
GetStorageV1alpha1VolumeAttributesClass fetches a StorageV1alpha1VolumeAttributesClass by name, failing the test on error.
func (*Env) GetStorageV1alpha1VolumeAttributesClassE ¶
func (env *Env) GetStorageV1alpha1VolumeAttributesClassE(t *testing.T, name string) (*v1alpha15.VolumeAttributesClass, error)
GetStorageV1alpha1VolumeAttributesClassE fetches a StorageV1alpha1VolumeAttributesClass by name, returning the error for non-existence checks.
func (*Env) GetStorageV1beta1CSIDriver ¶
GetStorageV1beta1CSIDriver fetches a StorageV1beta1CSIDriver by name, failing the test on error.
func (*Env) GetStorageV1beta1CSIDriverE ¶
func (env *Env) GetStorageV1beta1CSIDriverE(t *testing.T, name string) (*v1beta115.CSIDriver, error)
GetStorageV1beta1CSIDriverE fetches a StorageV1beta1CSIDriver by name, returning the error for non-existence checks.
func (*Env) GetStorageV1beta1CSINode ¶
GetStorageV1beta1CSINode fetches a StorageV1beta1CSINode by name, failing the test on error.
func (*Env) GetStorageV1beta1CSINodeE ¶
GetStorageV1beta1CSINodeE fetches a StorageV1beta1CSINode by name, returning the error for non-existence checks.
func (*Env) GetStorageV1beta1CSIStorageCapacity ¶
func (env *Env) GetStorageV1beta1CSIStorageCapacity(t *testing.T, name string) *v1beta115.CSIStorageCapacity
GetStorageV1beta1CSIStorageCapacity fetches a StorageV1beta1CSIStorageCapacity by name, failing the test on error.
func (*Env) GetStorageV1beta1CSIStorageCapacityE ¶
func (env *Env) GetStorageV1beta1CSIStorageCapacityE(t *testing.T, name string) (*v1beta115.CSIStorageCapacity, error)
GetStorageV1beta1CSIStorageCapacityE fetches a StorageV1beta1CSIStorageCapacity by name, returning the error for non-existence checks.
func (*Env) GetStorageV1beta1StorageClass ¶
GetStorageV1beta1StorageClass fetches a StorageV1beta1StorageClass by name, failing the test on error.
func (*Env) GetStorageV1beta1StorageClassE ¶
func (env *Env) GetStorageV1beta1StorageClassE(t *testing.T, name string) (*v1beta115.StorageClass, error)
GetStorageV1beta1StorageClassE fetches a StorageV1beta1StorageClass by name, returning the error for non-existence checks.
func (*Env) GetStorageV1beta1VolumeAttachment ¶
func (env *Env) GetStorageV1beta1VolumeAttachment(t *testing.T, name string) *v1beta115.VolumeAttachment
GetStorageV1beta1VolumeAttachment fetches a StorageV1beta1VolumeAttachment by name, failing the test on error.
func (*Env) GetStorageV1beta1VolumeAttachmentE ¶
func (env *Env) GetStorageV1beta1VolumeAttachmentE(t *testing.T, name string) (*v1beta115.VolumeAttachment, error)
GetStorageV1beta1VolumeAttachmentE fetches a StorageV1beta1VolumeAttachment by name, returning the error for non-existence checks.
func (*Env) GetStorageV1beta1VolumeAttributesClass ¶
func (env *Env) GetStorageV1beta1VolumeAttributesClass(t *testing.T, name string) *v1beta115.VolumeAttributesClass
GetStorageV1beta1VolumeAttributesClass fetches a StorageV1beta1VolumeAttributesClass by name, failing the test on error.
func (*Env) GetStorageV1beta1VolumeAttributesClassE ¶
func (env *Env) GetStorageV1beta1VolumeAttributesClassE(t *testing.T, name string) (*v1beta115.VolumeAttributesClass, error)
GetStorageV1beta1VolumeAttributesClassE fetches a StorageV1beta1VolumeAttributesClass by name, returning the error for non-existence checks.
func (*Env) GetStorageVersion ¶
GetStorageVersion fetches a StorageVersion by name, failing the test on error.
func (*Env) GetStorageVersionE ¶
GetStorageVersionE fetches a StorageVersion by name, returning the error for non-existence checks.
func (*Env) GetStorageVersionMigration ¶
func (env *Env) GetStorageVersionMigration(t *testing.T, name string) *v1beta116.StorageVersionMigration
GetStorageVersionMigration fetches a StorageVersionMigration by name, failing the test on error.
func (*Env) GetStorageVersionMigrationE ¶
func (env *Env) GetStorageVersionMigrationE(t *testing.T, name string) (*v1beta116.StorageVersionMigration, error)
GetStorageVersionMigrationE fetches a StorageVersionMigration by name, returning the error for non-existence checks.
func (*Env) GetTLSRoute ¶ added in v1.1.0
GetTLSRoute fetches a TLSRoute by name via the dynamic client, failing the test on error.
func (*Env) GetTLSRouteE ¶ added in v1.1.0
GetTLSRouteE fetches a TLSRoute by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetThanosRuler ¶ added in v1.1.0
GetThanosRuler fetches a ThanosRuler by name via the dynamic client, failing the test on error.
func (*Env) GetThanosRulerE ¶ added in v1.1.0
GetThanosRulerE fetches a ThanosRuler by name via the dynamic client, returning the error for non-existence checks.
func (*Env) GetValidatingAdmissionPolicy ¶
func (env *Env) GetValidatingAdmissionPolicy(t *testing.T, name string) *v1.ValidatingAdmissionPolicy
GetValidatingAdmissionPolicy fetches a ValidatingAdmissionPolicy by name, failing the test on error.
func (*Env) GetValidatingAdmissionPolicyBinding ¶
func (env *Env) GetValidatingAdmissionPolicyBinding(t *testing.T, name string) *v1.ValidatingAdmissionPolicyBinding
GetValidatingAdmissionPolicyBinding fetches a ValidatingAdmissionPolicyBinding by name, failing the test on error.
func (*Env) GetValidatingAdmissionPolicyBindingE ¶
func (env *Env) GetValidatingAdmissionPolicyBindingE(t *testing.T, name string) (*v1.ValidatingAdmissionPolicyBinding, error)
GetValidatingAdmissionPolicyBindingE fetches a ValidatingAdmissionPolicyBinding by name, returning the error for non-existence checks.
func (*Env) GetValidatingAdmissionPolicyE ¶
func (env *Env) GetValidatingAdmissionPolicyE(t *testing.T, name string) (*v1.ValidatingAdmissionPolicy, error)
GetValidatingAdmissionPolicyE fetches a ValidatingAdmissionPolicy by name, returning the error for non-existence checks.
func (*Env) GetValidatingWebhookConfiguration ¶
func (env *Env) GetValidatingWebhookConfiguration(t *testing.T, name string) *v1.ValidatingWebhookConfiguration
GetValidatingWebhookConfiguration fetches a ValidatingWebhookConfiguration by name, failing the test on error.
func (*Env) GetValidatingWebhookConfigurationE ¶
func (env *Env) GetValidatingWebhookConfigurationE(t *testing.T, name string) (*v1.ValidatingWebhookConfiguration, error)
GetValidatingWebhookConfigurationE fetches a ValidatingWebhookConfiguration by name, returning the error for non-existence checks.
func (*Env) GetVolumeAttachment ¶
GetVolumeAttachment fetches a VolumeAttachment by name, failing the test on error.
func (*Env) GetVolumeAttachmentE ¶
GetVolumeAttachmentE fetches a VolumeAttachment by name, returning the error for non-existence checks.
func (*Env) GetVolumeAttributesClass ¶
GetVolumeAttributesClass fetches a VolumeAttributesClass by name, failing the test on error.
func (*Env) GetVolumeAttributesClassE ¶
func (env *Env) GetVolumeAttributesClassE(t *testing.T, name string) (*v117.VolumeAttributesClass, error)
GetVolumeAttributesClassE fetches a VolumeAttributesClass by name, returning the error for non-existence checks.
func (*Env) GetWorkload ¶
GetWorkload fetches a Workload by name, failing the test on error.