Skip to content

Commit

Permalink
chore: remove pendingmessage functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Jan 5, 2024
1 parent 0e99812 commit f1317d0
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 1,137 deletions.
5 changes: 2 additions & 3 deletions apis/lagoon/v1beta1/lagoonbuild_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,8 @@ type LagoonBuild struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`

Spec LagoonBuildSpec `json:"spec,omitempty"`
Status LagoonBuildStatus `json:"status,omitempty"`
StatusMessages *LagoonStatusMessages `json:"statusMessages,omitempty"`
Spec LagoonBuildSpec `json:"spec,omitempty"`
Status LagoonBuildStatus `json:"status,omitempty"`
}

// +kubebuilder:object:root=true
Expand Down
9 changes: 0 additions & 9 deletions apis/lagoon/v1beta1/lagoonmessaging_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,4 @@ type LagoonMessage struct {
Type string `json:"type,omitempty"`
Namespace string `json:"namespace,omitempty"`
Meta *LagoonLogMeta `json:"meta,omitempty"`
// BuildInfo *LagoonBuildInfo `json:"buildInfo,omitempty"`
}

// LagoonStatusMessages is where unsent messages are stored for re-sending.
type LagoonStatusMessages struct {
StatusMessage *LagoonLog `json:"statusMessage,omitempty"`
BuildLogMessage *LagoonLog `json:"buildLogMessage,omitempty"`
TaskLogMessage *LagoonLog `json:"taskLogMessage,omitempty"`
EnvironmentMessage *LagoonMessage `json:"environmentMessage,omitempty"`
}
5 changes: 2 additions & 3 deletions apis/lagoon/v1beta1/lagoontask_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,8 @@ type LagoonTask struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`

Spec LagoonTaskSpec `json:"spec,omitempty"`
Status LagoonTaskStatus `json:"status,omitempty"`
StatusMessages *LagoonStatusMessages `json:"statusMessages,omitempty"`
Spec LagoonTaskSpec `json:"spec,omitempty"`
Status LagoonTaskStatus `json:"status,omitempty"`
}

// +kubebuilder:object:root=true
Expand Down
45 changes: 0 additions & 45 deletions apis/lagoon/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f1317d0

Please sign in to comment.