Documentation ¶
Index ¶
- func GetDownloadCommand(fs afero.Fs, command Command) (cmd *cobra.Command)
- type Command
- type DefaultCommand
- func (d DefaultCommand) DownloadConfigs(fs afero.Fs, cmdOptions downloadCmdOptions) error
- func (d DefaultCommand) DownloadConfigsBasedOnManifest(fs afero.Fs, cmdOptions downloadCmdOptions) error
- func (d DefaultCommand) DownloadEntities(fs afero.Fs, cmdOptions entitiesDirectDownloadOptions) error
- func (d DefaultCommand) DownloadEntitiesBasedOnManifest(fs afero.Fs, cmdOptions entitiesManifestDownloadOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command interface { DownloadConfigsBasedOnManifest(fs afero.Fs, cmdOptions downloadCmdOptions) error DownloadConfigs(fs afero.Fs, cmdOptions downloadCmdOptions) error DownloadEntitiesBasedOnManifest(fs afero.Fs, cmdOptions entitiesManifestDownloadOptions) error DownloadEntities(fs afero.Fs, cmdOptions entitiesDirectDownloadOptions) error }
Command is used to test the CLi commands properly without executing the actual monaco download.
The actual implementations are in the DefaultCommand struct.
type DefaultCommand ¶
type DefaultCommand struct{}
DefaultCommand is used to implement the Command interface.
func (DefaultCommand) DownloadConfigs ¶
func (d DefaultCommand) DownloadConfigs(fs afero.Fs, cmdOptions downloadCmdOptions) error
func (DefaultCommand) DownloadConfigsBasedOnManifest ¶
func (d DefaultCommand) DownloadConfigsBasedOnManifest(fs afero.Fs, cmdOptions downloadCmdOptions) error
func (DefaultCommand) DownloadEntities ¶
func (d DefaultCommand) DownloadEntities(fs afero.Fs, cmdOptions entitiesDirectDownloadOptions) error
func (DefaultCommand) DownloadEntitiesBasedOnManifest ¶
func (d DefaultCommand) DownloadEntitiesBasedOnManifest(fs afero.Fs, cmdOptions entitiesManifestDownloadOptions) error
Click to show internal directories.
Click to hide internal directories.