Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove pendingmessage functionality #246

Merged
merged 5 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading