task

package
v1.122.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearStatus

func ClearStatus(appSlug string) error

func GetID

func GetID(appSlug string) string

CAUTION: modifying this task id will break backwards compatibility

func GetStatus

func GetStatus(appSlug string) (string, string, error)

func SetStatusStarting

func SetStatusStarting(appSlug string, msg string) error

func SetStatusUpgradeFailed

func SetStatusUpgradeFailed(appSlug string, msg string) error

func SetStatusUpgradingApp

func SetStatusUpgradingApp(appSlug string, msg string) error

func SetStatusUpgradingCluster

func SetStatusUpgradingCluster(appSlug string, msg string) error

Types

type Status

type Status string
const (
	StatusStarting         Status = "starting"
	StatusUpgradingCluster Status = "upgrading-cluster"
	StatusUpgradingApp     Status = "upgrading-app"
	StatusUpgradeFailed    Status = "upgrade-failed"
)

CAUTION: modifying existing statuses will break backwards compatibility

Jump to

Keyboard shortcuts

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