get.porter.sh/porter@v1.3.0/pkg/cnab/provider/provider.go (about)

     1  package cnabprovider
     2  
     3  import (
     4  	"context"
     5  
     6  	"get.porter.sh/porter/pkg/cnab"
     7  )
     8  
     9  // CNABProvider is the interface Porter uses to communicate with the CNAB runtime
    10  type CNABProvider interface {
    11  	LoadBundle(bundleFile string) (cnab.ExtendedBundle, error)
    12  	Execute(ctx context.Context, arguments ActionArguments) error
    13  }