Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Filter ¶ added in v0.4.0
Filter filters the given segments with the policy. Dir indicates the direction of intended usage of the segments. For example up and core segments are most often used in reverse construction dir. The direction parameter is relevant for the sequence matching of policies. Note that order of segs is not preserved. NOTE: This function should only be applied on core segments, otherwise the PS might filter segments that could still have been used in a final path, because of peering links. NOTE: policy must not be nil.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package mock_segutil is a generated GoMock package.
|
Package mock_segutil is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.