dapr

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestAppPort        = 8080
	TestAppServicePort = 80
)

Variables

This section is empty.

Functions

func DeployTestApp

func DeployTestApp(t support.Test, name string, namespace string)

func GET

func GET(t support.Test, url string) func(g gomega.Gomega) (*http.Response, error)

func Instance

func Instance(t support.Test, dapr *daprApi.DaprInstance) func(g gomega.Gomega) (*daprApi.DaprInstance, error)

func POST

func POST(t support.Test, url string, contentType string, content []byte) func(g gomega.Gomega) (*http.Response, error)

func Values

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL