daemon/containerd/image_manifest.go
Method ImageManifest.IsPseudoImage
has 7 return statements (exceeds 4 allowed). Open
Open
func (im *ImageManifest) IsPseudoImage(ctx context.Context) (bool, error) {
if im.IsAttestation() {
return true, nil
}
Method ImageService.walkReachableImageManifests
has 6 return statements (exceeds 4 allowed). Open
Open
func (i *ImageService) walkReachableImageManifests(ctx context.Context, img containerdimages.Image, handler func(img *ImageManifest) error) error {
desc := img.Target
handleManifest := func(ctx context.Context, d ocispec.Descriptor) error {
platformImg, err := i.NewImageManifest(ctx, img, d)
Method ImageService.walkImageManifests
has 6 return statements (exceeds 4 allowed). Open
Open
func (i *ImageService) walkImageManifests(ctx context.Context, img containerdimages.Image, handler func(img *ImageManifest) error) error {
desc := img.Target
handleManifest := func(ctx context.Context, d ocispec.Descriptor) error {
platformImg, err := i.NewImageManifest(ctx, img, d)