quay

package
Version: v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(payload []byte) (hooks.PushEvent, error)

Parse parses a payload it into a Quay.io Push hook if possible.

Types

type RepositoryPushHook

type RepositoryPushHook struct {
	Name        string   `json:"name"`
	Repository  string   `json:"repository"`
	Namespace   string   `json:"namespace"`
	DockerURL   string   `json:"docker_url"`
	Homepage    string   `json:"homepage"`
	UpdatedTags []string `json:"updated_tags,omitempty"`
}

RepositoryPushHook is a struct for the Quay.io push event.

func (RepositoryPushHook) EventRepository

func (p RepositoryPushHook) EventRepository() string

EventRepository is an implementation of the hooks.PushEvent interface.

func (RepositoryPushHook) EventTag

func (p RepositoryPushHook) EventTag() string

EventTag is an implementation of the hooks.PushEvent interface.

func (RepositoryPushHook) PushedImageURL

func (p RepositoryPushHook) PushedImageURL() string

PushedImageURL is an implementation of the hooks.PushEvent interface.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL