Documentation ¶
Index ¶
- type TcCmdLineImpl
- func (t *TcCmdLineImpl) ChainAdd(qdisc types.QDisc, chain types.Chain) error
- func (t *TcCmdLineImpl) ChainDel(qdisc types.QDisc, chain types.Chain) error
- func (t *TcCmdLineImpl) ChainList(qdisc types.QDisc) ([]types.Chain, error)
- func (t *TcCmdLineImpl) FilterAdd(qdisc types.QDisc, filter types.Filter) error
- func (t *TcCmdLineImpl) FilterDel(qdisc types.QDisc, filterAttr *types.FilterAttrs) error
- func (t *TcCmdLineImpl) FilterList(qdisc types.QDisc) ([]types.Filter, error)
- func (t *TcCmdLineImpl) QDiscAdd(qdisc types.QDisc) error
- func (t *TcCmdLineImpl) QDiscDel(qdisc types.QDisc) error
- func (t *TcCmdLineImpl) QDiscList() ([]types.QDisc, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TcCmdLineImpl ¶
type TcCmdLineImpl struct {
// contains filtered or unexported fields
}
TcCmdLineImpl is a concrete implementation of TC interface utilizing TC command line
func NewTcCmdLineImpl ¶
func NewTcCmdLineImpl(dev string, log klog.Logger, executor exec.Interface) *TcCmdLineImpl
NewTcCmdLineImpl creates a new instance of TcCmdLineImpl
func (*TcCmdLineImpl) FilterDel ¶
func (t *TcCmdLineImpl) FilterDel(qdisc types.QDisc, filterAttr *types.FilterAttrs) error
FilterDel implements TC interface
func (*TcCmdLineImpl) FilterList ¶
FilterList implements TC interface
func (*TcCmdLineImpl) QDiscAdd ¶
func (t *TcCmdLineImpl) QDiscAdd(qdisc types.QDisc) error
QDiscAdd implements TC interface
Click to show internal directories.
Click to hide internal directories.