operatingsystems

package
v3.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package operatingsystems provides the operating systems functionality for the CLI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdOS

func NewCmdOS(base *cli.Base) *cobra.Command

NewCmdOS provides the command for operating systems to the CLI

Types

type OSPrinter

type OSPrinter struct {
	OperatingSystems []govultr.OS  `json:"os"`
	Meta             *govultr.Meta `json:"meta"`
}

OSPrinter represents the plans data from the API

func (*OSPrinter) Columns

func (o *OSPrinter) Columns() [][]string

Columns provides the plan columns for the printer

func (*OSPrinter) Data

func (o *OSPrinter) Data() [][]string

Data provides the plan data for the printer

func (*OSPrinter) JSON

func (o *OSPrinter) JSON() []byte

JSON provides the JSON formatted byte data

func (*OSPrinter) Paging

func (o *OSPrinter) Paging() [][]string

Paging validates and forms the paging data for output

func (*OSPrinter) YAML

func (o *OSPrinter) YAML() []byte

YAML provides the YAML formatted byte data

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL