pub struct ImageStreamLayers {
pub blobs: BTreeMap<String, ImageLayerData>,
pub images: BTreeMap<String, ImageBlobReferences>,
pub metadata: ObjectMeta,
}
Expand description
ImageStreamLayers describes information about the layers referenced by images in this image stream.
Fields§
§blobs: BTreeMap<String, ImageLayerData>
blobs is a map of blob name to metadata about the blob.
images: BTreeMap<String, ImageBlobReferences>
images is a map between an image name and the names of the blobs and config that comprise the image.
metadata: ObjectMeta
Standard object’s metadata.
Implementations§
Source§impl ImageStreamLayers
impl ImageStreamLayers
Sourcepub fn read_namespaced_image_stream_layers(
name: &str,
namespace: &str,
optional: ReadNamespacedImageStreamLayersOptional<'_>,
) -> Result<(Request<Vec<u8>>, fn(StatusCode) -> ResponseBody<ReadNamespacedImageStreamLayersResponse>), RequestError>
pub fn read_namespaced_image_stream_layers( name: &str, namespace: &str, optional: ReadNamespacedImageStreamLayersOptional<'_>, ) -> Result<(Request<Vec<u8>>, fn(StatusCode) -> ResponseBody<ReadNamespacedImageStreamLayersResponse>), RequestError>
read layers of the specified ImageStream
Use the returned k8s_openapi::ResponseBody
<
ReadNamespacedImageStreamLayersResponse
>
constructor, or ReadNamespacedImageStreamLayersResponse
directly, to parse the HTTP response.
§Arguments
-
name
name of the ImageStreamLayers
-
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 ImageStreamLayers
impl Clone for ImageStreamLayers
Source§fn clone(&self) -> ImageStreamLayers
fn clone(&self) -> ImageStreamLayers
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 ImageStreamLayers
impl Debug for ImageStreamLayers
Source§impl Default for ImageStreamLayers
impl Default for ImageStreamLayers
Source§fn default() -> ImageStreamLayers
fn default() -> ImageStreamLayers
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageStreamLayers
impl<'de> Deserialize<'de> for ImageStreamLayers
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 ImageStreamLayers
impl Metadata for ImageStreamLayers
Source§impl PartialEq for ImageStreamLayers
impl PartialEq for ImageStreamLayers
Source§impl Resource for ImageStreamLayers
impl Resource for ImageStreamLayers
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 ImageStreamLayers
impl Serialize for ImageStreamLayers
impl StructuralPartialEq for ImageStreamLayers
Auto Trait Implementations§
impl Freeze for ImageStreamLayers
impl RefUnwindSafe for ImageStreamLayers
impl Send for ImageStreamLayers
impl Sync for ImageStreamLayers
impl Unpin for ImageStreamLayers
impl UnwindSafe for ImageStreamLayers
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