mirror of
https://github.com/grafana/grafana.git
synced 2025-01-26 08:16:59 -06:00
38 lines
1.0 KiB
Go
38 lines
1.0 KiB
Go
package resource
|
|
|
|
import (
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// This object is written when an object is deleted
|
|
type DeletedMarker struct {
|
|
metav1.TypeMeta `json:",inline"`
|
|
metav1.ObjectMeta `json:"metadata,omitempty"`
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DeletedMarker) DeepCopyInto(out *DeletedMarker) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeletedMarker.
|
|
func (in *DeletedMarker) DeepCopy() *DeletedMarker {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeletedMarker)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DeletedMarker) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|