provision: Index | Files

package cli

import ""

DigitalRebar Provision CLI provides the core parts of the CLI. This CLI uses an access core based upon a set of generated files from the generated swagger.json file.


Package Files

bootenv.go common.go contents.go doc.go events.go files.go gohai_linux.go info.go interfaces.go isos.go jobs.go lease.go logs.go machines.go new_common.go params.go plugin_providers.go plugins.go prefs.go process_jobs.go profiles.go reservation.go stages.go startup.go subnet.go system.go tasks.go template.go user.go utils.go workflows.go

func NewApp Uses

func NewApp() *cobra.Command

func PatchWithFunction Uses

func PatchWithFunction(key string, op *ops, fn func(models.Model) (models.Model, bool)) error

The input function takes the object and returns the modified object and if the object changed.

func PatchWithString Uses

func PatchWithString(key, js string, op *ops) error

Package cli imports 31 packages (graph). Updated 2018-04-18. Refresh now. Tools for package owners.