artifacts

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalObjectStore

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

func NewLocalObjectStore

func NewLocalObjectStore(root string) (*LocalObjectStore, error)

func (*LocalObjectStore) PutArtifactMetadata

func (s *LocalObjectStore) PutArtifactMetadata(artifact spec.Artifact) error

func (*LocalObjectStore) Status

func (s *LocalObjectStore) Status() map[string]any

type ObjectStore

type ObjectStore interface {
	PutArtifactMetadata(spec.Artifact) error
	Status() map[string]any
}

type Service

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

func NewService

func NewService(store storage.Store, objectStore ObjectStore) *Service

func (*Service) Create

func (s *Service) Create(artifact spec.Artifact) error

func (*Service) Get

func (s *Service) Get(id string) (spec.Artifact, error)

func (*Service) List

func (s *Service) List() ([]spec.Artifact, error)

func (*Service) ListByTaskpack

func (s *Service) ListByTaskpack(taskpackID string) ([]spec.Artifact, error)

func (*Service) Status

func (s *Service) Status() map[string]any

Jump to

Keyboard shortcuts

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