Package io.fathom.cloud.protobuf.DnsModel

Examples of io.fathom.cloud.protobuf.DnsModel.BackendData


            if (secret != null) {
                sb.setPassword(secret);
            }
        }

        BackendData registration = dnsBackends.register(b, sb, email);

        return registration;
    }
View Full Code Here


            registerAwsRoute53Backend(backend, secrets);
        }

        backend.setSecretData(dnsSecrets.encrypt(secrets.build()));

        BackendData created;
        {
            try {
                created = repository.getBackends().create(backend);
            } catch (DuplicateValueException e) {
                // Shouldn't happen, unless there's concurrent operation
View Full Code Here

    private DnsBackend getBackend(String backendKey) throws CloudException {
        if (backendKey == null) {
            return dnsBackends.getGenericBackend();
        }

        BackendData backend = repository.getBackends().find(backendKey);
        if (backend == null) {
            throw new IllegalArgumentException("Cannot find backend");
        }
        return dnsBackends.getBackend(backend);
    }
View Full Code Here

TOP

Related Classes of io.fathom.cloud.protobuf.DnsModel.BackendData

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.