Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Comparison ¶
type Comparison struct { Logger *mdb.Logger `bson:"keyhole"` SourceStats *mdb.ClusterStats `bson:"source"` TargetStats *mdb.ClusterStats `bson:"target"` // contains filtered or unexported fields }
Comparison contains parameters of comparison parameters
func NewComparison ¶
func NewComparison(keyholeVersion string) *Comparison
NewComparison returns *Comparison
func (*Comparison) OutputBSON ¶
func (p *Comparison) OutputBSON() error
OutputBSON writes bson data to a file
func (*Comparison) SetNoColor ¶
func (p *Comparison) SetNoColor(nocolor bool)
SetNoColor set nocolor flag
func (*Comparison) SetTLSCAFile ¶
func (p *Comparison) SetTLSCAFile(tlsCAFile string)
SetTLSCAFile sets cloneDataOnly
func (*Comparison) SetTLSCertificateKeyFile ¶
func (p *Comparison) SetTLSCertificateKeyFile(tlsCertificateKeyFile string)
SetTLSCertificateKeyFile sets cloneDataOnly
func (*Comparison) SetVerbose ¶
func (p *Comparison) SetVerbose(verbose bool)
SetVerbose sets verbose
Click to show internal directories.
Click to hide internal directories.