Rwname firewallrule to firewallpolicy
This commit is contained in:
@@ -240,7 +240,7 @@ func (in *FirewallGroupStatus) DeepCopy() *FirewallGroupStatus {
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *FirewallRule) DeepCopyInto(out *FirewallRule) {
|
||||
func (in *FirewallPolicy) DeepCopyInto(out *FirewallPolicy) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
@@ -248,18 +248,18 @@ func (in *FirewallRule) DeepCopyInto(out *FirewallRule) {
|
||||
in.Status.DeepCopyInto(&out.Status)
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRule.
|
||||
func (in *FirewallRule) DeepCopy() *FirewallRule {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicy.
|
||||
func (in *FirewallPolicy) DeepCopy() *FirewallPolicy {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(FirewallRule)
|
||||
out := new(FirewallPolicy)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *FirewallRule) DeepCopyObject() runtime.Object {
|
||||
func (in *FirewallPolicy) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
@@ -267,46 +267,46 @@ func (in *FirewallRule) DeepCopyObject() runtime.Object {
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *FirewallRuleEntry) DeepCopyInto(out *FirewallRuleEntry) {
|
||||
func (in *FirewallPolicyEntry) DeepCopyInto(out *FirewallPolicyEntry) {
|
||||
*out = *in
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleEntry.
|
||||
func (in *FirewallRuleEntry) DeepCopy() *FirewallRuleEntry {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyEntry.
|
||||
func (in *FirewallPolicyEntry) DeepCopy() *FirewallPolicyEntry {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(FirewallRuleEntry)
|
||||
out := new(FirewallPolicyEntry)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *FirewallRuleList) DeepCopyInto(out *FirewallRuleList) {
|
||||
func (in *FirewallPolicyList) DeepCopyInto(out *FirewallPolicyList) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
||||
if in.Items != nil {
|
||||
in, out := &in.Items, &out.Items
|
||||
*out = make([]FirewallRule, len(*in))
|
||||
*out = make([]FirewallPolicy, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleList.
|
||||
func (in *FirewallRuleList) DeepCopy() *FirewallRuleList {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyList.
|
||||
func (in *FirewallPolicyList) DeepCopy() *FirewallPolicyList {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(FirewallRuleList)
|
||||
out := new(FirewallPolicyList)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *FirewallRuleList) DeepCopyObject() runtime.Object {
|
||||
func (in *FirewallPolicyList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
@@ -314,11 +314,11 @@ func (in *FirewallRuleList) DeepCopyObject() runtime.Object {
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *FirewallRuleResourcesManaged) DeepCopyInto(out *FirewallRuleResourcesManaged) {
|
||||
func (in *FirewallPolicyResourcesManaged) DeepCopyInto(out *FirewallPolicyResourcesManaged) {
|
||||
*out = *in
|
||||
if in.UnifiFirewallRules != nil {
|
||||
in, out := &in.UnifiFirewallRules, &out.UnifiFirewallRules
|
||||
*out = make([]UnifiFirewallRuleEntry, len(*in))
|
||||
if in.UnifiFirewallPolicies != nil {
|
||||
in, out := &in.UnifiFirewallPolicies, &out.UnifiFirewallPolicies
|
||||
*out = make([]UnifiFirewallPolicyEntry, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.FirewallGroups != nil {
|
||||
@@ -328,49 +328,49 @@ func (in *FirewallRuleResourcesManaged) DeepCopyInto(out *FirewallRuleResourcesM
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleResourcesManaged.
|
||||
func (in *FirewallRuleResourcesManaged) DeepCopy() *FirewallRuleResourcesManaged {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyResourcesManaged.
|
||||
func (in *FirewallPolicyResourcesManaged) DeepCopy() *FirewallPolicyResourcesManaged {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(FirewallRuleResourcesManaged)
|
||||
out := new(FirewallPolicyResourcesManaged)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *FirewallRuleSpec) DeepCopyInto(out *FirewallRuleSpec) {
|
||||
func (in *FirewallPolicySpec) DeepCopyInto(out *FirewallPolicySpec) {
|
||||
*out = *in
|
||||
in.Source.DeepCopyInto(&out.Source)
|
||||
in.Destination.DeepCopyInto(&out.Destination)
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleSpec.
|
||||
func (in *FirewallRuleSpec) DeepCopy() *FirewallRuleSpec {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicySpec.
|
||||
func (in *FirewallPolicySpec) DeepCopy() *FirewallPolicySpec {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(FirewallRuleSpec)
|
||||
out := new(FirewallPolicySpec)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *FirewallRuleStatus) DeepCopyInto(out *FirewallRuleStatus) {
|
||||
func (in *FirewallPolicyStatus) DeepCopyInto(out *FirewallPolicyStatus) {
|
||||
*out = *in
|
||||
if in.ResourcesManaged != nil {
|
||||
in, out := &in.ResourcesManaged, &out.ResourcesManaged
|
||||
*out = new(FirewallRuleResourcesManaged)
|
||||
*out = new(FirewallPolicyResourcesManaged)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleStatus.
|
||||
func (in *FirewallRuleStatus) DeepCopy() *FirewallRuleStatus {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyStatus.
|
||||
func (in *FirewallPolicyStatus) DeepCopy() *FirewallPolicyStatus {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(FirewallRuleStatus)
|
||||
out := new(FirewallPolicyStatus)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
@@ -698,16 +698,16 @@ func (in *ServiceEntry) DeepCopy() *ServiceEntry {
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *UnifiFirewallRuleEntry) DeepCopyInto(out *UnifiFirewallRuleEntry) {
|
||||
func (in *UnifiFirewallPolicyEntry) DeepCopyInto(out *UnifiFirewallPolicyEntry) {
|
||||
*out = *in
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnifiFirewallRuleEntry.
|
||||
func (in *UnifiFirewallRuleEntry) DeepCopy() *UnifiFirewallRuleEntry {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnifiFirewallPolicyEntry.
|
||||
func (in *UnifiFirewallPolicyEntry) DeepCopy() *UnifiFirewallPolicyEntry {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(UnifiFirewallRuleEntry)
|
||||
out := new(UnifiFirewallPolicyEntry)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user