You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[#159#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$./harborctl chartrepo chart label -h
'The subcommand of '/chartrepo/{repo}/charts/{name}/{version}/labels' hierachy.
Usage:
harborctl chartrepo chart label [flags]
harborctl chartrepo chart label [command]
Available Commands:
attach Mark (attach) label to the specified chart version.
delete Remove label from the specified chart version.
get Return the attahced labels of the specified chart version.
Flags:
-h, --help help for label
Global Flags:
--address string The address of target endpoint. (default "localhost")
--config string config file (default is $HOME/, working dir (.), and ./conf dir)
Use "harborctl chartrepo chart label [command] --help" for more information about a command.
[#160#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$
[#160#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$./harborctl chartrepo chart label attach -h
This endpoint is for user to mark (attach) label to the specified chart version.
Usage:
harborctl chartrepo chart label attach [flags]
Flags:
-c, --chart_name string (REQUIRED) The chart name
-v, --chart_version string (REQUIRED) The chart version
-h, --help help for attach
-i, --label_id int (REQUIRED) The label id
-n, --project_name string (REQUIRED) The project name
Global Flags:
--address string The address of target endpoint. (default "localhost")
--config string config file (default is $HOME/, working dir (.), and ./conf dir)
[#161#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$
[#161#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$./harborctl chartrepo chart label attach -c redis -n charts -v 5.4.0 -i 1
==> POST https://localhost/api/chartrepo/charts/charts/redis/5.4.0/labels
<==
<== Rsp Status: 404 Not Found
<== Rsp Body: <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>404 - Page Not Found</title>
<style>
*{
maring: 0;
padding: 0;
}
...
The text was updated successfully, but these errors were encountered:
test from swagger UI, and get
test from CLI
The text was updated successfully, but these errors were encountered: