status

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: LGPL-3.0 Imports: 21 Imported by: 0

Documentation

Overview

Package status contains the Model, View and Update functions for the job statuses dashboard.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmitSelectJobMsg

func EmitSelectJobMsg(msg [32]byte) tea.Cmd

EmitSelectJobMsg emits a SelectJobMsg.

func Model

func Model(
	ctx context.Context,
	client deepsquare.Client,
	watcher deepsquare.Watcher,
	userAddress common.Address,
) tea.Model

Model builds the bubbletea model for the status page.

Types

type SelectJobMsg

type SelectJobMsg [32]byte

SelectJobMsg is a public msg used to indicate that the user selected a job.

type SubmitJobMsg

type SubmitJobMsg struct{}

SubmitJobMsg is a public msg used to indicate that the user want to submit a job.

type TopupJobMsg

type TopupJobMsg [32]byte

TopupJobMsg is a public msg used to indicate that the user top up a job.

type TransferCreditsMsg

type TransferCreditsMsg struct{}

TransferCreditsMsg is a public msg used to indicate that the user want to transfer credits.

type ViewProvidersMsg

type ViewProvidersMsg struct{}

ViewProvidersMsg is a public msg used to indicate that the user want to transfer credits.

Directories

Path Synopsis
Package log contains the Model, View and Update functions for viewing the logs of a job.
Package log contains the Model, View and Update functions for viewing the logs of a job.
Package topup contains the Model, View and Update functions for submitting a top up request.
Package topup contains the Model, View and Update functions for submitting a top up request.

Jump to

Keyboard shortcuts

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