config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BigQueryConfig

type BigQueryConfig struct {
	// ProjectID with the GKE project identifier
	ProjectID string
	// Schema with the BigQuery Schema
	Schema string
	// Table with the BigQuery table name
	Table string
	// CredentialsPath with the Service Account credentials file
	CredentialsPath string
	// SendingTime is the time between database inserts
	SendingTime time.Duration
}

BigQueryConfig with the bigQuery provider configuration

func NewBigQueryConfig

func NewBigQueryConfig(projectId string, schema string, table string, credentialsPath string, loopTime time.Duration) BigQueryConfig

func (*BigQueryConfig) IsValid

func (bqc *BigQueryConfig) IsValid() error

func (*BigQueryConfig) Print

func (bqc *BigQueryConfig) Print()

Jump to

Keyboard shortcuts

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