Documentation
¶
Index ¶
- func DeleteRepo(options plugininstaller.RawOptions) error
- func GetDynamicState(options plugininstaller.RawOptions) (statemanager.ResourceState, error)
- func InstallRepo(options plugininstaller.RawOptions) error
- func SetDefaultTemplateRepo(options plugininstaller.RawOptions) (plugininstaller.RawOptions, error)
- func Validate(options plugininstaller.RawOptions) (plugininstaller.RawOptions, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteRepo ¶
func DeleteRepo(options plugininstaller.RawOptions) error
DeleteRepo will delete repo by options
func GetDynamicState ¶
func GetDynamicState(options plugininstaller.RawOptions) (statemanager.ResourceState, error)
func InstallRepo ¶
func InstallRepo(options plugininstaller.RawOptions) error
InstallRepo will install repo by opts config
func SetDefaultTemplateRepo ¶
func SetDefaultTemplateRepo(options plugininstaller.RawOptions) (plugininstaller.RawOptions, error)
SetDefaultTemplateRepo set default value for repo
func Validate ¶
func Validate(options plugininstaller.RawOptions) (plugininstaller.RawOptions, error)
Validate validates the options provided by the core.
Types ¶
type Options ¶
type Options struct { SourceRepo *common.Repo `validate:"required" mapstructure:"sourceRepo"` DestinationRepo *common.Repo `validate:"required" mapstructure:"destinationRepo"` Vars map[string]interface{} }
func NewOptions ¶
func NewOptions(options plugininstaller.RawOptions) (*Options, error)
Click to show internal directories.
Click to hide internal directories.