public final class IndexYaml extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.artipie.asto.Key |
INDEX_YAML
The `index.yaml` string.
|
| Constructor and Description |
|---|
IndexYaml(com.artipie.asto.Storage storage)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Completable |
deleteByName(String name)
Delete from `index.yaml` file specified chart.
|
io.reactivex.Completable |
deleteByNameAndVersion(String name,
String version)
Delete from `index.yaml` file specified chart with given version.
|
io.reactivex.Completable |
update(TgzArchive arch)
Update the index file.
|
public static final com.artipie.asto.Key INDEX_YAML
public IndexYaml(com.artipie.asto.Storage storage)
storage - The storage.public io.reactivex.Completable update(TgzArchive arch)
arch - New archive in a repo for which metadata is missing.public io.reactivex.Completable deleteByName(String name)
name - Chart namepublic io.reactivex.Completable deleteByNameAndVersion(String name, String version)
name - Chart nameversion - Version of the chart which should be deletedCopyright © 2012–2021 jcabi.com. All rights reserved.