package
2.1.17+incompatible
Repository: https://github.com/ricardomaraschini/tagger.git
Documentation: pkg.go.dev
# Functions
NewDeployment returns a new controller for Deployments.
NewDockerWebHook returns a web hook handler for docker.io webhooks.
NewMetric returns a new metric controller.
NewMutatingWebHook returns a web hook handler for kubernetes api mutation requests.
NewPod returns a new controller for Pods.
NewQuayWebHook returns a web hook handler for quay webhooks.
NewTag returns a new controller for Image Tags.
NewTagIO returns a grpc handler for image Pull and Push requests.
# Structs
Deployment controller handles events related to deployment.
DockerRequestPayload is sent by docker hub whenever a new push happen to a repository.
DockerWebHook handles docker.io requests.
Metric is our controller for metric requests.
MutatingWebHook handles Mutation requests from kubernetes api.
Pod controller handles events related to pods.
QuayRequestPayload holds the information sent by remote quay.io servers when a new push has happened to one of images.
QuayWebHook handles quay.io requests.
Tag controller handles events related to Tags.
TagIO handles requests for pulling and pushing current image pointed by a Tag.
# Interfaces
DeploymentSyncer abstraction exists to make testing easier.
ImagePusherPuller is here to make tests easier.
MetricReporter abstraction exists to make tests easier.
PodSyncer abstraction exists to make testing easier.
TagGenerationUpdater exists to make tests easier.
TagSyncer abstraction exists to make testing easier.
UserValidator validates an user can access Tags in a given namespace.