├── .envrc
├── .github
├── .syncignore
├── CODEOWNERS
├── labels.yml
└── workflows
│ ├── auto-merge.yml
│ ├── dependency-deprecation-reminder.yml
│ ├── synchronize-labels.yml
│ ├── test-pull-request.yml
│ └── update-github-config.yml
├── .gitignore
├── CHANGELOG
├── CONTRIBUTING.md
├── ISSUE_TEMPLATE
├── LICENSE
├── NOTICE
├── PULL_REQUEST_TEMPLATE
├── README.md
├── VERSION
├── bin
├── compile
├── detect
├── finalize
├── release
└── supply
├── config.json
├── fixtures
├── brats_jruby
│ ├── Gemfile
│ ├── app.rb
│ ├── image.jpg
│ └── test.xml
├── brats_ruby
│ ├── Gemfile
│ ├── Gemfile.lock
│ ├── app.rb
│ ├── image.jpg
│ ├── manifest.yml
│ └── test.xml
├── default
│ ├── custom_gemfile
│ │ ├── Gemfile-APP
│ │ ├── Gemfile-APP.lock
│ │ ├── app.rb
│ │ ├── config.ru
│ │ └── manifest.yml
│ ├── rails6_sprockets
│ │ ├── .gitignore
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── app
│ │ │ ├── assets
│ │ │ │ ├── config
│ │ │ │ │ └── manifest.js
│ │ │ │ ├── images
│ │ │ │ │ └── .keep
│ │ │ │ └── stylesheets
│ │ │ │ │ └── application.css
│ │ │ ├── controllers
│ │ │ │ └── application_controller.rb
│ │ │ ├── helpers
│ │ │ │ └── application_helper.rb
│ │ │ ├── javascript
│ │ │ │ └── packs
│ │ │ │ │ └── application.js
│ │ │ ├── jobs
│ │ │ │ └── application_job.rb
│ │ │ └── views
│ │ │ │ └── layouts
│ │ │ │ └── application.html.erb
│ │ ├── babel.config.js
│ │ ├── bin
│ │ │ ├── bundle
│ │ │ ├── rails
│ │ │ ├── rake
│ │ │ ├── setup
│ │ │ ├── webpack
│ │ │ ├── webpack-dev-server
│ │ │ └── yarn
│ │ ├── config.ru
│ │ ├── config
│ │ │ ├── application.rb
│ │ │ ├── boot.rb
│ │ │ ├── environment.rb
│ │ │ ├── environments
│ │ │ │ ├── development.rb
│ │ │ │ ├── production.rb
│ │ │ │ └── test.rb
│ │ │ ├── initializers
│ │ │ │ ├── application_controller_renderer.rb
│ │ │ │ ├── assets.rb
│ │ │ │ ├── backtrace_silencers.rb
│ │ │ │ ├── content_security_policy.rb
│ │ │ │ ├── cookies_serializer.rb
│ │ │ │ ├── filter_parameter_logging.rb
│ │ │ │ ├── inflections.rb
│ │ │ │ ├── mime_types.rb
│ │ │ │ ├── new_framework_defaults_6_1.rb
│ │ │ │ ├── permissions_policy.rb
│ │ │ │ └── wrap_parameters.rb
│ │ │ ├── locales
│ │ │ │ └── en.yml
│ │ │ ├── puma.rb
│ │ │ ├── routes.rb
│ │ │ ├── webpack
│ │ │ │ ├── base.js
│ │ │ │ ├── development.js
│ │ │ │ ├── environment.js
│ │ │ │ ├── production.js
│ │ │ │ └── test.js
│ │ │ └── webpacker.yml
│ │ ├── package.json
│ │ ├── postcss.config.js
│ │ ├── public
│ │ │ ├── 404.html
│ │ │ ├── 422.html
│ │ │ ├── 500.html
│ │ │ ├── apple-touch-icon-precomposed.png
│ │ │ ├── apple-touch-icon.png
│ │ │ ├── favicon.ico
│ │ │ └── robots.txt
│ │ └── yarn.lock
│ ├── rails7
│ │ ├── .gitignore
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── app
│ │ │ ├── assets
│ │ │ │ ├── config
│ │ │ │ │ └── manifest.js
│ │ │ │ ├── images
│ │ │ │ │ └── .keep
│ │ │ │ └── stylesheets
│ │ │ │ │ └── application.css
│ │ │ ├── controllers
│ │ │ │ └── application_controller.rb
│ │ │ ├── helpers
│ │ │ │ └── application_helper.rb
│ │ │ ├── javascript
│ │ │ │ └── packs
│ │ │ │ │ └── application.js
│ │ │ ├── jobs
│ │ │ │ └── application_job.rb
│ │ │ └── views
│ │ │ │ └── layouts
│ │ │ │ └── application.html.erb
│ │ ├── babel.config.js
│ │ ├── bin
│ │ │ ├── bundle
│ │ │ ├── rails
│ │ │ ├── rake
│ │ │ ├── setup
│ │ │ ├── webpack
│ │ │ ├── webpack-dev-server
│ │ │ └── yarn
│ │ ├── config.ru
│ │ ├── config
│ │ │ ├── application.rb
│ │ │ ├── boot.rb
│ │ │ ├── environment.rb
│ │ │ ├── environments
│ │ │ │ ├── development.rb
│ │ │ │ ├── production.rb
│ │ │ │ └── test.rb
│ │ │ ├── initializers
│ │ │ │ ├── application_controller_renderer.rb
│ │ │ │ ├── assets.rb
│ │ │ │ ├── backtrace_silencers.rb
│ │ │ │ ├── content_security_policy.rb
│ │ │ │ ├── cookies_serializer.rb
│ │ │ │ ├── filter_parameter_logging.rb
│ │ │ │ ├── inflections.rb
│ │ │ │ ├── mime_types.rb
│ │ │ │ ├── new_framework_defaults_6_1.rb
│ │ │ │ ├── permissions_policy.rb
│ │ │ │ └── wrap_parameters.rb
│ │ │ ├── locales
│ │ │ │ └── en.yml
│ │ │ ├── puma.rb
│ │ │ ├── routes.rb
│ │ │ ├── webpack
│ │ │ │ ├── base.js
│ │ │ │ ├── development.js
│ │ │ │ ├── environment.js
│ │ │ │ ├── production.js
│ │ │ │ └── test.js
│ │ │ └── webpacker.yml
│ │ ├── package.json
│ │ ├── postcss.config.js
│ │ ├── public
│ │ │ ├── 404.html
│ │ │ ├── 422.html
│ │ │ ├── 500.html
│ │ │ ├── apple-touch-icon-precomposed.png
│ │ │ ├── apple-touch-icon.png
│ │ │ ├── favicon.ico
│ │ │ └── robots.txt
│ │ └── yarn.lock
│ ├── relative_gemspec_path
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── app.rb
│ │ ├── config.ru
│ │ ├── gems
│ │ │ └── hola
│ │ │ │ ├── hola.gemspec
│ │ │ │ └── lib
│ │ │ │ └── hola.rb
│ │ └── manifest.yml
│ ├── sinatra
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── README.md
│ │ ├── app.rb
│ │ ├── config.ru
│ │ ├── sym-configru
│ │ ├── sym-vendor
│ │ └── vendor
│ │ │ └── cache
│ │ │ ├── mustermann-3.0.0.gem
│ │ │ ├── rack-2.2.8.gem
│ │ │ ├── rack-protection-3.1.0.gem
│ │ │ ├── ruby2_keywords-0.0.5.gem
│ │ │ ├── sinatra-3.1.0.gem
│ │ │ ├── tilt-2.3.0.gem
│ │ │ └── webrick-1.8.1.gem
│ ├── sinatra_jruby
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── README.md
│ │ ├── app.rb
│ │ ├── config.ru
│ │ ├── manifest.yml
│ │ └── vendor
│ │ │ └── cache
│ │ │ ├── mustermann-3.0.0.gem
│ │ │ ├── rack-2.2.7.gem
│ │ │ ├── rack-protection-3.0.6.gem
│ │ │ ├── ruby2_keywords-0.0.5.gem
│ │ │ ├── sinatra-3.0.6.gem
│ │ │ ├── tilt-2.2.0.gem
│ │ │ └── webrick-1.8.1.gem
│ ├── specified_ruby_version
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── README.md
│ │ ├── app.rb
│ │ └── config.ru
│ ├── unspecified_ruby_version
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── README.md
│ │ ├── app.rb
│ │ └── config.ru
│ ├── vendor_bundle
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── Procfile
│ │ ├── app.rb
│ │ └── vendor
│ │ │ └── bundle
│ │ │ └── ruby
│ │ │ └── 3.1.0
│ │ │ ├── cache
│ │ │ ├── colorize-0.8.1.gem
│ │ │ └── webrick-1.7.0.gem
│ │ │ ├── gems
│ │ │ ├── colorize-0.8.1
│ │ │ │ ├── CHANGELOG
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── Rakefile
│ │ │ │ ├── colorize.gemspec
│ │ │ │ ├── lib
│ │ │ │ │ ├── colorize.rb
│ │ │ │ │ ├── colorize
│ │ │ │ │ │ ├── class_methods.rb
│ │ │ │ │ │ └── instance_methods.rb
│ │ │ │ │ └── colorized_string.rb
│ │ │ │ └── test
│ │ │ │ │ └── test_colorize.rb
│ │ │ └── webrick-1.7.0
│ │ │ │ ├── Gemfile
│ │ │ │ ├── LICENSE.txt
│ │ │ │ ├── README.md
│ │ │ │ ├── Rakefile
│ │ │ │ ├── bin
│ │ │ │ ├── console
│ │ │ │ └── setup
│ │ │ │ ├── lib
│ │ │ │ ├── webrick.rb
│ │ │ │ └── webrick
│ │ │ │ │ ├── accesslog.rb
│ │ │ │ │ ├── cgi.rb
│ │ │ │ │ ├── compat.rb
│ │ │ │ │ ├── config.rb
│ │ │ │ │ ├── cookie.rb
│ │ │ │ │ ├── htmlutils.rb
│ │ │ │ │ ├── httpauth.rb
│ │ │ │ │ ├── httpauth
│ │ │ │ │ ├── authenticator.rb
│ │ │ │ │ ├── basicauth.rb
│ │ │ │ │ ├── digestauth.rb
│ │ │ │ │ ├── htdigest.rb
│ │ │ │ │ ├── htgroup.rb
│ │ │ │ │ ├── htpasswd.rb
│ │ │ │ │ └── userdb.rb
│ │ │ │ │ ├── httpproxy.rb
│ │ │ │ │ ├── httprequest.rb
│ │ │ │ │ ├── httpresponse.rb
│ │ │ │ │ ├── https.rb
│ │ │ │ │ ├── httpserver.rb
│ │ │ │ │ ├── httpservlet.rb
│ │ │ │ │ ├── httpservlet
│ │ │ │ │ ├── abstract.rb
│ │ │ │ │ ├── cgi_runner.rb
│ │ │ │ │ ├── cgihandler.rb
│ │ │ │ │ ├── erbhandler.rb
│ │ │ │ │ ├── filehandler.rb
│ │ │ │ │ └── prochandler.rb
│ │ │ │ │ ├── httpstatus.rb
│ │ │ │ │ ├── httputils.rb
│ │ │ │ │ ├── httpversion.rb
│ │ │ │ │ ├── log.rb
│ │ │ │ │ ├── server.rb
│ │ │ │ │ ├── ssl.rb
│ │ │ │ │ ├── utils.rb
│ │ │ │ │ └── version.rb
│ │ │ │ └── webrick.gemspec
│ │ │ └── specifications
│ │ │ ├── colorize-0.8.1.gemspec
│ │ │ └── webrick-1.7.0.gemspec
│ └── vendor_cache
│ │ ├── .bundle
│ │ └── config
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── Procfile
│ │ ├── app.rb
│ │ └── vendor
│ │ └── cache
│ │ ├── colorize-0.8.1.gem
│ │ └── webrick-1.7.0.gem
├── multibuildpack
│ ├── dotnet_core
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── README.md
│ │ ├── app.rb
│ │ ├── config.ru
│ │ └── simple.csproj
│ ├── no_gemfile
│ │ ├── Procfile
│ │ ├── app.rb
│ │ └── manifest.yml
│ ├── rails6
│ │ ├── .gitignore
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── app
│ │ │ ├── assets
│ │ │ │ ├── config
│ │ │ │ │ └── manifest.js
│ │ │ │ ├── images
│ │ │ │ │ └── .keep
│ │ │ │ └── stylesheets
│ │ │ │ │ └── application.css
│ │ │ ├── controllers
│ │ │ │ └── application_controller.rb
│ │ │ ├── helpers
│ │ │ │ └── application_helper.rb
│ │ │ ├── javascript
│ │ │ │ └── packs
│ │ │ │ │ └── application.js
│ │ │ ├── jobs
│ │ │ │ └── application_job.rb
│ │ │ └── views
│ │ │ │ └── layouts
│ │ │ │ └── application.html.erb
│ │ ├── babel.config.js
│ │ ├── bin
│ │ │ ├── bundle
│ │ │ ├── rails
│ │ │ ├── rake
│ │ │ ├── setup
│ │ │ ├── webpack
│ │ │ ├── webpack-dev-server
│ │ │ └── yarn
│ │ ├── config.ru
│ │ ├── config
│ │ │ ├── application.rb
│ │ │ ├── boot.rb
│ │ │ ├── environment.rb
│ │ │ ├── environments
│ │ │ │ ├── development.rb
│ │ │ │ ├── production.rb
│ │ │ │ └── test.rb
│ │ │ ├── initializers
│ │ │ │ ├── application_controller_renderer.rb
│ │ │ │ ├── assets.rb
│ │ │ │ ├── backtrace_silencers.rb
│ │ │ │ ├── content_security_policy.rb
│ │ │ │ ├── cookies_serializer.rb
│ │ │ │ ├── filter_parameter_logging.rb
│ │ │ │ ├── inflections.rb
│ │ │ │ ├── mime_types.rb
│ │ │ │ ├── new_framework_defaults_6_1.rb
│ │ │ │ ├── permissions_policy.rb
│ │ │ │ └── wrap_parameters.rb
│ │ │ ├── locales
│ │ │ │ └── en.yml
│ │ │ ├── puma.rb
│ │ │ ├── routes.rb
│ │ │ ├── webpack
│ │ │ │ ├── base.js
│ │ │ │ ├── development.js
│ │ │ │ ├── environment.js
│ │ │ │ ├── production.js
│ │ │ │ └── test.js
│ │ │ └── webpacker.yml
│ │ ├── package.json
│ │ ├── postcss.config.js
│ │ ├── public
│ │ │ ├── 404.html
│ │ │ ├── 422.html
│ │ │ ├── 500.html
│ │ │ ├── apple-touch-icon-precomposed.png
│ │ │ ├── apple-touch-icon.png
│ │ │ ├── favicon.ico
│ │ │ └── robots.txt
│ │ └── yarn.lock
│ └── ruby_calls_go
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── app.rb
│ │ ├── config.ru
│ │ └── site.go
└── util
│ ├── override_buildpack
│ ├── bin
│ │ ├── compile
│ │ └── supply
│ ├── node.tgz
│ └── override.yml
│ └── proxy
│ ├── go.mod
│ ├── go.sum
│ └── main.go
├── go.mod
├── go.sum
├── java-index
└── index.yml
├── manifest.yml
├── scripts
├── .util
│ ├── print.sh
│ └── tools.sh
├── brats.sh
├── build.sh
├── install_go.sh
├── integration.sh
├── package.sh
└── unit.sh
├── src
└── ruby
│ ├── brats
│ ├── brats_suite_test.go
│ └── brats_test.go
│ ├── cache
│ ├── cache.go
│ ├── cache_suite_test.go
│ ├── cache_test.go
│ └── mocks_cache_test.go
│ ├── finalize
│ ├── cli
│ │ └── main.go
│ ├── data.go
│ ├── finalize.go
│ ├── finalize_suite_test.go
│ ├── finalize_test.go
│ ├── mocks_finalize_test.go
│ ├── mocks_release_test.go
│ ├── release.go
│ └── release_test.go
│ ├── integration
│ ├── cache_test.go
│ ├── default_test.go
│ ├── init_test.go
│ ├── multibuildpack_test.go
│ ├── offline_test.go
│ ├── override_test.go
│ └── proxy_test.go
│ ├── supply
│ ├── cli
│ │ └── main.go
│ ├── mocks_test.go
│ ├── supply.go
│ ├── supply_suite_test.go
│ └── supply_test.go
│ └── versions
│ ├── data_test.go
│ ├── mocks_ruby_test.go
│ ├── ruby.go
│ ├── ruby_test.go
│ └── versions_suite_test.go
└── vendor
├── code.cloudfoundry.org
└── lager
│ ├── LICENSE
│ ├── NOTICE
│ ├── README.md
│ ├── json_redacter.go
│ ├── logger.go
│ ├── models.go
│ ├── package.go
│ ├── reconfigurable_sink.go
│ ├── redacting_sink.go
│ └── writer_sink.go
├── github.com
├── Masterminds
│ └── semver
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── LICENSE.txt
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── appveyor.yml
│ │ ├── collection.go
│ │ ├── constraints.go
│ │ ├── doc.go
│ │ ├── version.go
│ │ └── version_fuzz.go
├── Microsoft
│ └── go-winio
│ │ ├── .gitattributes
│ │ ├── .gitignore
│ │ ├── .golangci.yml
│ │ ├── CODEOWNERS
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── SECURITY.md
│ │ ├── backup.go
│ │ ├── doc.go
│ │ ├── ea.go
│ │ ├── file.go
│ │ ├── fileinfo.go
│ │ ├── hvsock.go
│ │ ├── internal
│ │ ├── fs
│ │ │ ├── doc.go
│ │ │ ├── fs.go
│ │ │ ├── security.go
│ │ │ └── zsyscall_windows.go
│ │ ├── socket
│ │ │ ├── rawaddr.go
│ │ │ ├── socket.go
│ │ │ └── zsyscall_windows.go
│ │ └── stringbuffer
│ │ │ └── wstring.go
│ │ ├── pipe.go
│ │ ├── pkg
│ │ └── guid
│ │ │ ├── guid.go
│ │ │ ├── guid_nonwindows.go
│ │ │ ├── guid_windows.go
│ │ │ └── variant_string.go
│ │ ├── privilege.go
│ │ ├── reparse.go
│ │ ├── sd.go
│ │ ├── syscall.go
│ │ └── zsyscall_windows.go
├── blang
│ └── semver
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── json.go
│ │ ├── package.json
│ │ ├── range.go
│ │ ├── semver.go
│ │ ├── sort.go
│ │ └── sql.go
├── cenkalti
│ └── backoff
│ │ └── v4
│ │ ├── .gitignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── backoff.go
│ │ ├── context.go
│ │ ├── exponential.go
│ │ ├── retry.go
│ │ ├── ticker.go
│ │ ├── timer.go
│ │ └── tries.go
├── cloudfoundry
│ ├── libbuildpack
│ │ ├── .gitignore
│ │ ├── LICENSE
│ │ ├── NOTICE
│ │ ├── README.md
│ │ ├── ansicleaner
│ │ │ └── buffer.go
│ │ ├── bratshelper
│ │ │ ├── data.go
│ │ │ ├── language.go
│ │ │ ├── modify.go
│ │ │ ├── tests.go
│ │ │ └── utils.go
│ │ ├── command.go
│ │ ├── cutlass
│ │ │ ├── buffer.go
│ │ │ ├── cf.go
│ │ │ ├── constants.go
│ │ │ ├── docker.go
│ │ │ ├── docker
│ │ │ │ ├── cli.go
│ │ │ │ └── dockerfile.go
│ │ │ ├── glow
│ │ │ │ ├── archiver.go
│ │ │ │ └── cli.go
│ │ │ ├── logger.go
│ │ │ ├── proxy.go
│ │ │ ├── test_helpers.go
│ │ │ └── utils.go
│ │ ├── error_messages.go
│ │ ├── hooks.go
│ │ ├── installer.go
│ │ ├── json.go
│ │ ├── logger.go
│ │ ├── manifest.go
│ │ ├── packager
│ │ │ ├── README.md
│ │ │ ├── bindata.go
│ │ │ ├── cfbindata.go
│ │ │ ├── models.go
│ │ │ ├── packager.go
│ │ │ └── summary.go
│ │ ├── stager.go
│ │ ├── stager_unix.go
│ │ ├── stager_windows.go
│ │ ├── util.go
│ │ ├── versions.go
│ │ └── yaml.go
│ └── switchblade
│ │ ├── .gitignore
│ │ ├── README.md
│ │ ├── cloudfoundry.go
│ │ ├── deployment.go
│ │ ├── docker.go
│ │ ├── internal
│ │ ├── cloudfoundry
│ │ │ ├── deinitialize.go
│ │ │ ├── executable.go
│ │ │ ├── initialize.go
│ │ │ ├── setup.go
│ │ │ ├── stage.go
│ │ │ └── teardown.go
│ │ └── docker
│ │ │ ├── buildpacks_cache.go
│ │ │ ├── buildpacks_manager.go
│ │ │ ├── buildpacks_registry.go
│ │ │ ├── deinitialize.go
│ │ │ ├── initialize.go
│ │ │ ├── lifecycle_manager.go
│ │ │ ├── network_manager.go
│ │ │ ├── setup.go
│ │ │ ├── stage.go
│ │ │ ├── start.go
│ │ │ ├── teardown.go
│ │ │ └── tgz_archiver.go
│ │ ├── matchers
│ │ ├── contain_lines.go
│ │ └── serve.go
│ │ ├── platform.go
│ │ ├── random_name.go
│ │ └── source.go
├── docker
│ ├── distribution
│ │ ├── LICENSE
│ │ ├── digestset
│ │ │ └── set.go
│ │ └── reference
│ │ │ ├── helpers.go
│ │ │ ├── normalize.go
│ │ │ ├── reference.go
│ │ │ └── regexp.go
│ ├── docker
│ │ ├── AUTHORS
│ │ ├── LICENSE
│ │ ├── NOTICE
│ │ ├── api
│ │ │ ├── README.md
│ │ │ ├── common.go
│ │ │ ├── common_unix.go
│ │ │ ├── common_windows.go
│ │ │ ├── swagger-gen.yaml
│ │ │ ├── swagger.yaml
│ │ │ └── types
│ │ │ │ ├── auth.go
│ │ │ │ ├── blkiodev
│ │ │ │ └── blkio.go
│ │ │ │ ├── client.go
│ │ │ │ ├── configs.go
│ │ │ │ ├── container
│ │ │ │ ├── change_response_deprecated.go
│ │ │ │ ├── change_type.go
│ │ │ │ ├── change_types.go
│ │ │ │ ├── config.go
│ │ │ │ ├── container_top.go
│ │ │ │ ├── container_update.go
│ │ │ │ ├── create_response.go
│ │ │ │ ├── filesystem_change.go
│ │ │ │ ├── hostconfig.go
│ │ │ │ ├── hostconfig_unix.go
│ │ │ │ ├── hostconfig_windows.go
│ │ │ │ ├── wait_exit_error.go
│ │ │ │ ├── wait_response.go
│ │ │ │ └── waitcondition.go
│ │ │ │ ├── error_response.go
│ │ │ │ ├── error_response_ext.go
│ │ │ │ ├── events
│ │ │ │ └── events.go
│ │ │ │ ├── filters
│ │ │ │ ├── errors.go
│ │ │ │ └── parse.go
│ │ │ │ ├── graph_driver_data.go
│ │ │ │ ├── id_response.go
│ │ │ │ ├── image
│ │ │ │ ├── image_history.go
│ │ │ │ └── opts.go
│ │ │ │ ├── image_delete_response_item.go
│ │ │ │ ├── image_summary.go
│ │ │ │ ├── mount
│ │ │ │ └── mount.go
│ │ │ │ ├── network
│ │ │ │ └── network.go
│ │ │ │ ├── plugin.go
│ │ │ │ ├── plugin_device.go
│ │ │ │ ├── plugin_env.go
│ │ │ │ ├── plugin_interface_type.go
│ │ │ │ ├── plugin_mount.go
│ │ │ │ ├── plugin_responses.go
│ │ │ │ ├── port.go
│ │ │ │ ├── registry
│ │ │ │ ├── authconfig.go
│ │ │ │ ├── authenticate.go
│ │ │ │ └── registry.go
│ │ │ │ ├── service_update_response.go
│ │ │ │ ├── stats.go
│ │ │ │ ├── strslice
│ │ │ │ └── strslice.go
│ │ │ │ ├── swarm
│ │ │ │ ├── common.go
│ │ │ │ ├── config.go
│ │ │ │ ├── container.go
│ │ │ │ ├── network.go
│ │ │ │ ├── node.go
│ │ │ │ ├── runtime.go
│ │ │ │ ├── runtime
│ │ │ │ │ ├── gen.go
│ │ │ │ │ ├── plugin.pb.go
│ │ │ │ │ └── plugin.proto
│ │ │ │ ├── secret.go
│ │ │ │ ├── service.go
│ │ │ │ ├── swarm.go
│ │ │ │ └── task.go
│ │ │ │ ├── time
│ │ │ │ └── timestamp.go
│ │ │ │ ├── types.go
│ │ │ │ ├── versions
│ │ │ │ ├── README.md
│ │ │ │ └── compare.go
│ │ │ │ └── volume
│ │ │ │ ├── cluster_volume.go
│ │ │ │ ├── create_options.go
│ │ │ │ ├── list_response.go
│ │ │ │ ├── options.go
│ │ │ │ ├── volume.go
│ │ │ │ └── volume_update.go
│ │ ├── client
│ │ │ ├── README.md
│ │ │ ├── build_cancel.go
│ │ │ ├── build_prune.go
│ │ │ ├── checkpoint_create.go
│ │ │ ├── checkpoint_delete.go
│ │ │ ├── checkpoint_list.go
│ │ │ ├── client.go
│ │ │ ├── client_deprecated.go
│ │ │ ├── client_unix.go
│ │ │ ├── client_windows.go
│ │ │ ├── config_create.go
│ │ │ ├── config_inspect.go
│ │ │ ├── config_list.go
│ │ │ ├── config_remove.go
│ │ │ ├── config_update.go
│ │ │ ├── container_attach.go
│ │ │ ├── container_commit.go
│ │ │ ├── container_copy.go
│ │ │ ├── container_create.go
│ │ │ ├── container_diff.go
│ │ │ ├── container_exec.go
│ │ │ ├── container_export.go
│ │ │ ├── container_inspect.go
│ │ │ ├── container_kill.go
│ │ │ ├── container_list.go
│ │ │ ├── container_logs.go
│ │ │ ├── container_pause.go
│ │ │ ├── container_prune.go
│ │ │ ├── container_remove.go
│ │ │ ├── container_rename.go
│ │ │ ├── container_resize.go
│ │ │ ├── container_restart.go
│ │ │ ├── container_start.go
│ │ │ ├── container_stats.go
│ │ │ ├── container_stop.go
│ │ │ ├── container_top.go
│ │ │ ├── container_unpause.go
│ │ │ ├── container_update.go
│ │ │ ├── container_wait.go
│ │ │ ├── disk_usage.go
│ │ │ ├── distribution_inspect.go
│ │ │ ├── envvars.go
│ │ │ ├── errors.go
│ │ │ ├── events.go
│ │ │ ├── hijack.go
│ │ │ ├── image_build.go
│ │ │ ├── image_create.go
│ │ │ ├── image_history.go
│ │ │ ├── image_import.go
│ │ │ ├── image_inspect.go
│ │ │ ├── image_list.go
│ │ │ ├── image_load.go
│ │ │ ├── image_prune.go
│ │ │ ├── image_pull.go
│ │ │ ├── image_push.go
│ │ │ ├── image_remove.go
│ │ │ ├── image_save.go
│ │ │ ├── image_search.go
│ │ │ ├── image_tag.go
│ │ │ ├── info.go
│ │ │ ├── interface.go
│ │ │ ├── interface_experimental.go
│ │ │ ├── interface_stable.go
│ │ │ ├── login.go
│ │ │ ├── network_connect.go
│ │ │ ├── network_create.go
│ │ │ ├── network_disconnect.go
│ │ │ ├── network_inspect.go
│ │ │ ├── network_list.go
│ │ │ ├── network_prune.go
│ │ │ ├── network_remove.go
│ │ │ ├── node_inspect.go
│ │ │ ├── node_list.go
│ │ │ ├── node_remove.go
│ │ │ ├── node_update.go
│ │ │ ├── options.go
│ │ │ ├── ping.go
│ │ │ ├── plugin_create.go
│ │ │ ├── plugin_disable.go
│ │ │ ├── plugin_enable.go
│ │ │ ├── plugin_inspect.go
│ │ │ ├── plugin_install.go
│ │ │ ├── plugin_list.go
│ │ │ ├── plugin_push.go
│ │ │ ├── plugin_remove.go
│ │ │ ├── plugin_set.go
│ │ │ ├── plugin_upgrade.go
│ │ │ ├── request.go
│ │ │ ├── secret_create.go
│ │ │ ├── secret_inspect.go
│ │ │ ├── secret_list.go
│ │ │ ├── secret_remove.go
│ │ │ ├── secret_update.go
│ │ │ ├── service_create.go
│ │ │ ├── service_inspect.go
│ │ │ ├── service_list.go
│ │ │ ├── service_logs.go
│ │ │ ├── service_remove.go
│ │ │ ├── service_update.go
│ │ │ ├── swarm_get_unlock_key.go
│ │ │ ├── swarm_init.go
│ │ │ ├── swarm_inspect.go
│ │ │ ├── swarm_join.go
│ │ │ ├── swarm_leave.go
│ │ │ ├── swarm_unlock.go
│ │ │ ├── swarm_update.go
│ │ │ ├── task_inspect.go
│ │ │ ├── task_list.go
│ │ │ ├── task_logs.go
│ │ │ ├── transport.go
│ │ │ ├── utils.go
│ │ │ ├── version.go
│ │ │ ├── volume_create.go
│ │ │ ├── volume_inspect.go
│ │ │ ├── volume_list.go
│ │ │ ├── volume_prune.go
│ │ │ ├── volume_remove.go
│ │ │ └── volume_update.go
│ │ ├── errdefs
│ │ │ ├── defs.go
│ │ │ ├── doc.go
│ │ │ ├── helpers.go
│ │ │ ├── http_helpers.go
│ │ │ └── is.go
│ │ └── pkg
│ │ │ └── stdcopy
│ │ │ └── stdcopy.go
│ ├── go-connections
│ │ ├── LICENSE
│ │ ├── nat
│ │ │ ├── nat.go
│ │ │ ├── parse.go
│ │ │ └── sort.go
│ │ ├── sockets
│ │ │ ├── README.md
│ │ │ ├── inmem_socket.go
│ │ │ ├── proxy.go
│ │ │ ├── sockets.go
│ │ │ ├── sockets_unix.go
│ │ │ ├── sockets_windows.go
│ │ │ ├── tcp_socket.go
│ │ │ └── unix_socket.go
│ │ └── tlsconfig
│ │ │ ├── certpool.go
│ │ │ ├── config.go
│ │ │ └── config_client_ciphers.go
│ └── go-units
│ │ ├── CONTRIBUTING.md
│ │ ├── LICENSE
│ │ ├── MAINTAINERS
│ │ ├── README.md
│ │ ├── circle.yml
│ │ ├── duration.go
│ │ ├── size.go
│ │ └── ulimit.go
├── elazarl
│ └── goproxy
│ │ ├── .gitignore
│ │ ├── .golangci.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── actions.go
│ │ ├── all.bash
│ │ ├── ca.pem
│ │ ├── certs.go
│ │ ├── chunked.go
│ │ ├── ctx.go
│ │ ├── dispatcher.go
│ │ ├── doc.go
│ │ ├── h2.go
│ │ ├── http.go
│ │ ├── https.go
│ │ ├── internal
│ │ ├── http1parser
│ │ │ ├── header.go
│ │ │ └── request.go
│ │ └── signer
│ │ │ ├── counterecryptor.go
│ │ │ └── signer.go
│ │ ├── key.pem
│ │ ├── logger.go
│ │ ├── proxy.go
│ │ ├── responses.go
│ │ └── websocket.go
├── fsnotify
│ └── fsnotify
│ │ ├── .cirrus.yml
│ │ ├── .gitignore
│ │ ├── .mailmap
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── backend_fen.go
│ │ ├── backend_inotify.go
│ │ ├── backend_kqueue.go
│ │ ├── backend_other.go
│ │ ├── backend_windows.go
│ │ ├── fsnotify.go
│ │ ├── internal
│ │ ├── darwin.go
│ │ ├── debug_darwin.go
│ │ ├── debug_dragonfly.go
│ │ ├── debug_freebsd.go
│ │ ├── debug_kqueue.go
│ │ ├── debug_linux.go
│ │ ├── debug_netbsd.go
│ │ ├── debug_openbsd.go
│ │ ├── debug_solaris.go
│ │ ├── debug_windows.go
│ │ ├── freebsd.go
│ │ ├── internal.go
│ │ ├── unix.go
│ │ ├── unix2.go
│ │ └── windows.go
│ │ ├── system_bsd.go
│ │ └── system_darwin.go
├── gabriel-vasile
│ └── mimetype
│ │ ├── .gitattributes
│ │ ├── CODE_OF_CONDUCT.md
│ │ ├── CONTRIBUTING.md
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── internal
│ │ ├── charset
│ │ │ └── charset.go
│ │ ├── json
│ │ │ └── json.go
│ │ └── magic
│ │ │ ├── archive.go
│ │ │ ├── audio.go
│ │ │ ├── binary.go
│ │ │ ├── database.go
│ │ │ ├── document.go
│ │ │ ├── font.go
│ │ │ ├── ftyp.go
│ │ │ ├── geo.go
│ │ │ ├── image.go
│ │ │ ├── magic.go
│ │ │ ├── ms_office.go
│ │ │ ├── ogg.go
│ │ │ ├── text.go
│ │ │ ├── text_csv.go
│ │ │ ├── video.go
│ │ │ └── zip.go
│ │ ├── mime.go
│ │ ├── mimetype.go
│ │ ├── supported_mimes.md
│ │ └── tree.go
├── gogo
│ └── protobuf
│ │ ├── AUTHORS
│ │ ├── CONTRIBUTORS
│ │ ├── LICENSE
│ │ └── proto
│ │ ├── Makefile
│ │ ├── clone.go
│ │ ├── custom_gogo.go
│ │ ├── decode.go
│ │ ├── deprecated.go
│ │ ├── discard.go
│ │ ├── duration.go
│ │ ├── duration_gogo.go
│ │ ├── encode.go
│ │ ├── encode_gogo.go
│ │ ├── equal.go
│ │ ├── extensions.go
│ │ ├── extensions_gogo.go
│ │ ├── lib.go
│ │ ├── lib_gogo.go
│ │ ├── message_set.go
│ │ ├── pointer_reflect.go
│ │ ├── pointer_reflect_gogo.go
│ │ ├── pointer_unsafe.go
│ │ ├── pointer_unsafe_gogo.go
│ │ ├── properties.go
│ │ ├── properties_gogo.go
│ │ ├── skip_gogo.go
│ │ ├── table_marshal.go
│ │ ├── table_marshal_gogo.go
│ │ ├── table_merge.go
│ │ ├── table_unmarshal.go
│ │ ├── table_unmarshal_gogo.go
│ │ ├── text.go
│ │ ├── text_gogo.go
│ │ ├── text_parser.go
│ │ ├── timestamp.go
│ │ ├── timestamp_gogo.go
│ │ ├── wrappers.go
│ │ └── wrappers_gogo.go
├── golang
│ └── mock
│ │ ├── AUTHORS
│ │ ├── CONTRIBUTORS
│ │ ├── LICENSE
│ │ └── gomock
│ │ ├── call.go
│ │ ├── callset.go
│ │ ├── controller.go
│ │ └── matchers.go
├── google
│ └── go-cmp
│ │ ├── LICENSE
│ │ └── cmp
│ │ ├── compare.go
│ │ ├── export.go
│ │ ├── internal
│ │ ├── diff
│ │ │ ├── debug_disable.go
│ │ │ ├── debug_enable.go
│ │ │ └── diff.go
│ │ ├── flags
│ │ │ └── flags.go
│ │ ├── function
│ │ │ └── func.go
│ │ └── value
│ │ │ ├── name.go
│ │ │ ├── pointer.go
│ │ │ └── sort.go
│ │ ├── options.go
│ │ ├── path.go
│ │ ├── report.go
│ │ ├── report_compare.go
│ │ ├── report_references.go
│ │ ├── report_reflect.go
│ │ ├── report_slices.go
│ │ ├── report_text.go
│ │ └── report_value.go
├── kr
│ └── text
│ │ ├── License
│ │ ├── Readme
│ │ ├── doc.go
│ │ ├── indent.go
│ │ └── wrap.go
├── nxadm
│ └── tail
│ │ ├── .cirrus.yml
│ │ ├── .gitignore
│ │ ├── CHANGES.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Dockerfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── ratelimiter
│ │ ├── Licence
│ │ ├── leakybucket.go
│ │ ├── memory.go
│ │ └── storage.go
│ │ ├── tail.go
│ │ ├── tail_posix.go
│ │ ├── tail_windows.go
│ │ ├── util
│ │ └── util.go
│ │ ├── watch
│ │ ├── filechanges.go
│ │ ├── inotify.go
│ │ ├── inotify_tracker.go
│ │ ├── polling.go
│ │ └── watch.go
│ │ └── winfile
│ │ └── winfile.go
├── onsi
│ ├── ginkgo
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── RELEASING.md
│ │ ├── config
│ │ │ └── config.go
│ │ ├── formatter
│ │ │ └── formatter.go
│ │ ├── ginkgo_dsl.go
│ │ ├── internal
│ │ │ ├── codelocation
│ │ │ │ └── code_location.go
│ │ │ ├── containernode
│ │ │ │ └── container_node.go
│ │ │ ├── failer
│ │ │ │ └── failer.go
│ │ │ ├── global
│ │ │ │ └── init.go
│ │ │ ├── leafnodes
│ │ │ │ ├── benchmarker.go
│ │ │ │ ├── interfaces.go
│ │ │ │ ├── it_node.go
│ │ │ │ ├── measure_node.go
│ │ │ │ ├── runner.go
│ │ │ │ ├── setup_nodes.go
│ │ │ │ ├── suite_nodes.go
│ │ │ │ ├── synchronized_after_suite_node.go
│ │ │ │ └── synchronized_before_suite_node.go
│ │ │ ├── remote
│ │ │ │ ├── aggregator.go
│ │ │ │ ├── forwarding_reporter.go
│ │ │ │ ├── output_interceptor.go
│ │ │ │ ├── output_interceptor_unix.go
│ │ │ │ ├── output_interceptor_win.go
│ │ │ │ └── server.go
│ │ │ ├── spec
│ │ │ │ ├── spec.go
│ │ │ │ └── specs.go
│ │ │ ├── spec_iterator
│ │ │ │ ├── index_computer.go
│ │ │ │ ├── parallel_spec_iterator.go
│ │ │ │ ├── serial_spec_iterator.go
│ │ │ │ ├── sharded_parallel_spec_iterator.go
│ │ │ │ └── spec_iterator.go
│ │ │ ├── specrunner
│ │ │ │ ├── random_id.go
│ │ │ │ └── spec_runner.go
│ │ │ ├── suite
│ │ │ │ └── suite.go
│ │ │ ├── testingtproxy
│ │ │ │ └── testing_t_proxy.go
│ │ │ └── writer
│ │ │ │ ├── fake_writer.go
│ │ │ │ └── writer.go
│ │ ├── reporters
│ │ │ ├── default_reporter.go
│ │ │ ├── fake_reporter.go
│ │ │ ├── junit_reporter.go
│ │ │ ├── reporter.go
│ │ │ ├── stenographer
│ │ │ │ ├── console_logging.go
│ │ │ │ ├── fake_stenographer.go
│ │ │ │ ├── stenographer.go
│ │ │ │ └── support
│ │ │ │ │ ├── go-colorable
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── colorable_others.go
│ │ │ │ │ ├── colorable_windows.go
│ │ │ │ │ └── noncolorable.go
│ │ │ │ │ └── go-isatty
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── doc.go
│ │ │ │ │ ├── isatty_appengine.go
│ │ │ │ │ ├── isatty_bsd.go
│ │ │ │ │ ├── isatty_linux.go
│ │ │ │ │ ├── isatty_solaris.go
│ │ │ │ │ └── isatty_windows.go
│ │ │ └── teamcity_reporter.go
│ │ └── types
│ │ │ ├── code_location.go
│ │ │ ├── deprecation_support.go
│ │ │ ├── synchronization.go
│ │ │ └── types.go
│ └── gomega
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── RELEASING.md
│ │ ├── format
│ │ └── format.go
│ │ ├── gomega_dsl.go
│ │ ├── internal
│ │ ├── assertion.go
│ │ ├── async_assertion.go
│ │ ├── duration_bundle.go
│ │ ├── gomega.go
│ │ ├── gutil
│ │ │ ├── post_ioutil.go
│ │ │ └── using_ioutil.go
│ │ ├── polling_signal_error.go
│ │ └── vetoptdesc.go
│ │ ├── matchers.go
│ │ ├── matchers
│ │ ├── and.go
│ │ ├── assignable_to_type_of_matcher.go
│ │ ├── attributes_slice.go
│ │ ├── be_a_directory.go
│ │ ├── be_a_regular_file.go
│ │ ├── be_an_existing_file.go
│ │ ├── be_closed_matcher.go
│ │ ├── be_comparable_to_matcher.go
│ │ ├── be_element_of_matcher.go
│ │ ├── be_empty_matcher.go
│ │ ├── be_equivalent_to_matcher.go
│ │ ├── be_false_matcher.go
│ │ ├── be_identical_to.go
│ │ ├── be_key_of_matcher.go
│ │ ├── be_nil_matcher.go
│ │ ├── be_numerically_matcher.go
│ │ ├── be_sent_matcher.go
│ │ ├── be_temporally_matcher.go
│ │ ├── be_true_matcher.go
│ │ ├── be_zero_matcher.go
│ │ ├── consist_of.go
│ │ ├── contain_element_matcher.go
│ │ ├── contain_elements_matcher.go
│ │ ├── contain_substring_matcher.go
│ │ ├── equal_matcher.go
│ │ ├── have_cap_matcher.go
│ │ ├── have_each_matcher.go
│ │ ├── have_exact_elements.go
│ │ ├── have_existing_field_matcher.go
│ │ ├── have_field.go
│ │ ├── have_http_body_matcher.go
│ │ ├── have_http_header_with_value_matcher.go
│ │ ├── have_http_status_matcher.go
│ │ ├── have_key_matcher.go
│ │ ├── have_key_with_value_matcher.go
│ │ ├── have_len_matcher.go
│ │ ├── have_occurred_matcher.go
│ │ ├── have_prefix_matcher.go
│ │ ├── have_suffix_matcher.go
│ │ ├── have_value.go
│ │ ├── internal
│ │ │ └── miter
│ │ │ │ ├── type_support_iter.go
│ │ │ │ └── type_support_noiter.go
│ │ ├── match_error_matcher.go
│ │ ├── match_json_matcher.go
│ │ ├── match_regexp_matcher.go
│ │ ├── match_xml_matcher.go
│ │ ├── match_yaml_matcher.go
│ │ ├── not.go
│ │ ├── or.go
│ │ ├── panic_matcher.go
│ │ ├── receive_matcher.go
│ │ ├── satisfy_matcher.go
│ │ ├── semi_structured_data_support.go
│ │ ├── succeed_matcher.go
│ │ ├── support
│ │ │ └── goraph
│ │ │ │ ├── bipartitegraph
│ │ │ │ ├── bipartitegraph.go
│ │ │ │ └── bipartitegraphmatching.go
│ │ │ │ ├── edge
│ │ │ │ └── edge.go
│ │ │ │ ├── node
│ │ │ │ └── node.go
│ │ │ │ └── util
│ │ │ │ └── util.go
│ │ ├── type_support.go
│ │ └── with_transform.go
│ │ └── types
│ │ └── types.go
├── opencontainers
│ ├── go-digest
│ │ ├── .mailmap
│ │ ├── .pullapprove.yml
│ │ ├── .travis.yml
│ │ ├── CONTRIBUTING.md
│ │ ├── LICENSE
│ │ ├── LICENSE.docs
│ │ ├── MAINTAINERS
│ │ ├── README.md
│ │ ├── algorithm.go
│ │ ├── digest.go
│ │ ├── digester.go
│ │ ├── doc.go
│ │ └── verifiers.go
│ └── image-spec
│ │ ├── LICENSE
│ │ └── specs-go
│ │ ├── v1
│ │ ├── annotations.go
│ │ ├── config.go
│ │ ├── descriptor.go
│ │ ├── index.go
│ │ ├── layout.go
│ │ ├── manifest.go
│ │ └── mediatype.go
│ │ ├── version.go
│ │ └── versioned.go
├── paketo-buildpacks
│ └── packit
│ │ ├── LICENSE
│ │ ├── NOTICE
│ │ ├── pexec
│ │ ├── doc.go
│ │ └── executable.go
│ │ └── v2
│ │ ├── LICENSE
│ │ ├── NOTICE
│ │ ├── fs
│ │ ├── checksum_calculator.go
│ │ ├── copy.go
│ │ ├── doc.go
│ │ ├── exists.go
│ │ ├── is_empty_dir.go
│ │ └── move.go
│ │ ├── pexec
│ │ ├── doc.go
│ │ └── executable.go
│ │ └── vacation
│ │ ├── archive.go
│ │ ├── bzip2_archive.go
│ │ ├── executable.go
│ │ ├── gzip_archive.go
│ │ ├── link_sorting.go
│ │ ├── nop_archive.go
│ │ ├── tar_archive.go
│ │ ├── vacation.go
│ │ ├── xz_archive.go
│ │ ├── zip_archive.go
│ │ └── zipslip.go
├── pkg
│ └── errors
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── appveyor.yml
│ │ ├── errors.go
│ │ ├── go113.go
│ │ └── stack.go
├── sclevine
│ └── spec
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── options.go
│ │ ├── parser.go
│ │ ├── report
│ │ ├── log.go
│ │ └── terminal.go
│ │ └── spec.go
├── teris-io
│ └── shortid
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ └── shortid.go
├── tidwall
│ ├── gjson
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── SYNTAX.md
│ │ └── gjson.go
│ ├── match
│ │ ├── LICENSE
│ │ ├── README.md
│ │ └── match.go
│ └── pretty
│ │ ├── LICENSE
│ │ ├── README.md
│ │ └── pretty.go
└── ulikunitz
│ └── xz
│ ├── .gitignore
│ ├── LICENSE
│ ├── README.md
│ ├── SECURITY.md
│ ├── TODO.md
│ ├── bits.go
│ ├── crc.go
│ ├── format.go
│ ├── fox-check-none.xz
│ ├── fox.xz
│ ├── internal
│ ├── hash
│ │ ├── cyclic_poly.go
│ │ ├── doc.go
│ │ ├── rabin_karp.go
│ │ └── roller.go
│ └── xlog
│ │ └── xlog.go
│ ├── lzma
│ ├── bintree.go
│ ├── bitops.go
│ ├── breader.go
│ ├── buffer.go
│ ├── bytewriter.go
│ ├── decoder.go
│ ├── decoderdict.go
│ ├── directcodec.go
│ ├── distcodec.go
│ ├── encoder.go
│ ├── encoderdict.go
│ ├── fox.lzma
│ ├── hashtable.go
│ ├── header.go
│ ├── header2.go
│ ├── lengthcodec.go
│ ├── literalcodec.go
│ ├── matchalgorithm.go
│ ├── operation.go
│ ├── prob.go
│ ├── properties.go
│ ├── rangecodec.go
│ ├── reader.go
│ ├── reader2.go
│ ├── state.go
│ ├── treecodecs.go
│ ├── writer.go
│ └── writer2.go
│ ├── lzmafilter.go
│ ├── make-docs
│ ├── none-check.go
│ ├── reader.go
│ └── writer.go
├── golang.org
└── x
│ ├── crypto
│ ├── LICENSE
│ ├── PATENTS
│ ├── bcrypt
│ │ ├── base64.go
│ │ └── bcrypt.go
│ └── blowfish
│ │ ├── block.go
│ │ ├── cipher.go
│ │ └── const.go
│ ├── net
│ ├── LICENSE
│ ├── PATENTS
│ ├── html
│ │ ├── atom
│ │ │ ├── atom.go
│ │ │ └── table.go
│ │ ├── charset
│ │ │ └── charset.go
│ │ ├── const.go
│ │ ├── doc.go
│ │ ├── doctype.go
│ │ ├── entity.go
│ │ ├── escape.go
│ │ ├── foreign.go
│ │ ├── iter.go
│ │ ├── node.go
│ │ ├── parse.go
│ │ ├── render.go
│ │ └── token.go
│ ├── http
│ │ └── httpguts
│ │ │ ├── guts.go
│ │ │ └── httplex.go
│ ├── http2
│ │ ├── .gitignore
│ │ ├── ascii.go
│ │ ├── ciphers.go
│ │ ├── client_conn_pool.go
│ │ ├── config.go
│ │ ├── config_go124.go
│ │ ├── config_pre_go124.go
│ │ ├── databuffer.go
│ │ ├── errors.go
│ │ ├── flow.go
│ │ ├── frame.go
│ │ ├── gotrack.go
│ │ ├── headermap.go
│ │ ├── hpack
│ │ │ ├── encode.go
│ │ │ ├── hpack.go
│ │ │ ├── huffman.go
│ │ │ ├── static_table.go
│ │ │ └── tables.go
│ │ ├── http2.go
│ │ ├── pipe.go
│ │ ├── server.go
│ │ ├── timer.go
│ │ ├── transport.go
│ │ ├── unencrypted.go
│ │ ├── write.go
│ │ ├── writesched.go
│ │ ├── writesched_priority.go
│ │ ├── writesched_random.go
│ │ └── writesched_roundrobin.go
│ └── idna
│ │ ├── go118.go
│ │ ├── idna10.0.0.go
│ │ ├── idna9.0.0.go
│ │ ├── pre_go118.go
│ │ ├── punycode.go
│ │ ├── tables10.0.0.go
│ │ ├── tables11.0.0.go
│ │ ├── tables12.0.0.go
│ │ ├── tables13.0.0.go
│ │ ├── tables15.0.0.go
│ │ ├── tables9.0.0.go
│ │ ├── trie.go
│ │ ├── trie12.0.0.go
│ │ ├── trie13.0.0.go
│ │ └── trieval.go
│ ├── sys
│ ├── LICENSE
│ ├── PATENTS
│ ├── unix
│ │ ├── .gitignore
│ │ ├── README.md
│ │ ├── affinity_linux.go
│ │ ├── aliases.go
│ │ ├── asm_aix_ppc64.s
│ │ ├── asm_bsd_386.s
│ │ ├── asm_bsd_amd64.s
│ │ ├── asm_bsd_arm.s
│ │ ├── asm_bsd_arm64.s
│ │ ├── asm_bsd_ppc64.s
│ │ ├── asm_bsd_riscv64.s
│ │ ├── asm_linux_386.s
│ │ ├── asm_linux_amd64.s
│ │ ├── asm_linux_arm.s
│ │ ├── asm_linux_arm64.s
│ │ ├── asm_linux_loong64.s
│ │ ├── asm_linux_mips64x.s
│ │ ├── asm_linux_mipsx.s
│ │ ├── asm_linux_ppc64x.s
│ │ ├── asm_linux_riscv64.s
│ │ ├── asm_linux_s390x.s
│ │ ├── asm_openbsd_mips64.s
│ │ ├── asm_solaris_amd64.s
│ │ ├── asm_zos_s390x.s
│ │ ├── bluetooth_linux.go
│ │ ├── bpxsvc_zos.go
│ │ ├── bpxsvc_zos.s
│ │ ├── cap_freebsd.go
│ │ ├── constants.go
│ │ ├── dev_aix_ppc.go
│ │ ├── dev_aix_ppc64.go
│ │ ├── dev_darwin.go
│ │ ├── dev_dragonfly.go
│ │ ├── dev_freebsd.go
│ │ ├── dev_linux.go
│ │ ├── dev_netbsd.go
│ │ ├── dev_openbsd.go
│ │ ├── dev_zos.go
│ │ ├── dirent.go
│ │ ├── endian_big.go
│ │ ├── endian_little.go
│ │ ├── env_unix.go
│ │ ├── fcntl.go
│ │ ├── fcntl_darwin.go
│ │ ├── fcntl_linux_32bit.go
│ │ ├── fdset.go
│ │ ├── gccgo.go
│ │ ├── gccgo_c.c
│ │ ├── gccgo_linux_amd64.go
│ │ ├── ifreq_linux.go
│ │ ├── ioctl_linux.go
│ │ ├── ioctl_signed.go
│ │ ├── ioctl_unsigned.go
│ │ ├── ioctl_zos.go
│ │ ├── mkall.sh
│ │ ├── mkerrors.sh
│ │ ├── mmap_nomremap.go
│ │ ├── mremap.go
│ │ ├── pagesize_unix.go
│ │ ├── pledge_openbsd.go
│ │ ├── ptrace_darwin.go
│ │ ├── ptrace_ios.go
│ │ ├── race.go
│ │ ├── race0.go
│ │ ├── readdirent_getdents.go
│ │ ├── readdirent_getdirentries.go
│ │ ├── sockcmsg_dragonfly.go
│ │ ├── sockcmsg_linux.go
│ │ ├── sockcmsg_unix.go
│ │ ├── sockcmsg_unix_other.go
│ │ ├── sockcmsg_zos.go
│ │ ├── symaddr_zos_s390x.s
│ │ ├── syscall.go
│ │ ├── syscall_aix.go
│ │ ├── syscall_aix_ppc.go
│ │ ├── syscall_aix_ppc64.go
│ │ ├── syscall_bsd.go
│ │ ├── syscall_darwin.go
│ │ ├── syscall_darwin_amd64.go
│ │ ├── syscall_darwin_arm64.go
│ │ ├── syscall_darwin_libSystem.go
│ │ ├── syscall_dragonfly.go
│ │ ├── syscall_dragonfly_amd64.go
│ │ ├── syscall_freebsd.go
│ │ ├── syscall_freebsd_386.go
│ │ ├── syscall_freebsd_amd64.go
│ │ ├── syscall_freebsd_arm.go
│ │ ├── syscall_freebsd_arm64.go
│ │ ├── syscall_freebsd_riscv64.go
│ │ ├── syscall_hurd.go
│ │ ├── syscall_hurd_386.go
│ │ ├── syscall_illumos.go
│ │ ├── syscall_linux.go
│ │ ├── syscall_linux_386.go
│ │ ├── syscall_linux_alarm.go
│ │ ├── syscall_linux_amd64.go
│ │ ├── syscall_linux_amd64_gc.go
│ │ ├── syscall_linux_arm.go
│ │ ├── syscall_linux_arm64.go
│ │ ├── syscall_linux_gc.go
│ │ ├── syscall_linux_gc_386.go
│ │ ├── syscall_linux_gc_arm.go
│ │ ├── syscall_linux_gccgo_386.go
│ │ ├── syscall_linux_gccgo_arm.go
│ │ ├── syscall_linux_loong64.go
│ │ ├── syscall_linux_mips64x.go
│ │ ├── syscall_linux_mipsx.go
│ │ ├── syscall_linux_ppc.go
│ │ ├── syscall_linux_ppc64x.go
│ │ ├── syscall_linux_riscv64.go
│ │ ├── syscall_linux_s390x.go
│ │ ├── syscall_linux_sparc64.go
│ │ ├── syscall_netbsd.go
│ │ ├── syscall_netbsd_386.go
│ │ ├── syscall_netbsd_amd64.go
│ │ ├── syscall_netbsd_arm.go
│ │ ├── syscall_netbsd_arm64.go
│ │ ├── syscall_openbsd.go
│ │ ├── syscall_openbsd_386.go
│ │ ├── syscall_openbsd_amd64.go
│ │ ├── syscall_openbsd_arm.go
│ │ ├── syscall_openbsd_arm64.go
│ │ ├── syscall_openbsd_libc.go
│ │ ├── syscall_openbsd_mips64.go
│ │ ├── syscall_openbsd_ppc64.go
│ │ ├── syscall_openbsd_riscv64.go
│ │ ├── syscall_solaris.go
│ │ ├── syscall_solaris_amd64.go
│ │ ├── syscall_unix.go
│ │ ├── syscall_unix_gc.go
│ │ ├── syscall_unix_gc_ppc64x.go
│ │ ├── syscall_zos_s390x.go
│ │ ├── sysvshm_linux.go
│ │ ├── sysvshm_unix.go
│ │ ├── sysvshm_unix_other.go
│ │ ├── timestruct.go
│ │ ├── unveil_openbsd.go
│ │ ├── vgetrandom_linux.go
│ │ ├── vgetrandom_unsupported.go
│ │ ├── xattr_bsd.go
│ │ ├── zerrors_aix_ppc.go
│ │ ├── zerrors_aix_ppc64.go
│ │ ├── zerrors_darwin_amd64.go
│ │ ├── zerrors_darwin_arm64.go
│ │ ├── zerrors_dragonfly_amd64.go
│ │ ├── zerrors_freebsd_386.go
│ │ ├── zerrors_freebsd_amd64.go
│ │ ├── zerrors_freebsd_arm.go
│ │ ├── zerrors_freebsd_arm64.go
│ │ ├── zerrors_freebsd_riscv64.go
│ │ ├── zerrors_linux.go
│ │ ├── zerrors_linux_386.go
│ │ ├── zerrors_linux_amd64.go
│ │ ├── zerrors_linux_arm.go
│ │ ├── zerrors_linux_arm64.go
│ │ ├── zerrors_linux_loong64.go
│ │ ├── zerrors_linux_mips.go
│ │ ├── zerrors_linux_mips64.go
│ │ ├── zerrors_linux_mips64le.go
│ │ ├── zerrors_linux_mipsle.go
│ │ ├── zerrors_linux_ppc.go
│ │ ├── zerrors_linux_ppc64.go
│ │ ├── zerrors_linux_ppc64le.go
│ │ ├── zerrors_linux_riscv64.go
│ │ ├── zerrors_linux_s390x.go
│ │ ├── zerrors_linux_sparc64.go
│ │ ├── zerrors_netbsd_386.go
│ │ ├── zerrors_netbsd_amd64.go
│ │ ├── zerrors_netbsd_arm.go
│ │ ├── zerrors_netbsd_arm64.go
│ │ ├── zerrors_openbsd_386.go
│ │ ├── zerrors_openbsd_amd64.go
│ │ ├── zerrors_openbsd_arm.go
│ │ ├── zerrors_openbsd_arm64.go
│ │ ├── zerrors_openbsd_mips64.go
│ │ ├── zerrors_openbsd_ppc64.go
│ │ ├── zerrors_openbsd_riscv64.go
│ │ ├── zerrors_solaris_amd64.go
│ │ ├── zerrors_zos_s390x.go
│ │ ├── zptrace_armnn_linux.go
│ │ ├── zptrace_linux_arm64.go
│ │ ├── zptrace_mipsnn_linux.go
│ │ ├── zptrace_mipsnnle_linux.go
│ │ ├── zptrace_x86_linux.go
│ │ ├── zsymaddr_zos_s390x.s
│ │ ├── zsyscall_aix_ppc.go
│ │ ├── zsyscall_aix_ppc64.go
│ │ ├── zsyscall_aix_ppc64_gc.go
│ │ ├── zsyscall_aix_ppc64_gccgo.go
│ │ ├── zsyscall_darwin_amd64.go
│ │ ├── zsyscall_darwin_amd64.s
│ │ ├── zsyscall_darwin_arm64.go
│ │ ├── zsyscall_darwin_arm64.s
│ │ ├── zsyscall_dragonfly_amd64.go
│ │ ├── zsyscall_freebsd_386.go
│ │ ├── zsyscall_freebsd_amd64.go
│ │ ├── zsyscall_freebsd_arm.go
│ │ ├── zsyscall_freebsd_arm64.go
│ │ ├── zsyscall_freebsd_riscv64.go
│ │ ├── zsyscall_illumos_amd64.go
│ │ ├── zsyscall_linux.go
│ │ ├── zsyscall_linux_386.go
│ │ ├── zsyscall_linux_amd64.go
│ │ ├── zsyscall_linux_arm.go
│ │ ├── zsyscall_linux_arm64.go
│ │ ├── zsyscall_linux_loong64.go
│ │ ├── zsyscall_linux_mips.go
│ │ ├── zsyscall_linux_mips64.go
│ │ ├── zsyscall_linux_mips64le.go
│ │ ├── zsyscall_linux_mipsle.go
│ │ ├── zsyscall_linux_ppc.go
│ │ ├── zsyscall_linux_ppc64.go
│ │ ├── zsyscall_linux_ppc64le.go
│ │ ├── zsyscall_linux_riscv64.go
│ │ ├── zsyscall_linux_s390x.go
│ │ ├── zsyscall_linux_sparc64.go
│ │ ├── zsyscall_netbsd_386.go
│ │ ├── zsyscall_netbsd_amd64.go
│ │ ├── zsyscall_netbsd_arm.go
│ │ ├── zsyscall_netbsd_arm64.go
│ │ ├── zsyscall_openbsd_386.go
│ │ ├── zsyscall_openbsd_386.s
│ │ ├── zsyscall_openbsd_amd64.go
│ │ ├── zsyscall_openbsd_amd64.s
│ │ ├── zsyscall_openbsd_arm.go
│ │ ├── zsyscall_openbsd_arm.s
│ │ ├── zsyscall_openbsd_arm64.go
│ │ ├── zsyscall_openbsd_arm64.s
│ │ ├── zsyscall_openbsd_mips64.go
│ │ ├── zsyscall_openbsd_mips64.s
│ │ ├── zsyscall_openbsd_ppc64.go
│ │ ├── zsyscall_openbsd_ppc64.s
│ │ ├── zsyscall_openbsd_riscv64.go
│ │ ├── zsyscall_openbsd_riscv64.s
│ │ ├── zsyscall_solaris_amd64.go
│ │ ├── zsyscall_zos_s390x.go
│ │ ├── zsysctl_openbsd_386.go
│ │ ├── zsysctl_openbsd_amd64.go
│ │ ├── zsysctl_openbsd_arm.go
│ │ ├── zsysctl_openbsd_arm64.go
│ │ ├── zsysctl_openbsd_mips64.go
│ │ ├── zsysctl_openbsd_ppc64.go
│ │ ├── zsysctl_openbsd_riscv64.go
│ │ ├── zsysnum_darwin_amd64.go
│ │ ├── zsysnum_darwin_arm64.go
│ │ ├── zsysnum_dragonfly_amd64.go
│ │ ├── zsysnum_freebsd_386.go
│ │ ├── zsysnum_freebsd_amd64.go
│ │ ├── zsysnum_freebsd_arm.go
│ │ ├── zsysnum_freebsd_arm64.go
│ │ ├── zsysnum_freebsd_riscv64.go
│ │ ├── zsysnum_linux_386.go
│ │ ├── zsysnum_linux_amd64.go
│ │ ├── zsysnum_linux_arm.go
│ │ ├── zsysnum_linux_arm64.go
│ │ ├── zsysnum_linux_loong64.go
│ │ ├── zsysnum_linux_mips.go
│ │ ├── zsysnum_linux_mips64.go
│ │ ├── zsysnum_linux_mips64le.go
│ │ ├── zsysnum_linux_mipsle.go
│ │ ├── zsysnum_linux_ppc.go
│ │ ├── zsysnum_linux_ppc64.go
│ │ ├── zsysnum_linux_ppc64le.go
│ │ ├── zsysnum_linux_riscv64.go
│ │ ├── zsysnum_linux_s390x.go
│ │ ├── zsysnum_linux_sparc64.go
│ │ ├── zsysnum_netbsd_386.go
│ │ ├── zsysnum_netbsd_amd64.go
│ │ ├── zsysnum_netbsd_arm.go
│ │ ├── zsysnum_netbsd_arm64.go
│ │ ├── zsysnum_openbsd_386.go
│ │ ├── zsysnum_openbsd_amd64.go
│ │ ├── zsysnum_openbsd_arm.go
│ │ ├── zsysnum_openbsd_arm64.go
│ │ ├── zsysnum_openbsd_mips64.go
│ │ ├── zsysnum_openbsd_ppc64.go
│ │ ├── zsysnum_openbsd_riscv64.go
│ │ ├── zsysnum_zos_s390x.go
│ │ ├── ztypes_aix_ppc.go
│ │ ├── ztypes_aix_ppc64.go
│ │ ├── ztypes_darwin_amd64.go
│ │ ├── ztypes_darwin_arm64.go
│ │ ├── ztypes_dragonfly_amd64.go
│ │ ├── ztypes_freebsd_386.go
│ │ ├── ztypes_freebsd_amd64.go
│ │ ├── ztypes_freebsd_arm.go
│ │ ├── ztypes_freebsd_arm64.go
│ │ ├── ztypes_freebsd_riscv64.go
│ │ ├── ztypes_linux.go
│ │ ├── ztypes_linux_386.go
│ │ ├── ztypes_linux_amd64.go
│ │ ├── ztypes_linux_arm.go
│ │ ├── ztypes_linux_arm64.go
│ │ ├── ztypes_linux_loong64.go
│ │ ├── ztypes_linux_mips.go
│ │ ├── ztypes_linux_mips64.go
│ │ ├── ztypes_linux_mips64le.go
│ │ ├── ztypes_linux_mipsle.go
│ │ ├── ztypes_linux_ppc.go
│ │ ├── ztypes_linux_ppc64.go
│ │ ├── ztypes_linux_ppc64le.go
│ │ ├── ztypes_linux_riscv64.go
│ │ ├── ztypes_linux_s390x.go
│ │ ├── ztypes_linux_sparc64.go
│ │ ├── ztypes_netbsd_386.go
│ │ ├── ztypes_netbsd_amd64.go
│ │ ├── ztypes_netbsd_arm.go
│ │ ├── ztypes_netbsd_arm64.go
│ │ ├── ztypes_openbsd_386.go
│ │ ├── ztypes_openbsd_amd64.go
│ │ ├── ztypes_openbsd_arm.go
│ │ ├── ztypes_openbsd_arm64.go
│ │ ├── ztypes_openbsd_mips64.go
│ │ ├── ztypes_openbsd_ppc64.go
│ │ ├── ztypes_openbsd_riscv64.go
│ │ ├── ztypes_solaris_amd64.go
│ │ └── ztypes_zos_s390x.go
│ └── windows
│ │ ├── aliases.go
│ │ ├── dll_windows.go
│ │ ├── env_windows.go
│ │ ├── eventlog.go
│ │ ├── exec_windows.go
│ │ ├── memory_windows.go
│ │ ├── mkerrors.bash
│ │ ├── mkknownfolderids.bash
│ │ ├── mksyscall.go
│ │ ├── race.go
│ │ ├── race0.go
│ │ ├── security_windows.go
│ │ ├── service.go
│ │ ├── setupapi_windows.go
│ │ ├── str.go
│ │ ├── syscall.go
│ │ ├── syscall_windows.go
│ │ ├── types_windows.go
│ │ ├── types_windows_386.go
│ │ ├── types_windows_amd64.go
│ │ ├── types_windows_arm.go
│ │ ├── types_windows_arm64.go
│ │ ├── zerrors_windows.go
│ │ ├── zknownfolderids_windows.go
│ │ └── zsyscall_windows.go
│ └── text
│ ├── LICENSE
│ ├── PATENTS
│ ├── encoding
│ ├── charmap
│ │ ├── charmap.go
│ │ └── tables.go
│ ├── encoding.go
│ ├── htmlindex
│ │ ├── htmlindex.go
│ │ ├── map.go
│ │ └── tables.go
│ ├── internal
│ │ ├── identifier
│ │ │ ├── identifier.go
│ │ │ └── mib.go
│ │ └── internal.go
│ ├── japanese
│ │ ├── all.go
│ │ ├── eucjp.go
│ │ ├── iso2022jp.go
│ │ ├── shiftjis.go
│ │ └── tables.go
│ ├── korean
│ │ ├── euckr.go
│ │ └── tables.go
│ ├── simplifiedchinese
│ │ ├── all.go
│ │ ├── gbk.go
│ │ ├── hzgb2312.go
│ │ └── tables.go
│ ├── traditionalchinese
│ │ ├── big5.go
│ │ └── tables.go
│ └── unicode
│ │ ├── override.go
│ │ └── unicode.go
│ ├── internal
│ ├── language
│ │ ├── common.go
│ │ ├── compact.go
│ │ ├── compact
│ │ │ ├── compact.go
│ │ │ ├── language.go
│ │ │ ├── parents.go
│ │ │ ├── tables.go
│ │ │ └── tags.go
│ │ ├── compose.go
│ │ ├── coverage.go
│ │ ├── language.go
│ │ ├── lookup.go
│ │ ├── match.go
│ │ ├── parse.go
│ │ ├── tables.go
│ │ └── tags.go
│ ├── tag
│ │ └── tag.go
│ └── utf8internal
│ │ └── utf8internal.go
│ ├── language
│ ├── coverage.go
│ ├── doc.go
│ ├── language.go
│ ├── match.go
│ ├── parse.go
│ ├── tables.go
│ └── tags.go
│ ├── runes
│ ├── cond.go
│ └── runes.go
│ ├── secure
│ └── bidirule
│ │ ├── bidirule.go
│ │ ├── bidirule10.0.0.go
│ │ └── bidirule9.0.0.go
│ ├── transform
│ └── transform.go
│ └── unicode
│ ├── bidi
│ ├── bidi.go
│ ├── bracket.go
│ ├── core.go
│ ├── prop.go
│ ├── tables10.0.0.go
│ ├── tables11.0.0.go
│ ├── tables12.0.0.go
│ ├── tables13.0.0.go
│ ├── tables15.0.0.go
│ ├── tables9.0.0.go
│ └── trieval.go
│ └── norm
│ ├── composition.go
│ ├── forminfo.go
│ ├── input.go
│ ├── iter.go
│ ├── normalize.go
│ ├── readwriter.go
│ ├── tables10.0.0.go
│ ├── tables11.0.0.go
│ ├── tables12.0.0.go
│ ├── tables13.0.0.go
│ ├── tables15.0.0.go
│ ├── tables9.0.0.go
│ ├── transform.go
│ └── trie.go
├── gopkg.in
├── tomb.v1
│ ├── LICENSE
│ ├── README.md
│ └── tomb.go
├── yaml.v2
│ ├── .travis.yml
│ ├── LICENSE
│ ├── LICENSE.libyaml
│ ├── NOTICE
│ ├── README.md
│ ├── apic.go
│ ├── decode.go
│ ├── emitterc.go
│ ├── encode.go
│ ├── parserc.go
│ ├── readerc.go
│ ├── resolve.go
│ ├── scannerc.go
│ ├── sorter.go
│ ├── writerc.go
│ ├── yaml.go
│ ├── yamlh.go
│ └── yamlprivateh.go
└── yaml.v3
│ ├── LICENSE
│ ├── NOTICE
│ ├── README.md
│ ├── apic.go
│ ├── decode.go
│ ├── emitterc.go
│ ├── encode.go
│ ├── parserc.go
│ ├── readerc.go
│ ├── resolve.go
│ ├── scannerc.go
│ ├── sorter.go
│ ├── writerc.go
│ ├── yaml.go
│ ├── yamlh.go
│ └── yamlprivateh.go
└── modules.txt
/.envrc:
--------------------------------------------------------------------------------
1 | export GOBIN=$(pwd)/.bin
2 | export PATH=$GOBIN:$PATH
3 |
--------------------------------------------------------------------------------
/.github/.syncignore:
--------------------------------------------------------------------------------
1 | CODEOWNERS
2 |
--------------------------------------------------------------------------------
/.github/CODEOWNERS:
--------------------------------------------------------------------------------
1 | * @cloudfoundry/wg-app-runtime-interfaces-buildpacks-ruby-approvers
2 |
--------------------------------------------------------------------------------
/.github/workflows/synchronize-labels.yml:
--------------------------------------------------------------------------------
1 | name: Synchronize Labels
2 |
3 | on:
4 | push:
5 | branches:
6 | - master
7 | paths:
8 | - .github/labels.yml
9 | workflow_dispatch: {}
10 | jobs:
11 | synchronize:
12 | name: Synchronize Labels
13 | runs-on:
14 | - ubuntu-22.04
15 | steps:
16 | - uses: actions/checkout@v4
17 | - uses: micnncim/action-label-syncer@v1
18 | env:
19 | GITHUB_TOKEN: ${{ github.token }}
20 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.log
2 | .DS_Store
3 | .anvil/
4 | .env
5 | .idea
6 | log
7 | repos/*
8 | tmp/
9 | /ruby_buildpack-*.zip
10 | /.bin/
11 | /pkg/
12 | !vendor/**
13 |
--------------------------------------------------------------------------------
/ISSUE_TEMPLATE:
--------------------------------------------------------------------------------
1 | What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running `cf curl /v2/info && cf version`?
2 |
3 |
4 | What version of the buildpack you are using?
5 |
6 |
7 | If you were attempting to accomplish a task, what was it you were attempting to do?
8 |
9 |
10 | What did you expect to happen?
11 |
12 |
13 | What was the actual behavior?
14 |
15 |
16 | Please confirm where necessary:
17 | * [ ] I have included a log output
18 | * [ ] My log includes an error message
19 | * [ ] I have included steps for reproduction
20 |
--------------------------------------------------------------------------------
/NOTICE:
--------------------------------------------------------------------------------
1 | ruby-buildpack
2 |
3 | Copyright (c) 2013-Present CloudFoundry.org Foundation, Inc. All Rights Reserved.
4 |
5 | Licensed under the Apache License, Version 2.0 (the "License");
6 | you may not use this file except in compliance with the License.
7 | You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 |
--------------------------------------------------------------------------------
/PULL_REQUEST_TEMPLATE:
--------------------------------------------------------------------------------
1 | Thanks for contributing to the buildpack. To speed up the process of reviewing your pull request please provide us with:
2 |
3 | * A short explanation of the proposed change:
4 |
5 | * An explanation of the use cases your change solves
6 |
7 | * [ ] I have viewed signed and have submitted the Contributor License Agreement
8 |
9 | * [ ] I have made this pull request to the `master` branch
10 |
11 | * [ ] I have added an integration test
12 |
--------------------------------------------------------------------------------
/VERSION:
--------------------------------------------------------------------------------
1 | 1.10.25
2 |
--------------------------------------------------------------------------------
/bin/compile:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -euo pipefail
3 |
4 | BUILD_DIR=$1
5 | CACHE_DIR=$2
6 | export BUILDPACK_DIR=`dirname $(readlink -f ${BASH_SOURCE%/*})`
7 | export DEPS_DIR="$BUILD_DIR/.cloudfoundry"
8 | mkdir -p "$DEPS_DIR/0"
9 | mkdir -p "$BUILD_DIR/.profile.d"
10 | echo "export DEPS_DIR=\$HOME/.cloudfoundry" > "$BUILD_DIR/.profile.d/0000_set-deps-dir.sh"
11 |
12 | $BUILDPACK_DIR/bin/supply "$BUILD_DIR" "$CACHE_DIR" "$DEPS_DIR" 0
13 | $BUILDPACK_DIR/bin/finalize "$BUILD_DIR" "$CACHE_DIR" "$DEPS_DIR" 0
14 |
--------------------------------------------------------------------------------
/bin/detect:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | BUNDLE_GEMFILE=${BUNDLE_GEMFILE:-Gemfile}
4 |
5 | if [ -f "$1/$BUNDLE_GEMFILE" ]; then
6 | SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
7 | echo "ruby $(cat $SCRIPT_DIR/../VERSION)"
8 | exit 0
9 | else
10 | echo "no"
11 | exit 1
12 | fi
13 |
--------------------------------------------------------------------------------
/bin/finalize:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -euo pipefail
3 |
4 | BUILD_DIR=$1
5 | CACHE_DIR=$2
6 | DEPS_DIR=$3
7 | DEPS_IDX=$4
8 | PROFILE_DIR=${5:-}
9 |
10 | export BUILDPACK_DIR=`dirname $(readlink -f ${BASH_SOURCE%/*})`
11 | source "$BUILDPACK_DIR/scripts/install_go.sh"
12 | output_dir=$(mktemp -d -t finalizeXXX)
13 |
14 | echo "-----> Running go build finalize"
15 | pushd $BUILDPACK_DIR
16 | GOROOT=$GoInstallDir $GoInstallDir/bin/go build -mod=vendor -o $output_dir/finalize ./src/ruby/finalize/cli
17 | popd
18 |
19 | $output_dir/finalize "$BUILD_DIR" "$CACHE_DIR" "$DEPS_DIR" "$DEPS_IDX" "$PROFILE_DIR"
20 |
--------------------------------------------------------------------------------
/bin/release:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -euo pipefail
3 |
4 | BUILD_DIR=$1
5 | cat $BUILD_DIR/tmp/ruby-buildpack-release-step.yml
6 |
--------------------------------------------------------------------------------
/bin/supply:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -euo pipefail
3 |
4 | BUILD_DIR=$1
5 | CACHE_DIR=$2
6 | DEPS_DIR=$3
7 | DEPS_IDX=$4
8 |
9 | export BUILDPACK_DIR=`dirname $(readlink -f ${BASH_SOURCE%/*})`
10 | source "$BUILDPACK_DIR/scripts/install_go.sh"
11 | output_dir=$(mktemp -d -t supplyXXX)
12 |
13 | pushd $BUILDPACK_DIR
14 | echo "-----> Running go build supply"
15 | GOROOT=$GoInstallDir $GoInstallDir/bin/go build -mod=vendor -o $output_dir/supply ./src/ruby/supply/cli
16 | popd
17 |
18 | $output_dir/supply "$BUILD_DIR" "$CACHE_DIR" "$DEPS_DIR" "$DEPS_IDX"
19 |
--------------------------------------------------------------------------------
/config.json:
--------------------------------------------------------------------------------
1 | {
2 | "stack": "cflinuxfs4",
3 | "oses": [
4 | "linux"
5 | ],
6 | "integration": {
7 | "harness": "switchblade",
8 | "matrix": [
9 | {
10 | "cached": false,
11 | "parallel": true
12 | },
13 | {
14 | "cached": true,
15 | "parallel": true
16 | }
17 | ]
18 | }
19 | }
--------------------------------------------------------------------------------
/fixtures/brats_jruby/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | ruby '<%= ruby_version %>', engine: 'jruby', engine_version: '<%= engine_version %>'
4 |
5 | gem 'sinatra'
6 | gem 'eventmachine'
7 | gem 'bcrypt'
8 | gem 'webrick'
9 |
10 | gem 'jdbc-mysql'
11 | gem 'jdbc-postgres'
12 |
--------------------------------------------------------------------------------
/fixtures/brats_jruby/image.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/brats_jruby/image.jpg
--------------------------------------------------------------------------------
/fixtures/brats_jruby/test.xml:
--------------------------------------------------------------------------------
1 | Hello, World
2 |
--------------------------------------------------------------------------------
/fixtures/brats_ruby/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | ruby '<%= ruby_version %>'
4 |
5 | gem 'sinatra'
6 | gem 'eventmachine'
7 | gem 'bcrypt'
8 | gem 'bson'
9 | gem 'mysql2'
10 | gem 'pg'
11 | gem 'webrick'
12 |
--------------------------------------------------------------------------------
/fixtures/brats_ruby/image.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/brats_ruby/image.jpg
--------------------------------------------------------------------------------
/fixtures/brats_ruby/manifest.yml:
--------------------------------------------------------------------------------
1 | ---
2 | command: ruby app.rb -p $PORT
3 | memory: 1024M
4 |
--------------------------------------------------------------------------------
/fixtures/brats_ruby/test.xml:
--------------------------------------------------------------------------------
1 | Hello, World
2 |
--------------------------------------------------------------------------------
/fixtures/default/custom_gemfile/Gemfile-APP:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 | ruby "~>3.1.0"
3 | gem "cf-app-utils"
4 | gem "webrick"
5 | gem "sinatra"
6 |
--------------------------------------------------------------------------------
/fixtures/default/custom_gemfile/Gemfile-APP.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | cf-app-utils (0.6)
5 | mustermann (3.0.0)
6 | ruby2_keywords (~> 0.0.1)
7 | rack (2.2.4)
8 | rack-protection (3.0.4)
9 | rack
10 | ruby2_keywords (0.0.5)
11 | sinatra (3.0.4)
12 | mustermann (~> 3.0)
13 | rack (~> 2.2, >= 2.2.4)
14 | rack-protection (= 3.0.4)
15 | tilt (~> 2.0)
16 | tilt (2.0.11)
17 | webrick (1.7.0)
18 |
19 | PLATFORMS
20 | ruby
21 |
22 | DEPENDENCIES
23 | cf-app-utils
24 | sinatra
25 | webrick
26 |
27 | RUBY VERSION
28 | ruby 3.1.3p185
29 |
--------------------------------------------------------------------------------
/fixtures/default/custom_gemfile/config.ru:
--------------------------------------------------------------------------------
1 | require './app'
2 | run Sinatra::Application
3 |
--------------------------------------------------------------------------------
/fixtures/default/custom_gemfile/manifest.yml:
--------------------------------------------------------------------------------
1 | ---
2 | applications:
3 | - name: app-with-custom-gemfile
4 | memory: 256M
5 | instances: 1
6 | path: .
7 | env:
8 | BUNDLE_GEMFILE: Gemfile-APP
9 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 | git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3 |
4 | ruby '~> 3.1.0'
5 |
6 | # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7 | gem 'rails', '~> 6.1.0'
8 | # Use Puma as the app server
9 | gem 'puma', '~> 6.0'
10 |
11 | # Use SCSS for stylesheets
12 | gem 'sass-rails', '>= 6'
13 | # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
14 | gem 'webpacker', '~> 6.0.0.rc.6'
15 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/README.md:
--------------------------------------------------------------------------------
1 | # README
2 |
3 | This README would normally document whatever steps are necessary to get the
4 | application up and running.
5 |
6 | Things you may want to cover:
7 |
8 | * Ruby version
9 |
10 | * System dependencies
11 |
12 | * Configuration
13 |
14 | * Database creation
15 |
16 | * Database initialization
17 |
18 | * How to run the test suite
19 |
20 | * Services (job queues, cache servers, search engines, etc.)
21 |
22 | * Deployment instructions
23 |
24 | * ...
25 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/Rakefile:
--------------------------------------------------------------------------------
1 | # Add your own tasks in files placed in lib/tasks ending in .rake,
2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3 |
4 | require_relative 'config/application'
5 |
6 | Rails.application.load_tasks
7 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/app/assets/config/manifest.js:
--------------------------------------------------------------------------------
1 | //= link_tree ../images
2 | //= link_directory ../stylesheets .css
3 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/app/assets/images/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/rails6_sprockets/app/assets/images/.keep
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/app/controllers/application_controller.rb:
--------------------------------------------------------------------------------
1 | class ApplicationController < ActionController::Base
2 | def index
3 | node_version = `node -v`
4 | ruby_version = `ruby -v`
5 | output = 'Hello World!' + "\n" + 'Ruby version: ' + ruby_version + 'Node version: ' + node_version
6 | render plain: output
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/app/helpers/application_helper.rb:
--------------------------------------------------------------------------------
1 | module ApplicationHelper
2 | end
3 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/app/jobs/application_job.rb:
--------------------------------------------------------------------------------
1 | class ApplicationJob < ActiveJob::Base
2 | # Automatically retry jobs that encountered a deadlock
3 | # retry_on ActiveRecord::Deadlocked
4 |
5 | # Most jobs are safe to ignore if the underlying records are no longer available
6 | # discard_on ActiveJob::DeserializationError
7 | end
8 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/app/views/layouts/application.html.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Myapp
5 | <%= csrf_meta_tags %>
6 | <%= csp_meta_tag %>
7 |
8 | <%= stylesheet_link_tag 'application', media: 'all' %>
9 | <%= javascript_pack_tag 'application' %>
10 | <%= javascript_pack_tag "application" %>
11 |
12 |
13 |
14 | <%= yield %>
15 |
16 |
17 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/bin/rails:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 | APP_PATH = File.expand_path('../config/application', __dir__)
3 | require_relative "../config/boot"
4 | require "rails/commands"
5 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/bin/rake:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 | require_relative "../config/boot"
3 | require "rake"
4 | Rake.application.run
5 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/bin/webpack:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | require "pathname"
4 | require "bundler/setup"
5 | require "webpacker"
6 | require "webpacker/webpack_runner"
7 |
8 | ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
9 | ENV["NODE_ENV"] ||= "development"
10 | ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath)
11 |
12 | APP_ROOT = File.expand_path("..", __dir__)
13 | Dir.chdir(APP_ROOT) do
14 | Webpacker::WebpackRunner.run(ARGV)
15 | end
16 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/bin/webpack-dev-server:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
4 | ENV["NODE_ENV"] ||= "development"
5 |
6 | require "pathname"
7 | ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
8 | Pathname.new(__FILE__).realpath)
9 |
10 | require "bundler/setup"
11 |
12 | require "webpacker"
13 | require "webpacker/dev_server_runner"
14 |
15 | APP_ROOT = File.expand_path("..", __dir__)
16 | Dir.chdir(APP_ROOT) do
17 | Webpacker::DevServerRunner.run(ARGV)
18 | end
19 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/bin/yarn:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | APP_ROOT = File.expand_path("..", __dir__)
4 | Dir.chdir(APP_ROOT) do
5 | yarn = ENV["PATH"].split(File::PATH_SEPARATOR).
6 | select { |dir| File.expand_path(dir) != __dir__ }.
7 | product(["yarn", "yarnpkg", "yarn.cmd", "yarn.ps1"]).
8 | map { |dir, file| File.expand_path(file, dir) }.
9 | find { |file| File.executable?(file) }
10 |
11 | if yarn
12 | exec yarn, *ARGV
13 | else
14 | $stderr.puts "Yarn executable was not detected in the system."
15 | $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
16 | exit 1
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config.ru:
--------------------------------------------------------------------------------
1 | # This file is used by Rack-based servers to start the application.
2 |
3 | require_relative "config/environment"
4 |
5 | run Rails.application
6 | Rails.application.load_server
7 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/boot.rb:
--------------------------------------------------------------------------------
1 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
2 |
3 | require "bundler/setup" # Set up gems listed in the Gemfile.
4 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/environment.rb:
--------------------------------------------------------------------------------
1 | # Load the Rails application.
2 | require_relative "application"
3 |
4 | # Initialize the Rails application.
5 | Rails.application.initialize!
6 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/initializers/application_controller_renderer.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # ActiveSupport::Reloader.to_prepare do
4 | # ApplicationController.renderer.defaults.merge!(
5 | # http_host: 'example.org',
6 | # https: false
7 | # )
8 | # end
9 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/initializers/backtrace_silencers.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4 | # Rails.backtrace_cleaner.add_silencer { |line| /my_noisy_library/.match?(line) }
5 |
6 | # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code
7 | # by setting BACKTRACE=1 before calling your invocation, like "BACKTRACE=1 ./bin/rails runner 'MyClass.perform'".
8 | Rails.backtrace_cleaner.remove_silencers! if ENV["BACKTRACE"]
9 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/initializers/cookies_serializer.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Specify a serializer for the signed and encrypted cookie jars.
4 | # Valid options are :json, :marshal, and :hybrid.
5 | Rails.application.config.action_dispatch.cookies_serializer = :json
6 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/initializers/filter_parameter_logging.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Configure sensitive parameters which will be filtered from the log file.
4 | Rails.application.config.filter_parameters += [
5 | :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
6 | ]
7 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/initializers/mime_types.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Add new mime types for use in respond_to blocks:
4 | # Mime::Type.register "text/richtext", :rtf
5 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/initializers/permissions_policy.rb:
--------------------------------------------------------------------------------
1 | # Define an application-wide HTTP permissions policy. For further
2 | # information see https://developers.google.com/web/updates/2018/06/feature-policy
3 | #
4 | # Rails.application.config.permissions_policy do |f|
5 | # f.camera :none
6 | # f.gyroscope :none
7 | # f.microphone :none
8 | # f.usb :none
9 | # f.fullscreen :self
10 | # f.payment :self, "https://secure.example.com"
11 | # end
12 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/initializers/wrap_parameters.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # This file contains settings for ActionController::ParamsWrapper which
4 | # is enabled by default.
5 |
6 | # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7 | ActiveSupport.on_load(:action_controller) do
8 | wrap_parameters format: [:json]
9 | end
10 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/routes.rb:
--------------------------------------------------------------------------------
1 | Rails.application.routes.draw do
2 | # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
3 | root 'application#index'
4 | end
5 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/webpack/base.js:
--------------------------------------------------------------------------------
1 | const { webpackConfig } = require('@rails/webpacker')
2 |
3 | module.exports = webpackConfig
4 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/webpack/development.js:
--------------------------------------------------------------------------------
1 | process.env.NODE_ENV = process.env.NODE_ENV || 'development'
2 |
3 | const webpackConfig = require('./base')
4 |
5 | module.exports = webpackConfig
6 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/webpack/environment.js:
--------------------------------------------------------------------------------
1 | const { environment } = require('@rails/webpacker')
2 |
3 | module.exports = environment
4 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/webpack/production.js:
--------------------------------------------------------------------------------
1 | process.env.NODE_ENV = process.env.NODE_ENV || 'production'
2 |
3 | const webpackConfig = require('./base')
4 |
5 | module.exports = webpackConfig
6 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/config/webpack/test.js:
--------------------------------------------------------------------------------
1 | process.env.NODE_ENV = process.env.NODE_ENV || 'development'
2 |
3 | const webpackConfig = require('./base')
4 |
5 | module.exports = webpackConfig
6 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "app",
3 | "private": true,
4 | "dependencies": {
5 | "@rails/webpacker": "^6.0.0-rc.6",
6 | "webpack": "^5.76.0",
7 | "webpack-cli": "^4.8.0"
8 | },
9 | "version": "0.1.0",
10 | "babel": {
11 | "presets": [
12 | "./node_modules/@rails/webpacker/package/babel/preset.js"
13 | ]
14 | },
15 | "browserslist": [
16 | "defaults"
17 | ],
18 | "devDependencies": {
19 | "@webpack-cli/serve": "^1.7.0",
20 | "webpack-dev-server": "^4.11.1"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: [
3 | require('postcss-import'),
4 | require('postcss-flexbugs-fixes'),
5 | require('postcss-preset-env')({
6 | autoprefixer: {
7 | flexbox: 'no-2009'
8 | },
9 | stage: 3
10 | })
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/public/apple-touch-icon-precomposed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/rails6_sprockets/public/apple-touch-icon-precomposed.png
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/public/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/rails6_sprockets/public/apple-touch-icon.png
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/rails6_sprockets/public/favicon.ico
--------------------------------------------------------------------------------
/fixtures/default/rails6_sprockets/public/robots.txt:
--------------------------------------------------------------------------------
1 | # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2 | #
3 | # If you find yourself ignoring temporary files generated by your text editor
4 | # or operating system, you probably want to add a global ignore instead:
5 | # git config --global core.excludesfile '~/.gitignore_global'
6 |
7 | # Ignore bundler config.
8 | /.bundle
9 |
10 | # Ignore all logfiles and tempfiles.
11 | /log/*
12 | /tmp/*
13 | !/tmp/pids
14 |
15 |
16 | /public/assets
17 | .byebug_history
18 |
19 | # Ignore master key for decrypting credentials and more.
20 | /config/master.key
21 |
22 | /public/packs
23 | /public/packs-test
24 | /node_modules
25 | /yarn-error.log
26 | yarn-debug.log*
27 | .yarn-integrity
28 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 | git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3 |
4 | ruby '~> 3.1.0'
5 |
6 | # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7 | gem 'rails', '~> 7.1'
8 | # Use Puma as the app server
9 | gem 'puma', '~> 6.0'
10 |
11 | # Use SCSS for stylesheets
12 | gem 'sass-rails', '>= 6'
13 | # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
14 | gem 'webpacker', '~> 6.0.0.rc.6'
15 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/README.md:
--------------------------------------------------------------------------------
1 | # README
2 |
3 | This README would normally document whatever steps are necessary to get the
4 | application up and running.
5 |
6 | Things you may want to cover:
7 |
8 | * Ruby version
9 |
10 | * System dependencies
11 |
12 | * Configuration
13 |
14 | * Database creation
15 |
16 | * Database initialization
17 |
18 | * How to run the test suite
19 |
20 | * Services (job queues, cache servers, search engines, etc.)
21 |
22 | * Deployment instructions
23 |
24 | * ...
25 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/Rakefile:
--------------------------------------------------------------------------------
1 | # Add your own tasks in files placed in lib/tasks ending in .rake,
2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3 |
4 | require_relative 'config/application'
5 |
6 | Rails.application.load_tasks
7 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/app/assets/config/manifest.js:
--------------------------------------------------------------------------------
1 | //= link_tree ../images
2 | //= link_directory ../stylesheets .css
3 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/app/assets/images/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/rails7/app/assets/images/.keep
--------------------------------------------------------------------------------
/fixtures/default/rails7/app/controllers/application_controller.rb:
--------------------------------------------------------------------------------
1 | class ApplicationController < ActionController::Base
2 | def index
3 | node_version = `node -v`
4 | ruby_version = `ruby -v`
5 | output = 'Hello World!' + "\n" + 'Ruby version: ' + ruby_version + 'Node version: ' + node_version
6 | render plain: output
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/app/helpers/application_helper.rb:
--------------------------------------------------------------------------------
1 | module ApplicationHelper
2 | end
3 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/app/jobs/application_job.rb:
--------------------------------------------------------------------------------
1 | class ApplicationJob < ActiveJob::Base
2 | # Automatically retry jobs that encountered a deadlock
3 | # retry_on ActiveRecord::Deadlocked
4 |
5 | # Most jobs are safe to ignore if the underlying records are no longer available
6 | # discard_on ActiveJob::DeserializationError
7 | end
8 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/app/views/layouts/application.html.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Myapp
5 | <%= csrf_meta_tags %>
6 | <%= csp_meta_tag %>
7 |
8 | <%= stylesheet_link_tag 'application', media: 'all' %>
9 | <%= javascript_pack_tag 'application' %>
10 | <%= javascript_pack_tag "application" %>
11 |
12 |
13 |
14 | <%= yield %>
15 |
16 |
17 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/bin/rails:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 | APP_PATH = File.expand_path('../config/application', __dir__)
3 | require_relative "../config/boot"
4 | require "rails/commands"
5 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/bin/rake:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 | require_relative "../config/boot"
3 | require "rake"
4 | Rake.application.run
5 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/bin/webpack:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | require "pathname"
4 | require "bundler/setup"
5 | require "webpacker"
6 | require "webpacker/webpack_runner"
7 |
8 | ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
9 | ENV["NODE_ENV"] ||= "development"
10 | ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath)
11 |
12 | APP_ROOT = File.expand_path("..", __dir__)
13 | Dir.chdir(APP_ROOT) do
14 | Webpacker::WebpackRunner.run(ARGV)
15 | end
16 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/bin/webpack-dev-server:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
4 | ENV["NODE_ENV"] ||= "development"
5 |
6 | require "pathname"
7 | ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
8 | Pathname.new(__FILE__).realpath)
9 |
10 | require "bundler/setup"
11 |
12 | require "webpacker"
13 | require "webpacker/dev_server_runner"
14 |
15 | APP_ROOT = File.expand_path("..", __dir__)
16 | Dir.chdir(APP_ROOT) do
17 | Webpacker::DevServerRunner.run(ARGV)
18 | end
19 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/bin/yarn:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | APP_ROOT = File.expand_path("..", __dir__)
4 | Dir.chdir(APP_ROOT) do
5 | yarn = ENV["PATH"].split(File::PATH_SEPARATOR).
6 | select { |dir| File.expand_path(dir) != __dir__ }.
7 | product(["yarn", "yarnpkg", "yarn.cmd", "yarn.ps1"]).
8 | map { |dir, file| File.expand_path(file, dir) }.
9 | find { |file| File.executable?(file) }
10 |
11 | if yarn
12 | exec yarn, *ARGV
13 | else
14 | $stderr.puts "Yarn executable was not detected in the system."
15 | $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
16 | exit 1
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config.ru:
--------------------------------------------------------------------------------
1 | # This file is used by Rack-based servers to start the application.
2 |
3 | require_relative "config/environment"
4 |
5 | run Rails.application
6 | Rails.application.load_server
7 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/boot.rb:
--------------------------------------------------------------------------------
1 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
2 |
3 | require "bundler/setup" # Set up gems listed in the Gemfile.
4 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/environment.rb:
--------------------------------------------------------------------------------
1 | # Load the Rails application.
2 | require_relative "application"
3 |
4 | # Initialize the Rails application.
5 | Rails.application.initialize!
6 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/initializers/application_controller_renderer.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # ActiveSupport::Reloader.to_prepare do
4 | # ApplicationController.renderer.defaults.merge!(
5 | # http_host: 'example.org',
6 | # https: false
7 | # )
8 | # end
9 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/initializers/backtrace_silencers.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4 | # Rails.backtrace_cleaner.add_silencer { |line| /my_noisy_library/.match?(line) }
5 |
6 | # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code
7 | # by setting BACKTRACE=1 before calling your invocation, like "BACKTRACE=1 ./bin/rails runner 'MyClass.perform'".
8 | Rails.backtrace_cleaner.remove_silencers! if ENV["BACKTRACE"]
9 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/initializers/cookies_serializer.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Specify a serializer for the signed and encrypted cookie jars.
4 | # Valid options are :json, :marshal, and :hybrid.
5 | Rails.application.config.action_dispatch.cookies_serializer = :json
6 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/initializers/filter_parameter_logging.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Configure sensitive parameters which will be filtered from the log file.
4 | Rails.application.config.filter_parameters += [
5 | :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
6 | ]
7 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/initializers/mime_types.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Add new mime types for use in respond_to blocks:
4 | # Mime::Type.register "text/richtext", :rtf
5 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/initializers/permissions_policy.rb:
--------------------------------------------------------------------------------
1 | # Define an application-wide HTTP permissions policy. For further
2 | # information see https://developers.google.com/web/updates/2018/06/feature-policy
3 | #
4 | # Rails.application.config.permissions_policy do |f|
5 | # f.camera :none
6 | # f.gyroscope :none
7 | # f.microphone :none
8 | # f.usb :none
9 | # f.fullscreen :self
10 | # f.payment :self, "https://secure.example.com"
11 | # end
12 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/initializers/wrap_parameters.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # This file contains settings for ActionController::ParamsWrapper which
4 | # is enabled by default.
5 |
6 | # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7 | ActiveSupport.on_load(:action_controller) do
8 | wrap_parameters format: [:json]
9 | end
10 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/routes.rb:
--------------------------------------------------------------------------------
1 | Rails.application.routes.draw do
2 | # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
3 | root 'application#index'
4 | end
5 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/webpack/base.js:
--------------------------------------------------------------------------------
1 | const { webpackConfig } = require('@rails/webpacker')
2 |
3 | module.exports = webpackConfig
4 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/webpack/development.js:
--------------------------------------------------------------------------------
1 | process.env.NODE_ENV = process.env.NODE_ENV || 'development'
2 |
3 | const webpackConfig = require('./base')
4 |
5 | module.exports = webpackConfig
6 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/webpack/environment.js:
--------------------------------------------------------------------------------
1 | const { environment } = require('@rails/webpacker')
2 |
3 | module.exports = environment
4 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/webpack/production.js:
--------------------------------------------------------------------------------
1 | process.env.NODE_ENV = process.env.NODE_ENV || 'production'
2 |
3 | const webpackConfig = require('./base')
4 |
5 | module.exports = webpackConfig
6 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/config/webpack/test.js:
--------------------------------------------------------------------------------
1 | process.env.NODE_ENV = process.env.NODE_ENV || 'development'
2 |
3 | const webpackConfig = require('./base')
4 |
5 | module.exports = webpackConfig
6 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "app",
3 | "private": true,
4 | "dependencies": {
5 | "@rails/webpacker": "^6.0.0-rc.6",
6 | "webpack": "^5.76.0",
7 | "webpack-cli": "^4.8.0"
8 | },
9 | "version": "0.1.0",
10 | "babel": {
11 | "presets": [
12 | "./node_modules/@rails/webpacker/package/babel/preset.js"
13 | ]
14 | },
15 | "browserslist": [
16 | "defaults"
17 | ],
18 | "devDependencies": {
19 | "@webpack-cli/serve": "^1.7.0",
20 | "webpack-dev-server": "^4.11.1"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: [
3 | require('postcss-import'),
4 | require('postcss-flexbugs-fixes'),
5 | require('postcss-preset-env')({
6 | autoprefixer: {
7 | flexbox: 'no-2009'
8 | },
9 | stage: 3
10 | })
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/fixtures/default/rails7/public/apple-touch-icon-precomposed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/rails7/public/apple-touch-icon-precomposed.png
--------------------------------------------------------------------------------
/fixtures/default/rails7/public/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/rails7/public/apple-touch-icon.png
--------------------------------------------------------------------------------
/fixtures/default/rails7/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/rails7/public/favicon.ico
--------------------------------------------------------------------------------
/fixtures/default/rails7/public/robots.txt:
--------------------------------------------------------------------------------
1 | # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2 |
--------------------------------------------------------------------------------
/fixtures/default/relative_gemspec_path/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 | gem "webrick"
3 | gem "sinatra"
4 | gemspec path: "gems/hola"
5 | ruby '~> 3.2.0'
--------------------------------------------------------------------------------
/fixtures/default/relative_gemspec_path/Gemfile.lock:
--------------------------------------------------------------------------------
1 | PATH
2 | remote: gems/hola
3 | specs:
4 | hola (0.1.3)
5 |
6 | GEM
7 | remote: https://rubygems.org/
8 | specs:
9 | mustermann (3.0.0)
10 | ruby2_keywords (~> 0.0.1)
11 | rack (2.2.8)
12 | rack-protection (3.0.6)
13 | rack
14 | ruby2_keywords (0.0.5)
15 | sinatra (3.0.6)
16 | mustermann (~> 3.0)
17 | rack (~> 2.2, >= 2.2.4)
18 | rack-protection (= 3.0.6)
19 | tilt (~> 2.0)
20 | tilt (2.2.0)
21 | webrick (1.8.1)
22 |
23 | PLATFORMS
24 | ruby
25 |
26 | DEPENDENCIES
27 | hola!
28 | sinatra
29 | webrick
30 |
31 | RUBY VERSION
32 | ruby 3.2.0p0
33 |
34 | BUNDLED WITH
35 | 2.4.1
36 |
--------------------------------------------------------------------------------
/fixtures/default/relative_gemspec_path/config.ru:
--------------------------------------------------------------------------------
1 | require './app'
2 | run Sinatra::Application
3 |
--------------------------------------------------------------------------------
/fixtures/default/relative_gemspec_path/gems/hola/hola.gemspec:
--------------------------------------------------------------------------------
1 | Gem::Specification.new do |s|
2 | s.name = 'hola'
3 | s.version = '0.1.3'
4 | s.date = '2013-07-03'
5 | s.summary = "Hola!"
6 | s.description = "A simple hello world gem"
7 | s.authors = ["Nick Quaranto"]
8 | s.email = 'nick@quaran.to'
9 | s.files = ["lib/hola.rb"]
10 | s.homepage =
11 | 'http://rubygems.org/gems/hola'
12 | s.license = 'MIT'
13 | end
14 |
--------------------------------------------------------------------------------
/fixtures/default/relative_gemspec_path/gems/hola/lib/hola.rb:
--------------------------------------------------------------------------------
1 | class Hola
2 | def self.hi
3 | puts "Hello World!"
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/fixtures/default/relative_gemspec_path/manifest.yml:
--------------------------------------------------------------------------------
1 | ---
2 | applications:
3 | - name: app_with_relative_gemspec_path
4 | memory: 256M
5 | instances: 1
6 | path: .
7 |
--------------------------------------------------------------------------------
/fixtures/default/sinatra/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'webrick'
4 | gem 'sinatra'
5 |
--------------------------------------------------------------------------------
/fixtures/default/sinatra/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | mustermann (3.0.0)
5 | ruby2_keywords (~> 0.0.1)
6 | rack (2.2.8)
7 | rack-protection (3.1.0)
8 | rack (~> 2.2, >= 2.2.4)
9 | ruby2_keywords (0.0.5)
10 | sinatra (3.1.0)
11 | mustermann (~> 3.0)
12 | rack (~> 2.2, >= 2.2.4)
13 | rack-protection (= 3.1.0)
14 | tilt (~> 2.0)
15 | tilt (2.3.0)
16 | webrick (1.8.1)
17 |
18 | PLATFORMS
19 | ruby
20 |
21 | DEPENDENCIES
22 | sinatra
23 | webrick
24 |
--------------------------------------------------------------------------------
/fixtures/default/sinatra/README.md:
--------------------------------------------------------------------------------
1 | sinatra web app
2 | ==================
3 |
4 | A service free app for CF buildpack testing
5 |
--------------------------------------------------------------------------------
/fixtures/default/sinatra/app.rb:
--------------------------------------------------------------------------------
1 | require 'sinatra'
2 | require 'yaml'
3 |
4 | get '/' do
5 | 'Hello world!'
6 | end
7 |
8 | get '/yaml' do
9 | '' + YAML.load("{foo: [bar, baz, quux]}").to_yaml + '
'
10 | end
11 |
12 | get '/env' do
13 | rval = ""
14 | ENV.keys.sort.each do |key|
15 | rval += "#{key}: #{ENV[key]}\n"
16 | end
17 | rval += "
"
18 | rval
19 | end
20 |
--------------------------------------------------------------------------------
/fixtures/default/sinatra/config.ru:
--------------------------------------------------------------------------------
1 | require './app'
2 | run Sinatra::Application
--------------------------------------------------------------------------------
/fixtures/default/sinatra/sym-configru:
--------------------------------------------------------------------------------
1 | config.ru
--------------------------------------------------------------------------------
/fixtures/default/sinatra/sym-vendor:
--------------------------------------------------------------------------------
1 | vendor
--------------------------------------------------------------------------------
/fixtures/default/sinatra/vendor/cache/mustermann-3.0.0.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra/vendor/cache/mustermann-3.0.0.gem
--------------------------------------------------------------------------------
/fixtures/default/sinatra/vendor/cache/rack-2.2.8.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra/vendor/cache/rack-2.2.8.gem
--------------------------------------------------------------------------------
/fixtures/default/sinatra/vendor/cache/rack-protection-3.1.0.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra/vendor/cache/rack-protection-3.1.0.gem
--------------------------------------------------------------------------------
/fixtures/default/sinatra/vendor/cache/ruby2_keywords-0.0.5.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra/vendor/cache/ruby2_keywords-0.0.5.gem
--------------------------------------------------------------------------------
/fixtures/default/sinatra/vendor/cache/sinatra-3.1.0.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra/vendor/cache/sinatra-3.1.0.gem
--------------------------------------------------------------------------------
/fixtures/default/sinatra/vendor/cache/tilt-2.3.0.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra/vendor/cache/tilt-2.3.0.gem
--------------------------------------------------------------------------------
/fixtures/default/sinatra/vendor/cache/webrick-1.8.1.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra/vendor/cache/webrick-1.8.1.gem
--------------------------------------------------------------------------------
/fixtures/default/sinatra_jruby/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | ruby '3.1.4', :engine => 'jruby', :engine_version => '9.4.8.0'
4 |
5 | gem 'sinatra'
6 | gem 'webrick'
7 |
--------------------------------------------------------------------------------
/fixtures/default/sinatra_jruby/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | mustermann (3.0.0)
5 | ruby2_keywords (~> 0.0.1)
6 | rack (2.2.7)
7 | rack-protection (3.0.6)
8 | rack
9 | ruby2_keywords (0.0.5)
10 | sinatra (3.0.6)
11 | mustermann (~> 3.0)
12 | rack (~> 2.2, >= 2.2.4)
13 | rack-protection (= 3.0.6)
14 | tilt (~> 2.0)
15 | tilt (2.2.0)
16 | webrick (1.8.1)
17 |
18 | PLATFORMS
19 | universal-java-1.8
20 |
21 | DEPENDENCIES
22 | sinatra
23 | webrick
24 |
25 | RUBY VERSION
26 | ruby 3.1.4p0 (jruby 9.4.8.0)
27 |
28 | BUNDLED WITH
29 | 2.6.5
30 |
--------------------------------------------------------------------------------
/fixtures/default/sinatra_jruby/README.md:
--------------------------------------------------------------------------------
1 | sinatra web app
2 | ==================
3 |
4 | A service free app for CF buildpack testing
5 |
--------------------------------------------------------------------------------
/fixtures/default/sinatra_jruby/app.rb:
--------------------------------------------------------------------------------
1 | require 'sinatra'
2 |
3 | get '/' do
4 | 'Hello world!'
5 | end
6 |
7 | get '/ruby' do
8 | "#{RUBY_ENGINE} #{RUBY_VERSION}"
9 | end
10 |
--------------------------------------------------------------------------------
/fixtures/default/sinatra_jruby/config.ru:
--------------------------------------------------------------------------------
1 | require './app'
2 | run Sinatra::Application
--------------------------------------------------------------------------------
/fixtures/default/sinatra_jruby/manifest.yml:
--------------------------------------------------------------------------------
1 | ---
2 | applications:
3 | - name: sinatra_jruby_web_app
4 |
--------------------------------------------------------------------------------
/fixtures/default/sinatra_jruby/vendor/cache/mustermann-3.0.0.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra_jruby/vendor/cache/mustermann-3.0.0.gem
--------------------------------------------------------------------------------
/fixtures/default/sinatra_jruby/vendor/cache/rack-2.2.7.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra_jruby/vendor/cache/rack-2.2.7.gem
--------------------------------------------------------------------------------
/fixtures/default/sinatra_jruby/vendor/cache/rack-protection-3.0.6.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra_jruby/vendor/cache/rack-protection-3.0.6.gem
--------------------------------------------------------------------------------
/fixtures/default/sinatra_jruby/vendor/cache/ruby2_keywords-0.0.5.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra_jruby/vendor/cache/ruby2_keywords-0.0.5.gem
--------------------------------------------------------------------------------
/fixtures/default/sinatra_jruby/vendor/cache/sinatra-3.0.6.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra_jruby/vendor/cache/sinatra-3.0.6.gem
--------------------------------------------------------------------------------
/fixtures/default/sinatra_jruby/vendor/cache/tilt-2.2.0.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra_jruby/vendor/cache/tilt-2.2.0.gem
--------------------------------------------------------------------------------
/fixtures/default/sinatra_jruby/vendor/cache/webrick-1.8.1.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/sinatra_jruby/vendor/cache/webrick-1.8.1.gem
--------------------------------------------------------------------------------
/fixtures/default/specified_ruby_version/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | ruby "~>3.2.0"
4 | gem "webrick"
5 | gem 'sinatra'
6 |
--------------------------------------------------------------------------------
/fixtures/default/specified_ruby_version/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | mustermann (3.0.0)
5 | ruby2_keywords (~> 0.0.1)
6 | rack (2.2.8)
7 | rack-protection (3.1.0)
8 | rack (~> 2.2, >= 2.2.4)
9 | ruby2_keywords (0.0.5)
10 | sinatra (3.1.0)
11 | mustermann (~> 3.0)
12 | rack (~> 2.2, >= 2.2.4)
13 | rack-protection (= 3.1.0)
14 | tilt (~> 2.0)
15 | tilt (2.3.0)
16 | webrick (1.8.1)
17 |
18 | PLATFORMS
19 | ruby
20 |
21 | DEPENDENCIES
22 | sinatra
23 | webrick
24 |
25 | RUBY VERSION
26 | ruby 3.2.0p0
27 |
28 | BUNDLED WITH
29 | 2.4.1
30 |
--------------------------------------------------------------------------------
/fixtures/default/specified_ruby_version/README.md:
--------------------------------------------------------------------------------
1 | sinatra web app
2 | ==================
3 |
4 | A service free app for CF buildpack testing
5 |
--------------------------------------------------------------------------------
/fixtures/default/specified_ruby_version/app.rb:
--------------------------------------------------------------------------------
1 | require 'sinatra'
2 |
3 | get '/' do
4 | 'Hello world!'
5 | end
6 |
7 | get '/ruby' do
8 | "#{RUBY_ENGINE} #{RUBY_VERSION}"
9 | end
--------------------------------------------------------------------------------
/fixtures/default/specified_ruby_version/config.ru:
--------------------------------------------------------------------------------
1 | require './app'
2 | run Sinatra::Application
--------------------------------------------------------------------------------
/fixtures/default/unspecified_ruby_version/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'webrick'
4 | gem 'sinatra'
5 |
--------------------------------------------------------------------------------
/fixtures/default/unspecified_ruby_version/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | mustermann (3.0.0)
5 | ruby2_keywords (~> 0.0.1)
6 | rack (2.2.8)
7 | rack-protection (3.1.0)
8 | rack (~> 2.2, >= 2.2.4)
9 | ruby2_keywords (0.0.5)
10 | sinatra (3.1.0)
11 | mustermann (~> 3.0)
12 | rack (~> 2.2, >= 2.2.4)
13 | rack-protection (= 3.1.0)
14 | tilt (~> 2.0)
15 | tilt (2.3.0)
16 | webrick (1.8.1)
17 |
18 | PLATFORMS
19 | ruby
20 |
21 | DEPENDENCIES
22 | sinatra
23 | webrick
24 |
--------------------------------------------------------------------------------
/fixtures/default/unspecified_ruby_version/README.md:
--------------------------------------------------------------------------------
1 | sinatra web app
2 | ==================
3 |
4 | A service free app for CF buildpack testing
5 |
--------------------------------------------------------------------------------
/fixtures/default/unspecified_ruby_version/app.rb:
--------------------------------------------------------------------------------
1 | require 'sinatra'
2 |
3 | get '/' do
4 | 'Hello world!'
5 | end
6 |
7 | get '/ruby' do
8 | "#{RUBY_ENGINE} #{RUBY_VERSION}"
9 | end
--------------------------------------------------------------------------------
/fixtures/default/unspecified_ruby_version/config.ru:
--------------------------------------------------------------------------------
1 | require './app'
2 | run Sinatra::Application
--------------------------------------------------------------------------------
/fixtures/default/vendor_bundle/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'colorize'
4 | gem 'webrick'
5 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_bundle/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | colorize (0.8.1)
5 | webrick (1.7.0)
6 |
7 | PLATFORMS
8 | ruby
9 | x86_64-linux
10 |
11 | DEPENDENCIES
12 | colorize
13 | webrick
14 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_bundle/Procfile:
--------------------------------------------------------------------------------
1 | web: ruby app.rb
2 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_bundle/vendor/bundle/ruby/3.1.0/cache/colorize-0.8.1.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/vendor_bundle/vendor/bundle/ruby/3.1.0/cache/colorize-0.8.1.gem
--------------------------------------------------------------------------------
/fixtures/default/vendor_bundle/vendor/bundle/ruby/3.1.0/cache/webrick-1.7.0.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/vendor_bundle/vendor/bundle/ruby/3.1.0/cache/webrick-1.7.0.gem
--------------------------------------------------------------------------------
/fixtures/default/vendor_bundle/vendor/bundle/ruby/3.1.0/gems/colorize-0.8.1/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rake/testtask'
2 |
3 | Rake::TestTask.new do |t|
4 | t.libs << 'test'
5 | end
6 |
7 | desc 'Run tests'
8 | task :default do
9 | ENV['TEST'] = 'test/test_colorize.rb'
10 | Rake::Task[:test].execute
11 | ENV['TEST'] = 'test/test_colorized_string.rb'
12 | Rake::Task[:test].execute
13 | end
14 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_bundle/vendor/bundle/ruby/3.1.0/gems/colorize-0.8.1/lib/colorize.rb:
--------------------------------------------------------------------------------
1 | require File.expand_path('colorize/class_methods', File.dirname(__FILE__))
2 | require File.expand_path('colorize/instance_methods', File.dirname(__FILE__))
3 | #
4 | # String class extension.
5 | #
6 | class String
7 | extend Colorize::ClassMethods
8 | include Colorize::InstanceMethods
9 |
10 | color_methods
11 | modes_methods
12 | end
13 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_bundle/vendor/bundle/ruby/3.1.0/gems/colorize-0.8.1/lib/colorized_string.rb:
--------------------------------------------------------------------------------
1 | require File.expand_path('colorize/class_methods', File.dirname(__FILE__))
2 | require File.expand_path('colorize/instance_methods', File.dirname(__FILE__))
3 | #
4 | # ColorizedString class extension.
5 | #
6 | class ColorizedString < String
7 | extend Colorize::ClassMethods
8 | include Colorize::InstanceMethods
9 |
10 | color_methods
11 | modes_methods
12 |
13 | #
14 | # Sortcut to create ColorizedString with ColorizedString['test'].
15 | #
16 | def self.[](string)
17 | ColorizedString.new(string)
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_bundle/vendor/bundle/ruby/3.1.0/gems/webrick-1.7.0/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gemspec
4 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_bundle/vendor/bundle/ruby/3.1.0/gems/webrick-1.7.0/Rakefile:
--------------------------------------------------------------------------------
1 | require "bundler/gem_tasks"
2 | require "rake/testtask"
3 |
4 | Rake::TestTask.new(:test) do |t|
5 | t.libs << "test" << "test/lib"
6 | t.libs << "lib"
7 | t.test_files = FileList['test/**/test_*.rb']
8 | end
9 |
10 | task :default => :test
11 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_bundle/vendor/bundle/ruby/3.1.0/gems/webrick-1.7.0/bin/console:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | require "bundler/setup"
4 | require "webrick"
5 |
6 | # You can add fixtures and/or initialization code here to make experimenting
7 | # with your gem easier. You can also use a different console, if you like.
8 |
9 | # (If you use this, don't forget to add pry to your Gemfile!)
10 | # require "pry"
11 | # Pry.start
12 |
13 | require "irb"
14 | IRB.start(__FILE__)
15 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_bundle/vendor/bundle/ruby/3.1.0/gems/webrick-1.7.0/bin/setup:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | set -euo pipefail
3 | IFS=$'\n\t'
4 | set -vx
5 |
6 | bundle install
7 |
8 | # Do any other automated setup that you need to do here
9 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_bundle/vendor/bundle/ruby/3.1.0/gems/webrick-1.7.0/lib/webrick/version.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: false
2 | #--
3 | # version.rb -- version and release date
4 | #
5 | # Author: IPR -- Internet Programming with Ruby -- writers
6 | # Copyright (c) 2000 TAKAHASHI Masayoshi, GOTOU YUUZOU
7 | # Copyright (c) 2003 Internet Programming with Ruby writers. All rights
8 | # reserved.
9 | #
10 | # $IPR: version.rb,v 1.74 2003/07/22 19:20:43 gotoyuzo Exp $
11 |
12 | module WEBrick
13 |
14 | ##
15 | # The WEBrick version
16 |
17 | VERSION = "1.7.0"
18 | end
19 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_cache/.bundle/config:
--------------------------------------------------------------------------------
1 | ---
2 | BUNDLE_CACHE_ALL: "true"
3 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_cache/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'webrick'
4 | gem 'colorize'
5 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_cache/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | colorize (0.8.1)
5 | webrick (1.7.0)
6 |
7 | PLATFORMS
8 | ruby
9 |
10 | DEPENDENCIES
11 | colorize
12 | webrick
13 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_cache/Procfile:
--------------------------------------------------------------------------------
1 | web: ruby app.rb
2 |
--------------------------------------------------------------------------------
/fixtures/default/vendor_cache/vendor/cache/colorize-0.8.1.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/vendor_cache/vendor/cache/colorize-0.8.1.gem
--------------------------------------------------------------------------------
/fixtures/default/vendor_cache/vendor/cache/webrick-1.7.0.gem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/default/vendor_cache/vendor/cache/webrick-1.7.0.gem
--------------------------------------------------------------------------------
/fixtures/multibuildpack/dotnet_core/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'webrick'
4 | gem 'sinatra'
5 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/dotnet_core/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | mustermann (3.0.0)
5 | ruby2_keywords (~> 0.0.1)
6 | rack (2.2.8)
7 | rack-protection (3.1.0)
8 | rack (~> 2.2, >= 2.2.4)
9 | ruby2_keywords (0.0.5)
10 | sinatra (3.1.0)
11 | mustermann (~> 3.0)
12 | rack (~> 2.2, >= 2.2.4)
13 | rack-protection (= 3.1.0)
14 | tilt (~> 2.0)
15 | tilt (2.3.0)
16 | webrick (1.8.1)
17 |
18 | PLATFORMS
19 | ruby
20 |
21 | DEPENDENCIES
22 | sinatra
23 | webrick
24 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/dotnet_core/README.md:
--------------------------------------------------------------------------------
1 | sinatra web app
2 | ==================
3 |
4 | A service free app for CF buildpack testing
5 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/dotnet_core/app.rb:
--------------------------------------------------------------------------------
1 | require 'sinatra'
2 | require 'yaml'
3 |
4 | get '/' do
5 | "dotnet: " + `dotnet --version`
6 | end
7 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/dotnet_core/config.ru:
--------------------------------------------------------------------------------
1 | require './app'
2 | run Sinatra::Application
--------------------------------------------------------------------------------
/fixtures/multibuildpack/dotnet_core/simple.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/no_gemfile/Procfile:
--------------------------------------------------------------------------------
1 | web: ruby app.rb
2 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/no_gemfile/app.rb:
--------------------------------------------------------------------------------
1 | # Most bare-bones app
2 | # webrick isn't part of stdlib in ruby 3.x
3 | require 'socket'
4 |
5 | server = TCPServer.new(ENV.fetch('PORT', 8080))
6 | response = "Ruby Version: #{RUBY_VERSION}"
7 |
8 | loop {
9 | client = server.accept
10 | headers = ["HTTP/1.1 200 OK",
11 | "Content-Type: text/html",
12 | "Content-Length: #{response.length}\r\n\r\n"].join("\r\n")
13 | client.puts headers
14 | client.puts response
15 | client.close
16 | }
17 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/no_gemfile/manifest.yml:
--------------------------------------------------------------------------------
1 | ---
2 | applications:
3 | - name: app-with-no-gemfile
4 | health-check-type: process
5 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2 | #
3 | # If you find yourself ignoring temporary files generated by your text editor
4 | # or operating system, you probably want to add a global ignore instead:
5 | # git config --global core.excludesfile '~/.gitignore_global'
6 |
7 | # Ignore bundler config.
8 | /.bundle
9 |
10 | # Ignore all logfiles and tempfiles.
11 | /log/*
12 | /tmp/*
13 | !/tmp/pids
14 |
15 |
16 | /public/assets
17 | .byebug_history
18 |
19 | # Ignore master key for decrypting credentials and more.
20 | /config/master.key
21 |
22 | /public/packs
23 | /public/packs-test
24 | /node_modules
25 | /yarn-error.log
26 | yarn-debug.log*
27 | .yarn-integrity
28 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 | git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3 |
4 | ruby '~> 3.1.0'
5 |
6 | # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7 | gem 'rails', '~> 6.1.0'
8 | # Use Puma as the app server
9 | gem 'puma', '~> 6.0'
10 |
11 | # Use SCSS for stylesheets
12 | gem 'sass-rails', '>= 6'
13 | # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
14 | gem 'webpacker', '~> 6.0.0.rc.6'
15 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/README.md:
--------------------------------------------------------------------------------
1 | # README
2 |
3 | This README would normally document whatever steps are necessary to get the
4 | application up and running.
5 |
6 | Things you may want to cover:
7 |
8 | * Ruby version
9 |
10 | * System dependencies
11 |
12 | * Configuration
13 |
14 | * Database creation
15 |
16 | * Database initialization
17 |
18 | * How to run the test suite
19 |
20 | * Services (job queues, cache servers, search engines, etc.)
21 |
22 | * Deployment instructions
23 |
24 | * ...
25 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/Rakefile:
--------------------------------------------------------------------------------
1 | # Add your own tasks in files placed in lib/tasks ending in .rake,
2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3 |
4 | require_relative 'config/application'
5 |
6 | Rails.application.load_tasks
7 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/app/assets/config/manifest.js:
--------------------------------------------------------------------------------
1 | //= link_tree ../images
2 | //= link_directory ../stylesheets .css
3 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/app/assets/images/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/multibuildpack/rails6/app/assets/images/.keep
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/app/controllers/application_controller.rb:
--------------------------------------------------------------------------------
1 | class ApplicationController < ActionController::Base
2 | def index
3 | node_version = `node -v`
4 | ruby_version = `ruby -v`
5 | output = 'Hello World!' + "\n" + 'Ruby version: ' + ruby_version + 'Node version: ' + node_version
6 | render plain: output
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/app/helpers/application_helper.rb:
--------------------------------------------------------------------------------
1 | module ApplicationHelper
2 | end
3 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/app/jobs/application_job.rb:
--------------------------------------------------------------------------------
1 | class ApplicationJob < ActiveJob::Base
2 | # Automatically retry jobs that encountered a deadlock
3 | # retry_on ActiveRecord::Deadlocked
4 |
5 | # Most jobs are safe to ignore if the underlying records are no longer available
6 | # discard_on ActiveJob::DeserializationError
7 | end
8 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/app/views/layouts/application.html.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Myapp
5 | <%= csrf_meta_tags %>
6 | <%= csp_meta_tag %>
7 |
8 | <%= stylesheet_link_tag 'application', media: 'all' %>
9 | <%= javascript_pack_tag 'application' %>
10 | <%= javascript_pack_tag "application" %>
11 |
12 |
13 |
14 | <%= yield %>
15 |
16 |
17 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/bin/rails:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 | APP_PATH = File.expand_path('../config/application', __dir__)
3 | require_relative "../config/boot"
4 | require "rails/commands"
5 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/bin/rake:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 | require_relative "../config/boot"
3 | require "rake"
4 | Rake.application.run
5 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/bin/webpack:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | require "pathname"
4 | require "bundler/setup"
5 | require "webpacker"
6 | require "webpacker/webpack_runner"
7 |
8 | ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
9 | ENV["NODE_ENV"] ||= "development"
10 | ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath)
11 |
12 | APP_ROOT = File.expand_path("..", __dir__)
13 | Dir.chdir(APP_ROOT) do
14 | Webpacker::WebpackRunner.run(ARGV)
15 | end
16 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/bin/webpack-dev-server:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
4 | ENV["NODE_ENV"] ||= "development"
5 |
6 | require "pathname"
7 | ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
8 | Pathname.new(__FILE__).realpath)
9 |
10 | require "bundler/setup"
11 |
12 | require "webpacker"
13 | require "webpacker/dev_server_runner"
14 |
15 | APP_ROOT = File.expand_path("..", __dir__)
16 | Dir.chdir(APP_ROOT) do
17 | Webpacker::DevServerRunner.run(ARGV)
18 | end
19 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/bin/yarn:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | APP_ROOT = File.expand_path("..", __dir__)
4 | Dir.chdir(APP_ROOT) do
5 | yarn = ENV["PATH"].split(File::PATH_SEPARATOR).
6 | select { |dir| File.expand_path(dir) != __dir__ }.
7 | product(["yarn", "yarnpkg", "yarn.cmd", "yarn.ps1"]).
8 | map { |dir, file| File.expand_path(file, dir) }.
9 | find { |file| File.executable?(file) }
10 |
11 | if yarn
12 | exec yarn, *ARGV
13 | else
14 | $stderr.puts "Yarn executable was not detected in the system."
15 | $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
16 | exit 1
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config.ru:
--------------------------------------------------------------------------------
1 | # This file is used by Rack-based servers to start the application.
2 |
3 | require_relative "config/environment"
4 |
5 | run Rails.application
6 | Rails.application.load_server
7 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/boot.rb:
--------------------------------------------------------------------------------
1 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
2 |
3 | require "bundler/setup" # Set up gems listed in the Gemfile.
4 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/environment.rb:
--------------------------------------------------------------------------------
1 | # Load the Rails application.
2 | require_relative "application"
3 |
4 | # Initialize the Rails application.
5 | Rails.application.initialize!
6 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/initializers/application_controller_renderer.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # ActiveSupport::Reloader.to_prepare do
4 | # ApplicationController.renderer.defaults.merge!(
5 | # http_host: 'example.org',
6 | # https: false
7 | # )
8 | # end
9 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/initializers/backtrace_silencers.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4 | # Rails.backtrace_cleaner.add_silencer { |line| /my_noisy_library/.match?(line) }
5 |
6 | # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code
7 | # by setting BACKTRACE=1 before calling your invocation, like "BACKTRACE=1 ./bin/rails runner 'MyClass.perform'".
8 | Rails.backtrace_cleaner.remove_silencers! if ENV["BACKTRACE"]
9 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/initializers/cookies_serializer.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Specify a serializer for the signed and encrypted cookie jars.
4 | # Valid options are :json, :marshal, and :hybrid.
5 | Rails.application.config.action_dispatch.cookies_serializer = :json
6 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/initializers/filter_parameter_logging.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Configure sensitive parameters which will be filtered from the log file.
4 | Rails.application.config.filter_parameters += [
5 | :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
6 | ]
7 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/initializers/mime_types.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Add new mime types for use in respond_to blocks:
4 | # Mime::Type.register "text/richtext", :rtf
5 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/initializers/permissions_policy.rb:
--------------------------------------------------------------------------------
1 | # Define an application-wide HTTP permissions policy. For further
2 | # information see https://developers.google.com/web/updates/2018/06/feature-policy
3 | #
4 | # Rails.application.config.permissions_policy do |f|
5 | # f.camera :none
6 | # f.gyroscope :none
7 | # f.microphone :none
8 | # f.usb :none
9 | # f.fullscreen :self
10 | # f.payment :self, "https://secure.example.com"
11 | # end
12 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/initializers/wrap_parameters.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # This file contains settings for ActionController::ParamsWrapper which
4 | # is enabled by default.
5 |
6 | # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7 | ActiveSupport.on_load(:action_controller) do
8 | wrap_parameters format: [:json]
9 | end
10 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/routes.rb:
--------------------------------------------------------------------------------
1 | Rails.application.routes.draw do
2 | # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
3 | root 'application#index'
4 | end
5 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/webpack/base.js:
--------------------------------------------------------------------------------
1 | const { webpackConfig } = require('@rails/webpacker')
2 |
3 | module.exports = webpackConfig
4 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/webpack/development.js:
--------------------------------------------------------------------------------
1 | process.env.NODE_ENV = process.env.NODE_ENV || 'development'
2 |
3 | const webpackConfig = require('./base')
4 |
5 | module.exports = webpackConfig
6 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/webpack/environment.js:
--------------------------------------------------------------------------------
1 | const { environment } = require('@rails/webpacker')
2 |
3 | module.exports = environment
4 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/webpack/production.js:
--------------------------------------------------------------------------------
1 | process.env.NODE_ENV = process.env.NODE_ENV || 'production'
2 |
3 | const webpackConfig = require('./base')
4 |
5 | module.exports = webpackConfig
6 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/config/webpack/test.js:
--------------------------------------------------------------------------------
1 | process.env.NODE_ENV = process.env.NODE_ENV || 'development'
2 |
3 | const webpackConfig = require('./base')
4 |
5 | module.exports = webpackConfig
6 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "app",
3 | "private": true,
4 | "dependencies": {
5 | "@rails/webpacker": "^6.0.0-rc.6",
6 | "webpack": "^5.76.0",
7 | "webpack-cli": "^4.8.0"
8 | },
9 | "version": "0.1.0",
10 | "babel": {
11 | "presets": [
12 | "./node_modules/@rails/webpacker/package/babel/preset.js"
13 | ]
14 | },
15 | "browserslist": [
16 | "defaults"
17 | ],
18 | "devDependencies": {
19 | "@webpack-cli/serve": "^1.7.0",
20 | "webpack-dev-server": "^4.11.1"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: [
3 | require('postcss-import'),
4 | require('postcss-flexbugs-fixes'),
5 | require('postcss-preset-env')({
6 | autoprefixer: {
7 | flexbox: 'no-2009'
8 | },
9 | stage: 3
10 | })
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/public/apple-touch-icon-precomposed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/multibuildpack/rails6/public/apple-touch-icon-precomposed.png
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/public/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/multibuildpack/rails6/public/apple-touch-icon.png
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/fixtures/multibuildpack/rails6/public/favicon.ico
--------------------------------------------------------------------------------
/fixtures/multibuildpack/rails6/public/robots.txt:
--------------------------------------------------------------------------------
1 | # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/ruby_calls_go/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | ruby '~>3'
4 |
5 | gem 'sinatra'
6 | gem 'webrick'
7 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/ruby_calls_go/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | mustermann (3.0.0)
5 | ruby2_keywords (~> 0.0.1)
6 | rack (2.2.8)
7 | rack-protection (3.1.0)
8 | rack (~> 2.2, >= 2.2.4)
9 | ruby2_keywords (0.0.5)
10 | sinatra (3.1.0)
11 | mustermann (~> 3.0)
12 | rack (~> 2.2, >= 2.2.4)
13 | rack-protection (= 3.1.0)
14 | tilt (~> 2.0)
15 | tilt (2.3.0)
16 | webrick (1.8.1)
17 |
18 | PLATFORMS
19 | ruby
20 |
21 | DEPENDENCIES
22 | sinatra
23 | webrick
24 |
25 | RUBY VERSION
26 | ruby 3.4.2p28
27 |
28 | BUNDLED WITH
29 | 2.6.2
30 |
--------------------------------------------------------------------------------
/fixtures/multibuildpack/ruby_calls_go/app.rb:
--------------------------------------------------------------------------------
1 | require 'sinatra'
2 | require 'open3'
3 |
4 | get '/' do
5 | stdout, _ = Open3.capture2e('go version')
6 | "RUBY_VERSION IS #{RUBY_VERSION}\n ruby -v is #{`ruby -v`}\n" + stdout
7 | end
--------------------------------------------------------------------------------
/fixtures/multibuildpack/ruby_calls_go/config.ru:
--------------------------------------------------------------------------------
1 | require './app'
2 | run Sinatra::Application
--------------------------------------------------------------------------------
/fixtures/multibuildpack/ruby_calls_go/site.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "fmt"
5 | "log"
6 | "net/http"
7 | "os"
8 | "os/exec"
9 | )
10 |
11 | func main() {
12 | http.HandleFunc("/", hello)
13 | fmt.Println("listening...")
14 | err := http.ListenAndServe(":"+os.Getenv("PORT"), nil)
15 | if err != nil {
16 | panic(err)
17 | }
18 | }
19 |
20 | func hello(res http.ResponseWriter, req *http.Request) {
21 | bundlerVersion, err := exec.Command("bundle", "--version").Output()
22 | if err != nil {
23 | log.Print("ERROR:", err)
24 | fmt.Fprintf(res, "ERROR: %v\n", err)
25 | } else {
26 | fmt.Fprintf(res, "The bundler version is: %s\n", bundlerVersion)
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/fixtures/util/override_buildpack/bin/compile:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | echo "Supply only buildpack"
3 | exit 1
4 |
--------------------------------------------------------------------------------
/fixtures/util/override_buildpack/bin/supply:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -euo pipefail
3 |
4 | BUILD_DIR=$1
5 | CACHE_DIR=$2
6 | DEPS_DIR=$3
7 | DEPS_IDX=$4
8 |
9 | export BUILDPACK_DIR=`dirname $(readlink -f ${BASH_SOURCE%/*})`
10 |
11 | echo "-----> OverrideYML Buildpack"
12 |
13 | echo " Copy $BUILDPACK_DIR/override.yml to $DEPS_DIR/$DEPS_IDX/override.yml"
14 | sed "s#BUILDPACK_DIR#$BUILDPACK_DIR#g" "$BUILDPACK_DIR/override.yml" > "$DEPS_DIR/$DEPS_IDX/override.yml"
15 |
--------------------------------------------------------------------------------
/fixtures/util/override_buildpack/node.tgz:
--------------------------------------------------------------------------------
1 | Fake binary data
2 |
--------------------------------------------------------------------------------
/fixtures/util/override_buildpack/override.yml:
--------------------------------------------------------------------------------
1 | ruby:
2 | dependencies:
3 | - name: node
4 | version: 99.99.99
5 | uri: https://buildpacks.cloudfoundry.org/dependencies/node/node-99.99.99-linux-x64-062d906c.tgz
6 | file: BUILDPACK_DIR/node.tgz
7 | sha256: 062d906c87839d03b243e2821e10653c89b4c92878bfe2bf995dec231e117bfc
8 | cf_stacks:
9 | - cflinuxfs3
10 | - cflinuxfs4
11 |
--------------------------------------------------------------------------------
/fixtures/util/proxy/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/cloudfoundry/ruby-buildpack/fixtures/util/proxy
2 |
3 | go 1.22
4 |
5 | require github.com/elazarl/goproxy v0.0.0-20210801061803-8e322dfb79c4
6 |
--------------------------------------------------------------------------------
/fixtures/util/proxy/go.sum:
--------------------------------------------------------------------------------
1 | github.com/elazarl/goproxy v0.0.0-20210801061803-8e322dfb79c4 h1:lS3P5Nw3oPO05Lk2gFiYUOL3QPaH+fRoI1wFOc4G1UY=
2 | github.com/elazarl/goproxy v0.0.0-20210801061803-8e322dfb79c4/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM=
3 | github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2 h1:dWB6v3RcOy03t/bUadywsbyrQwCqZeNIEX6M1OtSZOM=
4 | github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2/go.mod h1:gNh8nYJoAm43RfaxurUnxr+N1PwuFV3ZMl/efxlIlY8=
5 | github.com/rogpeppe/go-charset v0.0.0-20180617210344-2471d30d28b4/go.mod h1:qgYeAmZ5ZIpBWTGllZSQnw97Dj+woV0toclVaRGI8pc=
6 |
--------------------------------------------------------------------------------
/fixtures/util/proxy/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "fmt"
5 | "log"
6 | "net/http"
7 | "os"
8 |
9 | "github.com/elazarl/goproxy"
10 | )
11 |
12 | func main() {
13 | proxy := goproxy.NewProxyHttpServer()
14 | proxy.Verbose = true
15 | log.Fatal(http.ListenAndServe(fmt.Sprintf(":%s", os.Getenv("PORT")), proxy))
16 | }
17 |
--------------------------------------------------------------------------------
/java-index/index.yml:
--------------------------------------------------------------------------------
1 | ---
2 | 3.1.3: https://buildpacks.cloudfoundry.org/dependencies/ruby/ruby_3.1.3_linux_x64_cflinuxfs4_add107db.tgz
3 | 3.2.0: https://buildpacks.cloudfoundry.org/dependencies/ruby/ruby_3.2.0_linux_x64_cflinuxfs4_eed4b6cb.tgz
4 | 3.2.1: https://buildpacks.cloudfoundry.org/dependencies/ruby/ruby_3.2.1_linux_x64_cflinuxfs4_3c69ef49.tgz
5 |
--------------------------------------------------------------------------------
/src/ruby/cache/cache_suite_test.go:
--------------------------------------------------------------------------------
1 | package cache_test
2 |
3 | import (
4 | . "github.com/onsi/ginkgo"
5 | . "github.com/onsi/gomega"
6 |
7 | "testing"
8 | )
9 |
10 | func TestCache(t *testing.T) {
11 | RegisterFailHandler(Fail)
12 | RunSpecs(t, "Cache Suite")
13 | }
14 |
--------------------------------------------------------------------------------
/src/ruby/finalize/finalize_suite_test.go:
--------------------------------------------------------------------------------
1 | package finalize_test
2 |
3 | import (
4 | . "github.com/onsi/ginkgo"
5 | . "github.com/onsi/gomega"
6 |
7 | "testing"
8 | )
9 |
10 | func TestFinalize(t *testing.T) {
11 | RegisterFailHandler(Fail)
12 | RunSpecs(t, "Finalize Suite")
13 | }
14 |
--------------------------------------------------------------------------------
/src/ruby/supply/supply_suite_test.go:
--------------------------------------------------------------------------------
1 | package supply_test
2 |
3 | import (
4 | . "github.com/onsi/ginkgo"
5 | . "github.com/onsi/gomega"
6 |
7 | "testing"
8 | )
9 |
10 | func TestSupply(t *testing.T) {
11 | RegisterFailHandler(Fail)
12 | RunSpecs(t, "Supply Suite")
13 | }
14 |
--------------------------------------------------------------------------------
/src/ruby/versions/versions_suite_test.go:
--------------------------------------------------------------------------------
1 | package versions_test
2 |
3 | import (
4 | . "github.com/onsi/ginkgo"
5 | . "github.com/onsi/gomega"
6 |
7 | "testing"
8 | )
9 |
10 | func TestVersions(t *testing.T) {
11 | RegisterFailHandler(Fail)
12 | RunSpecs(t, "Versions Suite")
13 | }
14 |
--------------------------------------------------------------------------------
/vendor/code.cloudfoundry.org/lager/package.go:
--------------------------------------------------------------------------------
1 | package lager // import "code.cloudfoundry.org/lager"
2 |
--------------------------------------------------------------------------------
/vendor/github.com/Masterminds/semver/version_fuzz.go:
--------------------------------------------------------------------------------
1 | // +build gofuzz
2 |
3 | package semver
4 |
5 | func Fuzz(data []byte) int {
6 | if _, err := NewVersion(string(data)); err != nil {
7 | return 0
8 | }
9 | return 1
10 | }
11 |
--------------------------------------------------------------------------------
/vendor/github.com/Microsoft/go-winio/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto eol=lf
--------------------------------------------------------------------------------
/vendor/github.com/Microsoft/go-winio/.gitignore:
--------------------------------------------------------------------------------
1 | .vscode/
2 |
3 | *.exe
4 |
5 | # testing
6 | testdata
7 |
8 | # go workspaces
9 | go.work
10 | go.work.sum
11 |
--------------------------------------------------------------------------------
/vendor/github.com/Microsoft/go-winio/CODEOWNERS:
--------------------------------------------------------------------------------
1 | * @microsoft/containerplat
2 |
--------------------------------------------------------------------------------
/vendor/github.com/Microsoft/go-winio/internal/fs/doc.go:
--------------------------------------------------------------------------------
1 | // This package contains Win32 filesystem functionality.
2 | package fs
3 |
--------------------------------------------------------------------------------
/vendor/github.com/Microsoft/go-winio/internal/fs/security.go:
--------------------------------------------------------------------------------
1 | package fs
2 |
3 | // https://learn.microsoft.com/en-us/windows/win32/api/winnt/ne-winnt-security_impersonation_level
4 | type SecurityImpersonationLevel int32 // C default enums underlying type is `int`, which is Go `int32`
5 |
6 | // Impersonation levels
7 | const (
8 | SecurityAnonymous SecurityImpersonationLevel = 0
9 | SecurityIdentification SecurityImpersonationLevel = 1
10 | SecurityImpersonation SecurityImpersonationLevel = 2
11 | SecurityDelegation SecurityImpersonationLevel = 3
12 | )
13 |
--------------------------------------------------------------------------------
/vendor/github.com/Microsoft/go-winio/pkg/guid/guid_nonwindows.go:
--------------------------------------------------------------------------------
1 | //go:build !windows
2 | // +build !windows
3 |
4 | package guid
5 |
6 | // GUID represents a GUID/UUID. It has the same structure as
7 | // golang.org/x/sys/windows.GUID so that it can be used with functions expecting
8 | // that type. It is defined as its own type as that is only available to builds
9 | // targeted at `windows`. The representation matches that used by native Windows
10 | // code.
11 | type GUID struct {
12 | Data1 uint32
13 | Data2 uint16
14 | Data3 uint16
15 | Data4 [8]byte
16 | }
17 |
--------------------------------------------------------------------------------
/vendor/github.com/Microsoft/go-winio/pkg/guid/guid_windows.go:
--------------------------------------------------------------------------------
1 | //go:build windows
2 | // +build windows
3 |
4 | package guid
5 |
6 | import "golang.org/x/sys/windows"
7 |
8 | // GUID represents a GUID/UUID. It has the same structure as
9 | // golang.org/x/sys/windows.GUID so that it can be used with functions expecting
10 | // that type. It is defined as its own type so that stringification and
11 | // marshaling can be supported. The representation matches that used by native
12 | // Windows code.
13 | type GUID windows.GUID
14 |
--------------------------------------------------------------------------------
/vendor/github.com/Microsoft/go-winio/syscall.go:
--------------------------------------------------------------------------------
1 | //go:build windows
2 |
3 | package winio
4 |
5 | //go:generate go run github.com/Microsoft/go-winio/tools/mkwinsyscall -output zsyscall_windows.go ./*.go
6 |
--------------------------------------------------------------------------------
/vendor/github.com/blang/semver/json.go:
--------------------------------------------------------------------------------
1 | package semver
2 |
3 | import (
4 | "encoding/json"
5 | )
6 |
7 | // MarshalJSON implements the encoding/json.Marshaler interface.
8 | func (v Version) MarshalJSON() ([]byte, error) {
9 | return json.Marshal(v.String())
10 | }
11 |
12 | // UnmarshalJSON implements the encoding/json.Unmarshaler interface.
13 | func (v *Version) UnmarshalJSON(data []byte) (err error) {
14 | var versionString string
15 |
16 | if err = json.Unmarshal(data, &versionString); err != nil {
17 | return
18 | }
19 |
20 | *v, err = Parse(versionString)
21 |
22 | return
23 | }
24 |
--------------------------------------------------------------------------------
/vendor/github.com/blang/semver/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "blang",
3 | "bugs": {
4 | "URL": "https://github.com/blang/semver/issues",
5 | "url": "https://github.com/blang/semver/issues"
6 | },
7 | "gx": {
8 | "dvcsimport": "github.com/blang/semver"
9 | },
10 | "gxVersion": "0.10.0",
11 | "language": "go",
12 | "license": "MIT",
13 | "name": "semver",
14 | "releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
15 | "version": "3.5.1"
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/vendor/github.com/blang/semver/sort.go:
--------------------------------------------------------------------------------
1 | package semver
2 |
3 | import (
4 | "sort"
5 | )
6 |
7 | // Versions represents multiple versions.
8 | type Versions []Version
9 |
10 | // Len returns length of version collection
11 | func (s Versions) Len() int {
12 | return len(s)
13 | }
14 |
15 | // Swap swaps two versions inside the collection by its indices
16 | func (s Versions) Swap(i, j int) {
17 | s[i], s[j] = s[j], s[i]
18 | }
19 |
20 | // Less checks if version at index i is less than version at index j
21 | func (s Versions) Less(i, j int) bool {
22 | return s[i].LT(s[j])
23 | }
24 |
25 | // Sort sorts a slice of versions
26 | func Sort(versions []Version) {
27 | sort.Sort(Versions(versions))
28 | }
29 |
--------------------------------------------------------------------------------
/vendor/github.com/blang/semver/sql.go:
--------------------------------------------------------------------------------
1 | package semver
2 |
3 | import (
4 | "database/sql/driver"
5 | "fmt"
6 | )
7 |
8 | // Scan implements the database/sql.Scanner interface.
9 | func (v *Version) Scan(src interface{}) (err error) {
10 | var str string
11 | switch src := src.(type) {
12 | case string:
13 | str = src
14 | case []byte:
15 | str = string(src)
16 | default:
17 | return fmt.Errorf("Version.Scan: cannot convert %T to string.", src)
18 | }
19 |
20 | if t, err := Parse(str); err == nil {
21 | *v = t
22 | }
23 |
24 | return
25 | }
26 |
27 | // Value implements the database/sql/driver.Valuer interface.
28 | func (v Version) Value() (driver.Value, error) {
29 | return v.String(), nil
30 | }
31 |
--------------------------------------------------------------------------------
/vendor/github.com/cenkalti/backoff/v4/.gitignore:
--------------------------------------------------------------------------------
1 | # Compiled Object files, Static and Dynamic libs (Shared Objects)
2 | *.o
3 | *.a
4 | *.so
5 |
6 | # Folders
7 | _obj
8 | _test
9 |
10 | # Architecture specific extensions/prefixes
11 | *.[568vq]
12 | [568vq].out
13 |
14 | *.cgo1.go
15 | *.cgo2.c
16 | _cgo_defun.c
17 | _cgo_gotypes.go
18 | _cgo_export.*
19 |
20 | _testmain.go
21 |
22 | *.exe
23 |
24 | # IDEs
25 | .idea/
26 |
--------------------------------------------------------------------------------
/vendor/github.com/cloudfoundry/libbuildpack/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 |
--------------------------------------------------------------------------------
/vendor/github.com/cloudfoundry/libbuildpack/NOTICE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2017-Present CloudFoundry.org Foundation, Inc. All Rights Reserved.
2 |
3 | This project contains software that is Copyright (c) 2017 Pivotal Software, Inc.
4 |
5 | This project is licensed to you under the Apache License, Version 2.0 (the "License").
6 |
7 | You may not use this project except in compliance with the License.
8 |
9 | This project may include a number of subcomponents with separate copyright notices
10 | and license terms. Your use of these subcomponents is subject to the terms and
11 | conditions of the subcomponent's license, as noted in the LICENSE file.
12 |
--------------------------------------------------------------------------------
/vendor/github.com/cloudfoundry/libbuildpack/README.md:
--------------------------------------------------------------------------------
1 | # libbuildpack
2 |
3 | A library for writing buildpacks
4 |
5 | ## Development
6 |
7 | If you want to change mocks and thus run `go:generate` you will need
8 |
9 | ```
10 | go get github.com/golang/mock/gomock
11 | go get github.com/golang/mock/mockgen
12 | ```
13 |
--------------------------------------------------------------------------------
/vendor/github.com/cloudfoundry/libbuildpack/ansicleaner/buffer.go:
--------------------------------------------------------------------------------
1 | package ansicleaner
2 |
3 | import (
4 | "io"
5 | "strings"
6 | )
7 |
8 | type bufferCleaner struct {
9 | w io.Writer
10 | replacer *strings.Replacer
11 | }
12 |
13 | func New(w io.Writer) io.Writer {
14 | replacer := strings.NewReplacer("\033[31;1m", "", "\033[33;1m", "", "\033[34;1m", "", "\033[0m", "")
15 | return &bufferCleaner{w: w, replacer: replacer}
16 | }
17 |
18 | func (b *bufferCleaner) Write(bytes []byte) (int, error) {
19 | return b.replacer.WriteString(b.w, string(bytes))
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/github.com/cloudfoundry/libbuildpack/cutlass/constants.go:
--------------------------------------------------------------------------------
1 | package cutlass
2 |
3 | import (
4 | "bytes"
5 | "io"
6 | )
7 |
8 | var (
9 | DefaultMemory string
10 | DefaultDisk string
11 | Cached bool
12 | DefaultStdoutStderr io.Writer = &bytes.Buffer{}
13 | )
14 |
--------------------------------------------------------------------------------
/vendor/github.com/cloudfoundry/libbuildpack/cutlass/logger.go:
--------------------------------------------------------------------------------
1 | package cutlass
2 |
3 | import (
4 | "os"
5 |
6 | "code.cloudfoundry.org/lager"
7 | )
8 |
9 | var DefaultLogger = NewLogger()
10 |
11 | func NewLogger() lager.Logger {
12 | logger := lager.NewLogger("cutlass")
13 | if os.Getenv("CUTLASS_DEBUG") != "" {
14 | logger.RegisterSink(lager.NewWriterSink(os.Stderr, lager.DEBUG))
15 | }
16 |
17 | return logger
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/cloudfoundry/switchblade/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .idea
--------------------------------------------------------------------------------
/vendor/github.com/cloudfoundry/switchblade/deployment.go:
--------------------------------------------------------------------------------
1 | package switchblade
2 |
3 | type Deployment struct {
4 | Name string
5 | ExternalURL string
6 | InternalURL string
7 | }
8 |
--------------------------------------------------------------------------------
/vendor/github.com/cloudfoundry/switchblade/internal/cloudfoundry/deinitialize.go:
--------------------------------------------------------------------------------
1 | package cloudfoundry
2 |
3 | // This is noop functionality for the time being to reflect the docker structure
4 |
5 | type DeinitializePhase interface {
6 | Run() error
7 | }
8 |
9 | type Deinitialize struct{}
10 |
11 | func NewDeinitialize() Deinitialize {
12 | return Deinitialize{}
13 | }
14 |
15 | func (d Deinitialize) Run() error {
16 | return nil
17 | }
18 |
--------------------------------------------------------------------------------
/vendor/github.com/cloudfoundry/switchblade/internal/cloudfoundry/executable.go:
--------------------------------------------------------------------------------
1 | package cloudfoundry
2 |
3 | import "github.com/paketo-buildpacks/packit/v2/pexec"
4 |
5 | //go:generate faux --interface Executable --output fakes/executable.go
6 | type Executable interface {
7 | Execute(pexec.Execution) error
8 | }
9 |
--------------------------------------------------------------------------------
/vendor/github.com/cloudfoundry/switchblade/random_name.go:
--------------------------------------------------------------------------------
1 | package switchblade
2 |
3 | import (
4 | "fmt"
5 | "strings"
6 |
7 | "github.com/teris-io/shortid"
8 | )
9 |
10 | func RandomName() (string, error) {
11 | id, err := shortid.Generate()
12 | if err != nil {
13 | return "", err
14 | }
15 |
16 | return strings.ToLower(fmt.Sprintf("switchblade-%s", id)), nil
17 | }
18 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/NOTICE:
--------------------------------------------------------------------------------
1 | Docker
2 | Copyright 2012-2017 Docker, Inc.
3 |
4 | This product includes software developed at Docker, Inc. (https://www.docker.com).
5 |
6 | This product contains software (https://github.com/creack/pty) developed
7 | by Keith Rarick, licensed under the MIT License.
8 |
9 | The following is courtesy of our legal counsel:
10 |
11 |
12 | Use and transfer of Docker may be subject to certain restrictions by the
13 | United States and other governments.
14 | It is your responsibility to ensure that your use and/or transfer does not
15 | violate applicable laws.
16 |
17 | For more information, please see https://www.bis.doc.gov
18 |
19 | See also https://www.apache.org/dev/crypto.html and/or seek legal counsel.
20 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/common.go:
--------------------------------------------------------------------------------
1 | package api // import "github.com/docker/docker/api"
2 |
3 | // Common constants for daemon and client.
4 | const (
5 | // DefaultVersion of Current REST API
6 | DefaultVersion = "1.43"
7 |
8 | // NoBaseImageSpecifier is the symbol used by the FROM
9 | // command to specify that no base image is to be used.
10 | NoBaseImageSpecifier = "scratch"
11 | )
12 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/common_unix.go:
--------------------------------------------------------------------------------
1 | //go:build !windows
2 | // +build !windows
3 |
4 | package api // import "github.com/docker/docker/api"
5 |
6 | // MinVersion represents Minimum REST API version supported
7 | const MinVersion = "1.12"
8 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/common_windows.go:
--------------------------------------------------------------------------------
1 | package api // import "github.com/docker/docker/api"
2 |
3 | // MinVersion represents Minimum REST API version supported
4 | // Technically the first daemon API version released on Windows is v1.25 in
5 | // engine version 1.13. However, some clients are explicitly using downlevel
6 | // APIs (e.g. docker-compose v2.1 file format) and that is just too restrictive.
7 | // Hence also allowing 1.24 on Windows.
8 | const MinVersion string = "1.24"
9 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/swagger-gen.yaml:
--------------------------------------------------------------------------------
1 |
2 | layout:
3 | models:
4 | - name: definition
5 | source: asset:model
6 | target: "{{ joinFilePath .Target .ModelPackage }}"
7 | file_name: "{{ (snakize (pascalize .Name)) }}.go"
8 | operations:
9 | - name: handler
10 | source: asset:serverOperation
11 | target: "{{ joinFilePath .Target .APIPackage .Package }}"
12 | file_name: "{{ (snakize (pascalize .Name)) }}.go"
13 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/auth.go:
--------------------------------------------------------------------------------
1 | package types // import "github.com/docker/docker/api/types"
2 | import "github.com/docker/docker/api/types/registry"
3 |
4 | // AuthConfig contains authorization information for connecting to a Registry.
5 | //
6 | // Deprecated: use github.com/docker/docker/api/types/registry.AuthConfig
7 | type AuthConfig = registry.AuthConfig
8 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/blkiodev/blkio.go:
--------------------------------------------------------------------------------
1 | package blkiodev // import "github.com/docker/docker/api/types/blkiodev"
2 |
3 | import "fmt"
4 |
5 | // WeightDevice is a structure that holds device:weight pair
6 | type WeightDevice struct {
7 | Path string
8 | Weight uint16
9 | }
10 |
11 | func (w *WeightDevice) String() string {
12 | return fmt.Sprintf("%s:%d", w.Path, w.Weight)
13 | }
14 |
15 | // ThrottleDevice is a structure that holds device:rate_per_second pair
16 | type ThrottleDevice struct {
17 | Path string
18 | Rate uint64
19 | }
20 |
21 | func (t *ThrottleDevice) String() string {
22 | return fmt.Sprintf("%s:%d", t.Path, t.Rate)
23 | }
24 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/container/change_response_deprecated.go:
--------------------------------------------------------------------------------
1 | package container
2 |
3 | // ContainerChangeResponseItem change item in response to ContainerChanges operation
4 | //
5 | // Deprecated: use [FilesystemChange].
6 | type ContainerChangeResponseItem = FilesystemChange
7 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/container/change_type.go:
--------------------------------------------------------------------------------
1 | package container
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // ChangeType Kind of change
7 | //
8 | // Can be one of:
9 | //
10 | // - `0`: Modified ("C")
11 | // - `1`: Added ("A")
12 | // - `2`: Deleted ("D")
13 | //
14 | // swagger:model ChangeType
15 | type ChangeType uint8
16 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/container/change_types.go:
--------------------------------------------------------------------------------
1 | package container
2 |
3 | const (
4 | // ChangeModify represents the modify operation.
5 | ChangeModify ChangeType = 0
6 | // ChangeAdd represents the add operation.
7 | ChangeAdd ChangeType = 1
8 | // ChangeDelete represents the delete operation.
9 | ChangeDelete ChangeType = 2
10 | )
11 |
12 | func (ct ChangeType) String() string {
13 | switch ct {
14 | case ChangeModify:
15 | return "C"
16 | case ChangeAdd:
17 | return "A"
18 | case ChangeDelete:
19 | return "D"
20 | default:
21 | return ""
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/container/container_update.go:
--------------------------------------------------------------------------------
1 | package container // import "github.com/docker/docker/api/types/container"
2 |
3 | // ----------------------------------------------------------------------------
4 | // Code generated by `swagger generate operation`. DO NOT EDIT.
5 | //
6 | // See hack/generate-swagger-api.sh
7 | // ----------------------------------------------------------------------------
8 |
9 | // ContainerUpdateOKBody OK response to ContainerUpdate operation
10 | // swagger:model ContainerUpdateOKBody
11 | type ContainerUpdateOKBody struct {
12 |
13 | // warnings
14 | // Required: true
15 | Warnings []string `json:"Warnings"`
16 | }
17 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/container/create_response.go:
--------------------------------------------------------------------------------
1 | package container
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // CreateResponse ContainerCreateResponse
7 | //
8 | // OK response to ContainerCreate operation
9 | // swagger:model CreateResponse
10 | type CreateResponse struct {
11 |
12 | // The ID of the created container
13 | // Required: true
14 | ID string `json:"Id"`
15 |
16 | // Warnings encountered when creating the container
17 | // Required: true
18 | Warnings []string `json:"Warnings"`
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/container/filesystem_change.go:
--------------------------------------------------------------------------------
1 | package container
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // FilesystemChange Change in the container's filesystem.
7 | //
8 | // swagger:model FilesystemChange
9 | type FilesystemChange struct {
10 |
11 | // kind
12 | // Required: true
13 | Kind ChangeType `json:"Kind"`
14 |
15 | // Path to file or directory that has changed.
16 | //
17 | // Required: true
18 | Path string `json:"Path"`
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/container/wait_exit_error.go:
--------------------------------------------------------------------------------
1 | package container
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // WaitExitError container waiting error, if any
7 | // swagger:model WaitExitError
8 | type WaitExitError struct {
9 |
10 | // Details of an error
11 | Message string `json:"Message,omitempty"`
12 | }
13 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/container/wait_response.go:
--------------------------------------------------------------------------------
1 | package container
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // WaitResponse ContainerWaitResponse
7 | //
8 | // OK response to ContainerWait operation
9 | // swagger:model WaitResponse
10 | type WaitResponse struct {
11 |
12 | // error
13 | Error *WaitExitError `json:"Error,omitempty"`
14 |
15 | // Exit code of the container
16 | // Required: true
17 | StatusCode int64 `json:"StatusCode"`
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/error_response.go:
--------------------------------------------------------------------------------
1 | package types
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // ErrorResponse Represents an error.
7 | // swagger:model ErrorResponse
8 | type ErrorResponse struct {
9 |
10 | // The error message.
11 | // Required: true
12 | Message string `json:"message"`
13 | }
14 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/error_response_ext.go:
--------------------------------------------------------------------------------
1 | package types
2 |
3 | // Error returns the error message
4 | func (e ErrorResponse) Error() string {
5 | return e.Message
6 | }
7 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/id_response.go:
--------------------------------------------------------------------------------
1 | package types
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // IDResponse Response to an API call that returns just an Id
7 | // swagger:model IdResponse
8 | type IDResponse struct {
9 |
10 | // The id of the newly created object.
11 | // Required: true
12 | ID string `json:"Id"`
13 | }
14 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/image/opts.go:
--------------------------------------------------------------------------------
1 | package image
2 |
3 | import specs "github.com/opencontainers/image-spec/specs-go/v1"
4 |
5 | // GetImageOpts holds parameters to inspect an image.
6 | type GetImageOpts struct {
7 | Platform *specs.Platform
8 | Details bool
9 | }
10 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/image_delete_response_item.go:
--------------------------------------------------------------------------------
1 | package types
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // ImageDeleteResponseItem image delete response item
7 | // swagger:model ImageDeleteResponseItem
8 | type ImageDeleteResponseItem struct {
9 |
10 | // The image ID of an image that was deleted
11 | Deleted string `json:"Deleted,omitempty"`
12 |
13 | // The image ID of an image that was untagged
14 | Untagged string `json:"Untagged,omitempty"`
15 | }
16 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/plugin_device.go:
--------------------------------------------------------------------------------
1 | package types
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // PluginDevice plugin device
7 | // swagger:model PluginDevice
8 | type PluginDevice struct {
9 |
10 | // description
11 | // Required: true
12 | Description string `json:"Description"`
13 |
14 | // name
15 | // Required: true
16 | Name string `json:"Name"`
17 |
18 | // path
19 | // Required: true
20 | Path *string `json:"Path"`
21 |
22 | // settable
23 | // Required: true
24 | Settable []string `json:"Settable"`
25 | }
26 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/plugin_env.go:
--------------------------------------------------------------------------------
1 | package types
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // PluginEnv plugin env
7 | // swagger:model PluginEnv
8 | type PluginEnv struct {
9 |
10 | // description
11 | // Required: true
12 | Description string `json:"Description"`
13 |
14 | // name
15 | // Required: true
16 | Name string `json:"Name"`
17 |
18 | // settable
19 | // Required: true
20 | Settable []string `json:"Settable"`
21 |
22 | // value
23 | // Required: true
24 | Value *string `json:"Value"`
25 | }
26 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/plugin_interface_type.go:
--------------------------------------------------------------------------------
1 | package types
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // PluginInterfaceType plugin interface type
7 | // swagger:model PluginInterfaceType
8 | type PluginInterfaceType struct {
9 |
10 | // capability
11 | // Required: true
12 | Capability string `json:"Capability"`
13 |
14 | // prefix
15 | // Required: true
16 | Prefix string `json:"Prefix"`
17 |
18 | // version
19 | // Required: true
20 | Version string `json:"Version"`
21 | }
22 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/port.go:
--------------------------------------------------------------------------------
1 | package types
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // Port An open port on a container
7 | // swagger:model Port
8 | type Port struct {
9 |
10 | // Host IP address that the container's port is mapped to
11 | IP string `json:"IP,omitempty"`
12 |
13 | // Port on the container
14 | // Required: true
15 | PrivatePort uint16 `json:"PrivatePort"`
16 |
17 | // Port exposed on the host
18 | PublicPort uint16 `json:"PublicPort,omitempty"`
19 |
20 | // type
21 | // Required: true
22 | Type string `json:"Type"`
23 | }
24 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/service_update_response.go:
--------------------------------------------------------------------------------
1 | package types
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // ServiceUpdateResponse service update response
7 | // swagger:model ServiceUpdateResponse
8 | type ServiceUpdateResponse struct {
9 |
10 | // Optional warning messages
11 | Warnings []string `json:"Warnings"`
12 | }
13 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/swarm/runtime/gen.go:
--------------------------------------------------------------------------------
1 | //go:generate protoc -I . --gogofast_out=import_path=github.com/docker/docker/api/types/swarm/runtime:. plugin.proto
2 |
3 | package runtime // import "github.com/docker/docker/api/types/swarm/runtime"
4 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/swarm/runtime/plugin.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | option go_package = "github.com/docker/docker/api/types/swarm/runtime;runtime";
4 |
5 | // PluginSpec defines the base payload which clients can specify for creating
6 | // a service with the plugin runtime.
7 | message PluginSpec {
8 | string name = 1;
9 | string remote = 2;
10 | repeated PluginPrivilege privileges = 3;
11 | bool disabled = 4;
12 | repeated string env = 5;
13 | }
14 |
15 | // PluginPrivilege describes a permission the user has to accept
16 | // upon installing a plugin.
17 | message PluginPrivilege {
18 | string name = 1;
19 | string description = 2;
20 | repeated string value = 3;
21 | }
22 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/volume/list_response.go:
--------------------------------------------------------------------------------
1 | package volume
2 |
3 | // This file was generated by the swagger tool.
4 | // Editing this file might prove futile when you re-run the swagger generate command
5 |
6 | // ListResponse VolumeListResponse
7 | //
8 | // Volume list response
9 | // swagger:model ListResponse
10 | type ListResponse struct {
11 |
12 | // List of volumes
13 | Volumes []*Volume `json:"Volumes"`
14 |
15 | // Warnings that occurred when fetching the list of volumes.
16 | //
17 | Warnings []string `json:"Warnings"`
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/volume/options.go:
--------------------------------------------------------------------------------
1 | package volume // import "github.com/docker/docker/api/types/volume"
2 |
3 | import "github.com/docker/docker/api/types/filters"
4 |
5 | // ListOptions holds parameters to list volumes.
6 | type ListOptions struct {
7 | Filters filters.Args
8 | }
9 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/api/types/volume/volume_update.go:
--------------------------------------------------------------------------------
1 | package volume // import "github.com/docker/docker/api/types/volume"
2 |
3 | // UpdateOptions is configuration to update a Volume with.
4 | type UpdateOptions struct {
5 | // Spec is the ClusterVolumeSpec to update the volume to.
6 | Spec *ClusterVolumeSpec `json:"Spec,omitempty"`
7 | }
8 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/build_cancel.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "net/url"
6 | )
7 |
8 | // BuildCancel requests the daemon to cancel the ongoing build request.
9 | func (cli *Client) BuildCancel(ctx context.Context, id string) error {
10 | query := url.Values{}
11 | query.Set("id", id)
12 |
13 | serverResp, err := cli.post(ctx, "/build/cancel", query, nil, nil)
14 | ensureReaderClosed(serverResp)
15 | return err
16 | }
17 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/checkpoint_create.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 |
6 | "github.com/docker/docker/api/types"
7 | )
8 |
9 | // CheckpointCreate creates a checkpoint from the given container with the given name
10 | func (cli *Client) CheckpointCreate(ctx context.Context, container string, options types.CheckpointCreateOptions) error {
11 | resp, err := cli.post(ctx, "/containers/"+container+"/checkpoints", nil, options, nil)
12 | ensureReaderClosed(resp)
13 | return err
14 | }
15 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/checkpoint_delete.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "net/url"
6 |
7 | "github.com/docker/docker/api/types"
8 | )
9 |
10 | // CheckpointDelete deletes the checkpoint with the given name from the given container
11 | func (cli *Client) CheckpointDelete(ctx context.Context, containerID string, options types.CheckpointDeleteOptions) error {
12 | query := url.Values{}
13 | if options.CheckpointDir != "" {
14 | query.Set("dir", options.CheckpointDir)
15 | }
16 |
17 | resp, err := cli.delete(ctx, "/containers/"+containerID+"/checkpoints/"+options.CheckpointID, query, nil)
18 | ensureReaderClosed(resp)
19 | return err
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/client_unix.go:
--------------------------------------------------------------------------------
1 | //go:build !windows
2 | // +build !windows
3 |
4 | package client // import "github.com/docker/docker/client"
5 |
6 | // DefaultDockerHost defines OS-specific default host if the DOCKER_HOST
7 | // (EnvOverrideHost) environment variable is unset or empty.
8 | const DefaultDockerHost = "unix:///var/run/docker.sock"
9 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/client_windows.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | // DefaultDockerHost defines OS-specific default host if the DOCKER_HOST
4 | // (EnvOverrideHost) environment variable is unset or empty.
5 | const DefaultDockerHost = "npipe:////./pipe/docker_engine"
6 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/config_remove.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import "context"
4 |
5 | // ConfigRemove removes a config.
6 | func (cli *Client) ConfigRemove(ctx context.Context, id string) error {
7 | if err := cli.NewVersionError("1.30", "config remove"); err != nil {
8 | return err
9 | }
10 | resp, err := cli.delete(ctx, "/configs/"+id, nil, nil)
11 | defer ensureReaderClosed(resp)
12 | return err
13 | }
14 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/config_update.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "net/url"
6 |
7 | "github.com/docker/docker/api/types/swarm"
8 | )
9 |
10 | // ConfigUpdate attempts to update a config
11 | func (cli *Client) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error {
12 | if err := cli.NewVersionError("1.30", "config update"); err != nil {
13 | return err
14 | }
15 | query := url.Values{}
16 | query.Set("version", version.String())
17 | resp, err := cli.post(ctx, "/configs/"+id+"/update", query, config, nil)
18 | ensureReaderClosed(resp)
19 | return err
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/container_export.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "io"
6 | "net/url"
7 | )
8 |
9 | // ContainerExport retrieves the raw contents of a container
10 | // and returns them as an io.ReadCloser. It's up to the caller
11 | // to close the stream.
12 | func (cli *Client) ContainerExport(ctx context.Context, containerID string) (io.ReadCloser, error) {
13 | serverResp, err := cli.get(ctx, "/containers/"+containerID+"/export", url.Values{}, nil)
14 | if err != nil {
15 | return nil, err
16 | }
17 |
18 | return serverResp.body, nil
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/container_kill.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "net/url"
6 | )
7 |
8 | // ContainerKill terminates the container process but does not remove the container from the docker host.
9 | func (cli *Client) ContainerKill(ctx context.Context, containerID, signal string) error {
10 | query := url.Values{}
11 | if signal != "" {
12 | query.Set("signal", signal)
13 | }
14 |
15 | resp, err := cli.post(ctx, "/containers/"+containerID+"/kill", query, nil, nil)
16 | ensureReaderClosed(resp)
17 | return err
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/container_pause.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import "context"
4 |
5 | // ContainerPause pauses the main process of a given container without terminating it.
6 | func (cli *Client) ContainerPause(ctx context.Context, containerID string) error {
7 | resp, err := cli.post(ctx, "/containers/"+containerID+"/pause", nil, nil, nil)
8 | ensureReaderClosed(resp)
9 | return err
10 | }
11 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/container_rename.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "net/url"
6 | )
7 |
8 | // ContainerRename changes the name of a given container.
9 | func (cli *Client) ContainerRename(ctx context.Context, containerID, newContainerName string) error {
10 | query := url.Values{}
11 | query.Set("name", newContainerName)
12 | resp, err := cli.post(ctx, "/containers/"+containerID+"/rename", query, nil, nil)
13 | ensureReaderClosed(resp)
14 | return err
15 | }
16 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/container_unpause.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import "context"
4 |
5 | // ContainerUnpause resumes the process execution within a container
6 | func (cli *Client) ContainerUnpause(ctx context.Context, containerID string) error {
7 | resp, err := cli.post(ctx, "/containers/"+containerID+"/unpause", nil, nil, nil)
8 | ensureReaderClosed(resp)
9 | return err
10 | }
11 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/image_save.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "io"
6 | "net/url"
7 | )
8 |
9 | // ImageSave retrieves one or more images from the docker host as an io.ReadCloser.
10 | // It's up to the caller to store the images and close the stream.
11 | func (cli *Client) ImageSave(ctx context.Context, imageIDs []string) (io.ReadCloser, error) {
12 | query := url.Values{
13 | "names": imageIDs,
14 | }
15 |
16 | resp, err := cli.get(ctx, "/images/get", query, nil)
17 | if err != nil {
18 | return nil, err
19 | }
20 | return resp.body, nil
21 | }
22 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/info.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "encoding/json"
6 | "fmt"
7 | "net/url"
8 |
9 | "github.com/docker/docker/api/types"
10 | )
11 |
12 | // Info returns information about the docker server.
13 | func (cli *Client) Info(ctx context.Context) (types.Info, error) {
14 | var info types.Info
15 | serverResp, err := cli.get(ctx, "/info", url.Values{}, nil)
16 | defer ensureReaderClosed(serverResp)
17 | if err != nil {
18 | return info, err
19 | }
20 |
21 | if err := json.NewDecoder(serverResp.body).Decode(&info); err != nil {
22 | return info, fmt.Errorf("Error reading remote info: %v", err)
23 | }
24 |
25 | return info, nil
26 | }
27 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/interface_experimental.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 |
6 | "github.com/docker/docker/api/types"
7 | )
8 |
9 | type apiClientExperimental interface {
10 | CheckpointAPIClient
11 | }
12 |
13 | // CheckpointAPIClient defines API client methods for the checkpoints
14 | type CheckpointAPIClient interface {
15 | CheckpointCreate(ctx context.Context, container string, options types.CheckpointCreateOptions) error
16 | CheckpointDelete(ctx context.Context, container string, options types.CheckpointDeleteOptions) error
17 | CheckpointList(ctx context.Context, container string, options types.CheckpointListOptions) ([]types.Checkpoint, error)
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/interface_stable.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | // APIClient is an interface that clients that talk with a docker server must implement.
4 | type APIClient interface {
5 | CommonAPIClient
6 | apiClientExperimental
7 | }
8 |
9 | // Ensure that Client always implements APIClient.
10 | var _ APIClient = &Client{}
11 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/network_connect.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 |
6 | "github.com/docker/docker/api/types"
7 | "github.com/docker/docker/api/types/network"
8 | )
9 |
10 | // NetworkConnect connects a container to an existent network in the docker host.
11 | func (cli *Client) NetworkConnect(ctx context.Context, networkID, containerID string, config *network.EndpointSettings) error {
12 | nc := types.NetworkConnect{
13 | Container: containerID,
14 | EndpointConfig: config,
15 | }
16 | resp, err := cli.post(ctx, "/networks/"+networkID+"/connect", nil, nc, nil)
17 | ensureReaderClosed(resp)
18 | return err
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/network_disconnect.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 |
6 | "github.com/docker/docker/api/types"
7 | )
8 |
9 | // NetworkDisconnect disconnects a container from an existent network in the docker host.
10 | func (cli *Client) NetworkDisconnect(ctx context.Context, networkID, containerID string, force bool) error {
11 | nd := types.NetworkDisconnect{Container: containerID, Force: force}
12 | resp, err := cli.post(ctx, "/networks/"+networkID+"/disconnect", nil, nd, nil)
13 | ensureReaderClosed(resp)
14 | return err
15 | }
16 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/network_remove.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import "context"
4 |
5 | // NetworkRemove removes an existent network from the docker host.
6 | func (cli *Client) NetworkRemove(ctx context.Context, networkID string) error {
7 | resp, err := cli.delete(ctx, "/networks/"+networkID, nil, nil)
8 | defer ensureReaderClosed(resp)
9 | return err
10 | }
11 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/node_remove.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "net/url"
6 |
7 | "github.com/docker/docker/api/types"
8 | )
9 |
10 | // NodeRemove removes a Node.
11 | func (cli *Client) NodeRemove(ctx context.Context, nodeID string, options types.NodeRemoveOptions) error {
12 | query := url.Values{}
13 | if options.Force {
14 | query.Set("force", "1")
15 | }
16 |
17 | resp, err := cli.delete(ctx, "/nodes/"+nodeID, query, nil)
18 | defer ensureReaderClosed(resp)
19 | return err
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/node_update.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "net/url"
6 |
7 | "github.com/docker/docker/api/types/swarm"
8 | )
9 |
10 | // NodeUpdate updates a Node.
11 | func (cli *Client) NodeUpdate(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec) error {
12 | query := url.Values{}
13 | query.Set("version", version.String())
14 | resp, err := cli.post(ctx, "/nodes/"+nodeID+"/update", query, node, nil)
15 | ensureReaderClosed(resp)
16 | return err
17 | }
18 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/plugin_create.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "io"
6 | "net/http"
7 | "net/url"
8 |
9 | "github.com/docker/docker/api/types"
10 | )
11 |
12 | // PluginCreate creates a plugin
13 | func (cli *Client) PluginCreate(ctx context.Context, createContext io.Reader, createOptions types.PluginCreateOptions) error {
14 | headers := http.Header(make(map[string][]string))
15 | headers.Set("Content-Type", "application/x-tar")
16 |
17 | query := url.Values{}
18 | query.Set("name", createOptions.RepoName)
19 |
20 | resp, err := cli.postRaw(ctx, "/plugins/create", query, createContext, headers)
21 | ensureReaderClosed(resp)
22 | return err
23 | }
24 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/plugin_disable.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "net/url"
6 |
7 | "github.com/docker/docker/api/types"
8 | )
9 |
10 | // PluginDisable disables a plugin
11 | func (cli *Client) PluginDisable(ctx context.Context, name string, options types.PluginDisableOptions) error {
12 | query := url.Values{}
13 | if options.Force {
14 | query.Set("force", "1")
15 | }
16 | resp, err := cli.post(ctx, "/plugins/"+name+"/disable", query, nil, nil)
17 | ensureReaderClosed(resp)
18 | return err
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/plugin_enable.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "net/url"
6 | "strconv"
7 |
8 | "github.com/docker/docker/api/types"
9 | )
10 |
11 | // PluginEnable enables a plugin
12 | func (cli *Client) PluginEnable(ctx context.Context, name string, options types.PluginEnableOptions) error {
13 | query := url.Values{}
14 | query.Set("timeout", strconv.Itoa(options.Timeout))
15 |
16 | resp, err := cli.post(ctx, "/plugins/"+name+"/enable", query, nil, nil)
17 | ensureReaderClosed(resp)
18 | return err
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/plugin_push.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "io"
6 |
7 | "github.com/docker/docker/api/types/registry"
8 | )
9 |
10 | // PluginPush pushes a plugin to a registry
11 | func (cli *Client) PluginPush(ctx context.Context, name string, registryAuth string) (io.ReadCloser, error) {
12 | headers := map[string][]string{registry.AuthHeader: {registryAuth}}
13 | resp, err := cli.post(ctx, "/plugins/"+name+"/push", nil, nil, headers)
14 | if err != nil {
15 | return nil, err
16 | }
17 | return resp.body, nil
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/plugin_remove.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "net/url"
6 |
7 | "github.com/docker/docker/api/types"
8 | )
9 |
10 | // PluginRemove removes a plugin
11 | func (cli *Client) PluginRemove(ctx context.Context, name string, options types.PluginRemoveOptions) error {
12 | query := url.Values{}
13 | if options.Force {
14 | query.Set("force", "1")
15 | }
16 |
17 | resp, err := cli.delete(ctx, "/plugins/"+name, query, nil)
18 | defer ensureReaderClosed(resp)
19 | return err
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/plugin_set.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | )
6 |
7 | // PluginSet modifies settings for an existing plugin
8 | func (cli *Client) PluginSet(ctx context.Context, name string, args []string) error {
9 | resp, err := cli.post(ctx, "/plugins/"+name+"/set", nil, args, nil)
10 | ensureReaderClosed(resp)
11 | return err
12 | }
13 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/secret_remove.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import "context"
4 |
5 | // SecretRemove removes a secret.
6 | func (cli *Client) SecretRemove(ctx context.Context, id string) error {
7 | if err := cli.NewVersionError("1.25", "secret remove"); err != nil {
8 | return err
9 | }
10 | resp, err := cli.delete(ctx, "/secrets/"+id, nil, nil)
11 | defer ensureReaderClosed(resp)
12 | return err
13 | }
14 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/secret_update.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "net/url"
6 |
7 | "github.com/docker/docker/api/types/swarm"
8 | )
9 |
10 | // SecretUpdate attempts to update a secret.
11 | func (cli *Client) SecretUpdate(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec) error {
12 | if err := cli.NewVersionError("1.25", "secret update"); err != nil {
13 | return err
14 | }
15 | query := url.Values{}
16 | query.Set("version", version.String())
17 | resp, err := cli.post(ctx, "/secrets/"+id+"/update", query, secret, nil)
18 | ensureReaderClosed(resp)
19 | return err
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/service_remove.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import "context"
4 |
5 | // ServiceRemove kills and removes a service.
6 | func (cli *Client) ServiceRemove(ctx context.Context, serviceID string) error {
7 | resp, err := cli.delete(ctx, "/services/"+serviceID, nil, nil)
8 | defer ensureReaderClosed(resp)
9 | return err
10 | }
11 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/swarm_get_unlock_key.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "encoding/json"
6 |
7 | "github.com/docker/docker/api/types"
8 | )
9 |
10 | // SwarmGetUnlockKey retrieves the swarm's unlock key.
11 | func (cli *Client) SwarmGetUnlockKey(ctx context.Context) (types.SwarmUnlockKeyResponse, error) {
12 | serverResp, err := cli.get(ctx, "/swarm/unlockkey", nil, nil)
13 | defer ensureReaderClosed(serverResp)
14 | if err != nil {
15 | return types.SwarmUnlockKeyResponse{}, err
16 | }
17 |
18 | var response types.SwarmUnlockKeyResponse
19 | err = json.NewDecoder(serverResp.body).Decode(&response)
20 | return response, err
21 | }
22 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/swarm_init.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "encoding/json"
6 |
7 | "github.com/docker/docker/api/types/swarm"
8 | )
9 |
10 | // SwarmInit initializes the swarm.
11 | func (cli *Client) SwarmInit(ctx context.Context, req swarm.InitRequest) (string, error) {
12 | serverResp, err := cli.post(ctx, "/swarm/init", nil, req, nil)
13 | defer ensureReaderClosed(serverResp)
14 | if err != nil {
15 | return "", err
16 | }
17 |
18 | var response string
19 | err = json.NewDecoder(serverResp.body).Decode(&response)
20 | return response, err
21 | }
22 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/swarm_inspect.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "encoding/json"
6 |
7 | "github.com/docker/docker/api/types/swarm"
8 | )
9 |
10 | // SwarmInspect inspects the swarm.
11 | func (cli *Client) SwarmInspect(ctx context.Context) (swarm.Swarm, error) {
12 | serverResp, err := cli.get(ctx, "/swarm", nil, nil)
13 | defer ensureReaderClosed(serverResp)
14 | if err != nil {
15 | return swarm.Swarm{}, err
16 | }
17 |
18 | var response swarm.Swarm
19 | err = json.NewDecoder(serverResp.body).Decode(&response)
20 | return response, err
21 | }
22 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/swarm_join.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 |
6 | "github.com/docker/docker/api/types/swarm"
7 | )
8 |
9 | // SwarmJoin joins the swarm.
10 | func (cli *Client) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error {
11 | resp, err := cli.post(ctx, "/swarm/join", nil, req, nil)
12 | ensureReaderClosed(resp)
13 | return err
14 | }
15 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/swarm_leave.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "net/url"
6 | )
7 |
8 | // SwarmLeave leaves the swarm.
9 | func (cli *Client) SwarmLeave(ctx context.Context, force bool) error {
10 | query := url.Values{}
11 | if force {
12 | query.Set("force", "1")
13 | }
14 | resp, err := cli.post(ctx, "/swarm/leave", query, nil, nil)
15 | ensureReaderClosed(resp)
16 | return err
17 | }
18 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/swarm_unlock.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 |
6 | "github.com/docker/docker/api/types/swarm"
7 | )
8 |
9 | // SwarmUnlock unlocks locked swarm.
10 | func (cli *Client) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error {
11 | serverResp, err := cli.post(ctx, "/swarm/unlock", nil, req, nil)
12 | ensureReaderClosed(serverResp)
13 | return err
14 | }
15 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/transport.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "crypto/tls"
5 | "net/http"
6 | )
7 |
8 | // resolveTLSConfig attempts to resolve the TLS configuration from the
9 | // RoundTripper.
10 | func resolveTLSConfig(transport http.RoundTripper) *tls.Config {
11 | switch tr := transport.(type) {
12 | case *http.Transport:
13 | return tr.TLSClientConfig
14 | default:
15 | return nil
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/version.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "encoding/json"
6 |
7 | "github.com/docker/docker/api/types"
8 | )
9 |
10 | // ServerVersion returns information of the docker client and server host.
11 | func (cli *Client) ServerVersion(ctx context.Context) (types.Version, error) {
12 | resp, err := cli.get(ctx, "/version", nil, nil)
13 | defer ensureReaderClosed(resp)
14 | if err != nil {
15 | return types.Version{}, err
16 | }
17 |
18 | var server types.Version
19 | err = json.NewDecoder(resp.body).Decode(&server)
20 | return server, err
21 | }
22 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/volume_create.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "encoding/json"
6 |
7 | "github.com/docker/docker/api/types/volume"
8 | )
9 |
10 | // VolumeCreate creates a volume in the docker host.
11 | func (cli *Client) VolumeCreate(ctx context.Context, options volume.CreateOptions) (volume.Volume, error) {
12 | var vol volume.Volume
13 | resp, err := cli.post(ctx, "/volumes/create", nil, options, nil)
14 | defer ensureReaderClosed(resp)
15 | if err != nil {
16 | return vol, err
17 | }
18 | err = json.NewDecoder(resp.body).Decode(&vol)
19 | return vol, err
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/client/volume_remove.go:
--------------------------------------------------------------------------------
1 | package client // import "github.com/docker/docker/client"
2 |
3 | import (
4 | "context"
5 | "net/url"
6 |
7 | "github.com/docker/docker/api/types/versions"
8 | )
9 |
10 | // VolumeRemove removes a volume from the docker host.
11 | func (cli *Client) VolumeRemove(ctx context.Context, volumeID string, force bool) error {
12 | query := url.Values{}
13 | if versions.GreaterThanOrEqualTo(cli.version, "1.25") {
14 | if force {
15 | query.Set("force", "1")
16 | }
17 | }
18 | resp, err := cli.delete(ctx, "/volumes/"+volumeID, query, nil)
19 | defer ensureReaderClosed(resp)
20 | return err
21 | }
22 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/docker/errdefs/doc.go:
--------------------------------------------------------------------------------
1 | // Package errdefs defines a set of error interfaces that packages should use for communicating classes of errors.
2 | // Errors that cross the package boundary should implement one (and only one) of these interfaces.
3 | //
4 | // Packages should not reference these interfaces directly, only implement them.
5 | // To check if a particular error implements one of these interfaces, there are helper
6 | // functions provided (e.g. `Is`) which can be used rather than asserting the interfaces directly.
7 | // If you must assert on these interfaces, be sure to check the causal chain (`err.Cause()`).
8 | package errdefs // import "github.com/docker/docker/errdefs"
9 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/go-connections/sockets/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/vendor/github.com/docker/go-connections/sockets/README.md
--------------------------------------------------------------------------------
/vendor/github.com/docker/go-connections/sockets/tcp_socket.go:
--------------------------------------------------------------------------------
1 | // Package sockets provides helper functions to create and configure Unix or TCP sockets.
2 | package sockets
3 |
4 | import (
5 | "crypto/tls"
6 | "net"
7 | )
8 |
9 | // NewTCPSocket creates a TCP socket listener with the specified address and
10 | // the specified tls configuration. If TLSConfig is set, will encapsulate the
11 | // TCP listener inside a TLS one.
12 | func NewTCPSocket(addr string, tlsConfig *tls.Config) (net.Listener, error) {
13 | l, err := net.Listen("tcp", addr)
14 | if err != nil {
15 | return nil, err
16 | }
17 | if tlsConfig != nil {
18 | tlsConfig.NextProtos = []string{"http/1.1"}
19 | l = tls.NewListener(l, tlsConfig)
20 | }
21 | return l, nil
22 | }
23 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/go-connections/tlsconfig/certpool.go:
--------------------------------------------------------------------------------
1 | package tlsconfig
2 |
3 | import (
4 | "crypto/x509"
5 | "runtime"
6 | )
7 |
8 | // SystemCertPool returns a copy of the system cert pool,
9 | // returns an error if failed to load or empty pool on windows.
10 | func SystemCertPool() (*x509.CertPool, error) {
11 | certpool, err := x509.SystemCertPool()
12 | if err != nil && runtime.GOOS == "windows" {
13 | return x509.NewCertPool(), nil
14 | }
15 | return certpool, err
16 | }
17 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/go-connections/tlsconfig/config_client_ciphers.go:
--------------------------------------------------------------------------------
1 | // Package tlsconfig provides primitives to retrieve secure-enough TLS configurations for both clients and servers.
2 | package tlsconfig
3 |
4 | import (
5 | "crypto/tls"
6 | )
7 |
8 | // Client TLS cipher suites (dropping CBC ciphers for client preferred suite set)
9 | var clientCipherSuites = []uint16{
10 | tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
11 | tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
12 | tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
13 | tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
14 | }
15 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/go-units/README.md:
--------------------------------------------------------------------------------
1 | [](https://godoc.org/github.com/docker/go-units)
2 |
3 | # Introduction
4 |
5 | go-units is a library to transform human friendly measurements into machine friendly values.
6 |
7 | ## Usage
8 |
9 | See the [docs in godoc](https://godoc.org/github.com/docker/go-units) for examples and documentation.
10 |
11 | ## Copyright and license
12 |
13 | Copyright © 2015 Docker, Inc.
14 |
15 | go-units is licensed under the Apache License, Version 2.0.
16 | See [LICENSE](LICENSE) for the full text of the license.
17 |
--------------------------------------------------------------------------------
/vendor/github.com/docker/go-units/circle.yml:
--------------------------------------------------------------------------------
1 | dependencies:
2 | post:
3 | # install golint
4 | - go get golang.org/x/lint/golint
5 |
6 | test:
7 | pre:
8 | # run analysis before tests
9 | - go vet ./...
10 | - test -z "$(golint ./... | tee /dev/stderr)"
11 | - test -z "$(gofmt -s -l . | tee /dev/stderr)"
12 |
--------------------------------------------------------------------------------
/vendor/github.com/elazarl/goproxy/.gitignore:
--------------------------------------------------------------------------------
1 | bin
2 | *.swp
3 |
--------------------------------------------------------------------------------
/vendor/github.com/elazarl/goproxy/all.bash:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | go test || exit
4 | for action in $@; do go $action; done
5 |
6 | mkdir -p bin
7 | find regretable examples/* ext/* -maxdepth 0 -type d | while read d; do
8 | (cd $d
9 | go build -o ../../bin/$(basename $d)
10 | find *_test.go -maxdepth 0 2>/dev/null|while read f;do
11 | for action in $@; do go $action; done
12 | go test
13 | break
14 | done)
15 | done
16 |
--------------------------------------------------------------------------------
/vendor/github.com/elazarl/goproxy/logger.go:
--------------------------------------------------------------------------------
1 | package goproxy
2 |
3 | type Logger interface {
4 | Printf(format string, v ...any)
5 | }
6 |
--------------------------------------------------------------------------------
/vendor/github.com/fsnotify/fsnotify/.cirrus.yml:
--------------------------------------------------------------------------------
1 | freebsd_task:
2 | name: 'FreeBSD'
3 | freebsd_instance:
4 | image_family: freebsd-14-1
5 | install_script:
6 | - pkg update -f
7 | - pkg install -y go
8 | test_script:
9 | # run tests as user "cirrus" instead of root
10 | - pw useradd cirrus -m
11 | - chown -R cirrus:cirrus .
12 | - FSNOTIFY_BUFFER=4096 sudo --preserve-env=FSNOTIFY_BUFFER -u cirrus go test -parallel 1 -race ./...
13 | - sudo --preserve-env=FSNOTIFY_BUFFER -u cirrus go test -parallel 1 -race ./...
14 | - FSNOTIFY_DEBUG=1 sudo --preserve-env=FSNOTIFY_BUFFER -u cirrus go test -parallel 1 -race -v ./...
15 |
--------------------------------------------------------------------------------
/vendor/github.com/fsnotify/fsnotify/.gitignore:
--------------------------------------------------------------------------------
1 | # go test -c output
2 | *.test
3 | *.test.exe
4 |
5 | # Output of go build ./cmd/fsnotify
6 | /fsnotify
7 | /fsnotify.exe
8 |
9 | /test/kqueue
10 | /test/a.out
11 |
--------------------------------------------------------------------------------
/vendor/github.com/fsnotify/fsnotify/.mailmap:
--------------------------------------------------------------------------------
1 | Chris Howey
2 | Nathan Youngman <4566+nathany@users.noreply.github.com>
3 |
--------------------------------------------------------------------------------
/vendor/github.com/fsnotify/fsnotify/internal/internal.go:
--------------------------------------------------------------------------------
1 | // Package internal contains some helpers.
2 | package internal
3 |
--------------------------------------------------------------------------------
/vendor/github.com/fsnotify/fsnotify/internal/unix2.go:
--------------------------------------------------------------------------------
1 | //go:build !windows
2 |
3 | package internal
4 |
5 | func HasPrivilegesForSymlink() bool {
6 | return true
7 | }
8 |
--------------------------------------------------------------------------------
/vendor/github.com/fsnotify/fsnotify/system_bsd.go:
--------------------------------------------------------------------------------
1 | //go:build freebsd || openbsd || netbsd || dragonfly
2 |
3 | package fsnotify
4 |
5 | import "golang.org/x/sys/unix"
6 |
7 | const openMode = unix.O_NONBLOCK | unix.O_RDONLY | unix.O_CLOEXEC
8 |
--------------------------------------------------------------------------------
/vendor/github.com/fsnotify/fsnotify/system_darwin.go:
--------------------------------------------------------------------------------
1 | //go:build darwin
2 |
3 | package fsnotify
4 |
5 | import "golang.org/x/sys/unix"
6 |
7 | // note: this constant is not defined on BSD
8 | const openMode = unix.O_EVTONLY | unix.O_CLOEXEC
9 |
--------------------------------------------------------------------------------
/vendor/github.com/gabriel-vasile/mimetype/.gitattributes:
--------------------------------------------------------------------------------
1 | testdata/* linguist-vendored
2 |
--------------------------------------------------------------------------------
/vendor/github.com/gabriel-vasile/mimetype/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | ## Contribute
2 | Contributions to **mimetype** are welcome. If you find an issue and you consider
3 | contributing, you can use the [Github issues tracker](https://github.com/gabriel-vasile/mimetype/issues)
4 | in order to report it, or better yet, open a pull request.
5 |
6 | Code contributions must respect these rules:
7 | - code must be test covered
8 | - code must be formatted using gofmt tool
9 | - exported names must be documented
10 |
11 | **Important**: By submitting a pull request, you agree to allow the project
12 | owner to license your work under the same license as that used by the project.
13 |
--------------------------------------------------------------------------------
/vendor/github.com/gabriel-vasile/mimetype/internal/magic/database.go:
--------------------------------------------------------------------------------
1 | package magic
2 |
3 | var (
4 | // Sqlite matches an SQLite database file.
5 | Sqlite = prefix([]byte{
6 | 0x53, 0x51, 0x4c, 0x69, 0x74, 0x65, 0x20, 0x66,
7 | 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x20, 0x33, 0x00,
8 | })
9 | // MsAccessAce matches Microsoft Access dababase file.
10 | MsAccessAce = offset([]byte("Standard ACE DB"), 4)
11 | // MsAccessMdb matches legacy Microsoft Access database file (JET, 2003 and earlier).
12 | MsAccessMdb = offset([]byte("Standard Jet DB"), 4)
13 | )
14 |
--------------------------------------------------------------------------------
/vendor/github.com/gogo/protobuf/AUTHORS:
--------------------------------------------------------------------------------
1 | # This is the official list of GoGo authors for copyright purposes.
2 | # This file is distinct from the CONTRIBUTORS file, which
3 | # lists people. For example, employees are listed in CONTRIBUTORS,
4 | # but not in AUTHORS, because the employer holds the copyright.
5 |
6 | # Names should be added to this file as one of
7 | # Organization's name
8 | # Individual's name
9 | # Individual's name
10 |
11 | # Please keep the list sorted.
12 |
13 | Sendgrid, Inc
14 | Vastech SA (PTY) LTD
15 | Walter Schulze
16 |
--------------------------------------------------------------------------------
/vendor/github.com/golang/mock/AUTHORS:
--------------------------------------------------------------------------------
1 | # This is the official list of GoMock authors for copyright purposes.
2 | # This file is distinct from the CONTRIBUTORS files.
3 | # See the latter for an explanation.
4 |
5 | # Names should be added to this file as
6 | # Name or Organization
7 | # The email address is not required for organizations.
8 |
9 | # Please keep the list sorted.
10 |
11 | Alex Reece
12 | Google Inc.
13 |
--------------------------------------------------------------------------------
/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017, The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build !cmp_debug
6 | // +build !cmp_debug
7 |
8 | package diff
9 |
10 | var debug debugger
11 |
12 | type debugger struct{}
13 |
14 | func (debugger) Begin(_, _ int, f EqualFunc, _, _ *EditScript) EqualFunc {
15 | return f
16 | }
17 | func (debugger) Update() {}
18 | func (debugger) Finish() {}
19 |
--------------------------------------------------------------------------------
/vendor/github.com/google/go-cmp/cmp/internal/flags/flags.go:
--------------------------------------------------------------------------------
1 | // Copyright 2019, The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | package flags
6 |
7 | // Deterministic controls whether the output of Diff should be deterministic.
8 | // This is only used for testing.
9 | var Deterministic bool
10 |
--------------------------------------------------------------------------------
/vendor/github.com/kr/text/Readme:
--------------------------------------------------------------------------------
1 | This is a Go package for manipulating paragraphs of text.
2 |
3 | See http://go.pkgdoc.org/github.com/kr/text for full documentation.
4 |
--------------------------------------------------------------------------------
/vendor/github.com/kr/text/doc.go:
--------------------------------------------------------------------------------
1 | // Package text provides rudimentary functions for manipulating text in
2 | // paragraphs.
3 | package text
4 |
--------------------------------------------------------------------------------
/vendor/github.com/nxadm/tail/.cirrus.yml:
--------------------------------------------------------------------------------
1 | task:
2 | name: FreeBSD
3 | freebsd_instance:
4 | image_family: freebsd-12-2
5 | install_script: pkg install -y go
6 | script: |
7 | go build
8 | go test -v -race -timeout 2m ./...
9 |
--------------------------------------------------------------------------------
/vendor/github.com/nxadm/tail/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | examples/_*
3 |
--------------------------------------------------------------------------------
/vendor/github.com/nxadm/tail/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing
2 | Comments (at Discussions), Issues and PRs are always welcome. In the case of issues,
3 | code examples make it easier to reproduce the problem. In the case of PRs add tests
4 | if applicable so we make sure nothing breaks for people using the library on different
5 | OSes.
6 |
--------------------------------------------------------------------------------
/vendor/github.com/nxadm/tail/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM golang
2 |
3 | RUN mkdir -p $GOPATH/src/github.com/nxadm/tail/
4 | ADD . $GOPATH/src/github.com/nxadm/tail/
5 |
6 | # expecting to fetch dependencies successfully.
7 | RUN go get -v github.com/nxadm/tail
8 |
9 | # expecting to run the test successfully.
10 | RUN go test -v github.com/nxadm/tail
11 |
12 | # expecting to install successfully
13 | RUN go install -v github.com/nxadm/tail
14 | RUN go install -v github.com/nxadm/tail/cmd/gotail
15 |
16 | RUN $GOPATH/bin/gotail -h || true
17 |
18 | ENV PATH $GOPATH/bin:$PATH
19 | CMD ["gotail"]
20 |
--------------------------------------------------------------------------------
/vendor/github.com/nxadm/tail/ratelimiter/storage.go:
--------------------------------------------------------------------------------
1 | package ratelimiter
2 |
3 | type Storage interface {
4 | GetBucketFor(string) (*LeakyBucket, error)
5 | SetBucketFor(string, LeakyBucket) error
6 | }
7 |
--------------------------------------------------------------------------------
/vendor/github.com/nxadm/tail/tail_posix.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2019 FOSS contributors of https://github.com/nxadm/tail
2 | // +build !windows
3 |
4 | package tail
5 |
6 | import (
7 | "os"
8 | )
9 |
10 | // Deprecated: this function is only useful internally and, as such,
11 | // it will be removed from the API in a future major release.
12 | //
13 | // OpenFile proxies a os.Open call for a file so it can be correctly tailed
14 | // on POSIX and non-POSIX OSes like MS Windows.
15 | func OpenFile(name string) (file *os.File, err error) {
16 | return os.Open(name)
17 | }
18 |
--------------------------------------------------------------------------------
/vendor/github.com/nxadm/tail/tail_windows.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2019 FOSS contributors of https://github.com/nxadm/tail
2 | // +build windows
3 |
4 | package tail
5 |
6 | import (
7 | "os"
8 |
9 | "github.com/nxadm/tail/winfile"
10 | )
11 |
12 | // Deprecated: this function is only useful internally and, as such,
13 | // it will be removed from the API in a future major release.
14 | //
15 | // OpenFile proxies a os.Open call for a file so it can be correctly tailed
16 | // on POSIX and non-POSIX OSes like MS Windows.
17 | func OpenFile(name string) (file *os.File, err error) {
18 | return winfile.OpenFile(name, os.O_RDONLY, 0)
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | TODO
3 | tmp/**/*
4 | *.coverprofile
5 | .vscode
6 | .idea/
7 | *.log
8 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | go:
3 | - tip
4 | - 1.16.x
5 | - 1.15.x
6 |
7 | cache:
8 | directories:
9 | - $GOPATH/pkg/mod
10 |
11 | # allow internal package imports, necessary for forked repositories
12 | go_import_path: github.com/onsi/ginkgo
13 |
14 | install:
15 | - GO111MODULE="off" go get -v -t ./...
16 | - GO111MODULE="off" go get golang.org/x/tools/cmd/cover
17 | - GO111MODULE="off" go get github.com/onsi/gomega
18 | - GO111MODULE="off" go install github.com/onsi/ginkgo/ginkgo
19 | - export PATH=$GOPATH/bin:$PATH
20 |
21 | script:
22 | - GO111MODULE="on" go mod tidy && git diff --exit-code go.mod go.sum
23 | - go vet
24 | - ginkgo -r --randomizeAllSpecs --randomizeSuites --race --trace
25 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/RELEASING.md:
--------------------------------------------------------------------------------
1 | A Ginkgo release is a tagged git sha and a GitHub release. To cut a release:
2 |
3 | 1. Ensure CHANGELOG.md is up to date.
4 | - Use `git log --pretty=format:'- %s [%h]' HEAD...vX.X.X` to list all the commits since the last release
5 | - Categorize the changes into
6 | - Breaking Changes (requires a major version)
7 | - New Features (minor version)
8 | - Fixes (fix version)
9 | - Maintenance (which in general should not be mentioned in `CHANGELOG.md` as they have no user impact)
10 | 1. Update `VERSION` in `config/config.go`
11 | 1. Commit, push, and release:
12 | ```
13 | git commit -m "vM.m.p"
14 | git push
15 | gh release create "vM.m.p"
16 | git fetch --tags origin master
17 | ```
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/internal/global/init.go:
--------------------------------------------------------------------------------
1 | package global
2 |
3 | import (
4 | "time"
5 |
6 | "github.com/onsi/ginkgo/internal/failer"
7 | "github.com/onsi/ginkgo/internal/suite"
8 | )
9 |
10 | const DefaultTimeout = time.Duration(1 * time.Second)
11 |
12 | var Suite *suite.Suite
13 | var Failer *failer.Failer
14 |
15 | func init() {
16 | InitializeGlobals()
17 | }
18 |
19 | func InitializeGlobals() {
20 | Failer = failer.New()
21 | Suite = suite.New(Failer)
22 | }
23 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/internal/leafnodes/interfaces.go:
--------------------------------------------------------------------------------
1 | package leafnodes
2 |
3 | import (
4 | "github.com/onsi/ginkgo/types"
5 | )
6 |
7 | type BasicNode interface {
8 | Type() types.SpecComponentType
9 | Run() (types.SpecState, types.SpecFailure)
10 | CodeLocation() types.CodeLocation
11 | }
12 |
13 | type SubjectNode interface {
14 | BasicNode
15 |
16 | Text() string
17 | Flag() types.FlagType
18 | Samples() int
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor.go:
--------------------------------------------------------------------------------
1 | package remote
2 |
3 | import "os"
4 |
5 | /*
6 | The OutputInterceptor is used by the ForwardingReporter to
7 | intercept and capture all stdin and stderr output during a test run.
8 | */
9 | type OutputInterceptor interface {
10 | StartInterceptingOutput() error
11 | StopInterceptingAndReturnOutput() (string, error)
12 | StreamTo(*os.File)
13 | }
14 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/internal/spec_iterator/spec_iterator.go:
--------------------------------------------------------------------------------
1 | package spec_iterator
2 |
3 | import (
4 | "errors"
5 |
6 | "github.com/onsi/ginkgo/internal/spec"
7 | )
8 |
9 | var ErrClosed = errors.New("no more specs to run")
10 |
11 | type SpecIterator interface {
12 | Next() (*spec.Spec, error)
13 | NumberOfSpecsPriorToIteration() int
14 | NumberOfSpecsToProcessIfKnown() (int, bool)
15 | NumberOfSpecsThatWillBeRunIfKnown() (int, bool)
16 | }
17 |
18 | type Counter struct {
19 | Index int `json:"index"`
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/internal/specrunner/random_id.go:
--------------------------------------------------------------------------------
1 | package specrunner
2 |
3 | import (
4 | "crypto/rand"
5 | "fmt"
6 | )
7 |
8 | func randomID() string {
9 | b := make([]byte, 8)
10 | _, err := rand.Read(b)
11 | if err != nil {
12 | return ""
13 | }
14 | return fmt.Sprintf("%x-%x-%x-%x", b[0:2], b[2:4], b[4:6], b[6:8])
15 | }
16 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/reporters/reporter.go:
--------------------------------------------------------------------------------
1 | package reporters
2 |
3 | import (
4 | "github.com/onsi/ginkgo/config"
5 | "github.com/onsi/ginkgo/types"
6 | )
7 |
8 | type Reporter interface {
9 | SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary)
10 | BeforeSuiteDidRun(setupSummary *types.SetupSummary)
11 | SpecWillRun(specSummary *types.SpecSummary)
12 | SpecDidComplete(specSummary *types.SpecSummary)
13 | AfterSuiteDidRun(setupSummary *types.SetupSummary)
14 | SpecSuiteDidEnd(summary *types.SuiteSummary)
15 | }
16 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-colorable/colorable_others.go:
--------------------------------------------------------------------------------
1 | // +build !windows
2 |
3 | package colorable
4 |
5 | import (
6 | "io"
7 | "os"
8 | )
9 |
10 | func NewColorable(file *os.File) io.Writer {
11 | if file == nil {
12 | panic("nil passed instead of *os.File to NewColorable()")
13 | }
14 |
15 | return file
16 | }
17 |
18 | func NewColorableStdout() io.Writer {
19 | return os.Stdout
20 | }
21 |
22 | func NewColorableStderr() io.Writer {
23 | return os.Stderr
24 | }
25 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/README.md:
--------------------------------------------------------------------------------
1 | # go-isatty
2 |
3 | isatty for golang
4 |
5 | ## Usage
6 |
7 | ```go
8 | package main
9 |
10 | import (
11 | "fmt"
12 | "github.com/mattn/go-isatty"
13 | "os"
14 | )
15 |
16 | func main() {
17 | if isatty.IsTerminal(os.Stdout.Fd()) {
18 | fmt.Println("Is Terminal")
19 | } else {
20 | fmt.Println("Is Not Terminal")
21 | }
22 | }
23 | ```
24 |
25 | ## Installation
26 |
27 | ```
28 | $ go get github.com/mattn/go-isatty
29 | ```
30 |
31 | # License
32 |
33 | MIT
34 |
35 | # Author
36 |
37 | Yasuhiro Matsumoto (a.k.a mattn)
38 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/doc.go:
--------------------------------------------------------------------------------
1 | // Package isatty implements interface to isatty
2 | package isatty
3 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_appengine.go:
--------------------------------------------------------------------------------
1 | // +build appengine
2 |
3 | package isatty
4 |
5 | // IsTerminal returns true if the file descriptor is terminal which
6 | // is always false on on appengine classic which is a sandboxed PaaS.
7 | func IsTerminal(fd uintptr) bool {
8 | return false
9 | }
10 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_bsd.go:
--------------------------------------------------------------------------------
1 | // +build darwin freebsd openbsd netbsd
2 | // +build !appengine
3 |
4 | package isatty
5 |
6 | import (
7 | "syscall"
8 | "unsafe"
9 | )
10 |
11 | const ioctlReadTermios = syscall.TIOCGETA
12 |
13 | // IsTerminal return true if the file descriptor is terminal.
14 | func IsTerminal(fd uintptr) bool {
15 | var termios syscall.Termios
16 | _, _, err := syscall.Syscall6(syscall.SYS_IOCTL, fd, ioctlReadTermios, uintptr(unsafe.Pointer(&termios)), 0, 0, 0)
17 | return err == 0
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_linux.go:
--------------------------------------------------------------------------------
1 | // +build linux
2 | // +build !appengine
3 |
4 | package isatty
5 |
6 | import (
7 | "syscall"
8 | "unsafe"
9 | )
10 |
11 | const ioctlReadTermios = syscall.TCGETS
12 |
13 | // IsTerminal return true if the file descriptor is terminal.
14 | func IsTerminal(fd uintptr) bool {
15 | var termios syscall.Termios
16 | _, _, err := syscall.Syscall6(syscall.SYS_IOCTL, fd, ioctlReadTermios, uintptr(unsafe.Pointer(&termios)), 0, 0, 0)
17 | return err == 0
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_solaris.go:
--------------------------------------------------------------------------------
1 | // +build solaris
2 | // +build !appengine
3 |
4 | package isatty
5 |
6 | import (
7 | "golang.org/x/sys/unix"
8 | )
9 |
10 | // IsTerminal returns true if the given file descriptor is a terminal.
11 | // see: http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libbc/libc/gen/common/isatty.c
12 | func IsTerminal(fd uintptr) bool {
13 | var termio unix.Termio
14 | err := unix.IoctlSetTermio(int(fd), unix.TCGETA, &termio)
15 | return err == nil
16 | }
17 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_windows.go:
--------------------------------------------------------------------------------
1 | // +build windows
2 | // +build !appengine
3 |
4 | package isatty
5 |
6 | import (
7 | "syscall"
8 | "unsafe"
9 | )
10 |
11 | var kernel32 = syscall.NewLazyDLL("kernel32.dll")
12 | var procGetConsoleMode = kernel32.NewProc("GetConsoleMode")
13 |
14 | // IsTerminal return true if the file descriptor is terminal.
15 | func IsTerminal(fd uintptr) bool {
16 | var st uint32
17 | r, _, e := syscall.Syscall(procGetConsoleMode.Addr(), 2, fd, uintptr(unsafe.Pointer(&st)), 0)
18 | return r != 0 && e == 0
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/types/code_location.go:
--------------------------------------------------------------------------------
1 | package types
2 |
3 | import (
4 | "fmt"
5 | )
6 |
7 | type CodeLocation struct {
8 | FileName string
9 | LineNumber int
10 | FullStackTrace string
11 | }
12 |
13 | func (codeLocation CodeLocation) String() string {
14 | return fmt.Sprintf("%s:%d", codeLocation.FileName, codeLocation.LineNumber)
15 | }
16 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/ginkgo/types/synchronization.go:
--------------------------------------------------------------------------------
1 | package types
2 |
3 | import (
4 | "encoding/json"
5 | )
6 |
7 | type RemoteBeforeSuiteState int
8 |
9 | const (
10 | RemoteBeforeSuiteStateInvalid RemoteBeforeSuiteState = iota
11 |
12 | RemoteBeforeSuiteStatePending
13 | RemoteBeforeSuiteStatePassed
14 | RemoteBeforeSuiteStateFailed
15 | RemoteBeforeSuiteStateDisappeared
16 | )
17 |
18 | type RemoteBeforeSuiteData struct {
19 | Data []byte
20 | State RemoteBeforeSuiteState
21 | }
22 |
23 | func (r RemoteBeforeSuiteData) ToJSON() []byte {
24 | data, _ := json.Marshal(r)
25 | return data
26 | }
27 |
28 | type RemoteAfterSuiteData struct {
29 | CanRun bool
30 | }
31 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/gomega/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | *.test
3 | .
4 | .idea
5 | gomega.iml
6 | TODO
7 | .vscode
--------------------------------------------------------------------------------
/vendor/github.com/onsi/gomega/matchers/attributes_slice.go:
--------------------------------------------------------------------------------
1 | package matchers
2 |
3 | import (
4 | "encoding/xml"
5 | "strings"
6 | )
7 |
8 | type attributesSlice []xml.Attr
9 |
10 | func (attrs attributesSlice) Len() int { return len(attrs) }
11 | func (attrs attributesSlice) Less(i, j int) bool {
12 | return strings.Compare(attrs[i].Name.Local, attrs[j].Name.Local) == -1
13 | }
14 | func (attrs attributesSlice) Swap(i, j int) { attrs[i], attrs[j] = attrs[j], attrs[i] }
15 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/gomega/matchers/be_nil_matcher.go:
--------------------------------------------------------------------------------
1 | // untested sections: 2
2 |
3 | package matchers
4 |
5 | import "github.com/onsi/gomega/format"
6 |
7 | type BeNilMatcher struct {
8 | }
9 |
10 | func (matcher *BeNilMatcher) Match(actual interface{}) (success bool, err error) {
11 | return isNil(actual), nil
12 | }
13 |
14 | func (matcher *BeNilMatcher) FailureMessage(actual interface{}) (message string) {
15 | return format.Message(actual, "to be nil")
16 | }
17 |
18 | func (matcher *BeNilMatcher) NegatedFailureMessage(actual interface{}) (message string) {
19 | return format.Message(actual, "not to be nil")
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/gomega/matchers/support/goraph/node/node.go:
--------------------------------------------------------------------------------
1 | package node
2 |
3 | type Node struct {
4 | ID int
5 | Value interface{}
6 | }
7 |
8 | type NodeOrderedSet []Node
9 |
--------------------------------------------------------------------------------
/vendor/github.com/onsi/gomega/matchers/support/goraph/util/util.go:
--------------------------------------------------------------------------------
1 | package util
2 |
3 | import "math"
4 |
5 | func Odd(n int) bool {
6 | return math.Mod(float64(n), 2.0) == 1.0
7 | }
8 |
--------------------------------------------------------------------------------
/vendor/github.com/opencontainers/go-digest/.mailmap:
--------------------------------------------------------------------------------
1 | Aaron Lehmann
2 | Derek McGowan
3 | Stephen J Day
4 | Haibing Zhou
5 |
--------------------------------------------------------------------------------
/vendor/github.com/opencontainers/go-digest/.pullapprove.yml:
--------------------------------------------------------------------------------
1 | version: 2
2 |
3 | requirements:
4 | signed_off_by:
5 | required: true
6 |
7 | always_pending:
8 | title_regex: '^WIP'
9 | explanation: 'Work in progress...'
10 |
11 | group_defaults:
12 | required: 2
13 | approve_by_comment:
14 | enabled: true
15 | approve_regex: '^LGTM'
16 | reject_regex: '^Rejected'
17 | reset_on_push:
18 | enabled: true
19 | author_approval:
20 | ignored: true
21 | conditions:
22 | branches:
23 | - master
24 |
25 | groups:
26 | go-digest:
27 | teams:
28 | - go-digest-maintainers
29 |
--------------------------------------------------------------------------------
/vendor/github.com/opencontainers/go-digest/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | go:
3 | - 1.12.x
4 | - 1.13.x
5 | - master
6 |
--------------------------------------------------------------------------------
/vendor/github.com/opencontainers/go-digest/MAINTAINERS:
--------------------------------------------------------------------------------
1 | Derek McGowan (@dmcgowan)
2 | Stephen Day (@stevvooe)
3 | Vincent Batts (@vbatts)
4 | Akihiro Suda (@AkihiroSuda)
5 | Sebastiaan van Stijn (@thaJeztah)
6 |
--------------------------------------------------------------------------------
/vendor/github.com/paketo-buildpacks/packit/NOTICE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2013-Present CloudFoundry.org Foundation, Inc. All Rights Reserved.
2 |
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 |
7 | http://www.apache.org/licenses/LICENSE-2.0
8 |
9 | Unless required by applicable law or agreed to in writing, software
10 | distributed under the License is distributed on an "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | See the License for the specific language governing permissions and
13 | limitations under the License.
14 |
--------------------------------------------------------------------------------
/vendor/github.com/paketo-buildpacks/packit/v2/NOTICE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2013-Present CloudFoundry.org Foundation, Inc. All Rights Reserved.
2 |
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 |
7 | http://www.apache.org/licenses/LICENSE-2.0
8 |
9 | Unless required by applicable law or agreed to in writing, software
10 | distributed under the License is distributed on an "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | See the License for the specific language governing permissions and
13 | limitations under the License.
14 |
--------------------------------------------------------------------------------
/vendor/github.com/paketo-buildpacks/packit/v2/fs/doc.go:
--------------------------------------------------------------------------------
1 | // Package fs provides a set of filesystem helpers that can be useful when
2 | // developing Cloud Native Buildpacks.
3 | package fs
4 |
--------------------------------------------------------------------------------
/vendor/github.com/paketo-buildpacks/packit/v2/fs/exists.go:
--------------------------------------------------------------------------------
1 | package fs
2 |
3 | import (
4 | "errors"
5 | "os"
6 | )
7 |
8 | // Exists returns true if a file or directory at the given path is present and false otherwise.
9 | func Exists(path string) (bool, error) {
10 | _, err := os.Stat(path)
11 | if err != nil {
12 | if errors.Is(err, os.ErrNotExist) {
13 | return false, nil
14 | }
15 | return false, err
16 | }
17 | return true, nil
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/paketo-buildpacks/packit/v2/fs/is_empty_dir.go:
--------------------------------------------------------------------------------
1 | package fs
2 |
3 | import "os"
4 |
5 | // IsEmptyDir checks to see if a directory exists and is empty.
6 | func IsEmptyDir(path string) bool {
7 | contents, err := os.ReadDir(path)
8 | if err != nil {
9 | return false
10 | }
11 |
12 | return len(contents) == 0
13 | }
14 |
--------------------------------------------------------------------------------
/vendor/github.com/paketo-buildpacks/packit/v2/fs/move.go:
--------------------------------------------------------------------------------
1 | package fs
2 |
3 | import (
4 | "fmt"
5 | "os"
6 | )
7 |
8 | // Move will move a source file or directory to a destination. For directories,
9 | // move will remap relative symlinks ensuring that they align with the
10 | // destination directory. If the destination exists prior to invocation, it
11 | // will be removed. Additionally, the source will be removed once it has been
12 | // copied to the destination.
13 | func Move(source, destination string) error {
14 | err := Copy(source, destination)
15 | if err != nil {
16 | return fmt.Errorf("failed to move: %s", err)
17 | }
18 |
19 | err = os.RemoveAll(source)
20 | if err != nil {
21 | return err
22 | }
23 |
24 | return nil
25 | }
26 |
--------------------------------------------------------------------------------
/vendor/github.com/paketo-buildpacks/packit/v2/vacation/vacation.go:
--------------------------------------------------------------------------------
1 | // Package vacation provides a set of functions that enable input stream
2 | // decompression logic from several popular decompression formats. This allows
3 | // from decompression from either a file or any other byte stream, which is
4 | // useful for decompressing files that are being downloaded.
5 | package vacation
6 |
--------------------------------------------------------------------------------
/vendor/github.com/pkg/errors/.gitignore:
--------------------------------------------------------------------------------
1 | # Compiled Object files, Static and Dynamic libs (Shared Objects)
2 | *.o
3 | *.a
4 | *.so
5 |
6 | # Folders
7 | _obj
8 | _test
9 |
10 | # Architecture specific extensions/prefixes
11 | *.[568vq]
12 | [568vq].out
13 |
14 | *.cgo1.go
15 | *.cgo2.c
16 | _cgo_defun.c
17 | _cgo_gotypes.go
18 | _cgo_export.*
19 |
20 | _testmain.go
21 |
22 | *.exe
23 | *.test
24 | *.prof
25 |
--------------------------------------------------------------------------------
/vendor/github.com/pkg/errors/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | go_import_path: github.com/pkg/errors
3 | go:
4 | - 1.11.x
5 | - 1.12.x
6 | - 1.13.x
7 | - tip
8 |
9 | script:
10 | - make check
11 |
--------------------------------------------------------------------------------
/vendor/github.com/sclevine/spec/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .idea
3 | *.coverprofile
4 | *.test
5 | *~
6 |
--------------------------------------------------------------------------------
/vendor/github.com/sclevine/spec/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | go:
3 | - 1.12.x
4 | - 1.13.x
5 | script:
6 | - test -z $(go fmt ./...)
7 | - go vet ./...
8 | - go test -v ./...
9 |
--------------------------------------------------------------------------------
/vendor/github.com/teris-io/shortid/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | vendor/
3 | Gopkg.lock
4 |
--------------------------------------------------------------------------------
/vendor/github.com/teris-io/shortid/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | arch:
3 | - amd64
4 | - ppc64le
5 | go:
6 | - 1.8
7 |
8 | before_install:
9 | - go get
10 | - touch coverage.txt
11 | - pip install --user codecov
12 |
13 | script:
14 | - go test -coverprofile=coverage.txt -covermode=atomic ./...
15 |
16 | after_success:
17 | - codecov
18 |
19 |
20 |
--------------------------------------------------------------------------------
/vendor/github.com/tidwall/match/README.md:
--------------------------------------------------------------------------------
1 | # Match
2 |
3 | [](https://godoc.org/github.com/tidwall/match)
4 |
5 | Match is a very simple pattern matcher where '*' matches on any
6 | number characters and '?' matches on any one character.
7 |
8 | ## Installing
9 |
10 | ```
11 | go get -u github.com/tidwall/match
12 | ```
13 |
14 | ## Example
15 |
16 | ```go
17 | match.Match("hello", "*llo")
18 | match.Match("jello", "?ello")
19 | match.Match("hello", "h*o")
20 | ```
21 |
22 |
23 | ## Contact
24 |
25 | Josh Baker [@tidwall](http://twitter.com/tidwall)
26 |
27 | ## License
28 |
29 | Redcon source code is available under the MIT [License](/LICENSE).
30 |
--------------------------------------------------------------------------------
/vendor/github.com/ulikunitz/xz/.gitignore:
--------------------------------------------------------------------------------
1 | # .gitignore
2 |
3 | TODO.html
4 | README.html
5 |
6 | lzma/writer.txt
7 | lzma/reader.txt
8 |
9 | cmd/gxz/gxz
10 | cmd/xb/xb
11 |
12 | # test executables
13 | *.test
14 |
15 | # profile files
16 | *.out
17 |
18 | # vim swap file
19 | .*.swp
20 |
21 | # executables on windows
22 | *.exe
23 |
24 | # default compression test file
25 | enwik8*
26 |
27 | # file generated by example
28 | example.xz
--------------------------------------------------------------------------------
/vendor/github.com/ulikunitz/xz/fox-check-none.xz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/vendor/github.com/ulikunitz/xz/fox-check-none.xz
--------------------------------------------------------------------------------
/vendor/github.com/ulikunitz/xz/fox.xz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/vendor/github.com/ulikunitz/xz/fox.xz
--------------------------------------------------------------------------------
/vendor/github.com/ulikunitz/xz/internal/hash/doc.go:
--------------------------------------------------------------------------------
1 | // Copyright 2014-2022 Ulrich Kunitz. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | /*
6 | Package hash provides rolling hashes.
7 |
8 | Rolling hashes have to be used for maintaining the positions of n-byte
9 | sequences in the dictionary buffer.
10 |
11 | The package provides currently the Rabin-Karp rolling hash and a Cyclic
12 | Polynomial hash. Both support the Hashes method to be used with an interface.
13 | */
14 | package hash
15 |
--------------------------------------------------------------------------------
/vendor/github.com/ulikunitz/xz/lzma/fox.lzma:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/b329656de5955772494da92611bead1f8d7c5af4/vendor/github.com/ulikunitz/xz/lzma/fox.lzma
--------------------------------------------------------------------------------
/vendor/github.com/ulikunitz/xz/make-docs:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -x
4 | pandoc -t html5 -f markdown -s --css=doc/md.css -o README.html README.md
5 | pandoc -t html5 -f markdown -s --css=doc/md.css -o TODO.html TODO.md
6 |
--------------------------------------------------------------------------------
/vendor/github.com/ulikunitz/xz/none-check.go:
--------------------------------------------------------------------------------
1 | // Copyright 2014-2022 Ulrich Kunitz. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | package xz
6 |
7 | import "hash"
8 |
9 | type noneHash struct{}
10 |
11 | func (h noneHash) Write(p []byte) (n int, err error) { return len(p), nil }
12 |
13 | func (h noneHash) Sum(b []byte) []byte { return b }
14 |
15 | func (h noneHash) Reset() {}
16 |
17 | func (h noneHash) Size() int { return 0 }
18 |
19 | func (h noneHash) BlockSize() int { return 0 }
20 |
21 | func newNoneHash() hash.Hash {
22 | return &noneHash{}
23 | }
24 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/net/http2/.gitignore:
--------------------------------------------------------------------------------
1 | *~
2 | h2i/h2i
3 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/net/http2/config_pre_go124.go:
--------------------------------------------------------------------------------
1 | // Copyright 2024 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build !go1.24
6 |
7 | package http2
8 |
9 | import "net/http"
10 |
11 | // Pre-Go 1.24 fallback.
12 | // The Server.HTTP2 and Transport.HTTP2 config fields were added in Go 1.24.
13 |
14 | func fillNetHTTPServerConfig(conf *http2Config, srv *http.Server) {}
15 |
16 | func fillNetHTTPTransportConfig(conf *http2Config, tr *http.Transport) {}
17 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/net/http2/timer.go:
--------------------------------------------------------------------------------
1 | // Copyright 2024 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 | package http2
5 |
6 | import "time"
7 |
8 | // A timer is a time.Timer, as an interface which can be replaced in tests.
9 | type timer = interface {
10 | C() <-chan time.Time
11 | Reset(d time.Duration) bool
12 | Stop() bool
13 | }
14 |
15 | // timeTimer adapts a time.Timer to the timer interface.
16 | type timeTimer struct {
17 | *time.Timer
18 | }
19 |
20 | func (t timeTimer) C() <-chan time.Time { return t.Timer.C }
21 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/net/idna/go118.go:
--------------------------------------------------------------------------------
1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
2 |
3 | // Copyright 2021 The Go Authors. All rights reserved.
4 | // Use of this source code is governed by a BSD-style
5 | // license that can be found in the LICENSE file.
6 |
7 | //go:build go1.18
8 |
9 | package idna
10 |
11 | // Transitional processing is disabled by default in Go 1.18.
12 | // https://golang.org/issue/47510
13 | const transitionalLookup = false
14 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/net/idna/pre_go118.go:
--------------------------------------------------------------------------------
1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
2 |
3 | // Copyright 2021 The Go Authors. All rights reserved.
4 | // Use of this source code is governed by a BSD-style
5 | // license that can be found in the LICENSE file.
6 |
7 | //go:build !go1.18
8 |
9 | package idna
10 |
11 | const transitionalLookup = true
12 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/.gitignore:
--------------------------------------------------------------------------------
1 | _obj/
2 | unix.test
3 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/aliases.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
6 |
7 | package unix
8 |
9 | import "syscall"
10 |
11 | type Signal = syscall.Signal
12 | type Errno = syscall.Errno
13 | type SysProcAttr = syscall.SysProcAttr
14 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build gc
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go
11 | //
12 |
13 | TEXT ·syscall6(SB),NOSPLIT,$0-88
14 | JMP syscall·syscall6(SB)
15 |
16 | TEXT ·rawSyscall6(SB),NOSPLIT,$0-88
17 | JMP syscall·rawSyscall6(SB)
18 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2014 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build gc
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go
11 | //
12 |
13 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88
14 | JMP syscall·sysvicall6(SB)
15 |
16 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88
17 | JMP syscall·rawSysvicall6(SB)
18 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/constants.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
6 |
7 | package unix
8 |
9 | const (
10 | R_OK = 0x4
11 | W_OK = 0x2
12 | X_OK = 0x1
13 | )
14 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/endian_big.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 | //
5 | //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64
6 |
7 | package unix
8 |
9 | const isBigEndian = true
10 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/endian_little.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 | //
5 | //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh
6 |
7 | package unix
8 |
9 | const isBigEndian = false
10 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go:
--------------------------------------------------------------------------------
1 | // Copyright 2014 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc)
6 |
7 | package unix
8 |
9 | func init() {
10 | // On 32-bit Linux systems, the fcntl syscall that matches Go's
11 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL.
12 | fcntl64Syscall = SYS_FCNTL64
13 | }
14 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build gccgo && linux && amd64
6 |
7 | package unix
8 |
9 | import "syscall"
10 |
11 | //extern gettimeofday
12 | func realGettimeofday(*Timeval, *byte) int32
13 |
14 | func gettimeofday(tv *Timeval) (err syscall.Errno) {
15 | r := realGettimeofday(tv, nil)
16 | if r < 0 {
17 | return syscall.GetErrno()
18 | }
19 | return 0
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/mmap_nomremap.go:
--------------------------------------------------------------------------------
1 | // Copyright 2023 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build aix || darwin || dragonfly || freebsd || openbsd || solaris || zos
6 |
7 | package unix
8 |
9 | var mapper = &mmapper{
10 | active: make(map[*byte][]byte),
11 | mmap: mmap,
12 | munmap: munmap,
13 | }
14 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/pagesize_unix.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
6 |
7 | // For Unix, get the pagesize from the runtime.
8 |
9 | package unix
10 |
11 | import "syscall"
12 |
13 | func Getpagesize() int {
14 | return syscall.Getpagesize()
15 | }
16 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/ptrace_darwin.go:
--------------------------------------------------------------------------------
1 | // Copyright 2020 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build darwin && !ios
6 |
7 | package unix
8 |
9 | func ptrace(request int, pid int, addr uintptr, data uintptr) error {
10 | return ptrace1(request, pid, addr, data)
11 | }
12 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/ptrace_ios.go:
--------------------------------------------------------------------------------
1 | // Copyright 2020 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build ios
6 |
7 | package unix
8 |
9 | func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
10 | return ENOTSUP
11 | }
12 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/race0.go:
--------------------------------------------------------------------------------
1 | // Copyright 2012 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build aix || (darwin && !race) || (linux && !race) || (freebsd && !race) || netbsd || openbsd || solaris || dragonfly || zos
6 |
7 | package unix
8 |
9 | import (
10 | "unsafe"
11 | )
12 |
13 | const raceenabled = false
14 |
15 | func raceAcquire(addr unsafe.Pointer) {
16 | }
17 |
18 | func raceReleaseMerge(addr unsafe.Pointer) {
19 | }
20 |
21 | func raceReadRange(addr unsafe.Pointer, len int) {
22 | }
23 |
24 | func raceWriteRange(addr unsafe.Pointer, len int) {
25 | }
26 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/readdirent_getdents.go:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build aix || dragonfly || freebsd || linux || netbsd || openbsd
6 |
7 | package unix
8 |
9 | // ReadDirent reads directory entries from fd and writes them into buf.
10 | func ReadDirent(fd int, buf []byte) (n int, err error) {
11 | return Getdents(fd, buf)
12 | }
13 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | package unix
6 |
7 | // Round the length of a raw sockaddr up to align it properly.
8 | func cmsgAlignOf(salen int) int {
9 | salign := SizeofPtr
10 | if SizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) {
11 | // 64-bit Dragonfly before the September 2019 ABI changes still requires
12 | // 32-bit aligned access to network subsystem.
13 | salign = 4
14 | }
15 | return (salen + salign - 1) & ^(salign - 1)
16 | }
17 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/syscall_hurd_386.go:
--------------------------------------------------------------------------------
1 | // Copyright 2022 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build 386 && hurd
6 |
7 | package unix
8 |
9 | const (
10 | TIOCGETA = 0x62251713
11 | )
12 |
13 | type Winsize struct {
14 | Row uint16
15 | Col uint16
16 | Xpixel uint16
17 | Ypixel uint16
18 | }
19 |
20 | type Termios struct {
21 | Iflag uint32
22 | Oflag uint32
23 | Cflag uint32
24 | Lflag uint32
25 | Cc [20]uint8
26 | Ispeed int32
27 | Ospeed int32
28 | }
29 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go:
--------------------------------------------------------------------------------
1 | // Copyright 2022 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build linux && (386 || amd64 || mips || mipsle || mips64 || mipsle || ppc64 || ppc64le || ppc || s390x || sparc64)
6 |
7 | package unix
8 |
9 | // SYS_ALARM is not defined on arm or riscv, but is available for other GOARCH
10 | // values.
11 |
12 | //sys Alarm(seconds uint) (remaining uint, err error)
13 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build amd64 && linux && gc
6 |
7 | package unix
8 |
9 | import "syscall"
10 |
11 | //go:noescape
12 | func gettimeofday(tv *Timeval) (err syscall.Errno)
13 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/syscall_linux_gc.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build linux && gc
6 |
7 | package unix
8 |
9 | // SyscallNoError may be used instead of Syscall for syscalls that don't fail.
10 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
11 |
12 | // RawSyscallNoError may be used instead of RawSyscall for syscalls that don't
13 | // fail.
14 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
15 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build linux && gc && 386
6 |
7 | package unix
8 |
9 | import "syscall"
10 |
11 | // Underlying system call writes to newoffset via pointer.
12 | // Implemented in assembly to avoid allocation.
13 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
14 |
15 | func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
16 | func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
17 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build arm && gc && linux
6 |
7 | package unix
8 |
9 | import "syscall"
10 |
11 | // Underlying system call writes to newoffset via pointer.
12 | // Implemented in assembly to avoid allocation.
13 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
14 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build linux && gccgo && arm
6 |
7 | package unix
8 |
9 | import (
10 | "syscall"
11 | "unsafe"
12 | )
13 |
14 | func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
15 | var newoffset int64
16 | offsetLow := uint32(offset & 0xffffffff)
17 | offsetHigh := uint32((offset >> 32) & 0xffffffff)
18 | _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0)
19 | return newoffset, err
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/syscall_unix_gc.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build (darwin || dragonfly || freebsd || (linux && !ppc64 && !ppc64le) || netbsd || openbsd || solaris) && gc
6 |
7 | package unix
8 |
9 | import "syscall"
10 |
11 | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
12 | func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
13 | func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
14 | func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
15 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/sysvshm_linux.go:
--------------------------------------------------------------------------------
1 | // Copyright 2021 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build linux
6 |
7 | package unix
8 |
9 | import "runtime"
10 |
11 | // SysvShmCtl performs control operations on the shared memory segment
12 | // specified by id.
13 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) {
14 | if runtime.GOARCH == "arm" ||
15 | runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" {
16 | cmd |= ipc_64
17 | }
18 |
19 | return shmctl(id, cmd, desc)
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go:
--------------------------------------------------------------------------------
1 | // Copyright 2021 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build (darwin && !ios) || zos
6 |
7 | package unix
8 |
9 | // SysvShmCtl performs control operations on the shared memory segment
10 | // specified by id.
11 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) {
12 | return shmctl(id, cmd, desc)
13 | }
14 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/vgetrandom_linux.go:
--------------------------------------------------------------------------------
1 | // Copyright 2024 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build linux && go1.24
6 |
7 | package unix
8 |
9 | import _ "unsafe"
10 |
11 | //go:linkname vgetrandom runtime.vgetrandom
12 | //go:noescape
13 | func vgetrandom(p []byte, flags uint32) (ret int, supported bool)
14 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go:
--------------------------------------------------------------------------------
1 | // Copyright 2024 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build !linux || !go1.24
6 |
7 | package unix
8 |
9 | func vgetrandom(p []byte, flags uint32) (ret int, supported bool) {
10 | return -1, false
11 | }
12 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/windows/aliases.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build windows
6 |
7 | package windows
8 |
9 | import "syscall"
10 |
11 | type Errno = syscall.Errno
12 | type SysProcAttr = syscall.SysProcAttr
13 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/windows/mksyscall.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build generate
6 |
7 | package windows
8 |
9 | //go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go setupapi_windows.go
10 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/windows/race0.go:
--------------------------------------------------------------------------------
1 | // Copyright 2012 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build windows && !race
6 |
7 | package windows
8 |
9 | import (
10 | "unsafe"
11 | )
12 |
13 | const raceenabled = false
14 |
15 | func raceAcquire(addr unsafe.Pointer) {
16 | }
17 |
18 | func raceReleaseMerge(addr unsafe.Pointer) {
19 | }
20 |
21 | func raceReadRange(addr unsafe.Pointer, len int) {
22 | }
23 |
24 | func raceWriteRange(addr unsafe.Pointer, len int) {
25 | }
26 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/sys/windows/str.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build windows
6 |
7 | package windows
8 |
9 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency
10 | if val < 0 {
11 | return "-" + itoa(-val)
12 | }
13 | var buf [32]byte // big enough for int64
14 | i := len(buf) - 1
15 | for val >= 10 {
16 | buf[i] = byte(val%10 + '0')
17 | i--
18 | val /= 10
19 | }
20 | buf[i] = byte(val + '0')
21 | return string(buf[i:])
22 | }
23 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/text/encoding/japanese/all.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | package japanese
6 |
7 | import (
8 | "golang.org/x/text/encoding"
9 | )
10 |
11 | // All is a list of all defined encodings in this package.
12 | var All = []encoding.Encoding{EUCJP, ISO2022JP, ShiftJIS}
13 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/text/encoding/simplifiedchinese/all.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | package simplifiedchinese
6 |
7 | import (
8 | "golang.org/x/text/encoding"
9 | )
10 |
11 | // All is a list of all defined encodings in this package.
12 | var All = []encoding.Encoding{GB18030, GBK, HZGB2312}
13 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/text/internal/language/common.go:
--------------------------------------------------------------------------------
1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
2 |
3 | package language
4 |
5 | // This file contains code common to the maketables.go and the package code.
6 |
7 | // AliasType is the type of an alias in AliasMap.
8 | type AliasType int8
9 |
10 | const (
11 | Deprecated AliasType = iota
12 | Macro
13 | Legacy
14 |
15 | AliasTypeUnknown AliasType = -1
16 | )
17 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build go1.10
6 |
7 | package bidirule
8 |
9 | func (t *Transformer) isFinal() bool {
10 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial
11 | }
12 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | //go:build !go1.10
6 |
7 | package bidirule
8 |
9 | func (t *Transformer) isFinal() bool {
10 | if !t.isRTL() {
11 | return true
12 | }
13 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial
14 | }
15 |
--------------------------------------------------------------------------------
/vendor/gopkg.in/tomb.v1/README.md:
--------------------------------------------------------------------------------
1 | Installation and usage
2 | ----------------------
3 |
4 | See [gopkg.in/tomb.v1](https://gopkg.in/tomb.v1) for documentation and usage details.
5 |
--------------------------------------------------------------------------------
/vendor/gopkg.in/yaml.v2/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 |
3 | go:
4 | - "1.4.x"
5 | - "1.5.x"
6 | - "1.6.x"
7 | - "1.7.x"
8 | - "1.8.x"
9 | - "1.9.x"
10 | - "1.10.x"
11 | - "1.11.x"
12 | - "1.12.x"
13 | - "1.13.x"
14 | - "1.14.x"
15 | - "tip"
16 |
17 | go_import_path: gopkg.in/yaml.v2
18 |
--------------------------------------------------------------------------------
/vendor/gopkg.in/yaml.v2/NOTICE:
--------------------------------------------------------------------------------
1 | Copyright 2011-2016 Canonical Ltd.
2 |
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 |
7 | http://www.apache.org/licenses/LICENSE-2.0
8 |
9 | Unless required by applicable law or agreed to in writing, software
10 | distributed under the License is distributed on an "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | See the License for the specific language governing permissions and
13 | limitations under the License.
14 |
--------------------------------------------------------------------------------
/vendor/gopkg.in/yaml.v3/NOTICE:
--------------------------------------------------------------------------------
1 | Copyright 2011-2016 Canonical Ltd.
2 |
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 |
7 | http://www.apache.org/licenses/LICENSE-2.0
8 |
9 | Unless required by applicable law or agreed to in writing, software
10 | distributed under the License is distributed on an "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | See the License for the specific language governing permissions and
13 | limitations under the License.
14 |
--------------------------------------------------------------------------------