Documentation
¶
Index ¶
- type FakeImageMetadataProvider
- type FakeManifest
- type FakeRegistryClientImageMetadataProvider
- func (f *FakeRegistryClientImageMetadataProvider) GetDigest(ctx context.Context, imageRef string, pullSecret []byte) (digest.Digest, *reference.DockerImageReference, error)
- func (f *FakeRegistryClientImageMetadataProvider) GetManifest(ctx context.Context, imageRef string, pullSecret []byte) (distribution.Manifest, error)
- func (f *FakeRegistryClientImageMetadataProvider) GetMetadata(ctx context.Context, imageRef string, pullSecret []byte) (*dockerv1client.DockerImageConfig, []distribution.Descriptor, ...)
- func (f *FakeRegistryClientImageMetadataProvider) GetOverride(ctx context.Context, imageRef string, pullSecret []byte) (*reference.DockerImageReference, error)
- func (f *FakeRegistryClientImageMetadataProvider) ImageMetadata(ctx context.Context, imageRef string, pullSecret []byte) (*dockerv1client.DockerImageConfig, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeImageMetadataProvider ¶
type FakeImageMetadataProvider interface { ImageMetadata(ctx context.Context, imageRef string, pullSecret []byte) (*dockerv1client.DockerImageConfig, error) GetManifest(ctx context.Context, imageRef string, pullSecret []byte) (distribution.Manifest, error) GetDigest(ctx context.Context, imageRef string, pullSecret []byte) (digest.Digest, *reference.DockerImageReference, error) }
type FakeManifest ¶ added in v0.1.53
type FakeManifest struct {
MediaType string
}
func (*FakeManifest) Payload ¶ added in v0.1.53
func (f *FakeManifest) Payload() (string, []byte, error)
func (*FakeManifest) References ¶ added in v0.1.53
func (f *FakeManifest) References() []distribution.Descriptor
type FakeRegistryClientImageMetadataProvider ¶ added in v0.1.53
type FakeRegistryClientImageMetadataProvider struct { MediaType string Result *dockerv1client.DockerImageConfig Manifest FakeManifest Digest string Ref *reference.DockerImageReference }
func (*FakeRegistryClientImageMetadataProvider) GetDigest ¶ added in v0.1.53
func (f *FakeRegistryClientImageMetadataProvider) GetDigest(ctx context.Context, imageRef string, pullSecret []byte) (digest.Digest, *reference.DockerImageReference, error)
func (*FakeRegistryClientImageMetadataProvider) GetManifest ¶ added in v0.1.53
func (f *FakeRegistryClientImageMetadataProvider) GetManifest(ctx context.Context, imageRef string, pullSecret []byte) (distribution.Manifest, error)
func (*FakeRegistryClientImageMetadataProvider) GetMetadata ¶ added in v0.1.53
func (f *FakeRegistryClientImageMetadataProvider) GetMetadata(ctx context.Context, imageRef string, pullSecret []byte) (*dockerv1client.DockerImageConfig, []distribution.Descriptor, distribution.BlobStore, error)
func (*FakeRegistryClientImageMetadataProvider) GetOverride ¶ added in v0.1.53
func (f *FakeRegistryClientImageMetadataProvider) GetOverride(ctx context.Context, imageRef string, pullSecret []byte) (*reference.DockerImageReference, error)
func (*FakeRegistryClientImageMetadataProvider) ImageMetadata ¶ added in v0.1.53
func (f *FakeRegistryClientImageMetadataProvider) ImageMetadata(ctx context.Context, imageRef string, pullSecret []byte) (*dockerv1client.DockerImageConfig, error)
Click to show internal directories.
Click to hide internal directories.