api

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: Apache-2.0 Imports: 30 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
	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

	OnSubscriptionUpdated(context.Context, operatorv1pb.ResourceEventType, *subapi.Subscription)
	OnHTTPEndpointUpdated(context.Context, *httpendpointsapi.HTTPEndpoint)
}

Server runs the Dapr API server for components and configurations.

func NewAPIServer

func NewAPIServer(opts Options) Server

NewAPIServer returns a new API server.

type SubscriptionUpdateEvent added in v1.14.0

type SubscriptionUpdateEvent struct {
	Subscription *subapi.Subscription
	EventType    operatorv1pb.ResourceEventType
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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