Documentation ¶
Index ¶
Constants ¶
View Source
const (
TempBlobsDir = "/tmp"
)
Variables ¶
View Source
var Logger = log.Log.WithName("registry")
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct { K8sClient client.Client NamespacedName types.NamespacedName Scheme *runtime.Scheme HttpClient *cmhttp.HttpClient }
Factory
type Readable ¶
type Readable interface { ListRepositories() *image.APIRepositories ListTags(repository string) *image.APIRepository }
type Replicatable ¶
type Replicatable interface { GetManifest(image string) (*image.ImageManifest, error) PutManifest(image string, manifest *image.ImageManifest) error ExistBlob(repository, digest string) (bool, error) PullBlob(repository, digest string) (string, int64, error) PushBlob(repository, digest, blobPath string, size int64) error }
type Synchronizable ¶
Click to show internal directories.
Click to hide internal directories.