Documentation ¶
Index ¶
- func ControlPlane(t support.Test, dapr *daprApi.DaprControlPlane) func(g gomega.Gomega) (*daprApi.DaprControlPlane, error)
- func DeployControlPlane(t support.Test, spec *daprAc.DaprControlPlaneSpecApplyConfiguration, ...) *daprApi.DaprControlPlane
- func DeployInstance(t support.Test, spec *daprAc.DaprInstanceSpecApplyConfiguration, ...) *daprApi.DaprInstance
- func DeployTestApp(t support.Test, name string, namespace string)
- func GET(t support.Test, url string) func(g gomega.Gomega) (*http.Response, error)
- func Instance(t support.Test, dapr *daprApi.DaprInstance) func(g gomega.Gomega) (*daprApi.DaprInstance, error)
- func POST(t support.Test, url string, contentType string, content []byte) func(g gomega.Gomega) (*http.Response, error)
- func Values(t support.Test, in map[string]any) *daprAc.JSONApplyConfiguration
- type ControlPlaneOption
- type ControlPlaneOptions
- type InstanceOption
- type InstanceOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControlPlane ¶
func ControlPlane(t support.Test, dapr *daprApi.DaprControlPlane) func(g gomega.Gomega) (*daprApi.DaprControlPlane, error)
func DeployControlPlane ¶
func DeployControlPlane( t support.Test, spec *daprAc.DaprControlPlaneSpecApplyConfiguration, opts ...ControlPlaneOption, ) *daprApi.DaprControlPlane
func DeployInstance ¶
func DeployInstance( t support.Test, spec *daprAc.DaprInstanceSpecApplyConfiguration, opts ...InstanceOption, ) *daprApi.DaprInstance
func Instance ¶
func Instance(t support.Test, dapr *daprApi.DaprInstance) func(g gomega.Gomega) (*daprApi.DaprInstance, error)
Types ¶
type ControlPlaneOption ¶
type ControlPlaneOption func(*ControlPlaneOptions)
func WithControlPlaneName ¶
func WithControlPlaneName(value string) ControlPlaneOption
func WithControlPlaneNamespace ¶
func WithControlPlaneNamespace(value string) ControlPlaneOption
type ControlPlaneOptions ¶
type ControlPlaneOptions struct {
types.NamespacedName
}
type InstanceOption ¶
type InstanceOption func(*InstanceOptions)
func WithInstanceName ¶
func WithInstanceName(value string) InstanceOption
func WithInstanceNamespace ¶
func WithInstanceNamespace(value string) InstanceOption
type InstanceOptions ¶
type InstanceOptions struct {
types.NamespacedName
}
Click to show internal directories.
Click to hide internal directories.