gcpstatus

package
v0.0.0-...-4140444 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCPSserviceStatus

type GCPSserviceStatus []struct {
	ID           string    `json:"id"`            // incident id
	Number       string    `json:"number"`        // incident number
	Begin        time.Time `json:"begin"`         // incident begin time
	Created      time.Time `json:"created"`       // incident creation time
	End          time.Time `json:"end"`           // incident end time
	Modified     time.Time `json:"modified"`      // incident modified time
	ExternalDesc string    `json:"external_desc"` // external description for incident
	Updates      []struct {
		Created  time.Time `json:"created"`  // incident creation time
		Modified time.Time `json:"modified"` // incident modified time
		When     time.Time `json:"when"`     // incident update time
		Text     string    `json:"text"`     // incident description
		Status   string    `json:"status"`   // incident status
	} `json:"updates"`
	MostRecentUpdate struct {
		Created  time.Time `json:"created"`  // incident creation time
		Modified time.Time `json:"modified"` // incident modified time
		When     time.Time `json:"when"`     // incident update time
		Text     string    `json:"text"`     // incident description
		Status   string    `json:"status"`   // incident status
	} `json:"most_recent_update"`
	StatusImpact     string `json:"status_impact"` // incident status impact on GCP services
	Severity         string `json:"severity"`      // incident severity
	ServiceKey       string `json:"service_key"`   // incident service key
	ServiceName      string `json:"service_name"`  // GCP service name
	AffectedProducts []struct {
		Title string `json:"title"` // GCP affected product's title
		ID    string `json:"id"`    // GCP affected product's ID
	} `json:"affected_products"`
	URI string `json:"uri"` // incident URI
}

func GetGcpStatus

func GetGcpStatus(gcpStatusEndpoint string) (GCPServiceStatuses GCPSserviceStatus, err error)

Jump to

Keyboard shortcuts

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