Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPDatasourceSpec ¶
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 ¶
func (s *HTTPDatasourceSpec) UnmarshalJSON(data []byte) error
func (*HTTPDatasourceSpec) UnmarshalYAML ¶
func (s *HTTPDatasourceSpec) UnmarshalYAML(unmarshal func(interface{}) error) error
type SQLDatasourceSpec ¶
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 ¶
func (s *SQLDatasourceSpec) UnmarshalJSON(data []byte) error
func (*SQLDatasourceSpec) UnmarshalYAML ¶
func (s *SQLDatasourceSpec) UnmarshalYAML(unmarshal func(interface{}) error) error