Documentation ¶
Overview ¶
Package runtime contains BloxOne DDI API helper runtime abstractions for internal client use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TrimIDPrefix ¶
TrimIDPrefix removes app ID and resource type prefixes from the ID property.
If no prefix is found, TrimIDPrefix will return the original id value.
More about BloxOne DDI resource IDs: https://github.com/infobloxopen/atlas-app-toolkit/tree/v1.1.2/rpc/resource#resource
Types ¶
type APIHTTPError ¶
APIHTTPError wraps runtime.APIError, and modifies response processing logic.
func NewAPIHTTPError ¶
func NewAPIHTTPError(opName string, payload io.Reader, code int) *APIHTTPError
NewAPIHTTPError creates a new API HTTP error.
func (*APIHTTPError) Error ¶
func (a *APIHTTPError) Error() string
Error method prints APIHTTPError error message.
Click to show internal directories.
Click to hide internal directories.