[][src]Struct openshift_openapi::api::image::v1::ImageStreamTag

pub struct ImageStreamTag {
    pub conditions: Option<Vec<TagEventCondition>>,
    pub generation: i64,
    pub image: Image,
    pub lookup_policy: ImageLookupPolicy,
    pub metadata: Option<ObjectMeta>,
    pub tag: TagReference,
}

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

impl Debug for ImageStreamTag[src]

impl Default for ImageStreamTag[src]

impl<'de> Deserialize<'de> for ImageStreamTag[src]

impl ListableResource for ImageStreamTag[src]

impl Metadata for ImageStreamTag[src]

type Ty = ObjectMeta

The type of the metadata object.

impl PartialEq<ImageStreamTag> for ImageStreamTag[src]

impl Resource for ImageStreamTag[src]

impl Serialize for ImageStreamTag[src]

impl StructuralPartialEq for ImageStreamTag[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.