...

Source file src/github.com/openshift/api/monitoring/v1alpha1/zz_generated.deepcopy.go

Documentation: github.com/openshift/api/monitoring/v1alpha1

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

View as plain text