sources

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2016 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsulSource

type ConsulSource struct {
	Address string `json:"address"`
	Prefix  string `json:"prefix"`
	Scheme  string `json:"scheme"`
}

func (*ConsulSource) Get

func (consulSource *ConsulSource) Get() (map[string]interface{}, error)

type DynamoDBSource

type DynamoDBSource struct {
	Endpoint  string `json:"endpoint"`
	Region    string `json:"region"`
	AccessKey string `json:"accessKey"`
	SecretKey string `json:"secretKey"`
	Table     string `json:"table"`
	Key       string `json:"key"`
}

func (*DynamoDBSource) Get

func (dynamoDBSource *DynamoDBSource) Get() (map[string]interface{}, error)

type EtcdSource

type EtcdSource struct {
	Endpoints  []string `json:"endpoints"`
	Prefix     string   `json:"prefix"`
	KeepPrefix bool     `json:"keepPrefix"`
}

func (*EtcdSource) Get

func (etcdSource *EtcdSource) Get() (map[string]interface{}, error)

type FileSource

type FileSource struct {
	Path   string `json:"path"`
	Format string `json:"format"`
}

func (*FileSource) Get

func (fileSource *FileSource) Get() (map[string]interface{}, error)

type HTTPSource

type HTTPSource struct {
	URL      string `json:"url"`
	Format   string `json:"format"`
	Insecure bool   `json:"insecure"`
	TLS      struct {
		Cert string `json:"cert"`
		Key  string `json:"key"`
	} `json:"tls"`
}

func (*HTTPSource) Get

func (httpSource *HTTPSource) Get() (map[string]interface{}, error)

type RedisSource

type RedisSource struct {
	URI string `json:"uri"`
	Key string `json:"key"`
}

func (*RedisSource) Get

func (redisSource *RedisSource) Get() (map[string]interface{}, error)

type ShellSource added in v0.2.0

type ShellSource struct {
	Command string `json:"command"`
	Format  string `json:"format"`
}

func (*ShellSource) Get added in v0.2.0

func (shellSource *ShellSource) Get() (map[string]interface{}, error)

type VaultSource added in v0.2.0

type VaultSource struct {
	Address string `json:"address"`
	Token   string `json:"token"`
	Path    string `json:"path"`
}

func (*VaultSource) Get added in v0.2.0

func (vaultSource *VaultSource) Get() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL