Documentation
¶
Overview ¶
Package templateimages checks the images produced by the same registry rewrite rules as pool rendering. It never modifies a template's spec.
Index ¶
- Constants
- func Check(ctx context.Context, checker imageresolver.AvailabilityChecker, p Plan, ...) *api.TemplateImageCheck
- func Enabled(t *api.SandboxTemplate, registry *sandboxrender.RegistryRewrite) bool
- func FreshSuccess(s *api.TemplateImageCheck, p Plan, cluster string, now time.Time) bool
- type Plan
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func Check ¶
func Check(ctx context.Context, checker imageresolver.AvailabilityChecker, p Plan, cluster string, opts ...imageresolver.ResolveOption) *api.TemplateImageCheck
func Enabled ¶
func Enabled(t *api.SandboxTemplate, registry *sandboxrender.RegistryRewrite) bool
func FreshSuccess ¶
Types ¶
type Plan ¶
type Plan struct {
Hash string
Images []api.TemplateImageResult
}
Plan is a fingerprinted list of actual images, with their pod-template paths.
func Build ¶
func Build(t *api.SandboxTemplate, registry *sandboxrender.RegistryRewrite, override string) Plan
Click to show internal directories.
Click to hide internal directories.