Class CreateRepoSlice
- java.lang.Object
-
- com.artipie.management.api.artifactory.CreateRepoSlice
-
- All Implemented Interfaces:
com.artipie.http.Slice
public final class CreateRepoSlice extends Object implements com.artipie.http.Slice
Artifactory create repo API slice, it accepts json and create new docker repository by creating corresponding YAML configuration.- Since:
- 0.1
-
-
Constructor Summary
Constructors Constructor Description CreateRepoSlice(com.artipie.asto.Storage storage, ConfigFiles configfile)
Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.artipie.http.Response
response(String line, Iterable<Map.Entry<String,String>> headers, org.reactivestreams.Publisher<ByteBuffer> body)
-
-
-
Constructor Detail
-
CreateRepoSlice
public CreateRepoSlice(com.artipie.asto.Storage storage, ConfigFiles configfile)
Ctor.- Parameters:
storage
- Artipie settings storageconfigfile
- Config file to support `yaml` and `.yml` extensions
-
-