status

package
v0.0.1-dev-7e239fa Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	None = ""

	Create = "create"
	Update = "update"
	Delete = "delete"

	Pending   = "pending"
	Completed = "completed"
	Error     = "error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Details

type Details struct {
	Current string `json:"current" yaml:"current" bson:"current"`
	Desired string `json:"desired,omitempty" yaml:"desired,omitempty" bson:"desired,omitempty"`

	CreatedAt string `json:"createdAt" yaml:"createdAt" bson:"createdAt"`
	UpdatedAt string `json:"updatedAt" yaml:"updatedAt" bson:"updatedAt"`

	MaxPendingDuration int `json:"maxPendingDuration,omitempty" yaml:"maxPendingDuration,omitempty" bson:"maxPendingDuration,omitempty"`
}

func (*Details) ClearDesired

func (s *Details) ClearDesired()

func (*Details) SetCurrentToCompleted

func (s *Details) SetCurrentToCompleted()

func (*Details) SetCurrentToPending

func (s *Details) SetCurrentToPending()

func (*Details) SetDesiredToDelete

func (s *Details) SetDesiredToDelete()

func (*Details) SetDesiredToUpdate

func (s *Details) SetDesiredToUpdate()

Jump to

Keyboard shortcuts

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