Help us shape the future of Go! Take the 2026 Go Developer Survey

api

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIVersionV1alpha1 = "dapr.io/v1alpha1"
	APIVersionV2alpha1 = "dapr.io/v2alpha1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentUpdateEvent added in v1.13.0

type ComponentUpdateEvent struct {
	Component *componentsapi.Component
	EventType operatorv1pb.ResourceEventType
}

type Options added in v1.13.0

type Options struct {
	Client    client.Client
	Cache     cache.Cache
	PodReader client.Reader
	// PodAPIReader reads pods directly from the API server, bypassing the
	// cache. Used when a connecting app's pod is not yet in PodReader.
	PodAPIReader  client.Reader
	Security      security.Provider
	Port          int
	ListenAddress string
}

type Server added in v0.2.0

type Server interface {
	Run(context.Context) error
	Ready(context.Context) error
}

Server runs the Dapr API server for components and configurations.

func NewAPIServer

func NewAPIServer(opts Options) Server

NewAPIServer returns a new API server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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