Class Sidecar
Sidecars run alongside the Task's step containers.
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v2.Data
Assembly: Google.Apis.CloudBuild.v2.dll
Syntax
public class Sidecar : IDirectResponseSchema
Properties
Args
Arguments to the entrypoint.
Declaration
[JsonProperty("args")]
public virtual IList<string> Args { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Command
Entrypoint array.
Declaration
[JsonProperty("command")]
public virtual IList<string> Command { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Env
List of environment variables to set in the container.
Declaration
[JsonProperty("env")]
public virtual IList<EnvVar> Env { get; set; }
Property Value
Type | Description |
---|---|
IList<EnvVar> |
Image
Docker image name.
Declaration
[JsonProperty("image")]
public virtual string Image { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Name of the Sidecar.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ReadinessProbe
Optional. Periodic probe of Sidecar service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
Declaration
[JsonProperty("readinessProbe")]
public virtual Probe ReadinessProbe { get; set; }
Property Value
Type | Description |
---|---|
Probe |
Script
The contents of an executable file to execute.
Declaration
[JsonProperty("script")]
public virtual string Script { get; set; }
Property Value
Type | Description |
---|---|
string |
SecurityContext
Optional. Security options the container should be run with.
Declaration
[JsonProperty("securityContext")]
public virtual SecurityContext SecurityContext { get; set; }
Property Value
Type | Description |
---|---|
SecurityContext |
VolumeMounts
Pod volumes to mount into the container's filesystem.
Declaration
[JsonProperty("volumeMounts")]
public virtual IList<VolumeMount> VolumeMounts { get; set; }
Property Value
Type | Description |
---|---|
IList<VolumeMount> |
WorkingDir
Container's working directory.
Declaration
[JsonProperty("workingDir")]
public virtual string WorkingDir { get; set; }
Property Value
Type | Description |
---|---|
string |