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
Index ¶
- type SubscriberProfile
- func (s *SubscriberProfile) Create(collection *mongo.Collection) error
- func (s *SubscriberProfile) Delete(collection *mongo.Collection) error
- func (s *SubscriberProfile) Get(collection *mongo.Collection) ([]interface{}, error)
- func (s *SubscriberProfile) Merge(collection *mongo.Collection) error
- func (s *SubscriberProfile) Remove(collection *mongo.Collection) error
- func (s *SubscriberProfile) Replace(collection *mongo.Collection) error
- type SubscriberProfiles
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubscriberProfile ¶
type SubscriberProfile struct { interfaces.NetconfAttributes `bson:"-" json:"@,omitempty"` Name string `bson:"name" json:"name,omitempty"` DeviceName string `bson:"device-name" json:"-"` CircuitID string `bson:"circuit-id,omitempty" json:"circuit-id,omitempty"` RemoteID string `bson:"remote-id,omitempty" json:"remote-id,omitempty"` }
func (*SubscriberProfile) Create ¶
func (s *SubscriberProfile) Create(collection *mongo.Collection) error
func (*SubscriberProfile) Delete ¶
func (s *SubscriberProfile) Delete(collection *mongo.Collection) error
func (*SubscriberProfile) Get ¶
func (s *SubscriberProfile) Get(collection *mongo.Collection) ([]interface{}, error)
func (*SubscriberProfile) Merge ¶
func (s *SubscriberProfile) Merge(collection *mongo.Collection) error
func (*SubscriberProfile) Remove ¶
func (s *SubscriberProfile) Remove(collection *mongo.Collection) error
func (*SubscriberProfile) Replace ¶
func (s *SubscriberProfile) Replace(collection *mongo.Collection) error
type SubscriberProfiles ¶
type SubscriberProfiles struct { interfaces.NetconfAttributes `bson:"-" json:"@,omitempty"` interfaces.DefaultVNFCollection `bson:"-" json:"-"` Profile []SubscriberProfile `json:"subscriber-profile,omitempty"` }
func (*SubscriberProfiles) Collection ¶
func (s *SubscriberProfiles) Collection(db *mongo.Database, collName string) (*mongo.Collection, error)
func (*SubscriberProfiles) Get ¶
func (s *SubscriberProfiles) Get(db *mongo.Database, collName string) (interfaces.VNFCollection, error)
func (*SubscriberProfiles) VNFDocuments ¶
func (s *SubscriberProfiles) VNFDocuments() []interfaces.VNFDocument
Click to show internal directories.
Click to hide internal directories.