github.com/buildpacks/pack@v0.33.3-0.20240516162812-884dd1837311/internal/fakes/fake_lifecycle.go (about)

     1  package fakes
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/buildpacks/pack/internal/build"
     7  )
     8  
     9  type FakeLifecycle struct {
    10  	Opts build.LifecycleOptions
    11  }
    12  
    13  func (f *FakeLifecycle) Execute(ctx context.Context, opts build.LifecycleOptions) error {
    14  	f.Opts = opts
    15  	return nil
    16  }