aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/artifact/ArtifactRegistry.java
blob: 6ab8409ad118d12a5eb2b51f834e54a586718814 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.artifact;


import java.util.List;

/**
 * A registry of artifacts (e.g. container image or RPM).
 *
 * @author mpolden
 */
public interface ArtifactRegistry {

    /** Delete all given artifacts */
    void deleteAll(List<Artifact> artifacts);

    /** Returns a list of all artifacts in this system */
    List<Artifact> list();

}