Documentation ¶
Index ¶
- Constants
- func OneImage(ctx context.Context, cfg Config, storeController storage.StoreController, ...) error
- func Run(ctx context.Context, cfg Config, storeController storage.StoreController, ...) error
- func StripRegistryTransport(url string) string
- func TypeOf(v interface{}) string
- type Config
- type Content
- type Credentials
- type CredentialsFile
- type ReferenceList
- type RegistryConfig
- type RepoReferences
- type Tags
Constants ¶
View Source
const ( OrasArtifact = "orasArtifact" OCIReference = "ociReference" )
View Source
const (
SyncBlobUploadDir = ".sync"
)
Variables ¶
This section is empty.
Functions ¶
func StripRegistryTransport ¶ added in v1.3.8
sync needs transport to be stripped to not be wrongly interpreted as an image reference at a non-fully qualified registry (hostname as image and port as tag).
Types ¶
type Config ¶
type Config struct { Enable *bool CredentialsFile string Registries []RegistryConfig }
type Credentials ¶
type ReferenceList ¶ added in v1.3.8
type ReferenceList struct {
References []artifactspec.Descriptor `json:"references"`
}
type RegistryConfig ¶
type RepoReferences ¶ added in v1.4.3
type RepoReferences struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.