Documentation ¶
Index ¶
- func AddImageSetWatch(c controller.Controller) error
- func ApplyImageSet(ctx context.Context, c client.Client, v operator.ProductVariant, ...) error
- func GetImageSet(ctx context.Context, cli client.Client, v operator.ProductVariant) (*operator.ImageSet, error)
- func ResolveImages(is *operator.ImageSet, comps ...render.Component) error
- func ValidateImageSet(is *operator.ImageSet) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddImageSetWatch ¶
func AddImageSetWatch(c controller.Controller) error
Utility function to add a watch on ImageSet resources.
func ApplyImageSet ¶
func ApplyImageSet(ctx context.Context, c client.Client, v operator.ProductVariant, comps ...render.Component) error
ApplyImageSet gets the appropriate ImageSet, validates the ImageSet, and calls ResolveImages passing in the ImageSet on each of the comps.
func GetImageSet ¶
func GetImageSet(ctx context.Context, cli client.Client, v operator.ProductVariant) (*operator.ImageSet, error)
GetImageSet finds the ImageSet for specified variant.
func ValidateImageSet ¶
ValidateImageSet validates that all the images in an ImageSet are images the operator uses and that the Digest is in an allowed format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.