hardhat

package
v0.4.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PlanEntryHardhat = "hardhat"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	Logger bard.Logger
}

func (Build) Build

func (b Build) Build(context libcnb.BuildContext) (libcnb.BuildResult, error)

type Detect

type Detect struct {
}

func (Detect) Detect

func (d Detect) Detect(context libcnb.DetectContext) (libcnb.DetectResult, error)

type Hardhat

type Hardhat struct {
	LayerContributor libpak.DependencyLayerContributor
	Logger           bard.Logger
	Executor         effect.Executor
}

func NewHardhat

func NewHardhat(dependency libpak.BuildpackDependency, cache libpak.DependencyCache) Hardhat

func (Hardhat) BuildProcessTypes

func (r Hardhat) BuildProcessTypes(enableProcess string) ([]libcnb.Process, error)

func (Hardhat) Contribute

func (r Hardhat) Contribute(layer libcnb.Layer) (libcnb.Layer, error)

func (Hardhat) Execute

func (r Hardhat) Execute(command string, args []string) (*bytes.Buffer, error)

func (Hardhat) Name

func (r Hardhat) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL