//go:build !ignore_autogenerated // +build !ignore_autogenerated // Code generated by deepcopy-gen. DO NOT EDIT. package v1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AlertRelabelConfig) DeepCopyInto(out *AlertRelabelConfig) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRelabelConfig. func (in *AlertRelabelConfig) DeepCopy() *AlertRelabelConfig { if in == nil { return nil } out := new(AlertRelabelConfig) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *AlertRelabelConfig) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AlertRelabelConfigList) DeepCopyInto(out *AlertRelabelConfigList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]*AlertRelabelConfig, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(AlertRelabelConfig) (*in).DeepCopyInto(*out) } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRelabelConfigList. func (in *AlertRelabelConfigList) DeepCopy() *AlertRelabelConfigList { if in == nil { return nil } out := new(AlertRelabelConfigList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *AlertRelabelConfigList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AlertRelabelConfigSpec) DeepCopyInto(out *AlertRelabelConfigSpec) { *out = *in if in.Configs != nil { in, out := &in.Configs, &out.Configs *out = make([]RelabelConfig, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRelabelConfigSpec. func (in *AlertRelabelConfigSpec) DeepCopy() *AlertRelabelConfigSpec { if in == nil { return nil } out := new(AlertRelabelConfigSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AlertRelabelConfigStatus) DeepCopyInto(out *AlertRelabelConfigStatus) { *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]metav1.Condition, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRelabelConfigStatus. func (in *AlertRelabelConfigStatus) DeepCopy() *AlertRelabelConfigStatus { if in == nil { return nil } out := new(AlertRelabelConfigStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AlertingRule) DeepCopyInto(out *AlertingRule) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) out.Status = in.Status return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertingRule. func (in *AlertingRule) DeepCopy() *AlertingRule { if in == nil { return nil } out := new(AlertingRule) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *AlertingRule) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AlertingRuleList) DeepCopyInto(out *AlertingRuleList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]AlertingRule, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertingRuleList. func (in *AlertingRuleList) DeepCopy() *AlertingRuleList { if in == nil { return nil } out := new(AlertingRuleList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *AlertingRuleList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AlertingRuleSpec) DeepCopyInto(out *AlertingRuleSpec) { *out = *in if in.Groups != nil { in, out := &in.Groups, &out.Groups *out = make([]RuleGroup, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertingRuleSpec. func (in *AlertingRuleSpec) DeepCopy() *AlertingRuleSpec { if in == nil { return nil } out := new(AlertingRuleSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AlertingRuleStatus) DeepCopyInto(out *AlertingRuleStatus) { *out = *in out.PrometheusRule = in.PrometheusRule return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertingRuleStatus. func (in *AlertingRuleStatus) DeepCopy() *AlertingRuleStatus { if in == nil { return nil } out := new(AlertingRuleStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PrometheusRuleRef) DeepCopyInto(out *PrometheusRuleRef) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRuleRef. func (in *PrometheusRuleRef) DeepCopy() *PrometheusRuleRef { if in == nil { return nil } out := new(PrometheusRuleRef) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RelabelConfig) DeepCopyInto(out *RelabelConfig) { *out = *in if in.SourceLabels != nil { in, out := &in.SourceLabels, &out.SourceLabels *out = make([]LabelName, len(*in)) copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RelabelConfig. func (in *RelabelConfig) DeepCopy() *RelabelConfig { if in == nil { return nil } out := new(RelabelConfig) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Rule) DeepCopyInto(out *Rule) { *out = *in out.Expr = in.Expr if in.Labels != nil { in, out := &in.Labels, &out.Labels *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule. func (in *Rule) DeepCopy() *Rule { if in == nil { return nil } out := new(Rule) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RuleGroup) DeepCopyInto(out *RuleGroup) { *out = *in if in.Rules != nil { in, out := &in.Rules, &out.Rules *out = make([]Rule, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroup. func (in *RuleGroup) DeepCopy() *RuleGroup { if in == nil { return nil } out := new(RuleGroup) in.DeepCopyInto(out) return out }