Affected by GO-2024-3045
and 2 other vulnerabilities
GO-2024-3045 : Meshery SQL Injection vulnerability in github.com/layer5io/meshery
GO-2024-3050 : Meshery SQL Injection vulnerability in github.com/layer5io/meshery
GO-2024-3051 : Meshery SQL Injection vulnerability in github.com/layer5io/meshery
Discover Packages
github.com/layer5io/meshery
server
internal
store
package
Version:
v0.6.60
Opens a new window with list of versions in this module.
Published: Mar 3, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package store provides methods for interacting
with a thread safe global store.
Delete will take the key and values which needs to be deleted from the global store and delete that entry
Initialize initializes the global store
It will skip initialization if the
store has already been initialized once
Set will set the key value pairs in the global store
If the key already exists but the data has changed then
it will also be added to the list. It computes md5 hash of the data
to check if the data already exists
Value is an interface that all the values MUST satisfy which
can be stored in the key value pair store
GetAll returns all the values stored against the key
GetByID takes in an id and returns the result that matches that ID
PrefixMatch will return all the values which matches the given key
Source Files
¶
Click to show internal directories.
Click to hide internal directories.