operations

package
v0.0.0-...-847bbec Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ElementTypeDescriptors []string = []string{
	"No Element",
	"Local Machine",
	"Cloud Machine",
	"Installation Plan",
	"Network",
	"Domain",
	"Project",
}

Functions

func AddElementToProject

func AddElementToProject(project model.Project, typeElem int, name string, anchorTypeElem int, anchorName string, anchorId string, file string, format string) (string, error)

func AlterElementInProject

func AlterElementInProject(project model.Project, typeElem int, name string, id string, file string, format string) (string, error)

func CloseProject

func CloseProject(project model.Project) (model.Project, error)

func DeleteElementInProject

func DeleteElementInProject(project model.Project, typeElem int, name string, id string) (string, error)

func OpenProject

func OpenProject(project model.Project) (model.Project, error)

Types

type CmdElementTypeDesc

type CmdElementTypeDesc int
const (
	NoElementDesc CmdElementTypeDesc = iota
	MachineDesc
	CMachineDesc
	PlanDesc
	NetworkDesc
	DomainDesc
	ProjectDesc
)

Jump to

Keyboard shortcuts

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