Package com.io7m.certusine.etcd.internal
Class CSEtcdOutput
java.lang.Object
com.io7m.certusine.etcd.internal.CSEtcdOutput
- All Implemented Interfaces:
CSCertificateOutputType
An etcd certificate output.
-
Constructor Summary
ConstructorsConstructorDescriptionCSEtcdOutput(CSEtcdStrings inStrings, String inName, Optional<CSEtcdCredentials> inCredentials, String inEndpoint) An etcd certificate output. -
Method Summary
-
Constructor Details
-
CSEtcdOutput
public CSEtcdOutput(CSEtcdStrings inStrings, String inName, Optional<CSEtcdCredentials> inCredentials, String inEndpoint) An etcd certificate output.- Parameters:
inStrings- The stringsinCredentials- The credentialsinName- The output nameinEndpoint- The endpoint base address
-
-
Method Details
-
type
- Specified by:
typein interfaceCSCertificateOutputType- Returns:
- The type of the output
-
name
- Specified by:
namein interfaceCSCertificateOutputType- Returns:
- The name of the output
-
write
Description copied from interface:CSCertificateOutputTypeWrite a certificate to the output.- Specified by:
writein interfaceCSCertificateOutputType- Parameters:
outputData- The data to be written- Throws:
IOException- On I/O errorsInterruptedException
-