Documentation ¶
Index ¶
Constants ¶
View Source
const ( Issue string = "issue" Fine string = "fine" )
Event types
View Source
const ( Creating string = "creating" Deployed string = "deployed" Deleting string = "deleting" Error string = "error" )
Node states
View Source
const ( Public string = "public" Private string = "private" )
Node network types
View Source
const ( Full string = "full" Fast string = "fast" Light string = "light" Snap string = "snap" )
Node sync modes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { ID uint64 `gorm:"primary_key"` NodeID uint64 Type string Title string `gorm:"not null"` Description string CreatedAt time.Time UpdatedAt time.Time }
Event is something that happened to a node
type Node ¶
type Node struct { ID uint64 `gorm:"primary_key"` Name string `gorm:"not null;unique"` VMID string CloudProvider string DomainName string HasSSL bool NetworkType string `gorm:"not null"` NetworkID uint64 SyncMode string APIKey string Status string `gorm:"not null"` Events []Event CreatedAt time.Time UpdatedAt time.Time }
Node is a VM hosting a geth instance
Click to show internal directories.
Click to hide internal directories.