Documentation ¶
Index ¶
- func CreateCommand(tool Interface) *cobra.Command
- type DirectoryBasedToolOpts
- type DockerTool
- type HasCommandTemplate
- type Interface
- type Result
- type ToolOpts
- func (o *ToolOpts) GetToolOptions() *ToolOpts
- func (o *ToolOpts) InstallAPIServerArtifact(name, urlPath string) (*download.Download, error)
- func (o *ToolOpts) InstallTool(spec *download.Spec) (*download.Download, error)
- func (o *ToolOpts) Register(c *cobra.Command)
- func (o *ToolOpts) RunDocker(d *DockerTool) ([]byte, error)
- func (o *ToolOpts) RunTool(tool Interface) (*Result, error)
- func (o *ToolOpts) SetContextValues(m map[string]string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCommand ¶ added in v0.4.28
Types ¶
type DirectoryBasedToolOpts ¶ added in v0.4.28
type DirectoryBasedToolOpts struct { ToolOpts Directory string // contains filtered or unexported fields }
func (*DirectoryBasedToolOpts) GetDirectory ¶ added in v0.4.28
func (o *DirectoryBasedToolOpts) GetDirectory() string
func (*DirectoryBasedToolOpts) Register ¶ added in v0.4.28
func (o *DirectoryBasedToolOpts) Register(cmd *cobra.Command)
type DockerTool ¶ added in v0.4.29
type HasCommandTemplate ¶ added in v0.4.31
type Result ¶
type ToolOpts ¶
type ToolOpts struct { options.PrintClientOpts UploadEnabled bool OmitContext bool ToolVersion string ToolPath string Internal bool }
func (*ToolOpts) GetToolOptions ¶ added in v0.4.28
func (*ToolOpts) InstallAPIServerArtifact ¶ added in v0.4.28
func (*ToolOpts) InstallTool ¶ added in v0.4.29
func (*ToolOpts) RunDocker ¶ added in v0.4.29
func (o *ToolOpts) RunDocker(d *DockerTool) ([]byte, error)
func (*ToolOpts) SetContextValues ¶
Click to show internal directories.
Click to hide internal directories.