Documentation ¶
Index ¶
- Constants
- type ApnList
- type IcmpStatus
- type LteSubscription
- type MutableSubscriber
- func (m *MutableSubscriber) MarshalBinary() ([]byte, error)
- func (m *MutableSubscriber) ToNetworkEntity() configurator.NetworkEntity
- func (m *MutableSubscriber) ToUpdateCriteria(id string) []configurator.EntityUpdateCriteria
- func (m *MutableSubscriber) UnmarshalBinary(b []byte) error
- func (m *MutableSubscriber) Validate(formats strfmt.Registry) error
- func (m *MutableSubscriber) ValidateModel() error
- type SubProfile
- type Subscriber
- type SubscriberConfig
- type SubscriberIPAllocation
- type SubscriberState
- type SubscriberStaticIps
- type SubscriberStatus
- type UntypedMmeState
Constants ¶
const ( // LteSubscriptionStateINACTIVE captures enum value "INACTIVE" LteSubscriptionStateINACTIVE string = "INACTIVE" // LteSubscriptionStateACTIVE captures enum value "ACTIVE" LteSubscriptionStateACTIVE string = "ACTIVE" )
const ( // LteSubscriptionAuthAlgoMILENAGE captures enum value "MILENAGE" LteSubscriptionAuthAlgoMILENAGE string = "MILENAGE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApnList ¶
type ApnList []string
ApnList APNs that are allowed for this subscriber swagger:model apn_list
func (ApnList) ToAssocs ¶
func (m ApnList) ToAssocs() []storage.TypeAndKey
type IcmpStatus ¶
type IcmpStatus struct { // last reported time LastReportedTime int64 `json:"last_reported_time,omitempty"` // latency ms // Required: true LatencyMs *float32 `json:"latency_ms"` }
IcmpStatus ICMP status of a subscriber device swagger:model icmp_status
func (*IcmpStatus) MarshalBinary ¶
func (m *IcmpStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IcmpStatus) UnmarshalBinary ¶
func (m *IcmpStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*IcmpStatus) Validate ¶
func (m *IcmpStatus) Validate(formats strfmt.Registry) error
Validate validates this icmp status
func (*IcmpStatus) ValidateModel ¶
func (m *IcmpStatus) ValidateModel() error
type LteSubscription ¶
type LteSubscription struct { // auth algo // Required: true // Enum: [MILENAGE] AuthAlgo string `json:"auth_algo"` // auth key // Required: true // Format: byte AuthKey strfmt.Base64 `json:"auth_key"` // auth opc // Format: byte AuthOpc strfmt.Base64 `json:"auth_opc,omitempty"` // state // Required: true // Enum: [INACTIVE ACTIVE] State string `json:"state"` // sub profile // Required: true SubProfile SubProfile `json:"sub_profile"` }
LteSubscription lte subscription swagger:model lte_subscription
func (*LteSubscription) MarshalBinary ¶
func (m *LteSubscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LteSubscription) UnmarshalBinary ¶
func (m *LteSubscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LteSubscription) Validate ¶
func (m *LteSubscription) Validate(formats strfmt.Registry) error
Validate validates this lte subscription
func (*LteSubscription) ValidateModel ¶
func (m *LteSubscription) ValidateModel() error
type MutableSubscriber ¶
type MutableSubscriber struct { // active apns ActiveApns ApnList `json:"active_apns,omitempty"` // Base names which are active for this subscriber ActiveBaseNames []models1.BaseName `json:"active_base_names,omitempty"` // Policies which are active for this subscriber ActivePolicies []models1.PolicyID `json:"active_policies,omitempty"` // id // Required: true ID models1.SubscriberID `json:"id"` // lte // Required: true Lte *LteSubscription `json:"lte"` // Name for the subscriber Name string `json:"name,omitempty"` // static ips StaticIps SubscriberStaticIps `json:"static_ips,omitempty"` }
MutableSubscriber Subset of subscriber field which are mutable swagger:model mutable_subscriber
func (*MutableSubscriber) MarshalBinary ¶
func (m *MutableSubscriber) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MutableSubscriber) ToNetworkEntity ¶
func (m *MutableSubscriber) ToNetworkEntity() configurator.NetworkEntity
func (*MutableSubscriber) ToUpdateCriteria ¶
func (m *MutableSubscriber) ToUpdateCriteria(id string) []configurator.EntityUpdateCriteria
func (*MutableSubscriber) UnmarshalBinary ¶
func (m *MutableSubscriber) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MutableSubscriber) Validate ¶
func (m *MutableSubscriber) Validate(formats strfmt.Registry) error
Validate validates this mutable subscriber
func (*MutableSubscriber) ValidateModel ¶
func (m *MutableSubscriber) ValidateModel() error
type SubProfile ¶
type SubProfile string
SubProfile sub profile swagger:model sub_profile
func (SubProfile) Validate ¶
func (m SubProfile) Validate(formats strfmt.Registry) error
Validate validates this sub profile
func (*SubProfile) ValidateModel ¶
func (m *SubProfile) ValidateModel() error
type Subscriber ¶
type Subscriber struct { // active apns ActiveApns ApnList `json:"active_apns,omitempty"` // Base names which are active for this subscriber ActiveBaseNames []models1.BaseName `json:"active_base_names,omitempty"` // Policies which are active for this subscriber ActivePolicies []models1.PolicyID `json:"active_policies,omitempty"` // config // Required: true Config *SubscriberConfig `json:"config"` // id // Required: true ID models1.SubscriberID `json:"id"` // lte // Required: true Lte *LteSubscription `json:"lte"` // monitoring Monitoring *SubscriberStatus `json:"monitoring,omitempty"` // Optional name associated with the subscriber Name string `json:"name,omitempty"` // state State *SubscriberState `json:"state,omitempty"` }
Subscriber subscriber swagger:model subscriber
func (*Subscriber) FromBackendModels ¶
func (m *Subscriber) FromBackendModels(ent configurator.NetworkEntity, statesByID state_types.StatesByID) *Subscriber
func (*Subscriber) MarshalBinary ¶
func (m *Subscriber) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Subscriber) UnmarshalBinary ¶
func (m *Subscriber) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscriberConfig ¶
type SubscriberConfig struct { // lte // Required: true Lte *LteSubscription `json:"lte"` // static ips StaticIps SubscriberStaticIps `json:"static_ips,omitempty"` }
SubscriberConfig subscriber config swagger:model subscriber_config
func (*SubscriberConfig) MarshalBinary ¶
func (m *SubscriberConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscriberConfig) UnmarshalBinary ¶
func (m *SubscriberConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscriberIPAllocation ¶
type SubscriberIPAllocation struct { // apn // Required: true // Min Length: 1 Apn string `json:"apn"` // ip // Required: true // Min Length: 1 // Format: ipv4 IP strfmt.IPv4 `json:"ip"` }
SubscriberIPAllocation An IP address which has been allocated for a subscriber for a specific APN swagger:model subscriber_ip_allocation
func (*SubscriberIPAllocation) MarshalBinary ¶
func (m *SubscriberIPAllocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscriberIPAllocation) UnmarshalBinary ¶
func (m *SubscriberIPAllocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscriberState ¶
type SubscriberState struct { // mme Mme UntypedMmeState `json:"mme,omitempty"` // IP addresses which have been allocated for this subscriber Mobility []*SubscriberIPAllocation `json:"mobility,omitempty"` // s1ap S1ap UntypedMmeState `json:"s1ap,omitempty"` // spgw Spgw UntypedMmeState `json:"spgw,omitempty"` }
SubscriberState EPC state for a subscriber swagger:model subscriber_state
func (*SubscriberState) MarshalBinary ¶
func (m *SubscriberState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscriberState) UnmarshalBinary ¶
func (m *SubscriberState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscriberStaticIps ¶
SubscriberStaticIps Mapping of APN ID to static IP address to allocate for the subscriber at the edge swagger:model subscriber_static_ips
type SubscriberStatus ¶
type SubscriberStatus struct { // icmp Icmp *IcmpStatus `json:"icmp,omitempty"` }
SubscriberStatus Status of a subscriber device swagger:model subscriber_status
func (*SubscriberStatus) MarshalBinary ¶
func (m *SubscriberStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscriberStatus) UnmarshalBinary ¶
func (m *SubscriberStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UntypedMmeState ¶
type UntypedMmeState interface{}
UntypedMmeState Arbitrary untyped JSON object that represents replicated MME state swagger:model untyped_mme_state
Source Files ¶
- apn_list_swaggergen.go
- conversion.go
- gen.go
- icmp_status_swaggergen.go
- lte_subscription_swaggergen.go
- mutable_subscriber_swaggergen.go
- sub_profile_swaggergen.go
- subscriber_config_swaggergen.go
- subscriber_ip_allocation_swaggergen.go
- subscriber_state_swaggergen.go
- subscriber_static_ips_swaggergen.go
- subscriber_status_swaggergen.go
- subscriber_swaggergen.go
- untyped_mme_state_swaggergen.go
- validate.go