Documentation
¶
Index ¶
- Constants
- func ConnectClient() error
- func ConnectFlow() error
- func ConnectRule(show bool) error
- func GetFlows(dp bool, names ...string) (map[string][]string, error)
- func GetIPNet(ip string) *net.IPNet
- func GetOvsPipeline(brNameSuffix string, pType string, args ...string) ([]string, error)
- func GetSvcInfoBySvcID(svcID string) (*v1alpha1.SvcInfo, error)
- type Rule
Constants ¶
View Source
const ( FlowType = "flow" GroupType = "group" )
Variables ¶
This section is empty.
Functions ¶
func ConnectClient ¶
func ConnectClient() error
func ConnectFlow ¶
func ConnectFlow() error
func ConnectRule ¶
func GetOvsPipeline ¶
Types ¶
type Rule ¶
type Rule struct { *v1alpha1.RuleEntry Count int `json:"Count,omitempty"` CTFlows []tuple `json:"CTFlows,omitempty"` }
func GetAllRules ¶
func GetRulesByFlow ¶
func GetRulesByName ¶
Click to show internal directories.
Click to hide internal directories.