pub struct RepositoryImportSpec {
pub from: ObjectReference,
pub import_policy: Option<TagImportPolicy>,
pub include_manifest: Option<bool>,
pub reference_policy: Option<TagReferencePolicy>,
}
Expand description
RepositoryImportSpec describes a request to import images from a container image repository.
Fields§
§from: ObjectReference
From is the source for the image repository to import; only kind DockerImage and a name of a container image repository is allowed
import_policy: Option<TagImportPolicy>
ImportPolicy is the policy controlling how the image is imported
include_manifest: Option<bool>
IncludeManifest determines if the manifest for each image is returned in the response
reference_policy: Option<TagReferencePolicy>
ReferencePolicy defines how other components should consume the image
Trait Implementations§
Source§impl Clone for RepositoryImportSpec
impl Clone for RepositoryImportSpec
Source§fn clone(&self) -> RepositoryImportSpec
fn clone(&self) -> RepositoryImportSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RepositoryImportSpec
impl Debug for RepositoryImportSpec
Source§impl Default for RepositoryImportSpec
impl Default for RepositoryImportSpec
Source§fn default() -> RepositoryImportSpec
fn default() -> RepositoryImportSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryImportSpec
impl<'de> Deserialize<'de> for RepositoryImportSpec
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RepositoryImportSpec
impl PartialEq for RepositoryImportSpec
Source§impl Serialize for RepositoryImportSpec
impl Serialize for RepositoryImportSpec
impl StructuralPartialEq for RepositoryImportSpec
Auto Trait Implementations§
impl Freeze for RepositoryImportSpec
impl RefUnwindSafe for RepositoryImportSpec
impl Send for RepositoryImportSpec
impl Sync for RepositoryImportSpec
impl Unpin for RepositoryImportSpec
impl UnwindSafe for RepositoryImportSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more