github.com/apptainer/singularity@v3.1.1+incompatible/internal/pkg/runtime/engines/imgbuild/config/config.go (about)

     1  // Copyright (c) 2019, Sylabs Inc. All rights reserved.
     2  // This software is licensed under a 3-clause BSD license. Please consult the
     3  // LICENSE.md file distributed with the sources of this project regarding your
     4  // rights to use or distribute this software.
     5  
     6  package imgbuild
     7  
     8  import (
     9  	"github.com/sylabs/singularity/internal/pkg/runtime/engines/config/oci"
    10  	"github.com/sylabs/singularity/pkg/build/types"
    11  )
    12  
    13  // Name of the engine
    14  const Name = "imgbuild"
    15  
    16  // EngineConfig is the config for the Singularity engine used to run a minimal image
    17  // during image build process
    18  type EngineConfig struct {
    19  	types.Bundle `json:"bundle"`
    20  	OciConfig    *oci.Config `json:"ociConfig"`
    21  }