Documentation ¶
Index ¶
- type BindingManager
- type Options
- type Processor
- func (p *Processor) AddPendingComponent(ctx context.Context, comp componentsapi.Component) bool
- func (p *Processor) AddPendingEndpoint(ctx context.Context, endpoint httpendpointsapi.HTTPEndpoint) bool
- func (p *Processor) AddPendingSubscription(ctx context.Context, subscriptions ...subapi.Subscription) bool
- func (p *Processor) Binding() BindingManager
- func (p *Processor) Close(comp componentsapi.Component) error
- func (p *Processor) CloseSubscription(ctx context.Context, sub *subapi.Subscription) error
- func (p *Processor) Init(ctx context.Context, comp componentsapi.Component) error
- func (p *Processor) Process(ctx context.Context) error
- func (p *Processor) Secret() SecretManager
- func (p *Processor) State() StateManager
- func (p *Processor) Subscriber() SubscribeManager
- func (p *Processor) WaitForEmptyComponentQueue()
- func (p *Processor) WorkflowBackend() WorkflowBackendManager
- type SecretManager
- type StateManager
- type SubscribeManager
- type WorkflowBackendManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindingManager ¶
type Options ¶
type Options struct { // ID is the ID of this Dapr instance. ID string // Namespace is the namespace of this Dapr instance. Namespace string // Mode is the mode of this Dapr instance. Mode modes.DaprMode // PodName is the name of the pod. PodName string // ActorsEnabled indicates whether placement service is enabled in this Dapr cluster. ActorsEnabled bool // IsHTTP indicates whether the connection to the application is using the // HTTP protocol. IsHTTP bool // Registry is the all-component registry. Registry *registry.Registry // ComponentStore is the component store. ComponentStore *compstore.ComponentStore // Metadata is the metadata helper. Meta *meta.Meta // GlobalConfig is the global configuration. GlobalConfig *config.Configuration Resiliency resiliency.Provider GRPC *grpcmanager.Manager Channels *channels.Channels OperatorClient operatorv1.OperatorClient MiddlewareHTTP *http.HTTP Security security.Handler Outbox outbox.Outbox Adapter rtpubsub.Adapter AdapterStreamer rtpubsub.AdapterStreamer }
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor manages the lifecycle of all components categories.
func (*Processor) AddPendingComponent ¶ added in v1.13.0
func (*Processor) AddPendingEndpoint ¶ added in v1.13.0
func (p *Processor) AddPendingEndpoint(ctx context.Context, endpoint httpendpointsapi.HTTPEndpoint) bool
func (*Processor) AddPendingSubscription ¶ added in v1.14.0
func (*Processor) Binding ¶
func (p *Processor) Binding() BindingManager
func (*Processor) Close ¶
func (p *Processor) Close(comp componentsapi.Component) error
Close closes the component.
func (*Processor) CloseSubscription ¶ added in v1.14.0
func (*Processor) Secret ¶ added in v1.13.0
func (p *Processor) Secret() SecretManager
func (*Processor) State ¶
func (p *Processor) State() StateManager
func (*Processor) Subscriber ¶ added in v1.14.0
func (p *Processor) Subscriber() SubscribeManager
func (*Processor) WaitForEmptyComponentQueue ¶ added in v1.13.0
func (p *Processor) WaitForEmptyComponentQueue()
WaitForEmptyComponentQueue waits for the component queue to be empty.
func (*Processor) WorkflowBackend ¶ added in v1.13.0
func (p *Processor) WorkflowBackend() WorkflowBackendManager
type SecretManager ¶ added in v1.13.0
type StateManager ¶
type SubscribeManager ¶ added in v1.14.0
type SubscribeManager interface { InitProgramaticSubscriptions(context.Context) error StartAppSubscriptions() error StopAppSubscriptions() StopAllSubscriptionsForever() ReloadDeclaredAppSubscription(name, pubsubName string) error StartStreamerSubscription(key string) error StopStreamerSubscription(pubsubName, key string) ReloadPubSub(string) error StopPubSub(string) }
type WorkflowBackendManager ¶ added in v1.13.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.