...

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

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

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

View as plain text