[][src]Struct openshift_openapi::api::image::v1::ImageImportSpec

pub struct ImageImportSpec {
    pub from: ObjectReference,
    pub import_policy: Option<TagImportPolicy>,
    pub include_manifest: Option<bool>,
    pub reference_policy: Option<TagReferencePolicy>,
    pub to: Option<LocalObjectReference>,
}

ImageImportSpec describes a request to import a specific image.

Fields

from: ObjectReference

From is the source of an image to import; only kind DockerImage 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

to: Option<LocalObjectReference>

To is a tag in the current image stream to assign the imported image to, if name is not specified the default tag from from.name will be used

Trait Implementations

impl Clone for ImageImportSpec[src]

impl Debug for ImageImportSpec[src]

impl Default for ImageImportSpec[src]

impl<'de> Deserialize<'de> for ImageImportSpec[src]

impl PartialEq<ImageImportSpec> for ImageImportSpec[src]

impl Serialize for ImageImportSpec[src]

impl StructuralPartialEq for ImageImportSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.