package
0.0.4
Repository: https://github.com/shipwright-io/image.git
Documentation: pkg.go.dev

# Functions

NewImage returns a new controller for Images.
NewImageImport returns a new controller for ImageImports.
NewImageIO returns a grpc handler for image Pull and Push requests.
NewMetric returns a new metric controller.
NewMutatingWebHook returns a web hook handler for kubernetes api mutation requests.

# Structs

Image controller handles events related to Images.
ImageImport controller handles events related to ImageImports.
ImageIO handles requests for pulling and pushing current image pointed by a Image.
Metric is our controller for metric requests.
MutatingWebHook handles Mutation requests from kubernetes api, e.g.

# Interfaces

ImageImportSyncer abstraction exists to make testing easier.
ImageImportValidator is implemented in services/imageimport.go.
ImagePusherPuller is here to make tests easier.
ImageSyncer abstraction exists to make testing easier.
ImageValidator is implemented in services/image.go.
UserValidator validates an user can access Images in a given namespace.