Documentation ¶
Index ¶
- Constants
- Variables
- func FakeOCIRepo(env *builder.Builder, path string, host string) string
- func HashManifest1(fmt string) string
- func HashManifest2(fmt string) string
- func OCIArtifactResource1(env *builder.Builder, name string, host string, funcs ...func())
- func OCIIndex1(env *builder.Builder) *artdesc.Descriptor
- func OCIManifest1(env *builder.Builder) *artdesc.Descriptor
- func OCIManifest1For(env *builder.Builder, ns, tag string, nested ...func()) (*artdesc.Descriptor, *artdesc.Descriptor)
- func OCIManifest2(env *builder.Builder) *artdesc.Descriptor
- func OCIManifest2For(env *builder.Builder, ns, tag string, nested ...func()) (*artdesc.Descriptor, *artdesc.Descriptor)
Constants ¶
View Source
const ( OCINAMESPACE = "ocm/value" OCIVERSION = "v2.0" OCILAYER = "manifestlayer" )
View Source
const ( D_OCIMANIFEST1 = "0c4abdb72cf59cb4b77f4aacb4775f9f546ebc3face189b2224a966c8826ca9f" H_OCIARCHMANIFEST1 = "b0692bcec00e0a875b6b280f3209d6776f3eca128adcb7e81e82fd32127c0c62" )
View Source
const ( OCINAMESPACE2 = "ocm/ref" OCILAYER2 = "otherlayer" )
View Source
const ( D_OCIMANIFEST2 = "c2d2dca275c33c1270dea6168a002d67c0e98780d7a54960758139ae19984bd7" H_OCIARCHMANIFEST2 = "cb85cd58b10e36343971691abbfe40200cb645c6e95f0bdabd111a30cf794708" )
View Source
const ( OCIINDEXVERSION = "v2.0-index" OCINAMESPACE3 = "ocm/index" )
Variables ¶
View Source
var DS_OCIMANIFEST1 = &metav1.DigestSpec{ HashAlgorithm: sha256.Algorithm, NormalisationAlgorithm: artifact.OciArtifactDigestV1, Value: D_OCIMANIFEST1, }
View Source
var DS_OCIMANIFEST2 = &metav1.DigestSpec{ HashAlgorithm: sha256.Algorithm, NormalisationAlgorithm: artifact.OciArtifactDigestV1, Value: D_OCIMANIFEST2, }
View Source
var OCIDigests = testutils.Substitutions{ "D_OCIMANIFEST1": D_OCIMANIFEST1, "H_OCIARCHMANIFEST1": H_OCIARCHMANIFEST1, "D_OCIMANIFEST2": D_OCIMANIFEST2, "H_OCIARCHMANIFEST2": H_OCIARCHMANIFEST2, }
Functions ¶
func HashManifest1 ¶
func HashManifest2 ¶
func OCIArtifactResource1 ¶ added in v0.4.1
func OCIManifest1 ¶
func OCIManifest1(env *builder.Builder) *artdesc.Descriptor
func OCIManifest1For ¶ added in v0.3.0
func OCIManifest1For(env *builder.Builder, ns, tag string, nested ...func()) (*artdesc.Descriptor, *artdesc.Descriptor)
func OCIManifest2 ¶
func OCIManifest2(env *builder.Builder) *artdesc.Descriptor
func OCIManifest2For ¶ added in v0.3.0
func OCIManifest2For(env *builder.Builder, ns, tag string, nested ...func()) (*artdesc.Descriptor, *artdesc.Descriptor)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.