jsonnetfile
can generate jsonnetfile.json for jsonnet-bundler
jb install github.com/crdsonnet/jsonnetfile-libsonnet/jsonnetfile@master
local jsonnetfile = import "github.com/crdsonnet/jsonnetfile-libsonnet/jsonnetfile/main.libsonnet";
jsonnetfile.new(legacyImports=false)
fn new(legacyImports=true)
fn withDependencies(value)
fn withDependenciesMixin(value)
fn withLegacyImports(value=true)
fn withVersion(value)
obj dependencies
new(legacyImports=true)
new
creates a jsonnetfile object
withDependencies(value)
withDependenciesMixin(value)
withLegacyImports(value=true)
withVersion(value)
withName(value)
withSingle(value=true)
withSource(value)
withSourceMixin(value)
withSum(value)
withVersion(value)
withGit(value)
withGitMixin(value)
withLocal(value)
withLocalMixin(value)
withHost(value)
withRepo(value)
withScheme(value)
withSubdir(value)
withUser(value)
withDirectory(value)