ops

package
v0.0.0-...-ba4d9c1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanLogs

func CleanLogs(logsFolder string) error

CleanLogs of jboss log's folder

func CopyFile

func CopyFile(src, dst string) (err error)

CopyFile from a src to a dst

func Execute

func Execute(dir, comm string, args []string) (ps *exec.Cmd)

Execute a command

func ExecuteAndPrint

func ExecuteAndPrint(dir, comm string, args []string)

ExecuteAndPrint a command in the console

func RemoveContents

func RemoveContents(dir string) (err error)

RemoveContents of a folder

func Start

func Start(jbossHome string, runArgs string) (ps *exec.Cmd, err error)

Start jboss server

func Tail

func Tail(file string) error

Tail the jboss log to the console

Types

This section is empty.

Jump to

Keyboard shortcuts

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