mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix: Generate new types
This commit is contained in:
@@ -10,10 +10,10 @@ type Authentication struct {
|
||||
// +kubebuilder:validation:Optional
|
||||
ServiceToken ServiceTokenDetails `json:"serviceToken"`
|
||||
// +kubebuilder:validation:Optional
|
||||
UniversalAuthMachineIdentity UniversalAuthMachineIdentityDetails `json:"universalAuthMachineIdentity"`
|
||||
UniversalAuth UniversalAuthDetails `json:"universalAuth"`
|
||||
}
|
||||
|
||||
type UniversalAuthMachineIdentityDetails struct {
|
||||
type UniversalAuthDetails struct {
|
||||
// +kubebuilder:validation:Required
|
||||
Credentials KubeSecretReference `json:"credentials"`
|
||||
// +kubebuilder:validation:Required
|
||||
|
||||
@@ -31,7 +31,7 @@ func (in *Authentication) DeepCopyInto(out *Authentication) {
|
||||
*out = *in
|
||||
out.ServiceAccount = in.ServiceAccount
|
||||
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.
|
||||
@@ -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.
|
||||
func (in *UniversalAuthMachineIdentityDetails) DeepCopyInto(out *UniversalAuthMachineIdentityDetails) {
|
||||
func (in *UniversalAuthDetails) DeepCopyInto(out *UniversalAuthDetails) {
|
||||
*out = *in
|
||||
out.Credentials = in.Credentials
|
||||
out.SecretsScope = in.SecretsScope
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UniversalAuthMachineIdentityDetails.
|
||||
func (in *UniversalAuthMachineIdentityDetails) DeepCopy() *UniversalAuthMachineIdentityDetails {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UniversalAuthDetails.
|
||||
func (in *UniversalAuthDetails) DeepCopy() *UniversalAuthDetails {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(UniversalAuthMachineIdentityDetails)
|
||||
out := new(UniversalAuthDetails)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user