pub struct ImageLookupPolicy {
pub local: bool,
}
Expand description
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§
Source§impl Clone for ImageLookupPolicy
impl Clone for ImageLookupPolicy
Source§fn clone(&self) -> ImageLookupPolicy
fn clone(&self) -> ImageLookupPolicy
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 ImageLookupPolicy
impl Debug for ImageLookupPolicy
Source§impl Default for ImageLookupPolicy
impl Default for ImageLookupPolicy
Source§fn default() -> ImageLookupPolicy
fn default() -> ImageLookupPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageLookupPolicy
impl<'de> Deserialize<'de> for ImageLookupPolicy
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 ImageLookupPolicy
impl PartialEq for ImageLookupPolicy
Source§impl Serialize for ImageLookupPolicy
impl Serialize for ImageLookupPolicy
impl StructuralPartialEq for ImageLookupPolicy
Auto Trait Implementations§
impl Freeze for ImageLookupPolicy
impl RefUnwindSafe for ImageLookupPolicy
impl Send for ImageLookupPolicy
impl Sync for ImageLookupPolicy
impl Unpin for ImageLookupPolicy
impl UnwindSafe for ImageLookupPolicy
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