Documentation
¶
Index ¶
- Constants
- func CatalogSource(t Test, name string, namespace string) func(g gomega.Gomega) (*olmV1Alpha1.CatalogSource, error)
- func ConditionReason[T conditionType](conditionType T) func(any) string
- func ConditionStatus[T conditionType](conditionType T) func(any) corev1.ConditionStatus
- func ControlPlane(t Test, dapr *daprApi.DaprControlPlane) func(g gomega.Gomega) (*daprApi.DaprControlPlane, error)
- func Deployment(t Test, name string, namespace string) func(g gomega.Gomega) (*appsv1.Deployment, error)
- func ExtractCatalogState() func(*olmV1Alpha1.CatalogSource) string
- func ExtractSubscriptionInstallPlan() func(*olmV1Alpha1.Subscription) string
- func Subscription(t Test, name string, namespace string) func(g gomega.Gomega) (*olmV1Alpha1.Subscription, error)
- type Client
- type Option
- type T
- func (t *T) Client() *Client
- func (t *T) Ctx() context.Context
- func (t *T) NewDaprControlPlane(spec *daprAc.DaprControlPlaneSpecApplyConfiguration) *v1alpha1.DaprControlPlane
- func (t *T) NewNamespacedNameDaprControlPlane(nn types.NamespacedName, spec *daprAc.DaprControlPlaneSpecApplyConfiguration) *v1alpha1.DaprControlPlane
- 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 CatalogSource ¶ added in v1.11.2
func CatalogSource(t Test, name string, namespace string) func(g gomega.Gomega) (*olmV1Alpha1.CatalogSource, error)
func ConditionReason ¶
func ConditionStatus ¶
func ConditionStatus[T conditionType](conditionType T) func(any) corev1.ConditionStatus
func ControlPlane ¶
func ControlPlane(t Test, dapr *daprApi.DaprControlPlane) func(g gomega.Gomega) (*daprApi.DaprControlPlane, error)
func Deployment ¶
func ExtractCatalogState ¶ added in v1.11.2
func ExtractCatalogState() func(*olmV1Alpha1.CatalogSource) string
func ExtractSubscriptionInstallPlan ¶ added in v1.11.2
func ExtractSubscriptionInstallPlan() func(*olmV1Alpha1.Subscription) string
func Subscription ¶ added in v1.11.2
func Subscription(t Test, name string, namespace string) func(g gomega.Gomega) (*olmV1Alpha1.Subscription, error)
Types ¶
type Client ¶
type Client struct { kubernetes.Interface Dapr daprClient.Interface DaprCP daprAC.DaprControlPlaneInterface Discovery discovery.DiscoveryInterface OLM olmAC.Interface // contains filtered or unexported fields }
type T ¶
func (*T) NewDaprControlPlane ¶
func (t *T) NewDaprControlPlane( spec *daprAc.DaprControlPlaneSpecApplyConfiguration, ) *v1alpha1.DaprControlPlane
func (*T) NewNamespacedNameDaprControlPlane ¶
func (t *T) NewNamespacedNameDaprControlPlane( nn types.NamespacedName, spec *daprAc.DaprControlPlaneSpecApplyConfiguration, ) *v1alpha1.DaprControlPlane
func (*T) NewTestNamespace ¶
type Test ¶
type Test interface { T() *testing.T Ctx() context.Context Client() *Client NewTestNamespace(...Option[*corev1.Namespace]) *corev1.Namespace NewDaprControlPlane(spec *daprAc.DaprControlPlaneSpecApplyConfiguration) *v1alpha1.DaprControlPlane NewNamespacedNameDaprControlPlane(types.NamespacedName, *daprAc.DaprControlPlaneSpecApplyConfiguration) *v1alpha1.DaprControlPlane gomega.Gomega }
Click to show internal directories.
Click to hide internal directories.