[−][src]Struct openshift_openapi::api::image::v1::TagReferencePolicy
TagReferencePolicy describes how pull-specs for images in this image stream tag are generated when image change triggers in deployment configs or builds are resolved. This allows the image stream author to control how images are accessed.
Fields
type_: String
Type determines how the image pull spec should be transformed when the image stream tag is used in deployment config triggers or new builds. The default value is Source
, indicating the original location of the image should be used (if imported). The user may also specify Local
, indicating that the pull spec should point to the integrated container image registry and leverage the registry's ability to proxy the pull to an upstream registry. Local
allows the credentials used to pull this image to be managed from the image stream's namespace, so others on the platform can access a remote image but have no access to the remote secret. It also allows the image layers to be mirrored into the local registry which the images can still be pulled even if the upstream registry is unavailable.
Trait Implementations
impl Clone for TagReferencePolicy
[src]
fn clone(&self) -> TagReferencePolicy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TagReferencePolicy
[src]
impl Default for TagReferencePolicy
[src]
fn default() -> TagReferencePolicy
[src]
impl<'de> Deserialize<'de> for TagReferencePolicy
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<TagReferencePolicy> for TagReferencePolicy
[src]
fn eq(&self, other: &TagReferencePolicy) -> bool
[src]
fn ne(&self, other: &TagReferencePolicy) -> bool
[src]
impl Serialize for TagReferencePolicy
[src]
impl StructuralPartialEq for TagReferencePolicy
[src]
Auto Trait Implementations
impl RefUnwindSafe for TagReferencePolicy
impl Send for TagReferencePolicy
impl Sync for TagReferencePolicy
impl Unpin for TagReferencePolicy
impl UnwindSafe for TagReferencePolicy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,