github.com/wawandco/oxpecker@v1.5.7-0.20210910201653-5958d4afdd89/lifecycle/build/before_builder.go (about)

     1  package build
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/wawandco/oxpecker/plugins"
     7  )
     8  
     9  // BeforeBuilder interface allows to identify the things
    10  // that will run before the build process has started.
    11  type BeforeBuilder interface {
    12  	plugins.Plugin
    13  	RunBeforeBuild(context.Context, string, []string) error
    14  }