Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoInstance ¶
type MongoInstance interface { GetBase() *core.MongoBase // 获取base通用工具集 GetCr() *middlewarev1alpha1.MongoDB PreConfig() error Restart() (bool, error) Sync() error PostConfig() error }
func GetMongoInstance ¶
func GetMongoInstance(mgr manager.Manager, cr *middlewarev1alpha1.MongoDB, log *zap.SugaredLogger, e event.IEvent) MongoInstance
根据mongo类型获取具体实例
Click to show internal directories.
Click to hide internal directories.