Package io.fathom.auto.haproxy.model

Examples of io.fathom.auto.haproxy.model.Frontend


            Files.write(s, secretFile, Charsets.UTF_8);
            backend.sslKey = secretFile.getAbsolutePath();
        }

        String frontendKey = DEFAULT_FRONTEND_KEY;
        Frontend frontend = getFrontend(frontendKey);
        frontend.backends.add(backend);

        if (backend.sslKey != null) {
            if (frontend.sslKey == null) {
                frontend.sslKey = backend.sslKey;
View Full Code Here


        }
        return backend;
    }

    private Frontend getFrontend(String frontendKey) {
        Frontend frontend = frontends.get(frontendKey);
        if (frontend == null) {
            frontend = new Frontend();
            frontend.key = frontendKey;
            frontends.put(frontendKey, frontend);
        }
        return frontend;
    }
View Full Code Here

TOP

Related Classes of io.fathom.auto.haproxy.model.Frontend

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.