Struct gapi_grpc::google::cloud::gkehub::v1beta1::KubernetesResource[][src]

pub struct KubernetesResource {
    pub membership_cr_manifest: String,
    pub membership_resources: Vec<ResourceManifest>,
    pub connect_resources: Vec<ResourceManifest>,
    pub resource_options: Option<ResourceOptions>,
}

KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster.

Fields

membership_cr_manifest: String

Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly.

Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.

membership_resources: Vec<ResourceManifest>

Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update.

This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.

connect_resources: Vec<ResourceManifest>

Output only. The Kubernetes resources for installing the GKE Connect agent

This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.

resource_options: Option<ResourceOptions>

Optional. Options for Kubernetes resource generation.

Trait Implementations

impl Clone for KubernetesResource[src]

impl Debug for KubernetesResource[src]

impl Default for KubernetesResource[src]

impl Message for KubernetesResource[src]

impl PartialEq<KubernetesResource> for KubernetesResource[src]

impl StructuralPartialEq for KubernetesResource[src]

Auto Trait Implementations

impl RefUnwindSafe for KubernetesResource

impl Send for KubernetesResource

impl Sync for KubernetesResource

impl Unpin for KubernetesResource

impl UnwindSafe for KubernetesResource

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]