Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(inctx context.Context, backupDir string, mdbConnOpts ConnectionOptions, mdbSSLOpts SSLOptions, conn *grpc.ClientConn, logger *logrus.Logger) (*Client, error)
func (*Client) IsDBBackupRunning ¶
func (*Client) IsOplogBackupRunning ¶
func (*Client) ReplicasetName ¶
type ConnectionOptions ¶
type SSLOptions ¶
type SSLOptions struct {
UseSSL bool `yaml:"use_ssl"`
SSLCAFile string `yaml:"sslca_file"`
SSLPEMKeyFile string `yaml:"sslpem_key_file"`
SSLPEMKeyPassword string `yaml:"sslpem_key_password"`
SSLCRLFile string `yaml:"sslcrl_file"`
SSLAllowInvalidCert bool `yaml:"ssl_allow_invalid_cert"`
SSLAllowInvalidHost bool `yaml:"ssl_allow_invalid_host"`
SSLFipsMode bool `yaml:"ssl_fips_mode"`
}
Struct holding ssl-related options
Click to show internal directories.
Click to hide internal directories.