Documentation ¶
Index ¶
- Variables
- func Client(apiUlr, userID, password, otp string) (c *proxmox.Client, err error)
- func Execute() (err error)
- func LogFatalError(err error)
- func LogFatalListing(text string, err error)
- func NewClient() (c *proxmox.Client)
- func NewConfig() (configSource []byte)
- func PrintFormattedJson(out io.Writer, input interface{})
- func PrintItemCreated(out io.Writer, id, text string)
- func PrintItemDeleted(out io.Writer, id, text string)
- func PrintItemSet(out io.Writer, id, text string)
- func PrintItemUpdated(out io.Writer, id, text string)
- func PrintRawJson(out io.Writer, input interface{})
- func ValidateExistinGuestID(args []string, indexPos int) int
- func ValidateIDset(args []string, indexPos int, text string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "proxmox-api-go",
Short: "Application to configure Proxmox from the Api",
}
Global else the nested folders dont work
Functions ¶
func LogFatalError ¶
func LogFatalError(err error)
func LogFatalListing ¶
func PrintFormattedJson ¶
func PrintItemCreated ¶
func PrintItemDeleted ¶
func PrintItemSet ¶
func PrintItemUpdated ¶
func PrintRawJson ¶
func ValidateExistinGuestID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.