hooks

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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PushEvent

type PushEvent interface {
	PushedImageURL() string
	EventRepository() string
	EventTag() string
}

PushEvent values return the image that is to be inserted into the file.

type PushEventParser

type PushEventParser func(payload []byte) (PushEvent, error)

PushEventParser parses the specifics of a hook request into a body.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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