provision: github.com/digitalrebar/provision/cli Index | Files

package cli

import "github.com/digitalrebar/provision/cli"

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.

Index

Package Files

bootenv.go common.go contents.go doc.go events.go files.go info.go interfaces.go isos.go jobs.go lease.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 tasks.go template.go user.go utils.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 24 packages (graph). Updated 2017-12-11. Refresh now. Tools for package owners.