Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSTransport ¶
type AWSTransport struct {
Credentials awsauth.Credentials
// contains filtered or unexported fields
}
AWSTransport handles wrapping requests to AWS Elasticsearch service
type Config ¶
type Config struct {
URI string `json:"uri" doc:"the uri to connect to, in the form mongodb://user:password@host.com:27017/auth_database"`
Namespace string `json:"namespace" doc:"mongo namespace to read/write"`
Timeout string `json:"timeout" doc:"timeout for establishing connection, format must be parsable by time.ParseDuration and defaults to 10s"`
AWSAccessKeyID string `json:"aws_access_key" doc:"credentials for use with AWS Elasticsearch service"`
AWSAccessSecret string `json:"aws_access_secret" doc:"credentials for use with AWS Elasticsearch service"`
}
Config provides configuration options for an elasticsearch adaptor the notable difference between this and dbConfig is the presence of the Timeout option
type Elasticsearch ¶
type Elasticsearch struct {
// contains filtered or unexported fields
}
Elasticsearch is an adaptor to connect a pipeline to an elasticsearch cluster.
func (*Elasticsearch) Description ¶
func (e *Elasticsearch) Description() string
Description for the Elasticsearcb adaptor
func (*Elasticsearch) SampleConfig ¶
func (e *Elasticsearch) SampleConfig() string
SampleConfig for elasticsearch adaptor
func (*Elasticsearch) Start ¶
func (e *Elasticsearch) Start() error
Start the adaptor as a source (not implemented)
Click to show internal directories.
Click to hide internal directories.