Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RadixBatch ¶
type RadixBatch struct { // Name of the Radix batch // required: true Name string `json:"name"` // Radix batch creation timestamp // // required: true CreationTime string `json:"creationTime"` // Started timestamp // // required: false // example: 2006-01-02T15:04:05Z Started string `json:"started,omitempty"` // Ended timestamp // // required: false // example: 2006-01-02T15:04:05Z Ended string `json:"ended,omitempty"` // Status of the job // // required: false // Enum: Running,Succeeded,Failed,Waiting,Stopping,Stopped,Active,Completed // example: Waiting Status radixv1.RadixBatchJobApiStatus `json:"status,omitempty"` // JobStatuses of the Radix batch jobs // required: false JobStatuses []RadixBatchJobStatus `json:"jobStatuses,omitempty"` // Status message, if any, of the job // // required: false // example: "Error occurred" Message string `json:"message,omitempty"` // BatchType Single job or multiple jobs batch // // required: true // example: "job" BatchType string `json:"batchType"` // DeploymentName of this batch // // required: false DeploymentName string }
RadixBatch holds general information about batch status
type RadixBatchJobPodStatus ¶ added in v1.9.2
type RadixBatchJobPodStatus struct { // Pod name // // required: true // example: server-78fc8857c4-hm76l Name string `json:"name"` // Created timestamp // // required: false // example: 2006-01-02T15:04:05Z Created string `json:"created,omitempty"` // The time at which the batch job's pod startedAt // // required: false // example: 2006-01-02T15:04:05Z StartTime string `json:"startTime,omitempty"` // The time at which the batch job's pod finishedAt. // // required: false // example: 2006-01-02T15:04:05Z EndTime string `json:"endTime,omitempty"` // Container started timestamp // // required: false // example: 2006-01-02T15:04:05Z ContainerStarted string `json:"containerStarted,omitempty"` // Status describes the component container status // // required: false Status ReplicaStatus `json:"replicaStatus,omitempty"` // StatusMessage provides message describing the status of a component container inside a pod // // required: false StatusMessage string `json:"statusMessage,omitempty"` // RestartCount count of restarts of a component container inside a pod // // required: false RestartCount int32 `json:"restartCount,omitempty"` // The image the container is running. // // required: false // example: radixdev.azurecr.io/app-server:cdgkg Image string `json:"image,omitempty"` // ImageID of the container's image. // // required: false // example: radixdev.azurecr.io/app-server@sha256:d40cda01916ef63da3607c03785efabc56eb2fc2e0dab0726b1a843e9ded093f ImageId string `json:"imageId,omitempty"` // The index of the pod in the re-starts PodIndex int `json:"podIndex,omitempty"` // Exit status from the last termination of the container ExitCode int32 `json:"exitCode"` // A brief CamelCase message indicating details about why the job is in this phase Reason string `json:"reason,omitempty"` }
RadixBatchJobPodStatus contains details for the current status of the job's pods.
type RadixBatchJobStatus ¶
type RadixBatchJobStatus struct { // Name of the Radix batch job // required: true Name string `json:"name"` // Radix batch job creation timestamp // // required: true CreationTime string `json:"creationTime"` // JobId Optional ID of a job // // required: false // example: 'job1' JobId string `json:"jobId,omitempty"` // Started timestamp // // required: false // example: 2006-01-02T15:04:05Z Started string `json:"started,omitempty"` // Ended timestamp // // required: false // example: 2006-01-02T15:04:05Z Ended string `json:"ended,omitempty"` // Status of the job // // required: false // Enum: Waiting,Running,Succeeded,Stopping,Stopped,Failed,Completed // example: Waiting Status radixv1.RadixBatchJobApiStatus `json:"status,omitempty"` // Status message, if any, of the job // // required: false // example: "Error occurred" Message string `json:"message,omitempty"` // The number of times the container for the job has failed. // +optional Failed int32 `json:"failed,omitempty"` // Timestamp of the job restart, if applied. // +optional Restart string `json:"restart,omitempty"` // PodStatuses for each pod of the job // required: false PodStatuses []RadixBatchJobPodStatus `json:"podStatuses,omitempty"` }
RadixBatchJobStatus holds general information about batch job status
type ReplicaStatus ¶ added in v1.9.2
type ReplicaStatus struct { // Status of the container // - Pending = Container in Waiting state and the reason is ContainerCreating // - Failed = Container is failed // - Failing = Container is failed // - Running = Container in Running state // - Succeeded = Container in Succeeded state // - Terminated = Container in Terminated state // // required: true // enum: Pending,Succeeded,Failing,Failed,Running,Terminated,Starting // example: Running Status string `json:"status"` }
ReplicaStatus describes the status of a component container inside a pod
Click to show internal directories.
Click to hide internal directories.