Struct wick_oci_utils::OciOptions
source · pub struct OciOptions { /* private fields */ }Implementations§
source§impl OciOptions
impl OciOptions
pub fn allow_latest(self, allow_latest: bool) -> Self
pub fn allow_insecure(self, allow_insecure: Vec<String>) -> Self
pub fn cache_dir(self, cache_dir: Option<PathBuf>) -> Self
pub fn base_dir(self, base_dir: Option<PathBuf>) -> Self
pub fn username(self, username: Option<String>) -> Self
pub fn password(self, password: Option<String>) -> Self
pub fn overwrite(self, overwrite: bool) -> Self
pub fn get_cache_dir(&self) -> Option<&PathBuf>
pub fn get_base_dir(&self) -> Option<&PathBuf>
pub fn get_auth(&self) -> RegistryAuth
Trait Implementations§
source§impl Debug for OciOptions
impl Debug for OciOptions
source§impl Default for OciOptions
impl Default for OciOptions
source§fn default() -> OciOptions
fn default() -> OciOptions
Returns the “default value” for a type. Read more