gittag

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const VAR_TAG = "{{.tag}}"

Variables

This section is empty.

Functions

func InjectGitTag

func InjectGitTag(s *GitTag)

func InjectOsCmd

func InjectOsCmd(s *OsCmd)

func LoadGitTag

func LoadGitTag() baseiface.ISingleton

func LoadOsCmd

func LoadOsCmd() baseiface.ISingleton

Types

type GitTag

type GitTag struct {
	basedto.BaseEntitySingle
	// contains filtered or unexported fields
}

func FindBeanGitTag

func FindBeanGitTag() *GitTag

FindBeanGitTag

func NewGitTag

func NewGitTag() *GitTag

func (*GitTag) AddTag

func (self *GitTag) AddTag(tag string) *GitTag

func (*GitTag) DelTag

func (self *GitTag) DelTag(tag string) *GitTag

func (*GitTag) ListTag

func (self *GitTag) ListTag() (string, error)

type OsCmd

type OsCmd struct {
	basedto.BaseEntitySingle

	CmdPath string
	// contains filtered or unexported fields
}

func FindBeanOsCmd

func FindBeanOsCmd() *OsCmd

FindBeanOsCmd

func NewOsCmd

func NewOsCmd() *OsCmd

func (*OsCmd) ExecCmd

func (self *OsCmd) ExecCmd(cmd string) (string, error)

func (*OsCmd) ExecCmd2File

func (self *OsCmd) ExecCmd2File(cmds string) (string, error)

func (*OsCmd) ExecCmdFile

func (self *OsCmd) ExecCmdFile(cmdfile string) (string, error)

func (*OsCmd) ReadCmdFile

func (self *OsCmd) ReadCmdFile(cmdfile string) (string, error)

Jump to

Keyboard shortcuts

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