exporter

package
v0.0.0-...-243ef2f Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STATE_UNSPECIFIED = "STATE_UNSPECIFIED"
	INITIALIZING      = "INITIALIZING"
	PROCESSING        = "PROCESSING"
	CANCELLING        = "CANCELLING"
	FINALIZING        = "FINALIZING"
	SUCCESSFUL        = "SUCCESSFUL"
	FAILED            = "FAILED"
	CANCELLED         = "CANCELLED"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	ProjectID  string
	BucketName string
	// contains filtered or unexported fields
}

func NewExporter

func NewExporter(ctx context.Context, log zerolog.Logger, projectID, bucketName string) (*Exporter, error)

func (*Exporter) Export

func (e *Exporter) Export(ctx context.Context) error

Export Initiates the datastore export operation exporting all kinds and namespaces Checks to see if the export operation was successful

Jump to

Keyboard shortcuts

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