common

package
v0.510.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

View Source
const BuildLockTimeout = time.Minute
View Source
const ErrorFile = "errors.pb"
View Source
const JavaBuildToolGradle string = "gradle"
View Source
const JavaBuildToolMaven string = "maven"
View Source
const SchemaFile = "schema.pb"

Variables

View Source
var ErrInvalidateDependencies = errors.New("dependencies need to be updated")

Functions

This section is empty.

Types

type CmdService added in v0.471.0

type CmdService struct {
	ScaffoldFiles *zip.Reader
}

func NewCmdService added in v0.471.0

func NewCmdService(scaffoldFiles *zip.Reader) *CmdService

func (CmdService) GetNewModuleFlags added in v0.471.0

func (CmdService) GetSQLInterfaces added in v0.478.0

func (CmdService) NewModule added in v0.471.0

NewModule generates files for a new module with the requested name

type ExceptionRecord added in v0.493.1

type ExceptionRecord struct {
	RefID         int              `json:"refId"`
	ExceptionType string           `json:"exceptionType"`
	Message       string           `json:"message"`
	Frames        []FrameRecord    `json:"frames"`
	CausedBy      *ExceptionRecord `json:"causedBy"`
}

type FrameRecord added in v0.493.1

type FrameRecord struct {
	Class  string `json:"class"`
	Method string `json:"method"`
	Line   int    `json:"line"`
}

type JavaConfig

type JavaConfig struct {
	BuildTool string `mapstructure:"build-tool"`
}

type JvmLogRecord added in v0.462.0

type JvmLogRecord struct {
	Timestamp       time.Time        `json:"timestamp"`
	Sequence        int              `json:"sequence"`
	LoggerClassName string           `json:"loggerClassName"`
	LoggerName      string           `json:"loggerName"`
	Level           string           `json:"level"`
	Message         string           `json:"message"`
	ThreadName      string           `json:"threadName"`
	ThreadID        int              `json:"threadId"`
	Mdc             any              `json:"mdc"`
	Ndc             string           `json:"ndc"`
	HostName        string           `json:"hostName"`
	ProcessName     string           `json:"processName"`
	ProcessID       int              `json:"processId"`
	Exception       *ExceptionRecord `json:"exception"`
	StackTrace      string           `json:"stackTrace,omitempty"`
}

func (*JvmLogRecord) ToEntry added in v0.462.0

func (r *JvmLogRecord) ToEntry() log.Entry

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New() *Service

func (*Service) Ping

Jump to

Keyboard shortcuts

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