api

package
v1.11.5-rc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 23 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 Server added in v0.2.0

type Server interface {
	Run(ctx context.Context, certChain *daprCredentials.CertChain) error
	Ready(context.Context) error
	OnComponentUpdated(ctx context.Context, component *componentsapi.Component)
	OnHTTPEndpointUpdated(ctx context.Context, endpoint *httpendpointsapi.HTTPEndpoint)
}

Server runs the Dapr API server for components and configurations.

func NewAPIServer

func NewAPIServer(client client.Client) Server

NewAPIServer returns a new API server.

Jump to

Keyboard shortcuts

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