devops

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InitProjEntrypoint = pclient.NewTool(pclient.ToolOption{
	ToolName:       "initProj",
	Use:            "initProj",
	Aliases:        []string{"init-proj"},
	Short:          "从当前仓库抽取新项目初始化骨架",
	CacheKeyPrefix: cacheKeyPrefix,
	ParamList:      initProjParamSettingList,
	Run:            RunInitProj,
})

Functions

func CICli

func CICli()

func DeployCli

func DeployCli()

func InitProjCli

func InitProjCli()

func MakeCli

func MakeCli()

func RunInitProj

func RunInitProj(values pclient.ParamMap) error

Types

type DeployConfig

type DeployConfig struct {
	Files   map[string]string `json:"files"`
	Exclude []string          `json:"exclude"`
}

func (*DeployConfig) ShouldExclude

func (d *DeployConfig) ShouldExclude(srcPath string) bool

type DeployConflict

type DeployConflict struct {
	LocalPath  string
	RemotePath string
	LocalMD5   string
	RemoteMD5  string
}

type InitProjConfig

type InitProjConfig struct {
	Files   map[string]string `json:"files"`
	Exclude []string          `json:"exclude"`
}

func (*InitProjConfig) ShouldExclude

func (cfg *InitProjConfig) ShouldExclude(srcPath string) bool

type MakeTarget

type MakeTarget struct {
	Name string
	Msg  string
}

type MakeVar

type MakeVar struct {
	Name  string
	Value string
}

Jump to

Keyboard shortcuts

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