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

pub struct ImageLookupPolicy {
    pub local: bool,
}

ImageLookupPolicy describes how an image stream can be used to override the image references used by pods, builds, and other resources in a namespace.

Fields

local: bool

local will change the docker short image references (like "mysql" or "php:latest") on objects in this namespace to the image ID whenever they match this image stream, instead of reaching out to a remote registry. The name will be fully qualified to an image ID if found. The tag's referencePolicy is taken into account on the replaced value. Only works within the current namespace.

Trait Implementations

impl Clone for ImageLookupPolicy[src]

impl Debug for ImageLookupPolicy[src]

impl Default for ImageLookupPolicy[src]

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

impl PartialEq<ImageLookupPolicy> for ImageLookupPolicy[src]

impl Serialize for ImageLookupPolicy[src]

impl StructuralPartialEq for ImageLookupPolicy[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.