ipfs

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPFSPublisher

type IPFSPublisher struct {
	IPFSClient ipfs.Client
}

func NewIPFSPublisher

func NewIPFSPublisher(
	ctx context.Context,
	_ *system.CleanupManager,
	cl ipfs.Client,
) (*IPFSPublisher, error)

func (*IPFSPublisher) IsInstalled

func (publisher *IPFSPublisher) IsInstalled(ctx context.Context) (bool, error)

func (*IPFSPublisher) PublishResult added in v0.3.24

func (publisher *IPFSPublisher) PublishResult(
	ctx context.Context,
	execution *models.Execution,
	resultPath string,
) (models.SpecConfig, error)

func (*IPFSPublisher) ValidateJob added in v0.3.26

func (publisher *IPFSPublisher) ValidateJob(ctx context.Context, j models.Job) error

Jump to

Keyboard shortcuts

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