Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ProjectID string `json:"project_id" yaml:"project_id" mapstructure:"project_id" validate:"required"` // ServiceAccountBase64 takes precedence over ServiceAccountJSON field ServiceAccountBase64 string `json:"service_account_base64" yaml:"service_account_base64" mapstructure:"service_account_base64"` ServiceAccountJSON string `json:"service_account_json" yaml:"service_account_json" mapstructure:"service_account_json"` ExtractBlob bool `json:"extract_blob" yaml:"extract_blob" mapstructure:"extract_blob"` Exclude []string `json:"exclude" yaml:"exclude" mapstructure:"exclude"` }
Config holds the set of configuration for the extractor
type Extractor ¶
type Extractor struct { plugins.BaseExtractor // contains filtered or unexported fields }
Extractor manages the extraction of data from the google cloud storage
func New ¶
func New(logger log.Logger, newClient NewClientFunc) *Extractor
New returns a pointer to an initialized Extractor Object
Click to show internal directories.
Click to hide internal directories.