flowsets

package
v0.0.0-...-ac6acfc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlowCreateRecord

type FlowCreateRecord struct {
	FlowID   uint32
	FlowRule *flowapi.RequestFlowCreate
}

type FlowSets

type FlowSets struct {
	// contains filtered or unexported fields
}

func NewFlowSets

func NewFlowSets() *FlowSets

newFlowSets return an instacne of FlowSets

func (*FlowSets) Add

func (s *FlowSets) Add(key string, id uint32, rule *flowapi.RequestFlowCreate) *FlowSets

func (*FlowSets) Delete

func (s *FlowSets) Delete(key string)

func (*FlowSets) GetCompliments

func (s *FlowSets) GetCompliments(keys []string) map[string]*FlowCreateRecord

GetCompliments returns a list of flowRecords with keys that are not in the list of keys given in the parameter Calling GetCompliments() with empty key slice will return all items in the flowSets

func (*FlowSets) Has

func (s *FlowSets) Has(key string) bool

func (*FlowSets) Size

func (s *FlowSets) Size() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL