dockerhub

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: 0BSD Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPayloadHandler

func NewPayloadHandler(df digestFetcher) events.PayloadHandler

Types

type PushData

type PushData struct {
	Pusher    string        `json:"pusher"`
	PushedAt  int           `json:"pushed_at"`
	Tag       string        `json:"tag"`
	Images    []interface{} `json:"images"`
	MediaType string        `json:"media_type"`
}

type PushPayload

type PushPayload struct {
	CallbackURL string     `json:"callback_url"`
	PushData    PushData   `json:"push_data"`
	Repository  Repository `json:"repository"`
}

type Repository

type Repository struct {
	Status          string      `json:"status"`
	Namespace       string      `json:"namespace"`
	Name            string      `json:"name"`
	RepoName        string      `json:"repo_name"`
	RepoURL         string      `json:"repo_url"`
	Description     string      `json:"description"`
	FullDescription interface{} `json:"full_description"`
	StarCount       int         `json:"star_count"`
	IsPrivate       bool        `json:"is_private"`
	IsTrusted       bool        `json:"is_trusted"`
	IsOfficial      bool        `json:"is_official"`
	Owner           string      `json:"owner"`
	DateCreated     int         `json:"date_created"`
}

Jump to

Keyboard shortcuts

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