Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { // Path to the executable binary file of nhctl. Binary string genericclioptions.IOStreams }
Client interactive with nhctl
func NewDefaultClient ¶
func NewDefaultClient(streams genericclioptions.IOStreams) (*Client, error)
NewDefaultClient creates a default nhctl client and returns it.
func (*Client) CheckAndInstall ¶
CheckAndInstall will install nhctl if necessary.
Click to show internal directories.
Click to hide internal directories.