Versions in this module Expand all Collapse all v0 v0.0.1 Feb 23, 2024 Changes in this version + type Firmware struct + ID *string + Selected *bool + type Hop struct + Index *string + InterfaceRef *string + NextHop gnmitargetygot.OpenconfigNetworkInstance_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_Static_NextHops_NextHop_Config_NextHop_Union + type IPAddress struct + Broadcast net.IP + type Interface struct + AdminStatus gnmitargetygot.E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus + Index *uint32 + Ipv4Addresses []IPAddress + Ipv6Addresses []IPAddress + LoopbackMode *bool + MTU *uint16 + Name *string + OperState gnmitargetygot.E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus + Type gnmitargetygot.E_IETFInterfaces_InterfaceType + type Interfaces interface + GetInterfaces func() ([]*Interface, error) + SetInterface func(*Interface) error + SubscribeToInterfaces func() (chan *Interface, error) + func NewInterfaces() Interfaces + type Modem struct + CurrentBands []string + Firmwares []Firmware + Name *string + Ports []Port + SignalQuality *uint32 + Sim Sim + State *string + SupportedBands []string + Time *string + Timezone *string + type NetworkInstances interface + GetStaticRoutes func(linkName string) ([]*StaticRoute, error) + SetStaticRoute func(*StaticRoute) error + func NewNetworkInstances() NetworkInstances + type Port struct + Name *string + Type *string + type Sim struct + Identifier *string + OperatorName *string + type StaticRoute struct + Hops []Hop + Prefix *string + type System interface + GetCurrentTime func() time.Time + GetDomainName func() (string, error) + GetFreeMemory func() uint64 + GetHostname func() (string, error) + GetMotd func() (string, error) + GetSoftwareVersion func() (string, error) + GetTimeZoneName func() string + GetTotalMemory func() uint64 + GetUsedMemory func() uint64 + SetHostname func(hostname *string) error + SetMotd func(message string) error + func NewSystem() (System, error)