Documentation ¶
Index ¶
- type Deps
- type Renderer
- func (rndr *Renderer) AddChain(sfc *renderer.ContivSFC) error
- func (rndr *Renderer) AfterInit() error
- func (rndr *Renderer) Close() error
- func (rndr *Renderer) DeleteChain(sfc *renderer.ContivSFC) error
- func (rndr *Renderer) Init() error
- func (rndr *Renderer) Resync(resyncEv *renderer.ResyncEventData) error
- func (rndr *Renderer) UpdateChain(oldSFC, newSFC *renderer.ContivSFC) error
- type ServiceFunctionSelectable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct { Log logging.Logger Config *config.Config ContivConf contivconf.API IPAM ipam.API IPNet ipnet.API ConfigRetriever controller.ConfigRetriever UpdateTxnFactory func(change string) (txn controller.UpdateOperations) ResyncTxnFactory func() (txn controller.ResyncOperations) Stats statscollector.API /* used for exporting the statistics */ }
Deps lists dependencies of the Renderer.
type Renderer ¶
type Renderer struct {
Deps
}
Renderer implements SRv6 - SRv6 rendering of SFC in Contiv-VPP.
func (*Renderer) DeleteChain ¶
DeleteChain is called for every removed service function chain.
type ServiceFunctionSelectable ¶
type ServiceFunctionSelectable interface { }
ServiceFunctionSelectable is holder for one k8s resource that can be used as ServiceFunction in SFC chain (i.e. one pod or one external interface)
Click to show internal directories.
Click to hide internal directories.