buildpacks

package
v0.0.0-...-40d4f7c Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PathEnumRoot    = PathEnum("root")
	PathEnumFolder  = PathEnum("folder")
	PathEnumArchive = PathEnum("archive")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildpacksTelemetry

type BuildpacksTelemetry struct {
	Version int                      `json:"version"`
	Data    []*cnbBuildTelemetryData `json:"data"`
	// contains filtered or unexported fields
}

type PathEnum

type PathEnum string

type Segment

type Segment struct {
	// contains filtered or unexported fields
}

func NewSegment

func NewSegment() *Segment

func (*Segment) WithBindings

func (s *Segment) WithBindings(bindings map[string]interface{}) *Segment

func (*Segment) WithBuildTool

func (s *Segment) WithBuildTool(buildTool string) *Segment

func (*Segment) WithBuilder

func (s *Segment) WithBuilder(builder string) *Segment

func (*Segment) WithBuildpacksFromConfig

func (s *Segment) WithBuildpacksFromConfig(buildpacks []string) *Segment

func (*Segment) WithBuildpacksOverall

func (s *Segment) WithBuildpacksOverall(buildpacks []string) *Segment

func (*Segment) WithEnv

func (s *Segment) WithEnv(env map[string]interface{}) *Segment

func (*Segment) WithKeyValues

func (s *Segment) WithKeyValues(env map[string]interface{}) *Segment

func (*Segment) WithPath

func (s *Segment) WithPath(path PathEnum) *Segment

func (*Segment) WithProjectDescriptor

func (s *Segment) WithProjectDescriptor(descriptor *project.Descriptor) *Segment

func (*Segment) WithTags

func (s *Segment) WithTags(tag string, additionalTags []string) *Segment

type Telemetry

type Telemetry struct {
	// contains filtered or unexported fields
}

func NewTelemetry

func NewTelemetry(customData *telemetry.CustomData) *Telemetry

func (*Telemetry) AddSegment

func (d *Telemetry) AddSegment(segment *Segment)

func (*Telemetry) Export

func (d *Telemetry) Export() error

func (*Telemetry) WithImage

func (d *Telemetry) WithImage(image string)

Jump to

Keyboard shortcuts

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