pub struct WorkerPool {
pub api_version: Option<String>,
pub kind: Option<String>,
pub metadata: Option<ObjectMeta>,
pub spec: Option<WorkerPoolSpec>,
pub status: Option<WorkerPoolStatus>,
}Expand description
WorkerPool acts as a top-level container that manages a set instance splits among a set of Revisions and a template for creating new Revisions.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- workerpools create namespaces (request|response)
- workerpools get namespaces (response)
- workerpools replace worker pool namespaces (request|response)
Fields§
§api_version: Option<String>The API version for this call. It must be “run.googleapis.com/v1”.
kind: Option<String>The kind of resource. It must be “WorkerPool”.
metadata: Option<ObjectMeta>Metadata associated with this WorkerPool, including name, namespace, labels, and annotations. In Cloud Run, annotations with ‘run.googleapis.com/’ and ‘autoscaling.knative.dev’ are restricted, and the accepted annotations will be different depending on the resource type. The following Cloud Run-specific annotations are accepted in WorkerPool.metadata.annotations. * run.googleapis.com/binary-authorization-breakglass * run.googleapis.com/binary-authorization * run.googleapis.com/client-name * run.googleapis.com/description
spec: Option<WorkerPoolSpec>Holds the desired state of the WorkerPool (from the client).
status: Option<WorkerPoolStatus>Communicates the system-controlled state of the WorkerPool.
Trait Implementations§
Source§impl Clone for WorkerPool
impl Clone for WorkerPool
Source§fn clone(&self) -> WorkerPool
fn clone(&self) -> WorkerPool
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more