Documentation ¶
Overview ¶
Copyright (c) 2024 Alibaba Group Holding Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
View Source
const ( PkgDep = "github.com/antgan-0226/kotelbuild/pkg" OtelPkgDepsDir = "otel_pkgdep" )
View Source
const ( OtelSetupInst = "otel_setup_inst.go" OtelSetupSDK = "otel_setup_sdk.go" OtelRules = "otel_rules" OtelUser = "otel_user" OtelRuleCache = "rule_cache" OtelBackups = "backups" OtelBackupSuffix = ".bk" FuncMain = "main" FuncInit = "init" DryRunLog = "dry_run.log" StdRulesPrefix = "github.com/antgan-0226/kotelbuild/pkg/" StdRulesPath = "github.com/antgan-0226/kotelbuild/pkg/rules" ApiPath = "github.com/antgan-0226/kotelbuild/pkg/api" )
View Source
const ( OtelGetStackDef = "OtelGetStackImpl" OtelGetStackImportPath = "runtime/debug" OtelGetStackAliasPkg = "otel_runtime_debug" OtelGetStackImplCode = OtelGetStackAliasPkg + ".Stack" OtelPrintStackDef = "OtelPrintStackImpl" OtelPrintStackImportPath = "log" OtelPrintStackPkgAlias = "otel_log" OtelPrintStackImplCode = "func(bt []byte){ otel_log.Printf(string(bt)) }" )
@@ Change should sync with trampoline template
Variables ¶
This section is empty.
Functions ¶
func Preprocess ¶
func Preprocess() error
Types ¶
type DepProcessor ¶
type DepProcessor struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.