Best K6 code snippet using events.New
zz_generated.deepcopy.go
Source:zz_generated.deepcopy.go
1//go:build !ignore_autogenerated2// +build !ignore_autogenerated3/*4Copyright AppsCode Inc. and Contributors5Licensed under the Apache License, Version 2.0 (the "License");6you may not use this file except in compliance with the License.7You may obtain a copy of the License at8 http://www.apache.org/licenses/LICENSE-2.09Unless required by applicable law or agreed to in writing, software10distributed under the License is distributed on an "AS IS" BASIS,11WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12See the License for the specific language governing permissions and13limitations under the License.14*/15// Code generated by deepcopy-gen. DO NOT EDIT.16package v1alpha117import (18 v1 "k8s.io/api/core/v1"19 runtime "k8s.io/apimachinery/pkg/runtime"20 apiv1 "kmodules.xyz/client-go/api/v1"21)22// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.23func (in *Monitor) DeepCopyInto(out *Monitor) {24 *out = *in25 out.TypeMeta = in.TypeMeta26 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)27 in.Spec.DeepCopyInto(&out.Spec)28 in.Status.DeepCopyInto(&out.Status)29 return30}31// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitor.32func (in *Monitor) DeepCopy() *Monitor {33 if in == nil {34 return nil35 }36 out := new(Monitor)37 in.DeepCopyInto(out)38 return out39}40// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.41func (in *Monitor) DeepCopyObject() runtime.Object {42 if c := in.DeepCopy(); c != nil {43 return c44 }45 return nil46}47// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.48func (in *MonitorList) DeepCopyInto(out *MonitorList) {49 *out = *in50 out.TypeMeta = in.TypeMeta51 in.ListMeta.DeepCopyInto(&out.ListMeta)52 if in.Items != nil {53 in, out := &in.Items, &out.Items54 *out = make([]Monitor, len(*in))55 for i := range *in {56 (*in)[i].DeepCopyInto(&(*out)[i])57 }58 }59 return60}61// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorList.62func (in *MonitorList) DeepCopy() *MonitorList {63 if in == nil {64 return nil65 }66 out := new(MonitorList)67 in.DeepCopyInto(out)68 return out69}70// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.71func (in *MonitorList) DeepCopyObject() runtime.Object {72 if c := in.DeepCopy(); c != nil {73 return c74 }75 return nil76}77// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.78func (in *MonitorSpec) DeepCopyInto(out *MonitorSpec) {79 *out = *in80 if in.State != nil {81 in, out := &in.State, &out.State82 *out = new(MonitorSpecResource)83 (*in).DeepCopyInto(*out)84 }85 in.Resource.DeepCopyInto(&out.Resource)86 out.ProviderRef = in.ProviderRef87 if in.BackendRef != nil {88 in, out := &in.BackendRef, &out.BackendRef89 *out = new(v1.LocalObjectReference)90 **out = **in91 }92 return93}94// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpec.95func (in *MonitorSpec) DeepCopy() *MonitorSpec {96 if in == nil {97 return nil98 }99 out := new(MonitorSpec)100 in.DeepCopyInto(out)101 return out102}103// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.104func (in *MonitorSpecAnomalyDetection) DeepCopyInto(out *MonitorSpecAnomalyDetection) {105 *out = *in106 if in.LoadingTimeThresholds != nil {107 in, out := &in.LoadingTimeThresholds, &out.LoadingTimeThresholds108 *out = make([]MonitorSpecAnomalyDetectionLoadingTimeThresholds, len(*in))109 for i := range *in {110 (*in)[i].DeepCopyInto(&(*out)[i])111 }112 }113 if in.OutageHandling != nil {114 in, out := &in.OutageHandling, &out.OutageHandling115 *out = make([]MonitorSpecAnomalyDetectionOutageHandling, len(*in))116 for i := range *in {117 (*in)[i].DeepCopyInto(&(*out)[i])118 }119 }120 return121}122// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecAnomalyDetection.123func (in *MonitorSpecAnomalyDetection) DeepCopy() *MonitorSpecAnomalyDetection {124 if in == nil {125 return nil126 }127 out := new(MonitorSpecAnomalyDetection)128 in.DeepCopyInto(out)129 return out130}131// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.132func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholds) DeepCopyInto(out *MonitorSpecAnomalyDetectionLoadingTimeThresholds) {133 *out = *in134 if in.Enabled != nil {135 in, out := &in.Enabled, &out.Enabled136 *out = new(bool)137 **out = **in138 }139 if in.Thresholds != nil {140 in, out := &in.Thresholds, &out.Thresholds141 *out = make([]MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds, len(*in))142 for i := range *in {143 (*in)[i].DeepCopyInto(&(*out)[i])144 }145 }146 return147}148// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecAnomalyDetectionLoadingTimeThresholds.149func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholds) DeepCopy() *MonitorSpecAnomalyDetectionLoadingTimeThresholds {150 if in == nil {151 return nil152 }153 out := new(MonitorSpecAnomalyDetectionLoadingTimeThresholds)154 in.DeepCopyInto(out)155 return out156}157// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.158func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds) DeepCopyInto(out *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds) {159 *out = *in160 if in.Threshold != nil {161 in, out := &in.Threshold, &out.Threshold162 *out = make([]MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold, len(*in))163 for i := range *in {164 (*in)[i].DeepCopyInto(&(*out)[i])165 }166 }167 return168}169// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds.170func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds) DeepCopy() *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds {171 if in == nil {172 return nil173 }174 out := new(MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds)175 in.DeepCopyInto(out)176 return out177}178// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.179func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold) DeepCopyInto(out *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold) {180 *out = *in181 if in.EventIndex != nil {182 in, out := &in.EventIndex, &out.EventIndex183 *out = new(int64)184 **out = **in185 }186 if in.RequestIndex != nil {187 in, out := &in.RequestIndex, &out.RequestIndex188 *out = new(int64)189 **out = **in190 }191 if in.Type != nil {192 in, out := &in.Type, &out.Type193 *out = new(string)194 **out = **in195 }196 if in.ValueMs != nil {197 in, out := &in.ValueMs, &out.ValueMs198 *out = new(int64)199 **out = **in200 }201 return202}203// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold.204func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold) DeepCopy() *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold {205 if in == nil {206 return nil207 }208 out := new(MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold)209 in.DeepCopyInto(out)210 return out211}212// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.213func (in *MonitorSpecAnomalyDetectionOutageHandling) DeepCopyInto(out *MonitorSpecAnomalyDetectionOutageHandling) {214 *out = *in215 if in.GlobalOutage != nil {216 in, out := &in.GlobalOutage, &out.GlobalOutage217 *out = new(bool)218 **out = **in219 }220 if in.LocalOutage != nil {221 in, out := &in.LocalOutage, &out.LocalOutage222 *out = new(bool)223 **out = **in224 }225 if in.LocalOutagePolicy != nil {226 in, out := &in.LocalOutagePolicy, &out.LocalOutagePolicy227 *out = make([]MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy, len(*in))228 for i := range *in {229 (*in)[i].DeepCopyInto(&(*out)[i])230 }231 }232 if in.RetryOnError != nil {233 in, out := &in.RetryOnError, &out.RetryOnError234 *out = new(bool)235 **out = **in236 }237 return238}239// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecAnomalyDetectionOutageHandling.240func (in *MonitorSpecAnomalyDetectionOutageHandling) DeepCopy() *MonitorSpecAnomalyDetectionOutageHandling {241 if in == nil {242 return nil243 }244 out := new(MonitorSpecAnomalyDetectionOutageHandling)245 in.DeepCopyInto(out)246 return out247}248// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.249func (in *MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy) DeepCopyInto(out *MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy) {250 *out = *in251 if in.AffectedLocations != nil {252 in, out := &in.AffectedLocations, &out.AffectedLocations253 *out = new(int64)254 **out = **in255 }256 if in.ConsecutiveRuns != nil {257 in, out := &in.ConsecutiveRuns, &out.ConsecutiveRuns258 *out = new(int64)259 **out = **in260 }261 return262}263// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy.264func (in *MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy) DeepCopy() *MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy {265 if in == nil {266 return nil267 }268 out := new(MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy)269 in.DeepCopyInto(out)270 return out271}272// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.273func (in *MonitorSpecKeyPerformanceMetrics) DeepCopyInto(out *MonitorSpecKeyPerformanceMetrics) {274 *out = *in275 if in.LoadActionKpm != nil {276 in, out := &in.LoadActionKpm, &out.LoadActionKpm277 *out = new(string)278 **out = **in279 }280 if in.XhrActionKpm != nil {281 in, out := &in.XhrActionKpm, &out.XhrActionKpm282 *out = new(string)283 **out = **in284 }285 return286}287// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecKeyPerformanceMetrics.288func (in *MonitorSpecKeyPerformanceMetrics) DeepCopy() *MonitorSpecKeyPerformanceMetrics {289 if in == nil {290 return nil291 }292 out := new(MonitorSpecKeyPerformanceMetrics)293 in.DeepCopyInto(out)294 return out295}296// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.297func (in *MonitorSpecResource) DeepCopyInto(out *MonitorSpecResource) {298 *out = *in299 if in.AnomalyDetection != nil {300 in, out := &in.AnomalyDetection, &out.AnomalyDetection301 *out = new(MonitorSpecAnomalyDetection)302 (*in).DeepCopyInto(*out)303 }304 if in.Enabled != nil {305 in, out := &in.Enabled, &out.Enabled306 *out = new(bool)307 **out = **in308 }309 if in.Frequency != nil {310 in, out := &in.Frequency, &out.Frequency311 *out = new(int64)312 **out = **in313 }314 if in.KeyPerformanceMetrics != nil {315 in, out := &in.KeyPerformanceMetrics, &out.KeyPerformanceMetrics316 *out = new(MonitorSpecKeyPerformanceMetrics)317 (*in).DeepCopyInto(*out)318 }319 if in.Locations != nil {320 in, out := &in.Locations, &out.Locations321 *out = make([]string, len(*in))322 copy(*out, *in)323 }324 if in.ManuallyAssignedApps != nil {325 in, out := &in.ManuallyAssignedApps, &out.ManuallyAssignedApps326 *out = make([]string, len(*in))327 copy(*out, *in)328 }329 if in.Name != nil {330 in, out := &in.Name, &out.Name331 *out = new(string)332 **out = **in333 }334 if in.Script != nil {335 in, out := &in.Script, &out.Script336 *out = new(MonitorSpecScript)337 (*in).DeepCopyInto(*out)338 }339 if in.Tags != nil {340 in, out := &in.Tags, &out.Tags341 *out = make([]MonitorSpecTags, len(*in))342 for i := range *in {343 (*in)[i].DeepCopyInto(&(*out)[i])344 }345 }346 return347}348// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecResource.349func (in *MonitorSpecResource) DeepCopy() *MonitorSpecResource {350 if in == nil {351 return nil352 }353 out := new(MonitorSpecResource)354 in.DeepCopyInto(out)355 return out356}357// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.358func (in *MonitorSpecScript) DeepCopyInto(out *MonitorSpecScript) {359 *out = *in360 if in.Configuration != nil {361 in, out := &in.Configuration, &out.Configuration362 *out = new(MonitorSpecScriptConfiguration)363 (*in).DeepCopyInto(*out)364 }365 if in.Events != nil {366 in, out := &in.Events, &out.Events367 *out = new(MonitorSpecScriptEvents)368 (*in).DeepCopyInto(*out)369 }370 if in.Type != nil {371 in, out := &in.Type, &out.Type372 *out = new(string)373 **out = **in374 }375 return376}377// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScript.378func (in *MonitorSpecScript) DeepCopy() *MonitorSpecScript {379 if in == nil {380 return nil381 }382 out := new(MonitorSpecScript)383 in.DeepCopyInto(out)384 return out385}386// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.387func (in *MonitorSpecScriptConfiguration) DeepCopyInto(out *MonitorSpecScriptConfiguration) {388 *out = *in389 if in.Bandwidth != nil {390 in, out := &in.Bandwidth, &out.Bandwidth391 *out = new(MonitorSpecScriptConfigurationBandwidth)392 (*in).DeepCopyInto(*out)393 }394 if in.Block != nil {395 in, out := &in.Block, &out.Block396 *out = make([]string, len(*in))397 copy(*out, *in)398 }399 if in.BypassCsp != nil {400 in, out := &in.BypassCsp, &out.BypassCsp401 *out = new(bool)402 **out = **in403 }404 if in.Cookies != nil {405 in, out := &in.Cookies, &out.Cookies406 *out = new(MonitorSpecScriptConfigurationCookies)407 (*in).DeepCopyInto(*out)408 }409 if in.Device != nil {410 in, out := &in.Device, &out.Device411 *out = new(MonitorSpecScriptConfigurationDevice)412 (*in).DeepCopyInto(*out)413 }414 if in.DisableWebSecurity != nil {415 in, out := &in.DisableWebSecurity, &out.DisableWebSecurity416 *out = new(bool)417 **out = **in418 }419 if in.Headers != nil {420 in, out := &in.Headers, &out.Headers421 *out = new(MonitorSpecScriptConfigurationHeaders)422 (*in).DeepCopyInto(*out)423 }424 if in.IgnoredErrorCodes != nil {425 in, out := &in.IgnoredErrorCodes, &out.IgnoredErrorCodes426 *out = new(MonitorSpecScriptConfigurationIgnoredErrorCodes)427 (*in).DeepCopyInto(*out)428 }429 if in.JavascriptSetttings != nil {430 in, out := &in.JavascriptSetttings, &out.JavascriptSetttings431 *out = new(MonitorSpecScriptConfigurationJavascriptSetttings)432 (*in).DeepCopyInto(*out)433 }434 if in.MonitorFrames != nil {435 in, out := &in.MonitorFrames, &out.MonitorFrames436 *out = new(bool)437 **out = **in438 }439 if in.UserAgent != nil {440 in, out := &in.UserAgent, &out.UserAgent441 *out = new(string)442 **out = **in443 }444 return445}446// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptConfiguration.447func (in *MonitorSpecScriptConfiguration) DeepCopy() *MonitorSpecScriptConfiguration {448 if in == nil {449 return nil450 }451 out := new(MonitorSpecScriptConfiguration)452 in.DeepCopyInto(out)453 return out454}455// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.456func (in *MonitorSpecScriptConfigurationBandwidth) DeepCopyInto(out *MonitorSpecScriptConfigurationBandwidth) {457 *out = *in458 if in.Download != nil {459 in, out := &in.Download, &out.Download460 *out = new(int64)461 **out = **in462 }463 if in.Latency != nil {464 in, out := &in.Latency, &out.Latency465 *out = new(int64)466 **out = **in467 }468 if in.NetworkType != nil {469 in, out := &in.NetworkType, &out.NetworkType470 *out = new(string)471 **out = **in472 }473 if in.Upload != nil {474 in, out := &in.Upload, &out.Upload475 *out = new(int64)476 **out = **in477 }478 return479}480// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptConfigurationBandwidth.481func (in *MonitorSpecScriptConfigurationBandwidth) DeepCopy() *MonitorSpecScriptConfigurationBandwidth {482 if in == nil {483 return nil484 }485 out := new(MonitorSpecScriptConfigurationBandwidth)486 in.DeepCopyInto(out)487 return out488}489// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.490func (in *MonitorSpecScriptConfigurationCookies) DeepCopyInto(out *MonitorSpecScriptConfigurationCookies) {491 *out = *in492 if in.Cookie != nil {493 in, out := &in.Cookie, &out.Cookie494 *out = make([]MonitorSpecScriptConfigurationCookiesCookie, len(*in))495 for i := range *in {496 (*in)[i].DeepCopyInto(&(*out)[i])497 }498 }499 return500}501// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptConfigurationCookies.502func (in *MonitorSpecScriptConfigurationCookies) DeepCopy() *MonitorSpecScriptConfigurationCookies {503 if in == nil {504 return nil505 }506 out := new(MonitorSpecScriptConfigurationCookies)507 in.DeepCopyInto(out)508 return out509}510// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.511func (in *MonitorSpecScriptConfigurationCookiesCookie) DeepCopyInto(out *MonitorSpecScriptConfigurationCookiesCookie) {512 *out = *in513 if in.Domain != nil {514 in, out := &in.Domain, &out.Domain515 *out = new(string)516 **out = **in517 }518 if in.Name != nil {519 in, out := &in.Name, &out.Name520 *out = new(string)521 **out = **in522 }523 if in.Path != nil {524 in, out := &in.Path, &out.Path525 *out = new(string)526 **out = **in527 }528 if in.Value != nil {529 in, out := &in.Value, &out.Value530 *out = new(string)531 **out = **in532 }533 return534}535// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptConfigurationCookiesCookie.536func (in *MonitorSpecScriptConfigurationCookiesCookie) DeepCopy() *MonitorSpecScriptConfigurationCookiesCookie {537 if in == nil {538 return nil539 }540 out := new(MonitorSpecScriptConfigurationCookiesCookie)541 in.DeepCopyInto(out)542 return out543}544// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.545func (in *MonitorSpecScriptConfigurationDevice) DeepCopyInto(out *MonitorSpecScriptConfigurationDevice) {546 *out = *in547 if in.Height != nil {548 in, out := &in.Height, &out.Height549 *out = new(int64)550 **out = **in551 }552 if in.Mobile != nil {553 in, out := &in.Mobile, &out.Mobile554 *out = new(bool)555 **out = **in556 }557 if in.Name != nil {558 in, out := &in.Name, &out.Name559 *out = new(string)560 **out = **in561 }562 if in.Orientation != nil {563 in, out := &in.Orientation, &out.Orientation564 *out = new(string)565 **out = **in566 }567 if in.ScaleFactor != nil {568 in, out := &in.ScaleFactor, &out.ScaleFactor569 *out = new(int64)570 **out = **in571 }572 if in.TouchEnabled != nil {573 in, out := &in.TouchEnabled, &out.TouchEnabled574 *out = new(bool)575 **out = **in576 }577 if in.Width != nil {578 in, out := &in.Width, &out.Width579 *out = new(int64)580 **out = **in581 }582 return583}584// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptConfigurationDevice.585func (in *MonitorSpecScriptConfigurationDevice) DeepCopy() *MonitorSpecScriptConfigurationDevice {586 if in == nil {587 return nil588 }589 out := new(MonitorSpecScriptConfigurationDevice)590 in.DeepCopyInto(out)591 return out592}593// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.594func (in *MonitorSpecScriptConfigurationHeaders) DeepCopyInto(out *MonitorSpecScriptConfigurationHeaders) {595 *out = *in596 if in.Header != nil {597 in, out := &in.Header, &out.Header598 *out = make([]MonitorSpecScriptConfigurationHeadersHeader, len(*in))599 for i := range *in {600 (*in)[i].DeepCopyInto(&(*out)[i])601 }602 }603 if in.Restrictions != nil {604 in, out := &in.Restrictions, &out.Restrictions605 *out = make([]string, len(*in))606 copy(*out, *in)607 }608 return609}610// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptConfigurationHeaders.611func (in *MonitorSpecScriptConfigurationHeaders) DeepCopy() *MonitorSpecScriptConfigurationHeaders {612 if in == nil {613 return nil614 }615 out := new(MonitorSpecScriptConfigurationHeaders)616 in.DeepCopyInto(out)617 return out618}619// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.620func (in *MonitorSpecScriptConfigurationHeadersHeader) DeepCopyInto(out *MonitorSpecScriptConfigurationHeadersHeader) {621 *out = *in622 if in.Name != nil {623 in, out := &in.Name, &out.Name624 *out = new(string)625 **out = **in626 }627 if in.Value != nil {628 in, out := &in.Value, &out.Value629 *out = new(string)630 **out = **in631 }632 return633}634// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptConfigurationHeadersHeader.635func (in *MonitorSpecScriptConfigurationHeadersHeader) DeepCopy() *MonitorSpecScriptConfigurationHeadersHeader {636 if in == nil {637 return nil638 }639 out := new(MonitorSpecScriptConfigurationHeadersHeader)640 in.DeepCopyInto(out)641 return out642}643// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.644func (in *MonitorSpecScriptConfigurationIgnoredErrorCodes) DeepCopyInto(out *MonitorSpecScriptConfigurationIgnoredErrorCodes) {645 *out = *in646 if in.MatchingDocumentRequests != nil {647 in, out := &in.MatchingDocumentRequests, &out.MatchingDocumentRequests648 *out = new(string)649 **out = **in650 }651 if in.StatusCodes != nil {652 in, out := &in.StatusCodes, &out.StatusCodes653 *out = new(string)654 **out = **in655 }656 return657}658// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptConfigurationIgnoredErrorCodes.659func (in *MonitorSpecScriptConfigurationIgnoredErrorCodes) DeepCopy() *MonitorSpecScriptConfigurationIgnoredErrorCodes {660 if in == nil {661 return nil662 }663 out := new(MonitorSpecScriptConfigurationIgnoredErrorCodes)664 in.DeepCopyInto(out)665 return out666}667// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.668func (in *MonitorSpecScriptConfigurationJavascriptSetttings) DeepCopyInto(out *MonitorSpecScriptConfigurationJavascriptSetttings) {669 *out = *in670 if in.CustomProperties != nil {671 in, out := &in.CustomProperties, &out.CustomProperties672 *out = new(string)673 **out = **in674 }675 if in.TimeoutSettings != nil {676 in, out := &in.TimeoutSettings, &out.TimeoutSettings677 *out = new(MonitorSpecScriptConfigurationJavascriptSetttingsTimeoutSettings)678 (*in).DeepCopyInto(*out)679 }680 if in.VisuallyCompleteOptions != nil {681 in, out := &in.VisuallyCompleteOptions, &out.VisuallyCompleteOptions682 *out = new(MonitorSpecScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions)683 (*in).DeepCopyInto(*out)684 }685 return686}687// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptConfigurationJavascriptSetttings.688func (in *MonitorSpecScriptConfigurationJavascriptSetttings) DeepCopy() *MonitorSpecScriptConfigurationJavascriptSetttings {689 if in == nil {690 return nil691 }692 out := new(MonitorSpecScriptConfigurationJavascriptSetttings)693 in.DeepCopyInto(out)694 return out695}696// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.697func (in *MonitorSpecScriptConfigurationJavascriptSetttingsTimeoutSettings) DeepCopyInto(out *MonitorSpecScriptConfigurationJavascriptSetttingsTimeoutSettings) {698 *out = *in699 if in.ActionLimit != nil {700 in, out := &in.ActionLimit, &out.ActionLimit701 *out = new(int64)702 **out = **in703 }704 if in.TotalTimeout != nil {705 in, out := &in.TotalTimeout, &out.TotalTimeout706 *out = new(int64)707 **out = **in708 }709 return710}711// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptConfigurationJavascriptSetttingsTimeoutSettings.712func (in *MonitorSpecScriptConfigurationJavascriptSetttingsTimeoutSettings) DeepCopy() *MonitorSpecScriptConfigurationJavascriptSetttingsTimeoutSettings {713 if in == nil {714 return nil715 }716 out := new(MonitorSpecScriptConfigurationJavascriptSetttingsTimeoutSettings)717 in.DeepCopyInto(out)718 return out719}720// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.721func (in *MonitorSpecScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions) DeepCopyInto(out *MonitorSpecScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions) {722 *out = *in723 if in.ExcludedElements != nil {724 in, out := &in.ExcludedElements, &out.ExcludedElements725 *out = make([]string, len(*in))726 copy(*out, *in)727 }728 if in.ExcludedUrls != nil {729 in, out := &in.ExcludedUrls, &out.ExcludedUrls730 *out = make([]string, len(*in))731 copy(*out, *in)732 }733 if in.ImageSizeThreshold != nil {734 in, out := &in.ImageSizeThreshold, &out.ImageSizeThreshold735 *out = new(int64)736 **out = **in737 }738 if in.InactivityTimeout != nil {739 in, out := &in.InactivityTimeout, &out.InactivityTimeout740 *out = new(int64)741 **out = **in742 }743 if in.MutationTimeout != nil {744 in, out := &in.MutationTimeout, &out.MutationTimeout745 *out = new(int64)746 **out = **in747 }748 return749}750// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions.751func (in *MonitorSpecScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions) DeepCopy() *MonitorSpecScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions {752 if in == nil {753 return nil754 }755 out := new(MonitorSpecScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions)756 in.DeepCopyInto(out)757 return out758}759// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.760func (in *MonitorSpecScriptEvents) DeepCopyInto(out *MonitorSpecScriptEvents) {761 *out = *in762 if in.Event != nil {763 in, out := &in.Event, &out.Event764 *out = make([]MonitorSpecScriptEventsEvent, len(*in))765 for i := range *in {766 (*in)[i].DeepCopyInto(&(*out)[i])767 }768 }769 return770}771// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEvents.772func (in *MonitorSpecScriptEvents) DeepCopy() *MonitorSpecScriptEvents {773 if in == nil {774 return nil775 }776 out := new(MonitorSpecScriptEvents)777 in.DeepCopyInto(out)778 return out779}780// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.781func (in *MonitorSpecScriptEventsEvent) DeepCopyInto(out *MonitorSpecScriptEventsEvent) {782 *out = *in783 if in.Click != nil {784 in, out := &in.Click, &out.Click785 *out = new(MonitorSpecScriptEventsEventClick)786 (*in).DeepCopyInto(*out)787 }788 if in.Cookie != nil {789 in, out := &in.Cookie, &out.Cookie790 *out = new(MonitorSpecScriptEventsEventCookie)791 (*in).DeepCopyInto(*out)792 }793 if in.Description != nil {794 in, out := &in.Description, &out.Description795 *out = new(string)796 **out = **in797 }798 if in.Javascript != nil {799 in, out := &in.Javascript, &out.Javascript800 *out = new(MonitorSpecScriptEventsEventJavascript)801 (*in).DeepCopyInto(*out)802 }803 if in.Keystrokes != nil {804 in, out := &in.Keystrokes, &out.Keystrokes805 *out = new(MonitorSpecScriptEventsEventKeystrokes)806 (*in).DeepCopyInto(*out)807 }808 if in.Navigate != nil {809 in, out := &in.Navigate, &out.Navigate810 *out = new(MonitorSpecScriptEventsEventNavigate)811 (*in).DeepCopyInto(*out)812 }813 if in.Select != nil {814 in, out := &in.Select, &out.Select815 *out = new(MonitorSpecScriptEventsEventSelect)816 (*in).DeepCopyInto(*out)817 }818 if in.Tap != nil {819 in, out := &in.Tap, &out.Tap820 *out = new(MonitorSpecScriptEventsEventTap)821 (*in).DeepCopyInto(*out)822 }823 return824}825// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEvent.826func (in *MonitorSpecScriptEventsEvent) DeepCopy() *MonitorSpecScriptEventsEvent {827 if in == nil {828 return nil829 }830 out := new(MonitorSpecScriptEventsEvent)831 in.DeepCopyInto(out)832 return out833}834// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.835func (in *MonitorSpecScriptEventsEventClick) DeepCopyInto(out *MonitorSpecScriptEventsEventClick) {836 *out = *in837 if in.Button != nil {838 in, out := &in.Button, &out.Button839 *out = new(int64)840 **out = **in841 }842 if in.Target != nil {843 in, out := &in.Target, &out.Target844 *out = new(MonitorSpecScriptEventsEventClickTarget)845 (*in).DeepCopyInto(*out)846 }847 if in.Validate != nil {848 in, out := &in.Validate, &out.Validate849 *out = new(MonitorSpecScriptEventsEventClickValidate)850 (*in).DeepCopyInto(*out)851 }852 if in.Wait != nil {853 in, out := &in.Wait, &out.Wait854 *out = new(MonitorSpecScriptEventsEventClickWait)855 (*in).DeepCopyInto(*out)856 }857 return858}859// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClick.860func (in *MonitorSpecScriptEventsEventClick) DeepCopy() *MonitorSpecScriptEventsEventClick {861 if in == nil {862 return nil863 }864 out := new(MonitorSpecScriptEventsEventClick)865 in.DeepCopyInto(out)866 return out867}868// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.869func (in *MonitorSpecScriptEventsEventClickTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventClickTarget) {870 *out = *in871 if in.Locators != nil {872 in, out := &in.Locators, &out.Locators873 *out = make([]MonitorSpecScriptEventsEventClickTargetLocators, len(*in))874 for i := range *in {875 (*in)[i].DeepCopyInto(&(*out)[i])876 }877 }878 if in.Window != nil {879 in, out := &in.Window, &out.Window880 *out = new(string)881 **out = **in882 }883 return884}885// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClickTarget.886func (in *MonitorSpecScriptEventsEventClickTarget) DeepCopy() *MonitorSpecScriptEventsEventClickTarget {887 if in == nil {888 return nil889 }890 out := new(MonitorSpecScriptEventsEventClickTarget)891 in.DeepCopyInto(out)892 return out893}894// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.895func (in *MonitorSpecScriptEventsEventClickTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventClickTargetLocators) {896 *out = *in897 if in.Locator != nil {898 in, out := &in.Locator, &out.Locator899 *out = make([]MonitorSpecScriptEventsEventClickTargetLocatorsLocator, len(*in))900 for i := range *in {901 (*in)[i].DeepCopyInto(&(*out)[i])902 }903 }904 return905}906// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClickTargetLocators.907func (in *MonitorSpecScriptEventsEventClickTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventClickTargetLocators {908 if in == nil {909 return nil910 }911 out := new(MonitorSpecScriptEventsEventClickTargetLocators)912 in.DeepCopyInto(out)913 return out914}915// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.916func (in *MonitorSpecScriptEventsEventClickTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventClickTargetLocatorsLocator) {917 *out = *in918 if in.Type != nil {919 in, out := &in.Type, &out.Type920 *out = new(string)921 **out = **in922 }923 if in.Value != nil {924 in, out := &in.Value, &out.Value925 *out = new(string)926 **out = **in927 }928 return929}930// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClickTargetLocatorsLocator.931func (in *MonitorSpecScriptEventsEventClickTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventClickTargetLocatorsLocator {932 if in == nil {933 return nil934 }935 out := new(MonitorSpecScriptEventsEventClickTargetLocatorsLocator)936 in.DeepCopyInto(out)937 return out938}939// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.940func (in *MonitorSpecScriptEventsEventClickValidate) DeepCopyInto(out *MonitorSpecScriptEventsEventClickValidate) {941 *out = *in942 if in.Validation != nil {943 in, out := &in.Validation, &out.Validation944 *out = make([]MonitorSpecScriptEventsEventClickValidateValidation, len(*in))945 for i := range *in {946 (*in)[i].DeepCopyInto(&(*out)[i])947 }948 }949 return950}951// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClickValidate.952func (in *MonitorSpecScriptEventsEventClickValidate) DeepCopy() *MonitorSpecScriptEventsEventClickValidate {953 if in == nil {954 return nil955 }956 out := new(MonitorSpecScriptEventsEventClickValidate)957 in.DeepCopyInto(out)958 return out959}960// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.961func (in *MonitorSpecScriptEventsEventClickValidateValidation) DeepCopyInto(out *MonitorSpecScriptEventsEventClickValidateValidation) {962 *out = *in963 if in.FailIfFound != nil {964 in, out := &in.FailIfFound, &out.FailIfFound965 *out = new(bool)966 **out = **in967 }968 if in.Match != nil {969 in, out := &in.Match, &out.Match970 *out = new(string)971 **out = **in972 }973 if in.Regex != nil {974 in, out := &in.Regex, &out.Regex975 *out = new(bool)976 **out = **in977 }978 if in.Target != nil {979 in, out := &in.Target, &out.Target980 *out = new(MonitorSpecScriptEventsEventClickValidateValidationTarget)981 (*in).DeepCopyInto(*out)982 }983 if in.Type != nil {984 in, out := &in.Type, &out.Type985 *out = new(string)986 **out = **in987 }988 return989}990// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClickValidateValidation.991func (in *MonitorSpecScriptEventsEventClickValidateValidation) DeepCopy() *MonitorSpecScriptEventsEventClickValidateValidation {992 if in == nil {993 return nil994 }995 out := new(MonitorSpecScriptEventsEventClickValidateValidation)996 in.DeepCopyInto(out)997 return out998}999// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1000func (in *MonitorSpecScriptEventsEventClickValidateValidationTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventClickValidateValidationTarget) {1001 *out = *in1002 if in.Locators != nil {1003 in, out := &in.Locators, &out.Locators1004 *out = make([]MonitorSpecScriptEventsEventClickValidateValidationTargetLocators, len(*in))1005 for i := range *in {1006 (*in)[i].DeepCopyInto(&(*out)[i])1007 }1008 }1009 if in.Window != nil {1010 in, out := &in.Window, &out.Window1011 *out = new(string)1012 **out = **in1013 }1014 return1015}1016// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClickValidateValidationTarget.1017func (in *MonitorSpecScriptEventsEventClickValidateValidationTarget) DeepCopy() *MonitorSpecScriptEventsEventClickValidateValidationTarget {1018 if in == nil {1019 return nil1020 }1021 out := new(MonitorSpecScriptEventsEventClickValidateValidationTarget)1022 in.DeepCopyInto(out)1023 return out1024}1025// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1026func (in *MonitorSpecScriptEventsEventClickValidateValidationTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventClickValidateValidationTargetLocators) {1027 *out = *in1028 if in.Locator != nil {1029 in, out := &in.Locator, &out.Locator1030 *out = make([]MonitorSpecScriptEventsEventClickValidateValidationTargetLocatorsLocator, len(*in))1031 for i := range *in {1032 (*in)[i].DeepCopyInto(&(*out)[i])1033 }1034 }1035 return1036}1037// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClickValidateValidationTargetLocators.1038func (in *MonitorSpecScriptEventsEventClickValidateValidationTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventClickValidateValidationTargetLocators {1039 if in == nil {1040 return nil1041 }1042 out := new(MonitorSpecScriptEventsEventClickValidateValidationTargetLocators)1043 in.DeepCopyInto(out)1044 return out1045}1046// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1047func (in *MonitorSpecScriptEventsEventClickValidateValidationTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventClickValidateValidationTargetLocatorsLocator) {1048 *out = *in1049 if in.Type != nil {1050 in, out := &in.Type, &out.Type1051 *out = new(string)1052 **out = **in1053 }1054 if in.Value != nil {1055 in, out := &in.Value, &out.Value1056 *out = new(string)1057 **out = **in1058 }1059 return1060}1061// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClickValidateValidationTargetLocatorsLocator.1062func (in *MonitorSpecScriptEventsEventClickValidateValidationTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventClickValidateValidationTargetLocatorsLocator {1063 if in == nil {1064 return nil1065 }1066 out := new(MonitorSpecScriptEventsEventClickValidateValidationTargetLocatorsLocator)1067 in.DeepCopyInto(out)1068 return out1069}1070// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1071func (in *MonitorSpecScriptEventsEventClickWait) DeepCopyInto(out *MonitorSpecScriptEventsEventClickWait) {1072 *out = *in1073 if in.Milliseconds != nil {1074 in, out := &in.Milliseconds, &out.Milliseconds1075 *out = new(int64)1076 **out = **in1077 }1078 if in.Timeout != nil {1079 in, out := &in.Timeout, &out.Timeout1080 *out = new(int64)1081 **out = **in1082 }1083 if in.Validation != nil {1084 in, out := &in.Validation, &out.Validation1085 *out = new(MonitorSpecScriptEventsEventClickWaitValidation)1086 (*in).DeepCopyInto(*out)1087 }1088 if in.WaitFor != nil {1089 in, out := &in.WaitFor, &out.WaitFor1090 *out = new(string)1091 **out = **in1092 }1093 return1094}1095// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClickWait.1096func (in *MonitorSpecScriptEventsEventClickWait) DeepCopy() *MonitorSpecScriptEventsEventClickWait {1097 if in == nil {1098 return nil1099 }1100 out := new(MonitorSpecScriptEventsEventClickWait)1101 in.DeepCopyInto(out)1102 return out1103}1104// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1105func (in *MonitorSpecScriptEventsEventClickWaitValidation) DeepCopyInto(out *MonitorSpecScriptEventsEventClickWaitValidation) {1106 *out = *in1107 if in.FailIfFound != nil {1108 in, out := &in.FailIfFound, &out.FailIfFound1109 *out = new(bool)1110 **out = **in1111 }1112 if in.Match != nil {1113 in, out := &in.Match, &out.Match1114 *out = new(string)1115 **out = **in1116 }1117 if in.Regex != nil {1118 in, out := &in.Regex, &out.Regex1119 *out = new(bool)1120 **out = **in1121 }1122 if in.Target != nil {1123 in, out := &in.Target, &out.Target1124 *out = new(MonitorSpecScriptEventsEventClickWaitValidationTarget)1125 (*in).DeepCopyInto(*out)1126 }1127 if in.Type != nil {1128 in, out := &in.Type, &out.Type1129 *out = new(string)1130 **out = **in1131 }1132 return1133}1134// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClickWaitValidation.1135func (in *MonitorSpecScriptEventsEventClickWaitValidation) DeepCopy() *MonitorSpecScriptEventsEventClickWaitValidation {1136 if in == nil {1137 return nil1138 }1139 out := new(MonitorSpecScriptEventsEventClickWaitValidation)1140 in.DeepCopyInto(out)1141 return out1142}1143// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1144func (in *MonitorSpecScriptEventsEventClickWaitValidationTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventClickWaitValidationTarget) {1145 *out = *in1146 if in.Locators != nil {1147 in, out := &in.Locators, &out.Locators1148 *out = make([]MonitorSpecScriptEventsEventClickWaitValidationTargetLocators, len(*in))1149 for i := range *in {1150 (*in)[i].DeepCopyInto(&(*out)[i])1151 }1152 }1153 if in.Window != nil {1154 in, out := &in.Window, &out.Window1155 *out = new(string)1156 **out = **in1157 }1158 return1159}1160// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClickWaitValidationTarget.1161func (in *MonitorSpecScriptEventsEventClickWaitValidationTarget) DeepCopy() *MonitorSpecScriptEventsEventClickWaitValidationTarget {1162 if in == nil {1163 return nil1164 }1165 out := new(MonitorSpecScriptEventsEventClickWaitValidationTarget)1166 in.DeepCopyInto(out)1167 return out1168}1169// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1170func (in *MonitorSpecScriptEventsEventClickWaitValidationTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventClickWaitValidationTargetLocators) {1171 *out = *in1172 if in.Locator != nil {1173 in, out := &in.Locator, &out.Locator1174 *out = make([]MonitorSpecScriptEventsEventClickWaitValidationTargetLocatorsLocator, len(*in))1175 for i := range *in {1176 (*in)[i].DeepCopyInto(&(*out)[i])1177 }1178 }1179 return1180}1181// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClickWaitValidationTargetLocators.1182func (in *MonitorSpecScriptEventsEventClickWaitValidationTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventClickWaitValidationTargetLocators {1183 if in == nil {1184 return nil1185 }1186 out := new(MonitorSpecScriptEventsEventClickWaitValidationTargetLocators)1187 in.DeepCopyInto(out)1188 return out1189}1190// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1191func (in *MonitorSpecScriptEventsEventClickWaitValidationTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventClickWaitValidationTargetLocatorsLocator) {1192 *out = *in1193 if in.Type != nil {1194 in, out := &in.Type, &out.Type1195 *out = new(string)1196 **out = **in1197 }1198 if in.Value != nil {1199 in, out := &in.Value, &out.Value1200 *out = new(string)1201 **out = **in1202 }1203 return1204}1205// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventClickWaitValidationTargetLocatorsLocator.1206func (in *MonitorSpecScriptEventsEventClickWaitValidationTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventClickWaitValidationTargetLocatorsLocator {1207 if in == nil {1208 return nil1209 }1210 out := new(MonitorSpecScriptEventsEventClickWaitValidationTargetLocatorsLocator)1211 in.DeepCopyInto(out)1212 return out1213}1214// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1215func (in *MonitorSpecScriptEventsEventCookie) DeepCopyInto(out *MonitorSpecScriptEventsEventCookie) {1216 *out = *in1217 if in.Cookies != nil {1218 in, out := &in.Cookies, &out.Cookies1219 *out = new(MonitorSpecScriptEventsEventCookieCookies)1220 (*in).DeepCopyInto(*out)1221 }1222 return1223}1224// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventCookie.1225func (in *MonitorSpecScriptEventsEventCookie) DeepCopy() *MonitorSpecScriptEventsEventCookie {1226 if in == nil {1227 return nil1228 }1229 out := new(MonitorSpecScriptEventsEventCookie)1230 in.DeepCopyInto(out)1231 return out1232}1233// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1234func (in *MonitorSpecScriptEventsEventCookieCookies) DeepCopyInto(out *MonitorSpecScriptEventsEventCookieCookies) {1235 *out = *in1236 if in.Cookie != nil {1237 in, out := &in.Cookie, &out.Cookie1238 *out = make([]MonitorSpecScriptEventsEventCookieCookiesCookie, len(*in))1239 for i := range *in {1240 (*in)[i].DeepCopyInto(&(*out)[i])1241 }1242 }1243 return1244}1245// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventCookieCookies.1246func (in *MonitorSpecScriptEventsEventCookieCookies) DeepCopy() *MonitorSpecScriptEventsEventCookieCookies {1247 if in == nil {1248 return nil1249 }1250 out := new(MonitorSpecScriptEventsEventCookieCookies)1251 in.DeepCopyInto(out)1252 return out1253}1254// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1255func (in *MonitorSpecScriptEventsEventCookieCookiesCookie) DeepCopyInto(out *MonitorSpecScriptEventsEventCookieCookiesCookie) {1256 *out = *in1257 if in.Domain != nil {1258 in, out := &in.Domain, &out.Domain1259 *out = new(string)1260 **out = **in1261 }1262 if in.Name != nil {1263 in, out := &in.Name, &out.Name1264 *out = new(string)1265 **out = **in1266 }1267 if in.Path != nil {1268 in, out := &in.Path, &out.Path1269 *out = new(string)1270 **out = **in1271 }1272 if in.Value != nil {1273 in, out := &in.Value, &out.Value1274 *out = new(string)1275 **out = **in1276 }1277 return1278}1279// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventCookieCookiesCookie.1280func (in *MonitorSpecScriptEventsEventCookieCookiesCookie) DeepCopy() *MonitorSpecScriptEventsEventCookieCookiesCookie {1281 if in == nil {1282 return nil1283 }1284 out := new(MonitorSpecScriptEventsEventCookieCookiesCookie)1285 in.DeepCopyInto(out)1286 return out1287}1288// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1289func (in *MonitorSpecScriptEventsEventJavascript) DeepCopyInto(out *MonitorSpecScriptEventsEventJavascript) {1290 *out = *in1291 if in.Code != nil {1292 in, out := &in.Code, &out.Code1293 *out = new(string)1294 **out = **in1295 }1296 if in.Target != nil {1297 in, out := &in.Target, &out.Target1298 *out = new(MonitorSpecScriptEventsEventJavascriptTarget)1299 (*in).DeepCopyInto(*out)1300 }1301 if in.Wait != nil {1302 in, out := &in.Wait, &out.Wait1303 *out = new(MonitorSpecScriptEventsEventJavascriptWait)1304 (*in).DeepCopyInto(*out)1305 }1306 return1307}1308// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventJavascript.1309func (in *MonitorSpecScriptEventsEventJavascript) DeepCopy() *MonitorSpecScriptEventsEventJavascript {1310 if in == nil {1311 return nil1312 }1313 out := new(MonitorSpecScriptEventsEventJavascript)1314 in.DeepCopyInto(out)1315 return out1316}1317// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1318func (in *MonitorSpecScriptEventsEventJavascriptTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventJavascriptTarget) {1319 *out = *in1320 if in.Locators != nil {1321 in, out := &in.Locators, &out.Locators1322 *out = make([]MonitorSpecScriptEventsEventJavascriptTargetLocators, len(*in))1323 for i := range *in {1324 (*in)[i].DeepCopyInto(&(*out)[i])1325 }1326 }1327 if in.Window != nil {1328 in, out := &in.Window, &out.Window1329 *out = new(string)1330 **out = **in1331 }1332 return1333}1334// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventJavascriptTarget.1335func (in *MonitorSpecScriptEventsEventJavascriptTarget) DeepCopy() *MonitorSpecScriptEventsEventJavascriptTarget {1336 if in == nil {1337 return nil1338 }1339 out := new(MonitorSpecScriptEventsEventJavascriptTarget)1340 in.DeepCopyInto(out)1341 return out1342}1343// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1344func (in *MonitorSpecScriptEventsEventJavascriptTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventJavascriptTargetLocators) {1345 *out = *in1346 if in.Locator != nil {1347 in, out := &in.Locator, &out.Locator1348 *out = make([]MonitorSpecScriptEventsEventJavascriptTargetLocatorsLocator, len(*in))1349 for i := range *in {1350 (*in)[i].DeepCopyInto(&(*out)[i])1351 }1352 }1353 return1354}1355// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventJavascriptTargetLocators.1356func (in *MonitorSpecScriptEventsEventJavascriptTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventJavascriptTargetLocators {1357 if in == nil {1358 return nil1359 }1360 out := new(MonitorSpecScriptEventsEventJavascriptTargetLocators)1361 in.DeepCopyInto(out)1362 return out1363}1364// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1365func (in *MonitorSpecScriptEventsEventJavascriptTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventJavascriptTargetLocatorsLocator) {1366 *out = *in1367 if in.Type != nil {1368 in, out := &in.Type, &out.Type1369 *out = new(string)1370 **out = **in1371 }1372 if in.Value != nil {1373 in, out := &in.Value, &out.Value1374 *out = new(string)1375 **out = **in1376 }1377 return1378}1379// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventJavascriptTargetLocatorsLocator.1380func (in *MonitorSpecScriptEventsEventJavascriptTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventJavascriptTargetLocatorsLocator {1381 if in == nil {1382 return nil1383 }1384 out := new(MonitorSpecScriptEventsEventJavascriptTargetLocatorsLocator)1385 in.DeepCopyInto(out)1386 return out1387}1388// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1389func (in *MonitorSpecScriptEventsEventJavascriptWait) DeepCopyInto(out *MonitorSpecScriptEventsEventJavascriptWait) {1390 *out = *in1391 if in.Milliseconds != nil {1392 in, out := &in.Milliseconds, &out.Milliseconds1393 *out = new(int64)1394 **out = **in1395 }1396 if in.Timeout != nil {1397 in, out := &in.Timeout, &out.Timeout1398 *out = new(int64)1399 **out = **in1400 }1401 if in.Validation != nil {1402 in, out := &in.Validation, &out.Validation1403 *out = new(MonitorSpecScriptEventsEventJavascriptWaitValidation)1404 (*in).DeepCopyInto(*out)1405 }1406 if in.WaitFor != nil {1407 in, out := &in.WaitFor, &out.WaitFor1408 *out = new(string)1409 **out = **in1410 }1411 return1412}1413// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventJavascriptWait.1414func (in *MonitorSpecScriptEventsEventJavascriptWait) DeepCopy() *MonitorSpecScriptEventsEventJavascriptWait {1415 if in == nil {1416 return nil1417 }1418 out := new(MonitorSpecScriptEventsEventJavascriptWait)1419 in.DeepCopyInto(out)1420 return out1421}1422// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1423func (in *MonitorSpecScriptEventsEventJavascriptWaitValidation) DeepCopyInto(out *MonitorSpecScriptEventsEventJavascriptWaitValidation) {1424 *out = *in1425 if in.FailIfFound != nil {1426 in, out := &in.FailIfFound, &out.FailIfFound1427 *out = new(bool)1428 **out = **in1429 }1430 if in.Match != nil {1431 in, out := &in.Match, &out.Match1432 *out = new(string)1433 **out = **in1434 }1435 if in.Regex != nil {1436 in, out := &in.Regex, &out.Regex1437 *out = new(bool)1438 **out = **in1439 }1440 if in.Target != nil {1441 in, out := &in.Target, &out.Target1442 *out = new(MonitorSpecScriptEventsEventJavascriptWaitValidationTarget)1443 (*in).DeepCopyInto(*out)1444 }1445 if in.Type != nil {1446 in, out := &in.Type, &out.Type1447 *out = new(string)1448 **out = **in1449 }1450 return1451}1452// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventJavascriptWaitValidation.1453func (in *MonitorSpecScriptEventsEventJavascriptWaitValidation) DeepCopy() *MonitorSpecScriptEventsEventJavascriptWaitValidation {1454 if in == nil {1455 return nil1456 }1457 out := new(MonitorSpecScriptEventsEventJavascriptWaitValidation)1458 in.DeepCopyInto(out)1459 return out1460}1461// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1462func (in *MonitorSpecScriptEventsEventJavascriptWaitValidationTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventJavascriptWaitValidationTarget) {1463 *out = *in1464 if in.Locators != nil {1465 in, out := &in.Locators, &out.Locators1466 *out = make([]MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocators, len(*in))1467 for i := range *in {1468 (*in)[i].DeepCopyInto(&(*out)[i])1469 }1470 }1471 if in.Window != nil {1472 in, out := &in.Window, &out.Window1473 *out = new(string)1474 **out = **in1475 }1476 return1477}1478// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventJavascriptWaitValidationTarget.1479func (in *MonitorSpecScriptEventsEventJavascriptWaitValidationTarget) DeepCopy() *MonitorSpecScriptEventsEventJavascriptWaitValidationTarget {1480 if in == nil {1481 return nil1482 }1483 out := new(MonitorSpecScriptEventsEventJavascriptWaitValidationTarget)1484 in.DeepCopyInto(out)1485 return out1486}1487// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1488func (in *MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocators) {1489 *out = *in1490 if in.Locator != nil {1491 in, out := &in.Locator, &out.Locator1492 *out = make([]MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocatorsLocator, len(*in))1493 for i := range *in {1494 (*in)[i].DeepCopyInto(&(*out)[i])1495 }1496 }1497 return1498}1499// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocators.1500func (in *MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocators {1501 if in == nil {1502 return nil1503 }1504 out := new(MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocators)1505 in.DeepCopyInto(out)1506 return out1507}1508// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1509func (in *MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocatorsLocator) {1510 *out = *in1511 if in.Type != nil {1512 in, out := &in.Type, &out.Type1513 *out = new(string)1514 **out = **in1515 }1516 if in.Value != nil {1517 in, out := &in.Value, &out.Value1518 *out = new(string)1519 **out = **in1520 }1521 return1522}1523// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocatorsLocator.1524func (in *MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocatorsLocator {1525 if in == nil {1526 return nil1527 }1528 out := new(MonitorSpecScriptEventsEventJavascriptWaitValidationTargetLocatorsLocator)1529 in.DeepCopyInto(out)1530 return out1531}1532// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1533func (in *MonitorSpecScriptEventsEventKeystrokes) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokes) {1534 *out = *in1535 if in.Masked != nil {1536 in, out := &in.Masked, &out.Masked1537 *out = new(bool)1538 **out = **in1539 }1540 if in.SimulateBlurEvent != nil {1541 in, out := &in.SimulateBlurEvent, &out.SimulateBlurEvent1542 *out = new(bool)1543 **out = **in1544 }1545 if in.Target != nil {1546 in, out := &in.Target, &out.Target1547 *out = new(MonitorSpecScriptEventsEventKeystrokesTarget)1548 (*in).DeepCopyInto(*out)1549 }1550 if in.Text != nil {1551 in, out := &in.Text, &out.Text1552 *out = new(string)1553 **out = **in1554 }1555 if in.Validate != nil {1556 in, out := &in.Validate, &out.Validate1557 *out = new(MonitorSpecScriptEventsEventKeystrokesValidate)1558 (*in).DeepCopyInto(*out)1559 }1560 if in.Wait != nil {1561 in, out := &in.Wait, &out.Wait1562 *out = new(MonitorSpecScriptEventsEventKeystrokesWait)1563 (*in).DeepCopyInto(*out)1564 }1565 return1566}1567// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokes.1568func (in *MonitorSpecScriptEventsEventKeystrokes) DeepCopy() *MonitorSpecScriptEventsEventKeystrokes {1569 if in == nil {1570 return nil1571 }1572 out := new(MonitorSpecScriptEventsEventKeystrokes)1573 in.DeepCopyInto(out)1574 return out1575}1576// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1577func (in *MonitorSpecScriptEventsEventKeystrokesTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokesTarget) {1578 *out = *in1579 if in.Locators != nil {1580 in, out := &in.Locators, &out.Locators1581 *out = make([]MonitorSpecScriptEventsEventKeystrokesTargetLocators, len(*in))1582 for i := range *in {1583 (*in)[i].DeepCopyInto(&(*out)[i])1584 }1585 }1586 if in.Window != nil {1587 in, out := &in.Window, &out.Window1588 *out = new(string)1589 **out = **in1590 }1591 return1592}1593// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokesTarget.1594func (in *MonitorSpecScriptEventsEventKeystrokesTarget) DeepCopy() *MonitorSpecScriptEventsEventKeystrokesTarget {1595 if in == nil {1596 return nil1597 }1598 out := new(MonitorSpecScriptEventsEventKeystrokesTarget)1599 in.DeepCopyInto(out)1600 return out1601}1602// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1603func (in *MonitorSpecScriptEventsEventKeystrokesTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokesTargetLocators) {1604 *out = *in1605 if in.Locator != nil {1606 in, out := &in.Locator, &out.Locator1607 *out = make([]MonitorSpecScriptEventsEventKeystrokesTargetLocatorsLocator, len(*in))1608 for i := range *in {1609 (*in)[i].DeepCopyInto(&(*out)[i])1610 }1611 }1612 return1613}1614// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokesTargetLocators.1615func (in *MonitorSpecScriptEventsEventKeystrokesTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventKeystrokesTargetLocators {1616 if in == nil {1617 return nil1618 }1619 out := new(MonitorSpecScriptEventsEventKeystrokesTargetLocators)1620 in.DeepCopyInto(out)1621 return out1622}1623// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1624func (in *MonitorSpecScriptEventsEventKeystrokesTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokesTargetLocatorsLocator) {1625 *out = *in1626 if in.Type != nil {1627 in, out := &in.Type, &out.Type1628 *out = new(string)1629 **out = **in1630 }1631 if in.Value != nil {1632 in, out := &in.Value, &out.Value1633 *out = new(string)1634 **out = **in1635 }1636 return1637}1638// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokesTargetLocatorsLocator.1639func (in *MonitorSpecScriptEventsEventKeystrokesTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventKeystrokesTargetLocatorsLocator {1640 if in == nil {1641 return nil1642 }1643 out := new(MonitorSpecScriptEventsEventKeystrokesTargetLocatorsLocator)1644 in.DeepCopyInto(out)1645 return out1646}1647// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1648func (in *MonitorSpecScriptEventsEventKeystrokesValidate) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokesValidate) {1649 *out = *in1650 if in.Validation != nil {1651 in, out := &in.Validation, &out.Validation1652 *out = make([]MonitorSpecScriptEventsEventKeystrokesValidateValidation, len(*in))1653 for i := range *in {1654 (*in)[i].DeepCopyInto(&(*out)[i])1655 }1656 }1657 return1658}1659// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokesValidate.1660func (in *MonitorSpecScriptEventsEventKeystrokesValidate) DeepCopy() *MonitorSpecScriptEventsEventKeystrokesValidate {1661 if in == nil {1662 return nil1663 }1664 out := new(MonitorSpecScriptEventsEventKeystrokesValidate)1665 in.DeepCopyInto(out)1666 return out1667}1668// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1669func (in *MonitorSpecScriptEventsEventKeystrokesValidateValidation) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokesValidateValidation) {1670 *out = *in1671 if in.FailIfFound != nil {1672 in, out := &in.FailIfFound, &out.FailIfFound1673 *out = new(bool)1674 **out = **in1675 }1676 if in.Match != nil {1677 in, out := &in.Match, &out.Match1678 *out = new(string)1679 **out = **in1680 }1681 if in.Regex != nil {1682 in, out := &in.Regex, &out.Regex1683 *out = new(bool)1684 **out = **in1685 }1686 if in.Target != nil {1687 in, out := &in.Target, &out.Target1688 *out = new(MonitorSpecScriptEventsEventKeystrokesValidateValidationTarget)1689 (*in).DeepCopyInto(*out)1690 }1691 if in.Type != nil {1692 in, out := &in.Type, &out.Type1693 *out = new(string)1694 **out = **in1695 }1696 return1697}1698// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokesValidateValidation.1699func (in *MonitorSpecScriptEventsEventKeystrokesValidateValidation) DeepCopy() *MonitorSpecScriptEventsEventKeystrokesValidateValidation {1700 if in == nil {1701 return nil1702 }1703 out := new(MonitorSpecScriptEventsEventKeystrokesValidateValidation)1704 in.DeepCopyInto(out)1705 return out1706}1707// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1708func (in *MonitorSpecScriptEventsEventKeystrokesValidateValidationTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokesValidateValidationTarget) {1709 *out = *in1710 if in.Locators != nil {1711 in, out := &in.Locators, &out.Locators1712 *out = make([]MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocators, len(*in))1713 for i := range *in {1714 (*in)[i].DeepCopyInto(&(*out)[i])1715 }1716 }1717 if in.Window != nil {1718 in, out := &in.Window, &out.Window1719 *out = new(string)1720 **out = **in1721 }1722 return1723}1724// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokesValidateValidationTarget.1725func (in *MonitorSpecScriptEventsEventKeystrokesValidateValidationTarget) DeepCopy() *MonitorSpecScriptEventsEventKeystrokesValidateValidationTarget {1726 if in == nil {1727 return nil1728 }1729 out := new(MonitorSpecScriptEventsEventKeystrokesValidateValidationTarget)1730 in.DeepCopyInto(out)1731 return out1732}1733// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1734func (in *MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocators) {1735 *out = *in1736 if in.Locator != nil {1737 in, out := &in.Locator, &out.Locator1738 *out = make([]MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocatorsLocator, len(*in))1739 for i := range *in {1740 (*in)[i].DeepCopyInto(&(*out)[i])1741 }1742 }1743 return1744}1745// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocators.1746func (in *MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocators {1747 if in == nil {1748 return nil1749 }1750 out := new(MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocators)1751 in.DeepCopyInto(out)1752 return out1753}1754// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1755func (in *MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocatorsLocator) {1756 *out = *in1757 if in.Type != nil {1758 in, out := &in.Type, &out.Type1759 *out = new(string)1760 **out = **in1761 }1762 if in.Value != nil {1763 in, out := &in.Value, &out.Value1764 *out = new(string)1765 **out = **in1766 }1767 return1768}1769// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocatorsLocator.1770func (in *MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocatorsLocator {1771 if in == nil {1772 return nil1773 }1774 out := new(MonitorSpecScriptEventsEventKeystrokesValidateValidationTargetLocatorsLocator)1775 in.DeepCopyInto(out)1776 return out1777}1778// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1779func (in *MonitorSpecScriptEventsEventKeystrokesWait) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokesWait) {1780 *out = *in1781 if in.Milliseconds != nil {1782 in, out := &in.Milliseconds, &out.Milliseconds1783 *out = new(int64)1784 **out = **in1785 }1786 if in.Timeout != nil {1787 in, out := &in.Timeout, &out.Timeout1788 *out = new(int64)1789 **out = **in1790 }1791 if in.Validation != nil {1792 in, out := &in.Validation, &out.Validation1793 *out = new(MonitorSpecScriptEventsEventKeystrokesWaitValidation)1794 (*in).DeepCopyInto(*out)1795 }1796 if in.WaitFor != nil {1797 in, out := &in.WaitFor, &out.WaitFor1798 *out = new(string)1799 **out = **in1800 }1801 return1802}1803// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokesWait.1804func (in *MonitorSpecScriptEventsEventKeystrokesWait) DeepCopy() *MonitorSpecScriptEventsEventKeystrokesWait {1805 if in == nil {1806 return nil1807 }1808 out := new(MonitorSpecScriptEventsEventKeystrokesWait)1809 in.DeepCopyInto(out)1810 return out1811}1812// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1813func (in *MonitorSpecScriptEventsEventKeystrokesWaitValidation) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokesWaitValidation) {1814 *out = *in1815 if in.FailIfFound != nil {1816 in, out := &in.FailIfFound, &out.FailIfFound1817 *out = new(bool)1818 **out = **in1819 }1820 if in.Match != nil {1821 in, out := &in.Match, &out.Match1822 *out = new(string)1823 **out = **in1824 }1825 if in.Regex != nil {1826 in, out := &in.Regex, &out.Regex1827 *out = new(bool)1828 **out = **in1829 }1830 if in.Target != nil {1831 in, out := &in.Target, &out.Target1832 *out = new(MonitorSpecScriptEventsEventKeystrokesWaitValidationTarget)1833 (*in).DeepCopyInto(*out)1834 }1835 if in.Type != nil {1836 in, out := &in.Type, &out.Type1837 *out = new(string)1838 **out = **in1839 }1840 return1841}1842// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokesWaitValidation.1843func (in *MonitorSpecScriptEventsEventKeystrokesWaitValidation) DeepCopy() *MonitorSpecScriptEventsEventKeystrokesWaitValidation {1844 if in == nil {1845 return nil1846 }1847 out := new(MonitorSpecScriptEventsEventKeystrokesWaitValidation)1848 in.DeepCopyInto(out)1849 return out1850}1851// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1852func (in *MonitorSpecScriptEventsEventKeystrokesWaitValidationTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokesWaitValidationTarget) {1853 *out = *in1854 if in.Locators != nil {1855 in, out := &in.Locators, &out.Locators1856 *out = make([]MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocators, len(*in))1857 for i := range *in {1858 (*in)[i].DeepCopyInto(&(*out)[i])1859 }1860 }1861 if in.Window != nil {1862 in, out := &in.Window, &out.Window1863 *out = new(string)1864 **out = **in1865 }1866 return1867}1868// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokesWaitValidationTarget.1869func (in *MonitorSpecScriptEventsEventKeystrokesWaitValidationTarget) DeepCopy() *MonitorSpecScriptEventsEventKeystrokesWaitValidationTarget {1870 if in == nil {1871 return nil1872 }1873 out := new(MonitorSpecScriptEventsEventKeystrokesWaitValidationTarget)1874 in.DeepCopyInto(out)1875 return out1876}1877// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1878func (in *MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocators) {1879 *out = *in1880 if in.Locator != nil {1881 in, out := &in.Locator, &out.Locator1882 *out = make([]MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocatorsLocator, len(*in))1883 for i := range *in {1884 (*in)[i].DeepCopyInto(&(*out)[i])1885 }1886 }1887 return1888}1889// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocators.1890func (in *MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocators {1891 if in == nil {1892 return nil1893 }1894 out := new(MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocators)1895 in.DeepCopyInto(out)1896 return out1897}1898// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1899func (in *MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocatorsLocator) {1900 *out = *in1901 if in.Type != nil {1902 in, out := &in.Type, &out.Type1903 *out = new(string)1904 **out = **in1905 }1906 if in.Value != nil {1907 in, out := &in.Value, &out.Value1908 *out = new(string)1909 **out = **in1910 }1911 return1912}1913// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocatorsLocator.1914func (in *MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocatorsLocator {1915 if in == nil {1916 return nil1917 }1918 out := new(MonitorSpecScriptEventsEventKeystrokesWaitValidationTargetLocatorsLocator)1919 in.DeepCopyInto(out)1920 return out1921}1922// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1923func (in *MonitorSpecScriptEventsEventNavigate) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigate) {1924 *out = *in1925 if in.Authentication != nil {1926 in, out := &in.Authentication, &out.Authentication1927 *out = new(MonitorSpecScriptEventsEventNavigateAuthentication)1928 (*in).DeepCopyInto(*out)1929 }1930 if in.Target != nil {1931 in, out := &in.Target, &out.Target1932 *out = new(MonitorSpecScriptEventsEventNavigateTarget)1933 (*in).DeepCopyInto(*out)1934 }1935 if in.Url != nil {1936 in, out := &in.Url, &out.Url1937 *out = new(string)1938 **out = **in1939 }1940 if in.Validate != nil {1941 in, out := &in.Validate, &out.Validate1942 *out = new(MonitorSpecScriptEventsEventNavigateValidate)1943 (*in).DeepCopyInto(*out)1944 }1945 if in.Wait != nil {1946 in, out := &in.Wait, &out.Wait1947 *out = new(MonitorSpecScriptEventsEventNavigateWait)1948 (*in).DeepCopyInto(*out)1949 }1950 return1951}1952// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigate.1953func (in *MonitorSpecScriptEventsEventNavigate) DeepCopy() *MonitorSpecScriptEventsEventNavigate {1954 if in == nil {1955 return nil1956 }1957 out := new(MonitorSpecScriptEventsEventNavigate)1958 in.DeepCopyInto(out)1959 return out1960}1961// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1962func (in *MonitorSpecScriptEventsEventNavigateAuthentication) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateAuthentication) {1963 *out = *in1964 if in.Creds != nil {1965 in, out := &in.Creds, &out.Creds1966 *out = new(string)1967 **out = **in1968 }1969 if in.Type != nil {1970 in, out := &in.Type, &out.Type1971 *out = new(string)1972 **out = **in1973 }1974 return1975}1976// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateAuthentication.1977func (in *MonitorSpecScriptEventsEventNavigateAuthentication) DeepCopy() *MonitorSpecScriptEventsEventNavigateAuthentication {1978 if in == nil {1979 return nil1980 }1981 out := new(MonitorSpecScriptEventsEventNavigateAuthentication)1982 in.DeepCopyInto(out)1983 return out1984}1985// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.1986func (in *MonitorSpecScriptEventsEventNavigateTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateTarget) {1987 *out = *in1988 if in.Locators != nil {1989 in, out := &in.Locators, &out.Locators1990 *out = make([]MonitorSpecScriptEventsEventNavigateTargetLocators, len(*in))1991 for i := range *in {1992 (*in)[i].DeepCopyInto(&(*out)[i])1993 }1994 }1995 if in.Window != nil {1996 in, out := &in.Window, &out.Window1997 *out = new(string)1998 **out = **in1999 }2000 return2001}2002// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateTarget.2003func (in *MonitorSpecScriptEventsEventNavigateTarget) DeepCopy() *MonitorSpecScriptEventsEventNavigateTarget {2004 if in == nil {2005 return nil2006 }2007 out := new(MonitorSpecScriptEventsEventNavigateTarget)2008 in.DeepCopyInto(out)2009 return out2010}2011// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2012func (in *MonitorSpecScriptEventsEventNavigateTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateTargetLocators) {2013 *out = *in2014 if in.Locator != nil {2015 in, out := &in.Locator, &out.Locator2016 *out = make([]MonitorSpecScriptEventsEventNavigateTargetLocatorsLocator, len(*in))2017 for i := range *in {2018 (*in)[i].DeepCopyInto(&(*out)[i])2019 }2020 }2021 return2022}2023// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateTargetLocators.2024func (in *MonitorSpecScriptEventsEventNavigateTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventNavigateTargetLocators {2025 if in == nil {2026 return nil2027 }2028 out := new(MonitorSpecScriptEventsEventNavigateTargetLocators)2029 in.DeepCopyInto(out)2030 return out2031}2032// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2033func (in *MonitorSpecScriptEventsEventNavigateTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateTargetLocatorsLocator) {2034 *out = *in2035 if in.Type != nil {2036 in, out := &in.Type, &out.Type2037 *out = new(string)2038 **out = **in2039 }2040 if in.Value != nil {2041 in, out := &in.Value, &out.Value2042 *out = new(string)2043 **out = **in2044 }2045 return2046}2047// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateTargetLocatorsLocator.2048func (in *MonitorSpecScriptEventsEventNavigateTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventNavigateTargetLocatorsLocator {2049 if in == nil {2050 return nil2051 }2052 out := new(MonitorSpecScriptEventsEventNavigateTargetLocatorsLocator)2053 in.DeepCopyInto(out)2054 return out2055}2056// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2057func (in *MonitorSpecScriptEventsEventNavigateValidate) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateValidate) {2058 *out = *in2059 if in.Validation != nil {2060 in, out := &in.Validation, &out.Validation2061 *out = make([]MonitorSpecScriptEventsEventNavigateValidateValidation, len(*in))2062 for i := range *in {2063 (*in)[i].DeepCopyInto(&(*out)[i])2064 }2065 }2066 return2067}2068// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateValidate.2069func (in *MonitorSpecScriptEventsEventNavigateValidate) DeepCopy() *MonitorSpecScriptEventsEventNavigateValidate {2070 if in == nil {2071 return nil2072 }2073 out := new(MonitorSpecScriptEventsEventNavigateValidate)2074 in.DeepCopyInto(out)2075 return out2076}2077// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2078func (in *MonitorSpecScriptEventsEventNavigateValidateValidation) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateValidateValidation) {2079 *out = *in2080 if in.FailIfFound != nil {2081 in, out := &in.FailIfFound, &out.FailIfFound2082 *out = new(bool)2083 **out = **in2084 }2085 if in.Match != nil {2086 in, out := &in.Match, &out.Match2087 *out = new(string)2088 **out = **in2089 }2090 if in.Regex != nil {2091 in, out := &in.Regex, &out.Regex2092 *out = new(bool)2093 **out = **in2094 }2095 if in.Target != nil {2096 in, out := &in.Target, &out.Target2097 *out = new(MonitorSpecScriptEventsEventNavigateValidateValidationTarget)2098 (*in).DeepCopyInto(*out)2099 }2100 if in.Type != nil {2101 in, out := &in.Type, &out.Type2102 *out = new(string)2103 **out = **in2104 }2105 return2106}2107// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateValidateValidation.2108func (in *MonitorSpecScriptEventsEventNavigateValidateValidation) DeepCopy() *MonitorSpecScriptEventsEventNavigateValidateValidation {2109 if in == nil {2110 return nil2111 }2112 out := new(MonitorSpecScriptEventsEventNavigateValidateValidation)2113 in.DeepCopyInto(out)2114 return out2115}2116// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2117func (in *MonitorSpecScriptEventsEventNavigateValidateValidationTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateValidateValidationTarget) {2118 *out = *in2119 if in.Locators != nil {2120 in, out := &in.Locators, &out.Locators2121 *out = make([]MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocators, len(*in))2122 for i := range *in {2123 (*in)[i].DeepCopyInto(&(*out)[i])2124 }2125 }2126 if in.Window != nil {2127 in, out := &in.Window, &out.Window2128 *out = new(string)2129 **out = **in2130 }2131 return2132}2133// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateValidateValidationTarget.2134func (in *MonitorSpecScriptEventsEventNavigateValidateValidationTarget) DeepCopy() *MonitorSpecScriptEventsEventNavigateValidateValidationTarget {2135 if in == nil {2136 return nil2137 }2138 out := new(MonitorSpecScriptEventsEventNavigateValidateValidationTarget)2139 in.DeepCopyInto(out)2140 return out2141}2142// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2143func (in *MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocators) {2144 *out = *in2145 if in.Locator != nil {2146 in, out := &in.Locator, &out.Locator2147 *out = make([]MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocatorsLocator, len(*in))2148 for i := range *in {2149 (*in)[i].DeepCopyInto(&(*out)[i])2150 }2151 }2152 return2153}2154// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocators.2155func (in *MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocators {2156 if in == nil {2157 return nil2158 }2159 out := new(MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocators)2160 in.DeepCopyInto(out)2161 return out2162}2163// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2164func (in *MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocatorsLocator) {2165 *out = *in2166 if in.Type != nil {2167 in, out := &in.Type, &out.Type2168 *out = new(string)2169 **out = **in2170 }2171 if in.Value != nil {2172 in, out := &in.Value, &out.Value2173 *out = new(string)2174 **out = **in2175 }2176 return2177}2178// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocatorsLocator.2179func (in *MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocatorsLocator {2180 if in == nil {2181 return nil2182 }2183 out := new(MonitorSpecScriptEventsEventNavigateValidateValidationTargetLocatorsLocator)2184 in.DeepCopyInto(out)2185 return out2186}2187// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2188func (in *MonitorSpecScriptEventsEventNavigateWait) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateWait) {2189 *out = *in2190 if in.Milliseconds != nil {2191 in, out := &in.Milliseconds, &out.Milliseconds2192 *out = new(int64)2193 **out = **in2194 }2195 if in.Timeout != nil {2196 in, out := &in.Timeout, &out.Timeout2197 *out = new(int64)2198 **out = **in2199 }2200 if in.Validation != nil {2201 in, out := &in.Validation, &out.Validation2202 *out = new(MonitorSpecScriptEventsEventNavigateWaitValidation)2203 (*in).DeepCopyInto(*out)2204 }2205 if in.WaitFor != nil {2206 in, out := &in.WaitFor, &out.WaitFor2207 *out = new(string)2208 **out = **in2209 }2210 return2211}2212// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateWait.2213func (in *MonitorSpecScriptEventsEventNavigateWait) DeepCopy() *MonitorSpecScriptEventsEventNavigateWait {2214 if in == nil {2215 return nil2216 }2217 out := new(MonitorSpecScriptEventsEventNavigateWait)2218 in.DeepCopyInto(out)2219 return out2220}2221// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2222func (in *MonitorSpecScriptEventsEventNavigateWaitValidation) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateWaitValidation) {2223 *out = *in2224 if in.FailIfFound != nil {2225 in, out := &in.FailIfFound, &out.FailIfFound2226 *out = new(bool)2227 **out = **in2228 }2229 if in.Match != nil {2230 in, out := &in.Match, &out.Match2231 *out = new(string)2232 **out = **in2233 }2234 if in.Regex != nil {2235 in, out := &in.Regex, &out.Regex2236 *out = new(bool)2237 **out = **in2238 }2239 if in.Target != nil {2240 in, out := &in.Target, &out.Target2241 *out = new(MonitorSpecScriptEventsEventNavigateWaitValidationTarget)2242 (*in).DeepCopyInto(*out)2243 }2244 if in.Type != nil {2245 in, out := &in.Type, &out.Type2246 *out = new(string)2247 **out = **in2248 }2249 return2250}2251// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateWaitValidation.2252func (in *MonitorSpecScriptEventsEventNavigateWaitValidation) DeepCopy() *MonitorSpecScriptEventsEventNavigateWaitValidation {2253 if in == nil {2254 return nil2255 }2256 out := new(MonitorSpecScriptEventsEventNavigateWaitValidation)2257 in.DeepCopyInto(out)2258 return out2259}2260// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2261func (in *MonitorSpecScriptEventsEventNavigateWaitValidationTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateWaitValidationTarget) {2262 *out = *in2263 if in.Locators != nil {2264 in, out := &in.Locators, &out.Locators2265 *out = make([]MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocators, len(*in))2266 for i := range *in {2267 (*in)[i].DeepCopyInto(&(*out)[i])2268 }2269 }2270 if in.Window != nil {2271 in, out := &in.Window, &out.Window2272 *out = new(string)2273 **out = **in2274 }2275 return2276}2277// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateWaitValidationTarget.2278func (in *MonitorSpecScriptEventsEventNavigateWaitValidationTarget) DeepCopy() *MonitorSpecScriptEventsEventNavigateWaitValidationTarget {2279 if in == nil {2280 return nil2281 }2282 out := new(MonitorSpecScriptEventsEventNavigateWaitValidationTarget)2283 in.DeepCopyInto(out)2284 return out2285}2286// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2287func (in *MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocators) {2288 *out = *in2289 if in.Locator != nil {2290 in, out := &in.Locator, &out.Locator2291 *out = make([]MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocatorsLocator, len(*in))2292 for i := range *in {2293 (*in)[i].DeepCopyInto(&(*out)[i])2294 }2295 }2296 return2297}2298// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocators.2299func (in *MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocators {2300 if in == nil {2301 return nil2302 }2303 out := new(MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocators)2304 in.DeepCopyInto(out)2305 return out2306}2307// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2308func (in *MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocatorsLocator) {2309 *out = *in2310 if in.Type != nil {2311 in, out := &in.Type, &out.Type2312 *out = new(string)2313 **out = **in2314 }2315 if in.Value != nil {2316 in, out := &in.Value, &out.Value2317 *out = new(string)2318 **out = **in2319 }2320 return2321}2322// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocatorsLocator.2323func (in *MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocatorsLocator {2324 if in == nil {2325 return nil2326 }2327 out := new(MonitorSpecScriptEventsEventNavigateWaitValidationTargetLocatorsLocator)2328 in.DeepCopyInto(out)2329 return out2330}2331// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2332func (in *MonitorSpecScriptEventsEventSelect) DeepCopyInto(out *MonitorSpecScriptEventsEventSelect) {2333 *out = *in2334 if in.Selections != nil {2335 in, out := &in.Selections, &out.Selections2336 *out = new(MonitorSpecScriptEventsEventSelectSelections)2337 (*in).DeepCopyInto(*out)2338 }2339 if in.Target != nil {2340 in, out := &in.Target, &out.Target2341 *out = new(MonitorSpecScriptEventsEventSelectTarget)2342 (*in).DeepCopyInto(*out)2343 }2344 if in.Validate != nil {2345 in, out := &in.Validate, &out.Validate2346 *out = new(MonitorSpecScriptEventsEventSelectValidate)2347 (*in).DeepCopyInto(*out)2348 }2349 if in.Wait != nil {2350 in, out := &in.Wait, &out.Wait2351 *out = new(MonitorSpecScriptEventsEventSelectWait)2352 (*in).DeepCopyInto(*out)2353 }2354 return2355}2356// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelect.2357func (in *MonitorSpecScriptEventsEventSelect) DeepCopy() *MonitorSpecScriptEventsEventSelect {2358 if in == nil {2359 return nil2360 }2361 out := new(MonitorSpecScriptEventsEventSelect)2362 in.DeepCopyInto(out)2363 return out2364}2365// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2366func (in *MonitorSpecScriptEventsEventSelectSelections) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectSelections) {2367 *out = *in2368 if in.Option != nil {2369 in, out := &in.Option, &out.Option2370 *out = make([]MonitorSpecScriptEventsEventSelectSelectionsOption, len(*in))2371 for i := range *in {2372 (*in)[i].DeepCopyInto(&(*out)[i])2373 }2374 }2375 return2376}2377// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectSelections.2378func (in *MonitorSpecScriptEventsEventSelectSelections) DeepCopy() *MonitorSpecScriptEventsEventSelectSelections {2379 if in == nil {2380 return nil2381 }2382 out := new(MonitorSpecScriptEventsEventSelectSelections)2383 in.DeepCopyInto(out)2384 return out2385}2386// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2387func (in *MonitorSpecScriptEventsEventSelectSelectionsOption) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectSelectionsOption) {2388 *out = *in2389 if in.Index != nil {2390 in, out := &in.Index, &out.Index2391 *out = new(int64)2392 **out = **in2393 }2394 if in.Value != nil {2395 in, out := &in.Value, &out.Value2396 *out = new(string)2397 **out = **in2398 }2399 return2400}2401// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectSelectionsOption.2402func (in *MonitorSpecScriptEventsEventSelectSelectionsOption) DeepCopy() *MonitorSpecScriptEventsEventSelectSelectionsOption {2403 if in == nil {2404 return nil2405 }2406 out := new(MonitorSpecScriptEventsEventSelectSelectionsOption)2407 in.DeepCopyInto(out)2408 return out2409}2410// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2411func (in *MonitorSpecScriptEventsEventSelectTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectTarget) {2412 *out = *in2413 if in.Locators != nil {2414 in, out := &in.Locators, &out.Locators2415 *out = make([]MonitorSpecScriptEventsEventSelectTargetLocators, len(*in))2416 for i := range *in {2417 (*in)[i].DeepCopyInto(&(*out)[i])2418 }2419 }2420 if in.Window != nil {2421 in, out := &in.Window, &out.Window2422 *out = new(string)2423 **out = **in2424 }2425 return2426}2427// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectTarget.2428func (in *MonitorSpecScriptEventsEventSelectTarget) DeepCopy() *MonitorSpecScriptEventsEventSelectTarget {2429 if in == nil {2430 return nil2431 }2432 out := new(MonitorSpecScriptEventsEventSelectTarget)2433 in.DeepCopyInto(out)2434 return out2435}2436// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2437func (in *MonitorSpecScriptEventsEventSelectTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectTargetLocators) {2438 *out = *in2439 if in.Locator != nil {2440 in, out := &in.Locator, &out.Locator2441 *out = make([]MonitorSpecScriptEventsEventSelectTargetLocatorsLocator, len(*in))2442 for i := range *in {2443 (*in)[i].DeepCopyInto(&(*out)[i])2444 }2445 }2446 return2447}2448// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectTargetLocators.2449func (in *MonitorSpecScriptEventsEventSelectTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventSelectTargetLocators {2450 if in == nil {2451 return nil2452 }2453 out := new(MonitorSpecScriptEventsEventSelectTargetLocators)2454 in.DeepCopyInto(out)2455 return out2456}2457// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2458func (in *MonitorSpecScriptEventsEventSelectTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectTargetLocatorsLocator) {2459 *out = *in2460 if in.Type != nil {2461 in, out := &in.Type, &out.Type2462 *out = new(string)2463 **out = **in2464 }2465 if in.Value != nil {2466 in, out := &in.Value, &out.Value2467 *out = new(string)2468 **out = **in2469 }2470 return2471}2472// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectTargetLocatorsLocator.2473func (in *MonitorSpecScriptEventsEventSelectTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventSelectTargetLocatorsLocator {2474 if in == nil {2475 return nil2476 }2477 out := new(MonitorSpecScriptEventsEventSelectTargetLocatorsLocator)2478 in.DeepCopyInto(out)2479 return out2480}2481// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2482func (in *MonitorSpecScriptEventsEventSelectValidate) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectValidate) {2483 *out = *in2484 if in.Validation != nil {2485 in, out := &in.Validation, &out.Validation2486 *out = make([]MonitorSpecScriptEventsEventSelectValidateValidation, len(*in))2487 for i := range *in {2488 (*in)[i].DeepCopyInto(&(*out)[i])2489 }2490 }2491 return2492}2493// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectValidate.2494func (in *MonitorSpecScriptEventsEventSelectValidate) DeepCopy() *MonitorSpecScriptEventsEventSelectValidate {2495 if in == nil {2496 return nil2497 }2498 out := new(MonitorSpecScriptEventsEventSelectValidate)2499 in.DeepCopyInto(out)2500 return out2501}2502// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2503func (in *MonitorSpecScriptEventsEventSelectValidateValidation) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectValidateValidation) {2504 *out = *in2505 if in.FailIfFound != nil {2506 in, out := &in.FailIfFound, &out.FailIfFound2507 *out = new(bool)2508 **out = **in2509 }2510 if in.Match != nil {2511 in, out := &in.Match, &out.Match2512 *out = new(string)2513 **out = **in2514 }2515 if in.Regex != nil {2516 in, out := &in.Regex, &out.Regex2517 *out = new(bool)2518 **out = **in2519 }2520 if in.Target != nil {2521 in, out := &in.Target, &out.Target2522 *out = new(MonitorSpecScriptEventsEventSelectValidateValidationTarget)2523 (*in).DeepCopyInto(*out)2524 }2525 if in.Type != nil {2526 in, out := &in.Type, &out.Type2527 *out = new(string)2528 **out = **in2529 }2530 return2531}2532// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectValidateValidation.2533func (in *MonitorSpecScriptEventsEventSelectValidateValidation) DeepCopy() *MonitorSpecScriptEventsEventSelectValidateValidation {2534 if in == nil {2535 return nil2536 }2537 out := new(MonitorSpecScriptEventsEventSelectValidateValidation)2538 in.DeepCopyInto(out)2539 return out2540}2541// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2542func (in *MonitorSpecScriptEventsEventSelectValidateValidationTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectValidateValidationTarget) {2543 *out = *in2544 if in.Locators != nil {2545 in, out := &in.Locators, &out.Locators2546 *out = make([]MonitorSpecScriptEventsEventSelectValidateValidationTargetLocators, len(*in))2547 for i := range *in {2548 (*in)[i].DeepCopyInto(&(*out)[i])2549 }2550 }2551 if in.Window != nil {2552 in, out := &in.Window, &out.Window2553 *out = new(string)2554 **out = **in2555 }2556 return2557}2558// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectValidateValidationTarget.2559func (in *MonitorSpecScriptEventsEventSelectValidateValidationTarget) DeepCopy() *MonitorSpecScriptEventsEventSelectValidateValidationTarget {2560 if in == nil {2561 return nil2562 }2563 out := new(MonitorSpecScriptEventsEventSelectValidateValidationTarget)2564 in.DeepCopyInto(out)2565 return out2566}2567// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2568func (in *MonitorSpecScriptEventsEventSelectValidateValidationTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectValidateValidationTargetLocators) {2569 *out = *in2570 if in.Locator != nil {2571 in, out := &in.Locator, &out.Locator2572 *out = make([]MonitorSpecScriptEventsEventSelectValidateValidationTargetLocatorsLocator, len(*in))2573 for i := range *in {2574 (*in)[i].DeepCopyInto(&(*out)[i])2575 }2576 }2577 return2578}2579// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectValidateValidationTargetLocators.2580func (in *MonitorSpecScriptEventsEventSelectValidateValidationTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventSelectValidateValidationTargetLocators {2581 if in == nil {2582 return nil2583 }2584 out := new(MonitorSpecScriptEventsEventSelectValidateValidationTargetLocators)2585 in.DeepCopyInto(out)2586 return out2587}2588// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2589func (in *MonitorSpecScriptEventsEventSelectValidateValidationTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectValidateValidationTargetLocatorsLocator) {2590 *out = *in2591 if in.Type != nil {2592 in, out := &in.Type, &out.Type2593 *out = new(string)2594 **out = **in2595 }2596 if in.Value != nil {2597 in, out := &in.Value, &out.Value2598 *out = new(string)2599 **out = **in2600 }2601 return2602}2603// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectValidateValidationTargetLocatorsLocator.2604func (in *MonitorSpecScriptEventsEventSelectValidateValidationTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventSelectValidateValidationTargetLocatorsLocator {2605 if in == nil {2606 return nil2607 }2608 out := new(MonitorSpecScriptEventsEventSelectValidateValidationTargetLocatorsLocator)2609 in.DeepCopyInto(out)2610 return out2611}2612// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2613func (in *MonitorSpecScriptEventsEventSelectWait) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectWait) {2614 *out = *in2615 if in.Milliseconds != nil {2616 in, out := &in.Milliseconds, &out.Milliseconds2617 *out = new(int64)2618 **out = **in2619 }2620 if in.Timeout != nil {2621 in, out := &in.Timeout, &out.Timeout2622 *out = new(int64)2623 **out = **in2624 }2625 if in.Validation != nil {2626 in, out := &in.Validation, &out.Validation2627 *out = new(MonitorSpecScriptEventsEventSelectWaitValidation)2628 (*in).DeepCopyInto(*out)2629 }2630 if in.WaitFor != nil {2631 in, out := &in.WaitFor, &out.WaitFor2632 *out = new(string)2633 **out = **in2634 }2635 return2636}2637// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectWait.2638func (in *MonitorSpecScriptEventsEventSelectWait) DeepCopy() *MonitorSpecScriptEventsEventSelectWait {2639 if in == nil {2640 return nil2641 }2642 out := new(MonitorSpecScriptEventsEventSelectWait)2643 in.DeepCopyInto(out)2644 return out2645}2646// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2647func (in *MonitorSpecScriptEventsEventSelectWaitValidation) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectWaitValidation) {2648 *out = *in2649 if in.FailIfFound != nil {2650 in, out := &in.FailIfFound, &out.FailIfFound2651 *out = new(bool)2652 **out = **in2653 }2654 if in.Match != nil {2655 in, out := &in.Match, &out.Match2656 *out = new(string)2657 **out = **in2658 }2659 if in.Regex != nil {2660 in, out := &in.Regex, &out.Regex2661 *out = new(bool)2662 **out = **in2663 }2664 if in.Target != nil {2665 in, out := &in.Target, &out.Target2666 *out = new(MonitorSpecScriptEventsEventSelectWaitValidationTarget)2667 (*in).DeepCopyInto(*out)2668 }2669 if in.Type != nil {2670 in, out := &in.Type, &out.Type2671 *out = new(string)2672 **out = **in2673 }2674 return2675}2676// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectWaitValidation.2677func (in *MonitorSpecScriptEventsEventSelectWaitValidation) DeepCopy() *MonitorSpecScriptEventsEventSelectWaitValidation {2678 if in == nil {2679 return nil2680 }2681 out := new(MonitorSpecScriptEventsEventSelectWaitValidation)2682 in.DeepCopyInto(out)2683 return out2684}2685// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2686func (in *MonitorSpecScriptEventsEventSelectWaitValidationTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectWaitValidationTarget) {2687 *out = *in2688 if in.Locators != nil {2689 in, out := &in.Locators, &out.Locators2690 *out = make([]MonitorSpecScriptEventsEventSelectWaitValidationTargetLocators, len(*in))2691 for i := range *in {2692 (*in)[i].DeepCopyInto(&(*out)[i])2693 }2694 }2695 if in.Window != nil {2696 in, out := &in.Window, &out.Window2697 *out = new(string)2698 **out = **in2699 }2700 return2701}2702// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectWaitValidationTarget.2703func (in *MonitorSpecScriptEventsEventSelectWaitValidationTarget) DeepCopy() *MonitorSpecScriptEventsEventSelectWaitValidationTarget {2704 if in == nil {2705 return nil2706 }2707 out := new(MonitorSpecScriptEventsEventSelectWaitValidationTarget)2708 in.DeepCopyInto(out)2709 return out2710}2711// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2712func (in *MonitorSpecScriptEventsEventSelectWaitValidationTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectWaitValidationTargetLocators) {2713 *out = *in2714 if in.Locator != nil {2715 in, out := &in.Locator, &out.Locator2716 *out = make([]MonitorSpecScriptEventsEventSelectWaitValidationTargetLocatorsLocator, len(*in))2717 for i := range *in {2718 (*in)[i].DeepCopyInto(&(*out)[i])2719 }2720 }2721 return2722}2723// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectWaitValidationTargetLocators.2724func (in *MonitorSpecScriptEventsEventSelectWaitValidationTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventSelectWaitValidationTargetLocators {2725 if in == nil {2726 return nil2727 }2728 out := new(MonitorSpecScriptEventsEventSelectWaitValidationTargetLocators)2729 in.DeepCopyInto(out)2730 return out2731}2732// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2733func (in *MonitorSpecScriptEventsEventSelectWaitValidationTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventSelectWaitValidationTargetLocatorsLocator) {2734 *out = *in2735 if in.Type != nil {2736 in, out := &in.Type, &out.Type2737 *out = new(string)2738 **out = **in2739 }2740 if in.Value != nil {2741 in, out := &in.Value, &out.Value2742 *out = new(string)2743 **out = **in2744 }2745 return2746}2747// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventSelectWaitValidationTargetLocatorsLocator.2748func (in *MonitorSpecScriptEventsEventSelectWaitValidationTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventSelectWaitValidationTargetLocatorsLocator {2749 if in == nil {2750 return nil2751 }2752 out := new(MonitorSpecScriptEventsEventSelectWaitValidationTargetLocatorsLocator)2753 in.DeepCopyInto(out)2754 return out2755}2756// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2757func (in *MonitorSpecScriptEventsEventTap) DeepCopyInto(out *MonitorSpecScriptEventsEventTap) {2758 *out = *in2759 if in.Button != nil {2760 in, out := &in.Button, &out.Button2761 *out = new(int64)2762 **out = **in2763 }2764 if in.Target != nil {2765 in, out := &in.Target, &out.Target2766 *out = new(MonitorSpecScriptEventsEventTapTarget)2767 (*in).DeepCopyInto(*out)2768 }2769 if in.Validate != nil {2770 in, out := &in.Validate, &out.Validate2771 *out = new(MonitorSpecScriptEventsEventTapValidate)2772 (*in).DeepCopyInto(*out)2773 }2774 if in.Wait != nil {2775 in, out := &in.Wait, &out.Wait2776 *out = new(MonitorSpecScriptEventsEventTapWait)2777 (*in).DeepCopyInto(*out)2778 }2779 return2780}2781// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTap.2782func (in *MonitorSpecScriptEventsEventTap) DeepCopy() *MonitorSpecScriptEventsEventTap {2783 if in == nil {2784 return nil2785 }2786 out := new(MonitorSpecScriptEventsEventTap)2787 in.DeepCopyInto(out)2788 return out2789}2790// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2791func (in *MonitorSpecScriptEventsEventTapTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventTapTarget) {2792 *out = *in2793 if in.Locators != nil {2794 in, out := &in.Locators, &out.Locators2795 *out = make([]MonitorSpecScriptEventsEventTapTargetLocators, len(*in))2796 for i := range *in {2797 (*in)[i].DeepCopyInto(&(*out)[i])2798 }2799 }2800 if in.Window != nil {2801 in, out := &in.Window, &out.Window2802 *out = new(string)2803 **out = **in2804 }2805 return2806}2807// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTapTarget.2808func (in *MonitorSpecScriptEventsEventTapTarget) DeepCopy() *MonitorSpecScriptEventsEventTapTarget {2809 if in == nil {2810 return nil2811 }2812 out := new(MonitorSpecScriptEventsEventTapTarget)2813 in.DeepCopyInto(out)2814 return out2815}2816// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2817func (in *MonitorSpecScriptEventsEventTapTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventTapTargetLocators) {2818 *out = *in2819 if in.Locator != nil {2820 in, out := &in.Locator, &out.Locator2821 *out = make([]MonitorSpecScriptEventsEventTapTargetLocatorsLocator, len(*in))2822 for i := range *in {2823 (*in)[i].DeepCopyInto(&(*out)[i])2824 }2825 }2826 return2827}2828// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTapTargetLocators.2829func (in *MonitorSpecScriptEventsEventTapTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventTapTargetLocators {2830 if in == nil {2831 return nil2832 }2833 out := new(MonitorSpecScriptEventsEventTapTargetLocators)2834 in.DeepCopyInto(out)2835 return out2836}2837// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2838func (in *MonitorSpecScriptEventsEventTapTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventTapTargetLocatorsLocator) {2839 *out = *in2840 if in.Type != nil {2841 in, out := &in.Type, &out.Type2842 *out = new(string)2843 **out = **in2844 }2845 if in.Value != nil {2846 in, out := &in.Value, &out.Value2847 *out = new(string)2848 **out = **in2849 }2850 return2851}2852// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTapTargetLocatorsLocator.2853func (in *MonitorSpecScriptEventsEventTapTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventTapTargetLocatorsLocator {2854 if in == nil {2855 return nil2856 }2857 out := new(MonitorSpecScriptEventsEventTapTargetLocatorsLocator)2858 in.DeepCopyInto(out)2859 return out2860}2861// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2862func (in *MonitorSpecScriptEventsEventTapValidate) DeepCopyInto(out *MonitorSpecScriptEventsEventTapValidate) {2863 *out = *in2864 if in.Validation != nil {2865 in, out := &in.Validation, &out.Validation2866 *out = make([]MonitorSpecScriptEventsEventTapValidateValidation, len(*in))2867 for i := range *in {2868 (*in)[i].DeepCopyInto(&(*out)[i])2869 }2870 }2871 return2872}2873// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTapValidate.2874func (in *MonitorSpecScriptEventsEventTapValidate) DeepCopy() *MonitorSpecScriptEventsEventTapValidate {2875 if in == nil {2876 return nil2877 }2878 out := new(MonitorSpecScriptEventsEventTapValidate)2879 in.DeepCopyInto(out)2880 return out2881}2882// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2883func (in *MonitorSpecScriptEventsEventTapValidateValidation) DeepCopyInto(out *MonitorSpecScriptEventsEventTapValidateValidation) {2884 *out = *in2885 if in.FailIfFound != nil {2886 in, out := &in.FailIfFound, &out.FailIfFound2887 *out = new(bool)2888 **out = **in2889 }2890 if in.Match != nil {2891 in, out := &in.Match, &out.Match2892 *out = new(string)2893 **out = **in2894 }2895 if in.Regex != nil {2896 in, out := &in.Regex, &out.Regex2897 *out = new(bool)2898 **out = **in2899 }2900 if in.Target != nil {2901 in, out := &in.Target, &out.Target2902 *out = new(MonitorSpecScriptEventsEventTapValidateValidationTarget)2903 (*in).DeepCopyInto(*out)2904 }2905 if in.Type != nil {2906 in, out := &in.Type, &out.Type2907 *out = new(string)2908 **out = **in2909 }2910 return2911}2912// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTapValidateValidation.2913func (in *MonitorSpecScriptEventsEventTapValidateValidation) DeepCopy() *MonitorSpecScriptEventsEventTapValidateValidation {2914 if in == nil {2915 return nil2916 }2917 out := new(MonitorSpecScriptEventsEventTapValidateValidation)2918 in.DeepCopyInto(out)2919 return out2920}2921// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2922func (in *MonitorSpecScriptEventsEventTapValidateValidationTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventTapValidateValidationTarget) {2923 *out = *in2924 if in.Locators != nil {2925 in, out := &in.Locators, &out.Locators2926 *out = make([]MonitorSpecScriptEventsEventTapValidateValidationTargetLocators, len(*in))2927 for i := range *in {2928 (*in)[i].DeepCopyInto(&(*out)[i])2929 }2930 }2931 if in.Window != nil {2932 in, out := &in.Window, &out.Window2933 *out = new(string)2934 **out = **in2935 }2936 return2937}2938// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTapValidateValidationTarget.2939func (in *MonitorSpecScriptEventsEventTapValidateValidationTarget) DeepCopy() *MonitorSpecScriptEventsEventTapValidateValidationTarget {2940 if in == nil {2941 return nil2942 }2943 out := new(MonitorSpecScriptEventsEventTapValidateValidationTarget)2944 in.DeepCopyInto(out)2945 return out2946}2947// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2948func (in *MonitorSpecScriptEventsEventTapValidateValidationTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventTapValidateValidationTargetLocators) {2949 *out = *in2950 if in.Locator != nil {2951 in, out := &in.Locator, &out.Locator2952 *out = make([]MonitorSpecScriptEventsEventTapValidateValidationTargetLocatorsLocator, len(*in))2953 for i := range *in {2954 (*in)[i].DeepCopyInto(&(*out)[i])2955 }2956 }2957 return2958}2959// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTapValidateValidationTargetLocators.2960func (in *MonitorSpecScriptEventsEventTapValidateValidationTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventTapValidateValidationTargetLocators {2961 if in == nil {2962 return nil2963 }2964 out := new(MonitorSpecScriptEventsEventTapValidateValidationTargetLocators)2965 in.DeepCopyInto(out)2966 return out2967}2968// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2969func (in *MonitorSpecScriptEventsEventTapValidateValidationTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventTapValidateValidationTargetLocatorsLocator) {2970 *out = *in2971 if in.Type != nil {2972 in, out := &in.Type, &out.Type2973 *out = new(string)2974 **out = **in2975 }2976 if in.Value != nil {2977 in, out := &in.Value, &out.Value2978 *out = new(string)2979 **out = **in2980 }2981 return2982}2983// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTapValidateValidationTargetLocatorsLocator.2984func (in *MonitorSpecScriptEventsEventTapValidateValidationTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventTapValidateValidationTargetLocatorsLocator {2985 if in == nil {2986 return nil2987 }2988 out := new(MonitorSpecScriptEventsEventTapValidateValidationTargetLocatorsLocator)2989 in.DeepCopyInto(out)2990 return out2991}2992// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.2993func (in *MonitorSpecScriptEventsEventTapWait) DeepCopyInto(out *MonitorSpecScriptEventsEventTapWait) {2994 *out = *in2995 if in.Milliseconds != nil {2996 in, out := &in.Milliseconds, &out.Milliseconds2997 *out = new(int64)2998 **out = **in2999 }3000 if in.Timeout != nil {3001 in, out := &in.Timeout, &out.Timeout3002 *out = new(int64)3003 **out = **in3004 }3005 if in.Validation != nil {3006 in, out := &in.Validation, &out.Validation3007 *out = new(MonitorSpecScriptEventsEventTapWaitValidation)3008 (*in).DeepCopyInto(*out)3009 }3010 if in.WaitFor != nil {3011 in, out := &in.WaitFor, &out.WaitFor3012 *out = new(string)3013 **out = **in3014 }3015 return3016}3017// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTapWait.3018func (in *MonitorSpecScriptEventsEventTapWait) DeepCopy() *MonitorSpecScriptEventsEventTapWait {3019 if in == nil {3020 return nil3021 }3022 out := new(MonitorSpecScriptEventsEventTapWait)3023 in.DeepCopyInto(out)3024 return out3025}3026// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.3027func (in *MonitorSpecScriptEventsEventTapWaitValidation) DeepCopyInto(out *MonitorSpecScriptEventsEventTapWaitValidation) {3028 *out = *in3029 if in.FailIfFound != nil {3030 in, out := &in.FailIfFound, &out.FailIfFound3031 *out = new(bool)3032 **out = **in3033 }3034 if in.Match != nil {3035 in, out := &in.Match, &out.Match3036 *out = new(string)3037 **out = **in3038 }3039 if in.Regex != nil {3040 in, out := &in.Regex, &out.Regex3041 *out = new(bool)3042 **out = **in3043 }3044 if in.Target != nil {3045 in, out := &in.Target, &out.Target3046 *out = new(MonitorSpecScriptEventsEventTapWaitValidationTarget)3047 (*in).DeepCopyInto(*out)3048 }3049 if in.Type != nil {3050 in, out := &in.Type, &out.Type3051 *out = new(string)3052 **out = **in3053 }3054 return3055}3056// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTapWaitValidation.3057func (in *MonitorSpecScriptEventsEventTapWaitValidation) DeepCopy() *MonitorSpecScriptEventsEventTapWaitValidation {3058 if in == nil {3059 return nil3060 }3061 out := new(MonitorSpecScriptEventsEventTapWaitValidation)3062 in.DeepCopyInto(out)3063 return out3064}3065// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.3066func (in *MonitorSpecScriptEventsEventTapWaitValidationTarget) DeepCopyInto(out *MonitorSpecScriptEventsEventTapWaitValidationTarget) {3067 *out = *in3068 if in.Locators != nil {3069 in, out := &in.Locators, &out.Locators3070 *out = make([]MonitorSpecScriptEventsEventTapWaitValidationTargetLocators, len(*in))3071 for i := range *in {3072 (*in)[i].DeepCopyInto(&(*out)[i])3073 }3074 }3075 if in.Window != nil {3076 in, out := &in.Window, &out.Window3077 *out = new(string)3078 **out = **in3079 }3080 return3081}3082// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTapWaitValidationTarget.3083func (in *MonitorSpecScriptEventsEventTapWaitValidationTarget) DeepCopy() *MonitorSpecScriptEventsEventTapWaitValidationTarget {3084 if in == nil {3085 return nil3086 }3087 out := new(MonitorSpecScriptEventsEventTapWaitValidationTarget)3088 in.DeepCopyInto(out)3089 return out3090}3091// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.3092func (in *MonitorSpecScriptEventsEventTapWaitValidationTargetLocators) DeepCopyInto(out *MonitorSpecScriptEventsEventTapWaitValidationTargetLocators) {3093 *out = *in3094 if in.Locator != nil {3095 in, out := &in.Locator, &out.Locator3096 *out = make([]MonitorSpecScriptEventsEventTapWaitValidationTargetLocatorsLocator, len(*in))3097 for i := range *in {3098 (*in)[i].DeepCopyInto(&(*out)[i])3099 }3100 }3101 return3102}3103// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTapWaitValidationTargetLocators.3104func (in *MonitorSpecScriptEventsEventTapWaitValidationTargetLocators) DeepCopy() *MonitorSpecScriptEventsEventTapWaitValidationTargetLocators {3105 if in == nil {3106 return nil3107 }3108 out := new(MonitorSpecScriptEventsEventTapWaitValidationTargetLocators)3109 in.DeepCopyInto(out)3110 return out3111}3112// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.3113func (in *MonitorSpecScriptEventsEventTapWaitValidationTargetLocatorsLocator) DeepCopyInto(out *MonitorSpecScriptEventsEventTapWaitValidationTargetLocatorsLocator) {3114 *out = *in3115 if in.Type != nil {3116 in, out := &in.Type, &out.Type3117 *out = new(string)3118 **out = **in3119 }3120 if in.Value != nil {3121 in, out := &in.Value, &out.Value3122 *out = new(string)3123 **out = **in3124 }3125 return3126}3127// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptEventsEventTapWaitValidationTargetLocatorsLocator.3128func (in *MonitorSpecScriptEventsEventTapWaitValidationTargetLocatorsLocator) DeepCopy() *MonitorSpecScriptEventsEventTapWaitValidationTargetLocatorsLocator {3129 if in == nil {3130 return nil3131 }3132 out := new(MonitorSpecScriptEventsEventTapWaitValidationTargetLocatorsLocator)3133 in.DeepCopyInto(out)3134 return out3135}3136// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.3137func (in *MonitorSpecTags) DeepCopyInto(out *MonitorSpecTags) {3138 *out = *in3139 if in.Tag != nil {3140 in, out := &in.Tag, &out.Tag3141 *out = make([]MonitorSpecTagsTag, len(*in))3142 for i := range *in {3143 (*in)[i].DeepCopyInto(&(*out)[i])3144 }3145 }3146 return3147}3148// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecTags.3149func (in *MonitorSpecTags) DeepCopy() *MonitorSpecTags {3150 if in == nil {3151 return nil3152 }3153 out := new(MonitorSpecTags)3154 in.DeepCopyInto(out)3155 return out3156}3157// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.3158func (in *MonitorSpecTagsTag) DeepCopyInto(out *MonitorSpecTagsTag) {3159 *out = *in3160 if in.Context != nil {3161 in, out := &in.Context, &out.Context3162 *out = new(string)3163 **out = **in3164 }3165 if in.Key != nil {3166 in, out := &in.Key, &out.Key3167 *out = new(string)3168 **out = **in3169 }3170 if in.Source != nil {3171 in, out := &in.Source, &out.Source3172 *out = new(string)3173 **out = **in3174 }3175 if in.Value != nil {3176 in, out := &in.Value, &out.Value3177 *out = new(string)3178 **out = **in3179 }3180 return3181}3182// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecTagsTag.3183func (in *MonitorSpecTagsTag) DeepCopy() *MonitorSpecTagsTag {3184 if in == nil {3185 return nil3186 }3187 out := new(MonitorSpecTagsTag)3188 in.DeepCopyInto(out)3189 return out3190}3191// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.3192func (in *MonitorStatus) DeepCopyInto(out *MonitorStatus) {3193 *out = *in3194 if in.Conditions != nil {3195 in, out := &in.Conditions, &out.Conditions3196 *out = make([]apiv1.Condition, len(*in))3197 for i := range *in {3198 (*in)[i].DeepCopyInto(&(*out)[i])3199 }3200 }3201 return3202}3203// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorStatus.3204func (in *MonitorStatus) DeepCopy() *MonitorStatus {3205 if in == nil {3206 return nil3207 }3208 out := new(MonitorStatus)3209 in.DeepCopyInto(out)3210 return out3211}...
ce_test_runner.go
Source:ce_test_runner.go
...152func (_this *CETestRunner) assertOperation(receiver events.DataEventReceiver,153 operation func(receiver events.DataEventReceiver),154 describeSrc func() string) {155 if _this.Debug {156 receiver = test.NewStdoutTEventPrinter(receiver)157 }158 if !_this.MustFail && _this.Trace {159 operation(receiver)160 return161 }162 eventStore := test.NewTEventStore(receiver)163 receiver = eventStore164 err := capturePanic(func() {165 operation(receiver)166 })167 if !_this.MustFail && err != nil {168 _this.testFailed("%v unexpectedly failed after producing events %v: %w", describeSrc(), eventStore.Events, err)169 } else if _this.MustFail && err == nil {170 _this.testFailed("%v unexpectedly succeeded and produced events %v", describeSrc(), eventStore.Events)171 }172}173func (_this *CETestRunner) driveEvents(receiver events.DataEventReceiver, events ...*test.TEvent) {174 for _, event := range events {175 event.Invoke(receiver)176 }177}178func (_this *CETestRunner) beginTestPhase(phase string) {179 _this.context = phase180 if _this.Debug {181 fmt.Printf("Running test phase %v\n", _this)182 }183}184func (_this *CETestRunner) runEventToNothing() {185 _this.beginTestPhase("E2N")186 receiver := rules.NewRules(events.NewNullEventReceiver(), nil)187 _this.assertOperation(receiver,188 func(recv events.DataEventReceiver) {189 _this.driveEvents(recv, _this.events...)190 }, func() string {191 return fmt.Sprintf("Events %v", _this.events)192 })193}194func (_this *CETestRunner) runCBEToNothing() {195 _this.beginTestPhase("B2N")196 receiver := rules.NewRules(events.NewNullEventReceiver(), nil)197 _this.assertOperation(receiver,198 func(recv events.DataEventReceiver) {199 // debug.DebugOptions.PassThroughPanics will be true, so we won't get an error200 _ = cbe.NewDecoder(nil).Decode(bytes.NewBuffer(_this.Cbe), recv)201 }, func() string {202 return fmt.Sprintf("CBE %v", desc(_this.Cbe))203 })204}205func (_this *CETestRunner) runCTEToNothing() {206 _this.beginTestPhase("T2N")207 receiver := rules.NewRules(events.NewNullEventReceiver(), nil)208 _this.assertOperation(receiver,209 func(recv events.DataEventReceiver) {210 // debug.DebugOptions.PassThroughPanics will be true, so we won't get an error211 _ = cte.NewDecoder(nil).Decode(bytes.NewBuffer([]byte(_this.Cte)), recv)212 }, func() string {213 return fmt.Sprintf("CTE %v", desc(_this.Cte))214 })215}216func (_this *CETestRunner) runEventToEvent() {217 _this.beginTestPhase("E2E")218 eventStore := test.NewTEventStore(events.NewNullEventReceiver())219 receiver := rules.NewRules(eventStore, nil)220 _this.assertOperation(receiver,221 func(recv events.DataEventReceiver) {222 _this.driveEvents(recv, _this.events...)223 }, func() string {224 return fmt.Sprintf("Events %v", _this.events)225 })226 expectedEvents := _this.events227 actualEvents := eventStore.Events228 if !test.AreAllEventsEquivalent(expectedEvents, actualEvents) {229 _this.testFailed("Expected events %v to produce events %v but got %v",230 _this.events, expectedEvents, actualEvents)231 }232}233func (_this *CETestRunner) runEventToCBE() {234 _this.beginTestPhase("E2B")235 buffer := &bytes.Buffer{}236 encoder := cbe.NewEncoder(nil)237 encoder.PrepareToEncode(buffer)238 receiver := rules.NewRules(encoder, nil)239 _this.assertOperation(receiver,240 func(recv events.DataEventReceiver) {241 _this.driveEvents(recv, _this.events...)242 }, func() string {243 return fmt.Sprintf("Events %v", _this.events)244 })245 expectedDocument := _this.Cbe246 actualDocument := buffer.Bytes()247 if !equivalence.IsEquivalent(expectedDocument, actualDocument) {248 _this.testFailed("Expected events %v to produce CBE %v but got %v",249 _this.events, desc(expectedDocument), desc(actualDocument))250 }251}252func (_this *CETestRunner) runEventToCTE() {253 _this.beginTestPhase("E2T")254 buffer := &bytes.Buffer{}255 encoder := cte.NewEncoder(nil)256 encoder.PrepareToEncode(buffer)257 receiver := rules.NewRules(encoder, nil)258 _this.assertOperation(receiver,259 func(recv events.DataEventReceiver) {260 _this.driveEvents(recv, _this.events...)261 }, func() string {262 return fmt.Sprintf("Events %v", _this.events)263 })264 expectedDocument := _this.Cte265 actualDocument := buffer.String()266 if !equivalence.IsEquivalent(expectedDocument, actualDocument) {267 _this.testFailed("Expected events %v to produce CTE %v but got %v after events %v",268 _this.events, desc(expectedDocument), desc(actualDocument), _this.events)269 }270}271func (_this *CETestRunner) runCBEToEvent() {272 _this.beginTestPhase("B2E")273 eventStore := test.NewTEventStore(events.NewNullEventReceiver())274 receiver := rules.NewRules(eventStore, nil)275 _this.assertOperation(receiver,276 func(recv events.DataEventReceiver) {277 // debug.DebugOptions.PassThroughPanics will be true, so we won't get an error278 _ = cbe.NewDecoder(nil).Decode(bytes.NewBuffer(_this.Cbe), recv)279 }, func() string {280 return fmt.Sprintf("CBE %v", desc(_this.Cbe))281 })282 expectedEvents := _this.events283 actualEvents := eventStore.Events284 if !test.AreAllEventsEquivalent(expectedEvents, actualEvents) {285 _this.testFailed("Expected CBE %v to produce events %v but got %v",286 desc(_this.Cbe), expectedEvents, actualEvents)287 }288}289func (_this *CETestRunner) runCBEToCBE() {290 _this.beginTestPhase("B2B")291 buffer := &bytes.Buffer{}292 encoder := cbe.NewEncoder(nil)293 encoder.PrepareToEncode(buffer)294 receiver := rules.NewRules(encoder, nil)295 _this.assertOperation(receiver,296 func(recv events.DataEventReceiver) {297 // debug.DebugOptions.PassThroughPanics will be true, so we won't get an error298 _ = cbe.NewDecoder(nil).Decode(bytes.NewBuffer(_this.Cbe), recv)299 }, func() string {300 return fmt.Sprintf("CBE %v", desc(_this.Cbe))301 })302 expectedDocument := _this.Cbe303 actualDocument := buffer.Bytes()304 if !equivalence.IsEquivalent(expectedDocument, actualDocument) {305 _this.testFailed("Expected CBE %v to produce CBE %v but got %v",306 desc(_this.Cbe), desc(expectedDocument), desc(actualDocument))307 }308}309func (_this *CETestRunner) runCBEToCTE() {310 _this.beginTestPhase("B2T")311 buffer := &bytes.Buffer{}312 encoder := cte.NewEncoder(nil)313 encoder.PrepareToEncode(buffer)314 receiver := rules.NewRules(encoder, nil)315 _this.assertOperation(receiver,316 func(recv events.DataEventReceiver) {317 // debug.DebugOptions.PassThroughPanics will be true, so we won't get an error318 _ = cbe.NewDecoder(nil).Decode(bytes.NewBuffer(_this.Cbe), recv)319 }, func() string {320 return fmt.Sprintf("CBE %v", desc(_this.Cbe))321 })322 expectedDocument := _this.Cte323 actualDocument := buffer.String()324 if !equivalence.IsEquivalent(expectedDocument, actualDocument) {325 _this.testFailed("Expected CBE %v to produce CTE %v but got %v",326 desc(_this.Cbe), desc(expectedDocument), desc(actualDocument))327 }328}329func (_this *CETestRunner) runCTEToEvent() {330 _this.beginTestPhase("T2E")331 eventStore := test.NewTEventStore(events.NewNullEventReceiver())332 receiver := rules.NewRules(eventStore, nil)333 _this.assertOperation(receiver,334 func(recv events.DataEventReceiver) {335 // debug.DebugOptions.PassThroughPanics will be true, so we won't get an error336 _ = cte.NewDecoder(nil).Decode(bytes.NewBuffer([]byte(_this.Cte)), recv)337 }, func() string {338 return fmt.Sprintf("CTE %v", desc(_this.Cte))339 })340 expectedEvents := _this.events341 actualEvents := eventStore.Events342 if !test.AreAllEventsEquivalent(expectedEvents, actualEvents) {343 _this.testFailed("Expected CTE %v to produce events %v but got %v",344 desc(_this.Cte), expectedEvents, actualEvents)345 }346}347func (_this *CETestRunner) runCTEToCBE() {348 _this.beginTestPhase("T2B")349 buffer := &bytes.Buffer{}350 encoder := cbe.NewEncoder(nil)351 encoder.PrepareToEncode(buffer)352 receiver := rules.NewRules(encoder, nil)353 _this.assertOperation(receiver,354 func(recv events.DataEventReceiver) {355 // debug.DebugOptions.PassThroughPanics will be true, so we won't get an error356 _ = cte.NewDecoder(nil).Decode(bytes.NewBuffer([]byte(_this.Cte)), recv)357 }, func() string {358 return fmt.Sprintf("CTE %v", desc(_this.Cte))359 })360 expectedDocument := _this.Cbe361 actualDocument := buffer.Bytes()362 if !equivalence.IsEquivalent(expectedDocument, actualDocument) {363 _this.testFailed("Expected CTE %v to produce CBE %v but got %v",364 desc(_this.Cte), desc(expectedDocument), desc(actualDocument))365 }366}367func (_this *CETestRunner) runCTEToCTE() {368 _this.beginTestPhase("T2T")369 buffer := &bytes.Buffer{}370 encoder := cte.NewEncoder(nil)371 encoder.PrepareToEncode(buffer)372 receiver := rules.NewRules(encoder, nil)373 _this.assertOperation(receiver,374 func(recv events.DataEventReceiver) {375 // debug.DebugOptions.PassThroughPanics will be true, so we won't get an error376 _ = cte.NewDecoder(nil).Decode(bytes.NewBuffer([]byte(_this.Cte)), recv)377 }, func() string {378 return fmt.Sprintf("CTE %v", desc(_this.Cte))379 })380 expectedDocument := _this.Cte381 actualDocument := buffer.String()382 if !equivalence.IsEquivalent(expectedDocument, actualDocument) {383 _this.testFailed("Expected CTE %v to produce CTE %v but got %v",384 desc(_this.Cte), desc(expectedDocument), desc(actualDocument))385 }386}...
helpers_test.go
Source:helpers_test.go
...24 name: "should return a slice of events when filters are provided",25 appName: "foovarkes",26 eventTypePrefix: "foo.prefix.custom",27 bebNs: "/default/foo.kyma/kt1",28 filters: NewBEBFilters(WithOneBEBFilter),29 expectedEvents: []Event{30 NewEvent("order.created", "v1"),31 },32 }, {33 name: "should return multiple events in a slice when multiple filters are provided",34 appName: "foovarkes",35 eventTypePrefix: "foo.prefix.custom",36 bebNs: "/default/foo.kyma/kt1",37 filters: NewBEBFilters(WithMultipleBEBFiltersFromSameSource),38 expectedEvents: []Event{39 NewEvent("order.created", "v1"),40 NewEvent("order.created", "v1"),41 NewEvent("order.created", "v1"),42 },43 }, {44 name: "should return no events when filters sources(bebNamespace) don't match",45 appName: "foovarkes",46 eventTypePrefix: "foo.prefix.custom",47 bebNs: "foo-dont-match",48 filters: NewBEBFilters(WithMultipleBEBFiltersFromSameSource),49 expectedEvents: []Event{},50 }, {51 name: "should return 2 events(out of multiple) which matches two sources (bebNamespace and empty)",52 appName: "foovarkes",53 eventTypePrefix: "foo.prefix.custom",54 bebNs: "foo-match",55 filters: NewBEBFilters(WithMultipleBEBFiltersFromDiffSource),56 expectedEvents: []Event{57 NewEvent("order.created", "v1"),58 NewEvent("order.created", "v1"),59 },60 }, {61 name: "should return 2 out 3 events in a slice when filters with different eventTypePrefix are provided",62 appName: "foovarkes",63 eventTypePrefix: "foo.prefix.custom",64 bebNs: "/default/foo.kyma/kt1",65 filters: NewBEBFilters(WithMultipleBEBFiltersFromDiffEventTypePrefix),66 expectedEvents: []Event{67 NewEvent("order.created", "v1"),68 NewEvent("order.created", "v1"),69 },70 },71 }72 for _, tc := range testCases {73 tc := tc74 t.Run(tc.name, func(t *testing.T) {75 t.Parallel()76 gotEvents := FilterEventTypeVersions(tc.eventTypePrefix, tc.bebNs, tc.appName, tc.filters)77 if !reflect.DeepEqual(tc.expectedEvents, gotEvents) {78 t.Errorf("Received incorrect events, Wanted: %v, Got: %v", tc.expectedEvents, gotEvents)79 }80 })81 }82}83func TestConvertEventsMapToSlice(t *testing.T) {84 testCases := []struct {85 name string86 inputMap map[Event]bool87 wantedEvents []Event88 }{89 {90 name: "should return events from the map in a slice",91 inputMap: map[Event]bool{92 NewEvent("foo", "v1"): true,93 NewEvent("bar", "v2"): true,94 },95 wantedEvents: []Event{96 NewEvent("foo", "v1"),97 NewEvent("bar", "v2"),98 },99 }, {100 name: "should return no events for an empty map of events",101 inputMap: map[Event]bool{},102 wantedEvents: []Event{},103 },104 }105 for _, tc := range testCases {106 tc := tc107 t.Run(tc.name, func(t *testing.T) {108 t.Parallel()109 gotEvents := ConvertEventsMapToSlice(tc.inputMap)110 for _, event := range gotEvents {111 found := false112 for _, wantEvent := range tc.wantedEvents {113 if event == wantEvent {114 found = true115 continue116 }117 }118 if !found {119 t.Errorf("incorrect slice of events, wanted: %v, got: %v", tc.wantedEvents, gotEvents)120 }121 }122 })123 }124}125func TestAddUniqueEventsToResult(t *testing.T) {126 testCases := []struct {127 name string128 eventsSubSet []Event129 givenUniqEventsAlready map[Event]bool130 wantedUniqEvents map[Event]bool131 }{132 {133 name: "should return unique events along with the existing ones",134 eventsSubSet: []Event{135 NewEvent("foo", "v1"),136 NewEvent("bar", "v1"),137 },138 givenUniqEventsAlready: map[Event]bool{139 NewEvent("bar-already-existing", "v1"): true,140 },141 wantedUniqEvents: map[Event]bool{142 NewEvent("foo", "v1"): true,143 NewEvent("bar", "v1"): true,144 NewEvent("bar-already-existing", "v1"): true,145 },146 }, {147 name: "should return unique new events from the subset provided only",148 eventsSubSet: []Event{149 NewEvent("foo", "v1"),150 NewEvent("bar", "v1"),151 },152 givenUniqEventsAlready: nil,153 wantedUniqEvents: map[Event]bool{154 NewEvent("foo", "v1"): true,155 NewEvent("bar", "v1"): true,156 },157 }, {158 name: "should return existing unique events when an empty subset provided",159 eventsSubSet: []Event{},160 givenUniqEventsAlready: map[Event]bool{161 NewEvent("foo", "v1"): true,162 NewEvent("bar", "v1"): true,163 },164 wantedUniqEvents: map[Event]bool{165 NewEvent("foo", "v1"): true,166 NewEvent("bar", "v1"): true,167 },168 }, {169 name: "should return no unique events when an empty subset provided",170 eventsSubSet: []Event{},171 givenUniqEventsAlready: map[Event]bool{},172 wantedUniqEvents: map[Event]bool{},173 },174 }175 for _, tc := range testCases {176 tc := tc177 t.Run(tc.name, func(t *testing.T) {178 t.Parallel()179 gotUniqEvents := AddUniqueEventsToResult(tc.eventsSubSet, tc.givenUniqEventsAlready)180 if !reflect.DeepEqual(tc.wantedUniqEvents, gotUniqEvents) {181 t.Errorf("incorrect unique events, wanted: %v, got: %v", tc.wantedUniqEvents, gotUniqEvents)182 }183 })184 }185}186type BEBFilterOption func(filter *eventingv1alpha1.BEBFilters)187func NewBEBFilters(opts ...BEBFilterOption) *eventingv1alpha1.BEBFilters {188 newFilters := &eventingv1alpha1.BEBFilters{}189 for _, opt := range opts {190 opt(newFilters)191 }192 return newFilters193}194func WithOneBEBFilter(bebFilters *eventingv1alpha1.BEBFilters) {195 evSource := "/default/foo.kyma/kt1"196 evType := "foo.prefix.custom.foovarkes.order.created.v1"197 bebFilters.Filters = []*eventingv1alpha1.BEBFilter{198 NewBEBFilter(evSource, evType),199 }200}201func WithMultipleBEBFiltersFromSameSource(bebFilters *eventingv1alpha1.BEBFilters) {202 evSource := "/default/foo.kyma/kt1"203 evType := "foo.prefix.custom.foovarkes.order.created.v1"204 bebFilters.Filters = []*eventingv1alpha1.BEBFilter{205 NewBEBFilter(evSource, evType),206 NewBEBFilter(evSource, evType),207 NewBEBFilter(evSource, evType),208 }209}210func WithMultipleBEBFiltersFromDiffSource(bebFilters *eventingv1alpha1.BEBFilters) {211 evSource1 := "foo-match"212 evSource2 := "/default/foo.different/kt1"213 evSource3 := "/default/foo.different2/kt1"214 evSource4 := ""215 evType := "foo.prefix.custom.foovarkes.order.created.v1"216 bebFilters.Filters = []*eventingv1alpha1.BEBFilter{217 NewBEBFilter(evSource1, evType),218 NewBEBFilter(evSource2, evType),219 NewBEBFilter(evSource3, evType),220 NewBEBFilter(evSource4, evType),221 }222}223func WithMultipleBEBFiltersFromDiffEventTypePrefix(bebFilters *eventingv1alpha1.BEBFilters) {224 evSource := "/default/foo.kyma/kt1"225 evType1 := "foo.prefix.custom.foovarkes.order.created.v1"226 evType2 := "foo.prefixdifferent.custom.foovarkes.order.created.v1"227 bebFilters.Filters = []*eventingv1alpha1.BEBFilter{228 NewBEBFilter(evSource, evType1),229 NewBEBFilter(evSource, evType2),230 NewBEBFilter(evSource, evType1),231 }232}233func NewBEBFilter(evSource, evType string) *eventingv1alpha1.BEBFilter {234 return &eventingv1alpha1.BEBFilter{235 EventSource: &eventingv1alpha1.Filter{236 Property: "source",237 Value: evSource,238 },239 EventType: &eventingv1alpha1.Filter{240 Property: "type",241 Value: evType,242 },243 }244}245func NewEvent(name, version string) Event {246 return Event{247 Name: name,248 Version: version,249 }250}...
New
Using AI Code Generation
1import (2func main() {3 beego.Get("/", func(ctx *context.Context) {4 fmt.Println("inside get method")5 })6 beego.Post("/", func(ctx *context.Context) {7 fmt.Println("inside post method")8 })9 beego.Run()10}11import (12func main() {13 beego.Get("/", func(ctx *context.Context) {14 fmt.Println("inside get method")15 })16 beego.Post("/", func(ctx *context.Context) {17 fmt.Println("inside post method")18 })19 beego.Run()20}21import (22func main() {23 beego.Get("/", func(ctx *context.Context) {24 fmt.Println("inside get method")25 })26 beego.Post("/", func(ctx *context.Context) {27 fmt.Println("inside post method")28 })29 beego.Run()30}31import (32func main() {33 beego.Get("/", func(ctx *context.Context) {34 fmt.Println("inside get method")35 })36 beego.Post("/", func(ctx *context.Context) {37 fmt.Println("inside post method")38 })39 beego.Run()40}41import (42func main() {43 beego.Get("/", func(ctx *context.Context) {44 fmt.Println("inside get method")45 })46 beego.Post("/", func(ctx *context.Context) {47 fmt.Println("inside post method")48 })49 beego.Run()50}51import (
New
Using AI Code Generation
1import (2func main() {3 beego.Get("/", func(ctx *context.Context) {4 ctx.Output.Body([]byte("hello world"))5 })6 beego.Get("/test", func(ctx *context.Context) {7 ctx.Output.Body([]byte("hello world"))8 })9 beego.Get("/test1", func(ctx *context.Context) {10 ctx.Output.Body([]byte("hello world"))11 })12 beego.Get("/test2", func(ctx *context.Context) {13 ctx.Output.Body([]byte("hello world"))14 })15 beego.Get("/test3", func(ctx *context.Context) {16 ctx.Output.Body([]byte("hello world"))17 })18 beego.Get("/test4", func(ctx *context.Context) {19 ctx.Output.Body([]byte("hello world"))20 })21 beego.Get("/test5", func(ctx *context.Context) {22 ctx.Output.Body([]byte("hello world"))23 })24 beego.Get("/test6", func(ctx *context.Context) {25 ctx.Output.Body([]byte("hello world"))26 })27 beego.Get("/test7", func(ctx *context.Context) {28 ctx.Output.Body([]byte("hello world"))29 })30 beego.Get("/test8", func(ctx *context.Context) {31 ctx.Output.Body([]byte("hello world"))32 })33 beego.Get("/test9", func(ctx *context.Context) {34 ctx.Output.Body([]byte("hello world"))35 })36 beego.Get("/test10", func(ctx *context.Context) {37 ctx.Output.Body([]byte("hello world"))38 })39 beego.Get("/test11", func(ctx *context.Context) {40 ctx.Output.Body([]byte("hello world"))41 })42 beego.Get("/test12", func(ctx *context.Context) {43 ctx.Output.Body([]byte("hello world"))44 })45 beego.Get("/test13", func(ctx *context.Context) {46 ctx.Output.Body([]byte("hello world"))47 })48 beego.Get("/test14", func(ctx *context.Context) {49 ctx.Output.Body([]byte("hello world"))50 })51 beego.Get("/test15", func(ctx *context.Context) {52 ctx.Output.Body([]byte("hello world"))53 })
New
Using AI Code Generation
1import (2func main() {3 config := cluster.NewConfig()4 brokers := []string{"localhost:9092"}5 topics := []string{"test"}6 consumer, err := cluster.NewConsumer(brokers, "my-group", topics, config)7 if err != nil {8 panic(err)9 }10 defer consumer.Close()11 signals := make(chan os.Signal, 1)12 signal.Notify(signals, os.Interrupt)13 go func() {14 for err := range consumer.Errors() {15 log.Println("Error: ", err.Error())16 }17 }()18 go func() {19 for ntf := range consumer.Notifications() {20 log.Println("Rebalanced: %+v", ntf)21 }22 }()23 for {24 select {25 case msg, ok := <-consumer.Messages():26 if ok {27 log.Printf("Message on %s: %s\n", msg.Topic, string(msg.Value))28 }29 }30 }31}32import (33func main() {34 config := cluster.NewConfig()35 brokers := []string{"localhost:9092"}36 topics := []string{"test"}37 consumer, err := cluster.NewConsumer(brokers, "my-group", topics, config)38 if err != nil {39 panic(err)40 }41 defer consumer.Close()
New
Using AI Code Generation
1import (2func main() {3 e := events.New("New Event")4 fmt.Println(e)5}6import (7func main() {8 e := events.New("New Event")9 fmt.Println(e)10}11import (12type Event struct {13}14func New(title string) *Event {15 return &Event{Title: title, Date: time.Now()}16}17import (18type Event struct {19}20func New(title string) *Event {21 return &Event{Title: title, Date: time.Now()}22}23import (24type Event struct {25}26func New(title string) *Event {27 return &Event{Title: title, Date: time.Now()}28}29import (30type Event struct {31}32func New(title string) *Event {33 return &Event{Title: title, Date: time.Now()}34}35import (36type Event struct {37}38func New(title string) *Event {39 return &Event{Title: title, Date: time.Now()}40}41import (42type Event struct {43}44func New(title string) *Event {45 return &Event{Title: title, Date: time.Now()}46}47import (48type Event struct {49}50func New(title string) *Event {
New
Using AI Code Generation
1import (2func main() {3 consumer, err := sarama.NewConsumer([]string{"localhost:9092"}, nil)4 if err != nil {5 panic(err)6 }7 partitions, err := consumer.Partitions("my_topic")8 if err != nil {9 panic(err)10 }11 for _, partition := range partitions {12 pc, err := consumer.ConsumePartition("my_topic", partition, sarama.OffsetNewest)13 if err != nil {14 panic(err)15 }16 go func(sarama.PartitionConsumer) {17 for msg := range pc.Messages() {18 fmt.Println("Message: ", string(msg.Value))19 }20 }(pc)21 }22 signals := make(chan os.Signal, 1)23 signal.Notify(signals, os.Interrupt)24}
New
Using AI Code Generation
1import (2func main() {3 e := events.New()4 e.Subscribe("some-event", func() {5 fmt.Println("Received a message")6 })7 e.Publish("some-event")8}9import (10func main() {11 e := events.New()12 e.Subscribe("some-event", func() {13 fmt.Println("Received a message")14 })15 e.Publish("some-event")16}17import "sync"18type Event struct {19 Subscribers map[string][]func()20}21func (e *Event) Subscribe(eventName string, f func()) {22 e.Lock()23 defer e.Unlock()24 e.Subscribers[eventName] = append(e.Subscribers[eventName], f)25}26func (e *Event) Publish(eventName string) {27 e.Lock()28 defer e.Unlock()29 for _, f := range e.Subscribers[eventName] {30 f()31 }32}33func New() *Event {34 return &Event{35 Subscribers: make(map[string][]func()),36 }37}38import "testing"39func TestEvent(t *testing.T) {40 e := New()41 e.Subscribe("some-event", func() {42 t.Log("Received a message")43 })44 e.Publish("some-event")45}
New
Using AI Code Generation
1import (2func main() {3 e := events.New()4 e.On("someEvent", func(args ...interface{}) {5 fmt.Println("Event Fired!")6 })7 e.Fire("someEvent")8}9import (10func main() {11 e := events.New()12 e.On("someEvent", func(args ...interface{}) {13 fmt.Println("Event Fired!")14 })15 e.Fire("someEvent")16}17import (18func main() {19 e := events.New()20 e.On("someEvent", func(args ...interface{}) {21 fmt.Println("Event Fired!")22 })23 e.Fire("someEvent")24}25import (26func main() {27 e := events.New()28 e.On("someEvent", func(args ...interface{}) {29 fmt.Println("Event Fired!")30 })31 e.Fire("someEvent")32}33import (34func main() {35 e := events.New()36 e.On("someEvent", func(args ...interface{}) {37 fmt.Println("Event Fired!")38 })39 e.Fire("someEvent")40}
New
Using AI Code Generation
1import (2func main() {3 e := events.New()4 s := e.Subscribe()5 e.Publish("hello world")6 m := <-s.Channel()7 fmt.Println(m)8}9import (10func main() {11 e := events.New()12 s := e.Subscribe()13 e.Publish("hello world")14 m := <-s.Channel()15 fmt.Println(m)16}17import (18func main() {19 e := events.New()20 s := e.Subscribe()21 e.Publish("hello world")22 m := <-s.Channel()23 fmt.Println(m)24}25import (26func main() {27 e := events.New()28 s := e.Subscribe()29 e.Publish("hello world")30 m := <-s.Channel()31 fmt.Println(m)32}33import (34func main() {35 e := events.New()36 s := e.Subscribe()37 e.Publish("hello world")38 m := <-s.Channel()39 fmt.Println(m)40}41import (42func main() {43 e := events.New()44 s := e.Subscribe()45 e.Publish("hello world")46 m := <-s.Channel()47 fmt.Println(m)
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!