Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceGetter ¶
type ResourceGetter interface { GetLocalResources(source string, resources []string, destination string, subfolder string, recursively bool, worker *common.ConfigWorker, resourceType constants.ResourceType) error GetRemoteResources(destination string, subfolder string, worker *common.ConfigWorker, entries []common.Entry) error }
ResourceGetter is an interface for how to get and place local and remote resources.
type VCSAndLocalFSGetter ¶
type VCSAndLocalFSGetter struct{}
VCSAndLocalFSGetter is the resource getter that uses VCS for remote resource getting and local file system for local resources.
func (VCSAndLocalFSGetter) GetLocalResources ¶
func (g VCSAndLocalFSGetter) GetLocalResources(source string, resources []string, destination string, subfolder string, recursively bool, worker *common.ConfigWorker, resourceType constants.ResourceType) error
GetLocalResources is the implementation that uses the local file system to get local resources.
func (VCSAndLocalFSGetter) GetRemoteResources ¶
func (g VCSAndLocalFSGetter) GetRemoteResources(destination string, subfolder string, worker *common.ConfigWorker, entries []common.Entry) error
GetRemoteResources is the implementation that uses VCS to get remote resources.
Click to show internal directories.
Click to hide internal directories.