transformers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateArtifactModel

func CreateArtifactModel(request datacatalog.CreateArtifactRequest, artifactData []models.ArtifactData) (models.Artifact, error)

func CreateDatasetModel

func CreateDatasetModel(dataset *datacatalog.Dataset) (*models.Dataset, error)

Create a dataset model from the Dataset api object. This will serialize the metadata in the dataset as part of the transform

func FromArtifactModel

func FromArtifactModel(artifact models.Artifact) (datacatalog.Artifact, error)

func FromDatasetID

func FromDatasetID(datasetID datacatalog.DatasetID) models.DatasetKey

Create a dataset ID from the dataset key model

func FromDatasetModel

func FromDatasetModel(dataset models.Dataset) (*datacatalog.Dataset, error)

Create a Dataset api object given a model, this will unmarshal the metadata into the object as part of the transform

func ToArtifactKey

func ToArtifactKey(datasetID datacatalog.DatasetID, artifactID string) models.ArtifactKey

func ToTagKey

func ToTagKey(datasetID datacatalog.DatasetID, tagName string) models.TagKey

Types

This section is empty.

Jump to

Keyboard shortcuts

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