Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPDatasourceSpec ¶ added in v0.2.0
type HTTPDatasourceSpec struct {
DirectURL string `json:"directUrl,omitempty" yaml:"directUrl,omitempty"`
Proxy *http.Proxy `json:"proxy,omitempty" yaml:"proxy,omitempty"`
}
HTTPDatasourceSpec is the struct that can be used to define an HTTP Datasource plugin. To be used when implementing a plugin, and you want to provide the associated go-sdk. This struct is just here to avoid developer to redefine the same struct in their own plugin implementation, because most of the time developers do not need more field than the two proposed. If you need more, define your own struct and use it in your plugin implementation.
func (*HTTPDatasourceSpec) UnmarshalJSON ¶ added in v0.2.0
func (s *HTTPDatasourceSpec) UnmarshalJSON(data []byte) error
func (*HTTPDatasourceSpec) UnmarshalYAML ¶ added in v0.2.0
func (s *HTTPDatasourceSpec) UnmarshalYAML(unmarshal func(interface{}) error) error
type SQLDatasourceSpec ¶ added in v0.2.0
SQLDatasourceSpec is the struct that can be used to define an SQL Datasource plugin. To be used when implementing a plugin, and you want to provide the associated go-sdk. This struct is just here to avoid developer to redefine the same struct in their own plugin implementation, because most of the time developers do not need more field than the two proposed. If you need more, define your own struct and use it in your plugin implementation.
func (*SQLDatasourceSpec) UnmarshalJSON ¶ added in v0.2.0
func (s *SQLDatasourceSpec) UnmarshalJSON(data []byte) error
func (*SQLDatasourceSpec) UnmarshalYAML ¶ added in v0.2.0
func (s *SQLDatasourceSpec) UnmarshalYAML(unmarshal func(interface{}) error) error