run

package
v0.0.0-...-c14c6da Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	Log   *logs.Logger
	Conn  *models.Conn
	Blobs *blobs.Bucket
}

func (*Controller) Index

func (c *Controller) Index(ctx context.Context, path, value string) (props *IndexProps, err error)

Show run GET /runs

func (*Controller) Show

func (c *Controller) Show(ctx context.Context, id string) (props *ShowProps, err error)

Show run GET /runs/:id

type IndexProps

type IndexProps struct {
	Runs []*present.Run `json:"runs"`
}

type ShowProps

type ShowProps struct {
	Run      *present.Run      `json:"run"`
	Vertexes []*present.Vertex `json:"vertexes"`
}

Jump to

Keyboard shortcuts

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