Documentation
¶
Index ¶
Constants ¶
View Source
const ( KIND_OCI_REFERENCE = "oci reference" KIND_ARETEFACT_REFERENCE = "artifact reference" )
to find a suitable secret for images on Docker Hub, we need its two domains to do matching.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtSpec ¶
type ArtSpec struct {
// Repository is the part of a reference without its hostname
Repository string `json:"repository"`
// artifact version
ArtVersion `json:",inline"`
}
type ArtVersion ¶
type RefSpec ¶
type RefSpec struct {
UniformRepositorySpec `json:",inline"`
ArtSpec `json:",inline"`
}
type UniformRepositorySpec ¶
type UniformRepositorySpec struct {
// Type
Type string `json:"type,omitempty"`
// Scheme
Scheme string `json:"scheme,omitempty"`
// Host is the hostname of an oci ref.
Host string `json:"host,omitempty"`
// Info is the file path used to host ctf component versions
Info string `json:"info,omitempty"`
// CreateIfMissing indicates whether a file based or dynamic repo should be created if it does not exist
CreateIfMissing bool `json:"createIfMissing,omitempty"`
// TypeHint should be set if CreateIfMissing is true to help to decide what kind of repo to create
TypeHint string `json:"typeHint,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.