python获取harbor镜像列表的方法
harbor是基于Bearer的认证,我们只需要两步即可获取harbor的镜像列表首先获取token#!/usr/bin/python33#coding:utf-8import requestsimport jsonr = requests.get("http://192.168.31.180/service/token?account=admin&service=harbor-registry&scope=registry:catalog:*",&nbs...