Documentation ¶
Index ¶
- Constants
- type BuildpacksTelemetry
- type PathEnum
- type Segment
- func (s *Segment) WithBindings(bindings map[string]interface{}) *Segment
- func (s *Segment) WithBuildTool(buildTool string) *Segment
- func (s *Segment) WithBuilder(builder string) *Segment
- func (s *Segment) WithBuildpacksFromConfig(buildpacks []string) *Segment
- func (s *Segment) WithBuildpacksOverall(buildpacks []string) *Segment
- func (s *Segment) WithEnv(env map[string]interface{}) *Segment
- func (s *Segment) WithKeyValues(env map[string]interface{}) *Segment
- func (s *Segment) WithPath(path PathEnum) *Segment
- func (s *Segment) WithProjectDescriptor(descriptor *project.Descriptor) *Segment
- func (s *Segment) WithTags(tag string, additionalTags []string) *Segment
- type Telemetry
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 Segment ¶
type Segment struct {
// contains filtered or unexported fields
}
func NewSegment ¶
func NewSegment() *Segment
func (*Segment) WithBindings ¶
func (*Segment) WithBuildTool ¶
func (*Segment) WithBuilder ¶
func (*Segment) WithBuildpacksFromConfig ¶
func (*Segment) WithBuildpacksOverall ¶
func (*Segment) WithKeyValues ¶
func (*Segment) WithProjectDescriptor ¶
func (s *Segment) WithProjectDescriptor(descriptor *project.Descriptor) *Segment
type Telemetry ¶
type Telemetry struct {
// contains filtered or unexported fields
}
func NewTelemetry ¶
func NewTelemetry(customData *telemetry.CustomData) *Telemetry
func (*Telemetry) AddSegment ¶
Click to show internal directories.
Click to hide internal directories.