Documentation
¶
Index ¶
- func Install(ctx context.Context, options *InstallOptions) (err error)
- type InstallOptions
- func (i *InstallOptions) GetInstallPath() (installPath string, err error)
- func (i *InstallOptions) GetMode() (mode string, err error)
- func (i *InstallOptions) GetSrcPath() (srcPath string, err error)
- func (i *InstallOptions) IsModeSet() (isSet bool)
- func (i *InstallOptions) IsSourcePathSet() (isSet bool)
- func (i *InstallOptions) MustGetInstallPath() (installPath string)
- func (i *InstallOptions) MustGetMode() (mode string)
- func (i *InstallOptions) MustGetSrcPath() (srcPath string)
- func (i *InstallOptions) MustSetInstallPath(installPath string)
- func (i *InstallOptions) MustSetMode(mode string)
- func (i *InstallOptions) MustSetSrcPath(srcPath string)
- func (i *InstallOptions) SetInstallPath(installPath string) (err error)
- func (i *InstallOptions) SetMode(mode string) (err error)
- func (i *InstallOptions) SetSrcPath(srcPath string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InstallOptions ¶
func NewInstallOptions ¶
func NewInstallOptions() (i *InstallOptions)
func (*InstallOptions) GetInstallPath ¶
func (i *InstallOptions) GetInstallPath() (installPath string, err error)
func (*InstallOptions) GetMode ¶
func (i *InstallOptions) GetMode() (mode string, err error)
func (*InstallOptions) GetSrcPath ¶
func (i *InstallOptions) GetSrcPath() (srcPath string, err error)
func (*InstallOptions) IsModeSet ¶
func (i *InstallOptions) IsModeSet() (isSet bool)
func (*InstallOptions) IsSourcePathSet ¶
func (i *InstallOptions) IsSourcePathSet() (isSet bool)
func (*InstallOptions) MustGetInstallPath ¶
func (i *InstallOptions) MustGetInstallPath() (installPath string)
func (*InstallOptions) MustGetMode ¶
func (i *InstallOptions) MustGetMode() (mode string)
func (*InstallOptions) MustGetSrcPath ¶
func (i *InstallOptions) MustGetSrcPath() (srcPath string)
func (*InstallOptions) MustSetInstallPath ¶
func (i *InstallOptions) MustSetInstallPath(installPath string)
func (*InstallOptions) MustSetMode ¶
func (i *InstallOptions) MustSetMode(mode string)
func (*InstallOptions) MustSetSrcPath ¶
func (i *InstallOptions) MustSetSrcPath(srcPath string)
func (*InstallOptions) SetInstallPath ¶
func (i *InstallOptions) SetInstallPath(installPath string) (err error)
func (*InstallOptions) SetMode ¶
func (i *InstallOptions) SetMode(mode string) (err error)
func (*InstallOptions) SetSrcPath ¶
func (i *InstallOptions) SetSrcPath(srcPath string) (err error)
Click to show internal directories.
Click to hide internal directories.