Versions in this module Expand all Collapse all v0 v0.2.6 Oct 8, 2021 v0.2.5 Oct 7, 2021 v0.2.4 Sep 27, 2021 Changes in this version + type Address struct + Kind string + Value string + type Backup struct + Context string + Location string + Passphrase string type Client + DeviceSetup *devicesetupService + Dhcp *dhcpService + Failover *failoverService + Licensing *licenseService + Nat *natService + Save *saveService + func (c *Client) CreateBackup(context, location, passphrase string) error + type DhcpClient struct + Metric int + PrimaryTrackId int + SetDefaultRoute bool + SlaTrackingSettings *SlaTracking + TrackingEnabled bool + type DhcpRelayGS struct + Ipv4Timeout int + Ipv6Timeout int + Kind string + TrustedOnAllInterfaces bool + type DhcpRelayLocal struct + Interface string + Kind string + Servers []string + type DhcpRelayLocalCollection struct + Items []*DhcpRelayLocal + Kind string + RangeInfo RangeInfo + SelfLink string + type DhcpServer struct + AutoConfigInterface string + Ddns struct{ ... } + DnsIP1 string + DnsIP2 string + DomainName string + Enabled bool + Interface *InterfaceRef + IsAutoConfigEnabled bool + IsVpnOverride bool + Kind string + LeaseLengthInSec string + ObjectId string + Options []*DhcpServerOptions + PingTimeoutInMilliSec string + PoolEndIP string + PoolStartIP string + SelfLink string + WinsIP1 string + WinsIP2 string + type DhcpServerCollection struct + Items []*DhcpServer + Kind string + RangeInfo RangeInfo + SelfLink string + type DhcpServerOptions struct + Code int + Type string + Value1 string + Value2 string type ExtendedACEObject + TimeRange *TimeRange + type FailoverInterface struct + ActiveIPAddress Address + InterfaceName string + IsMonitored bool + Kind string + Name string + ObjectId string + SelfLink string + StandbyIPAddress *Address + SubnetMask Address + type FailoverInterfacesCollection struct + Items []*FailoverInterface + Kind string + RangeInfo RangeInfo + SelfLink string + type FailoverSetup struct + EnableFOCheck bool + FailedInterfacesTriggeringFailover string + FailedInterfacesUnit string + HexKey bool + HttpReplicate bool + InterfaceHoldTime string + IpSecKey string + IsLANInterfacePreferredPrimary bool + IsLANInterfacePreferredSecondary bool + Kind string + LanActiveIP *Address + LanFoInterface *InterfaceRef + LanIFCName string + LanStandby *Address + LanSubnet *Address + MonitoredPollTime string + MonitoredPollTimeUnit string + ObjectId string + ReplicateRate int + SecretKey string + SelfLink string + StateActiveIP *Address + StateFoInterface *InterfaceRef + StateIFCName string + StateStandbyIP *Address + StateSubnet *Address + UnitHoldTime string + UnitHoldTimeUnit string + UnitPollTime string + UnitPollTimeUnit string type IPAddress + DhcpBroadcast bool + DhcpClient *DhcpClient + DhcpOptionUsingMac bool type IPv6Info + LinkLocalAddress *Ipv6Address + type InterfaceRef struct + Kind string + Name string + ObjectId string + RefLink string + type Ipv6Address struct + Address *Address + Kind string + PrefixLength int + Standby *Address + type NDiscoveryPrefix struct + DefaultPrefix bool + HasDuration bool + Kind string + NoAdvertise bool + OffLink bool + PreferredLifetime int + ValidLifetime int + type Nat struct + Active bool + BlockAllocation bool + Description string + Extended bool + Flat bool + IncludeReserve bool + IsDNS bool + IsInterfacePAT bool + IsNetToNet bool + IsNoProxyArp bool + IsPatPool bool + IsRoundRobin bool + IsRouteLookup bool + IsUnidirectional bool + Kind string + Mode string + ObjectID string + OriginalDestination *TranslatedOriginalObj + OriginalInterface *TranslatedOriginalInterface + OriginalService *TranslatedOriginalObj + OriginalSource *TranslatedOriginalObj + Position int + SelfLink string + TranslatedDestination *TranslatedOriginalObj + TranslatedInterface *TranslatedOriginalInterface + TranslatedService *TranslatedOriginalObj + TranslatedSource *TranslatedOriginalObj + TranslatedSourcePatPool *TranslatedOriginalObj + UseDestinationInterfaceIPv6 bool + UseSourceInterfaceIPv6 bool + type NatCollection struct + Items []*Nat + Kind string + RangeInfo RangeInfo + SelfLink string + type NtpServerObject struct + Interface *InterfaceRef + IpAddress string + IsPreferred bool + Key struct{ ... } + Kind string + ObjectId string + SelfLink string + type NtpServerObjectCollection struct + Items []*NtpServerObject + Kind string + RangeInfo RangeInfo + SelfLink string + type Periodic struct + EndHour int + EndMinute int + Frequency string + StartHour int + StartMinute int + type SlaTracking struct + DataSizeInBytes int + FrequencyInSeconds int + NumPackets int + SlaId int + ThresholdInMilliseconds int + TimeoutInMilliseconds int + ToS int + TrackedIP string + type SmartLicenseConfig struct + FeatureTier string + Kind string + LicenseServerURL string + PrivacyHostName bool + PrivacyVersion bool + Throughput string + TransportURL bool + type TRValue struct + End string + Periodic []*Periodic + Start string + type TimeRange struct + Kind string + Name string + ObjectID string + SelfLink string + Value *TRValue + type TimeRangeCollection struct + Items []*TimeRange + Kind string + RangeInfo RangeInfo + SelfLink string + type TranslatedOriginalInterface struct + Kind string + Name string + func (iface *TranslatedOriginalInterface) UnmarshalJSON(b []byte) error + type TranslatedOriginalObj struct + Kind string + ObjectId string + Value string + func (translated *TranslatedOriginalObj) UnmarshalJSON(b []byte) error v0.2.0 Aug 15, 2018 Changes in this version + type CreateExtendedACLACEOptions struct + Active bool + Dst string + DstService string + Permit bool + Position int + Remarks []string + RuleLogging *RuleLogging + Src string + SrcService string + type UpdateExtendedACLACEOptions struct + Active bool + Dst string + DstService string + Permit bool + Position int + Remarks []string + RuleLogging *RuleLogging + Src string + SrcService string v0.1.0 Aug 22, 2017 Changes in this version + var ErrInternalServer = errors.New("ciscoasa: Internal Server error") + var ErrUnknown = errors.New("ciscoasa: Unknown error") + type AddressObject struct + Kind string + ObjectID string + Reflink string + Value string + func (o *AddressObject) String() string + type Client struct + Access *accessService + Interfaces *interfaceService + Objects *objectsService + Routing *routingService + func NewClient(apiURL, username, password string, sslNoVerify bool) (*Client, error) + type ErrorMessage struct + Code string + Context string + Details string + Level string + type ErrorResponse struct + Messages []*ErrorMessage + func (e *ErrorResponse) Error() string + type ExtendedACEObject struct + Active bool + DstAddress *AddressObject + DstService *ServiceObject + IsAccessRule bool + Kind string + ObjectID string + Permit bool + Position int + Remarks []string + RuleLogging *RuleLogging + SelfLink string + SrcAddress *AddressObject + SrcService *ServiceObject + type ExtendedACEObjectCollection struct + Items []*ExtendedACEObject + Kind string + RangeInfo RangeInfo + SelfLink string + type ExtendedACLObject struct + Kind string + Name string + ObjectID string + SelfLink string + type ExtendedACLObjectCollection struct + Items []*ExtendedACLObject + Kind string + RangeInfo RangeInfo + SelfLink string + type IPAddress struct + IP struct{ ... } + Kind string + NetMask struct{ ... } + func (ip *IPAddress) String() string + func (ip *IPAddress) UnmarshalJSON(b []byte) error + type IPv6Info struct + AutoConfig bool + DadAttempts int + Enabled bool + EnforceEUI64 bool + Ipv6Addresses []string + Kind string + ManagedAddressConfig bool + NDiscoveryPrefixList []string + NsInterval int + OtherStatefulConfig bool + ReachableTime int + RouterAdvertInterval int + RouterAdvertIntervalUnit string + RouterAdvertLifetime int + SuppressRouterAdvert bool + func (ip *IPv6Info) UnmarshalJSON(b []byte) error + type NetworkObject struct + Description string + Host struct{ ... } + Kind string + Name string + ObjectID string + SelfLink string + type NetworkObjectCollection struct + Items []*NetworkObject + Kind string + RangeInfo RangeInfo + SelfLink string + type NetworkObjectGroup struct + Description string + Kind string + Members []*AddressObject + Name string + ObjectID string + SelfLink string + type NetworkObjectGroupCollection struct + Items []*NetworkObjectGroup + Kind string + RangeInfo RangeInfo + SelfLink string + type NetworkService struct + Description string + Kind string + Name string + ObjectID string + SelfLink string + Value string + type NetworkServiceCollection struct + Items []*NetworkService + Kind string + RangeInfo RangeInfo + SelfLink string + type NetworkServiceGroup struct + Description string + Kind string + Members []*ServiceObject + Name string + ObjectID string + SelfLink string + type NetworkServiceGroupCollection struct + Items []*NetworkServiceGroup + Kind string + RangeInfo RangeInfo + SelfLink string + type PhysicalInterface struct + ActiveMacAddress string + ChannelGroupID string + ChannelGroupMode string + Duplex string + FlowcontrolHigh int + FlowcontrolLow int + FlowcontrolOn bool + FlowcontrolPeriod int + ForwardTrafficCX bool + ForwardTrafficSFR bool + HardwareID string + IPAddress *IPAddress + InterfaceDesc string + Ipv6Info *IPv6Info + Kind string + LacpPriority int + ManagementOnly bool + Mtu int + Name string + ObjectID string + SecurityLevel int + SelfLink string + Shutdown bool + Speed string + StandByMacAddress string + type PhysicalInterfaceCollection struct + Items []*PhysicalInterface + Kind string + RangeInfo RangeInfo + SelfLink string + type RangeInfo struct + Limit int + Offset int + Total int + type RoutingObject struct + DistanceMetric int + Gateway *AddressObject + Interface struct{ ... } + Kind string + Network *AddressObject + ObjectID string + SelfLink string + Tracked bool + Tunneled bool + type RoutingObjectCollection struct + Items []*RoutingObject + Kind string + RangeInfo RangeInfo + SelfLink string + type RuleLogging struct + LogInterval int + LogStatus string + type ServiceObject struct + Kind string + ObjectID string + Reflink string + Value string + func (o *ServiceObject) String() string + type VlanInterface struct + ActiveMacAddress string + ForwardTrafficCX bool + ForwardTrafficSFR bool + HardwareID string + IPAddress *IPAddress + InterfaceDesc string + Ipv6Info *IPv6Info + Kind string + ManagementOnly bool + Mtu int + Name string + ObjectID string + SecurityLevel int + SelfLink string + Shutdown bool + StandByMacAddress string + VlanID int + type VlanInterfaceCollection struct + Items []*VlanInterface + Kind string + RangeInfo RangeInfo + SelfLink string