remoteresource

package
v0.0.0-...-a9ed6da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

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

Directories

Path Synopsis
Package remoteresource_mock has mock functions for remoteresource package
Package remoteresource_mock has mock functions for remoteresource package

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL