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 ¶
Constants ¶
View Source
const ( CREATE = "create" DELETE = "delete" REMOVE = "remove" REPLACE = "replace" MERGE = "merge" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultVNFCollection ¶
type DefaultVNFCollection struct{}
func (*DefaultVNFCollection) Get ¶
func (*DefaultVNFCollection) Get(*mongo.Database, string) (VNFCollection, error)
func (*DefaultVNFCollection) VNFDocuments ¶
func (*DefaultVNFCollection) VNFDocuments() []VNFDocument
func (*DefaultVNFCollection) VNFSubCollections ¶
func (*DefaultVNFCollection) VNFSubCollections() map[string]VNFCollection
type DefaultVNFDatabase ¶
type DefaultVNFDatabase struct{}
func (*DefaultVNFDatabase) Get ¶
func (*DefaultVNFDatabase) Get(*mongo.Client) (VNFDatabase, error)
type DefaultVNFDocument ¶
type DefaultVNFDocument struct{}
func (*DefaultVNFDocument) Get ¶
func (*DefaultVNFDocument) Get(*mongo.Collection) ([]interface{}, error)
type NetconfAttributes ¶
type NetconfAttributes struct {
Op string `bson:"-" json:"ietf-netconf:operation,omitempty"`
}
func (*NetconfAttributes) Operation ¶
func (n *NetconfAttributes) Operation() string
type VNFCollection ¶
type VNFCollection interface { Operation() string Collection(*mongo.Database, string) (*mongo.Collection, error) VNFSubCollections() map[string]VNFCollection VNFDocuments() []VNFDocument Get(*mongo.Database, string) (VNFCollection, error) }
type VNFDatabase ¶
type VNFDatabase interface { Database(*mongo.Client) *mongo.Database VNFCollections() map[string]VNFCollection Get(*mongo.Client) (VNFDatabase, error) }
type VNFDocument ¶
type VNFDocument interface { Operation() string Create(*mongo.Collection) error Delete(*mongo.Collection) error Remove(*mongo.Collection) error Replace(*mongo.Collection) error Merge(*mongo.Collection) error Get(*mongo.Collection) ([]interface{}, error) }
Click to show internal directories.
Click to hide internal directories.