Documentation ¶
Index ¶
- Constants
- func DecryptStrAes(inStr string, secret string) (string, error)
- func EncryptStrAes(inStr string, secret string) (string, error)
- type ArchivedInterface
- type ArchivedSubinterface
- type ConCapacity
- type ConClass
- type ConProvider
- type ConType
- type Connection
- type Country
- type CreateArchivedInterfaceParams
- type CreateArchivedSubinterfaceParams
- type CreateConCapacityParams
- type CreateConClassParams
- type CreateConProviderParams
- type CreateConTypeParams
- type CreateConnectionParams
- type CreateCountryParams
- type CreateCredentialParams
- type CreateCustomEntityParams
- type CreateDeviceCredentialParams
- type CreateDeviceExtensionParams
- type CreateDeviceLicenseParams
- type CreateDeviceParams
- type CreateDeviceStateParams
- type CreateDeviceTypeParams
- type CreateEntityParams
- type CreateEntityPhyIndexParams
- type CreateIntBwStatParams
- type CreateInterface2vlanParams
- type CreateInterfaceParams
- type CreateInterfaceRelationParams
- type CreateIpInterfaceParams
- type CreateOspfNbrParams
- type CreateRlNbrParams
- type CreateSiteParams
- type CreateSnmpCredentialParams
- type CreateSubinterfaceParams
- type CreateUserAuthzParams
- type CreateUserGraphParams
- type CreateUserParams
- type CreateVarParams
- type CreateVlanParams
- type CreateXconnectParams
- type Credential
- type CustomEntity
- type DBTX
- type DeleteInterface2vlanParams
- type DeleteUserAuthzParams
- type Device
- type DeviceClass
- type DeviceCredential
- type DeviceDomain
- type DeviceExtension
- type DeviceLicense
- type DeviceState
- type DeviceType
- type Entity
- type EntityPhyIndex
- type GetArchivedInterfacesParams
- type GetArchivedSubinterfacesParams
- type GetConCapacitiesParams
- type GetConClassesParams
- type GetConProvidersParams
- type GetConTypesParams
- type GetConnectionsParams
- type GetCountriesParams
- type GetCredentialsParams
- type GetCustomEntitiesParams
- type GetDeviceClassesParams
- type GetDeviceCredentialsParams
- type GetDeviceDomainsParams
- type GetDeviceExtensionsParams
- type GetDeviceLicensesParams
- type GetDeviceStatesParams
- type GetDeviceTypesParams
- type GetDevicesParams
- type GetEntitiesParams
- type GetEntityPhyIndexesParams
- type GetIntBwStatsParams
- type GetInterfaceRelationsParams
- type GetInterfacesParams
- type GetIpInterfacesParams
- type GetOspfNbrsParams
- type GetRlNbrsParams
- type GetSitesParams
- type GetSnmpCredentialsParams
- type GetSubinterfacesParams
- type GetUserAuthzDeviceDomainParams
- type GetUserAuthzParams
- type GetUserAuthzUserParams
- type GetUserAuthzsParams
- type GetUserGraphsParams
- type GetUsersParams
- type GetVarsParams
- type GetVlansParams
- type GetXconnectsParams
- type IntBwStat
- type Interface
- type InterfaceRelation
- type Interfaces2vlan
- type IpInterface
- type NullSnmpAuthProto
- type NullSnmpPrivProto
- type NullSnmpSecLevel
- type OspfNbr
- type Queries
- func (q *Queries) CountArchivedInterfaces(ctx context.Context) (int64, error)
- func (q *Queries) CountArchivedSubinterfaces(ctx context.Context) (int64, error)
- func (q *Queries) CountConCapacities(ctx context.Context) (int64, error)
- func (q *Queries) CountConClasses(ctx context.Context) (int64, error)
- func (q *Queries) CountConProviders(ctx context.Context) (int64, error)
- func (q *Queries) CountConTypes(ctx context.Context) (int64, error)
- func (q *Queries) CountConnections(ctx context.Context) (int64, error)
- func (q *Queries) CountCountries(ctx context.Context) (int64, error)
- func (q *Queries) CountCredentials(ctx context.Context) (int64, error)
- func (q *Queries) CountCustomEntities(ctx context.Context) (int64, error)
- func (q *Queries) CountDeviceClasses(ctx context.Context) (int64, error)
- func (q *Queries) CountDeviceCredentials(ctx context.Context) (int64, error)
- func (q *Queries) CountDeviceDomains(ctx context.Context) (int64, error)
- func (q *Queries) CountDeviceExtensions(ctx context.Context) (int64, error)
- func (q *Queries) CountDeviceLicenses(ctx context.Context) (int64, error)
- func (q *Queries) CountDeviceStates(ctx context.Context) (int64, error)
- func (q *Queries) CountDeviceTypes(ctx context.Context) (int64, error)
- func (q *Queries) CountDevices(ctx context.Context) (int64, error)
- func (q *Queries) CountEntities(ctx context.Context) (int64, error)
- func (q *Queries) CountEntityPhyIndexes(ctx context.Context) (int64, error)
- func (q *Queries) CountIntBwStats(ctx context.Context) (int64, error)
- func (q *Queries) CountInterfaceRelations(ctx context.Context) (int64, error)
- func (q *Queries) CountInterfaces(ctx context.Context) (int64, error)
- func (q *Queries) CountIpInterfaces(ctx context.Context) (int64, error)
- func (q *Queries) CountOspfNbrs(ctx context.Context) (int64, error)
- func (q *Queries) CountRlNbrs(ctx context.Context) (int64, error)
- func (q *Queries) CountSites(ctx context.Context) (int64, error)
- func (q *Queries) CountSnmpCredentials(ctx context.Context) (int64, error)
- func (q *Queries) CountSubinterfaces(ctx context.Context) (int64, error)
- func (q *Queries) CountUserAuthzs(ctx context.Context) (int64, error)
- func (q *Queries) CountUserGraphs(ctx context.Context) (int64, error)
- func (q *Queries) CountUsers(ctx context.Context) (int64, error)
- func (q *Queries) CountVars(ctx context.Context) (int64, error)
- func (q *Queries) CountVlans(ctx context.Context) (int64, error)
- func (q *Queries) CountXconnects(ctx context.Context) (int64, error)
- func (q *Queries) CreateArchivedInterface(ctx context.Context, arg CreateArchivedInterfaceParams) (ArchivedInterface, error)
- func (q *Queries) CreateArchivedSubinterface(ctx context.Context, arg CreateArchivedSubinterfaceParams) (ArchivedSubinterface, error)
- func (q *Queries) CreateConCapacity(ctx context.Context, arg CreateConCapacityParams) (ConCapacity, error)
- func (q *Queries) CreateConClass(ctx context.Context, arg CreateConClassParams) (ConClass, error)
- func (q *Queries) CreateConProvider(ctx context.Context, arg CreateConProviderParams) (ConProvider, error)
- func (q *Queries) CreateConType(ctx context.Context, arg CreateConTypeParams) (ConType, error)
- func (q *Queries) CreateConnection(ctx context.Context, arg CreateConnectionParams) (Connection, error)
- func (q *Queries) CreateCountry(ctx context.Context, arg CreateCountryParams) (Country, error)
- func (q *Queries) CreateCredential(ctx context.Context, arg CreateCredentialParams) (Credential, error)
- func (q *Queries) CreateCustomEntity(ctx context.Context, arg CreateCustomEntityParams) (CustomEntity, error)
- func (q *Queries) CreateDevice(ctx context.Context, arg CreateDeviceParams) (Device, error)
- func (q *Queries) CreateDeviceClass(ctx context.Context, descr string) (DeviceClass, error)
- func (q *Queries) CreateDeviceCredential(ctx context.Context, arg CreateDeviceCredentialParams) (DeviceCredential, error)
- func (q *Queries) CreateDeviceDomain(ctx context.Context, descr string) (DeviceDomain, error)
- func (q *Queries) CreateDeviceExtension(ctx context.Context, arg CreateDeviceExtensionParams) (DeviceExtension, error)
- func (q *Queries) CreateDeviceLicense(ctx context.Context, arg CreateDeviceLicenseParams) (DeviceLicense, error)
- func (q *Queries) CreateDeviceState(ctx context.Context, arg CreateDeviceStateParams) (DeviceState, error)
- func (q *Queries) CreateDeviceType(ctx context.Context, arg CreateDeviceTypeParams) (DeviceType, error)
- func (q *Queries) CreateEntity(ctx context.Context, arg CreateEntityParams) (Entity, error)
- func (q *Queries) CreateEntityPhyIndex(ctx context.Context, arg CreateEntityPhyIndexParams) (EntityPhyIndex, error)
- func (q *Queries) CreateIntBwStat(ctx context.Context, arg CreateIntBwStatParams) (IntBwStat, error)
- func (q *Queries) CreateInterface(ctx context.Context, arg CreateInterfaceParams) (Interface, error)
- func (q *Queries) CreateInterface2vlan(ctx context.Context, arg CreateInterface2vlanParams) (Interfaces2vlan, error)
- func (q *Queries) CreateInterfaceRelation(ctx context.Context, arg CreateInterfaceRelationParams) (InterfaceRelation, error)
- func (q *Queries) CreateIpInterface(ctx context.Context, arg CreateIpInterfaceParams) (IpInterface, error)
- func (q *Queries) CreateOspfNbr(ctx context.Context, arg CreateOspfNbrParams) (OspfNbr, error)
- func (q *Queries) CreateRlNbr(ctx context.Context, arg CreateRlNbrParams) (RlNbr, error)
- func (q *Queries) CreateSite(ctx context.Context, arg CreateSiteParams) (Site, error)
- func (q *Queries) CreateSnmpCredential(ctx context.Context, arg CreateSnmpCredentialParams) (SnmpCredential, error)
- func (q *Queries) CreateSubinterface(ctx context.Context, arg CreateSubinterfaceParams) (Subinterface, error)
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
- func (q *Queries) CreateUserAuthz(ctx context.Context, arg CreateUserAuthzParams) (UserAuthz, error)
- func (q *Queries) CreateUserGraph(ctx context.Context, arg CreateUserGraphParams) (UserGraph, error)
- func (q *Queries) CreateVar(ctx context.Context, arg CreateVarParams) (Var, error)
- func (q *Queries) CreateVlan(ctx context.Context, arg CreateVlanParams) (Vlan, error)
- func (q *Queries) CreateXconnect(ctx context.Context, arg CreateXconnectParams) (Xconnect, error)
- func (q *Queries) DeleteArchivedInterface(ctx context.Context, ifaID int64) error
- func (q *Queries) DeleteArchivedSubinterface(ctx context.Context, sifaID int64) error
- func (q *Queries) DeleteConCapacity(ctx context.Context, conCapID int64) error
- func (q *Queries) DeleteConClass(ctx context.Context, conClassID int64) error
- func (q *Queries) DeleteConProvider(ctx context.Context, conProvID int64) error
- func (q *Queries) DeleteConType(ctx context.Context, conTypeID int64) error
- func (q *Queries) DeleteConnection(ctx context.Context, conID int64) error
- func (q *Queries) DeleteCountry(ctx context.Context, countryID int64) error
- func (q *Queries) DeleteCredential(ctx context.Context, credID int64) error
- func (q *Queries) DeleteCustomEntity(ctx context.Context, centID int64) error
- func (q *Queries) DeleteDevice(ctx context.Context, devID int64) error
- func (q *Queries) DeleteDeviceClass(ctx context.Context, classID int64) error
- func (q *Queries) DeleteDeviceCredential(ctx context.Context, credID int64) error
- func (q *Queries) DeleteDeviceDomain(ctx context.Context, domID int64) error
- func (q *Queries) DeleteDeviceExtension(ctx context.Context, extID int64) error
- func (q *Queries) DeleteDeviceLicense(ctx context.Context, licID int64) error
- func (q *Queries) DeleteDeviceState(ctx context.Context, devID int64) error
- func (q *Queries) DeleteDeviceType(ctx context.Context, sysID string) error
- func (q *Queries) DeleteEntity(ctx context.Context, entID int64) error
- func (q *Queries) DeleteEntityPhyIndex(ctx context.Context, eiID int64) error
- func (q *Queries) DeleteIntBwStat(ctx context.Context, bwID int64) error
- func (q *Queries) DeleteInterface(ctx context.Context, ifID int64) error
- func (q *Queries) DeleteInterface2vlan(ctx context.Context, arg DeleteInterface2vlanParams) error
- func (q *Queries) DeleteInterfaceRelation(ctx context.Context, irID int64) error
- func (q *Queries) DeleteIpInterface(ctx context.Context, ipID int64) error
- func (q *Queries) DeleteOspfNbr(ctx context.Context, nbrID int64) error
- func (q *Queries) DeleteRlNbr(ctx context.Context, nbrID int64) error
- func (q *Queries) DeleteSite(ctx context.Context, siteID int64) error
- func (q *Queries) DeleteSnmpCredential(ctx context.Context, snmpCredID int64) error
- func (q *Queries) DeleteSubinterface(ctx context.Context, sifID int64) error
- func (q *Queries) DeleteUser(ctx context.Context, username string) error
- func (q *Queries) DeleteUserAuthz(ctx context.Context, arg DeleteUserAuthzParams) error
- func (q *Queries) DeleteUserGraph(ctx context.Context, graphID int64) error
- func (q *Queries) DeleteVar(ctx context.Context, descr string) error
- func (q *Queries) DeleteVlan(ctx context.Context, vID int64) error
- func (q *Queries) DeleteXconnect(ctx context.Context, xcID int64) error
- func (q *Queries) GetArchivedInterface(ctx context.Context, ifaID int64) (ArchivedInterface, error)
- func (q *Queries) GetArchivedInterfaces(ctx context.Context, arg GetArchivedInterfacesParams) ([]ArchivedInterface, error)
- func (q *Queries) GetArchivedSubinterface(ctx context.Context, sifaID int64) (ArchivedSubinterface, error)
- func (q *Queries) GetArchivedSubinterfaces(ctx context.Context, arg GetArchivedSubinterfacesParams) ([]ArchivedSubinterface, error)
- func (q *Queries) GetConCapacities(ctx context.Context, arg GetConCapacitiesParams) ([]ConCapacity, error)
- func (q *Queries) GetConCapacity(ctx context.Context, conCapID int64) (ConCapacity, error)
- func (q *Queries) GetConCapacityConnections(ctx context.Context, conCapID int64) ([]Connection, error)
- func (q *Queries) GetConClass(ctx context.Context, conClassID int64) (ConClass, error)
- func (q *Queries) GetConClassConnections(ctx context.Context, conClassID int64) ([]Connection, error)
- func (q *Queries) GetConClasses(ctx context.Context, arg GetConClassesParams) ([]ConClass, error)
- func (q *Queries) GetConProvider(ctx context.Context, conProvID int64) (ConProvider, error)
- func (q *Queries) GetConProviderConnections(ctx context.Context, conProvID int64) ([]Connection, error)
- func (q *Queries) GetConProviders(ctx context.Context, arg GetConProvidersParams) ([]ConProvider, error)
- func (q *Queries) GetConType(ctx context.Context, conTypeID int64) (ConType, error)
- func (q *Queries) GetConTypeConnections(ctx context.Context, conTypeID int64) ([]Connection, error)
- func (q *Queries) GetConTypes(ctx context.Context, arg GetConTypesParams) ([]ConType, error)
- func (q *Queries) GetConnection(ctx context.Context, conID int64) (Connection, error)
- func (q *Queries) GetConnectionConCapacitiy(ctx context.Context, conID int64) (ConCapacity, error)
- func (q *Queries) GetConnectionConClass(ctx context.Context, conID int64) (ConClass, error)
- func (q *Queries) GetConnectionConProvider(ctx context.Context, conID int64) (ConProvider, error)
- func (q *Queries) GetConnectionConType(ctx context.Context, conID int64) (ConType, error)
- func (q *Queries) GetConnectionInterfaces(ctx context.Context, conID *int64) ([]Interface, error)
- func (q *Queries) GetConnectionSite(ctx context.Context, conID int64) (Site, error)
- func (q *Queries) GetConnections(ctx context.Context, arg GetConnectionsParams) ([]Connection, error)
- func (q *Queries) GetCountries(ctx context.Context, arg GetCountriesParams) ([]Country, error)
- func (q *Queries) GetCountry(ctx context.Context, countryID int64) (Country, error)
- func (q *Queries) GetCountrySites(ctx context.Context, countryID int64) ([]Site, error)
- func (q *Queries) GetCredential(ctx context.Context, credID int64) (Credential, error)
- func (q *Queries) GetCredentials(ctx context.Context, arg GetCredentialsParams) ([]Credential, error)
- func (q *Queries) GetCustomEntities(ctx context.Context, arg GetCustomEntitiesParams) ([]CustomEntity, error)
- func (q *Queries) GetCustomEntity(ctx context.Context, centID int64) (CustomEntity, error)
- func (q *Queries) GetDevice(ctx context.Context, devID int64) (Device, error)
- func (q *Queries) GetDeviceChilds(ctx context.Context, devID int64) ([]Device, error)
- func (q *Queries) GetDeviceClass(ctx context.Context, classID int64) (DeviceClass, error)
- func (q *Queries) GetDeviceClassDeviceTypes(ctx context.Context, classID int64) ([]DeviceType, error)
- func (q *Queries) GetDeviceClasses(ctx context.Context, arg GetDeviceClassesParams) ([]DeviceClass, error)
- func (q *Queries) GetDeviceCredential(ctx context.Context, credID int64) (DeviceCredential, error)
- func (q *Queries) GetDeviceCredentialDevice(ctx context.Context, credID int64) (Device, error)
- func (q *Queries) GetDeviceCredentials(ctx context.Context, arg GetDeviceCredentialsParams) ([]DeviceCredential, error)
- func (q *Queries) GetDeviceDeviceCredentials(ctx context.Context, devID int64) ([]DeviceCredential, error)
- func (q *Queries) GetDeviceDeviceDomain(ctx context.Context, devID int64) (DeviceDomain, error)
- func (q *Queries) GetDeviceDeviceExtensions(ctx context.Context, devID int64) ([]DeviceExtension, error)
- func (q *Queries) GetDeviceDeviceLicenses(ctx context.Context, devID int64) ([]DeviceLicense, error)
- func (q *Queries) GetDeviceDeviceState(ctx context.Context, devID int64) (DeviceState, error)
- func (q *Queries) GetDeviceDeviceType(ctx context.Context, devID int64) (DeviceType, error)
- func (q *Queries) GetDeviceDomain(ctx context.Context, domID int64) (DeviceDomain, error)
- func (q *Queries) GetDeviceDomainDevices(ctx context.Context, domID int64) ([]Device, error)
- func (q *Queries) GetDeviceDomainUserAuthzs(ctx context.Context, domID int64) ([]UserAuthz, error)
- func (q *Queries) GetDeviceDomains(ctx context.Context, arg GetDeviceDomainsParams) ([]DeviceDomain, error)
- func (q *Queries) GetDeviceEntities(ctx context.Context, devID int64) ([]Entity, error)
- func (q *Queries) GetDeviceExtension(ctx context.Context, extID int64) (DeviceExtension, error)
- func (q *Queries) GetDeviceExtensionDevice(ctx context.Context, extID int64) (Device, error)
- func (q *Queries) GetDeviceExtensions(ctx context.Context, arg GetDeviceExtensionsParams) ([]DeviceExtension, error)
- func (q *Queries) GetDeviceInterfaces(ctx context.Context, devID int64) ([]Interface, error)
- func (q *Queries) GetDeviceIpInterfaces(ctx context.Context, devID int64) ([]IpInterface, error)
- func (q *Queries) GetDeviceLicense(ctx context.Context, licID int64) (DeviceLicense, error)
- func (q *Queries) GetDeviceLicenseDevice(ctx context.Context, licID int64) (Device, error)
- func (q *Queries) GetDeviceLicenses(ctx context.Context, arg GetDeviceLicensesParams) ([]DeviceLicense, error)
- func (q *Queries) GetDeviceOspfNbrs(ctx context.Context, devID int64) ([]OspfNbr, error)
- func (q *Queries) GetDeviceParent(ctx context.Context, devID int64) (Device, error)
- func (q *Queries) GetDevicePeerXconnects(ctx context.Context, peerDevID *int64) ([]Xconnect, error)
- func (q *Queries) GetDeviceRlNbrs(ctx context.Context, devID int64) ([]RlNbr, error)
- func (q *Queries) GetDeviceSite(ctx context.Context, devID int64) (Site, error)
- func (q *Queries) GetDeviceSnmpCredentialsMain(ctx context.Context, devID int64) (SnmpCredential, error)
- func (q *Queries) GetDeviceSnmpCredentialsRo(ctx context.Context, devID int64) (SnmpCredential, error)
- func (q *Queries) GetDeviceState(ctx context.Context, devID int64) (DeviceState, error)
- func (q *Queries) GetDeviceStateDevice(ctx context.Context, devID int64) (Device, error)
- func (q *Queries) GetDeviceStates(ctx context.Context, arg GetDeviceStatesParams) ([]DeviceState, error)
- func (q *Queries) GetDeviceType(ctx context.Context, sysID string) (DeviceType, error)
- func (q *Queries) GetDeviceTypeDeviceClass(ctx context.Context, sysID string) (DeviceClass, error)
- func (q *Queries) GetDeviceTypeDevices(ctx context.Context, sysID string) ([]Device, error)
- func (q *Queries) GetDeviceTypes(ctx context.Context, arg GetDeviceTypesParams) ([]DeviceType, error)
- func (q *Queries) GetDeviceVlans(ctx context.Context, devID int64) ([]Vlan, error)
- func (q *Queries) GetDeviceXconnects(ctx context.Context, devID int64) ([]Xconnect, error)
- func (q *Queries) GetDevices(ctx context.Context, arg GetDevicesParams) ([]Device, error)
- func (q *Queries) GetEntities(ctx context.Context, arg GetEntitiesParams) ([]Entity, error)
- func (q *Queries) GetEntity(ctx context.Context, entID int64) (Entity, error)
- func (q *Queries) GetEntityChilds(ctx context.Context, entID int64) ([]Entity, error)
- func (q *Queries) GetEntityDevice(ctx context.Context, entID int64) (Device, error)
- func (q *Queries) GetEntityEntityPhyIndexes(ctx context.Context, entID int64) ([]EntityPhyIndex, error)
- func (q *Queries) GetEntityInterfaces(ctx context.Context, entID *int64) ([]Interface, error)
- func (q *Queries) GetEntityParent(ctx context.Context, entID int64) (Entity, error)
- func (q *Queries) GetEntityPhyIndex(ctx context.Context, eiID int64) (EntityPhyIndex, error)
- func (q *Queries) GetEntityPhyIndexEntity(ctx context.Context, eiID int64) (Entity, error)
- func (q *Queries) GetEntityPhyIndexes(ctx context.Context, arg GetEntityPhyIndexesParams) ([]EntityPhyIndex, error)
- func (q *Queries) GetEntityRlfNbrs(ctx context.Context, entID int64) ([]RlNbr, error)
- func (q *Queries) GetIntBwStat(ctx context.Context, bwID int64) (IntBwStat, error)
- func (q *Queries) GetIntBwStatInterface(ctx context.Context, bwID int64) (Interface, error)
- func (q *Queries) GetIntBwStats(ctx context.Context, arg GetIntBwStatsParams) ([]IntBwStat, error)
- func (q *Queries) GetInterface(ctx context.Context, ifID int64) (Interface, error)
- func (q *Queries) GetInterfaceChilds(ctx context.Context, ifID int64) ([]Interface, error)
- func (q *Queries) GetInterfaceConnection(ctx context.Context, ifID int64) (Connection, error)
- func (q *Queries) GetInterfaceDevice(ctx context.Context, ifID int64) (Device, error)
- func (q *Queries) GetInterfaceEntity(ctx context.Context, ifID int64) (Entity, error)
- func (q *Queries) GetInterfaceIntBwStats(ctx context.Context, ifID int64) ([]IntBwStat, error)
- func (q *Queries) GetInterfaceInterfaceRelations(ctx context.Context, ifID int64) ([]InterfaceRelation, error)
- func (q *Queries) GetInterfaceInterfaceRelationsHigherFor(ctx context.Context, ifID int64) ([]Interface, error)
- func (q *Queries) GetInterfaceInterfaceRelationsLowerFor(ctx context.Context, ifID int64) ([]Interface, error)
- func (q *Queries) GetInterfaceOtnIf(ctx context.Context, ifID int64) (Interface, error)
- func (q *Queries) GetInterfaceParent(ctx context.Context, ifID int64) (Interface, error)
- func (q *Queries) GetInterfaceRelation(ctx context.Context, irID int64) (InterfaceRelation, error)
- func (q *Queries) GetInterfaceRelationInterface(ctx context.Context, irID int64) (Interface, error)
- func (q *Queries) GetInterfaceRelationInterfaceDown(ctx context.Context, irID int64) (Interface, error)
- func (q *Queries) GetInterfaceRelationInterfaceUp(ctx context.Context, irID int64) (Interface, error)
- func (q *Queries) GetInterfaceRelations(ctx context.Context, arg GetInterfaceRelationsParams) ([]InterfaceRelation, error)
- func (q *Queries) GetInterfaceSubinterfaces(ctx context.Context, ifID *int64) ([]Subinterface, error)
- func (q *Queries) GetInterfaceVlans(ctx context.Context, ifID int64) ([]Vlan, error)
- func (q *Queries) GetInterfaceXconnects(ctx context.Context, ifID *int64) ([]Xconnect, error)
- func (q *Queries) GetInterfaces(ctx context.Context, arg GetInterfacesParams) ([]Interface, error)
- func (q *Queries) GetInterfaces2vlans(ctx context.Context) ([]Interfaces2vlan, error)
- func (q *Queries) GetIpInterface(ctx context.Context, ipID int64) (IpInterface, error)
- func (q *Queries) GetIpInterfaceDevice(ctx context.Context, ipID int64) (Device, error)
- func (q *Queries) GetIpInterfaces(ctx context.Context, arg GetIpInterfacesParams) ([]IpInterface, error)
- func (q *Queries) GetOspfNbr(ctx context.Context, nbrID int64) (OspfNbr, error)
- func (q *Queries) GetOspfNbrDevice(ctx context.Context, nbrID int64) (Device, error)
- func (q *Queries) GetOspfNbrs(ctx context.Context, arg GetOspfNbrsParams) ([]OspfNbr, error)
- func (q *Queries) GetRlNbr(ctx context.Context, nbrID int64) (RlNbr, error)
- func (q *Queries) GetRlNbrDevice(ctx context.Context, nbrID int64) (Device, error)
- func (q *Queries) GetRlNbrEntity(ctx context.Context, nbrID int64) (Entity, error)
- func (q *Queries) GetRlNbrs(ctx context.Context, arg GetRlNbrsParams) ([]RlNbr, error)
- func (q *Queries) GetSite(ctx context.Context, siteID int64) (Site, error)
- func (q *Queries) GetSiteConnections(ctx context.Context, siteID int64) ([]Connection, error)
- func (q *Queries) GetSiteCountry(ctx context.Context, siteID int64) (Country, error)
- func (q *Queries) GetSiteDevices(ctx context.Context, siteID *int64) ([]Device, error)
- func (q *Queries) GetSites(ctx context.Context, arg GetSitesParams) ([]Site, error)
- func (q *Queries) GetSnmpCredential(ctx context.Context, snmpCredID int64) (SnmpCredential, error)
- func (q *Queries) GetSnmpCredentials(ctx context.Context, arg GetSnmpCredentialsParams) ([]SnmpCredential, error)
- func (q *Queries) GetSnmpCredentialsMainDevices(ctx context.Context, snmpCredID int64) ([]Device, error)
- func (q *Queries) GetSnmpCredentialsRoDevices(ctx context.Context, snmpCredID int64) ([]Device, error)
- func (q *Queries) GetSubinterface(ctx context.Context, sifID int64) (Subinterface, error)
- func (q *Queries) GetSubinterfaceInterface(ctx context.Context, sifID int64) (Interface, error)
- func (q *Queries) GetSubinterfaces(ctx context.Context, arg GetSubinterfacesParams) ([]Subinterface, error)
- func (q *Queries) GetUser(ctx context.Context, username string) (User, error)
- func (q *Queries) GetUserAuthz(ctx context.Context, arg GetUserAuthzParams) (UserAuthz, error)
- func (q *Queries) GetUserAuthzDeviceDomain(ctx context.Context, arg GetUserAuthzDeviceDomainParams) (DeviceDomain, error)
- func (q *Queries) GetUserAuthzUser(ctx context.Context, arg GetUserAuthzUserParams) (User, error)
- func (q *Queries) GetUserAuthzs(ctx context.Context, arg GetUserAuthzsParams) ([]UserAuthz, error)
- func (q *Queries) GetUserGraph(ctx context.Context, graphID int64) (UserGraph, error)
- func (q *Queries) GetUserGraphUser(ctx context.Context, graphID int64) (User, error)
- func (q *Queries) GetUserGraphs(ctx context.Context, arg GetUserGraphsParams) ([]UserGraph, error)
- func (q *Queries) GetUserUserAuthzs(ctx context.Context, username string) ([]UserAuthz, error)
- func (q *Queries) GetUserUserGraphs(ctx context.Context, username string) ([]UserGraph, error)
- func (q *Queries) GetUsers(ctx context.Context, arg GetUsersParams) ([]User, error)
- func (q *Queries) GetVar(ctx context.Context, descr string) (Var, error)
- func (q *Queries) GetVars(ctx context.Context, arg GetVarsParams) ([]Var, error)
- func (q *Queries) GetVlan(ctx context.Context, vID int64) (Vlan, error)
- func (q *Queries) GetVlanDevice(ctx context.Context, vID int64) (Device, error)
- func (q *Queries) GetVlanInterfaces(ctx context.Context, vID int64) ([]Interface, error)
- func (q *Queries) GetVlans(ctx context.Context, arg GetVlansParams) ([]Vlan, error)
- func (q *Queries) GetXconnect(ctx context.Context, xcID int64) (Xconnect, error)
- func (q *Queries) GetXconnectDevice(ctx context.Context, xcID int64) (Device, error)
- func (q *Queries) GetXconnectInterface(ctx context.Context, xcID int64) (Interface, error)
- func (q *Queries) GetXconnectPeerDevice(ctx context.Context, xcID int64) (Device, error)
- func (q *Queries) GetXconnects(ctx context.Context, arg GetXconnectsParams) ([]Xconnect, error)
- func (q *Queries) UpdateArchivedInterface(ctx context.Context, arg UpdateArchivedInterfaceParams) (ArchivedInterface, error)
- func (q *Queries) UpdateArchivedSubinterface(ctx context.Context, arg UpdateArchivedSubinterfaceParams) (ArchivedSubinterface, error)
- func (q *Queries) UpdateConCapacity(ctx context.Context, arg UpdateConCapacityParams) (ConCapacity, error)
- func (q *Queries) UpdateConClass(ctx context.Context, arg UpdateConClassParams) (ConClass, error)
- func (q *Queries) UpdateConProvider(ctx context.Context, arg UpdateConProviderParams) (ConProvider, error)
- func (q *Queries) UpdateConType(ctx context.Context, arg UpdateConTypeParams) (ConType, error)
- func (q *Queries) UpdateConnection(ctx context.Context, arg UpdateConnectionParams) (Connection, error)
- func (q *Queries) UpdateCountry(ctx context.Context, arg UpdateCountryParams) (Country, error)
- func (q *Queries) UpdateCredential(ctx context.Context, arg UpdateCredentialParams) (Credential, error)
- func (q *Queries) UpdateCustomEntity(ctx context.Context, arg UpdateCustomEntityParams) (CustomEntity, error)
- func (q *Queries) UpdateDevice(ctx context.Context, arg UpdateDeviceParams) (Device, error)
- func (q *Queries) UpdateDeviceClass(ctx context.Context, arg UpdateDeviceClassParams) (DeviceClass, error)
- func (q *Queries) UpdateDeviceCredential(ctx context.Context, arg UpdateDeviceCredentialParams) (DeviceCredential, error)
- func (q *Queries) UpdateDeviceDomain(ctx context.Context, arg UpdateDeviceDomainParams) (DeviceDomain, error)
- func (q *Queries) UpdateDeviceExtension(ctx context.Context, arg UpdateDeviceExtensionParams) (DeviceExtension, error)
- func (q *Queries) UpdateDeviceLicense(ctx context.Context, arg UpdateDeviceLicenseParams) (DeviceLicense, error)
- func (q *Queries) UpdateDeviceState(ctx context.Context, arg UpdateDeviceStateParams) (DeviceState, error)
- func (q *Queries) UpdateDeviceType(ctx context.Context, arg UpdateDeviceTypeParams) (DeviceType, error)
- func (q *Queries) UpdateEntity(ctx context.Context, arg UpdateEntityParams) (Entity, error)
- func (q *Queries) UpdateEntityPhyIndex(ctx context.Context, arg UpdateEntityPhyIndexParams) (EntityPhyIndex, error)
- func (q *Queries) UpdateIntBwStat(ctx context.Context, arg UpdateIntBwStatParams) (IntBwStat, error)
- func (q *Queries) UpdateInterface(ctx context.Context, arg UpdateInterfaceParams) (Interface, error)
- func (q *Queries) UpdateInterfaceRelation(ctx context.Context, arg UpdateInterfaceRelationParams) (InterfaceRelation, error)
- func (q *Queries) UpdateIpInterface(ctx context.Context, arg UpdateIpInterfaceParams) (IpInterface, error)
- func (q *Queries) UpdateOspfNbr(ctx context.Context, arg UpdateOspfNbrParams) (OspfNbr, error)
- func (q *Queries) UpdateRlNbr(ctx context.Context, arg UpdateRlNbrParams) (RlNbr, error)
- func (q *Queries) UpdateSite(ctx context.Context, arg UpdateSiteParams) (Site, error)
- func (q *Queries) UpdateSnmpCredential(ctx context.Context, arg UpdateSnmpCredentialParams) (SnmpCredential, error)
- func (q *Queries) UpdateSubinterface(ctx context.Context, arg UpdateSubinterfaceParams) (Subinterface, error)
- func (q *Queries) UpdateUser(ctx context.Context, arg UpdateUserParams) (User, error)
- func (q *Queries) UpdateUserAuthz(ctx context.Context, arg UpdateUserAuthzParams) (UserAuthz, error)
- func (q *Queries) UpdateUserGraph(ctx context.Context, arg UpdateUserGraphParams) (UserGraph, error)
- func (q *Queries) UpdateVar(ctx context.Context, arg UpdateVarParams) (Var, error)
- func (q *Queries) UpdateVlan(ctx context.Context, arg UpdateVlanParams) (Vlan, error)
- func (q *Queries) UpdateXconnect(ctx context.Context, arg UpdateXconnectParams) (Xconnect, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type RlNbr
- type Site
- type SnmpAuthProto
- type SnmpCredential
- type SnmpPrivProto
- type SnmpSecLevel
- type Subinterface
- type UpdateArchivedInterfaceParams
- type UpdateArchivedSubinterfaceParams
- type UpdateConCapacityParams
- type UpdateConClassParams
- type UpdateConProviderParams
- type UpdateConTypeParams
- type UpdateConnectionParams
- type UpdateCountryParams
- type UpdateCredentialParams
- type UpdateCustomEntityParams
- type UpdateDeviceClassParams
- type UpdateDeviceCredentialParams
- type UpdateDeviceDomainParams
- type UpdateDeviceExtensionParams
- type UpdateDeviceLicenseParams
- type UpdateDeviceParams
- type UpdateDeviceStateParams
- type UpdateDeviceTypeParams
- type UpdateEntityParams
- type UpdateEntityPhyIndexParams
- type UpdateIntBwStatParams
- type UpdateInterfaceParams
- type UpdateInterfaceRelationParams
- type UpdateIpInterfaceParams
- type UpdateOspfNbrParams
- type UpdateRlNbrParams
- type UpdateSiteParams
- type UpdateSnmpCredentialParams
- type UpdateSubinterfaceParams
- type UpdateUserAuthzParams
- type UpdateUserGraphParams
- type UpdateUserParams
- type UpdateVarParams
- type UpdateVlanParams
- type UpdateXconnectParams
- type User
- type UserAuthz
- type UserGraph
- type Var
- type Vlan
- type Xconnect
Constants ¶
const CountArchivedInterfaces = `-- name: CountArchivedInterfaces :one
SELECT COUNT(*)
FROM archived_interfaces
`
const CountArchivedSubinterfaces = `-- name: CountArchivedSubinterfaces :one
SELECT COUNT(*)
FROM archived_subinterfaces
`
const CountConCapacities = `-- name: CountConCapacities :one
SELECT COUNT(*)
FROM con_capacities
`
const CountConClasses = `-- name: CountConClasses :one
SELECT COUNT(*)
FROM con_classes
`
const CountConProviders = `-- name: CountConProviders :one
SELECT COUNT(*)
FROM con_providers
`
const CountConTypes = `-- name: CountConTypes :one
SELECT COUNT(*)
FROM con_types
`
const CountConnections = `-- name: CountConnections :one
SELECT COUNT(*)
FROM connections
`
const CountCountries = `-- name: CountCountries :one
SELECT COUNT(*)
FROM countries
`
const CountCredentials = `-- name: CountCredentials :one
SELECT COUNT(*)
FROM credentials
`
const CountCustomEntities = `-- name: CountCustomEntities :one
SELECT COUNT(*)
FROM custom_entities
`
const CountDeviceClasses = `-- name: CountDeviceClasses :one
SELECT COUNT(*)
FROM device_classes
`
const CountDeviceCredentials = `-- name: CountDeviceCredentials :one
SELECT COUNT(*)
FROM device_credentials
`
const CountDeviceDomains = `-- name: CountDeviceDomains :one
SELECT COUNT(*)
FROM device_domains
`
const CountDeviceExtensions = `-- name: CountDeviceExtensions :one
SELECT COUNT(*)
FROM device_extensions
`
const CountDeviceLicenses = `-- name: CountDeviceLicenses :one
SELECT COUNT(*)
FROM device_licenses
`
const CountDeviceStates = `-- name: CountDeviceStates :one
SELECT COUNT(*)
FROM device_states
`
const CountDeviceTypes = `-- name: CountDeviceTypes :one
SELECT COUNT(*)
FROM device_types
`
const CountDevices = `-- name: CountDevices :one
SELECT COUNT(*)
FROM devices
`
const CountEntities = `-- name: CountEntities :one
SELECT COUNT(*)
FROM entities
`
const CountEntityPhyIndexes = `-- name: CountEntityPhyIndexes :one
SELECT COUNT(*)
FROM entity_phy_indexes
`
const CountIntBwStats = `-- name: CountIntBwStats :one
SELECT COUNT(*)
FROM int_bw_stats
`
const CountInterfaceRelations = `-- name: CountInterfaceRelations :one
SELECT COUNT(*)
FROM interface_relations
`
const CountInterfaces = `-- name: CountInterfaces :one
SELECT COUNT(*)
FROM interfaces
`
const CountIpInterfaces = `-- name: CountIpInterfaces :one
SELECT COUNT(*)
FROM ip_interfaces
`
const CountOspfNbrs = `-- name: CountOspfNbrs :one
SELECT COUNT(*)
FROM ospf_nbrs
`
const CountRlNbrs = `-- name: CountRlNbrs :one
SELECT COUNT(*)
FROM rl_nbrs
`
const CountSites = `-- name: CountSites :one
SELECT COUNT(*)
FROM sites
`
const CountSnmpCredentials = `-- name: CountSnmpCredentials :one
SELECT COUNT(*)
FROM snmp_credentials
`
const CountSubinterfaces = `-- name: CountSubinterfaces :one
SELECT COUNT(*)
FROM subinterfaces
`
const CountUserAuthzs = `-- name: CountUserAuthzs :one
SELECT COUNT(*)
FROM user_authzs
`
const CountUserGraphs = `-- name: CountUserGraphs :one
SELECT COUNT(*)
FROM user_graphs
`
const CountUsers = `-- name: CountUsers :one
SELECT COUNT(*)
FROM users
`
const CountVars = `-- name: CountVars :one
SELECT COUNT(*)
FROM vars
`
const CountVlans = `-- name: CountVlans :one
SELECT COUNT(*)
FROM vlans
`
const CountXconnects = `-- name: CountXconnects :one
SELECT COUNT(*)
FROM xconnects
`
const CreateArchivedInterface = `` /* 523-byte string literal not displayed */
const CreateArchivedSubinterface = `` /* 426-byte string literal not displayed */
const CreateConCapacity = `` /* 149-byte string literal not displayed */
const CreateConClass = `` /* 145-byte string literal not displayed */
const CreateConProvider = `` /* 149-byte string literal not displayed */
const CreateConType = `` /* 141-byte string literal not displayed */
const CreateConnection = `` /* 337-byte string literal not displayed */
const CreateCountry = `` /* 138-byte string literal not displayed */
const CreateCredential = `` /* 176-byte string literal not displayed */
const CreateCustomEntity = `` /* 204-byte string literal not displayed */
const CreateDevice = `` /* 932-byte string literal not displayed */
const CreateDeviceClass = `` /* 129-byte string literal not displayed */
const CreateDeviceCredential = `` /* 191-byte string literal not displayed */
const CreateDeviceDomain = `` /* 128-byte string literal not displayed */
const CreateDeviceExtension = `` /* 176-byte string literal not displayed */
const CreateDeviceLicense = `` /* 324-byte string literal not displayed */
const CreateDeviceState = `` /* 188-byte string literal not displayed */
const CreateDeviceType = `` /* 256-byte string literal not displayed */
const CreateEntity = `` /* 548-byte string literal not displayed */
const CreateEntityPhyIndex = `` /* 179-byte string literal not displayed */
const CreateIntBwStat = `` /* 407-byte string literal not displayed */
const CreateInterface = `` /* 641-byte string literal not displayed */
const CreateInterface2vlan = `` /* 140-byte string literal not displayed */
const CreateInterfaceRelation = `` /* 189-byte string literal not displayed */
const CreateIpInterface = `` /* 253-byte string literal not displayed */
const CreateOspfNbr = `` /* 196-byte string literal not displayed */
const CreateRlNbr = `` /* 204-byte string literal not displayed */
const CreateSite = `` /* 393-byte string literal not displayed */
const CreateSnmpCredential = `` /* 356-byte string literal not displayed */
const CreateSubinterface = `` /* 380-byte string literal not displayed */
const CreateUser = `` /* 153-byte string literal not displayed */
const CreateUserAuthz = `` /* 166-byte string literal not displayed */
const CreateUserGraph = `` /* 182-byte string literal not displayed */
const CreateVar = `` /* 141-byte string literal not displayed */
const CreateVlan = `` /* 145-byte string literal not displayed */
const CreateXconnect = `` /* 583-byte string literal not displayed */
const DeleteArchivedInterface = `-- name: DeleteArchivedInterface :exec
DELETE FROM archived_interfaces
WHERE ifa_id = $1
`
const DeleteArchivedSubinterface = `-- name: DeleteArchivedSubinterface :exec
DELETE FROM archived_subinterfaces
WHERE sifa_id = $1
`
const DeleteConCapacity = `-- name: DeleteConCapacity :exec
DELETE FROM con_capacities
WHERE con_cap_id = $1
`
const DeleteConClass = `-- name: DeleteConClass :exec
DELETE FROM con_classes
WHERE con_class_id = $1
`
const DeleteConProvider = `-- name: DeleteConProvider :exec
DELETE FROM con_providers
WHERE con_prov_id = $1
`
const DeleteConType = `-- name: DeleteConType :exec
DELETE FROM con_types
WHERE con_type_id = $1
`
const DeleteConnection = `-- name: DeleteConnection :exec
DELETE FROM connections
WHERE con_id = $1
`
const DeleteCountry = `-- name: DeleteCountry :exec
DELETE FROM countries
WHERE country_id = $1
`
const DeleteCredential = `-- name: DeleteCredential :exec
DELETE FROM credentials
WHERE cred_id = $1
`
const DeleteCustomEntity = `-- name: DeleteCustomEntity :exec
DELETE FROM custom_entities
WHERE cent_id = $1
`
const DeleteDevice = `-- name: DeleteDevice :exec
DELETE FROM devices
WHERE dev_id = $1
`
const DeleteDeviceClass = `-- name: DeleteDeviceClass :exec
DELETE FROM device_classes
WHERE class_id = $1
`
const DeleteDeviceCredential = `-- name: DeleteDeviceCredential :exec
DELETE FROM device_credentials
WHERE cred_id = $1
`
const DeleteDeviceDomain = `-- name: DeleteDeviceDomain :exec
DELETE FROM device_domains
WHERE dom_id = $1
`
const DeleteDeviceExtension = `-- name: DeleteDeviceExtension :exec
DELETE FROM device_extensions
WHERE ext_id = $1
`
const DeleteDeviceLicense = `-- name: DeleteDeviceLicense :exec
DELETE FROM device_licenses
WHERE lic_id = $1
`
const DeleteDeviceState = `-- name: DeleteDeviceState :exec
DELETE FROM device_states
WHERE dev_id = $1
`
const DeleteDeviceType = `-- name: DeleteDeviceType :exec
DELETE FROM device_types
WHERE sys_id = $1
`
const DeleteEntity = `-- name: DeleteEntity :exec
DELETE FROM entities
WHERE ent_id = $1
`
const DeleteEntityPhyIndex = `-- name: DeleteEntityPhyIndex :exec
DELETE FROM entity_phy_indexes
WHERE ei_id = $1
`
const DeleteIntBwStat = `-- name: DeleteIntBwStat :exec
DELETE FROM int_bw_stats
WHERE bw_id = $1
`
const DeleteInterface = `-- name: DeleteInterface :exec
DELETE FROM interfaces
WHERE if_id = $1
`
const DeleteInterface2vlan = `-- name: DeleteInterface2vlan :exec
DELETE FROM interfaces2vlans
WHERE v_id = $1
AND if_id = $2
`
const DeleteInterfaceRelation = `-- name: DeleteInterfaceRelation :exec
DELETE FROM interface_relations
WHERE ir_id = $1
`
const DeleteIpInterface = `-- name: DeleteIpInterface :exec
DELETE FROM ip_interfaces
WHERE ip_id = $1
`
const DeleteOspfNbr = `-- name: DeleteOspfNbr :exec
DELETE FROM ospf_nbrs
WHERE nbr_id = $1
`
const DeleteRlNbr = `-- name: DeleteRlNbr :exec
DELETE FROM rl_nbrs
WHERE nbr_id = $1
`
const DeleteSite = `-- name: DeleteSite :exec
DELETE FROM sites
WHERE site_id = $1
`
const DeleteSnmpCredential = `-- name: DeleteSnmpCredential :exec
DELETE FROM snmp_credentials
WHERE snmp_cred_id = $1
`
const DeleteSubinterface = `-- name: DeleteSubinterface :exec
DELETE FROM subinterfaces
WHERE sif_id = $1
`
const DeleteUser = `-- name: DeleteUser :exec
DELETE FROM users
WHERE username = $1
`
const DeleteUserAuthz = `-- name: DeleteUserAuthz :exec
DELETE FROM user_authzs
WHERE username = $1
AND dom_id = $2
`
const DeleteUserGraph = `-- name: DeleteUserGraph :exec
DELETE FROM user_graphs
WHERE graph_id = $1
`
const DeleteVar = `-- name: DeleteVar :exec
DELETE FROM vars
WHERE descr = $1
`
const DeleteVlan = `-- name: DeleteVlan :exec
DELETE FROM vlans
WHERE v_id = $1
`
const DeleteXconnect = `-- name: DeleteXconnect :exec
DELETE FROM xconnects
WHERE xc_id = $1
`
const GetArchivedInterface = `` /* 240-byte string literal not displayed */
const GetArchivedInterfaces = `` /* 2095-byte string literal not displayed */
const GetArchivedSubinterface = `` /* 209-byte string literal not displayed */
const GetArchivedSubinterfaces = `` /* 1748-byte string literal not displayed */
const GetConCapacities = `` /* 749-byte string literal not displayed */
const GetConCapacity = `` /* 127-byte string literal not displayed */
const GetConCapacityConnections = `` /* 200-byte string literal not displayed */
const GetConClass = `-- name: GetConClass :one
SELECT con_class_id, descr, notes, updated_on, created_on
FROM con_classes
WHERE con_class_id = $1
`
const GetConClassConnections = `` /* 199-byte string literal not displayed */
const GetConClasses = `` /* 745-byte string literal not displayed */
const GetConProvider = `` /* 128-byte string literal not displayed */
const GetConProviderConnections = `` /* 201-byte string literal not displayed */
const GetConProviders = `` /* 748-byte string literal not displayed */
const GetConType = `-- name: GetConType :one
SELECT con_type_id, descr, notes, updated_on, created_on
FROM con_types
WHERE con_type_id = $1
`
const GetConTypeConnections = `` /* 197-byte string literal not displayed */
const GetConTypes = `` /* 740-byte string literal not displayed */
const GetConnection = `` /* 183-byte string literal not displayed */
const GetConnectionConCapacitiy = `` /* 216-byte string literal not displayed */
const GetConnectionConClass = `` /* 215-byte string literal not displayed */
const GetConnectionConProvider = `` /* 217-byte string literal not displayed */
const GetConnectionConType = `` /* 209-byte string literal not displayed */
const GetConnectionInterfaces = `` /* 263-byte string literal not displayed */
const GetConnectionSite = `` /* 285-byte string literal not displayed */
const GetConnections = `` /* 983-byte string literal not displayed */
const GetCountries = `` /* 604-byte string literal not displayed */
const GetCountry = `-- name: GetCountry :one
SELECT country_id, code, descr, updated_on, created_on
FROM countries
WHERE country_id = $1
`
const GetCountrySites = `` /* 203-byte string literal not displayed */
const GetCredential = `` /* 132-byte string literal not displayed */
const GetCredentials = `` /* 570-byte string literal not displayed */
const GetCustomEntities = `` /* 1030-byte string literal not displayed */
const GetCustomEntity = `` /* 147-byte string literal not displayed */
const GetDevice = `` /* 355-byte string literal not displayed */
const GetDeviceChilds = `` /* 498-byte string literal not displayed */
const GetDeviceClass = `-- name: GetDeviceClass :one
SELECT class_id, descr, updated_on, created_on
FROM device_classes
WHERE class_id = $1
`
const GetDeviceClassDeviceTypes = `` /* 193-byte string literal not displayed */
const GetDeviceClasses = `` /* 554-byte string literal not displayed */
const GetDeviceCredential = `` /* 146-byte string literal not displayed */
const GetDeviceCredentialDevice = `` /* 519-byte string literal not displayed */
const GetDeviceCredentials = `` /* 587-byte string literal not displayed */
const GetDeviceDeviceCredentials = `` /* 167-byte string literal not displayed */
const GetDeviceDeviceDomain = `` /* 186-byte string literal not displayed */
const GetDeviceDeviceExtensions = `` /* 169-byte string literal not displayed */
const GetDeviceDeviceLicenses = `` /* 203-byte string literal not displayed */
const GetDeviceDeviceState = `` /* 138-byte string literal not displayed */
const GetDeviceDeviceType = `` /* 232-byte string literal not displayed */
const GetDeviceDomain = `-- name: GetDeviceDomain :one
SELECT dom_id, descr, updated_on, created_on
FROM device_domains
WHERE dom_id = $1
`
const GetDeviceDomainDevices = `` /* 388-byte string literal not displayed */
const GetDeviceDomainUserAuthzs = `` /* 153-byte string literal not displayed */
const GetDeviceDomains = `` /* 552-byte string literal not displayed */
const GetDeviceEntities = `` /* 262-byte string literal not displayed */
const GetDeviceExtension = `` /* 136-byte string literal not displayed */
const GetDeviceExtensionDevice = `` /* 516-byte string literal not displayed */
const GetDeviceExtensions = `` /* 767-byte string literal not displayed */
const GetDeviceInterfaces = `` /* 276-byte string literal not displayed */
const GetDeviceIpInterfaces = `` /* 176-byte string literal not displayed */
const GetDeviceLicense = `` /* 180-byte string literal not displayed */
const GetDeviceLicenseDevice = `` /* 512-byte string literal not displayed */
const GetDeviceLicenses = `` /* 2096-byte string literal not displayed */
const GetDeviceOspfNbrs = `` /* 147-byte string literal not displayed */
const GetDeviceParent = `` /* 497-byte string literal not displayed */
const GetDevicePeerXconnects = `` /* 242-byte string literal not displayed */
const GetDeviceRlNbrs = `` /* 154-byte string literal not displayed */
const GetDeviceSite = `` /* 277-byte string literal not displayed */
const GetDeviceSnmpCredentialsMain = `` /* 311-byte string literal not displayed */
const GetDeviceSnmpCredentialsRo = `` /* 307-byte string literal not displayed */
const GetDeviceState = `` /* 132-byte string literal not displayed */
const GetDeviceStateDevice = `` /* 508-byte string literal not displayed */
const GetDeviceStates = `` /* 612-byte string literal not displayed */
const GetDeviceType = `` /* 147-byte string literal not displayed */
const GetDeviceTypeDeviceClass = `` /* 200-byte string literal not displayed */
const GetDeviceTypeDevices = `` /* 386-byte string literal not displayed */
const GetDeviceTypes = `` /* 879-byte string literal not displayed */
const GetDeviceVlans = `` /* 130-byte string literal not displayed */
const GetDeviceXconnects = `` /* 233-byte string literal not displayed */
const GetDevices = `` /* 2720-byte string literal not displayed */
const GetEntities = `` /* 2303-byte string literal not displayed */
const GetEntity = `` /* 235-byte string literal not displayed */
const GetEntityChilds = `` /* 353-byte string literal not displayed */
const GetEntityDevice = `` /* 498-byte string literal not displayed */
const GetEntityEntityPhyIndexes = `` /* 161-byte string literal not displayed */
const GetEntityInterfaces = `` /* 276-byte string literal not displayed */
const GetEntityParent = `` /* 352-byte string literal not displayed */
const GetEntityPhyIndex = `` /* 136-byte string literal not displayed */
const GetEntityPhyIndexEntity = `` /* 362-byte string literal not displayed */
const GetEntityPhyIndexes = `` /* 629-byte string literal not displayed */
const GetEntityRlfNbrs = `` /* 233-byte string literal not displayed */
const GetIntBwStat = `` /* 186-byte string literal not displayed */
const GetIntBwStatInterface = `` /* 380-byte string literal not displayed */
const GetIntBwStats = `` /* 2578-byte string literal not displayed */
const GetInterface = `` /* 250-byte string literal not displayed */
const GetInterfaceChilds = `` /* 377-byte string literal not displayed */
const GetInterfaceConnection = `` /* 282-byte string literal not displayed */
const GetInterfaceDevice = `` /* 502-byte string literal not displayed */
const GetInterfaceEntity = `` /* 349-byte string literal not displayed */
const GetInterfaceIntBwStats = `` /* 217-byte string literal not displayed */
const GetInterfaceInterfaceRelations = `` /* 154-byte string literal not displayed */
const GetInterfaceInterfaceRelationsHigherFor = `` /* 459-byte string literal not displayed */
const GetInterfaceInterfaceRelationsLowerFor = `` /* 460-byte string literal not displayed */
const GetInterfaceOtnIf = `` /* 378-byte string literal not displayed */
const GetInterfaceParent = `` /* 376-byte string literal not displayed */
const GetInterfaceRelation = `` /* 143-byte string literal not displayed */
const GetInterfaceRelationInterface = `` /* 395-byte string literal not displayed */
const GetInterfaceRelationInterfaceDown = `` /* 404-byte string literal not displayed */
const GetInterfaceRelationInterfaceUp = `` /* 400-byte string literal not displayed */
const GetInterfaceRelations = `` /* 162-byte string literal not displayed */
const GetInterfaceSubinterfaces = `` /* 201-byte string literal not displayed */
const GetInterfaceVlans = `` /* 260-byte string literal not displayed */
const GetInterfaceXconnects = `` /* 235-byte string literal not displayed */
const GetInterfaces = `` /* 2169-byte string literal not displayed */
const GetInterfaces2vlans = `-- name: GetInterfaces2vlans :many
SELECT v_id, if_id, updated_on, created_on
FROM interfaces2vlans
ORDER BY v_id
`
const GetIpInterface = `` /* 142-byte string literal not displayed */
const GetIpInterfaceDevice = `` /* 509-byte string literal not displayed */
const GetIpInterfaces = `` /* 1060-byte string literal not displayed */
const GetOspfNbr = `-- name: GetOspfNbr :one
SELECT nbr_id, dev_id, nbr_ip, condition, updated_on, created_on
FROM ospf_nbrs
WHERE nbr_id = $1
`
const GetOspfNbrDevice = `` /* 502-byte string literal not displayed */
const GetOspfNbrs = `` /* 723-byte string literal not displayed */
const GetRlNbr = `-- name: GetRlNbr :one
SELECT nbr_id, dev_id, nbr_ent_id, nbr_sysname, updated_on, created_on
FROM rl_nbrs
WHERE nbr_id = $1
`
const GetRlNbrDevice = `` /* 498-byte string literal not displayed */
const GetRlNbrEntity = `` /* 349-byte string literal not displayed */
const GetRlNbrs = `` /* 570-byte string literal not displayed */
const GetSite = `` /* 176-byte string literal not displayed */
const GetSiteConnections = `` /* 190-byte string literal not displayed */
const GetSiteCountry = `` /* 194-byte string literal not displayed */
const GetSiteDevices = `` /* 381-byte string literal not displayed */
const GetSites = `` /* 1581-byte string literal not displayed */
const GetSnmpCredential = `` /* 206-byte string literal not displayed */
const GetSnmpCredentials = `` /* 703-byte string literal not displayed */
const GetSnmpCredentialsMainDevices = `` /* 539-byte string literal not displayed */
const GetSnmpCredentialsRoDevices = `` /* 535-byte string literal not displayed */
const GetSubinterface = `` /* 176-byte string literal not displayed */
const GetSubinterfaceInterface = `` /* 385-byte string literal not displayed */
const GetSubinterfaces = `` /* 1895-byte string literal not displayed */
const GetUser = `-- name: GetUser :one
SELECT username, userlevel, notes, updated_on, created_on
FROM users
WHERE username = $1
`
const GetUserAuthz = `` /* 141-byte string literal not displayed */
const GetUserAuthzDeviceDomain = `` /* 216-byte string literal not displayed */
const GetUserAuthzUser = `` /* 219-byte string literal not displayed */
const GetUserAuthzs = `` /* 703-byte string literal not displayed */
const GetUserGraph = `` /* 134-byte string literal not displayed */
const GetUserGraphUser = `` /* 198-byte string literal not displayed */
const GetUserGraphs = `` /* 740-byte string literal not displayed */
const GetUserUserAuthzs = `` /* 147-byte string literal not displayed */
const GetUserUserGraphs = `` /* 158-byte string literal not displayed */
const GetUsers = `` /* 835-byte string literal not displayed */
const GetVar = `-- name: GetVar :one
SELECT descr, content, notes, updated_on, created_on
FROM vars
WHERE descr = $1
`
const GetVars = `` /* 841-byte string literal not displayed */
const GetVlan = `-- name: GetVlan :one
SELECT v_id, dev_id, vlan, descr, updated_on, created_on
FROM vlans
WHERE v_id = $1
`
const GetVlanDevice = `` /* 491-byte string literal not displayed */
const GetVlanInterfaces = `` /* 439-byte string literal not displayed */
const GetVlans = `` /* 706-byte string literal not displayed */
const GetXconnect = `` /* 209-byte string literal not displayed */
const GetXconnectDevice = `` /* 502-byte string literal not displayed */
const GetXconnectInterface = `` /* 378-byte string literal not displayed */
const GetXconnectPeerDevice = `` /* 511-byte string literal not displayed */
const GetXconnects = `` /* 1737-byte string literal not displayed */
const UpdateArchivedInterface = `` /* 461-byte string literal not displayed */
const UpdateArchivedSubinterface = `` /* 375-byte string literal not displayed */
const UpdateConCapacity = `` /* 164-byte string literal not displayed */
const UpdateConClass = `` /* 162-byte string literal not displayed */
const UpdateConProvider = `` /* 165-byte string literal not displayed */
const UpdateConType = `` /* 157-byte string literal not displayed */
const UpdateConnection = `` /* 330-byte string literal not displayed */
const UpdateCountry = `` /* 153-byte string literal not displayed */
const UpdateCredential = `` /* 191-byte string literal not displayed */
const UpdateCustomEntity = `` /* 222-byte string literal not displayed */
const UpdateDevice = `` /* 810-byte string literal not displayed */
const UpdateDeviceClass = `` /* 139-byte string literal not displayed */
const UpdateDeviceCredential = `` /* 206-byte string literal not displayed */
const UpdateDeviceDomain = `` /* 136-byte string literal not displayed */
const UpdateDeviceExtension = `` /* 190-byte string literal not displayed */
const UpdateDeviceLicense = `` /* 317-byte string literal not displayed */
const UpdateDeviceState = `` /* 190-byte string literal not displayed */
const UpdateDeviceType = `` /* 236-byte string literal not displayed */
const UpdateEntity = `` /* 481-byte string literal not displayed */
const UpdateEntityPhyIndex = `` /* 192-byte string literal not displayed */
const UpdateIntBwStat = `` /* 354-byte string literal not displayed */
const UpdateInterface = `` /* 548-byte string literal not displayed */
const UpdateInterfaceRelation = `` /* 202-byte string literal not displayed */
const UpdateIpInterface = `` /* 234-byte string literal not displayed */
const UpdateOspfNbr = `` /* 184-byte string literal not displayed */
const UpdateRlNbr = `` /* 192-byte string literal not displayed */
const UpdateSite = `` /* 342-byte string literal not displayed */
const UpdateSnmpCredential = `` /* 355-byte string literal not displayed */
const UpdateSubinterface = `` /* 328-byte string literal not displayed */
const UpdateUser = `` /* 154-byte string literal not displayed */
const UpdateUserAuthz = `` /* 168-byte string literal not displayed */
const UpdateUserGraph = `` /* 201-byte string literal not displayed */
const UpdateVar = `` /* 142-byte string literal not displayed */
const UpdateVlan = `` /* 157-byte string literal not displayed */
const UpdateXconnect = `` /* 442-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func DecryptStrAes ¶
Returns unencrypted string "instr" - AES GCM encrypted and hex encoded string created with "EncryptStrAes" function "secret" - secret string used for encryption
Types ¶
type ArchivedInterface ¶
type ArchivedInterface struct { IfaID int64 `json:"ifa_id"` Ifindex *int64 `json:"ifindex"` OtnIfID *int64 `json:"otn_if_id"` CiscoOptPowerIndex *string `json:"cisco_opt_power_index"` Hostname string `json:"hostname"` HostIp4 pgtype.Inet `json:"host_ip4"` HostIp6 pgtype.Inet `json:"host_ip6"` Manufacturer string `json:"manufacturer"` Model string `json:"model"` Descr string `json:"descr"` Alias *string `json:"alias"` TypeEnum *int16 `json:"type_enum"` Mac pgtype.Macaddr `json:"mac"` UpdatedOn time.Time `json:"updated_on"` CreatedOn time.Time `json:"created_on"` }
type ArchivedSubinterface ¶
type ArchivedSubinterface struct { SifaID int64 `json:"sifa_id"` Ifindex *int64 `json:"ifindex"` Descr string `json:"descr"` ParentDescr *string `json:"parent_descr"` Alias *string `json:"alias"` Type *string `json:"type"` Mac pgtype.Macaddr `json:"mac"` Hostname string `json:"hostname"` HostIp4 pgtype.Inet `json:"host_ip4"` HostIp6 pgtype.Inet `json:"host_ip6"` Notes *string `json:"notes"` UpdatedOn time.Time `json:"updated_on"` CreatedOn time.Time `json:"created_on"` }
type ConCapacity ¶
type ConProvider ¶
type Connection ¶
type Connection struct { ConID int64 `json:"con_id"` SiteID int64 `json:"site_id"` ConProvID int64 `json:"con_prov_id"` ConTypeID int64 `json:"con_type_id"` ConCapID int64 `json:"con_cap_id"` ConClassID int64 `json:"con_class_id"` Hint *string `json:"hint"` Notes *string `json:"notes"` InUse bool `json:"in_use"` UpdatedOn time.Time `json:"updated_on"` CreatedOn time.Time `json:"created_on"` }
type CreateArchivedInterfaceParams ¶
type CreateArchivedInterfaceParams struct { Ifindex *int64 `json:"ifindex"` OtnIfID *int64 `json:"otn_if_id"` CiscoOptPowerIndex *string `json:"cisco_opt_power_index"` Hostname string `json:"hostname"` HostIp4 pgtype.Inet `json:"host_ip4"` HostIp6 pgtype.Inet `json:"host_ip6"` Manufacturer string `json:"manufacturer"` Model string `json:"model"` Descr string `json:"descr"` Alias *string `json:"alias"` TypeEnum *int16 `json:"type_enum"` Mac pgtype.Macaddr `json:"mac"` }
type CreateArchivedSubinterfaceParams ¶
type CreateArchivedSubinterfaceParams struct { Ifindex *int64 `json:"ifindex"` Descr string `json:"descr"` ParentDescr *string `json:"parent_descr"` Alias *string `json:"alias"` Type *string `json:"type"` Mac pgtype.Macaddr `json:"mac"` Hostname string `json:"hostname"` HostIp4 pgtype.Inet `json:"host_ip4"` HostIp6 pgtype.Inet `json:"host_ip6"` Notes *string `json:"notes"` }
type CreateConCapacityParams ¶
type CreateConClassParams ¶
type CreateConProviderParams ¶
type CreateConTypeParams ¶
type CreateConnectionParams ¶
type CreateCountryParams ¶
type CreateCredentialParams ¶
type CreateDeviceParams ¶
type CreateDeviceParams struct { SiteID *int64 `json:"site_id"` DomID int64 `json:"dom_id"` SnmpMainID *int64 `json:"snmp_main_id"` SnmpRoID *int64 `json:"snmp_ro_id"` Parent *int64 `json:"parent"` SysID string `json:"sys_id"` Ip4Addr pgtype.Inet `json:"ip4_addr"` Ip6Addr pgtype.Inet `json:"ip6_addr"` HostName string `json:"host_name"` SysName *string `json:"sys_name"` SysLocation *string `json:"sys_location"` SysContact *string `json:"sys_contact"` SwVersion *string `json:"sw_version"` ExtModel *string `json:"ext_model"` Installed bool `json:"installed"` Monitor bool `json:"monitor"` Graph bool `json:"graph"` Backup bool `json:"backup"` Source string `json:"source"` TypeChanged bool `json:"type_changed"` BackupFailed bool `json:"backup_failed"` ValidationFailed bool `json:"validation_failed"` Unresponsive bool `json:"unresponsive"` Notes *string `json:"notes"` }
type CreateDeviceStateParams ¶
type CreateDeviceTypeParams ¶
type CreateEntityParams ¶
type CreateEntityParams struct { ParentEntID *int64 `json:"parent_ent_id"` SnmpEntID *int64 `json:"snmp_ent_id"` DevID int64 `json:"dev_id"` Slot *string `json:"slot"` Descr *string `json:"descr"` Model *string `json:"model"` HwProduct *string `json:"hw_product"` HwRevision *string `json:"hw_revision"` SerialNr *string `json:"serial_nr"` SwProduct *string `json:"sw_product"` SwRevision *string `json:"sw_revision"` Manufacturer *string `json:"manufacturer"` Physical bool `json:"physical"` }
type CreateIntBwStatParams ¶
type CreateIntBwStatParams struct { IfID int64 `json:"if_id"` To50in *int16 `json:"to50in"` To75in *int16 `json:"to75in"` To90in *int16 `json:"to90in"` To100in *int16 `json:"to100in"` To50out *int16 `json:"to50out"` To75out *int16 `json:"to75out"` To90out *int16 `json:"to90out"` To100out *int16 `json:"to100out"` IfGroup string `json:"if_group"` }
type CreateInterfaceParams ¶
type CreateInterfaceParams struct { ConID *int64 `json:"con_id"` Parent *int64 `json:"parent"` OtnIfID *int64 `json:"otn_if_id"` DevID int64 `json:"dev_id"` EntID *int64 `json:"ent_id"` Ifindex *int64 `json:"ifindex"` Descr string `json:"descr"` Alias *string `json:"alias"` Oper *int16 `json:"oper"` Adm *int16 `json:"adm"` Speed *int64 `json:"speed"` Minspeed *int64 `json:"minspeed"` TypeEnum *int16 `json:"type_enum"` Mac pgtype.Macaddr `json:"mac"` Monstatus int16 `json:"monstatus"` Monerrors int16 `json:"monerrors"` Monload int16 `json:"monload"` Montraffic int16 `json:"montraffic"` }
type CreateIpInterfaceParams ¶
type CreateOspfNbrParams ¶
type CreateRlNbrParams ¶
type CreateSiteParams ¶
type CreateSiteParams struct { CountryID int64 `json:"country_id"` Uident *string `json:"uident"` Descr string `json:"descr"` Latitude *float32 `json:"latitude"` Longitude *float32 `json:"longitude"` Area *string `json:"area"` Addr *string `json:"addr"` Notes *string `json:"notes"` ExtID *int64 `json:"ext_id"` ExtName *string `json:"ext_name"` }
type CreateSnmpCredentialParams ¶
type CreateSnmpCredentialParams struct { Label string `json:"label"` Variant int32 `json:"variant"` AuthName string `json:"auth_name"` AuthProto NullSnmpAuthProto `json:"auth_proto"` AuthPass *string `json:"auth_pass"` SecLevel NullSnmpSecLevel `json:"sec_level"` PrivProto NullSnmpPrivProto `json:"priv_proto"` PrivPass *string `json:"priv_pass"` }
type CreateSubinterfaceParams ¶
type CreateSubinterfaceParams struct { IfID *int64 `json:"if_id"` Ifindex *int64 `json:"ifindex"` Descr string `json:"descr"` Alias *string `json:"alias"` Oper *int16 `json:"oper"` Adm *int16 `json:"adm"` Speed *int64 `json:"speed"` TypeEnum *string `json:"type_enum"` Mac pgtype.Macaddr `json:"mac"` Notes *string `json:"notes"` }
type CreateUserAuthzParams ¶
type CreateUserGraphParams ¶
type CreateUserParams ¶
type CreateVarParams ¶
type CreateVlanParams ¶
type CreateXconnectParams ¶
type CreateXconnectParams struct { DevID int64 `json:"dev_id"` PeerDevID *int64 `json:"peer_dev_id"` IfID *int64 `json:"if_id"` VcIdx int64 `json:"vc_idx"` VcID int64 `json:"vc_id"` PeerIp pgtype.Inet `json:"peer_ip"` PeerIfalias *string `json:"peer_ifalias"` Xname *string `json:"xname"` Descr *string `json:"descr"` OpStat *string `json:"op_stat"` OpStatIn *string `json:"op_stat_in"` OpStatOut *string `json:"op_stat_out"` }
type Credential ¶
type CustomEntity ¶
type DeleteUserAuthzParams ¶
type Device ¶
type Device struct { DevID int64 `json:"dev_id"` SiteID *int64 `json:"site_id"` DomID int64 `json:"dom_id"` SnmpMainID *int64 `json:"snmp_main_id"` SnmpRoID *int64 `json:"snmp_ro_id"` Parent *int64 `json:"parent"` SysID string `json:"sys_id"` Ip4Addr pgtype.Inet `json:"ip4_addr"` Ip6Addr pgtype.Inet `json:"ip6_addr"` HostName string `json:"host_name"` SysName *string `json:"sys_name"` SysLocation *string `json:"sys_location"` SysContact *string `json:"sys_contact"` SwVersion *string `json:"sw_version"` ExtModel *string `json:"ext_model"` Installed bool `json:"installed"` Monitor bool `json:"monitor"` Graph bool `json:"graph"` Backup bool `json:"backup"` Source string `json:"source"` TypeChanged bool `json:"type_changed"` BackupFailed bool `json:"backup_failed"` ValidationFailed bool `json:"validation_failed"` Unresponsive bool `json:"unresponsive"` Notes *string `json:"notes"` UpdatedOn time.Time `json:"updated_on"` CreatedOn time.Time `json:"created_on"` }
type DeviceClass ¶
type DeviceCredential ¶
type DeviceDomain ¶
type DeviceExtension ¶
type DeviceLicense ¶
type DeviceLicense struct { LicID int64 `json:"lic_id"` DevID int64 `json:"dev_id"` Product *string `json:"product"` Descr *string `json:"descr"` Installed *int32 `json:"installed"` Unlocked *int32 `json:"unlocked"` TotInst *int32 `json:"tot_inst"` Used *int32 `json:"used"` Condition *string `json:"condition"` UpdatedOn time.Time `json:"updated_on"` CreatedOn time.Time `json:"created_on"` }
type DeviceState ¶
type DeviceType ¶
type DeviceType struct { // snmp sysObjectId or some unique identifier if snmp is not supported SysID string `json:"sys_id"` ClassID int64 `json:"class_id"` Manufacturer string `json:"manufacturer"` Model string `json:"model"` Hc bool `json:"hc"` // highest supported snmp version SnmpVer int16 `json:"snmp_ver"` UpdatedOn time.Time `json:"updated_on"` CreatedOn time.Time `json:"created_on"` }
type Entity ¶
type Entity struct { EntID int64 `json:"ent_id"` ParentEntID *int64 `json:"parent_ent_id"` SnmpEntID *int64 `json:"snmp_ent_id"` DevID int64 `json:"dev_id"` Slot *string `json:"slot"` Descr *string `json:"descr"` Model *string `json:"model"` HwProduct *string `json:"hw_product"` HwRevision *string `json:"hw_revision"` SerialNr *string `json:"serial_nr"` SwProduct *string `json:"sw_product"` SwRevision *string `json:"sw_revision"` Manufacturer *string `json:"manufacturer"` Physical bool `json:"physical"` UpdatedOn time.Time `json:"updated_on"` CreatedOn time.Time `json:"created_on"` }
type EntityPhyIndex ¶
type GetArchivedInterfacesParams ¶
type GetArchivedInterfacesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` IfindexF *string `json:"ifindex_f"` OtnIfIDF *string `json:"otn_if_id_f"` CiscoOptPowerIndexF *string `json:"cisco_opt_power_index_f"` HostnameF string `json:"hostname_f"` HostIp4F pgtype.Inet `json:"host_ip4_f"` HostIp6F pgtype.Inet `json:"host_ip6_f"` ManufacturerF string `json:"manufacturer_f"` ModelF string `json:"model_f"` DescrF string `json:"descr_f"` AliasF *string `json:"alias_f"` TypeEnumF *string `json:"type_enum_f"` MacF pgtype.Macaddr `json:"mac_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetArchivedSubinterfacesParams ¶
type GetArchivedSubinterfacesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` IfindexF *string `json:"ifindex_f"` DescrF string `json:"descr_f"` ParentDescrF *string `json:"parent_descr_f"` AliasF *string `json:"alias_f"` TypeF *string `json:"type_f"` MacF pgtype.Macaddr `json:"mac_f"` HostnameF string `json:"hostname_f"` HostIp4F pgtype.Inet `json:"host_ip4_f"` HostIp6F pgtype.Inet `json:"host_ip6_f"` NotesF *string `json:"notes_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetConCapacitiesParams ¶
type GetConCapacitiesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` DescrF string `json:"descr_f"` NotesF *string `json:"notes_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetConClassesParams ¶
type GetConClassesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` DescrF string `json:"descr_f"` NotesF *string `json:"notes_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetConProvidersParams ¶
type GetConProvidersParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` DescrF string `json:"descr_f"` NotesF *string `json:"notes_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetConTypesParams ¶
type GetConTypesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` DescrF string `json:"descr_f"` NotesF *string `json:"notes_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetConnectionsParams ¶
type GetConnectionsParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` HintF *string `json:"hint_f"` NotesF *string `json:"notes_f"` InUseF string `json:"in_use_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetCountriesParams ¶
type GetCountriesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` DescrF string `json:"descr_f"` CodeF string `json:"code_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetCredentialsParams ¶
type GetCustomEntitiesParams ¶
type GetCustomEntitiesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` ManufacturerF string `json:"manufacturer_f"` SerialNrF string `json:"serial_nr_f"` PartF *string `json:"part_f"` DescrF *string `json:"descr_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetDeviceClassesParams ¶
type GetDeviceCredentialsParams ¶
type GetDeviceCredentialsParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` UsernameF string `json:"username_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetDeviceDomainsParams ¶
type GetDeviceExtensionsParams ¶
type GetDeviceExtensionsParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` FieldF string `json:"field_f"` ContentF *string `json:"content_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetDeviceLicensesParams ¶
type GetDeviceLicensesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` InstalledLe *string `json:"installed_le"` InstalledGe *string `json:"installed_ge"` UnlockedLe *string `json:"unlocked_le"` UnlockedGe *string `json:"unlocked_ge"` TotInstLe *string `json:"tot_inst_le"` TotInstGe *string `json:"tot_inst_ge"` UsedLe *string `json:"used_le"` UsedGe *string `json:"used_ge"` ProductF *string `json:"product_f"` DescrF *string `json:"descr_f"` ConditionF *string `json:"condition_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetDeviceStatesParams ¶
type GetDeviceTypesParams ¶
type GetDeviceTypesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` SysIDF string `json:"sys_id_f"` ManufacturerF string `json:"manufacturer_f"` ModelF string `json:"model_f"` HcF string `json:"hc_f"` SnmpVerF string `json:"snmp_ver_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetDevicesParams ¶
type GetDevicesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` SysIDF string `json:"sys_id_f"` HostNameF string `json:"host_name_f"` SourceF string `json:"source_f"` SwVersionF *string `json:"sw_version_f"` NotesF *string `json:"notes_f"` SysNameF *string `json:"sys_name_f"` ExtModelF *string `json:"ext_model_f"` Ip4AddrF pgtype.Inet `json:"ip4_addr_f"` Ip6AddrF pgtype.Inet `json:"ip6_addr_f"` InstalledF string `json:"installed_f"` MonitorF string `json:"monitor_f"` GraphF string `json:"graph_f"` BackupF string `json:"backup_f"` TypeChangedF string `json:"type_changed_f"` BackupFailedF string `json:"backup_failed_f"` ValidationFailedF string `json:"validation_failed_f"` UnresponsiveF string `json:"unresponsive_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetEntitiesParams ¶
type GetEntitiesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` SnmpEntIDF *string `json:"snmp_ent_id_f"` SlotF *string `json:"slot_f"` DescrF *string `json:"descr_f"` ModelF *string `json:"model_f"` HwProductF *string `json:"hw_product_f"` HwRevisionF *string `json:"hw_revision_f"` SerialNrF *string `json:"serial_nr_f"` SwProductF *string `json:"sw_product_f"` SwRevisionF *string `json:"sw_revision_f"` ManufacturerF *string `json:"manufacturer_f"` PhysicalF string `json:"physical_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetEntityPhyIndexesParams ¶
type GetEntityPhyIndexesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` PhyIndexF string `json:"phy_index_f"` DescrF string `json:"descr_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetIntBwStatsParams ¶
type GetIntBwStatsParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` To50inLe *string `json:"to50in_le"` To50inGe *string `json:"to50in_ge"` To75inLe *string `json:"to75in_le"` To75inGe *string `json:"to75in_ge"` To90inLe *string `json:"to90in_le"` To90inGe *string `json:"to90in_ge"` To100inLe *string `json:"to100in_le"` To100inGe *string `json:"to100in_ge"` To50outLe *string `json:"to50out_le"` To50outGe *string `json:"to50out_ge"` To75outLe *string `json:"to75out_le"` To75outGe *string `json:"to75out_ge"` To90outLe *string `json:"to90out_le"` To90outGe *string `json:"to90out_ge"` To100outLe *string `json:"to100out_le"` To100outGe *string `json:"to100out_ge"` IfGroupF string `json:"if_group_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetInterfacesParams ¶
type GetInterfacesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` IfindexF *string `json:"ifindex_f"` DescrF string `json:"descr_f"` AliasF *string `json:"alias_f"` OperF *string `json:"oper_f"` AdmF *string `json:"adm_f"` SpeedF *string `json:"speed_f"` MinspeedF *string `json:"minspeed_f"` TypeEnumF *string `json:"type_enum_f"` MacF pgtype.Macaddr `json:"mac_f"` MonstatusF string `json:"monstatus_f"` MonerrorsF string `json:"monerrors_f"` MonloadF string `json:"monload_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetIpInterfacesParams ¶
type GetIpInterfacesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` IfindexF *string `json:"ifindex_f"` DescrF *string `json:"descr_f"` AliasF *string `json:"alias_f"` IpAddrF pgtype.Inet `json:"ip_addr_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetOspfNbrsParams ¶
type GetOspfNbrsParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` ConditionF *string `json:"condition_f"` NbrIpF pgtype.Inet `json:"nbr_ip_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetRlNbrsParams ¶
type GetSitesParams ¶
type GetSitesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` UidentF *string `json:"uident_f"` DescrF string `json:"descr_f"` AreaF *string `json:"area_f"` AddrF *string `json:"addr_f"` NotesF *string `json:"notes_f"` ExtNameF *string `json:"ext_name_f"` ExtIDF *string `json:"ext_id_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetSnmpCredentialsParams ¶
type GetSnmpCredentialsParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` LabelF string `json:"label_f"` VariantF string `json:"variant_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetSubinterfacesParams ¶
type GetSubinterfacesParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` IfindexF *string `json:"ifindex_f"` DescrF string `json:"descr_f"` AliasF *string `json:"alias_f"` OperF *string `json:"oper_f"` AdmF *string `json:"adm_f"` SpeedF *string `json:"speed_f"` TypeEnumF *string `json:"type_enum_f"` MacF pgtype.Macaddr `json:"mac_f"` NotesF *string `json:"notes_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetUserAuthzParams ¶
type GetUserAuthzUserParams ¶
type GetUserAuthzsParams ¶
type GetUserAuthzsParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` UsernameF string `json:"username_f"` UserlevelLe string `json:"userlevel_le"` UserlevelGe string `json:"userlevel_ge"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetUserGraphsParams ¶
type GetUserGraphsParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` UsernameF string `json:"username_f"` DescrF string `json:"descr_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetUsersParams ¶
type GetUsersParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` UsernameF string `json:"username_f"` UserlevelLe string `json:"userlevel_le"` UserlevelGe string `json:"userlevel_ge"` NotesF *string `json:"notes_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetVarsParams ¶
type GetVarsParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` DescrF string `json:"descr_f"` ContentF *string `json:"content_f"` NotesF *string `json:"notes_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetVlansParams ¶
type GetVlansParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` DescrF *string `json:"descr_f"` VlanF string `json:"vlan_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type GetXconnectsParams ¶
type GetXconnectsParams struct { UpdatedGe time.Time `json:"updated_ge"` UpdatedLe time.Time `json:"updated_le"` CreatedGe time.Time `json:"created_ge"` CreatedLe time.Time `json:"created_le"` VcIdxF string `json:"vc_idx_f"` VcIDF string `json:"vc_id_f"` PeerIpF pgtype.Inet `json:"peer_ip_f"` PeerIfaliasF *string `json:"peer_ifalias_f"` XnameF *string `json:"xname_f"` DescrF *string `json:"descr_f"` OpStatF *string `json:"op_stat_f"` OpStatInF *string `json:"op_stat_in_f"` OpStatOutF *string `json:"op_stat_out_f"` OffsetQ int32 `json:"offset_q"` LimitQ int32 `json:"limit_q"` }
type IntBwStat ¶
type IntBwStat struct { BwID int64 `json:"bw_id"` IfID int64 `json:"if_id"` To50in *int16 `json:"to50in"` To75in *int16 `json:"to75in"` To90in *int16 `json:"to90in"` To100in *int16 `json:"to100in"` To50out *int16 `json:"to50out"` To75out *int16 `json:"to75out"` To90out *int16 `json:"to90out"` To100out *int16 `json:"to100out"` IfGroup string `json:"if_group"` UpdatedOn time.Time `json:"updated_on"` CreatedOn time.Time `json:"created_on"` }
type Interface ¶
type Interface struct { IfID int64 `json:"if_id"` ConID *int64 `json:"con_id"` Parent *int64 `json:"parent"` OtnIfID *int64 `json:"otn_if_id"` DevID int64 `json:"dev_id"` EntID *int64 `json:"ent_id"` Ifindex *int64 `json:"ifindex"` Descr string `json:"descr"` Alias *string `json:"alias"` Oper *int16 `json:"oper"` Adm *int16 `json:"adm"` Speed *int64 `json:"speed"` Minspeed *int64 `json:"minspeed"` TypeEnum *int16 `json:"type_enum"` Mac pgtype.Macaddr `json:"mac"` Monstatus int16 `json:"monstatus"` Monerrors int16 `json:"monerrors"` Monload int16 `json:"monload"` UpdatedOn time.Time `json:"updated_on"` CreatedOn time.Time `json:"created_on"` Montraffic int16 `json:"montraffic"` }
type InterfaceRelation ¶
type Interfaces2vlan ¶
type IpInterface ¶
type NullSnmpAuthProto ¶
type NullSnmpAuthProto struct { SnmpAuthProto SnmpAuthProto Valid bool // Valid is true if SnmpAuthProto is not NULL }
func (*NullSnmpAuthProto) Scan ¶
func (ns *NullSnmpAuthProto) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullSnmpPrivProto ¶
type NullSnmpPrivProto struct { SnmpPrivProto SnmpPrivProto Valid bool // Valid is true if SnmpPrivProto is not NULL }
func (*NullSnmpPrivProto) Scan ¶
func (ns *NullSnmpPrivProto) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullSnmpSecLevel ¶
type NullSnmpSecLevel struct { SnmpSecLevel SnmpSecLevel Valid bool // Valid is true if SnmpSecLevel is not NULL }
func (*NullSnmpSecLevel) Scan ¶
func (ns *NullSnmpSecLevel) Scan(value interface{}) error
Scan implements the Scanner interface.
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CountArchivedInterfaces ¶
func (*Queries) CountArchivedSubinterfaces ¶
func (*Queries) CountConCapacities ¶
func (*Queries) CountConClasses ¶
func (*Queries) CountConProviders ¶
func (*Queries) CountConnections ¶
func (*Queries) CountCountries ¶
func (*Queries) CountCredentials ¶
func (*Queries) CountCustomEntities ¶
func (*Queries) CountDeviceClasses ¶
func (*Queries) CountDeviceCredentials ¶
func (*Queries) CountDeviceDomains ¶
func (*Queries) CountDeviceExtensions ¶
func (*Queries) CountDeviceLicenses ¶
func (*Queries) CountDeviceStates ¶
func (*Queries) CountDeviceTypes ¶
func (*Queries) CountEntityPhyIndexes ¶
func (*Queries) CountIntBwStats ¶
func (*Queries) CountInterfaceRelations ¶
func (*Queries) CountInterfaces ¶
func (*Queries) CountIpInterfaces ¶
func (*Queries) CountSnmpCredentials ¶
func (*Queries) CountSubinterfaces ¶
func (*Queries) CountUserAuthzs ¶
func (*Queries) CountUserGraphs ¶
func (*Queries) CountXconnects ¶
func (*Queries) CreateArchivedInterface ¶
func (q *Queries) CreateArchivedInterface(ctx context.Context, arg CreateArchivedInterfaceParams) (ArchivedInterface, error)
func (*Queries) CreateArchivedSubinterface ¶
func (q *Queries) CreateArchivedSubinterface(ctx context.Context, arg CreateArchivedSubinterfaceParams) (ArchivedSubinterface, error)
func (*Queries) CreateConCapacity ¶
func (q *Queries) CreateConCapacity(ctx context.Context, arg CreateConCapacityParams) (ConCapacity, error)
func (*Queries) CreateConClass ¶
func (*Queries) CreateConProvider ¶
func (q *Queries) CreateConProvider(ctx context.Context, arg CreateConProviderParams) (ConProvider, error)
func (*Queries) CreateConType ¶
func (*Queries) CreateConnection ¶
func (q *Queries) CreateConnection(ctx context.Context, arg CreateConnectionParams) (Connection, error)
func (*Queries) CreateCountry ¶
func (*Queries) CreateCredential ¶
func (q *Queries) CreateCredential(ctx context.Context, arg CreateCredentialParams) (Credential, error)
func (*Queries) CreateCustomEntity ¶
func (q *Queries) CreateCustomEntity(ctx context.Context, arg CreateCustomEntityParams) (CustomEntity, error)
func (*Queries) CreateDevice ¶
func (*Queries) CreateDeviceClass ¶
func (*Queries) CreateDeviceCredential ¶
func (q *Queries) CreateDeviceCredential(ctx context.Context, arg CreateDeviceCredentialParams) (DeviceCredential, error)
func (*Queries) CreateDeviceDomain ¶
func (*Queries) CreateDeviceExtension ¶
func (q *Queries) CreateDeviceExtension(ctx context.Context, arg CreateDeviceExtensionParams) (DeviceExtension, error)
func (*Queries) CreateDeviceLicense ¶
func (q *Queries) CreateDeviceLicense(ctx context.Context, arg CreateDeviceLicenseParams) (DeviceLicense, error)
func (*Queries) CreateDeviceState ¶
func (q *Queries) CreateDeviceState(ctx context.Context, arg CreateDeviceStateParams) (DeviceState, error)
func (*Queries) CreateDeviceType ¶
func (q *Queries) CreateDeviceType(ctx context.Context, arg CreateDeviceTypeParams) (DeviceType, error)
func (*Queries) CreateEntity ¶
func (*Queries) CreateEntityPhyIndex ¶
func (q *Queries) CreateEntityPhyIndex(ctx context.Context, arg CreateEntityPhyIndexParams) (EntityPhyIndex, error)
func (*Queries) CreateIntBwStat ¶
func (*Queries) CreateInterface ¶
func (*Queries) CreateInterface2vlan ¶
func (q *Queries) CreateInterface2vlan(ctx context.Context, arg CreateInterface2vlanParams) (Interfaces2vlan, error)
func (*Queries) CreateInterfaceRelation ¶
func (q *Queries) CreateInterfaceRelation(ctx context.Context, arg CreateInterfaceRelationParams) (InterfaceRelation, error)
func (*Queries) CreateIpInterface ¶
func (q *Queries) CreateIpInterface(ctx context.Context, arg CreateIpInterfaceParams) (IpInterface, error)
func (*Queries) CreateOspfNbr ¶
func (*Queries) CreateRlNbr ¶
func (*Queries) CreateSite ¶
func (*Queries) CreateSnmpCredential ¶
func (q *Queries) CreateSnmpCredential(ctx context.Context, arg CreateSnmpCredentialParams) (SnmpCredential, error)
func (*Queries) CreateSubinterface ¶
func (q *Queries) CreateSubinterface(ctx context.Context, arg CreateSubinterfaceParams) (Subinterface, error)
func (*Queries) CreateUser ¶
func (*Queries) CreateUserAuthz ¶
func (*Queries) CreateUserGraph ¶
func (*Queries) CreateVlan ¶
func (*Queries) CreateXconnect ¶
func (*Queries) DeleteArchivedInterface ¶
func (*Queries) DeleteArchivedSubinterface ¶
func (*Queries) DeleteConCapacity ¶
func (*Queries) DeleteConClass ¶
func (*Queries) DeleteConProvider ¶
func (*Queries) DeleteConType ¶
func (*Queries) DeleteConnection ¶
func (*Queries) DeleteCountry ¶
func (*Queries) DeleteCredential ¶
func (*Queries) DeleteCustomEntity ¶
func (*Queries) DeleteDevice ¶
func (*Queries) DeleteDeviceClass ¶
func (*Queries) DeleteDeviceCredential ¶
func (*Queries) DeleteDeviceDomain ¶
func (*Queries) DeleteDeviceExtension ¶
func (*Queries) DeleteDeviceLicense ¶
func (*Queries) DeleteDeviceState ¶
func (*Queries) DeleteDeviceType ¶
func (*Queries) DeleteEntity ¶
func (*Queries) DeleteEntityPhyIndex ¶
func (*Queries) DeleteIntBwStat ¶
func (*Queries) DeleteInterface ¶
func (*Queries) DeleteInterface2vlan ¶
func (q *Queries) DeleteInterface2vlan(ctx context.Context, arg DeleteInterface2vlanParams) error
func (*Queries) DeleteInterfaceRelation ¶
func (*Queries) DeleteIpInterface ¶
func (*Queries) DeleteOspfNbr ¶
func (*Queries) DeleteSnmpCredential ¶
func (*Queries) DeleteSubinterface ¶
func (*Queries) DeleteUser ¶
func (*Queries) DeleteUserAuthz ¶
func (q *Queries) DeleteUserAuthz(ctx context.Context, arg DeleteUserAuthzParams) error
func (*Queries) DeleteUserGraph ¶
func (*Queries) DeleteXconnect ¶
func (*Queries) GetArchivedInterface ¶
func (*Queries) GetArchivedInterfaces ¶
func (q *Queries) GetArchivedInterfaces(ctx context.Context, arg GetArchivedInterfacesParams) ([]ArchivedInterface, error)
func (*Queries) GetArchivedSubinterface ¶
func (*Queries) GetArchivedSubinterfaces ¶
func (q *Queries) GetArchivedSubinterfaces(ctx context.Context, arg GetArchivedSubinterfacesParams) ([]ArchivedSubinterface, error)
func (*Queries) GetConCapacities ¶
func (q *Queries) GetConCapacities(ctx context.Context, arg GetConCapacitiesParams) ([]ConCapacity, error)
func (*Queries) GetConCapacity ¶
func (*Queries) GetConCapacityConnections ¶
func (q *Queries) GetConCapacityConnections(ctx context.Context, conCapID int64) ([]Connection, error)
Relations
func (*Queries) GetConClass ¶
func (*Queries) GetConClassConnections ¶
func (q *Queries) GetConClassConnections(ctx context.Context, conClassID int64) ([]Connection, error)
Relations
func (*Queries) GetConClasses ¶
func (*Queries) GetConProvider ¶
func (*Queries) GetConProviderConnections ¶
func (q *Queries) GetConProviderConnections(ctx context.Context, conProvID int64) ([]Connection, error)
Relations
func (*Queries) GetConProviders ¶
func (q *Queries) GetConProviders(ctx context.Context, arg GetConProvidersParams) ([]ConProvider, error)
func (*Queries) GetConType ¶
func (*Queries) GetConTypeConnections ¶
Relations
func (*Queries) GetConTypes ¶
func (*Queries) GetConnection ¶
func (*Queries) GetConnectionConCapacitiy ¶
Foreign keys
func (*Queries) GetConnectionConClass ¶
Foreign keys
func (*Queries) GetConnectionConProvider ¶
Foreign keys
func (*Queries) GetConnectionConType ¶
Foreign keys
func (*Queries) GetConnectionInterfaces ¶
Relations
func (*Queries) GetConnectionSite ¶
Foreign keys
func (*Queries) GetConnections ¶
func (q *Queries) GetConnections(ctx context.Context, arg GetConnectionsParams) ([]Connection, error)
func (*Queries) GetCountries ¶
func (*Queries) GetCountry ¶
func (*Queries) GetCountrySites ¶
Relations
func (*Queries) GetCredential ¶
func (*Queries) GetCredentials ¶
func (q *Queries) GetCredentials(ctx context.Context, arg GetCredentialsParams) ([]Credential, error)
func (*Queries) GetCustomEntities ¶
func (q *Queries) GetCustomEntities(ctx context.Context, arg GetCustomEntitiesParams) ([]CustomEntity, error)
func (*Queries) GetCustomEntity ¶
func (*Queries) GetDeviceChilds ¶
Relations
func (*Queries) GetDeviceClass ¶
func (*Queries) GetDeviceClassDeviceTypes ¶
func (q *Queries) GetDeviceClassDeviceTypes(ctx context.Context, classID int64) ([]DeviceType, error)
Relations
func (*Queries) GetDeviceClasses ¶
func (q *Queries) GetDeviceClasses(ctx context.Context, arg GetDeviceClassesParams) ([]DeviceClass, error)
func (*Queries) GetDeviceCredential ¶
func (*Queries) GetDeviceCredentialDevice ¶
Foreign keys
func (*Queries) GetDeviceCredentials ¶
func (q *Queries) GetDeviceCredentials(ctx context.Context, arg GetDeviceCredentialsParams) ([]DeviceCredential, error)
func (*Queries) GetDeviceDeviceCredentials ¶
func (q *Queries) GetDeviceDeviceCredentials(ctx context.Context, devID int64) ([]DeviceCredential, error)
Relations
func (*Queries) GetDeviceDeviceDomain ¶
Foreign keys
func (*Queries) GetDeviceDeviceExtensions ¶
func (q *Queries) GetDeviceDeviceExtensions(ctx context.Context, devID int64) ([]DeviceExtension, error)
Relations
func (*Queries) GetDeviceDeviceLicenses ¶
func (q *Queries) GetDeviceDeviceLicenses(ctx context.Context, devID int64) ([]DeviceLicense, error)
Relations
func (*Queries) GetDeviceDeviceState ¶
Relations
func (*Queries) GetDeviceDeviceType ¶
Foreign keys
func (*Queries) GetDeviceDomain ¶
func (*Queries) GetDeviceDomainDevices ¶
Relations
func (*Queries) GetDeviceDomainUserAuthzs ¶
func (*Queries) GetDeviceDomains ¶
func (q *Queries) GetDeviceDomains(ctx context.Context, arg GetDeviceDomainsParams) ([]DeviceDomain, error)
func (*Queries) GetDeviceEntities ¶
Relations
func (*Queries) GetDeviceExtension ¶
func (*Queries) GetDeviceExtensionDevice ¶
Foreign keys
func (*Queries) GetDeviceExtensions ¶
func (q *Queries) GetDeviceExtensions(ctx context.Context, arg GetDeviceExtensionsParams) ([]DeviceExtension, error)
func (*Queries) GetDeviceInterfaces ¶
Relations
func (*Queries) GetDeviceIpInterfaces ¶
Relations
func (*Queries) GetDeviceLicense ¶
func (*Queries) GetDeviceLicenseDevice ¶
Foreign keys
func (*Queries) GetDeviceLicenses ¶
func (q *Queries) GetDeviceLicenses(ctx context.Context, arg GetDeviceLicensesParams) ([]DeviceLicense, error)
func (*Queries) GetDeviceOspfNbrs ¶
Relations
func (*Queries) GetDeviceParent ¶
Foreign keys
func (*Queries) GetDevicePeerXconnects ¶
Relations
func (*Queries) GetDeviceRlNbrs ¶
Relations
func (*Queries) GetDeviceSite ¶
Foreign keys
func (*Queries) GetDeviceSnmpCredentialsMain ¶
func (q *Queries) GetDeviceSnmpCredentialsMain(ctx context.Context, devID int64) (SnmpCredential, error)
Foreign keys
func (*Queries) GetDeviceSnmpCredentialsRo ¶
func (q *Queries) GetDeviceSnmpCredentialsRo(ctx context.Context, devID int64) (SnmpCredential, error)
Foreign keys
func (*Queries) GetDeviceState ¶
func (*Queries) GetDeviceStateDevice ¶
Foreign keys
func (*Queries) GetDeviceStates ¶
func (q *Queries) GetDeviceStates(ctx context.Context, arg GetDeviceStatesParams) ([]DeviceState, error)
func (*Queries) GetDeviceType ¶
func (*Queries) GetDeviceTypeDeviceClass ¶
Foreign keys
func (*Queries) GetDeviceTypeDevices ¶
Relations
func (*Queries) GetDeviceTypes ¶
func (q *Queries) GetDeviceTypes(ctx context.Context, arg GetDeviceTypesParams) ([]DeviceType, error)
func (*Queries) GetDeviceVlans ¶
Relations
func (*Queries) GetDeviceXconnects ¶
Relations
func (*Queries) GetDevices ¶
func (*Queries) GetEntities ¶
func (*Queries) GetEntityChilds ¶
Relations
func (*Queries) GetEntityDevice ¶
Foreign keys
func (*Queries) GetEntityEntityPhyIndexes ¶
func (q *Queries) GetEntityEntityPhyIndexes(ctx context.Context, entID int64) ([]EntityPhyIndex, error)
Relations
func (*Queries) GetEntityInterfaces ¶
Relations
func (*Queries) GetEntityParent ¶
Foreign keys
func (*Queries) GetEntityPhyIndex ¶
func (*Queries) GetEntityPhyIndexEntity ¶
Foreign keys
func (*Queries) GetEntityPhyIndexes ¶
func (q *Queries) GetEntityPhyIndexes(ctx context.Context, arg GetEntityPhyIndexesParams) ([]EntityPhyIndex, error)
func (*Queries) GetEntityRlfNbrs ¶
Relations
func (*Queries) GetIntBwStat ¶
func (*Queries) GetIntBwStatInterface ¶
Foreign keys
func (*Queries) GetIntBwStats ¶
func (*Queries) GetInterface ¶
func (*Queries) GetInterfaceChilds ¶
Relations
func (*Queries) GetInterfaceConnection ¶
Foreign keys
func (*Queries) GetInterfaceDevice ¶
Foreign keys
func (*Queries) GetInterfaceEntity ¶
Foreign keys
func (*Queries) GetInterfaceIntBwStats ¶
Relations
func (*Queries) GetInterfaceInterfaceRelations ¶
func (q *Queries) GetInterfaceInterfaceRelations(ctx context.Context, ifID int64) ([]InterfaceRelation, error)
Relations
func (*Queries) GetInterfaceInterfaceRelationsHigherFor ¶
func (q *Queries) GetInterfaceInterfaceRelationsHigherFor(ctx context.Context, ifID int64) ([]Interface, error)
Relations
func (*Queries) GetInterfaceInterfaceRelationsLowerFor ¶
func (q *Queries) GetInterfaceInterfaceRelationsLowerFor(ctx context.Context, ifID int64) ([]Interface, error)
Relations
func (*Queries) GetInterfaceOtnIf ¶
Foreign keys
func (*Queries) GetInterfaceParent ¶
Foreign keys
func (*Queries) GetInterfaceRelation ¶
func (*Queries) GetInterfaceRelationInterface ¶
Foreign keys
func (*Queries) GetInterfaceRelationInterfaceDown ¶
func (q *Queries) GetInterfaceRelationInterfaceDown(ctx context.Context, irID int64) (Interface, error)
Foreign keys
func (*Queries) GetInterfaceRelationInterfaceUp ¶
func (q *Queries) GetInterfaceRelationInterfaceUp(ctx context.Context, irID int64) (Interface, error)
Foreign keys
func (*Queries) GetInterfaceRelations ¶
func (q *Queries) GetInterfaceRelations(ctx context.Context, arg GetInterfaceRelationsParams) ([]InterfaceRelation, error)
func (*Queries) GetInterfaceSubinterfaces ¶
func (q *Queries) GetInterfaceSubinterfaces(ctx context.Context, ifID *int64) ([]Subinterface, error)
Relations
func (*Queries) GetInterfaceVlans ¶
Relations
func (*Queries) GetInterfaceXconnects ¶
Relations
func (*Queries) GetInterfaces ¶
func (*Queries) GetInterfaces2vlans ¶
func (q *Queries) GetInterfaces2vlans(ctx context.Context) ([]Interfaces2vlan, error)
func (*Queries) GetIpInterface ¶
func (*Queries) GetIpInterfaceDevice ¶
Foreign keys
func (*Queries) GetIpInterfaces ¶
func (q *Queries) GetIpInterfaces(ctx context.Context, arg GetIpInterfacesParams) ([]IpInterface, error)
func (*Queries) GetOspfNbr ¶
func (*Queries) GetOspfNbrDevice ¶
Foreign keys
func (*Queries) GetOspfNbrs ¶
func (*Queries) GetRlNbrDevice ¶
Foreign keys
func (*Queries) GetRlNbrEntity ¶
Foreign keys
func (*Queries) GetSiteConnections ¶
Relations
func (*Queries) GetSiteCountry ¶
Foreign keys
func (*Queries) GetSiteDevices ¶
Relations
func (*Queries) GetSnmpCredential ¶
func (*Queries) GetSnmpCredentials ¶
func (q *Queries) GetSnmpCredentials(ctx context.Context, arg GetSnmpCredentialsParams) ([]SnmpCredential, error)
func (*Queries) GetSnmpCredentialsMainDevices ¶
func (q *Queries) GetSnmpCredentialsMainDevices(ctx context.Context, snmpCredID int64) ([]Device, error)
Relations
func (*Queries) GetSnmpCredentialsRoDevices ¶
func (q *Queries) GetSnmpCredentialsRoDevices(ctx context.Context, snmpCredID int64) ([]Device, error)
Relations
func (*Queries) GetSubinterface ¶
func (*Queries) GetSubinterfaceInterface ¶
Foreign keys
func (*Queries) GetSubinterfaces ¶
func (q *Queries) GetSubinterfaces(ctx context.Context, arg GetSubinterfacesParams) ([]Subinterface, error)
func (*Queries) GetUserAuthz ¶
func (*Queries) GetUserAuthzDeviceDomain ¶
func (q *Queries) GetUserAuthzDeviceDomain(ctx context.Context, arg GetUserAuthzDeviceDomainParams) (DeviceDomain, error)
Foreign keys
func (*Queries) GetUserAuthzUser ¶
Foreign keys
func (*Queries) GetUserAuthzs ¶
func (*Queries) GetUserGraph ¶
func (*Queries) GetUserGraphUser ¶
Foreign keys
func (*Queries) GetUserGraphs ¶
func (*Queries) GetUserUserAuthzs ¶
Relations
func (*Queries) GetUserUserGraphs ¶
Relations
func (*Queries) GetVlanDevice ¶
Foreign keys
func (*Queries) GetVlanInterfaces ¶
Relations
func (*Queries) GetXconnect ¶
func (*Queries) GetXconnectDevice ¶
Foreign keys
func (*Queries) GetXconnectInterface ¶
Foreign keys
func (*Queries) GetXconnectPeerDevice ¶
Foreign keys
func (*Queries) GetXconnects ¶
func (*Queries) UpdateArchivedInterface ¶
func (q *Queries) UpdateArchivedInterface(ctx context.Context, arg UpdateArchivedInterfaceParams) (ArchivedInterface, error)
func (*Queries) UpdateArchivedSubinterface ¶
func (q *Queries) UpdateArchivedSubinterface(ctx context.Context, arg UpdateArchivedSubinterfaceParams) (ArchivedSubinterface, error)
func (*Queries) UpdateConCapacity ¶
func (q *Queries) UpdateConCapacity(ctx context.Context, arg UpdateConCapacityParams) (ConCapacity, error)
func (*Queries) UpdateConClass ¶
func (*Queries) UpdateConProvider ¶
func (q *Queries) UpdateConProvider(ctx context.Context, arg UpdateConProviderParams) (ConProvider, error)
func (*Queries) UpdateConType ¶
func (*Queries) UpdateConnection ¶
func (q *Queries) UpdateConnection(ctx context.Context, arg UpdateConnectionParams) (Connection, error)
func (*Queries) UpdateCountry ¶
func (*Queries) UpdateCredential ¶
func (q *Queries) UpdateCredential(ctx context.Context, arg UpdateCredentialParams) (Credential, error)
func (*Queries) UpdateCustomEntity ¶
func (q *Queries) UpdateCustomEntity(ctx context.Context, arg UpdateCustomEntityParams) (CustomEntity, error)
func (*Queries) UpdateDevice ¶
func (*Queries) UpdateDeviceClass ¶
func (q *Queries) UpdateDeviceClass(ctx context.Context, arg UpdateDeviceClassParams) (DeviceClass, error)
func (*Queries) UpdateDeviceCredential ¶
func (q *Queries) UpdateDeviceCredential(ctx context.Context, arg UpdateDeviceCredentialParams) (DeviceCredential, error)
func (*Queries) UpdateDeviceDomain ¶
func (q *Queries) UpdateDeviceDomain(ctx context.Context, arg UpdateDeviceDomainParams) (DeviceDomain, error)
func (*Queries) UpdateDeviceExtension ¶
func (q *Queries) UpdateDeviceExtension(ctx context.Context, arg UpdateDeviceExtensionParams) (DeviceExtension, error)
func (*Queries) UpdateDeviceLicense ¶
func (q *Queries) UpdateDeviceLicense(ctx context.Context, arg UpdateDeviceLicenseParams) (DeviceLicense, error)
func (*Queries) UpdateDeviceState ¶
func (q *Queries) UpdateDeviceState(ctx context.Context, arg UpdateDeviceStateParams) (DeviceState, error)
func (*Queries) UpdateDeviceType ¶
func (q *Queries) UpdateDeviceType(ctx context.Context, arg UpdateDeviceTypeParams) (DeviceType, error)
func (*Queries) UpdateEntity ¶
func (*Queries) UpdateEntityPhyIndex ¶
func (q *Queries) UpdateEntityPhyIndex(ctx context.Context, arg UpdateEntityPhyIndexParams) (EntityPhyIndex, error)
func (*Queries) UpdateIntBwStat ¶
func (*Queries) UpdateInterface ¶
func (*Queries) UpdateInterfaceRelation ¶
func (q *Queries) UpdateInterfaceRelation(ctx context.Context, arg UpdateInterfaceRelationParams) (InterfaceRelation, error)
func (*Queries) UpdateIpInterface ¶
func (q *Queries) UpdateIpInterface(ctx context.Context, arg UpdateIpInterfaceParams) (IpInterface, error)
func (*Queries) UpdateOspfNbr ¶
func (*Queries) UpdateRlNbr ¶
func (*Queries) UpdateSite ¶
func (*Queries) UpdateSnmpCredential ¶
func (q *Queries) UpdateSnmpCredential(ctx context.Context, arg UpdateSnmpCredentialParams) (SnmpCredential, error)
func (*Queries) UpdateSubinterface ¶
func (q *Queries) UpdateSubinterface(ctx context.Context, arg UpdateSubinterfaceParams) (Subinterface, error)
func (*Queries) UpdateUser ¶
func (*Queries) UpdateUserAuthz ¶
func (*Queries) UpdateUserGraph ¶
func (*Queries) UpdateVlan ¶
func (*Queries) UpdateXconnect ¶
type Site ¶
type Site struct { SiteID int64 `json:"site_id"` CountryID int64 `json:"country_id"` Uident *string `json:"uident"` Descr string `json:"descr"` Latitude *float32 `json:"latitude"` Longitude *float32 `json:"longitude"` Area *string `json:"area"` Addr *string `json:"addr"` Notes *string `json:"notes"` ExtID *int64 `json:"ext_id"` ExtName *string `json:"ext_name"` UpdatedOn time.Time `json:"updated_on"` CreatedOn time.Time `json:"created_on"` }
type SnmpAuthProto ¶
type SnmpAuthProto string
const ( SnmpAuthProtoNoAuth SnmpAuthProto = "NoAuth" SnmpAuthProtoMD5 SnmpAuthProto = "MD5" SnmpAuthProtoSHA SnmpAuthProto = "SHA" )
func AllSnmpAuthProtoValues ¶
func AllSnmpAuthProtoValues() []SnmpAuthProto
func (*SnmpAuthProto) Scan ¶
func (e *SnmpAuthProto) Scan(src interface{}) error
type SnmpCredential ¶
type SnmpCredential struct { SnmpCredID int64 `json:"snmp_cred_id"` Label string `json:"label"` Variant int32 `json:"variant"` // Community or SecName AuthName string `json:"auth_name"` AuthProto NullSnmpAuthProto `json:"auth_proto"` AuthPass *string `json:"auth_pass"` SecLevel NullSnmpSecLevel `json:"sec_level"` PrivProto NullSnmpPrivProto `json:"priv_proto"` PrivPass *string `json:"priv_pass"` UpdatedOn time.Time `json:"updated_on"` CreatedOn time.Time `json:"created_on"` }
type SnmpPrivProto ¶
type SnmpPrivProto string
const ( SnmpPrivProtoNoPriv SnmpPrivProto = "NoPriv" SnmpPrivProtoDES SnmpPrivProto = "DES" SnmpPrivProtoAES SnmpPrivProto = "AES" SnmpPrivProtoAES192 SnmpPrivProto = "AES192" SnmpPrivProtoAES192C SnmpPrivProto = "AES192C" SnmpPrivProtoAES256 SnmpPrivProto = "AES256" SnmpPrivProtoAES256C SnmpPrivProto = "AES256C" )
func AllSnmpPrivProtoValues ¶
func AllSnmpPrivProtoValues() []SnmpPrivProto
func (*SnmpPrivProto) Scan ¶
func (e *SnmpPrivProto) Scan(src interface{}) error
type SnmpSecLevel ¶
type SnmpSecLevel string
const ( SnmpSecLevelNoAuthNoPriv SnmpSecLevel = "noAuthNoPriv" SnmpSecLevelAuthNoPriv SnmpSecLevel = "authNoPriv" SnmpSecLevelAuthPriv SnmpSecLevel = "authPriv" )
func AllSnmpSecLevelValues ¶
func AllSnmpSecLevelValues() []SnmpSecLevel
func (*SnmpSecLevel) Scan ¶
func (e *SnmpSecLevel) Scan(src interface{}) error
type Subinterface ¶
type Subinterface struct { SifID int64 `json:"sif_id"` IfID *int64 `json:"if_id"` Ifindex *int64 `json:"ifindex"` Descr string `json:"descr"` Alias *string `json:"alias"` Oper *int16 `json:"oper"` Adm *int16 `json:"adm"` Speed *int64 `json:"speed"` TypeEnum *string `json:"type_enum"` Mac pgtype.Macaddr `json:"mac"` Notes *string `json:"notes"` UpdatedOn time.Time `json:"updated_on"` CreatedOn time.Time `json:"created_on"` }
type UpdateArchivedInterfaceParams ¶
type UpdateArchivedInterfaceParams struct { IfaID int64 `json:"ifa_id"` Ifindex *int64 `json:"ifindex"` OtnIfID *int64 `json:"otn_if_id"` CiscoOptPowerIndex *string `json:"cisco_opt_power_index"` Hostname string `json:"hostname"` HostIp4 pgtype.Inet `json:"host_ip4"` HostIp6 pgtype.Inet `json:"host_ip6"` Manufacturer string `json:"manufacturer"` Model string `json:"model"` Descr string `json:"descr"` Alias *string `json:"alias"` TypeEnum *int16 `json:"type_enum"` Mac pgtype.Macaddr `json:"mac"` }
type UpdateArchivedSubinterfaceParams ¶
type UpdateArchivedSubinterfaceParams struct { SifaID int64 `json:"sifa_id"` Ifindex *int64 `json:"ifindex"` Descr string `json:"descr"` ParentDescr *string `json:"parent_descr"` Alias *string `json:"alias"` Type *string `json:"type"` Mac pgtype.Macaddr `json:"mac"` Hostname string `json:"hostname"` HostIp4 pgtype.Inet `json:"host_ip4"` HostIp6 pgtype.Inet `json:"host_ip6"` Notes *string `json:"notes"` }
type UpdateConCapacityParams ¶
type UpdateConClassParams ¶
type UpdateConProviderParams ¶
type UpdateConTypeParams ¶
type UpdateConnectionParams ¶
type UpdateConnectionParams struct { ConID int64 `json:"con_id"` SiteID int64 `json:"site_id"` ConProvID int64 `json:"con_prov_id"` ConTypeID int64 `json:"con_type_id"` ConCapID int64 `json:"con_cap_id"` ConClassID int64 `json:"con_class_id"` Hint *string `json:"hint"` Notes *string `json:"notes"` InUse bool `json:"in_use"` }
type UpdateCountryParams ¶
type UpdateCredentialParams ¶
type UpdateDeviceClassParams ¶
type UpdateDeviceLicenseParams ¶
type UpdateDeviceLicenseParams struct { LicID int64 `json:"lic_id"` DevID int64 `json:"dev_id"` Product *string `json:"product"` Descr *string `json:"descr"` Installed *int32 `json:"installed"` Unlocked *int32 `json:"unlocked"` TotInst *int32 `json:"tot_inst"` Used *int32 `json:"used"` Condition *string `json:"condition"` }
type UpdateDeviceParams ¶
type UpdateDeviceParams struct { DevID int64 `json:"dev_id"` SiteID *int64 `json:"site_id"` DomID int64 `json:"dom_id"` SnmpMainID *int64 `json:"snmp_main_id"` SnmpRoID *int64 `json:"snmp_ro_id"` Parent *int64 `json:"parent"` SysID string `json:"sys_id"` Ip4Addr pgtype.Inet `json:"ip4_addr"` Ip6Addr pgtype.Inet `json:"ip6_addr"` HostName string `json:"host_name"` SysName *string `json:"sys_name"` SysLocation *string `json:"sys_location"` SysContact *string `json:"sys_contact"` SwVersion *string `json:"sw_version"` ExtModel *string `json:"ext_model"` Installed bool `json:"installed"` Monitor bool `json:"monitor"` Graph bool `json:"graph"` Backup bool `json:"backup"` Source string `json:"source"` TypeChanged bool `json:"type_changed"` BackupFailed bool `json:"backup_failed"` ValidationFailed bool `json:"validation_failed"` Unresponsive bool `json:"unresponsive"` Notes *string `json:"notes"` }
type UpdateDeviceStateParams ¶
type UpdateDeviceTypeParams ¶
type UpdateEntityParams ¶
type UpdateEntityParams struct { EntID int64 `json:"ent_id"` ParentEntID *int64 `json:"parent_ent_id"` SnmpEntID *int64 `json:"snmp_ent_id"` DevID int64 `json:"dev_id"` Slot *string `json:"slot"` Descr *string `json:"descr"` Model *string `json:"model"` HwProduct *string `json:"hw_product"` HwRevision *string `json:"hw_revision"` SerialNr *string `json:"serial_nr"` SwProduct *string `json:"sw_product"` SwRevision *string `json:"sw_revision"` Manufacturer *string `json:"manufacturer"` Physical bool `json:"physical"` }
type UpdateIntBwStatParams ¶
type UpdateIntBwStatParams struct { BwID int64 `json:"bw_id"` IfID int64 `json:"if_id"` To50in *int16 `json:"to50in"` To75in *int16 `json:"to75in"` To90in *int16 `json:"to90in"` To100in *int16 `json:"to100in"` To50out *int16 `json:"to50out"` To75out *int16 `json:"to75out"` To90out *int16 `json:"to90out"` To100out *int16 `json:"to100out"` IfGroup string `json:"if_group"` }
type UpdateInterfaceParams ¶
type UpdateInterfaceParams struct { IfID int64 `json:"if_id"` ConID *int64 `json:"con_id"` Parent *int64 `json:"parent"` OtnIfID *int64 `json:"otn_if_id"` DevID int64 `json:"dev_id"` EntID *int64 `json:"ent_id"` Ifindex *int64 `json:"ifindex"` Descr string `json:"descr"` Alias *string `json:"alias"` Oper *int16 `json:"oper"` Adm *int16 `json:"adm"` Speed *int64 `json:"speed"` Minspeed *int64 `json:"minspeed"` TypeEnum *int16 `json:"type_enum"` Mac pgtype.Macaddr `json:"mac"` Monstatus int16 `json:"monstatus"` Monerrors int16 `json:"monerrors"` Monload int16 `json:"monload"` Montraffic int16 `json:"montraffic"` }
type UpdateIpInterfaceParams ¶
type UpdateOspfNbrParams ¶
type UpdateRlNbrParams ¶
type UpdateSiteParams ¶
type UpdateSiteParams struct { SiteID int64 `json:"site_id"` CountryID int64 `json:"country_id"` Uident *string `json:"uident"` Descr string `json:"descr"` Latitude *float32 `json:"latitude"` Longitude *float32 `json:"longitude"` Area *string `json:"area"` Addr *string `json:"addr"` Notes *string `json:"notes"` ExtID *int64 `json:"ext_id"` ExtName *string `json:"ext_name"` }
type UpdateSnmpCredentialParams ¶
type UpdateSnmpCredentialParams struct { SnmpCredID int64 `json:"snmp_cred_id"` Label string `json:"label"` Variant int32 `json:"variant"` AuthName string `json:"auth_name"` AuthProto NullSnmpAuthProto `json:"auth_proto"` AuthPass *string `json:"auth_pass"` SecLevel NullSnmpSecLevel `json:"sec_level"` PrivProto NullSnmpPrivProto `json:"priv_proto"` PrivPass *string `json:"priv_pass"` }
type UpdateSubinterfaceParams ¶
type UpdateSubinterfaceParams struct { SifID int64 `json:"sif_id"` IfID *int64 `json:"if_id"` Ifindex *int64 `json:"ifindex"` Descr string `json:"descr"` Alias *string `json:"alias"` Oper *int16 `json:"oper"` Adm *int16 `json:"adm"` Speed *int64 `json:"speed"` TypeEnum *string `json:"type_enum"` Mac pgtype.Macaddr `json:"mac"` Notes *string `json:"notes"` }
type UpdateUserAuthzParams ¶
type UpdateUserGraphParams ¶
type UpdateUserParams ¶
type UpdateVarParams ¶
type UpdateVlanParams ¶
type UpdateXconnectParams ¶
type UpdateXconnectParams struct { XcID int64 `json:"xc_id"` DevID int64 `json:"dev_id"` PeerDevID *int64 `json:"peer_dev_id"` IfID *int64 `json:"if_id"` VcIdx int64 `json:"vc_idx"` VcID int64 `json:"vc_id"` PeerIp pgtype.Inet `json:"peer_ip"` PeerIfalias *string `json:"peer_ifalias"` Xname *string `json:"xname"` Descr *string `json:"descr"` OpStat *string `json:"op_stat"` OpStatIn *string `json:"op_stat_in"` OpStatOut *string `json:"op_stat_out"` }
type Xconnect ¶
type Xconnect struct { XcID int64 `json:"xc_id"` DevID int64 `json:"dev_id"` PeerDevID *int64 `json:"peer_dev_id"` IfID *int64 `json:"if_id"` VcIdx int64 `json:"vc_idx"` VcID int64 `json:"vc_id"` PeerIp pgtype.Inet `json:"peer_ip"` PeerIfalias *string `json:"peer_ifalias"` Xname *string `json:"xname"` Descr *string `json:"descr"` OpStat *string `json:"op_stat"` OpStatIn *string `json:"op_stat_in"` OpStatOut *string `json:"op_stat_out"` UpdatedOn time.Time `json:"updated_on"` CreatedOn time.Time `json:"created_on"` }
Source Files ¶
- archived_interfaces.sql.go
- archived_subinterfaces.sql.go
- con_capacities.sql.go
- con_classes.sql.go
- con_providers.sql.go
- con_types.sql.go
- connections.sql.go
- countries.sql.go
- credentials.sql.go
- custom_entities.sql.go
- db.go
- device_classes.sql.go
- device_credentials.sql.go
- device_domains.sql.go
- device_extensions.sql.go
- device_licenses.sql.go
- device_states.sql.go
- device_types.sql.go
- devices.sql.go
- entities.sql.go
- entity_phy_indexes.sql.go
- helpers.go
- int_bw_stats.sql.go
- interface_relations.sql.go
- interfaces.sql.go
- interfaces2vlans.sql.go
- ip_interfaces.sql.go
- models.go
- ospf_nbrs.sql.go
- rl_nbrs.sql.go
- sites.sql.go
- snmp_credentials.sql.go
- subinterfaces.sql.go
- user_authzs.sql.go
- user_graphs.sql.go
- users.sql.go
- vars.sql.go
- vlans.sql.go
- xconnects.sql.go