MCPcopy Create free account

hub / github.com/cisco/lal-build-manager / functions

Functions184 in github.com/cisco/lal-build-manager

↓ 11 callersFunctionresult_exit
(name: &str, x: LalResult<T>)
src/main.rs:21
↓ 10 callersFunctionbuild
Runs the `./BUILD` script in a container and packages artifacts. The function performs basic sanity checks, before shelling out to `docker run` to pe
src/build.rs:67
↓ 10 callersFunctionconfig_dir
Master override for where the .lal config lives
src/core/config.rs:23
↓ 10 callersMethodget_container
Resolve an arbitrary container shorthand
src/core/config.rs:202
↓ 9 callersMethodwrite
Overwrite `~/.lal/config` with serialized data from this struct
src/core/config.rs:188
↓ 8 callersFunctionis_ok
TODO: don't need to move T into here, but since they are joined..
tests/testmain.rs:24
↓ 8 callersFunctionverify
Verifies that `./INPUT` satisfies all strictness conditions. This first verifies that there are no key mismatches between `defaultConfig` and `config
src/verify.rs:21
↓ 6 callersMethodas_path
Generate path for Manifest assuming pwd is the root
src/core/manifest.rs:72
↓ 6 callersFunctionfetch
Fetch all dependencies from `manifest.json` This will read, and HTTP GET all the dependencies at the specified versions. If the `core` bool is set, t
src/fetch.rs:18
↓ 6 callersFunctionfetch_release_build_and_publish
(backend: &T)
tests/testmain.rs:420
↓ 6 callersMethodpopulate_from_input
Read all the lockfiles in INPUT to generate the full lockfile NB: This currently reads all the lockfiles partially in `analyze`, the re-reads them fu
src/core/lockfile.rs:150
↓ 6 callersFunctionupdate
Pull the current environment from docker
src/env.rs:7
↓ 5 callersFunctiondocker_run
Runs an arbitrary command in the configured docker environment This will mount the current directory as `~/volume` as well as a few conveniences, and
src/shell.rs:164
↓ 5 callersFunctioninit
Generates a blank manifest in the current directory This will use the directory name as the assumed default component name Then fill in the blanks as
src/init.rs:14
↓ 4 callersFunctionpublish
Publish a release build to the storage backend Meant to be done after a `lal build -r <component>` and requires publish credentials in the local `Con
src/publish.rs:11
↓ 4 callersFunctionstatus
Prints a fancy dependency tree of `./INPUT` to stdout. This is the quick version information of what you currently have in `./INPUT`. It prints the t
src/status.rs:73
↓ 3 callersMethodall_dependencies
Merge dependencies and devDependencies into one convenience map
src/core/manifest.rs:119
↓ 3 callersFunctionclean
Clean old artifacts in cache directory This does the equivalent of find CACHEDIR -mindepth 3 -maxdepth 3 -type d With the correct mtime flags, then -
src/clean.rs:34
↓ 3 callersFunctiondependencies
Print the dependencies from the manifest
src/list.rs:43
↓ 3 callersFunctionensure_dir_exists_fresh
Ensure a directory exists and is empty
src/core/ensure.rs:7
↓ 3 callersFunctionexport
Export a specific component from the storage backend
src/export.rs:8
↓ 3 callersFunctionget_cache_dir
(backend: &T, name: &str, version: u32, env: &str)
src/storage/download.rs:11
↓ 3 callersMethodget_cache_dir
(&self)
src/storage/local.rs:104
↓ 3 callersFunctionget_docker_image_id
Gets the ID of a docker container Uses the `docker images` command to find the image ID of the specified container. Will return a trimmed String cont
src/shell.rs:38
↓ 3 callersMethodget_versions
(&self, name: &str, loc: &str)
src/storage/local.rs:39
↓ 3 callersFunctionhello
examples/libhello/hello.c:3
↓ 3 callersFunctionprint
Outputs the update path to the current manifest for a specific component Given a component to propagate to the current one in your working directory,
src/propagate.rs:86
↓ 3 callersFunctionquery
Prints a list of versions associated with a component
src/query.rs:7
↓ 3 callersFunctionremove
Remove specific components from `./INPUT` and the manifest. This takes multiple components strings (without versions), and if the component is found
src/remove.rs:13
↓ 3 callersMethodretrieve_published_component
Locate a proper component, downloading it and caching if necessary
src/storage/download.rs:110
↓ 3 callersMethodunpack_published_component
basic functionality for `fetch`/`update`
src/storage/download.rs:136
↓ 3 callersFunctionupdate_all
Wrapper around update that updates all components This will pass all dependencies or devDependencies to update. If the save flag is set, then the man
src/update.rs:112
↓ 3 callersFunctionupgrade
Check for and possibly upgrade lal when using musl releases This will query for the latest version, and upgrade in the one possible case. If a newer
src/upgrade.rs:144
↓ 2 callersFunctionanalyze
Simple INPUT analyzer for the lockfile generator and `analyze_full`
src/core/input.rs:33
↓ 2 callersFunctionbuildables
Print the buildable components from the `Manifest`
src/list.rs:7
↓ 2 callersFunctionclean_in_dir
helper for `lal::clean`
src/clean.rs:11
↓ 2 callersFunctionclear
Clears the local .lal/opts file
src/env.rs:32
↓ 2 callersFunctioncompute
Compute the update sequence for a propagation
src/propagate.rs:30
↓ 2 callersFunctionconfigurations
Print the available configurations for a buildable Component
src/list.rs:23
↓ 2 callersFunctionconfigure
Create `~/.lal/config` with defaults A boolean option to discard the output is supplied for tests. A defaults file must be supplied to seed the new
src/configure.rs:196
↓ 2 callersFunctioncreate_lal_subdir
A startup helper used in a few places
src/core/manifest.rs:11
↓ 2 callersFunctionenvironments
Print the configured environments from the config
src/list.rs:35
↓ 2 callersFunctionextract_tarball_to_input
helper for the unpack_ functions
src/storage/download.rs:42
↓ 2 callersMethodfind_all_values
Recursive function to check for multiple version/environment (key) use
src/core/lockfile.rs:207
↓ 2 callersFunctionfind_home_dir
()
src/core/config.rs:13
↓ 2 callersFunctionget_dependency_env_url
The URL for a component tarball under the one of the environment trees
src/storage/artifactory.rs:205
↓ 2 callersFunctionget_dependency_url_latest
( art_cfg: &ArtifactoryConfig, name: &str, env: &str, )
src/storage/artifactory.rs:223
↓ 2 callersMethodget_latest_version
(&self, name: &str, loc: &str)
src/storage/local.rs:54
↓ 2 callersFunctionget_storage_versions
Query the Artifactory storage api This will get, then parse all results as u32s, and return this list. This assumes versoning is done via a single in
src/storage/artifactory.rs:114
↓ 2 callersFunctionhttp_download_to_path
simple request downloader
src/storage/artifactory.rs:72
↓ 2 callersFunctionhyper_req
simple request body fetcher
src/storage/artifactory.rs:60
↓ 2 callersMethodretrieve_stashed_component
helper for unpack_, `export`
src/storage/download.rs:161
↓ 2 callersFunctionscript
Runs a script in `.lal/scripts/` with supplied arguments in a docker shell This is a convenience helper for running things that aren't builds. E.g. `
src/shell.rs:327
↓ 2 callersFunctionset
Creates and sets the environment in the local .lal/opts file
src/env.rs:20
↓ 2 callersMethodset_name
Attach a name to the lockfile
src/core/lockfile.rs:174
↓ 2 callersFunctionstash
Saves current build `./OUTPUT` to the local cache under a specific name This tars up `/OUTPUT` similar to how `build` is generating a tarball, then c
src/stash.rs:13
↓ 2 callersFunctiontar
Helper for stash and build
src/core/output.rs:7
↓ 2 callersFunctionupload_artifact
Upload a tarball to artifactory This is using a http basic auth PUT to artifactory using config credentials.
src/storage/artifactory.rs:143
↓ 2 callersMethodverify
Verify assumptions about configurations
src/core/manifest.rs:153
↓ 1 callersFunctionanalyze_full
Helper for `lal::status`
src/core/input.rs:69
↓ 1 callersMethodattach_revision_id
Attach a revision id from source control
src/core/lockfile.rs:168
↓ 1 callersFunctionbuild_and_stash_update_self
(backend: &T)
tests/testmain.rs:338
↓ 1 callersFunctionbuild_docker_image
Builds a docker container Uses `docker build` to build a docker container with the specified instructions. It uses the --tag option to tag it with th
src/shell.rs:79
↓ 1 callersFunctionchange_envs
()
tests/testmain.rs:199
↓ 1 callersFunctioncheck_mount
(name: &str)
src/core/config.rs:91
↓ 1 callersFunctioncheck_propagation
(leaf: &str)
tests/testmain.rs:583
↓ 1 callersFunctionclean_check
()
tests/testmain.rs:630
↓ 1 callersFunctionclean_input
()
src/fetch.rs:7
↓ 1 callersFunctionconfigure_yes
()
tests/testmain.rs:256
↓ 1 callersFunctioncreate_lal_dir
()
src/configure.rs:180
↓ 1 callersFunctiondocker_sanity
()
src/configure.rs:24
↓ 1 callersFunctiondocker_version_check
()
src/configure.rs:83
↓ 1 callersFunctionexecutable_on_path
(exe: &str)
src/configure.rs:9
↓ 1 callersFunctionexport_check
(backend: &T)
tests/testmain.rs:662
↓ 1 callersFunctionextract_tarball
basic tarball extractor smaller than the INPUT extractor uses because it doesn't clear out anything
src/upgrade.rs:57
↓ 1 callersMethodfind_all_dependency_names
List all dependency names used by each dependency (not transitively)
src/core/lockfile.rs:250
↓ 1 callersMethodfind_all_dependency_versions
List all used versions used of each dependency
src/core/lockfile.rs:244
↓ 1 callersMethodfind_all_environments
List all used environments used of each dependency
src/core/lockfile.rs:247
↓ 1 callersFunctionfind_valid_build_script
()
src/build.rs:10
↓ 1 callersFunctionfixup_docker_container
Fixes up docker container for use with given uid and gid Returns a container derived from the one passed as an argument, with the `lal` user having i
src/shell.rs:118
↓ 1 callersMethodget_component_info
( &self, name: &str, version: Option<u32>, loc: &str, )
src/storage/local.rs:61
↓ 1 callersFunctionget_latest_lal_version
()
src/storage/artifactory.rs:291
↓ 1 callersMethodget_latest_supported_versions
Get the latest versions of a component across all supported environments Because the versions have to be available in all environments, these numbers
src/storage/download.rs:86
↓ 1 callersFunctionget_latest_versions
This queries the API for the default location if a default exists, then all our current multi-builds must exist
src/storage/artifactory.rs:246
↓ 1 callersMethodget_reverse_deps
List all dependees for each dependency
src/core/lockfile.rs:270
↓ 1 callersMethodget_reverse_deps_transitively_for
List all dependees for a dependency transitively
src/core/lockfile.rs:312
↓ 1 callersFunctionget_storage_as_u32
Get the maximal version number from the storage api
src/storage/artifactory.rs:196
↓ 1 callersFunctionget_tarball_uri
Main entry point for install
src/storage/artifactory.rs:258
↓ 1 callersMethodget_value
helper to extract specific keys out of a struct
src/core/lockfile.rs:196
↓ 1 callersFunctiongreeting
tests/heylib/hey.c:3
↓ 1 callersFunctionhandle_docker_cmds
( args: &ArgMatches, mf: &Manifest, cfg: &Config, env: &str, container: &Container, )
src/main.rs:175
↓ 1 callersFunctionhandle_env_command
( args: &ArgMatches, cfg: &Config, env: &str, stickies: &StickyOptions, )
src/main.rs:105
↓ 1 callersFunctionhandle_environment_agnostic_cmds
functions that need a manifest, but do not depend on environment values
src/main.rs:59
↓ 1 callersFunctionhandle_manifest_agnostic_cmds
functions that work without a manifest, and thus can run without a set env
src/main.rs:32
↓ 1 callersFunctionhandle_network_cmds
(args: &ArgMatches, mf: &Manifest, backend: &Backend, env: &str)
src/main.rs:86
↓ 1 callersFunctionhandle_upgrade
(args: &ArgMatches, cfg: &Config)
src/main.rs:146
↓ 1 callersFunctionhas_config_and_manifest
Tests need to be run in a directory with a manifest and ~/.lal + config must exist
tests/testmain.rs:299
↓ 1 callersFunctionidentify_exe
()
src/upgrade.rs:33
↓ 1 callersFunctioninit_force
Create manifest in a weird directory
tests/testmain.rs:277
↓ 1 callersFunctioninit_ssl
()
tests/testmain.rs:38
next →1–100 of 184, ranked by callers