ipfs

package
v0.3.26 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 8 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,
	executionID string,
	j model.Job,
	resultPath string,
) (model.StorageSpec, error)

func (*IPFSPublisher) ValidateJob added in v0.3.26

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

Jump to

Keyboard shortcuts

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