Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAssetByID ¶
GetAssetByID ... retrieves an asset description by its Unique Name ID
func GetAssetByName ¶
GetAssetByName ... retrieves an asset description by its Unique Name
func SearchAssetsByTags ¶
SearchAssetsByTags ... retrieves any asset matching all specified tags or error if empty
func StartEndpoint ¶
StartEndpoint ... starts the service endpoint
func UpsertAsset ¶
UpsertAsset ... creates an asset description entry
Types ¶
type Service ¶
type Service interface { Init(cfg *conf.Config) *errors.RestErr UpsertAssets(assets *[]abstract.Asset) (*[]abstract.Asset, *errors.RestErr) GetAssetByID(assetID string) (*abstract.Asset, *errors.RestErr) GetAssetByName(name string) (*abstract.Asset, *errors.RestErr) SearchAssetsByTags(tags []string) (*[]abstract.Asset, *errors.RestErr) ListAllAssets() (*[]abstract.Asset, *errors.RestErr) }
Service ... Service Interface listing implemented methods
Click to show internal directories.
Click to hide internal directories.