Enum gapi_grpc::google::container::v1alpha1::operation::Type[][src]

#[repr(i32)]pub enum Type {
    Unspecified,
    CreateCluster,
    DeleteCluster,
    UpgradeMaster,
    UpgradeNodes,
    RepairCluster,
    UpdateCluster,
    CreateNodePool,
    DeleteNodePool,
    SetNodePoolManagement,
    AutoRepairNodes,
    AutoUpgradeNodes,
    SetLabels,
    SetMasterAuth,
    SetNodePoolSize,
    SetNetworkPolicy,
    SetMaintenancePolicy,
}

Operation type.

Variants

Unspecified

Not set.

CreateCluster

Cluster create.

DeleteCluster

Cluster delete.

UpgradeMaster

A master upgrade.

UpgradeNodes

A node upgrade.

RepairCluster

Cluster repair.

UpdateCluster

Cluster update.

CreateNodePool

Node pool create.

DeleteNodePool

Node pool delete.

SetNodePoolManagement

Set node pool management.

AutoRepairNodes

Automatic node pool repair.

AutoUpgradeNodes

Automatic node upgrade.

SetLabels

Set labels.

SetMasterAuth

Set/generate master auth materials

SetNodePoolSize

Set node pool size.

SetNetworkPolicy

Updates network policy for a cluster.

SetMaintenancePolicy

Set the maintenance policy.

Implementations

impl Type[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of Type.

pub fn from_i32(value: i32) -> Option<Type>[src]

Converts an i32 to a Type, or None if value is not a valid variant.

Trait Implementations

impl Clone for Type[src]

impl Copy for Type[src]

impl Debug for Type[src]

impl Default for Type[src]

impl Eq for Type[src]

impl From<Type> for i32[src]

impl Hash for Type[src]

impl Ord for Type[src]

impl PartialEq<Type> for Type[src]

impl PartialOrd<Type> for Type[src]

impl StructuralEq for Type[src]

impl StructuralPartialEq for Type[src]

Auto Trait Implementations

impl RefUnwindSafe for Type

impl Send for Type

impl Sync for Type

impl Unpin for Type

impl UnwindSafe for Type

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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]