common

package
v0.0.0-...-6ac6f58 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0, BSD-3-Clause, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ControllerScheme = "http"
	ControllerIP     = "127.0.0.1"
	ControllerPort   = 30117
)

Functions

func SetLogLevel

func SetLogLevel(level string)

SetLogLevel to set log level

Types

type Action

type Action struct {
	Index       string   `json:"index"`
	Workdir     string   `json:"workdir"`
	Cmd         string   `json:"cmd"`
	Arg         string   `json:"arg"`
	Dep         []string `json:"dep"`
	FollowIndex []string `json:"followindex"` // follower index which depend on this
	Running     bool     `json:"running"`
	Finished    bool     `json:"finished"`
	//其它详细信息
	IsCompile  bool
	ModulePath string
	Desc       string
}

Action to desc single ubt action

type Actionresult

type Actionresult struct {
	Index     string
	Finished  bool
	Succeed   bool
	Outputmsg string
	Errormsg  string
	Exitcode  int
	Err       error
}

Actionresult to desc single action result

type Flags

type Flags struct {
	ActionChainFile string
	ToolChainFile   string
	MostDepentFirst bool
	LogLevel        string
	LogDir          string
}

Flags to desc flag of this tool

type UE4Action

type UE4Action struct {
	Actions []Action `json:"actions"`
}

UE4Action to desc ubt actions

func (*UE4Action) GenFolloweIndex

func (a *UE4Action) GenFolloweIndex() error

GenFolloweIndex to generate follower index

func (*UE4Action) UniqDeps

func (a *UE4Action) UniqDeps() error

UniqDeps to uniq depend index

Jump to

Keyboard shortcuts

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