...

Source file src/edge-infra.dev/pkg/sds/display/k8s/apis/v1/zz_generated.deepcopy.go

Documentation: edge-infra.dev/pkg/sds/display/k8s/apis/v1

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

View as plain text