webhook

package
v2.2.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactoryWebhook

type ArtifactoryWebhook struct {
	// contains filtered or unexported fields
}

ArtifactoryWebhook handles watching images and sending them to perceptor

func NewArtifactoryWebhook

func NewArtifactoryWebhook(perceptorURL string, credentials []*utils.RegistryAuth) *ArtifactoryWebhook

NewArtifactoryWebhook creates a new ArtifactoryWebhook object

func (*ArtifactoryWebhook) Run

func (aw *ArtifactoryWebhook) Run()

Run starts a controller that watches images and sends them to perceptor

type QuayRepo

type QuayRepo 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"`
}

QuayRepo contains a quay image with list of tags

type QuayTagDigest

type QuayTagDigest struct {
	HasAdditional bool `json:"has_additional"`
	Page          int  `json:"page"`
	Tags          []struct {
		Name           string `json:"name"`
		Reversion      bool   `json:"reversion"`
		StartTs        int    `json:"start_ts"`
		ImageID        string `json:"image_id"`
		LastModified   string `json:"last_modified"`
		ManifestDigest string `json:"manifest_digest"`
		DockerImageID  string `json:"docker_image_id"`
		IsManifestList bool   `json:"is_manifest_list"`
		Size           int    `json:"size"`
	} `json:"tags"`
}

QuayTagDigest contains Digest for a particular Quay image

type QuayWebhook

type QuayWebhook struct {
	// contains filtered or unexported fields
}

QuayWebhook handles watching images and sending them to perceptor

func NewQuayWebhook

func NewQuayWebhook(perceptorURL string, credentials []*utils.RegistryAuth) *QuayWebhook

NewQuayWebhook creates a new QuayWebhook object

func (*QuayWebhook) Run

func (qw *QuayWebhook) Run()

Run starts a controller that watches images and sends them to perceptor

Jump to

Keyboard shortcuts

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