Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBuilderInspector ¶ added in v0.15.0
type FakeBuilderInspector struct { InfoForLocal *client.BuilderInfo InfoForRemote *client.BuilderInfo ErrorForLocal error ErrorForRemote error ReceivedForLocalName string ReceivedForRemoteName string CalculatedConfigForLocal client.BuilderInspectionConfig CalculatedConfigForRemote client.BuilderInspectionConfig }
func (*FakeBuilderInspector) InspectBuilder ¶ added in v0.15.0
func (i *FakeBuilderInspector) InspectBuilder( name string, daemon bool, modifiers ...client.BuilderInspectionModifier, ) (*client.BuilderInfo, error)
type FakeBuilderWriter ¶ added in v0.15.0
type FakeBuilderWriter struct { PrintForLocal string PrintForRemote string ErrorForPrint error ReceivedInfoForLocal *client.BuilderInfo ReceivedInfoForRemote *client.BuilderInfo ReceivedErrorForLocal error ReceivedErrorForRemote error ReceivedBuilderInfo writer.SharedBuilderInfo ReceivedLocalRunImages []config.RunImage }
func (*FakeBuilderWriter) Print ¶ added in v0.15.0
func (w *FakeBuilderWriter) Print( logger logging.Logger, localRunImages []config.RunImage, local, remote *client.BuilderInfo, localErr, remoteErr error, builderInfo writer.SharedBuilderInfo, ) error
type FakeBuilderWriterFactory ¶ added in v0.15.0
type FakeBuilderWriterFactory struct { ReturnForWriter writer.BuilderWriter ErrorForWriter error ReceivedForKind string }
func (*FakeBuilderWriterFactory) Writer ¶ added in v0.15.0
func (f *FakeBuilderWriterFactory) Writer(kind string) (writer.BuilderWriter, error)
type FakeBuildpackPackager ¶
type FakeBuildpackPackager struct {
CreateCalledWithOptions client.PackageBuildpackOptions
}
func (*FakeBuildpackPackager) PackageBuildpack ¶
func (c *FakeBuildpackPackager) PackageBuildpack(ctx context.Context, opts client.PackageBuildpackOptions) error
func (*FakeBuildpackPackager) PackageExtension ¶ added in v0.30.0
func (c *FakeBuildpackPackager) PackageExtension(ctx context.Context, opts client.PackageBuildpackOptions) error
type FakeInspectImageWriter ¶ added in v0.16.0
type FakeInspectImageWriter struct { PrintForLocal string PrintForRemote string ErrorForPrint error ReceivedInfoForLocal *client.ImageInfo ReceivedInfoForRemote *client.ImageInfo RecievedGeneralInfo inspectimage.GeneralInfo ReceivedErrorForLocal error ReceivedErrorForRemote error }
func (*FakeInspectImageWriter) Print ¶ added in v0.16.0
func (w *FakeInspectImageWriter) Print( logger logging.Logger, sharedInfo inspectimage.GeneralInfo, local, remote *client.ImageInfo, localErr, remoteErr error, ) error
type FakeInspectImageWriterFactory ¶ added in v0.16.0
type FakeInspectImageWriterFactory struct { ReturnForWriter writer.InspectImageWriter ErrorForWriter error ReceivedForKind string ReceivedForBOM bool }
func (*FakeInspectImageWriterFactory) Writer ¶ added in v0.16.0
func (f *FakeInspectImageWriterFactory) Writer(kind string, bom bool) (writer.InspectImageWriter, error)
type FakePackageConfigReader ¶
type FakePackageConfigReader struct { ReadCalledWithArg string ReadReturnConfig pubbldpkg.Config ReadReturnError error ReadBuildpackDescriptorCalledWithArg string ReadBuildpackDescriptorReturn dist.BuildpackDescriptor ReadBuildpackDescriptorReturnError error }
func NewFakePackageConfigReader ¶
func NewFakePackageConfigReader(ops ...func(*FakePackageConfigReader)) *FakePackageConfigReader
func (*FakePackageConfigReader) Read ¶
func (r *FakePackageConfigReader) Read(path string) (pubbldpkg.Config, error)
func (*FakePackageConfigReader) ReadBuildpackDescriptor ¶ added in v0.34.0
func (r *FakePackageConfigReader) ReadBuildpackDescriptor(path string) (dist.BuildpackDescriptor, error)
Click to show internal directories.
Click to hide internal directories.