struct

Wacli::Manifest

Inherits Struct / Value / Object

Constructors

fetch_from_base(base_url : String) : Manifest
Source
fetch_tool(tool_ref : String, cfg : Config) : Manifest
Source
new(api : String | Nil, registry : Bool, manifests : Hash(String, String) | Nil, headers : Array(Tuple(String, String)), path_aliases : Hash(String, String), auth_scheme : String | Nil, token_name : String | Nil)
Source
parse(json_text : String) : Manifest
Source

Class methods

fetch_text(url : String) : String
Source
local_override_path(tool_ref : String) : String | Nil
Source
manifest_urls(base_url : String) : Array(String)
Source
normalize_base(tool_ref : String) : String
Source

Instance methods

auth_scheme
Source
bearer_auth?
Source
bearer_header_name
Source
expand_path_tokens(tokens : Array(String)) : Array(String)
Source
headers
Source
manifests
Source
path_aliases
Source
registry
Source
token_name
Source