From ab8c95eff5c1228237f758d3ccfc99c751f713f7 Mon Sep 17 00:00:00 2001 From: Kiran Kamineni Date: Wed, 31 Jul 2019 15:32:28 -0700 Subject: Adding monitor operator to monitor edge resources Add an operator to monitor resources at the edge location. The operator listens to pods and services right now and stores their information in a CustomResource Issue-ID: MULTICLOUD-675 Change-Id: I801478a77fcd019010ea1b4388d6077f63b89d05 Signed-off-by: Kiran Kamineni --- .../k8splugin/v1alpha1/zz_generated.deepcopy.go | 141 +++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 src/monitor/pkg/apis/k8splugin/v1alpha1/zz_generated.deepcopy.go (limited to 'src/monitor/pkg/apis/k8splugin/v1alpha1/zz_generated.deepcopy.go') diff --git a/src/monitor/pkg/apis/k8splugin/v1alpha1/zz_generated.deepcopy.go b/src/monitor/pkg/apis/k8splugin/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 00000000..72036ed1 --- /dev/null +++ b/src/monitor/pkg/apis/k8splugin/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,141 @@ +// +build !ignore_autogenerated + +// Code generated by operator-sdk-v0.9.0-x86_64-linux-gnu. DO NOT EDIT. + +package v1alpha1 + +import ( + corev1 "k8s.io/api/core/v1" + v1 "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 *PodStatus) DeepCopyInto(out *PodStatus) { + *out = *in + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Status.DeepCopyInto(&out.Status) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. +func (in *PodStatus) DeepCopy() *PodStatus { + if in == nil { + return nil + } + out := new(PodStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourceBundleState) DeepCopyInto(out *ResourceBundleState) { + *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 ResourceBundleState. +func (in *ResourceBundleState) DeepCopy() *ResourceBundleState { + if in == nil { + return nil + } + out := new(ResourceBundleState) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ResourceBundleState) 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 *ResourceBundleStateList) DeepCopyInto(out *ResourceBundleStateList) { + *out = *in + out.TypeMeta = in.TypeMeta + out.ListMeta = in.ListMeta + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ResourceBundleState, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceBundleStateList. +func (in *ResourceBundleStateList) DeepCopy() *ResourceBundleStateList { + if in == nil { + return nil + } + out := new(ResourceBundleStateList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ResourceBundleStateList) 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 *ResourceBundleStateSpec) DeepCopyInto(out *ResourceBundleStateSpec) { + *out = *in + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(v1.LabelSelector) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceBundleStateSpec. +func (in *ResourceBundleStateSpec) DeepCopy() *ResourceBundleStateSpec { + if in == nil { + return nil + } + out := new(ResourceBundleStateSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourceBundleStatus) DeepCopyInto(out *ResourceBundleStatus) { + *out = *in + if in.PodStatuses != nil { + in, out := &in.PodStatuses, &out.PodStatuses + *out = make([]PodStatus, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ServiceStatuses != nil { + in, out := &in.ServiceStatuses, &out.ServiceStatuses + *out = make([]corev1.Service, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceBundleStatus. +func (in *ResourceBundleStatus) DeepCopy() *ResourceBundleStatus { + if in == nil { + return nil + } + out := new(ResourceBundleStatus) + in.DeepCopyInto(out) + return out +} -- cgit 1.2.3-korg