Documentation ¶
Index ¶
- func CopyFile(source, destination string) error
- func DetectInFile(file string, pattern string, logger bard.Logger) bool
- func GetCommand(writer io.Writer, name string, arguments ...string) *exec.Cmd
- func GetLayerEnvironment(layer libcnb.Layer, logger bard.Logger) []string
- func InstallAptPackages(layer libcnb.Layer, packageList []string, logger bard.Logger) error
- func RunCommand(writer io.Writer, name string, arguments ...string) error
- func SummariseContributions(layer libcnb.Layer)
- type AptLayer
- type IndentedWriter
- type LayerEnv
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLayerEnvironment ¶
func InstallAptPackages ¶
func SummariseContributions ¶
Types ¶
type AptLayer ¶
type AptLayer struct { Packages []string LayerName string LayerContributor libpak.LayerContributor Logger bard.Logger }
func NewAptLayer ¶
func (AptLayer) Contribute ¶
type IndentedWriter ¶
func IndentedWriterFactory ¶
func IndentedWriterFactory(indent int, logger bard.Logger) IndentedWriter
Click to show internal directories.
Click to hide internal directories.