Versions in this module Expand all Collapse all v0 v0.0.1 Jan 1, 2026 Changes in this version + const FlyObjectAcl + const FlyObjectClis + const FlyObjectDynamicNat + const FlyObjectMip + const FlyObjectNat + const FlyObjectNatPolicy + const FlyObjectNetwork + const FlyObjectNetworkIPv4Group + const FlyObjectNetworkIPv4Object + const FlyObjectNetworkIPv6Group + const FlyObjectNetworkIPv6Object + const FlyObjectNetworkObjectGroup + const FlyObjectPool + const FlyObjectSecurityPolicy + const FlyObjectServerOnInterface + const FlyObjectService + const FlyObjectServiceGroup + const FlyObjectStaticNat + const FlyObjectVip + const RetryMethodNext + const RetryMethodSuffix + var DefaultTemplates = NamingTemplates + func FindPolicyByIntent(node firewall.FirewallNode, intent *policy.Intent, fromZone, toZone string, ...) []firewall.FirewallPolicy + func GenerateObjectName(auto *keys.AutoIncrementKeys, obj interface{}, ...) (keys.Keys, bool, error) + func GenerateObjectNameWithStarlark(auto *keys.AutoIncrementKeys, obj interface{}, ...) (keys.Keys, bool, error) + type Field struct + Format string + IsMainID bool + NoRender bool + Start int + Step int + Type string + Width int + type IDTemplate struct + func NewPolicyTemplate(template string, getIterator func() firewall.NamerIterator) *IDTemplate + func (pt *IDTemplate) Extract(policy string) (map[string]string, error) + func (pt *IDTemplate) Generate(variables map[string]interface{}) (int, string) + func (pt *IDTemplate) GetLastSequence(name string) int + func (pt *IDTemplate) Initialize() *IDTemplate + func (pt *IDTemplate) SetLastSequence(name string, value int) + func (pt *IDTemplate) WithCurrentTime(t time.Time) *IDTemplate + func (pt *IDTemplate) WithCustomIDExtractor(extractor func(string) int) *IDTemplate + func (pt *IDTemplate) WithCustomValidator(validator func(string) bool) *IDTemplate + func (pt *IDTemplate) WithLastDate(name string, t time.Time) *IDTemplate + func (pt *IDTemplate) WithMaxRetries(maxRetries int) *IDTemplate + type MatchConfig struct + EmptyZoneMatchesAny *bool + MatchDst bool + MatchService bool + MatchSrc bool + MatchThreshold int + StrictZone bool + type NamingTemplates struct + ICMPTemplate string + L3ProtocolTemplate string + L4Template string + NetworkTemplate string + type ObjectNameManager struct + func NewObjectNameManager() *ObjectNameManager + func (onm *ObjectNameManager) AddGeneratedName(name string) + func (onm *ObjectNameManager) IsNameGenerated(name string) bool + type ObjectStatus int + const ObjectExistDifferent + const ObjectExistSame + const ObjectNotExist + type StarlarkExecutor func(intent *policy.Intent, template string, metaData map[string]interface{}) string