Versions in this module Expand all Collapse all v0 v0.0.1 Jan 1, 2026 Changes in this version + const SECPATH_ANY_ZONE + const SECPATH_NIL_ZONE + type AddressGroup struct + C string + GroupNumber int + N *network.NetworkGroup + func (ag *AddressGroup) Cli() string + func (ag *AddressGroup) ID() string + func (ag *AddressGroup) MarshalJSON() ([]byte, error) + func (ag *AddressGroup) MatchNetworkGroup(ng *network.NetworkGroup) bool + func (ag *AddressGroup) Name() string + func (ag *AddressGroup) Network(node firewall.FirewallNode) *network.NetworkGroup + func (ag *AddressGroup) Type() firewall.FirewallObjectType + func (ag *AddressGroup) TypeName() string + func (ag *AddressGroup) UnmarshalJSON(data []byte) error + type ApiACLStatusType int + const ACL_STATUS_ACTIVE + const ACL_STATUS_INACTIVE + type ApiAddressObjType int + const ADDRESS_DNS + const ADDRESS_HOST + const ADDRESS_NESTED + const ADDRESS_RANGE + const ADDRESS_SUBNET + const ADDRESS_USER + const ADDRESS_USERGROUP + const ADDRESS_WILDCARD + func (t ApiAddressObjType) String() string + type ApiIpType int + const SECPATH_IP_IPV4 + const SECPATH_IP_IPV6 + type ApiNatPolicyActionType int + const EASYIP + const NONAT + const NO_PAT + const PAT + func (at ApiNatPolicyActionType) String() string + type ApiNatRuleMethod int + const SECPATH_NAT_GLOBAL_POLICY + const SECPATH_NAT_OUTBOUND_STATIC + const SECPATH_NAT_OUTBOUNT_DYNAMIC + const SECPATH_NAT_POLICY + const SECPATH_NAT_SERVER_ON_INTERFACE + func (ae ApiNatRuleMethod) String() string + type ApiPortOpType int + const OP_EQ + const OP_GT + const OP_LT + const OP_NEQ + const OP_RANGE + type ApiRuleActionType int + const SECPATH_RULE_DENY + const SECPATH_RULE_PERMIT + type ApiRuleServiceObjectType int + const SECPATH_SERVICE_ICMP + const SECPATH_SERVICE_ICMP6 + const SECPATH_SERVICE_PROTOCOL + const SECPATH_SERVICE_TCP + const SECPATH_SERVICE_UDP + type ApiSrvObjType int + const SERVICE_ICMP + const SERVICE_ICMP6 + const SERVICE_NESTED + const SERVICE_PROTOCOL + const SERVICE_TCP + const SERVICE_UDP + func (t ApiSrvObjType) String() string + type XmlAddrGroupMemberStruct struct + EndIpv4Address string + GroupNumber int + StartIpv4Address string + type XmlAddrGroupStruct struct + EndPort int + GroupName string + GroupNumber int + HealthCheckStatus int + LackedAddresses int + Members []*XmlAddrGroupMemberStruct + PortBlockSize int + StartPort int + type XmlGroupStruct struct + Description string + InUse bool + Name string + ObjNum int + SecurityZone string + ValidObjNum int + type XmlIPv4AdvanceAclStruct struct + Action ApiRuleActionType + Count int + Counting bool + DstAny bool + DstIPv4 ... + DstIPv6 ... + DstPort ... + Established bool + Fragment bool + GroupIndex string + ICMP ... + IPFamily network.IPFamily + Logging bool + ProtocolType *int + RuleID int + SrcAny bool + SrcIPv4 ... + SrcIPv6 ... + SrcPort ... + Status ApiACLStatusType + type XmlInboundDynamicStruct struct + ACLNumber string + AddrGroupNumber int + AutoAddRoute bool + IfIndex int + MatchingCount int + NoPAT bool + Reversible bool + type XmlNatPolicyStruct struct + Action *ApiNatPolicyActionType + AddrGroupNumber int64 + Counting bool + Disable bool + DstObjGrpList struct{ ... } + MatchingCount int64 + OutboundInterface int64 + PortPreserved bool + Reversible bool + RuleName string + SrcObjGrpList struct{ ... } + SrvObjGrpList struct{ ... } + type XmlNetworkObject struct + EndIPv4Address string + EndIPv6Address string + Group string + HostIPv4Address string + HostIPv6Address string + ID int + IPv4Mask string + IPv6PrefixLen int + NestedGroup string + StartIPv4Address string + StartIPv6Address string + SubnetIPv4Address string + SubnetIPv6Address string + Type ApiAddressObjType + Zone string + func (xno *XmlNetworkObject) Network() (*network.NetworkGroup, error) + type XmlOutboundDynamicStruct struct + ACLNumber string + AddrGroupNumber int + Disable bool + IfIndex string + MatchingCount int + NoPAT bool + PortPreserved bool + Reversible bool + WhetherPersistConfig bool + type XmlOutboundStaticStruct struct + ACLNumber string + Counting bool + Description string + Disable bool + GlobalInfo struct{ ... } + IfIndex int + LocalInfo struct{ ... } + MatchingCount int + Reversible bool + type XmlRuleServiceStruct struct + EndDestPort *int + EndSrcPort *int + Group string + ICMPCode *int + ICMPType *int + ID int + Protocol *int + StartDestPort *int + StartSrcPort *int + Type ApiRuleServiceObjectType + func ServiceToXmlRuleServiceStruct(s *service.Service) []*XmlRuleServiceStruct + func (xrs *XmlRuleServiceStruct) Service() (s *service.Service, err error) + type XmlSecurityPolicyAddNService struct + ID int + ServObjList struct{ ... } + type XmlSecurityPolicyAddNetwork struct + ID int + SeqNum int + SimpleAddrList struct{ ... } + type XmlSecurityPolicyObject struct + ID int + NameList struct{ ... } + SeqNum int + type XmlSecurityPolicyStruct struct + Action ApiRuleActionType + AllRulesCount int + Byte int + Count int + Counting bool + DestAddrList struct{ ... } + DestSimpleAddrList struct{ ... } + DestZoneList struct{ ... } + Enable *bool + ID int + Log bool + Name string + RuleName string + SeqNum int + ServGrpList struct{ ... } + ServObjList struct{ ... } + SessAgingTimeSw bool + SessPersistAgingTimeSw bool + SrcAddrList struct{ ... } + SrcSimpleAddrList struct{ ... } + SrcZoneList struct{ ... } + Type ApiIpType + VRF string + type XmlServerOnInterfaceStruct struct + ACLNumber string + Disable bool + GlobalInfo struct{ ... } + IfIndex int + LocalInfo struct{ ... } + MatchingCount int + ProtocolType int + Reversible bool + RuleName string + WhetherPersistConfig bool + type XmlServiceGroupStruct struct + Description string + InUse bool + Members []*XmlServiceObject + Name string + ObjNum int + ValidObjNum int + type XmlServiceObject struct + EndDestPort *int + EndSrcPort *int + Group string + ICMPCode int + ICMPType int + ID int + NestedGroup string + Protocol int + StartDestPort *int + StartSrcPort *int + Type ApiSrvObjType + func (xso *XmlServiceObject) Service() (s *service.Service, err error) + type XmlStaticOnInterfaceStruct struct + EnableStatic bool + IfIndex string