models

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildResult

type BuildResult struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	Digest    string `json:"digest"`
	BuildTime string `json:"build_time,omitempty"`
	Tag       string `json:"tag,omitempty"`
	Reused    bool   `json:"reused,omitempty"`
}

BuildResult contains information about a successful build

type Function

type Function struct {
	Namespace string            `json:"namespace"`
	Name      string            `json:"name"`
	Digest    string            `json:"digest,omitempty"`
	Status    string            `json:"status,omitempty"`
	Tags      []string          `json:"tags,omitempty"`
	Config    map[string]string `json:"config,omitempty"`
	LoadTime  time.Time         `json:"load_time,omitempty"`
}

Function represents a WebAssembly function in the engine

type FunctionReference

type FunctionReference struct {
	Namespace string `json:"namespace"`
	Name      string `json:"name"`
	Service   string `json:"service,omitempty"`
}

FunctionReference is a lightweight reference to a function

type LoadResult

type LoadResult struct {
	Namespace string        `json:"namespace"`
	Name      string        `json:"name"`
	Digest    string        `json:"digest"`
	LoadTime  time.Duration `json:"load_time"`
}

LoadResult contains information about a successful load operation

Jump to

Keyboard shortcuts

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