Documentation
¶
Index ¶
- Constants
- func DeletePermission(namespace string, name string, accountType string, account string) error
- func DeleteRepository(namespace string, name string) error
- type QuayPermission
- type QuayPermissions
- type QuayPermissionsResponse
- type QuayRepositories
- type QuayRepository
- type RequestRepository
- type ResponseRepositories
- type ResponseRepository
Constants ¶
View Source
const QuayURLBase = "https://quay.io/api/v1/"
Variables ¶
This section is empty.
Functions ¶
func DeletePermission ¶
func DeleteRepository ¶
Types ¶
type QuayPermission ¶
func AddPermission ¶
type QuayPermissions ¶
type QuayPermissions struct {
Items []QuayPermission
}
func GetPermissions ¶
func GetPermissions(namespace string, name string, accountType string) (QuayPermissions, error)
type QuayPermissionsResponse ¶
type QuayPermissionsResponse struct {
Items map[string]interface{} `json:"permissions"`
}
type QuayRepositories ¶ added in v0.2.0
type QuayRepositories struct {
Items []ResponseRepository
}
func ListRepository ¶ added in v0.2.0
func ListRepository(namespace string, public bool) (QuayRepositories, error)
type QuayRepository ¶
func CreateRepository ¶
func CreateRepository(namespace string, name string, visibility string) (QuayRepository, error)
type RequestRepository ¶
type ResponseRepositories ¶ added in v0.2.0
type ResponseRepositories struct {
Items []map[string]interface{} `json:"repositories"`
}
type ResponseRepository ¶
type ResponseRepository struct {
Namespace string `json:"namespace"`
IsPublic bool `json:"is_public"`
Name string `json:"name"`
Description string `json:"description"`
}
func GetRepository ¶
func GetRepository(namespace string, name string) (ResponseRepository, error)
Click to show internal directories.
Click to hide internal directories.