regenerate

This commit is contained in:
Jakub Kabza
2019-09-05 10:00:59 +02:00
parent f23d332653
commit ff1f11b18f
4 changed files with 32 additions and 6 deletions

View File

@ -65,16 +65,16 @@ type OAuth2ClientStatus struct {
// ClientID is the id for this client.
ClientID *string `json:"clientID,omitempty"`
// ObservedGeneration represents the most recent generation observed by the daemon set controller.
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
ReconciliationError ReconciliationError
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
ReconciliationError ReconciliationError `json:"reconciliationError,omitempty"`
}
// ReconciliationError represents an error that occurred during the reconciliation process
type ReconciliationError struct {
// Code is the status code of the reconciliation error
Code StatusCode
Code StatusCode `json:"statusCode,omitempty"`
// Description is the description of the reconciliation error
Description string
Description string `json:"description,omitempty"`
}
// +kubebuilder:object:root=true

View File

@ -120,6 +120,7 @@ func (in *OAuth2ClientStatus) DeepCopyInto(out *OAuth2ClientStatus) {
*out = new(string)
**out = **in
}
out.ReconciliationError = in.ReconciliationError
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuth2ClientStatus.
@ -131,3 +132,18 @@ func (in *OAuth2ClientStatus) DeepCopy() *OAuth2ClientStatus {
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ReconciliationError) DeepCopyInto(out *ReconciliationError) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReconciliationError.
func (in *ReconciliationError) DeepCopy() *ReconciliationError {
if in == nil {
return nil
}
out := new(ReconciliationError)
in.DeepCopyInto(out)
return out
}