Documentation ¶
Index ¶
- func BasicCredentialFromDockerConfig(hostname string) (string, string, error)
- func GenerateManifest(reference string) ([]byte, error)
- func GenerateManifestOCIDescriptor(reference string) (oci.Descriptor, error)
- func GetManifestOCIDescriptor(ctx context.Context, hostname, repository, ref string) (oci.Descriptor, error)
- func GetManifestReference(ref string) string
- func GetSignatureRepository(ctx context.Context, ref string) (notary.SignatureRepository, error)
- func Transport(hostname string) (http.RoundTripper, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicCredentialFromDockerConfig ¶
BasicCredentialFromDockerConfig fetches the credentials for basic auth from docker config
func GenerateManifest ¶
GenerateManifest generate manifest from docker save
func GenerateManifestOCIDescriptor ¶
func GenerateManifestOCIDescriptor(reference string) (oci.Descriptor, error)
GenerateManifestOCIDescriptor generate manifest descriptor from docker save
func GetManifestOCIDescriptor ¶
func GetManifestOCIDescriptor(ctx context.Context, hostname, repository, ref string) (oci.Descriptor, error)
GetManifestOCIDescriptor get manifest descriptor from remote registry
func GetManifestReference ¶
GetManifestReference returns the tag or the digest of the reference string
func GetSignatureRepository ¶
GetSignatureRepository returns a signature repository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.