Documentation ¶
Index ¶
- func DeletePermission(namespace string, name string, accountType string, account string, ...) error
- func DeleteRepository(namespace string, name string, hostname string) error
- func DeleteRepositoryNotification(namespace string, name string, uuid string, hostname string) error
- func QuayURLParse(hostname string) *url.URL
- func TestRepositoryNotification(namespace string, name string, uuid string, hostname string) error
- type Config
- type NotificationConfig
- type NotificationEventConfig
- type QuayPermission
- type QuayPermissions
- type QuayPermissionsResponse
- type QuayRepositories
- type QuayRepository
- type RepositoryNotification
- type RepositoryNotifications
- type RequestRepository
- type RequestRepositoryNotification
- type ResponseRepositories
- type ResponseRepository
- type ResponseRepositoryNotifications
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeletePermission ¶
func DeleteRepositoryNotification ¶ added in v0.6.0
func QuayURLParse ¶ added in v0.5.0
Types ¶
type NotificationConfig ¶ added in v0.6.0
type NotificationEventConfig ¶ added in v0.6.0
type QuayPermission ¶
func AddPermission ¶
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, hostname string) (QuayRepositories, error)
type QuayRepository ¶
func CreateRepository ¶
type RepositoryNotification ¶ added in v0.6.0
type RepositoryNotification struct { Title string `json:"title,omitempty"` Event string `json:"event,omitempty"` Method string `json:"method,omitempty"` EventConfig map[string]interface{} `json:"event_config,omitempty"` UUID string `json:"uuid,omitempty"` NumberOfFailures float64 `json:"number_of_failures,omitempty"` Config map[string]interface{} `json:"config,omitempty"` }
func AddRepositoryNotification ¶ added in v0.6.0
func AddRepositoryNotification(namespace string, name string, request RequestRepositoryNotification, hostname string) (RepositoryNotification, error)
type RepositoryNotifications ¶ added in v0.6.0
type RepositoryNotifications struct {
Items []RepositoryNotification
}
func ListRepositoryNotifications ¶ added in v0.6.0
func ListRepositoryNotifications(namespace string, name string, hostname string) (RepositoryNotifications, error)
type RequestRepository ¶
type RequestRepositoryNotification ¶ added in v0.6.0
type RequestRepositoryNotification struct { Title string `json:"title,omitempty"` Event string `json:"event,omitempty"` Method string `json:"method,omitempty"` Config NotificationConfig `json:"config,omitempty"` EventConfig NotificationEventConfig `json:"eventConfig,omitempty"` }
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, hostname string) (ResponseRepository, error)
type ResponseRepositoryNotifications ¶ added in v0.6.0
type ResponseRepositoryNotifications struct {
Items []map[string]interface{} `json:"notifications"`
}
Click to show internal directories.
Click to hide internal directories.