task

package
v0.18.0-alpha.17 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NotificationsStructVersion = 20221121
)

Variables

This section is empty.

Functions

func RunTasks

func RunTasks(ctx context.Context, cmd *cobra.Command, args []string) chan struct{}

RunTasks runs all tasks asynchronously returns a channel which is closed once all tasks are finished or the provided context is cancelled

Types

type Notifications

type Notifications struct {
	StructVersion      uint32   `json:"struct_version"`
	CliNotifications   []string `json:"cli_notifications"`
	PluginNotification []string `json:"plugin_notifications"`
}

func (*Notifications) GetAll

func (n *Notifications) GetAll() []string

type Runner

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

Jump to

Keyboard shortcuts

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