export

package
v0.17.0-alpha.22 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportSourceData

type ExportSourceData interface {
	IsExportSourceData()
}

ExportSourceData is an interface implemented by all types which can be used as an input to an exporter

type Exporter

type Exporter interface {
	Export(input ExportSourceData, destPath string) error
	FileExtension() string
	Name() string
}

type Resolver

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

func NewResolver

func NewResolver() *Resolver

func (*Resolver) Register

func (r *Resolver) Register(exporter Exporter)

func (*Resolver) ResolveTargetsFromArgs

func (r *Resolver) ResolveTargetsFromArgs(exportArgs []string, executionName string) ([]*Target, error)

type SnapshotExporter

type SnapshotExporter struct {
}

func (*SnapshotExporter) Export

func (e *SnapshotExporter) Export(input ExportSourceData, filePath string) error

func (*SnapshotExporter) FileExtension

func (e *SnapshotExporter) FileExtension() string

func (SnapshotExporter) Name

func (e SnapshotExporter) Name() string

type Target

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

func (*Target) Export

func (t *Target) Export(input ExportSourceData) error

Jump to

Keyboard shortcuts

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