Class DigitalOceanParserModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public class DigitalOceanParserModule
    extends com.google.inject.AbstractModule
    Custom parser bindings.
    • Constructor Detail

      • DigitalOceanParserModule

        public DigitalOceanParserModule()
    • Method Detail

      • configure

        protected void configure()
        Overrides:
        configure in class com.google.inject.AbstractModule
      • publicKeyToSshKey

        @Provides
        @Singleton
        public com.google.common.base.Function<PublicKey,​String> publicKeyToSshKey()
      • sshKeyToPublicKey

        @Provides
        @Singleton
        public com.google.common.base.Function<String,​PublicKey> sshKeyToPublicKey()