mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 05:27:48 +00:00
Fix: Generate new types
This commit is contained in:
@@ -10,10 +10,10 @@ type Authentication struct {
|
|||||||
// +kubebuilder:validation:Optional
|
// +kubebuilder:validation:Optional
|
||||||
ServiceToken ServiceTokenDetails `json:"serviceToken"`
|
ServiceToken ServiceTokenDetails `json:"serviceToken"`
|
||||||
// +kubebuilder:validation:Optional
|
// +kubebuilder:validation:Optional
|
||||||
UniversalAuthMachineIdentity UniversalAuthMachineIdentityDetails `json:"universalAuthMachineIdentity"`
|
UniversalAuth UniversalAuthDetails `json:"universalAuth"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UniversalAuthMachineIdentityDetails struct {
|
type UniversalAuthDetails struct {
|
||||||
// +kubebuilder:validation:Required
|
// +kubebuilder:validation:Required
|
||||||
Credentials KubeSecretReference `json:"credentials"`
|
Credentials KubeSecretReference `json:"credentials"`
|
||||||
// +kubebuilder:validation:Required
|
// +kubebuilder:validation:Required
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ func (in *Authentication) DeepCopyInto(out *Authentication) {
|
|||||||
*out = *in
|
*out = *in
|
||||||
out.ServiceAccount = in.ServiceAccount
|
out.ServiceAccount = in.ServiceAccount
|
||||||
out.ServiceToken = in.ServiceToken
|
out.ServiceToken = in.ServiceToken
|
||||||
out.UniversalAuthMachineIdentity = in.UniversalAuthMachineIdentity
|
out.UniversalAuth = in.UniversalAuth
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Authentication.
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Authentication.
|
||||||
@@ -237,18 +237,18 @@ func (in *ServiceTokenDetails) DeepCopy() *ServiceTokenDetails {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
func (in *UniversalAuthMachineIdentityDetails) DeepCopyInto(out *UniversalAuthMachineIdentityDetails) {
|
func (in *UniversalAuthDetails) DeepCopyInto(out *UniversalAuthDetails) {
|
||||||
*out = *in
|
*out = *in
|
||||||
out.Credentials = in.Credentials
|
out.Credentials = in.Credentials
|
||||||
out.SecretsScope = in.SecretsScope
|
out.SecretsScope = in.SecretsScope
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UniversalAuthMachineIdentityDetails.
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UniversalAuthDetails.
|
||||||
func (in *UniversalAuthMachineIdentityDetails) DeepCopy() *UniversalAuthMachineIdentityDetails {
|
func (in *UniversalAuthDetails) DeepCopy() *UniversalAuthDetails {
|
||||||
if in == nil {
|
if in == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
out := new(UniversalAuthMachineIdentityDetails)
|
out := new(UniversalAuthDetails)
|
||||||
in.DeepCopyInto(out)
|
in.DeepCopyInto(out)
|
||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user