Skip to content

Commit

Permalink
remove unused example comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Nov 22, 2024
1 parent 8c86c12 commit 95b87f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
8 changes: 0 additions & 8 deletions models/v1/job_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,18 @@ type JobStatus struct {
//
// required: true
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
Created time.Time `json:"created"`

// Started timestamp
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
Started *time.Time `json:"started"`

// Ended timestamp
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
Ended *time.Time `json:"ended"`

// Status of the job
Expand Down Expand Up @@ -74,7 +71,6 @@ type JobStatus struct {
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
Updated *time.Time `json:"updated"`

// The number of times the container for the job has failed.
Expand Down Expand Up @@ -107,28 +103,24 @@ type PodStatus struct {
//
// required: true
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
Created time.Time `json:"created,omitempty"`

// The time at which the batch job's pod startedAt
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
StartTime *time.Time `json:"startTime,omitempty"`

// The time at which the batch job's pod finishedAt.
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
EndTime *time.Time `json:"endTime,omitempty"`

// Container started timestamp
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
ContainerStarted *time.Time `json:"containerStarted,omitempty"`

// Status describes the component container status
Expand Down
10 changes: 0 additions & 10 deletions models/v2/batch_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,18 @@ type RadixBatch struct {
//
// required: true
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
CreationTime time.Time `json:"creationTime"`

// Started timestamp
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
Started *time.Time `json:"started"`

// Ended timestamp
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
Ended *time.Time `json:"ended"`

// Status of the job
Expand Down Expand Up @@ -78,7 +75,6 @@ type RadixBatchJobStatus struct {
//
// required: true
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
CreationTime time.Time `json:"creationTime"`

// JobId Optional ID of a job
Expand All @@ -91,14 +87,12 @@ type RadixBatchJobStatus struct {
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
Started *time.Time `json:"started"`

// Ended timestamp
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
Ended *time.Time `json:"ended"`

// Status of the job
Expand Down Expand Up @@ -139,28 +133,24 @@ type RadixBatchJobPodStatus struct {
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
Created time.Time `json:"created"`

// The time at which the batch job's pod startedAt
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
StartTime *time.Time `json:"startTime"`

// The time at which the batch job's pod finishedAt.
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
EndTime *time.Time `json:"endTime"`

// Container started timestamp
//
// required: false
// swagger:strfmt date-time
// example: 2006-01-02T15:04:05Z
ContainerStarted *time.Time `json:"containerStarted"`

// Status describes the component container status
Expand Down

0 comments on commit 95b87f7

Please sign in to comment.