Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var RequiredClientArchivePaths = []string{
"pkg/client/assets/dist/console/index.js",
"pkg/client/assets/dist/styles/console.css",
"pkg/client/assets/dist/debug/index.js",
"pkg/client/assets/dist/debug/toolbar-bootstrap.js",
"pkg/client/assets/dist/styles/debug.css",
"pkg/client/assets/dist/third-party/iconoir/iconoir.css",
"pkg/client/assets/dist/third-party/iconoir/LICENSE",
"pkg/client/assets/dist/third-party/simple-datatables/style.css",
"pkg/client/assets/dist/third-party/simple-datatables/LICENSE",
"pkg/client/assets/dist/third-party/echarts/echarts.min.js",
"pkg/client/assets/dist/third-party/echarts/LICENSE",
"pkg/client/assets/dist/third-party/echarts/NOTICE",
}
RequiredClientArchivePaths lists the console entrypoints/styles and pinned browser dependencies that every root module release must contain.
Functions ¶
func CheckModuleArchive ¶
CheckModuleArchive builds a module ZIP from moduleRoot with x/mod and verifies that every required source-relative path is present in the exact archive.
func CheckRequiredModuleSource ¶
CheckRequiredModuleSource applies x/mod's real directory classification to moduleRoot and verifies that every required path is eligible for a module archive. Aggregate checkout size is not an eligibility rule: local caches and other untracked files may exceed the release archive limit. CheckModuleArchive still enforces the limit on the exact archive source.
func WriteModuleProxy ¶ added in v0.132.0
WriteModuleProxy writes one module version using the Go file-proxy protocol. The generated ZIP is built with x/mod from moduleRoot, so consumers exercise the same module-boundary and archive rules as a published coordinate.
Types ¶
This section is empty.