Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuilderInfo ¶
type BuilderInfo struct { Description string `json:"description,omitempty" yaml:"description,omitempty" toml:"description,omitempty"` CreatedBy builder.CreatorMetadata `json:"created_by" yaml:"created_by" toml:"created_by"` Stack Stack `json:"stack" yaml:"stack" toml:"stack"` Lifecycle Lifecycle `json:"lifecycle" yaml:"lifecycle" toml:"lifecycle"` RunImages []RunImage `json:"run_images" yaml:"run_images" toml:"run_images"` Buildpacks []dist.BuildpackInfo `json:"buildpacks" yaml:"buildpacks" toml:"buildpacks"` pubbldr.DetectionOrder `json:"detection_order" yaml:"detection_order" toml:"detection_order"` }
type BuilderWriter ¶
type BuilderWriter interface { Print( logger logging.Logger, localRunImages []config.RunImage, local, remote *pack.BuilderInfo, localErr, remoteErr error, builderInfo SharedBuilderInfo, ) error }
func NewJSON ¶
func NewJSON() BuilderWriter
func NewTOML ¶
func NewTOML() BuilderWriter
func NewYAML ¶
func NewYAML() BuilderWriter
type BuilderWriterFactory ¶
type BuilderWriterFactory interface {
Writer(kind string) (BuilderWriter, error)
}
type HumanReadable ¶
type HumanReadable struct{}
func NewHumanReadable ¶
func NewHumanReadable() *HumanReadable
func (*HumanReadable) Print ¶
func (h *HumanReadable) Print( logger logging.Logger, localRunImages []config.RunImage, local, remote *pack.BuilderInfo, localErr, remoteErr error, builderInfo SharedBuilderInfo, ) error
type InspectOutput ¶
type InspectOutput struct { RemoteInfo *BuilderInfo `json:"remote_info" yaml:"remote_info" toml:"remote_info"` LocalInfo *BuilderInfo `json:"local_info" yaml:"local_info" toml:"local_info"` }
type JSON ¶
type JSON struct {
StructuredFormat
}
type Lifecycle ¶
type Lifecycle struct { builder.LifecycleInfo `yaml:"lifecycleinfo,inline"` BuildpackAPIs builder.APIVersions `json:"buildpack_apis" yaml:"buildpack_apis" toml:"buildpack_apis"` PlatformAPIs builder.APIVersions `json:"platform_apis" yaml:"platform_apis" toml:"platform_apis"` }
type SharedBuilderInfo ¶
type SharedBuilderInfo struct {}
type StructuredFormat ¶
func (*StructuredFormat) Print ¶
func (w *StructuredFormat) Print( logger logging.Logger, localRunImages []config.RunImage, local, remote *pack.BuilderInfo, localErr, remoteErr error, builderInfo SharedBuilderInfo, ) error
type TOML ¶
type TOML struct {
StructuredFormat
}
type YAML ¶
type YAML struct {
StructuredFormat
}
Click to show internal directories.
Click to hide internal directories.