Documentation
¶
Index ¶
- type ClientDbInfo
- type SfcClient
- func (v *SfcClient) CreateSfcClientIntent(intent model.SfcClientIntent, pr, ca, caver, dig, netctrlint string, ...) (model.SfcClientIntent, error)
- func (v *SfcClient) DeleteSfcClientIntent(name, pr, ca, caver, dig, netctrlint string) error
- func (v *SfcClient) GetAllSfcClientIntents(pr, ca, caver, dig, netctrlint string) ([]model.SfcClientIntent, error)
- func (v *SfcClient) GetSfcClientIntent(name, pr, ca, caver, dig, netctrlint string) (model.SfcClientIntent, error)
- type SfcManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientDbInfo ¶
type ClientDbInfo struct {
// contains filtered or unexported fields
}
ClientDbInfo structure for storing info about SFC DB
type SfcClient ¶
type SfcClient struct {
// contains filtered or unexported fields
}
SfcClient implements the Manager It will also be used to maintain some localized state
func NewSfcClient ¶
func NewSfcClient() *SfcClient
NewSfcClient returns an instance of the SfcClient which implements the Manager
func (*SfcClient) CreateSfcClientIntent ¶
func (v *SfcClient) CreateSfcClientIntent(intent model.SfcClientIntent, pr, ca, caver, dig, netctrlint string, exists bool) (model.SfcClientIntent, error)
CreateSfcClientIntent - create a new SfcClientIntent
func (*SfcClient) DeleteSfcClientIntent ¶
DeleteSfcClientIntent deletes the SfcClientIntent from the database
func (*SfcClient) GetAllSfcClientIntents ¶
func (v *SfcClient) GetAllSfcClientIntents(pr, ca, caver, dig, netctrlint string) ([]model.SfcClientIntent, error)
GetAllSfcClientIntent returns all of the SFC Client Intents for for the given network control intent
func (*SfcClient) GetSfcClientIntent ¶
func (v *SfcClient) GetSfcClientIntent(name, pr, ca, caver, dig, netctrlint string) (model.SfcClientIntent, error)
GetSfcClientIntent returns the SfcClientIntent for corresponding name
type SfcManager ¶
type SfcManager interface { // SFC Intent functions CreateSfcClientIntent(sfc model.SfcClientIntent, pr, ca, caver, dig, netctrlint string, exists bool) (model.SfcClientIntent, error) GetSfcClientIntent(name, pr, ca, caver, dig, netctrlint string) (model.SfcClientIntent, error) GetAllSfcClientIntents(pr, ca, caver, dig, netctrlint string) ([]model.SfcClientIntent, error) DeleteSfcClientIntent(name, pr, ca, caver, dig, netctrlint string) error }
SfcIntentManager is an interface exposing the SFC Intent functionality
Click to show internal directories.
Click to hide internal directories.