registry_management.ghcr.GHCRClient
registry_management.ghcr.GHCRClient
Usage
registry_management.ghcr.GHCRClient()Attributes
| Name | Description |
|---|---|
| ENDPOINTS | dict() -> new empty dictionary |
ENDPOINTS
dict() -> new empty dictionary
ENDPOINTS={
"package": "/orgs/{organization}/packages/container/{package}",
"package_versions": "/orgs/{organization}/packages/container/{package}/versions",
}
dict(mapping) -> new dictionary initialized from a mapping object’s (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)
Methods
| Name | Description |
|---|---|
| get_package() | Get details on a package. |
get_package()
Get details on a package.
Usage
get_package(organization, package)