Documentation ¶
Index ¶
- Constants
- func Sort(nodes []*NavLink)
- type NavLink
- type NavTreeRoot
- func (root *NavTreeRoot) AddSection(node *NavLink)
- func (root *NavTreeRoot) FindById(id string) *NavLink
- func (root *NavTreeRoot) MarshalJSON() ([]byte, error)
- func (root *NavTreeRoot) RemoveEmptySectionsAndApplyNewInformationArchitecture(topNavEnabled bool)
- func (root *NavTreeRoot) RemoveSection(node *NavLink)
- func (root *NavTreeRoot) Sort()
- type Service
Constants ¶
View Source
const ( WeightHome = (iota - 20) * 100 WeightSavedItems WeightCreate WeightDashboard WeightExplore WeightAlerting WeightDataConnections WeightPlugin WeightConfig WeightAlertsAndIncidents WeightMonitoring WeightApps WeightAdmin WeightProfile WeightHelp )
View Source
const ()
View Source
const ()
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NavTreeRoot ¶
type NavTreeRoot struct {
}func (*NavTreeRoot) AddSection ¶
func (root *NavTreeRoot) AddSection(node *NavLink)
func (*NavTreeRoot) FindById ¶
func (root *NavTreeRoot) FindById(id string) *NavLink
func (*NavTreeRoot) MarshalJSON ¶
func (root *NavTreeRoot) MarshalJSON() ([]byte, error)
func (*NavTreeRoot) RemoveEmptySectionsAndApplyNewInformationArchitecture ¶
func (root *NavTreeRoot) RemoveEmptySectionsAndApplyNewInformationArchitecture(topNavEnabled bool)
func (*NavTreeRoot) RemoveSection ¶
func (root *NavTreeRoot) RemoveSection(node *NavLink)
func (*NavTreeRoot) Sort ¶
func (root *NavTreeRoot) Sort()
Click to show internal directories.
Click to hide internal directories.