Documentation ¶
Index ¶
- type DB
- func (db *DB) GetNodeAttributeByAttributeID(ctx context.Context, attributeID entry.AttributeID) (*entry.NodeAttribute, error)
- func (db *DB) GetNodeAttributeOptionsByAttributeID(ctx context.Context, attributeID entry.AttributeID) (*entry.AttributeOptions, error)
- func (db *DB) GetNodeAttributeValueByAttributeID(ctx context.Context, attributeID entry.AttributeID) (*entry.AttributeValue, error)
- func (db *DB) GetNodeAttributes(ctx context.Context) ([]*entry.NodeAttribute, error)
- func (db *DB) RemoveNodeAttributeByAttributeID(ctx context.Context, attributeID entry.AttributeID) error
- func (db *DB) RemoveNodeAttributesByName(ctx context.Context, name string) error
- func (db *DB) RemoveNodeAttributesByNames(ctx context.Context, names []string) error
- func (db *DB) RemoveNodeAttributesByPluginID(ctx context.Context, pluginID umid.UMID) error
- func (db *DB) UpdateNodeAttributeOptions(ctx context.Context, attributeID entry.AttributeID, ...) error
- func (db *DB) UpdateNodeAttributeValue(ctx context.Context, attributeID entry.AttributeID, ...) error
- func (db *DB) UpsertNodeAttribute(ctx context.Context, nodeAttribute *entry.NodeAttribute) error
- func (db *DB) UpsertNodeAttributes(ctx context.Context, nodeAttributes []*entry.NodeAttribute) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetNodeAttributeByAttributeID ¶ added in v0.2.0
func (db *DB) GetNodeAttributeByAttributeID( ctx context.Context, attributeID entry.AttributeID, ) (*entry.NodeAttribute, error)
func (*DB) GetNodeAttributeOptionsByAttributeID ¶ added in v0.2.0
func (db *DB) GetNodeAttributeOptionsByAttributeID( ctx context.Context, attributeID entry.AttributeID, ) (*entry.AttributeOptions, error)
func (*DB) GetNodeAttributeValueByAttributeID ¶ added in v0.2.0
func (db *DB) GetNodeAttributeValueByAttributeID( ctx context.Context, attributeID entry.AttributeID, ) (*entry.AttributeValue, error)
func (*DB) GetNodeAttributes ¶ added in v0.2.0
func (*DB) RemoveNodeAttributeByAttributeID ¶ added in v0.2.0
func (*DB) RemoveNodeAttributesByName ¶ added in v0.4.0
func (*DB) RemoveNodeAttributesByNames ¶ added in v0.2.0
func (*DB) RemoveNodeAttributesByPluginID ¶ added in v0.2.0
func (*DB) UpdateNodeAttributeOptions ¶ added in v0.2.0
func (db *DB) UpdateNodeAttributeOptions( ctx context.Context, attributeID entry.AttributeID, options *entry.AttributeOptions, ) error
func (*DB) UpdateNodeAttributeValue ¶ added in v0.2.0
func (db *DB) UpdateNodeAttributeValue( ctx context.Context, attributeID entry.AttributeID, value *entry.AttributeValue, ) error
func (*DB) UpsertNodeAttribute ¶ added in v0.2.0
func (*DB) UpsertNodeAttributes ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.