pub struct ImageStreamImportSpec {
pub images: Option<Vec<ImageImportSpec>>,
pub import: bool,
pub repository: Option<RepositoryImportSpec>,
}
Expand description
ImageStreamImportSpec defines what images should be imported.
Fields§
§images: Option<Vec<ImageImportSpec>>
Images are a list of individual images to import.
import: bool
Import indicates whether to perform an import - if so, the specified tags are set on the spec and status of the image stream defined by the type meta.
repository: Option<RepositoryImportSpec>
Repository is an optional import of an entire container image repository. A maximum limit on the number of tags imported this way is imposed by the server.
Trait Implementations§
Source§impl Clone for ImageStreamImportSpec
impl Clone for ImageStreamImportSpec
Source§fn clone(&self) -> ImageStreamImportSpec
fn clone(&self) -> ImageStreamImportSpec
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 ImageStreamImportSpec
impl Debug for ImageStreamImportSpec
Source§impl Default for ImageStreamImportSpec
impl Default for ImageStreamImportSpec
Source§fn default() -> ImageStreamImportSpec
fn default() -> ImageStreamImportSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageStreamImportSpec
impl<'de> Deserialize<'de> for ImageStreamImportSpec
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 ImageStreamImportSpec
impl PartialEq for ImageStreamImportSpec
Source§impl Serialize for ImageStreamImportSpec
impl Serialize for ImageStreamImportSpec
impl StructuralPartialEq for ImageStreamImportSpec
Auto Trait Implementations§
impl Freeze for ImageStreamImportSpec
impl RefUnwindSafe for ImageStreamImportSpec
impl Send for ImageStreamImportSpec
impl Sync for ImageStreamImportSpec
impl Unpin for ImageStreamImportSpec
impl UnwindSafe for ImageStreamImportSpec
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