remoteresource

package
v0.0.0-...-f6ab670 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 12

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(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