Documentation ¶
Overview ¶
Package remoteresource is the factory for creating and developing on multiple remote resources
Index ¶
Constants ¶
View Source
const ( JSONExtension = ".json" YAMLExtension = ".yaml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadResult ¶
type DownloadResult struct {
Files []string
}
type RemoteResource ¶
type RemoteResource interface { DownloadRemoteResource(log log.T, filesys filemanager.FileSystem, destinationDir string) (err error, result *DownloadResult) ValidateLocationInfo() (bool, error) }
RemoteResource is an interface for accessing remote resources. Every type of remote resource is expected to implement RemoteResource interface
Click to show internal directories.
Click to hide internal directories.