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

actionHelper.go appleNBI.go bootenv.go bootenvHelper.go certs.go commandHelper.go common.go contents.go doc.go events.go extended.go files.go gohai_linux.go info.go interfaces.go isos.go jobs.go lease.go logs.go machines.go metaHelper.go new_common.go paramHelper.go params.go plugin_providers.go plugins.go prefs.go process_jobs.go profileHelper.go profiles.go reservation.go roles.go stages.go startup.go subnet.go system.go taskHelper.go tasks.go template.go tenant.go user.go utils.go workflows.go

func NewApp Uses

func NewApp() *cobra.Command

func NewBasicKeyRequest Uses

func NewBasicKeyRequest() *basicKeyReq

NewBasicKeyRequest returns a default BasicKeyRequest.

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

type DocData Uses

type DocData struct {
    Name          string
    Version       string
    Documentation string
    Objects       [][]models.Docer

func (*DocData) LengthString Uses

func (dd *DocData) LengthString(str, pat string) string

Package cli imports 46 packages (graph). Updated 2018-12-19. Refresh now. Tools for package owners.