Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata Metadata `yaml:"metadata"` Spec Spec `yaml:"spec"` }
Config is a type that represents a Config instance
type Metadata ¶
type Metadata struct {
Name string `yaml:"name"`
}
Metadata is a type that represents a Config metadata
type Option ¶
type Option func(*Config)
Option is a type that represents a Config option
func WithNatsURL ¶
WithNatsURL sets the NATS URL for the DaprConfig
type Spec ¶
type Spec struct { Type string `yaml:"type"` Version string `yaml:"version"` SpecMetadata []SpecMetadata `yaml:"metadata"` }
Spec is a type that represents a Config spec
type SpecMetadata ¶
SpecMetadata is a type that represents a Config spec metadata
Click to show internal directories.
Click to hide internal directories.