Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Destination ¶
type Destination struct { ApiVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata Metadata `yaml:"metadata"` Spec Spec `yaml:"spec"` }
func Get ¶
func Get() []Destination
func GetDestinationByType ¶
func GetDestinationByType(destType string) Destination
type Field ¶
type Field struct { Name string `yaml:"name"` DisplayName string `yaml:"displayName"` VideoURL string `yaml:"videoUrl"` ThumbnailURL string `yaml:"thumbnailUrl"` ComponentType string `yaml:"componentType"` ComponentProps map[string]interface{} `yaml:"componentProps"` Secret bool `yaml:"secret"` InitialValue string `yaml:"initialValue"` }
type Metadata ¶
type Metadata struct { Type common.DestinationType `yaml:"type"` DisplayName string `yaml:"displayName"` Category string `yaml:"category"` }
type Spec ¶
type Spec struct { Image string `yaml:"image"` Signals struct { Traces struct { Supported bool `yaml:"supported"` } Metrics struct { Supported bool `yaml:"supported"` } Logs struct { Supported bool `yaml:"supported"` } } Fields []Field `yaml:"fields"` TestConnectionSupported bool `yaml:"testConnectionSupported"` }
Click to show internal directories.
Click to hide internal directories.