Documentation
¶
Index ¶
- type BuildahStub
- func (b *BuildahStub) Add(context.Context, string, []string, string, buildah.AddOpts) error
- func (b *BuildahStub) BuildFromDockerfile(context.Context, string, buildah.BuildFromDockerfileOpts) (string, error)
- func (b *BuildahStub) Commit(context.Context, string, buildah.CommitOpts) (string, error)
- func (b *BuildahStub) CommitMutation(context.Context, string, buildah.CommitOpts) (string, error)
- func (b *BuildahStub) Config(context.Context, string, buildah.ConfigOpts) error
- func (b *BuildahStub) Containers(context.Context, buildah.ContainersOptions) (image.ContainerList, error)
- func (b *BuildahStub) Copy(context.Context, string, string, []string, string, buildah.CopyOpts) error
- func (b *BuildahStub) FromCommand(ctx context.Context, container, image string, opts buildah.FromCommandOpts) (string, error)
- func (b *BuildahStub) GetDefaultPlatform() string
- func (b *BuildahStub) GetRuntimePlatform() string
- func (b *BuildahStub) Images(context.Context, buildah.ImagesOptions) (image.ImagesList, error)
- func (b *BuildahStub) Info(context.Context) (info.Info, error)
- func (b *BuildahStub) Inspect(ctx context.Context, ref string) (*thirdparty.BuilderInfo, error)
- func (b *BuildahStub) LoadImageFromStream(context.Context, io.Reader) (string, error)
- func (b *BuildahStub) Mount(context.Context, string, buildah.MountOpts) (string, error)
- func (b *BuildahStub) MutateConfig(context.Context, string, image.SpecConfig, buildah.CommonOpts) error
- func (b *BuildahStub) PruneImages(context.Context, buildah.PruneImagesOptions) (buildah.PruneImagesReport, error)
- func (b *BuildahStub) Pull(ctx context.Context, ref string, opts buildah.PullOpts) (string, error)
- func (b *BuildahStub) Push(context.Context, string, buildah.PushOpts) error
- func (b *BuildahStub) Rm(context.Context, string, buildah.RmOpts) error
- func (b *BuildahStub) Rmi(context.Context, string, buildah.RmiOpts) error
- func (b *BuildahStub) RunCommand(context.Context, string, []string, buildah.RunCommandOpts) error
- func (b *BuildahStub) SaveImageToStream(context.Context, string) (io.ReadCloser, error)
- func (b *BuildahStub) Tag(context.Context, string, string, buildah.TagOpts) error
- func (b *BuildahStub) Umount(context.Context, string, buildah.UmountOpts) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildahStub ¶
type BuildahStub struct {
FromCommandFunc func(ctx context.Context, container, image string, opts buildah.FromCommandOpts) (string, error)
PullFunc func(ctx context.Context, ref string, opts buildah.PullOpts) (string, error)
InspectFunc func(ctx context.Context, ref string) (*thirdparty.BuilderInfo, error)
FromCommandImages []string
PullRefs []string
InspectRefs []string
// contains filtered or unexported fields
}
func (*BuildahStub) BuildFromDockerfile ¶
func (b *BuildahStub) BuildFromDockerfile(context.Context, string, buildah.BuildFromDockerfileOpts) (string, error)
func (*BuildahStub) Commit ¶
func (b *BuildahStub) Commit(context.Context, string, buildah.CommitOpts) (string, error)
func (*BuildahStub) CommitMutation ¶
func (b *BuildahStub) CommitMutation(context.Context, string, buildah.CommitOpts) (string, error)
func (*BuildahStub) Config ¶
func (b *BuildahStub) Config(context.Context, string, buildah.ConfigOpts) error
func (*BuildahStub) Containers ¶
func (b *BuildahStub) Containers(context.Context, buildah.ContainersOptions) (image.ContainerList, error)
func (*BuildahStub) FromCommand ¶
func (b *BuildahStub) FromCommand(ctx context.Context, container, image string, opts buildah.FromCommandOpts) (string, error)
func (*BuildahStub) GetDefaultPlatform ¶
func (b *BuildahStub) GetDefaultPlatform() string
func (*BuildahStub) GetRuntimePlatform ¶
func (b *BuildahStub) GetRuntimePlatform() string
func (*BuildahStub) Images ¶
func (b *BuildahStub) Images(context.Context, buildah.ImagesOptions) (image.ImagesList, error)
func (*BuildahStub) Inspect ¶
func (b *BuildahStub) Inspect(ctx context.Context, ref string) (*thirdparty.BuilderInfo, error)
func (*BuildahStub) LoadImageFromStream ¶
func (*BuildahStub) MutateConfig ¶
func (b *BuildahStub) MutateConfig(context.Context, string, image.SpecConfig, buildah.CommonOpts) error
func (*BuildahStub) PruneImages ¶
func (b *BuildahStub) PruneImages(context.Context, buildah.PruneImagesOptions) (buildah.PruneImagesReport, error)
func (*BuildahStub) RunCommand ¶
func (b *BuildahStub) RunCommand(context.Context, string, []string, buildah.RunCommandOpts) error
func (*BuildahStub) SaveImageToStream ¶
func (b *BuildahStub) SaveImageToStream(context.Context, string) (io.ReadCloser, error)
func (*BuildahStub) Umount ¶
func (b *BuildahStub) Umount(context.Context, string, buildah.UmountOpts) error
Click to show internal directories.
Click to hide internal directories.