mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
parent
01a5d5042d
commit
b3d0c39f08
@ -1,6 +1,9 @@
|
|||||||
package kind
|
package kind
|
||||||
|
|
||||||
import "strings"
|
import (
|
||||||
|
"strings"
|
||||||
|
t "time"
|
||||||
|
)
|
||||||
|
|
||||||
name: "Dashboard"
|
name: "Dashboard"
|
||||||
maturity: "experimental"
|
maturity: "experimental"
|
||||||
@ -322,7 +325,7 @@ lineage: seqs: [
|
|||||||
// TODO docs
|
// TODO docs
|
||||||
#Snapshot: {
|
#Snapshot: {
|
||||||
// TODO docs
|
// TODO docs
|
||||||
created: string @grafanamaturity(NeedsExpertReview)
|
created: string & t.Time
|
||||||
// TODO docs
|
// TODO docs
|
||||||
expires: string @grafanamaturity(NeedsExpertReview)
|
expires: string @grafanamaturity(NeedsExpertReview)
|
||||||
// TODO docs
|
// TODO docs
|
||||||
@ -338,7 +341,7 @@ lineage: seqs: [
|
|||||||
// TODO docs
|
// TODO docs
|
||||||
orgId: uint32 @grafanamaturity(NeedsExpertReview)
|
orgId: uint32 @grafanamaturity(NeedsExpertReview)
|
||||||
// TODO docs
|
// TODO docs
|
||||||
updated: string @grafanamaturity(NeedsExpertReview)
|
updated: string & t.Time
|
||||||
// TODO docs
|
// TODO docs
|
||||||
url?: string @grafanamaturity(NeedsExpertReview)
|
url?: string @grafanamaturity(NeedsExpertReview)
|
||||||
// TODO docs
|
// TODO docs
|
||||||
|
@ -10,6 +10,10 @@
|
|||||||
|
|
||||||
package dashboard
|
package dashboard
|
||||||
|
|
||||||
|
import (
|
||||||
|
"time"
|
||||||
|
)
|
||||||
|
|
||||||
// Defines values for Style.
|
// Defines values for Style.
|
||||||
const (
|
const (
|
||||||
StyleDark Style = "dark"
|
StyleDark Style = "dark"
|
||||||
@ -633,7 +637,7 @@ type RowPanelType string
|
|||||||
// TODO docs
|
// TODO docs
|
||||||
type Snapshot struct {
|
type Snapshot struct {
|
||||||
// TODO docs
|
// TODO docs
|
||||||
Created string `json:"created"`
|
Created time.Time `json:"created"`
|
||||||
|
|
||||||
// TODO docs
|
// TODO docs
|
||||||
Expires string `json:"expires"`
|
Expires string `json:"expires"`
|
||||||
@ -657,7 +661,7 @@ type Snapshot struct {
|
|||||||
OrgId int `json:"orgId"`
|
OrgId int `json:"orgId"`
|
||||||
|
|
||||||
// TODO docs
|
// TODO docs
|
||||||
Updated string `json:"updated"`
|
Updated time.Time `json:"updated"`
|
||||||
|
|
||||||
// TODO docs
|
// TODO docs
|
||||||
Url *string `json:"url,omitempty"`
|
Url *string `json:"url,omitempty"`
|
||||||
|
Loading…
Reference in New Issue
Block a user