manifest

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultStatus = Status{
	Available: StatusAvailable{
		State: true,
	},
	Failed: StatusFailed{
		State: false,
	},
	Paused: StatusPaused{
		State: false,
	},
	Stable: StatusStable{
		State: true,
	},
}
View Source
var NoneReported = Status{
	Available: StatusAvailable{
		State:   false,
		Message: "No availability reported",
	},
	Failed: StatusFailed{
		State: false,
	},
	Paused: StatusPaused{
		State: false,
	},
	Stable: StatusStable{
		State:   false,
		Message: "No status reported yet",
	},
}

Functions

This section is empty.

Types

type Status

type Status struct {
	Available StatusAvailable `json:"available"`
	Failed    StatusFailed    `json:"failed"`
	Paused    StatusPaused    `json:"paused"`
	Stable    StatusStable    `json:"stable"`
}

type StatusAvailable

type StatusAvailable struct {
	State   bool   `json:"state"`
	Message string `json:"message"`
}

type StatusFailed

type StatusFailed struct {
	State   bool   `json:"state"`
	Message string `json:"message"`
}

type StatusPaused

type StatusPaused struct {
	State   bool   `json:"state"`
	Message string `json:"message"`
}

type StatusStable

type StatusStable struct {
	State   bool   `json:"state"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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