github.com/apptainer/singularity@v3.1.1+incompatible/pkg/ocibundle/bundle.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 ocibundle
     7  
     8  import (
     9  	specs "github.com/opencontainers/runtime-spec/specs-go"
    10  )
    11  
    12  // Bundle defines an OCI bundle interface to create/delete OCI bundles
    13  type Bundle interface {
    14  	Create(*specs.Spec) error
    15  	Delete() error
    16  }