Module: OsCtl::Repo

Defined in:
lib/osctl/repo.rb,
lib/osctl/repo/cli.rb,
lib/osctl/repo/locator.rb,
lib/osctl/repo/version.rb,
lib/osctl/repo/cli/repo.rb,
lib/osctl/repo/constants.rb,
lib/osctl/repo/base/image.rb,
lib/osctl/repo/exceptions.rb,
lib/osctl/repo/local/index.rb,
lib/osctl/repo/remote/index.rb,
lib/osctl/repo/downloader/base.rb,
lib/osctl/repo/remote/template.rb,
lib/osctl/repo/local/repository.rb,
lib/osctl/repo/downloader/cached.rb,
lib/osctl/repo/downloader/direct.rb,
lib/osctl/repo/remote/repository.rb

Defined Under Namespace

Modules: Base, Cli, Downloader, Local, Remote Classes: BadHttpResponse, CacheMiss, FormatNotFound, ImageNotFound, NetworkError

Constant Summary collapse

VERSION =
'24.05.0'.freeze
SCHEMA =
1
EXIT_OK =
0
EXIT_ERROR =
1
EXIT_IMAGE_NOT_FOUND =
2
EXIT_FORMAT_NOT_FOUND =
3
EXIT_HTTP_ERROR =
4
EXIT_NETWORK_ERROR =
5

Class Method Summary collapse

Class Method Details

.rootObject



3
4
5
# File 'lib/osctl/repo/locator.rb', line 3

def self.root
  File.absolute_path(File.join(__dir__, '..', '..', '..'))
end