Documentation ¶
Overview ¶
Package assettypes defines a set of asset types that are valid in the context of Lava.
Index ¶
Constants ¶
View Source
const (
Path = types.AssetType("Path")
)
Lava asset types.
Variables ¶
View Source
var ErrUnsupported = errors.New("unsupported asset type")
ErrUnsupported is returned when the requested operation does not support the specified asset type.
Functions ¶
func CheckReachable ¶ added in v0.6.0
CheckReachable checks if the asset with the specified type and identifier is reachable. CheckReachable does not check if the asset is functional. If the asset is reachable, it returns a nil error. If the asset is unreachable, it returns an error explaining the cause. If the asset type is not supported, it returns an ErrUnsupported error. If the reachability test fails, it returns the error that caused the failure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.