Documentation ¶
Index ¶
- Constants
- func GetAppTypes() []string
- func InputBindingComponentTypes() []string
- func OutputBindingComponentTypes() []string
- func PubsubComponentTypes() []string
- func SecretComponentTypes() []string
- func StateComponentTypes() []string
- type App
- type Component
- type Componentable
- type Meta
- type Project
- type PubSub
- type Service
Constants ¶
View Source
const ( // AppTypeHTTP indicates HTTP Dapr protocol AppTypeHTTP = "HTTP" // AppTypeGRPC indicates gRPC Dapr protocol AppTypeGRPC = "gRPC" // AppTypeCLI indicates commandline app AppTypeCLI = "CLI" )
Variables ¶
This section is empty.
Functions ¶
func GetAppTypes ¶ added in v0.4.2
func GetAppTypes() []string
GetAppTypes returns supported app types
func InputBindingComponentTypes ¶
func InputBindingComponentTypes() []string
InputBindingComponentTypes lists all supported components
func OutputBindingComponentTypes ¶
func OutputBindingComponentTypes() []string
OutputBindingComponentTypes lists all supported components
func PubsubComponentTypes ¶
func PubsubComponentTypes() []string
PubsubComponentTypes lists all supported components
func SecretComponentTypes ¶
func SecretComponentTypes() []string
SecretComponentTypes lists all supported components
func StateComponentTypes ¶
func StateComponentTypes() []string
StateComponentTypes lists all supported components
Types ¶
type App ¶
type App struct { Meta Meta `yaml:"Meta"` PubSubs []*PubSub `yaml:"PubSubs"` Bindings []*Component `yaml:"Bindings"` Services []*Service `yaml:"Services"` Components []*Component `yaml:"Components"` }
App represents app state
type Component ¶
Component represents a Dapr component
type Componentable ¶
Componentable defines the component interface
type Meta ¶
type Meta struct { Name string `yaml:"Name"` Type string `yaml:"Type"` Lang string `yaml:"Lang"` Main string `yaml:"Main"` Port int `yaml:"Port"` UsesClient bool `yaml:"UsesClient"` Owner string `yaml:"Owner"` }
Meta represents app metadata
Click to show internal directories.
Click to hide internal directories.