All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.vespa.model.container.SecretStore Maven / Gradle / Ivy

// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.container;



import java.util.ArrayList;
import java.util.List;

/**
 * @author gjoranv
 */
public class SecretStore {
    private final List groups = new ArrayList<>();

    public void addGroup(String name, String environment) {
        groups.add(new Group(name, environment));
    }

    public List getGroups() {
        return List.copyOf(groups);
    }

    public static class Group {
        public final String name;
        public final String environment;

        Group(String name, String environment) {
            this.name = name;
            this.environment = environment;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy