Documentation
¶
Index ¶
- Constants
- func ConditionReason[T conditions.GenericConditionType](conditionType T) func(any) string
- func ConditionStatus[T conditions.GenericConditionType](conditionType T) func(any) corev1.ConditionStatus
- func CustomResourceDefinition(t Test, name string) func(g gomega.Gomega) (*apiextv1.CustomResourceDefinition, error)
- func Deployment(t Test, name string, namespace string) func(g gomega.Gomega) (*appsv1.Deployment, error)
- func Deployments(t Test, namespace string, selector labels.Selector) func(g gomega.Gomega) ([]appsv1.Deployment, error)
- func ExtractFirstLoadBalancerIngressHostname() func(*netv1.Ingress) string
- func Ingress(t Test, name string, namespace string) func(g gomega.Gomega) (*netv1.Ingress, error)
- func Pod(t Test, name string, namespace string) func(g gomega.Gomega) (*corev1.Pod, error)
- func PodList(t Test, selector string, namespace string) func(g gomega.Gomega) (*corev1.PodList, error)
- func Resource(t Test, ri dynamic.ResourceInterface, un *unstructured.Unstructured) func(g gomega.Gomega) (*unstructured.Unstructured, error)
- func Service(t Test, name string, namespace string) func(g gomega.Gomega) (*corev1.Service, error)
- type Option
- type T
- func (t *T) Cleanup(f func() []runtime.Object)
- func (t *T) Client() *supportclient.Client
- func (t *T) Ctx() context.Context
- func (t *T) HTTPClient() *http.Client
- func (t *T) Helm() *helmsupport.Helm
- func (t *T) ID() string
- func (t *T) NewTestNamespace(options ...Option[*corev1.Namespace]) *corev1.Namespace
- func (t *T) T() *testing.T
- type Test
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ConditionReason ¶
func ConditionReason[T conditions.GenericConditionType](conditionType T) func(any) string
func ConditionStatus ¶
func ConditionStatus[T conditions.GenericConditionType](conditionType T) func(any) corev1.ConditionStatus
func CustomResourceDefinition ¶ added in v0.0.6
func Deployment ¶
func Deployments ¶ added in v0.0.6
func Resource ¶ added in v0.0.6
func Resource(t Test, ri dynamic.ResourceInterface, un *unstructured.Unstructured) func(g gomega.Gomega) (*unstructured.Unstructured, error)
Types ¶
type T ¶
func (*T) Client ¶
func (t *T) Client() *supportclient.Client
func (*T) HTTPClient ¶ added in v0.0.4
func (*T) Helm ¶ added in v0.0.6
func (t *T) Helm() *helmsupport.Helm
func (*T) NewTestNamespace ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.