Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph struct {
Nodes []Node `json:"nodes"`
Edges []Edge `json:"edges"`
Omitted map[string]int `json:"omitted"`
Next string `json:"next,omitempty"`
Truncated bool `json:"truncated"`
Sync SyncStatus `json:"sync"`
}
func BuildComplete ¶
BuildComplete constructs a graph without the paging-oriented node cap and returns false rather than truncating when the edge safety limit is exceeded.
type SyncStatus ¶
type SyncStatus struct {
State string `json:"state"`
AgeSeconds float64 `json:"age_s"`
Partial bool `json:"partial"`
// Progress is present only during a cluster's first sync.
Progress *index.SyncProgress `json:"progress,omitempty"`
// Pending lists resource IDs this view needs that are still loading after
// the core generation; PendingKinds counts all resource types still loading.
Pending []string `json:"pending,omitempty"`
PendingKinds int `json:"pending_kinds,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.