Documentation ¶
Index ¶
- type BuildpackImgInfo
- type FakeImage
- func (f FakeImage) ConfigFile() (*v1.ConfigFile, error)
- func (f FakeImage) ConfigName() (v1.Hash, error)
- func (f FakeImage) Digest() (v1.Hash, error)
- func (f FakeImage) LayerByDiffID(v1.Hash) (v1.Layer, error)
- func (f FakeImage) LayerByDigest(v1.Hash) (v1.Layer, error)
- func (f FakeImage) Layers() ([]v1.Layer, error)
- func (f FakeImage) Manifest() (*v1.Manifest, error)
- func (f FakeImage) MediaType() (types.MediaType, error)
- func (f FakeImage) RawConfigFile() ([]byte, error)
- func (f FakeImage) RawManifest() ([]byte, error)
- func (f FakeImage) Size() (int64, error)
- type Fetcher
- func (f *Fetcher) AddBuildpackImages(infos ...BuildpackImgInfo)
- func (f *Fetcher) AddImage(identifier string, image v1.Image)
- func (f *Fetcher) AddLifecycleImages(infos ...LifecycleInfo)
- func (f *Fetcher) AddStackImages(infos ...StackInfo)
- func (f *Fetcher) CallCount() int
- func (f *Fetcher) Fetch(_ authn.Keychain, src string) (v1.Image, error)
- type ImageInfo
- type LifecycleInfo
- type Relocator
- type SourceUploader
- type StackInfo
- type UtilProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildpackImgInfo ¶
type FakeImage ¶
type FakeImage struct {
// contains filtered or unexported fields
}
func NewFakeImage ¶
func NewFakeLabeledImage ¶
func (FakeImage) ConfigFile ¶
func (f FakeImage) ConfigFile() (*v1.ConfigFile, error)
func (FakeImage) RawConfigFile ¶
func (FakeImage) RawManifest ¶
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
func NewBuildpackImagesFetcher ¶
func NewBuildpackImagesFetcher(i ...BuildpackImgInfo) *Fetcher
func NewLifecycleImageFetcher ¶
func NewLifecycleImageFetcher(i ...LifecycleInfo) *Fetcher
func NewStackImagesFetcher ¶
func (*Fetcher) AddBuildpackImages ¶
func (f *Fetcher) AddBuildpackImages(infos ...BuildpackImgInfo)
func (*Fetcher) AddLifecycleImages ¶
func (f *Fetcher) AddLifecycleImages(infos ...LifecycleInfo)
func (*Fetcher) AddStackImages ¶
type LifecycleInfo ¶
type Relocator ¶
type Relocator struct {
// contains filtered or unexported fields
}
type SourceUploader ¶
type SourceUploader struct {
// contains filtered or unexported fields
}
func NewSourceUploader ¶
func NewSourceUploader(imageRef string) *SourceUploader
func (*SourceUploader) SetImageRef ¶
func (f *SourceUploader) SetImageRef(ref string)
func (*SourceUploader) SetSkipUpload ¶
func (f *SourceUploader) SetSkipUpload(skip bool)
type UtilProvider ¶
type UtilProvider struct { FakeFetcher registry.Fetcher FakeRelocator *Relocator FakeSourceUploader registry.SourceUploader }
func (UtilProvider) SourceUploader ¶
func (u UtilProvider) SourceUploader(_ bool) registry.SourceUploader
Click to show internal directories.
Click to hide internal directories.