Documentation ¶
Index ¶
- Variables
- func AnyPropertiesToProperties(anyProperties ...properties.AnyProperty) []properties.Property
- func NewIDList(ids ...ids.ID) lists.IDList
- func NewParameterList(parameters ...parameters.Parameter) lists.ParameterList
- func NewPropertyList(addProperties ...properties.Property) lists.PropertyList
- type IDList
- func (idList *IDList) Add(ids ...ids.ID) lists.IDList
- func (*IDList) Descriptor() ([]byte, []int)
- func (idList *IDList) GetList() []ids.AnyID
- func (m *IDList) Marshal() (dAtA []byte, err error)
- func (m *IDList) MarshalTo(dAtA []byte) (int, error)
- func (m *IDList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IDList) ProtoMessage()
- func (idList *IDList) Remove(ids ...ids.ID) lists.IDList
- func (m *IDList) Reset()
- func (idList *IDList) Search(id ids.ID) (index int, found bool)
- func (m *IDList) Size() (n int)
- func (m *IDList) String() string
- func (idList *IDList) ToListData() data.ListData
- func (m *IDList) Unmarshal(dAtA []byte) error
- func (idList *IDList) ValidateBasic() error
- func (m *IDList) XXX_DiscardUnknown()
- func (m *IDList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IDList) XXX_Merge(src proto.Message)
- func (m *IDList) XXX_Size() int
- func (m *IDList) XXX_Unmarshal(b []byte) error
- type ParameterList
- func (*ParameterList) Descriptor() ([]byte, []int)
- func (parameterList *ParameterList) Get() []parameters.Parameter
- func (m *ParameterList) Marshal() (dAtA []byte, err error)
- func (m *ParameterList) MarshalTo(dAtA []byte) (int, error)
- func (m *ParameterList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ParameterList) ProtoMessage()
- func (m *ParameterList) Reset()
- func (m *ParameterList) Size() (n int)
- func (m *ParameterList) String() string
- func (m *ParameterList) Unmarshal(dAtA []byte) error
- func (m *ParameterList) XXX_DiscardUnknown()
- func (m *ParameterList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParameterList) XXX_Merge(src proto.Message)
- func (m *ParameterList) XXX_Size() int
- func (m *ParameterList) XXX_Unmarshal(b []byte) error
- type PropertyList
- func (propertyList *PropertyList) Add(properties ...properties.Property) lists.PropertyList
- func (*PropertyList) Descriptor() ([]byte, []int)
- func (propertyList *PropertyList) FromMetaPropertiesString(metaPropertiesString string) (lists.PropertyList, error)
- func (propertyList *PropertyList) Get() []properties.AnyProperty
- func (propertyList *PropertyList) GetProperty(propertyID ids.PropertyID) properties.AnyProperty
- func (propertyList *PropertyList) GetPropertyIDList() lists.IDList
- func (m *PropertyList) Marshal() (dAtA []byte, err error)
- func (m *PropertyList) MarshalTo(dAtA []byte) (int, error)
- func (m *PropertyList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (propertyList *PropertyList) Mutate(properties ...properties.Property) lists.PropertyList
- func (*PropertyList) ProtoMessage()
- func (propertyList *PropertyList) Remove(properties ...properties.Property) lists.PropertyList
- func (m *PropertyList) Reset()
- func (propertyList *PropertyList) ScrubData() lists.PropertyList
- func (m *PropertyList) Size() (n int)
- func (m *PropertyList) String() string
- func (m *PropertyList) Unmarshal(dAtA []byte) error
- func (propertyList *PropertyList) ValidateBasic() error
- func (m *PropertyList) XXX_DiscardUnknown()
- func (m *PropertyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PropertyList) XXX_Merge(src proto.Message)
- func (m *PropertyList) XXX_Size() int
- func (m *PropertyList) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthIdList = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowIdList = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupIdList = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func AnyPropertiesToProperties ¶
func AnyPropertiesToProperties(anyProperties ...properties.AnyProperty) []properties.Property
AnyPropertiesToProperties converts a slice of AnyProperties to a slice of Properties. It filters out nil elements from the input slice and returns a new slice containing only non-nil Properties.
func NewParameterList ¶
func NewParameterList(parameters ...parameters.Parameter) lists.ParameterList
func NewPropertyList ¶
func NewPropertyList(addProperties ...properties.Property) lists.PropertyList
NewPropertyList creates a new instance of PropertyList and adds the provided properties to it. It returns the created PropertyList.
Types ¶
type IDList ¶
type IDList struct {
AnyIDs []*base.AnyID `protobuf:"bytes,1,rep,name=any_i_ds,json=anyIDs,proto3" json:"any_i_ds,omitempty"`
}
func (*IDList) Descriptor ¶
func (*IDList) MarshalToSizedBuffer ¶
func (*IDList) ProtoMessage ¶
func (*IDList) ProtoMessage()
func (*IDList) ToListData ¶
func (*IDList) ValidateBasic ¶
func (*IDList) XXX_DiscardUnknown ¶
func (m *IDList) XXX_DiscardUnknown()
func (*IDList) XXX_Marshal ¶
func (*IDList) XXX_Unmarshal ¶
type ParameterList ¶
type ParameterList struct {
Parameters []*base.Parameter `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty"`
}
func (*ParameterList) Descriptor ¶
func (*ParameterList) Descriptor() ([]byte, []int)
func (*ParameterList) Get ¶
func (parameterList *ParameterList) Get() []parameters.Parameter
func (*ParameterList) Marshal ¶
func (m *ParameterList) Marshal() (dAtA []byte, err error)
func (*ParameterList) MarshalToSizedBuffer ¶
func (m *ParameterList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ParameterList) ProtoMessage ¶
func (*ParameterList) ProtoMessage()
func (*ParameterList) Reset ¶
func (m *ParameterList) Reset()
func (*ParameterList) Size ¶
func (m *ParameterList) Size() (n int)
func (*ParameterList) String ¶
func (m *ParameterList) String() string
func (*ParameterList) Unmarshal ¶
func (m *ParameterList) Unmarshal(dAtA []byte) error
func (*ParameterList) XXX_DiscardUnknown ¶
func (m *ParameterList) XXX_DiscardUnknown()
func (*ParameterList) XXX_Marshal ¶
func (m *ParameterList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParameterList) XXX_Merge ¶
func (m *ParameterList) XXX_Merge(src proto.Message)
func (*ParameterList) XXX_Size ¶
func (m *ParameterList) XXX_Size() int
func (*ParameterList) XXX_Unmarshal ¶
func (m *ParameterList) XXX_Unmarshal(b []byte) error
type PropertyList ¶
type PropertyList struct {
AnyProperties []*base.AnyProperty `protobuf:"bytes,1,rep,name=any_properties,json=anyProperties,proto3" json:"any_properties,omitempty"`
}
func (*PropertyList) Add ¶
func (propertyList *PropertyList) Add(properties ...properties.Property) lists.PropertyList
func (*PropertyList) Descriptor ¶
func (*PropertyList) Descriptor() ([]byte, []int)
func (*PropertyList) FromMetaPropertiesString ¶
func (propertyList *PropertyList) FromMetaPropertiesString(metaPropertiesString string) (lists.PropertyList, error)
func (*PropertyList) Get ¶
func (propertyList *PropertyList) Get() []properties.AnyProperty
func (*PropertyList) GetProperty ¶
func (propertyList *PropertyList) GetProperty(propertyID ids.PropertyID) properties.AnyProperty
func (*PropertyList) GetPropertyIDList ¶
func (propertyList *PropertyList) GetPropertyIDList() lists.IDList
func (*PropertyList) Marshal ¶
func (m *PropertyList) Marshal() (dAtA []byte, err error)
func (*PropertyList) MarshalToSizedBuffer ¶
func (m *PropertyList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PropertyList) Mutate ¶
func (propertyList *PropertyList) Mutate(properties ...properties.Property) lists.PropertyList
func (*PropertyList) ProtoMessage ¶
func (*PropertyList) ProtoMessage()
func (*PropertyList) Remove ¶
func (propertyList *PropertyList) Remove(properties ...properties.Property) lists.PropertyList
func (*PropertyList) Reset ¶
func (m *PropertyList) Reset()
func (*PropertyList) ScrubData ¶
func (propertyList *PropertyList) ScrubData() lists.PropertyList
func (*PropertyList) Size ¶
func (m *PropertyList) Size() (n int)
func (*PropertyList) String ¶
func (m *PropertyList) String() string
func (*PropertyList) Unmarshal ¶
func (m *PropertyList) Unmarshal(dAtA []byte) error
func (*PropertyList) ValidateBasic ¶
func (propertyList *PropertyList) ValidateBasic() error
func (*PropertyList) XXX_DiscardUnknown ¶
func (m *PropertyList) XXX_DiscardUnknown()
func (*PropertyList) XXX_Marshal ¶
func (m *PropertyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PropertyList) XXX_Merge ¶
func (m *PropertyList) XXX_Merge(src proto.Message)
func (*PropertyList) XXX_Size ¶
func (m *PropertyList) XXX_Size() int
func (*PropertyList) XXX_Unmarshal ¶
func (m *PropertyList) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.