From 5ec391695ba472876e60eec987dc330bc764ce2b Mon Sep 17 00:00:00 2001 From: Alec Grieser Date: Thu, 10 May 2018 15:26:25 -0700 Subject: [PATCH] regenerate generated.go with new TLS options --- bindings/go/src/fdb/generated.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/bindings/go/src/fdb/generated.go b/bindings/go/src/fdb/generated.go index dd55074e26..9f71b149f7 100644 --- a/bindings/go/src/fdb/generated.go +++ b/bindings/go/src/fdb/generated.go @@ -159,6 +159,27 @@ func (o NetworkOptions) SetBuggifySectionFiredProbability(param int64) error { return o.setOpt(51, b) } +// Set the ca bundle +// +// Parameter: ca bundle +func (o NetworkOptions) SetTLSCaBytes(param []byte) error { + return o.setOpt(52, param) +} + +// Set the file from which to load the certificate authority bundle +// +// Parameter: file path +func (o NetworkOptions) SetTLSCaPath(param string) error { + return o.setOpt(53, []byte(param)) +} + +// Set the passphrase for encrypted private key. Password should be set before setting the key for the password to be used. +// +// Parameter: key passphrase +func (o NetworkOptions) SetTLSPassword(param string) error { + return o.setOpt(54, []byte(param)) +} + // Disables the multi-version client API and instead uses the local client directly. Must be set before setting up the network. func (o NetworkOptions) SetDisableMultiVersionClientApi() error { return o.setOpt(60, nil)