Documentation ¶
Overview ¶
* PPPOE VNF main file * * Created by João Correia(Altice Labs) on 20/03/2023
* PPPOE VNF main file * * Created by João Correia(Altice Labs) on 20/03/2023
* PPPOE VNF main file * * Created by João Correia(Altice Labs) on 20/03/2023
Index ¶
- func CreateVNFCollection(coll interfaces.VNFCollection, db *mongo.Database, collName string) error
- func DeleteVNFCollection(coll interfaces.VNFCollection, db *mongo.Database, collName string) error
- func GetVNFDocument[D interfaces.VNFDocument](filter D, db *mongo.Database, collName string) (D, error)
- func GetVNFDocuments[D interfaces.VNFDocument](filter D, db *mongo.Database, collName string) ([]D, error)
- func MergeVNFCollection(coll interfaces.VNFCollection, db *mongo.Database, collName string) error
- func ProcessVNFCollection(coll interfaces.VNFCollection, db *mongo.Database, collName string) error
- func ProcessVNFDatabase(d interfaces.VNFDatabase, client *mongo.Client) error
- func ProcessVNFDocument(doc interfaces.VNFDocument, collection *mongo.Collection) error
- func ReplaceVNFCollection(coll interfaces.VNFCollection, db *mongo.Database, collName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateVNFCollection ¶
func CreateVNFCollection(coll interfaces.VNFCollection, db *mongo.Database, collName string) error
func DeleteVNFCollection ¶
func DeleteVNFCollection(coll interfaces.VNFCollection, db *mongo.Database, collName string) error
func GetVNFDocument ¶
func GetVNFDocument[D interfaces.VNFDocument](filter D, db *mongo.Database, collName string) (D, error)
func GetVNFDocuments ¶
func GetVNFDocuments[D interfaces.VNFDocument](filter D, db *mongo.Database, collName string) ([]D, error)
func MergeVNFCollection ¶
func MergeVNFCollection(coll interfaces.VNFCollection, db *mongo.Database, collName string) error
func ProcessVNFCollection ¶
func ProcessVNFCollection(coll interfaces.VNFCollection, db *mongo.Database, collName string) error
func ProcessVNFDatabase ¶
func ProcessVNFDatabase(d interfaces.VNFDatabase, client *mongo.Client) error
func ProcessVNFDocument ¶
func ProcessVNFDocument(doc interfaces.VNFDocument, collection *mongo.Collection) error
func ReplaceVNFCollection ¶
func ReplaceVNFCollection(coll interfaces.VNFCollection, db *mongo.Database, collName string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.