Documentation ¶
Index ¶
- func NewServer(ctx context.Context) (*echo.Echo, error)
- type HttpError
- type Server
- func (s Server) DeleteAssetAdministrationShellById(ctx echo.Context, aasId string) error
- func (s Server) GetAllAssetAdministrationShells(ctx echo.Context) error
- func (s Server) GetAssetAdministrationShellById(ctx echo.Context, aasId string) error
- func (s Server) GetShellsAasId(ctx echo.Context, aasId string) error
- func (s Server) GetShellsAasIdAasSubmodelsSubmodelIdShort(ctx echo.Context, aasId string, submodelIdShort string) error
- func (s Server) PutAssetAdministrationShell(ctx echo.Context, aasId string) error
- func (s Server) ShellRepoDeleteSubmodelElementByIdShort(ctx echo.Context, aasId string, submodelIdShort string, seIdShortPath string) error
- func (s Server) ShellRepoDeleteSubmodelFromShellByIdShort(ctx echo.Context, aasId string, submodelIdShort string) error
- func (s Server) ShellRepoGetInvocationResultByIdShort(ctx echo.Context, aasId string, submodelIdShort string, ...) error
- func (s Server) ShellRepoGetSubmodelElementByIdShort(ctx echo.Context, aasId string, submodelIdShort string, seIdShortPath string) error
- func (s Server) ShellRepoGetSubmodelElementValueByIdShort(ctx echo.Context, aasId string, submodelIdShort string, seIdShortPath string) error
- func (s Server) ShellRepoGetSubmodelElements(ctx echo.Context, aasId string, submodelIdShort string) error
- func (s Server) ShellRepoGetSubmodelFromShellByIdShort(ctx echo.Context, aasId string, submodelIdShort string) error
- func (s Server) ShellRepoGetSubmodelValues(ctx echo.Context, aasId string, submodelIdShort string) error
- func (s Server) ShellRepoGetSubmodelsFromShell(ctx echo.Context, aasId string) error
- func (s Server) ShellRepoInvokeOperationByIdShort(ctx echo.Context, aasId string, submodelIdShort string, ...) error
- func (s Server) ShellRepoPutSubmodelElement(ctx echo.Context, aasId string, submodelIdShort string, seIdShortPath string) error
- func (s Server) ShellRepoPutSubmodelElementValueByIdShort(ctx echo.Context, aasId string, submodelIdShort string, seIdShortPath string) error
- func (s Server) ShellRepoPutSubmodelToShell(ctx echo.Context, aasId string, submodelIdShort string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HttpError ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (Server) DeleteAssetAdministrationShellById ¶
Deletes a specific Asset Administration Shell at the Asset Administration Shell repository (DELETE /shells/{aasId})
func (Server) GetAllAssetAdministrationShells ¶
Retrieves all Asset Administration Shells from the Asset Administration Shell repository (GET /shells)
func (Server) GetAssetAdministrationShellById ¶
Retrieves a specific Asset Administration Shell from the Asset Administration Shell repository (GET /shells/{aasId}/aas)
func (Server) GetShellsAasId ¶
Retrieves a specific Asset Administration Shell from the Asset Administration Shell repository (GET /shells/{aasId})
func (Server) GetShellsAasIdAasSubmodelsSubmodelIdShort ¶
func (s Server) GetShellsAasIdAasSubmodelsSubmodelIdShort(ctx echo.Context, aasId string, submodelIdShort string) error
Retrieves the Submodel from the Asset Administration Shell (GET /shells/{aasId}/aas/submodels/{submodelIdShort})
func (Server) PutAssetAdministrationShell ¶
Creates or updates a Asset Administration Shell at the Asset Administration Shell repository (PUT /shells/{aasId})
func (Server) ShellRepoDeleteSubmodelElementByIdShort ¶
func (s Server) ShellRepoDeleteSubmodelElementByIdShort(ctx echo.Context, aasId string, submodelIdShort string, seIdShortPath string) error
Deletes a specific Submodel-Element from the Submodel (DELETE /shells/{aasId}/aas/submodels/{submodelIdShort}/submodel/submodelElements/{seIdShortPath})
func (Server) ShellRepoDeleteSubmodelFromShellByIdShort ¶
func (s Server) ShellRepoDeleteSubmodelFromShellByIdShort(ctx echo.Context, aasId string, submodelIdShort string) error
Deletes a specific Submodel from the Asset Administration Shell (DELETE /shells/{aasId}/aas/submodels/{submodelIdShort})
func (Server) ShellRepoGetInvocationResultByIdShort ¶
func (s Server) ShellRepoGetInvocationResultByIdShort(ctx echo.Context, aasId string, submodelIdShort string, idShortPathToOperation string, requestId string) error
Retrieves the result of an asynchronously started operation (GET /shells/{aasId}/aas/submodels/{submodelIdShort}/submodel/submodelElements/{idShortPathToOperation}/invocationList/{requestId})
func (Server) ShellRepoGetSubmodelElementByIdShort ¶
func (s Server) ShellRepoGetSubmodelElementByIdShort(ctx echo.Context, aasId string, submodelIdShort string, seIdShortPath string) error
Retrieves a specific Submodel-Element from the Submodel (GET /shells/{aasId}/aas/submodels/{submodelIdShort}/submodel/submodelElements/{seIdShortPath})
func (Server) ShellRepoGetSubmodelElementValueByIdShort ¶
func (s Server) ShellRepoGetSubmodelElementValueByIdShort(ctx echo.Context, aasId string, submodelIdShort string, seIdShortPath string) error
Retrieves the value of a specific Submodel-Element from the Submodel (GET /shells/{aasId}/aas/submodels/{submodelIdShort}/submodel/submodelElements/{seIdShortPath}/value)
func (Server) ShellRepoGetSubmodelElements ¶
func (s Server) ShellRepoGetSubmodelElements(ctx echo.Context, aasId string, submodelIdShort string) error
Retrieves all Submodel-Elements from the Submodel (GET /shells/{aasId}/aas/submodels/{submodelIdShort}/submodel/submodelElements)
func (Server) ShellRepoGetSubmodelFromShellByIdShort ¶
func (s Server) ShellRepoGetSubmodelFromShellByIdShort(ctx echo.Context, aasId string, submodelIdShort string) error
Retrieves the Submodel from the Asset Administration Shell (GET /shells/{aasId}/aas/submodels/{submodelIdShort}/submodel)
func (Server) ShellRepoGetSubmodelValues ¶
func (s Server) ShellRepoGetSubmodelValues(ctx echo.Context, aasId string, submodelIdShort string) error
Retrieves the minimized version of a Submodel, i.e. only the values of SubmodelElements are serialized and returned (GET /shells/{aasId}/aas/submodels/{submodelIdShort}/submodel/values)
func (Server) ShellRepoGetSubmodelsFromShell ¶
Retrieves all Submodels from the Asset Administration Shell (GET /shells/{aasId}/aas/submodels)
func (Server) ShellRepoInvokeOperationByIdShort ¶
func (s Server) ShellRepoInvokeOperationByIdShort(ctx echo.Context, aasId string, submodelIdShort string, idShortPathToOperation string, params basyxAas.ShellRepoInvokeOperationByIdShortParams) error
Invokes a specific operation from the Submodel synchronously or asynchronously (POST /shells/{aasId}/aas/submodels/{submodelIdShort}/submodel/submodelElements/{idShortPathToOperation}/invoke)
func (Server) ShellRepoPutSubmodelElement ¶
func (s Server) ShellRepoPutSubmodelElement(ctx echo.Context, aasId string, submodelIdShort string, seIdShortPath string) error
Creates or updates a Submodel-Element at the Submodel (PUT /shells/{aasId}/aas/submodels/{submodelIdShort}/submodel/submodelElements/{seIdShortPath})
func (Server) ShellRepoPutSubmodelElementValueByIdShort ¶
func (s Server) ShellRepoPutSubmodelElementValueByIdShort(ctx echo.Context, aasId string, submodelIdShort string, seIdShortPath string) error
Updates the Submodel-Element's value (PUT /shells/{aasId}/aas/submodels/{submodelIdShort}/submodel/submodelElements/{seIdShortPath}/value)