artifactmanager

package
v0.0.0-...-3ec4577 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TagArtifact

func TagArtifact(artifactPath string, metadata map[string]string) error

func TrackLineage

func TrackLineage(artifactPath string, details map[string]string) error

func ValidateArtifact

func ValidateArtifact(artifactPath string) error

Types

type ArtifactMetadata

type ArtifactMetadata struct {
	Name      string            `yaml:"name"`
	Version   string            `yaml:"version"`
	CreatedAt time.Time         `yaml:"created_at"`
	UpdatedAt time.Time         `yaml:"updated_at"`
	Tags      map[string]string `yaml:"tags"`
	Lineage   []LineageEntry    `yaml:"lineage"`
}

func GetArtifactMetadata

func GetArtifactMetadata(artifactPath string) (ArtifactMetadata, error)

type LineageEntry

type LineageEntry struct {
	Timestamp time.Time         `yaml:"timestamp"`
	Action    string            `yaml:"action"`
	Details   map[string]string `yaml:"details"`
}

Jump to

Keyboard shortcuts

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