types

package
v0.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var EnforcementReasonType_name = map[int32]string{
	0: "SCOPE_NOT_APPLICABLE",
	1: "STATEMENT_NOT_APPLICABLE",
	2: "OTHER_REASON",
}
View Source
var EnforcementReasonType_value = map[string]int32{
	"SCOPE_NOT_APPLICABLE":     0,
	"STATEMENT_NOT_APPLICABLE": 1,
	"OTHER_REASON":             2,
}
View Source
var EnforcementStatusType_name = map[int32]string{
	0: "ENFORCED",
	1: "NOT_ENFORCED",
	2: "UNDEFINED",
}
View Source
var EnforcementStatusType_value = map[string]int32{
	"ENFORCED":     0,
	"NOT_ENFORCED": 1,
	"UNDEFINED":    2,
}
View Source
var OperationStatus_name = map[int32]string{
	0: "SUCCESS",
	1: "FAILED",
}
View Source
var OperationStatus_value = map[string]int32{
	"SUCCESS": 0,
	"FAILED":  1,
}
View Source
var PolicyQueryType_name = map[int32]string{
	0: "SINGLE_POLICY",
	1: "ALL_POLICIES",
	2: "POLICY_STATUS",
}
View Source
var PolicyQueryType_value = map[string]int32{
	"SINGLE_POLICY": 0,
	"ALL_POLICIES":  1,
	"POLICY_STATUS": 2,
}
View Source
var PolicyType_name = map[int32]string{
	0: "QOS",
	1: "TSP",
}
View Source
var PolicyType_value = map[string]int32{
	"QOS": 0,
	"TSP": 1,
}

Functions

This section is empty.

Types

type CellID

type CellID struct {
}

CellID an identifier for a single cell

func (*CellID) Descriptor

func (*CellID) Descriptor() ([]byte, []int)

func (*CellID) Marshal

func (m *CellID) Marshal() (dAtA []byte, err error)

func (*CellID) MarshalTo

func (m *CellID) MarshalTo(dAtA []byte) (int, error)

func (*CellID) MarshalToSizedBuffer

func (m *CellID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CellID) ProtoMessage

func (*CellID) ProtoMessage()

func (*CellID) Reset

func (m *CellID) Reset()

func (*CellID) Size

func (m *CellID) Size() (n int)

func (*CellID) String

func (m *CellID) String() string

func (*CellID) Unmarshal

func (m *CellID) Unmarshal(dAtA []byte) error

func (*CellID) XXX_DiscardUnknown

func (m *CellID) XXX_DiscardUnknown()

func (*CellID) XXX_Marshal

func (m *CellID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CellID) XXX_Merge

func (m *CellID) XXX_Merge(src proto.Message)

func (*CellID) XXX_Size

func (m *CellID) XXX_Size() int

func (*CellID) XXX_Unmarshal

func (m *CellID) XXX_Unmarshal(b []byte) error

type EnforcementReasonType

type EnforcementReasonType int32

EnforcementReasonType represents the reason why notification is sent (e.g. why enforcement status has changed).

const (
	EnforcementReasonType_SCOPE_NOT_APPLICABLE     EnforcementReasonType = 0
	EnforcementReasonType_STATEMENT_NOT_APPLICABLE EnforcementReasonType = 1
	EnforcementReasonType_OTHER_REASON             EnforcementReasonType = 2
)

func (EnforcementReasonType) EnumDescriptor

func (EnforcementReasonType) EnumDescriptor() ([]byte, []int)

func (EnforcementReasonType) String

func (x EnforcementReasonType) String() string

type EnforcementStatusType

type EnforcementStatusType int32

EnforcementStatusType represents if a policy is enforced or not.

const (
	EnforcementStatusType_ENFORCED     EnforcementStatusType = 0
	EnforcementStatusType_NOT_ENFORCED EnforcementStatusType = 1
	EnforcementStatusType_UNDEFINED    EnforcementStatusType = 2
)

func (EnforcementStatusType) EnumDescriptor

func (EnforcementStatusType) EnumDescriptor() ([]byte, []int)

func (EnforcementStatusType) String

func (x EnforcementStatusType) String() string

type GroupID

type GroupID struct {
}

GroupID an identifier for a group of UEs

func (*GroupID) Descriptor

func (*GroupID) Descriptor() ([]byte, []int)

func (*GroupID) Marshal

func (m *GroupID) Marshal() (dAtA []byte, err error)

func (*GroupID) MarshalTo

func (m *GroupID) MarshalTo(dAtA []byte) (int, error)

func (*GroupID) MarshalToSizedBuffer

func (m *GroupID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GroupID) ProtoMessage

func (*GroupID) ProtoMessage()

func (*GroupID) Reset

func (m *GroupID) Reset()

func (*GroupID) Size

func (m *GroupID) Size() (n int)

func (*GroupID) String

func (m *GroupID) String() string

func (*GroupID) Unmarshal

func (m *GroupID) Unmarshal(dAtA []byte) error

func (*GroupID) XXX_DiscardUnknown

func (m *GroupID) XXX_DiscardUnknown()

func (*GroupID) XXX_Marshal

func (m *GroupID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupID) XXX_Merge

func (m *GroupID) XXX_Merge(src proto.Message)

func (*GroupID) XXX_Size

func (m *GroupID) XXX_Size() int

func (*GroupID) XXX_Unmarshal

func (m *GroupID) XXX_Unmarshal(b []byte) error

type OperationStatus

type OperationStatus int32

OperationStatus status of performing an A1 methods

const (
	OperationStatus_SUCCESS OperationStatus = 0
	OperationStatus_FAILED  OperationStatus = 1
)

func (OperationStatus) EnumDescriptor

func (OperationStatus) EnumDescriptor() ([]byte, []int)

func (OperationStatus) String

func (x OperationStatus) String() string

type PolicyID

type PolicyID struct {
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
}

PolicyID Identifier of an A1 policy that is used in policy operations.

func (*PolicyID) Descriptor

func (*PolicyID) Descriptor() ([]byte, []int)

func (*PolicyID) GetID

func (m *PolicyID) GetID() string

func (*PolicyID) Marshal

func (m *PolicyID) Marshal() (dAtA []byte, err error)

func (*PolicyID) MarshalTo

func (m *PolicyID) MarshalTo(dAtA []byte) (int, error)

func (*PolicyID) MarshalToSizedBuffer

func (m *PolicyID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PolicyID) ProtoMessage

func (*PolicyID) ProtoMessage()

func (*PolicyID) Reset

func (m *PolicyID) Reset()

func (*PolicyID) Size

func (m *PolicyID) Size() (n int)

func (*PolicyID) String

func (m *PolicyID) String() string

func (*PolicyID) Unmarshal

func (m *PolicyID) Unmarshal(dAtA []byte) error

func (*PolicyID) XXX_DiscardUnknown

func (m *PolicyID) XXX_DiscardUnknown()

func (*PolicyID) XXX_Marshal

func (m *PolicyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PolicyID) XXX_Merge

func (m *PolicyID) XXX_Merge(src proto.Message)

func (*PolicyID) XXX_Size

func (m *PolicyID) XXX_Size() int

func (*PolicyID) XXX_Unmarshal

func (m *PolicyID) XXX_Unmarshal(b []byte) error

type PolicyQueryType

type PolicyQueryType int32

PolicyQueryType type of a policy query (Query single policy, Query all policies, Query policy status)

const (
	// get a single policy based on a given PolicyID
	PolicyQueryType_SINGLE_POLICY PolicyQueryType = 0
	// get all policies identities
	PolicyQueryType_ALL_POLICIES PolicyQueryType = 1
	// get the policy status based on a given policyID
	PolicyQueryType_POLICY_STATUS PolicyQueryType = 2
)

func (PolicyQueryType) EnumDescriptor

func (PolicyQueryType) EnumDescriptor() ([]byte, []int)

func (PolicyQueryType) String

func (x PolicyQueryType) String() string

type PolicyType

type PolicyType int32

PolicyType

const (
	PolicyType_QOS PolicyType = 0
	PolicyType_TSP PolicyType = 1
)

func (PolicyType) EnumDescriptor

func (PolicyType) EnumDescriptor() ([]byte, []int)

func (PolicyType) String

func (x PolicyType) String() string

type QosID

type QosID struct {
}

QoSID an identifier for QoS

func (*QosID) Descriptor

func (*QosID) Descriptor() ([]byte, []int)

func (*QosID) Marshal

func (m *QosID) Marshal() (dAtA []byte, err error)

func (*QosID) MarshalTo

func (m *QosID) MarshalTo(dAtA []byte) (int, error)

func (*QosID) MarshalToSizedBuffer

func (m *QosID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QosID) ProtoMessage

func (*QosID) ProtoMessage()

func (*QosID) Reset

func (m *QosID) Reset()

func (*QosID) Size

func (m *QosID) Size() (n int)

func (*QosID) String

func (m *QosID) String() string

func (*QosID) Unmarshal

func (m *QosID) Unmarshal(dAtA []byte) error

func (*QosID) XXX_DiscardUnknown

func (m *QosID) XXX_DiscardUnknown()

func (*QosID) XXX_Marshal

func (m *QosID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QosID) XXX_Merge

func (m *QosID) XXX_Merge(src proto.Message)

func (*QosID) XXX_Size

func (m *QosID) XXX_Size() int

func (*QosID) XXX_Unmarshal

func (m *QosID) XXX_Unmarshal(b []byte) error

type ScopeIdentifier

type ScopeIdentifier struct {
	UeId    *UeID    `protobuf:"bytes,1,opt,name=ue_id,json=ueId,proto3" json:"ue_id,omitempty"`
	GroupId *GroupID `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	SliceId *SliceID `protobuf:"bytes,3,opt,name=slice_id,json=sliceId,proto3" json:"slice_id,omitempty"`
	QosId   *QosID   `protobuf:"bytes,4,opt,name=qos_id,json=qosId,proto3" json:"qos_id,omitempty"`
	CellId  *CellID  `protobuf:"bytes,5,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"`
}

ScopeIdentifier Identifier of what the statements in the policy applies to (UE, group of UEs, slice, QoS flow, network resource or combinations thereof).

func (*ScopeIdentifier) Descriptor

func (*ScopeIdentifier) Descriptor() ([]byte, []int)

func (*ScopeIdentifier) GetCellId

func (m *ScopeIdentifier) GetCellId() *CellID

func (*ScopeIdentifier) GetGroupId

func (m *ScopeIdentifier) GetGroupId() *GroupID

func (*ScopeIdentifier) GetQosId

func (m *ScopeIdentifier) GetQosId() *QosID

func (*ScopeIdentifier) GetSliceId

func (m *ScopeIdentifier) GetSliceId() *SliceID

func (*ScopeIdentifier) GetUeId

func (m *ScopeIdentifier) GetUeId() *UeID

func (*ScopeIdentifier) Marshal

func (m *ScopeIdentifier) Marshal() (dAtA []byte, err error)

func (*ScopeIdentifier) MarshalTo

func (m *ScopeIdentifier) MarshalTo(dAtA []byte) (int, error)

func (*ScopeIdentifier) MarshalToSizedBuffer

func (m *ScopeIdentifier) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScopeIdentifier) ProtoMessage

func (*ScopeIdentifier) ProtoMessage()

func (*ScopeIdentifier) Reset

func (m *ScopeIdentifier) Reset()

func (*ScopeIdentifier) Size

func (m *ScopeIdentifier) Size() (n int)

func (*ScopeIdentifier) String

func (m *ScopeIdentifier) String() string

func (*ScopeIdentifier) Unmarshal

func (m *ScopeIdentifier) Unmarshal(dAtA []byte) error

func (*ScopeIdentifier) XXX_DiscardUnknown

func (m *ScopeIdentifier) XXX_DiscardUnknown()

func (*ScopeIdentifier) XXX_Marshal

func (m *ScopeIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScopeIdentifier) XXX_Merge

func (m *ScopeIdentifier) XXX_Merge(src proto.Message)

func (*ScopeIdentifier) XXX_Size

func (m *ScopeIdentifier) XXX_Size() int

func (*ScopeIdentifier) XXX_Unmarshal

func (m *ScopeIdentifier) XXX_Unmarshal(b []byte) error

type SliceID

type SliceID struct {
}

SliceID an identifier for a slice

func (*SliceID) Descriptor

func (*SliceID) Descriptor() ([]byte, []int)

func (*SliceID) Marshal

func (m *SliceID) Marshal() (dAtA []byte, err error)

func (*SliceID) MarshalTo

func (m *SliceID) MarshalTo(dAtA []byte) (int, error)

func (*SliceID) MarshalToSizedBuffer

func (m *SliceID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SliceID) ProtoMessage

func (*SliceID) ProtoMessage()

func (*SliceID) Reset

func (m *SliceID) Reset()

func (*SliceID) Size

func (m *SliceID) Size() (n int)

func (*SliceID) String

func (m *SliceID) String() string

func (*SliceID) Unmarshal

func (m *SliceID) Unmarshal(dAtA []byte) error

func (*SliceID) XXX_DiscardUnknown

func (m *SliceID) XXX_DiscardUnknown()

func (*SliceID) XXX_Marshal

func (m *SliceID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SliceID) XXX_Merge

func (m *SliceID) XXX_Merge(src proto.Message)

func (*SliceID) XXX_Size

func (m *SliceID) XXX_Size() int

func (*SliceID) XXX_Unmarshal

func (m *SliceID) XXX_Unmarshal(b []byte) error

type UeID

type UeID struct {
}

UeID an identifier for a single UE

func (*UeID) Descriptor

func (*UeID) Descriptor() ([]byte, []int)

func (*UeID) Marshal

func (m *UeID) Marshal() (dAtA []byte, err error)

func (*UeID) MarshalTo

func (m *UeID) MarshalTo(dAtA []byte) (int, error)

func (*UeID) MarshalToSizedBuffer

func (m *UeID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UeID) ProtoMessage

func (*UeID) ProtoMessage()

func (*UeID) Reset

func (m *UeID) Reset()

func (*UeID) Size

func (m *UeID) Size() (n int)

func (*UeID) String

func (m *UeID) String() string

func (*UeID) Unmarshal

func (m *UeID) Unmarshal(dAtA []byte) error

func (*UeID) XXX_DiscardUnknown

func (m *UeID) XXX_DiscardUnknown()

func (*UeID) XXX_Marshal

func (m *UeID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UeID) XXX_Merge

func (m *UeID) XXX_Merge(src proto.Message)

func (*UeID) XXX_Size

func (m *UeID) XXX_Size() int

func (*UeID) XXX_Unmarshal

func (m *UeID) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL