[−][src]Struct openshift_openapi::api::image::v1::ImageStreamTag
ImageStreamTag represents an Image that is retrieved by tag name from an ImageStream.
Fields
conditions: Option<Vec<TagEventCondition>>
conditions is an array of conditions that apply to the image stream tag.
generation: i64
generation is the current generation of the tagged image - if tag is provided and this value is not equal to the tag generation, a user has requested an import that has not completed, or conditions will be filled out indicating any error.
image: Image
image associated with the ImageStream and tag.
lookup_policy: ImageLookupPolicy
lookupPolicy indicates whether this tag will handle image references in this namespace.
metadata: Option<ObjectMeta>
Standard object's metadata.
tag: TagReference
tag is the spec tag associated with this image stream tag, and it may be null if only pushes have occurred to this image stream.
Implementations
impl ImageStreamTag
[src]
pub fn create_namespaced_image_stream_tag(
namespace: &str,
body: &ImageStreamTag,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
[src]
namespace: &str,
body: &ImageStreamTag,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
create an ImageStreamTag
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.
impl ImageStreamTag
[src]
pub fn delete_namespaced_image_stream_tag(
name: &str,
namespace: &str,
optional: DeleteOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteResponse<Self>>), RequestError>
[src]
name: &str,
namespace: &str,
optional: DeleteOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteResponse<Self>>), RequestError>
delete an ImageStreamTag
Use the returned k8s_openapi::ResponseBody
<
k8s_openapi::DeleteResponse
<Self>>
constructor, or k8s_openapi::DeleteResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
name
name of the ImageStreamTag
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ImageStreamTag
[src]
pub fn list_image_stream_tag_for_all_namespaces(
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListResponse<Self>>), RequestError>
[src]
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListResponse<Self>>), RequestError>
list objects of kind ImageStreamTag
This operation only supports listing all items of this type.
Use the returned k8s_openapi::ResponseBody
<
k8s_openapi::ListResponse
<Self>>
constructor, or k8s_openapi::ListResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ImageStreamTag
[src]
pub fn list_namespaced_image_stream_tag(
namespace: &str,
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListResponse<Self>>), RequestError>
[src]
namespace: &str,
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListResponse<Self>>), RequestError>
list objects of kind ImageStreamTag
This operation only supports listing all items of this type.
Use the returned k8s_openapi::ResponseBody
<
k8s_openapi::ListResponse
<Self>>
constructor, or k8s_openapi::ListResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ImageStreamTag
[src]
pub fn patch_namespaced_image_stream_tag(
name: &str,
namespace: &str,
body: &Patch,
optional: PatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchResponse<Self>>), RequestError>
[src]
name: &str,
namespace: &str,
body: &Patch,
optional: PatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchResponse<Self>>), RequestError>
partially update the specified ImageStreamTag
Use the returned k8s_openapi::ResponseBody
<
k8s_openapi::PatchResponse
<Self>>
constructor, or k8s_openapi::PatchResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
name
name of the ImageStreamTag
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ImageStreamTag
[src]
pub fn read_namespaced_image_stream_tag(
name: &str,
namespace: &str,
optional: ReadNamespacedImageStreamTagOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedImageStreamTagResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ReadNamespacedImageStreamTagOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedImageStreamTagResponse>), RequestError>
read the specified ImageStreamTag
Use the returned k8s_openapi::ResponseBody
<
ReadNamespacedImageStreamTagResponse
>
constructor, or ReadNamespacedImageStreamTagResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the ImageStreamTag
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ImageStreamTag
[src]
pub fn replace_namespaced_image_stream_tag(
name: &str,
namespace: &str,
body: &ImageStreamTag,
optional: ReplaceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceResponse<Self>>), RequestError>
[src]
name: &str,
namespace: &str,
body: &ImageStreamTag,
optional: ReplaceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceResponse<Self>>), RequestError>
replace the specified ImageStreamTag
Use the returned k8s_openapi::ResponseBody
<
k8s_openapi::ReplaceResponse
<Self>>
constructor, or k8s_openapi::ReplaceResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
name
name of the ImageStreamTag
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ImageStreamTag
[src]
pub fn watch_image_stream_tag_for_all_namespaces(
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchResponse<Self>>), RequestError>
[src]
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchResponse<Self>>), RequestError>
list objects of kind ImageStreamTag
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned k8s_openapi::ResponseBody
<
k8s_openapi::WatchResponse
<Self>>
constructor, or k8s_openapi::WatchResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ImageStreamTag
[src]
pub fn watch_namespaced_image_stream_tag(
namespace: &str,
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchResponse<Self>>), RequestError>
[src]
namespace: &str,
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchResponse<Self>>), RequestError>
list objects of kind ImageStreamTag
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned k8s_openapi::ResponseBody
<
k8s_openapi::WatchResponse
<Self>>
constructor, or k8s_openapi::WatchResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
Trait Implementations
impl Clone for ImageStreamTag
[src]
fn clone(&self) -> ImageStreamTag
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ImageStreamTag
[src]
impl Default for ImageStreamTag
[src]
fn default() -> ImageStreamTag
[src]
impl<'de> Deserialize<'de> for ImageStreamTag
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl ListableResource for ImageStreamTag
[src]
impl Metadata for ImageStreamTag
[src]
impl PartialEq<ImageStreamTag> for ImageStreamTag
[src]
fn eq(&self, other: &ImageStreamTag) -> bool
[src]
fn ne(&self, other: &ImageStreamTag) -> bool
[src]
impl Resource for ImageStreamTag
[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 ImageStreamTag
[src]
impl StructuralPartialEq for ImageStreamTag
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImageStreamTag
impl Send for ImageStreamTag
impl Sync for ImageStreamTag
impl Unpin for ImageStreamTag
impl UnwindSafe for ImageStreamTag
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>,