Documentation ¶
Overview ¶
Package commons/url defines url used by Pharos Node.
Index ¶
- func Apps() string
- func Base() string
- func Configuration() string
- func Control() string
- func Deploy() string
- func Device() string
- func Disk() string
- func Events() string
- func Management() string
- func Monitoring() string
- func Nodes() string
- func Notification() string
- func Performance() string
- func PharosAnchor() string
- func Ping() string
- func Reboot() string
- func Register() string
- func Resource() string
- func Restore() string
- func Start() string
- func Stop() string
- func Unregister() string
- func Update() string
- func Watch() string
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apps ¶
func Apps() string
Returning Apps url as string.
Example ¶
fmt.Println(Apps())
Output: /apps
func Base ¶
func Base() string
Returning base url as string.
Example ¶
fmt.Println(Base())
Output: /api/v1
func Configuration ¶
func Configuration() string
Returning Configuration url as string.
Example ¶
fmt.Println(Configuration())
Output: /configuration
func Control ¶
func Control() string
Returning Control url as string.
Example ¶
fmt.Println(Control())
Output: /control
func Deploy ¶
func Deploy() string
Returning deploy url as string.
Example ¶
fmt.Println(Deploy())
Output: /deploy
func Device ¶
func Device() string
Returning Device url as string.
Example ¶
fmt.Println(Device())
Output: /device
func Disk ¶
func Disk() string
Returning Disk url as string.
Example ¶
fmt.Println(Disk())
Output: /disk
func Events ¶
func Events() string
Returning Events url as string.
Example ¶
fmt.Println(Events())
Output: /events
func Management ¶
func Management() string
Returning management url as string.
Example ¶
fmt.Println(Management())
Output: /management
func Monitoring ¶
func Monitoring() string
Returning monitoring url as string.
Example ¶
fmt.Println(Monitoring())
Output: /monitoring
func Nodes ¶
func Nodes() string
Returning Nodes url as string.
Example ¶
fmt.Println(Nodes())
Output: /nodes
func Notification ¶
func Notification() string
Returning Notification url as string.
Example ¶
fmt.Println(Notification())
Output: /notification
func Performance ¶
func Performance() string
Returning Performance url as string.
Example ¶
fmt.Println(Performance())
Output: /performance
func PharosAnchor ¶
func PharosAnchor() string
Returning pharos anchor url as string.
Example ¶
fmt.Println(PharosAnchor())
Output: /pharos-anchor
func Ping ¶
func Ping() string
Returning Ping url as string.
Example ¶
fmt.Println(Ping())
Output: /ping
func Reboot ¶
func Reboot() string
Returning Reboot url as string.
Example ¶
fmt.Println(Reboot())
Output: /reboot
func Register ¶
func Register() string
Returning Register url as string.
Example ¶
fmt.Println(Register())
Output: /register
func Resource ¶
func Resource() string
Returning Resoucres url as string.
Example ¶
fmt.Println(Resource())
Output: /resource
func Restore ¶
func Restore() string
Returning Restore url as string.
Example ¶
fmt.Println(Restore())
Output: /restore
func Start ¶
func Start() string
Returning Start url as string.
Example ¶
fmt.Println(Start())
Output: /start
func Stop ¶
func Stop() string
Returning Stop url as string.
Example ¶
fmt.Println(Stop())
Output: /stop
func Unregister ¶
func Unregister() string
Returning Unregister url as string.
Example ¶
fmt.Println(Unregister())
Output: /unregister
Types ¶
This section is empty.