Documentation
¶
Index ¶
- func FromLegacyService(service Service) (result devicemodel.Service)
- func FromLegacyServices(legacy []Service) (result []devicemodel.Service)
- func Testenv(ctx context.Context, wg *sync.WaitGroup) (managerurl string, repourl string, permv2Url string, selectionurl string, ...)
- func TestenvWithoutApi(ctx context.Context, wg *sync.WaitGroup) (managerurl string, repourl string, permv2Url string, err error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromLegacyService ¶
func FromLegacyService(service Service) (result devicemodel.Service)
func FromLegacyServices ¶
func FromLegacyServices(legacy []Service) (result []devicemodel.Service)
Types ¶
type Service ¶
type Service struct { Id string `json:"id"` LocalId string `json:"local_id"` Name string `json:"name"` Description string `json:"description"` Interaction devicemodel.Interaction `json:"interaction"` AspectIds []string `json:"aspect_ids"` ProtocolId string `json:"protocol_id"` FunctionIds []string `json:"function_ids"` RdfType string `json:"rdf_type"` }
Click to show internal directories.
Click to hide internal directories.