Documentation
¶
Index ¶
Constants ¶
View Source
const ( // StatusAvailable refers to a reachable cluster. StatusAvailable = "AVAILABLE" StatusUnavailable = "UNAVAILABLE" // StatusUnconfigured refers to an unconfigured cluster (a linked cluster). StatusUnconfigured = "UNCONFIGURED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter func(filters *Filters)
Filter is a functional option for list filters.
func AttachedOnly ¶
func AttachedOnly() Filter
AttachedOnly filters cluster items to only keep the current one.
type Item ¶
type Item struct {
Attached bool `json:"attached"`
ID string `json:"cluster_id"`
Name string `json:"name"`
Status string `json:"status"`
URL string `json:"url"`
Version string `json:"version"`
// contains filtered or unexported fields
}
Item represents a cluster item in the list.
Click to show internal directories.
Click to hide internal directories.