Documentation ¶
Index ¶
- func Main()
- func NewAddCommand(logger log.Logger, ioStreams genericclioptions.IOStreams) *cobra.Command
- func NewConnectCommand(logger log.Logger, ioStreams genericclioptions.IOStreams) *cobra.Command
- func NewDeleteCommand(logger log.Logger, ioStreams genericclioptions.IOStreams) *cobra.Command
- func NewListCommand(logger log.Logger, ioStreams genericclioptions.IOStreams) *cobra.Command
- func NewPluginCommand(logger log.Logger, ioStreams genericclioptions.IOStreams) *cobra.Command
- func NewRootCommand(logger log.Logger, ioStreams genericclioptions.IOStreams) *cobra.Command
- func NewVersionCommand(logger log.Logger, ioStreams genericclioptions.IOStreams) *cobra.Command
- type Format
- type FormatWriter
- type OutputMachineInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddCommand ¶
func NewConnectCommand ¶
func NewDeleteCommand ¶
func NewListCommand ¶
func NewPluginCommand ¶
func NewRootCommand ¶
func NewVersionCommand ¶
Types ¶
type FormatWriter ¶
type FormatWriter struct {
// contains filtered or unexported fields
}
func NewFormatWriter ¶
func NewFormatWriter(w io.Writer, format Format) *FormatWriter
func (*FormatWriter) WriteAndClose ¶
func (f *FormatWriter) WriteAndClose(headers []string, items [][]string) error
type OutputMachineInfo ¶
type OutputMachineInfo struct { Name string `json:"name"` Type string `json:"type"` MachineDir string `json:"dir"` Status string `json:"status"` Cpus string `json:"cpus"` Gpus string `json:"gpus"` KubeApi string `json:"kubeAPI"` Memory string `json:"memory"` }
OutputMachineInfo defines the output format returned for each Machine
func (*OutputMachineInfo) Headers ¶
func (o *OutputMachineInfo) Headers() []string
func (*OutputMachineInfo) Values ¶
func (o *OutputMachineInfo) Values() []string
Click to show internal directories.
Click to hide internal directories.