Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶ added in v0.2.0
type Component struct {
Name string `json:"name"`
Kind string `json:"kind"`
Type string `json:"type"`
Created string `json:"created"`
Age string `json:"age"`
Scopes []string `json:"scopes"`
Manifest interface{} `json:"manifest"`
}
Component represents a Dapr component
type Components ¶
type Components interface {
Supported() bool
GetComponent(scope string, name string) Component
GetComponents(scope string) []Component
}
Components is an interface to interact with Dapr components
func NewComponents ¶
func NewComponents(platform platforms.Platform, daprClient scheme.Interface, componentsPath string) Components
NewComponents returns a new Components instance
Click to show internal directories.
Click to hide internal directories.