Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnyVersion ¶
type AnyVersion struct {
Product product.Product
ExtraPaths []string
// contains filtered or unexported fields
}
AnyVersion finds the first executable binary of the product name within system $PATH and any declared ExtraPaths (which are *appended* to any directories in $PATH)
func (*AnyVersion) IsSourceImpl ¶
func (*AnyVersion) IsSourceImpl() src.InstallSrcSigil
func (*AnyVersion) SetLogger ¶
func (av *AnyVersion) SetLogger(logger *log.Logger)
func (*AnyVersion) Validate ¶
func (av *AnyVersion) Validate() error
type ExactVersion ¶
type ExactVersion struct {
Product product.Product
Version *version.Version
ExtraPaths []string
Timeout time.Duration
// contains filtered or unexported fields
}
ExactVersion finds the first executable binary of the product name which matches the Version within system $PATH and any declared ExtraPaths (which are *appended* to any directories in $PATH)
func (*ExactVersion) IsSourceImpl ¶
func (*ExactVersion) IsSourceImpl() src.InstallSrcSigil
func (*ExactVersion) SetLogger ¶
func (ev *ExactVersion) SetLogger(logger *log.Logger)
func (*ExactVersion) Validate ¶
func (ev *ExactVersion) Validate() error
Click to show internal directories.
Click to hide internal directories.