get

package
v0.0.0-...-5f7c61f Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

The get processor uses go-getter from Hashicorp to quickly and easily get data from many sources including Git, HTTP, S3, etc It takes in a simple string as input which contains a reference to the file and also any required configuration such as S3 access keys or the Git SHA

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetProcessor

type GetProcessor struct {
	// contains filtered or unexported fields
}

func (*GetProcessor) Configure

func (p *GetProcessor) Configure(config interface{}) error

func (*GetProcessor) GetConfig

func (p *GetProcessor) GetConfig() interface{}

func (*GetProcessor) GetError

func (p *GetProcessor) GetError() error

func (*GetProcessor) Metadata

func (p *GetProcessor) Metadata() processors.Processor

func (*GetProcessor) New

func (*GetProcessor) Output

func (p *GetProcessor) Output() interface{}

func (*GetProcessor) Run

func (p *GetProcessor) Run(data interface{})

func (*GetProcessor) State

func (p *GetProcessor) State() <-chan processors.DataChunkState

type GoGetConfig

type GoGetConfig struct {
	// Source is the source to download. It can either be a file or a folder, and Go-Getter will fetch it with GetAny
	// It can also include any go-getter configuration
	Source string
}

Jump to

Keyboard shortcuts

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