Documentation
¶
Index ¶
- type Runtime
- func (r *Runtime) GetLatest(ctx context.Context, moduleReq string) (string, bool, error)
- func (r *Runtime) GetModule(ctx context.Context, module string) (*structs.ModuleInfo, error)
- func (r *Runtime) Install(ctx context.Context, program string) error
- func (r *Runtime) Parse(_ context.Context, str string) (string, error)
- func (r *Runtime) Remove(ctx context.Context, tool structs.Tool) error
- func (r *Runtime) Run(ctx context.Context, program string, args ...string) error
- func (r *Runtime) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func (*Runtime) Parse ¶
Parse will parse string to normal version. Supported strings:
golangci/golangci-lint@v2.5.0
Click to show internal directories.
Click to hide internal directories.