ipfs

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GVK = gvk.NewGroupVersionKind(
	"core",
	"v1alpha",
	"ipfs",
)

Functions

This section is empty.

Types

type SpecSchema

type SpecSchema struct {
	Url string `json:"url" template:""`
}

type Transformer

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

func NewTransformer

func NewTransformer(shell *shell.Shell) *Transformer

func (Transformer) Copy

func (s Transformer) Copy(spec SpecSchema) error

func (Transformer) CreditsConsumed

func (t Transformer) CreditsConsumed() int

func (Transformer) Deadline

func (t Transformer) Deadline() time.Duration

func (Transformer) Execute

func (t Transformer) Execute(ctx context.Context, base map[string]interface{}) (map[string]interface{}, error)

func (Transformer) Params

func (t Transformer) Params() map[string]interface{}

func (Transformer) Result

func (t Transformer) Result() interface{}

func (Transformer) Status

func (t Transformer) Status() []transformers.Status

func (Transformer) WithSpec

func (t Transformer) WithSpec(ispec interface{}, params map[string]interface{}) (transformers.ITransformer, error)

Jump to

Keyboard shortcuts

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