Documentation ¶
Index ¶
- Constants
- type Builder
- func (b *Builder) Access(acc compdesc.AccessSpec)
- func (b *Builder) Annotation(name, value string)
- func (b *Builder) Artifact(desc *artdesc.Descriptor)
- func (b *Builder) ArtifactSet(path string, fmt accessio.FileFormat, f ...func())
- func (b *Builder) BlobData(mime string, data []byte)
- func (b *Builder) BlobFromFile(mime string, path string)
- func (b *Builder) BlobStringData(mime string, data string)
- func (b *Builder) ClearExtraIdentities()
- func (b *Builder) ClearLabels()
- func (b *Builder) Component(name string, f ...func())
- func (b *Builder) ComponentArchive(path string, fmt accessio.FileFormat, name, vers string, f ...func())
- func (b *Builder) ComponentVersion(name, version string, f ...func())
- func (b *Builder) Config(f ...func())
- func (b *Builder) ExtraIdentity(name string, value string)
- func (b *Builder) Hint(hint string)
- func (b *Builder) Index(tag string, f ...func()) *artdesc.Descriptor
- func (b *Builder) Label(name string, value interface{})
- func (b *Builder) Layer(f ...func()) *artdesc.Descriptor
- func (b *Builder) Manifest(tag string, f ...func()) *artdesc.Descriptor
- func (b *Builder) Namespace(name string, f ...func())
- func (b *Builder) OCICommonTransport(path string, fmt accessio.FileFormat, f ...func())
- func (b *Builder) OCMCommonTransport(path string, fmt accessio.FileFormat, f ...func())
- func (b *Builder) Provider(name string)
- func (b *Builder) ProviderLabel(name string, value interface{})
- func (b *Builder) RSAKeyPair(name ...string)
- func (b *Builder) ReadRSAKeyPair(name, path string)
- func (b *Builder) Reference(name, comp, vers string, f ...func())
- func (b *Builder) RemoveExtraIdentity(name string)
- func (b *Builder) RemoveLabel(name string)
- func (b *Builder) Resource(name, vers, typ string, relation metav1.ResourceRelation, f ...func())
- func (b *Builder) Source(name, vers, typ string, f ...func())
- func (b *Builder) Tags(tags ...string)
- func (b *Builder) Version(name string, f ...func())
- type State
Constants ¶
View Source
const ( T_OCIARTIFACT = "artifact" T_OCIINDEX = "index" T_OCIMANIFEST = "manifest" )
View Source
const T_BLOBACCESS = "blob access"
View Source
const T_COMPARCH = "component archive"
View Source
const T_OCIARTIFACTSET = "artifact set"
View Source
const T_OCICONFIG = "oci config"
View Source
const T_OCILAYER = "oci layer"
View Source
const T_OCINAMESPACE = "oci namespace"
View Source
const T_OCIREPOSITORY = "oci repository"
View Source
const T_OCI_CTF = "oci common transport format"
View Source
const T_OCMACCESS = "access"
View Source
const T_OCMCOMPONENT = "component"
View Source
const T_OCMMETA = "element with metadata"
View Source
const T_OCMREF = "reference"
View Source
const T_OCMREPOSITORY = "ocm repository"
View Source
const T_OCMRESOURCE = "resource"
View Source
const T_OCMSOURCE = "source"
View Source
const T_OCMVERSION = "component version"
View Source
const T_OCM_CTF = "ocm common transport format"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { *env.Environment // contains filtered or unexported fields }
func NewBuilder ¶
func NewBuilder(t *env.Environment) *Builder
func (*Builder) Access ¶
func (b *Builder) Access(acc compdesc.AccessSpec)
func (*Builder) Annotation ¶
func (*Builder) Artifact ¶
func (b *Builder) Artifact(desc *artdesc.Descriptor)
func (*Builder) ArtifactSet ¶
func (b *Builder) ArtifactSet(path string, fmt accessio.FileFormat, f ...func())
func (*Builder) BlobFromFile ¶
func (*Builder) BlobStringData ¶
func (*Builder) ClearExtraIdentities ¶
func (b *Builder) ClearExtraIdentities()
func (*Builder) ClearLabels ¶
func (b *Builder) ClearLabels()
func (*Builder) ComponentArchive ¶
func (b *Builder) ComponentArchive(path string, fmt accessio.FileFormat, name, vers string, f ...func())
func (*Builder) ComponentVersion ¶
func (*Builder) ExtraIdentity ¶
func (*Builder) Layer ¶
func (b *Builder) Layer(f ...func()) *artdesc.Descriptor
func (*Builder) OCICommonTransport ¶
func (b *Builder) OCICommonTransport(path string, fmt accessio.FileFormat, f ...func())
func (*Builder) OCMCommonTransport ¶
func (b *Builder) OCMCommonTransport(path string, fmt accessio.FileFormat, f ...func())
func (*Builder) ProviderLabel ¶
func (*Builder) RSAKeyPair ¶
TODO: switch to context local setting.
func (*Builder) ReadRSAKeyPair ¶
func (*Builder) RemoveExtraIdentity ¶
func (*Builder) RemoveLabel ¶
Source Files ¶
- builder.go
- oci_anno.go
- oci_artifact.go
- oci_artifactset.go
- oci_config.go
- oci_ctf.go
- oci_layer.go
- oci_namespace.go
- oci_repo.go
- oci_tags.go
- ocm_access.go
- ocm_comparch.go
- ocm_component.go
- ocm_ctf.go
- ocm_identity.go
- ocm_label.go
- ocm_provider.go
- ocm_reference.go
- ocm_repo.go
- ocm_resource.go
- ocm_source.go
- ocm_version.go
- rsa_keypair.go
Click to show internal directories.
Click to hide internal directories.