Struct gapi_grpc::google::container::v1::cluster_manager_client::ClusterManagerClient [−][src]
Google Kubernetes Engine Cluster Manager v1
Implementations
impl ClusterManagerClient<Channel>
[src]
pub async fn connect<D>(dst: D) -> Result<Self, Error> where
D: TryInto<Endpoint>,
D::Error: Into<StdError>,
[src]
D: TryInto<Endpoint>,
D::Error: Into<StdError>,
Attempt to create a new client by connecting to a given endpoint.
impl<T> ClusterManagerClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
[src]
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
pub fn new(inner: T) -> Self
[src]
pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self
[src]
pub async fn list_clusters(
&mut self,
request: impl IntoRequest<ListClustersRequest>
) -> Result<Response<ListClustersResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListClustersRequest>
) -> Result<Response<ListClustersResponse>, Status>
Lists all clusters owned by a project in either the specified zone or all zones.
pub async fn get_cluster(
&mut self,
request: impl IntoRequest<GetClusterRequest>
) -> Result<Response<Cluster>, Status>
[src]
&mut self,
request: impl IntoRequest<GetClusterRequest>
) -> Result<Response<Cluster>, Status>
Gets the details of a specific cluster.
pub async fn create_cluster(
&mut self,
request: impl IntoRequest<CreateClusterRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<CreateClusterRequest>
) -> Result<Response<Operation>, Status>
Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.
By default, the cluster is created in the project’s default network.
One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.
Finally, an entry is added to the project’s global metadata indicating which CIDR range the cluster is using.
pub async fn update_cluster(
&mut self,
request: impl IntoRequest<UpdateClusterRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<UpdateClusterRequest>
) -> Result<Response<Operation>, Status>
Updates the settings of a specific cluster.
pub async fn update_node_pool(
&mut self,
request: impl IntoRequest<UpdateNodePoolRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<UpdateNodePoolRequest>
) -> Result<Response<Operation>, Status>
Updates the version and/or image type for the specified node pool.
pub async fn set_node_pool_autoscaling(
&mut self,
request: impl IntoRequest<SetNodePoolAutoscalingRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<SetNodePoolAutoscalingRequest>
) -> Result<Response<Operation>, Status>
Sets the autoscaling settings for the specified node pool.
pub async fn set_logging_service(
&mut self,
request: impl IntoRequest<SetLoggingServiceRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<SetLoggingServiceRequest>
) -> Result<Response<Operation>, Status>
Sets the logging service for a specific cluster.
pub async fn set_monitoring_service(
&mut self,
request: impl IntoRequest<SetMonitoringServiceRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<SetMonitoringServiceRequest>
) -> Result<Response<Operation>, Status>
Sets the monitoring service for a specific cluster.
pub async fn set_addons_config(
&mut self,
request: impl IntoRequest<SetAddonsConfigRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<SetAddonsConfigRequest>
) -> Result<Response<Operation>, Status>
Sets the addons for a specific cluster.
pub async fn set_locations(
&mut self,
request: impl IntoRequest<SetLocationsRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<SetLocationsRequest>
) -> Result<Response<Operation>, Status>
Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead.
pub async fn update_master(
&mut self,
request: impl IntoRequest<UpdateMasterRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<UpdateMasterRequest>
) -> Result<Response<Operation>, Status>
Updates the master for a specific cluster.
pub async fn set_master_auth(
&mut self,
request: impl IntoRequest<SetMasterAuthRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<SetMasterAuthRequest>
) -> Result<Response<Operation>, Status>
Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.
pub async fn delete_cluster(
&mut self,
request: impl IntoRequest<DeleteClusterRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<DeleteClusterRequest>
) -> Result<Response<Operation>, Status>
Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
Firewalls and routes that were configured during cluster creation are also deleted.
Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren’t present when the cluster was initially created.
pub async fn list_operations(
&mut self,
request: impl IntoRequest<ListOperationsRequest>
) -> Result<Response<ListOperationsResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListOperationsRequest>
) -> Result<Response<ListOperationsResponse>, Status>
Lists all operations in a project in a specific zone or all zones.
pub async fn get_operation(
&mut self,
request: impl IntoRequest<GetOperationRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<GetOperationRequest>
) -> Result<Response<Operation>, Status>
Gets the specified operation.
pub async fn cancel_operation(
&mut self,
request: impl IntoRequest<CancelOperationRequest>
) -> Result<Response<()>, Status>
[src]
&mut self,
request: impl IntoRequest<CancelOperationRequest>
) -> Result<Response<()>, Status>
Cancels the specified operation.
pub async fn get_server_config(
&mut self,
request: impl IntoRequest<GetServerConfigRequest>
) -> Result<Response<ServerConfig>, Status>
[src]
&mut self,
request: impl IntoRequest<GetServerConfigRequest>
) -> Result<Response<ServerConfig>, Status>
Returns configuration info about the Google Kubernetes Engine service.
pub async fn get_json_web_keys(
&mut self,
request: impl IntoRequest<GetJsonWebKeysRequest>
) -> Result<Response<GetJsonWebKeysResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<GetJsonWebKeysRequest>
) -> Result<Response<GetJsonWebKeysResponse>, Status>
Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.
pub async fn list_node_pools(
&mut self,
request: impl IntoRequest<ListNodePoolsRequest>
) -> Result<Response<ListNodePoolsResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListNodePoolsRequest>
) -> Result<Response<ListNodePoolsResponse>, Status>
Lists the node pools for a cluster.
pub async fn get_node_pool(
&mut self,
request: impl IntoRequest<GetNodePoolRequest>
) -> Result<Response<NodePool>, Status>
[src]
&mut self,
request: impl IntoRequest<GetNodePoolRequest>
) -> Result<Response<NodePool>, Status>
Retrieves the requested node pool.
pub async fn create_node_pool(
&mut self,
request: impl IntoRequest<CreateNodePoolRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<CreateNodePoolRequest>
) -> Result<Response<Operation>, Status>
Creates a node pool for a cluster.
pub async fn delete_node_pool(
&mut self,
request: impl IntoRequest<DeleteNodePoolRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<DeleteNodePoolRequest>
) -> Result<Response<Operation>, Status>
Deletes a node pool from a cluster.
pub async fn rollback_node_pool_upgrade(
&mut self,
request: impl IntoRequest<RollbackNodePoolUpgradeRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<RollbackNodePoolUpgradeRequest>
) -> Result<Response<Operation>, Status>
Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.
pub async fn set_node_pool_management(
&mut self,
request: impl IntoRequest<SetNodePoolManagementRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<SetNodePoolManagementRequest>
) -> Result<Response<Operation>, Status>
Sets the NodeManagement options for a node pool.
pub async fn set_labels(
&mut self,
request: impl IntoRequest<SetLabelsRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<SetLabelsRequest>
) -> Result<Response<Operation>, Status>
Sets labels on a cluster.
pub async fn set_legacy_abac(
&mut self,
request: impl IntoRequest<SetLegacyAbacRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<SetLegacyAbacRequest>
) -> Result<Response<Operation>, Status>
Enables or disables the ABAC authorization mechanism on a cluster.
pub async fn start_ip_rotation(
&mut self,
request: impl IntoRequest<StartIpRotationRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<StartIpRotationRequest>
) -> Result<Response<Operation>, Status>
Starts master IP rotation.
pub async fn complete_ip_rotation(
&mut self,
request: impl IntoRequest<CompleteIpRotationRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<CompleteIpRotationRequest>
) -> Result<Response<Operation>, Status>
Completes master IP rotation.
pub async fn set_node_pool_size(
&mut self,
request: impl IntoRequest<SetNodePoolSizeRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<SetNodePoolSizeRequest>
) -> Result<Response<Operation>, Status>
Sets the size for a specific node pool.
pub async fn set_network_policy(
&mut self,
request: impl IntoRequest<SetNetworkPolicyRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<SetNetworkPolicyRequest>
) -> Result<Response<Operation>, Status>
Enables or disables Network Policy for a cluster.
pub async fn set_maintenance_policy(
&mut self,
request: impl IntoRequest<SetMaintenancePolicyRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<SetMaintenancePolicyRequest>
) -> Result<Response<Operation>, Status>
Sets the maintenance policy for a cluster.
pub async fn list_usable_subnetworks(
&mut self,
request: impl IntoRequest<ListUsableSubnetworksRequest>
) -> Result<Response<ListUsableSubnetworksResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListUsableSubnetworksRequest>
) -> Result<Response<ListUsableSubnetworksResponse>, Status>
Lists subnetworks that are usable for creating clusters in a project.
Trait Implementations
impl<T: Clone> Clone for ClusterManagerClient<T>
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Debug for ClusterManagerClient<T>
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for ClusterManagerClient<T>
impl<T> Send for ClusterManagerClient<T> where
T: Send,
T: Send,
impl<T> Sync for ClusterManagerClient<T> where
T: Sync,
T: Sync,
impl<T> Unpin for ClusterManagerClient<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for ClusterManagerClient<T>
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,