link¶
Link refers to the mapping between a golink and a URL. The golink is the key and the URL is the value.
Usages¶
Get link list¶
Namespace
If --namespace | -n
is not specified, the default
namespace is used.
$> glctl get link
NAMESPACE NAME PATH TARGET URL STATUS
default grafana /grafana https://grafana.example.com Enabled
default prometheus /prometheus https://prometheus.example.com Enabled
Add link¶
Unique path
The path must be unique in the namespace.
$> glctl add link demo /demo https://demo.example.com
Delete link¶
$> glctl delete link demo
Aliases¶
The li
alias is available for link
.
$> glctl get li
NAMESPACE NAME PATH TARGET URL STATUS
default grafana /grafana https://grafana.example.com Enabled
default prometheus /prometheus https://prometheus.example.com Enabled
Help¶
The --help
flag is available for link
.
$> glctl get|add|delete link -h