[−][src]Struct openshift_openapi::api::image::v1::ImageStreamImport
The image stream import resource provides an easy way for a user to find and import container images from other container image registries into the server. Individual images or an entire image repository may be imported, and users may choose to see the results of the import prior to tagging the resulting images into the specified image stream.
This API is intended for end-user tools that need to see the metadata of the image prior to import (for instance, to generate an application from it). Clients that know the desired image can continue to create spec.tags directly into their image streams.
Fields
metadata: Option<ObjectMeta>
Standard object's metadata.
spec: ImageStreamImportSpec
Spec is a description of the images that the user wishes to import
status: ImageStreamImportStatus
Status is the the result of importing the image
Implementations
impl ImageStreamImport
[src]
pub fn create_namespaced_image_stream_import(
namespace: &str,
body: &ImageStreamImport,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
[src]
namespace: &str,
body: &ImageStreamImport,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
create an ImageStreamImport
Use the returned k8s_openapi::ResponseBody
<
k8s_openapi::CreateResponse
<Self>>
constructor, or k8s_openapi::CreateResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
Trait Implementations
impl Clone for ImageStreamImport
[src]
fn clone(&self) -> ImageStreamImport
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ImageStreamImport
[src]
impl Default for ImageStreamImport
[src]
fn default() -> ImageStreamImport
[src]
impl<'de> Deserialize<'de> for ImageStreamImport
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Metadata for ImageStreamImport
[src]
impl PartialEq<ImageStreamImport> for ImageStreamImport
[src]
fn eq(&self, other: &ImageStreamImport) -> bool
[src]
fn ne(&self, other: &ImageStreamImport) -> bool
[src]
impl Resource for ImageStreamImport
[src]
const API_VERSION: &'static str
[src]
const GROUP: &'static str
[src]
const KIND: &'static str
[src]
const VERSION: &'static str
[src]
impl Serialize for ImageStreamImport
[src]
impl StructuralPartialEq for ImageStreamImport
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImageStreamImport
impl Send for ImageStreamImport
impl Sync for ImageStreamImport
impl Unpin for ImageStreamImport
impl UnwindSafe for ImageStreamImport
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>,