action

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Table

type Table struct {
	fwdobject.Base
	// contains filtered or unexported fields
}

func (*Table) AddEntry

func (t *Table) AddEntry(ed *fwdpb.EntryDesc, ad []*fwdpb.ActionDesc) error

AddEntry adds or updates the actions associated with the specified key.

func (*Table) Cleanup

func (t *Table) Cleanup()

func (*Table) Clear

func (t *Table) Clear()

Clear removes all entries in the table.

func (*Table) Entries

func (t *Table) Entries() []string

Entries lists all entries in a table.

func (*Table) RemoveEntry

func (t *Table) RemoveEntry(ed *fwdpb.EntryDesc) error

RemoveEntry removes an entry.

func (*Table) String

func (t *Table) String() string

String returns the table as a formatted string.

Jump to

Keyboard shortcuts

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