pub struct UpdateDockerhubTarget {Show 13 fields
pub comment: Option<String>,
pub description: Option<String>,
pub dockerhub_password: Option<String>,
pub dockerhub_username: Option<String>,
pub json: Option<bool>,
pub keep_prev_version: Option<String>,
pub key: Option<String>,
pub max_versions: Option<String>,
pub name: String,
pub new_name: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub update_version: Option<bool>,
}Expand description
UpdateDockerhubTarget : updateDockerhubTarget is a command that updates a new target. [Deprecated: Use target-update-dockerhub command]
Fields§
§comment: Option<String>Deprecated - use description
description: Option<String>Description of the object
dockerhub_password: Option<String>Password for docker repository
dockerhub_username: Option<String>Username for docker repository
json: Option<bool>Set output format to JSON
keep_prev_version: Option<String>Whether to keep previous version [true/false]. If not set, use default according to account settings
key: Option<String>The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
max_versions: Option<String>Set the maximum number of versions, limited by the account settings defaults.
name: StringTarget name
new_name: Option<String>New target name
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
update_version: Option<bool>Deprecated
Implementations§
Source§impl UpdateDockerhubTarget
impl UpdateDockerhubTarget
Sourcepub fn new(name: String) -> UpdateDockerhubTarget
pub fn new(name: String) -> UpdateDockerhubTarget
updateDockerhubTarget is a command that updates a new target. [Deprecated: Use target-update-dockerhub command]
Trait Implementations§
Source§impl Clone for UpdateDockerhubTarget
impl Clone for UpdateDockerhubTarget
Source§fn clone(&self) -> UpdateDockerhubTarget
fn clone(&self) -> UpdateDockerhubTarget
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UpdateDockerhubTarget
impl Debug for UpdateDockerhubTarget
Source§impl Default for UpdateDockerhubTarget
impl Default for UpdateDockerhubTarget
Source§fn default() -> UpdateDockerhubTarget
fn default() -> UpdateDockerhubTarget
Source§impl<'de> Deserialize<'de> for UpdateDockerhubTarget
impl<'de> Deserialize<'de> for UpdateDockerhubTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for UpdateDockerhubTarget
impl PartialEq for UpdateDockerhubTarget
Source§fn eq(&self, other: &UpdateDockerhubTarget) -> bool
fn eq(&self, other: &UpdateDockerhubTarget) -> bool
self and other values to be equal, and is used by ==.