data_usage

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataUsageImportConfig

type DataUsageImportConfig struct {
	target.BaseTargetConfig
	TargetFile string
}

type DataUsageImportResult

type DataUsageImportResult struct {
	StatementsAdded  int             `json:"statementsAdded"`
	StatementsFailed int             `json:"statementsFailed"`
	Errors           []graphql.Error `json:"errors"`
}

type DataUsageImporter

type DataUsageImporter interface {
	TriggerImport() (*DataUsageImportResult, error)
}

func NewDataUsageImporter

func NewDataUsageImporter(config *DataUsageImportConfig) DataUsageImporter

type Response added in v0.9.1

type Response struct {
	ImportDataUsage DataUsageImportResult `json:"importDataUsage"`
}

Jump to

Keyboard shortcuts

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