...

Source file src/edge-infra.dev/pkg/edge/apis/sequel/k8s/v1alpha2/zz_generated.deepcopy.go

Documentation: edge-infra.dev/pkg/edge/apis/sequel/k8s/v1alpha2

     1  //go:build !ignore_autogenerated
     2  
     3  // Code generated by controller-gen. DO NOT EDIT.
     4  
     5  package v1alpha2
     6  
     7  import (
     8  	"edge-infra.dev/pkg/k8s/runtime/inventory"
     9  	"k8s.io/apimachinery/pkg/apis/meta/v1"
    10  	runtime "k8s.io/apimachinery/pkg/runtime"
    11  )
    12  
    13  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    14  func (in *CommonOptions) DeepCopyInto(out *CommonOptions) {
    15  	*out = *in
    16  	if in.Timeout != nil {
    17  		in, out := &in.Timeout, &out.Timeout
    18  		*out = new(v1.Duration)
    19  		**out = **in
    20  	}
    21  	if in.Interval != nil {
    22  		in, out := &in.Interval, &out.Interval
    23  		*out = new(v1.Duration)
    24  		**out = **in
    25  	}
    26  	if in.RetryInterval != nil {
    27  		in, out := &in.RetryInterval, &out.RetryInterval
    28  		*out = new(v1.Duration)
    29  		**out = **in
    30  	}
    31  }
    32  
    33  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonOptions.
    34  func (in *CommonOptions) DeepCopy() *CommonOptions {
    35  	if in == nil {
    36  		return nil
    37  	}
    38  	out := new(CommonOptions)
    39  	in.DeepCopyInto(out)
    40  	return out
    41  }
    42  
    43  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    44  func (in *DatabaseUser) DeepCopyInto(out *DatabaseUser) {
    45  	*out = *in
    46  	out.TypeMeta = in.TypeMeta
    47  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    48  	in.Spec.DeepCopyInto(&out.Spec)
    49  	in.Status.DeepCopyInto(&out.Status)
    50  }
    51  
    52  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseUser.
    53  func (in *DatabaseUser) DeepCopy() *DatabaseUser {
    54  	if in == nil {
    55  		return nil
    56  	}
    57  	out := new(DatabaseUser)
    58  	in.DeepCopyInto(out)
    59  	return out
    60  }
    61  
    62  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    63  func (in *DatabaseUser) DeepCopyObject() runtime.Object {
    64  	if c := in.DeepCopy(); c != nil {
    65  		return c
    66  	}
    67  	return nil
    68  }
    69  
    70  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    71  func (in *DatabaseUserList) DeepCopyInto(out *DatabaseUserList) {
    72  	*out = *in
    73  	out.TypeMeta = in.TypeMeta
    74  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    75  	if in.Items != nil {
    76  		in, out := &in.Items, &out.Items
    77  		*out = make([]DatabaseUser, len(*in))
    78  		for i := range *in {
    79  			(*in)[i].DeepCopyInto(&(*out)[i])
    80  		}
    81  	}
    82  }
    83  
    84  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseUserList.
    85  func (in *DatabaseUserList) DeepCopy() *DatabaseUserList {
    86  	if in == nil {
    87  		return nil
    88  	}
    89  	out := new(DatabaseUserList)
    90  	in.DeepCopyInto(out)
    91  	return out
    92  }
    93  
    94  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    95  func (in *DatabaseUserList) DeepCopyObject() runtime.Object {
    96  	if c := in.DeepCopy(); c != nil {
    97  		return c
    98  	}
    99  	return nil
   100  }
   101  
   102  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   103  func (in *Dependents) DeepCopyInto(out *Dependents) {
   104  	*out = *in
   105  	out.GVK = in.GVK
   106  	out.ObjectReference = in.ObjectReference
   107  }
   108  
   109  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dependents.
   110  func (in *Dependents) DeepCopy() *Dependents {
   111  	if in == nil {
   112  		return nil
   113  	}
   114  	out := new(Dependents)
   115  	in.DeepCopyInto(out)
   116  	return out
   117  }
   118  
   119  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   120  func (in *Grant) DeepCopyInto(out *Grant) {
   121  	*out = *in
   122  	if in.TableGrant != nil {
   123  		in, out := &in.TableGrant, &out.TableGrant
   124  		*out = make([]TableGrant, len(*in))
   125  		for i := range *in {
   126  			(*in)[i].DeepCopyInto(&(*out)[i])
   127  		}
   128  	}
   129  }
   130  
   131  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Grant.
   132  func (in *Grant) DeepCopy() *Grant {
   133  	if in == nil {
   134  		return nil
   135  	}
   136  	out := new(Grant)
   137  	in.DeepCopyInto(out)
   138  	return out
   139  }
   140  
   141  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   142  func (in *GroupVersionKind) DeepCopyInto(out *GroupVersionKind) {
   143  	*out = *in
   144  }
   145  
   146  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionKind.
   147  func (in *GroupVersionKind) DeepCopy() *GroupVersionKind {
   148  	if in == nil {
   149  		return nil
   150  	}
   151  	out := new(GroupVersionKind)
   152  	in.DeepCopyInto(out)
   153  	return out
   154  }
   155  
   156  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   157  func (in *InstanceReference) DeepCopyInto(out *InstanceReference) {
   158  	*out = *in
   159  }
   160  
   161  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceReference.
   162  func (in *InstanceReference) DeepCopy() *InstanceReference {
   163  	if in == nil {
   164  		return nil
   165  	}
   166  	out := new(InstanceReference)
   167  	in.DeepCopyInto(out)
   168  	return out
   169  }
   170  
   171  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   172  func (in *PasswordReference) DeepCopyInto(out *PasswordReference) {
   173  	*out = *in
   174  }
   175  
   176  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordReference.
   177  func (in *PasswordReference) DeepCopy() *PasswordReference {
   178  	if in == nil {
   179  		return nil
   180  	}
   181  	out := new(PasswordReference)
   182  	in.DeepCopyInto(out)
   183  	return out
   184  }
   185  
   186  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   187  func (in *Permissions) DeepCopyInto(out *Permissions) {
   188  	*out = *in
   189  }
   190  
   191  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Permissions.
   192  func (in *Permissions) DeepCopy() *Permissions {
   193  	if in == nil {
   194  		return nil
   195  	}
   196  	out := new(Permissions)
   197  	in.DeepCopyInto(out)
   198  	return out
   199  }
   200  
   201  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   202  func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount) {
   203  	*out = *in
   204  }
   205  
   206  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount.
   207  func (in *ServiceAccount) DeepCopy() *ServiceAccount {
   208  	if in == nil {
   209  		return nil
   210  	}
   211  	out := new(ServiceAccount)
   212  	in.DeepCopyInto(out)
   213  	return out
   214  }
   215  
   216  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   217  func (in *TableGrant) DeepCopyInto(out *TableGrant) {
   218  	*out = *in
   219  	if in.Permissions != nil {
   220  		in, out := &in.Permissions, &out.Permissions
   221  		*out = make([]Permissions, len(*in))
   222  		copy(*out, *in)
   223  	}
   224  }
   225  
   226  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableGrant.
   227  func (in *TableGrant) DeepCopy() *TableGrant {
   228  	if in == nil {
   229  		return nil
   230  	}
   231  	out := new(TableGrant)
   232  	in.DeepCopyInto(out)
   233  	return out
   234  }
   235  
   236  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   237  func (in *UserSpec) DeepCopyInto(out *UserSpec) {
   238  	*out = *in
   239  	in.CommonOptions.DeepCopyInto(&out.CommonOptions)
   240  	out.InstanceRef = in.InstanceRef
   241  	if in.PasswordRef != nil {
   242  		in, out := &in.PasswordRef, &out.PasswordRef
   243  		*out = new(PasswordReference)
   244  		**out = **in
   245  	}
   246  	if in.ServiceAccount != nil {
   247  		in, out := &in.ServiceAccount, &out.ServiceAccount
   248  		*out = new(ServiceAccount)
   249  		**out = **in
   250  	}
   251  	if in.Grants != nil {
   252  		in, out := &in.Grants, &out.Grants
   253  		*out = make([]Grant, len(*in))
   254  		for i := range *in {
   255  			(*in)[i].DeepCopyInto(&(*out)[i])
   256  		}
   257  	}
   258  	if in.DependsOn != nil {
   259  		in, out := &in.DependsOn, &out.DependsOn
   260  		*out = make([]Dependents, len(*in))
   261  		copy(*out, *in)
   262  	}
   263  }
   264  
   265  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
   266  func (in *UserSpec) DeepCopy() *UserSpec {
   267  	if in == nil {
   268  		return nil
   269  	}
   270  	out := new(UserSpec)
   271  	in.DeepCopyInto(out)
   272  	return out
   273  }
   274  
   275  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   276  func (in *UserStatus) DeepCopyInto(out *UserStatus) {
   277  	*out = *in
   278  	if in.Conditions != nil {
   279  		in, out := &in.Conditions, &out.Conditions
   280  		*out = make([]v1.Condition, len(*in))
   281  		for i := range *in {
   282  			(*in)[i].DeepCopyInto(&(*out)[i])
   283  		}
   284  	}
   285  	if in.Inventory != nil {
   286  		in, out := &in.Inventory, &out.Inventory
   287  		*out = new(inventory.ResourceInventory)
   288  		(*in).DeepCopyInto(*out)
   289  	}
   290  	out.RequestStatus = in.RequestStatus
   291  }
   292  
   293  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.
   294  func (in *UserStatus) DeepCopy() *UserStatus {
   295  	if in == nil {
   296  		return nil
   297  	}
   298  	out := new(UserStatus)
   299  	in.DeepCopyInto(out)
   300  	return out
   301  }
   302  

View as plain text