pub struct ImageStreamImage {
pub image: Image,
pub metadata: ObjectMeta,
}
Expand description
ImageStreamImage represents an Image that is retrieved by image name from an ImageStream.
Fields§
§image: Image
Image associated with the ImageStream and image name.
metadata: ObjectMeta
Standard object’s metadata.
Implementations§
Source§impl ImageStreamImage
impl ImageStreamImage
Sourcepub fn read_namespaced_image_stream_image(
name: &str,
namespace: &str,
optional: ReadNamespacedImageStreamImageOptional<'_>,
) -> Result<(Request<Vec<u8>>, fn(StatusCode) -> ResponseBody<ReadNamespacedImageStreamImageResponse>), RequestError>
pub fn read_namespaced_image_stream_image( name: &str, namespace: &str, optional: ReadNamespacedImageStreamImageOptional<'_>, ) -> Result<(Request<Vec<u8>>, fn(StatusCode) -> ResponseBody<ReadNamespacedImageStreamImageResponse>), RequestError>
read the specified ImageStreamImage
Use the returned k8s_openapi::ResponseBody
<
ReadNamespacedImageStreamImageResponse
>
constructor, or ReadNamespacedImageStreamImageResponse
directly, to parse the HTTP response.
§Arguments
-
name
name of the ImageStreamImage
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
Trait Implementations§
Source§impl Clone for ImageStreamImage
impl Clone for ImageStreamImage
Source§fn clone(&self) -> ImageStreamImage
fn clone(&self) -> ImageStreamImage
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 ImageStreamImage
impl Debug for ImageStreamImage
Source§impl Default for ImageStreamImage
impl Default for ImageStreamImage
Source§fn default() -> ImageStreamImage
fn default() -> ImageStreamImage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageStreamImage
impl<'de> Deserialize<'de> for ImageStreamImage
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 Metadata for ImageStreamImage
impl Metadata for ImageStreamImage
Source§impl PartialEq for ImageStreamImage
impl PartialEq for ImageStreamImage
Source§impl Resource for ImageStreamImage
impl Resource for ImageStreamImage
Source§const API_VERSION: &'static str = "image.openshift.io/v1"
const API_VERSION: &'static str = "image.openshift.io/v1"
The API version of the resource. This is a composite of
Resource::GROUP
and Resource::VERSION
(eg "apiextensions.k8s.io/v1beta1"
)
or just the version for resources without a group (eg "v1"
). Read moreSource§impl Serialize for ImageStreamImage
impl Serialize for ImageStreamImage
impl StructuralPartialEq for ImageStreamImage
Auto Trait Implementations§
impl Freeze for ImageStreamImage
impl RefUnwindSafe for ImageStreamImage
impl Send for ImageStreamImage
impl Sync for ImageStreamImage
impl Unpin for ImageStreamImage
impl UnwindSafe for ImageStreamImage
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