Documentation ¶
Index ¶
- type FakeDetectionCalculator
- type FakeInspectable
- type FakeInspectableFetcher
- type FakeLabelManager
- func (m *FakeLabelManager) BuildpackLayers() (dist.BuildpackLayers, error)
- func (m *FakeLabelManager) Metadata() (builder.Metadata, error)
- func (m *FakeLabelManager) Mixins() ([]string, error)
- func (m *FakeLabelManager) Order() (dist.Order, error)
- func (m *FakeLabelManager) StackID() (string, error)
- type FakeLabelManagerFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDetectionCalculator ¶
type FakeDetectionCalculator struct { ReturnForOrder builder.DetectionOrder ErrorForOrder error ReceivedTopOrder dist.Order ReceivedLayers dist.BuildpackLayers ReceivedDepth int }
func (*FakeDetectionCalculator) Order ¶
func (c *FakeDetectionCalculator) Order( topOrder dist.Order, layers dist.BuildpackLayers, depth int, ) (builder.DetectionOrder, error)
type FakeInspectable ¶
type FakeInspectableFetcher ¶
type FakeInspectableFetcher struct { InspectableToReturn *FakeInspectable ErrorToReturn error CallCount int ReceivedName string ReceivedDaemon bool ReceivedPullPolicy config.PullPolicy }
func (*FakeInspectableFetcher) Fetch ¶
func (f *FakeInspectableFetcher) Fetch(ctx context.Context, name string, options image.FetchOptions) (builder.Inspectable, error)
type FakeLabelManager ¶
type FakeLabelManager struct { ReturnForMetadata builder.Metadata ReturnForStackID string ReturnForMixins []string ReturnForOrder dist.Order ReturnForBuildpackLayers dist.BuildpackLayers ErrorForMetadata error ErrorForStackID error ErrorForMixins error ErrorForOrder error ErrorForBuildpackLayers error }
func (*FakeLabelManager) BuildpackLayers ¶
func (m *FakeLabelManager) BuildpackLayers() (dist.BuildpackLayers, error)
func (*FakeLabelManager) Mixins ¶
func (m *FakeLabelManager) Mixins() ([]string, error)
func (*FakeLabelManager) StackID ¶
func (m *FakeLabelManager) StackID() (string, error)
type FakeLabelManagerFactory ¶
type FakeLabelManagerFactory struct { BuilderLabelManagerToReturn builder.LabelInspector ReceivedInspectable builder.Inspectable }
func NewFakeLabelManagerFactory ¶
func NewFakeLabelManagerFactory(builderLabelManagerToReturn builder.LabelInspector) *FakeLabelManagerFactory
func (*FakeLabelManagerFactory) BuilderLabelManager ¶
func (f *FakeLabelManagerFactory) BuilderLabelManager(inspectable builder.Inspectable) builder.LabelInspector
Click to show internal directories.
Click to hide internal directories.