command

package
v3.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(args []string) error

Parse run app command

Types

type Node

type Node struct {
	ObjID  string                 `json:"bk_obj_id,omitempty"`
	Data   map[string]interface{} `json:"data,omitempty"`
	Childs []*Node                `json:"childs,omitempty"`
	// contains filtered or unexported fields
}

Node topo node define

type ProModule

type ProModule struct {
	ProcessID  int64  `json:"bk_process_id" bson:"bk_process_id,omitempty"`
	ModuleName string `json:"bk_module_name" bson:"bk_module_name,omitempty"`
	BizID      int64  `json:"bk_biz_id" bson:"bk_biz_id,omitempty"`
	OwnerID    string `json:"bk_supplier_account" bson:"bk_supplier_account"`
}

type Process

type Process struct {
	Data    map[string]interface{} `json:"data"`
	Modules []string               `json:"modules"`
}

type ProcessTopo

type ProcessTopo struct {
	BizName string     `json:"bk_biz_name"`
	Procs   []*Process `json:"procs"`
}

type Topo

type Topo struct {
	Mainline  []string     `json:"mainline,omitempty"`
	BizTopo   *Node        `json:"biz_topo,omitempty"`
	ProcTopos *ProcessTopo `json:"proc_topo,omitempty"`
}

Topo define

Jump to

Keyboard shortcuts

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