From d4dfa388ee96cc333ef7a0371957849fd6b6e427 Mon Sep 17 00:00:00 2001 From: Josh Shollenbarger <109685790+jrsholly@users.noreply.github.com> Date: Thu, 9 Mar 2023 15:22:01 -0600 Subject: [PATCH] fix: get latest aws-nuke release. (#432) * fix: get latest aws-nuke release. * Using latest release from Optum/aws-nuke fork * Switch back to go 1.17 * Switch back to go 1.17 * go mod updates * go mod change * Had to create new release after change * Go sum was out of sync * Update gitignore --------- Co-authored-by: Josh Shollenbarger Co-authored-by: Jack Shubatt --- .gitignore | 4 +- .golangci.yml | 2 +- go.mod | 105 +- go.sum | 659 +++--- pkg/account/mocks/Servicer.go | 200 ++ pkg/accountmanager/mocks/Servicer.go | 73 + pkg/awsiface/mocks/AwsSession.go | 17 +- pkg/awsiface/mocks/CloudWatchAPI.go | 876 +++++++- pkg/awsiface/mocks/CloudWatchEventsAPI.go | 895 +++++++- pkg/awsiface/mocks/CodeBuildAPI.go | 95 +- .../mocks/CognitoIdentityProviderAPI.go | 95 +- pkg/awsiface/mocks/CostExplorerAPI.go | 598 ++++- pkg/awsiface/mocks/DynamoDBAPI.go | 286 ++- pkg/awsiface/mocks/EventBridgeAPI.go | 1715 +++++++++++++-- pkg/awsiface/mocks/IAM.go | 1916 +++++++++++++++-- pkg/awsiface/mocks/LambdaAPI.go | 547 ++++- pkg/awsiface/mocks/SNSAPI.go | 906 +++++++- pkg/config/mocks/ConfigurationBuildBuilder.go | 39 + pkg/config/mocks/ConfigurationBuilder.go | 207 ++ pkg/config/mocks/ServiceBuilder.go | 180 ++ pkg/config/mocks/createrFunc.go | 42 + pkg/event/mocks/Servicer.go | 129 ++ pkg/reset/nuke.go | 4 +- pkg/reset/nuke_test.go | 6 +- pkg/reset/nuker.go | 6 +- 25 files changed, 8588 insertions(+), 1014 deletions(-) create mode 100644 pkg/account/mocks/Servicer.go create mode 100644 pkg/accountmanager/mocks/Servicer.go create mode 100644 pkg/config/mocks/ConfigurationBuildBuilder.go create mode 100644 pkg/config/mocks/ConfigurationBuilder.go create mode 100644 pkg/config/mocks/ServiceBuilder.go create mode 100644 pkg/config/mocks/createrFunc.go create mode 100644 pkg/event/mocks/Servicer.go diff --git a/.gitignore b/.gitignore index 8a49fa3bf..cb629703f 100755 --- a/.gitignore +++ b/.gitignore @@ -65,6 +65,8 @@ override.tf.json # Other stuff *.zip .idea/ +.vscode/ +.DS_Store junit-report/ test.output.txt @@ -87,6 +89,4 @@ venv.bak/ # mkdocs documentation /site -.vscode/ - tests/integration/test.cfg \ No newline at end of file diff --git a/.golangci.yml b/.golangci.yml index 6cb8b914d..e3db7a600 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,5 +1,5 @@ run: - timeout: 5m0s + timeout: 5m issues: exclude: diff --git a/go.mod b/go.mod index 24f7b320d..02ea99696 100644 --- a/go.mod +++ b/go.mod @@ -1,62 +1,107 @@ module github.com/Optum/dce -go 1.17 +go 1.19 require ( github.com/360EntSecGroup-Skylar/excelize v1.4.1 github.com/avast/retry-go v2.6.0+incompatible github.com/aws/aws-lambda-go v1.19.1 - github.com/aws/aws-sdk-go v1.36.30 + github.com/aws/aws-sdk-go v1.44.180 github.com/awslabs/aws-lambda-go-api-proxy v0.8.0 github.com/caarlos0/env v3.5.0+incompatible github.com/go-ozzo/ozzo-validation v3.6.0+incompatible - github.com/google/uuid v1.1.2 + github.com/google/uuid v1.3.0 github.com/gorilla/handlers v1.5.0 github.com/gorilla/mux v1.8.0 github.com/gorilla/schema v1.2.0 - github.com/gruntwork-io/terratest v0.29.0 - github.com/imdario/mergo v0.3.11 - github.com/mitchellh/mapstructure v1.3.3 + github.com/gruntwork-io/terratest v0.41.7 + github.com/imdario/mergo v0.3.13 + github.com/mitchellh/mapstructure v1.5.0 github.com/pkg/errors v0.9.1 - github.com/rebuy-de/aws-nuke v1.4.0 - github.com/stretchr/testify v1.6.1 + github.com/stretchr/testify v1.8.1 gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df gopkg.in/oleiade/reflections.v1 v1.0.0 gopkg.in/yaml.v2 v2.4.0 ) require ( - github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef // indirect + cloud.google.com/go v0.107.0 // indirect + cloud.google.com/go/compute v1.13.0 // indirect + cloud.google.com/go/compute/metadata v0.2.1 // indirect + cloud.google.com/go/storage v1.27.0 // indirect + github.com/agext/levenshtein v1.2.3 // indirect + github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect + github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect github.com/davecgh/go-spew v1.1.1 // indirect - github.com/fatih/color v1.9.0 // indirect + github.com/fatih/color v1.13.0 // indirect github.com/felixge/httpsnoop v1.0.1 // indirect - github.com/go-sql-driver/mysql v1.5.0 // indirect - github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/fsnotify/fsnotify v1.5.4 // indirect + github.com/go-errors/errors v1.0.2-0.20180813162953-d98b870cc4e0 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/golang/protobuf v1.5.2 // indirect + github.com/google/go-cmp v0.5.9 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.2.0 // indirect + github.com/googleapis/gax-go/v2 v2.7.0 // indirect + github.com/gruntwork-io/go-commons v0.8.0 // indirect + github.com/hashicorp/errwrap v1.1.0 // indirect + github.com/hashicorp/go-cleanhttp v0.5.2 // indirect + github.com/hashicorp/go-getter v1.6.1 // indirect + github.com/hashicorp/go-multierror v1.1.1 // indirect + github.com/hashicorp/go-safetemp v1.0.0 // indirect + github.com/hashicorp/go-version v1.4.0 // indirect + github.com/hashicorp/hcl/v2 v2.9.1 // indirect + github.com/hashicorp/terraform-json v0.13.0 // indirect + github.com/inconshreveable/mousetrap v1.0.1 // indirect + github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect - github.com/konsorten/go-windows-terminal-sequences v1.0.3 // indirect - github.com/mattn/go-colorable v0.1.7 // indirect - github.com/mattn/go-isatty v0.0.12 // indirect + github.com/klauspost/compress v1.15.13 // indirect + github.com/kr/pretty v0.3.0 // indirect + github.com/mattn/go-colorable v0.1.12 // indirect + github.com/mattn/go-isatty v0.0.14 // indirect + github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326 // indirect github.com/mb0/glob v0.0.0-20160210091149-1eb79d2de6c4 // indirect + github.com/mitchellh/go-homedir v1.1.0 // indirect + github.com/mitchellh/go-testing-interface v1.14.1 // indirect + github.com/mitchellh/go-wordwrap v1.0.1 // indirect github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect - github.com/oleiade/reflections v1.0.0 // indirect - github.com/onsi/ginkgo v1.12.0 // indirect - github.com/onsi/gomega v1.9.0 // indirect + github.com/onsi/ginkgo v1.16.5 // indirect + github.com/onsi/gomega v1.18.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pquerna/otp v1.2.0 // indirect - github.com/sirupsen/logrus v1.6.0 // indirect - github.com/spf13/cobra v1.0.0 // indirect + github.com/russross/blackfriday/v2 v2.1.0 // indirect + github.com/sirupsen/logrus v1.9.0 // indirect + github.com/spf13/cobra v1.6.1 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/objx v0.3.0 // indirect - golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect - golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f // indirect - golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect - golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e // indirect - golang.org/x/text v0.3.7 // indirect - golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df // indirect + github.com/stretchr/objx v0.5.0 // indirect + github.com/tmccombs/hcl2json v0.3.3 // indirect + github.com/ulikunitz/xz v0.5.11 // indirect + github.com/urfave/cli v1.22.2 // indirect + github.com/zclconf/go-cty v1.9.1 // indirect + go.opencensus.io v0.24.0 // indirect + golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect + golang.org/x/net v0.5.0 // indirect + golang.org/x/oauth2 v0.4.0 // indirect + golang.org/x/sync v0.1.0 // indirect + golang.org/x/sys v0.4.0 // indirect + golang.org/x/text v0.6.0 // indirect + golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect + google.golang.org/api v0.103.0 // indirect + google.golang.org/appengine v1.6.7 // indirect + google.golang.org/genproto v0.0.0-20221205194025-8222ab48f5fc // indirect + google.golang.org/grpc v1.51.0 // indirect + google.golang.org/protobuf v1.28.1 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect +) + +require ( + cloud.google.com/go/iam v0.10.0 // indirect + github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef // indirect + github.com/go-sql-driver/mysql v1.5.0 // indirect + github.com/oleiade/reflections v1.0.0 // indirect + github.com/rebuy-de/aws-nuke/v2 v2.21.2 gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect - gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect - gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect ) -replace github.com/rebuy-de/aws-nuke => github.com/Optum/aws-nuke v1.3.0 +replace github.com/rebuy-de/aws-nuke/v2 => github.com/Optum/aws-nuke/v2 v2.0.1 diff --git a/go.sum b/go.sum index a64fe63e6..2c5f65f4f 100644 --- a/go.sum +++ b/go.sum @@ -4,201 +4,148 @@ cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSR cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.51.0/go.mod h1:hWtGJ6gnXH+KgDv+V0zFGDvpi07n3z8ZNj3T1RW0Gcw= +cloud.google.com/go v0.107.0 h1:qkj22L7bgkl6vIeZDlOY2po43Mx/TIa2Wsa7VR+PEww= +cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/compute v1.13.0 h1:AYrLkB8NPdDRslNp4Jxmzrhdr03fUAIDbiGFjLWowoU= +cloud.google.com/go/compute v1.13.0/go.mod h1:5aPTS0cUNMIc1CE546K+Th6weJUNQErARyZtRXDJ8GE= +cloud.google.com/go/compute/metadata v0.2.1 h1:efOwf5ymceDhK6PKMnnrTHP4pppY5L22mle96M1yP48= +cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +cloud.google.com/go/iam v0.10.0 h1:fpP/gByFs6US1ma53v7VxhvbJpO2Aapng6wabJ99MuI= +cloud.google.com/go/iam v0.10.0/go.mod h1:nXAECrMt2qHpF6RZUZseteD6QyanL68reN4OXPw0UWM= +cloud.google.com/go/longrunning v0.3.0 h1:NjljC+FYPV3uh5/OwWT6pVU+doBqMg2x/rZlE+CamDs= +cloud.google.com/go/storage v1.27.0 h1:YOO045NZI9RKfCj1c5A/ZtuuENUc8OAW+gHdGnDgyMQ= +cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= github.com/360EntSecGroup-Skylar/excelize v1.4.1 h1:l55mJb6rkkaUzOpSsgEeKYtS6/0gHwBYyfo5Jcjv/Ks= github.com/360EntSecGroup-Skylar/excelize v1.4.1/go.mod h1:vnax29X2usfl7HHkBrX5EvSCJcmH3dT9luvxzu8iGAE= github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8= -github.com/Azure/azure-sdk-for-go v35.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v38.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v38.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= -github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= -github.com/Azure/go-autorest/autorest v0.9.3/go.mod h1:GsRuLYvwzLjjjRoWEIyMUaYq8GNUx2nRB378IPt/1p0= -github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= -github.com/Azure/go-autorest/autorest/adal v0.8.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= -github.com/Azure/go-autorest/autorest/adal v0.8.1/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q= -github.com/Azure/go-autorest/autorest/azure/auth v0.4.2/go.mod h1:90gmfKdlmKgfjUpnCEpOJzsUEjrWDSLwHIG73tSXddM= -github.com/Azure/go-autorest/autorest/azure/cli v0.3.1/go.mod h1:ZG5p860J94/0kI9mNJVoIoLgXcirM2gF5i2kWloofxw= -github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= -github.com/Azure/go-autorest/autorest/date v0.2.0/go.mod h1:vcORJHLJEh643/Ioh9+vPmf1Ij9AEBM5FuBIXLmIy0g= -github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM= -github.com/Azure/go-autorest/autorest/to v0.2.0/go.mod h1:GunWKJp1AEqgMaGLV+iocmRAJWqST1wQYhyyjXJ3SJc= -github.com/Azure/go-autorest/autorest/to v0.3.0/go.mod h1:MgwOyqaIuKdG4TL/2ywSsIWKAfJfgHDo8ObuUk3t5sA= -github.com/Azure/go-autorest/autorest/validation v0.1.0/go.mod h1:Ha3z/SqBeaalWQvokg3NZAlQTalVMtOIAs1aGK7G6u8= -github.com/Azure/go-autorest/autorest/validation v0.2.0/go.mod h1:3EEqHnBxQGHXRYq3HT1WyXAvT7LLY3tl70hw6tQIbjI= -github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= -github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53/go.mod h1:+3IMCy2vIlbG1XG/0ggNQv0SvxCAIpPM5b1nCz56Xno= github.com/CloudyKit/jet/v3 v3.0.0/go.mod h1:HKQPgSJmdK8hdoAbKUUWajkHyHo4RaU5rMdUywE7VMo= -github.com/GoogleCloudPlatform/k8s-cloud-provider v0.0.0-20190822182118-27a4ced34534/go.mod h1:iroGtC8B3tQiqtds1l+mgk/BBOrxbqjH+eUfFQYRc14= github.com/Joker/hpp v1.0.0/go.mod h1:8x5n+M1Hp5hC0g8okX3sR3vFQwynaX/UgSOM9MeBKzY= -github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= -github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/Optum/aws-nuke v1.3.0 h1:Q2MaIUekjRIPrjYpLtF2c6ei2v2lv0kEj8eErgfGJSo= -github.com/Optum/aws-nuke v1.3.0/go.mod h1:F4M173IoOqz614vcChFld8gWvt0D7nymAOCkmlyuNTo= -github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/Optum/aws-nuke/v2 v2.0.0 h1:kCF9BuHvaQI+OJu1CBAWMAL1YFgQSIu4Mhnv6wDk8vU= +github.com/Optum/aws-nuke/v2 v2.0.0/go.mod h1:vHiOieYSFzuprJ0gAlc4sfYn27RnrpsN465Y9rlBr6c= +github.com/Optum/aws-nuke/v2 v2.0.1 h1:9wjFuNLcjcfC94dNEa8/Xgxl9xciIFyUeB0CXN3vFbQ= +github.com/Optum/aws-nuke/v2 v2.0.1/go.mod h1:vHiOieYSFzuprJ0gAlc4sfYn27RnrpsN465Y9rlBr6c= github.com/Shopify/goreferrer v0.0.0-20181106222321-ec9c9a553398/go.mod h1:a1uqRtAwp2Xwc6WNPJEufxJ7fx3npB4UV/JOLmbu5I0= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= +github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= +github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= +github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= +github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= +github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= +github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef h1:46PFijGLmAjMPwCCCo7Jf0W6f9slllCkkv7vyc1yOSg= github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= github.com/avast/retry-go v2.6.0+incompatible h1:FelcMrm7Bxacr1/RM8+/eqkDkmVN7tjlsy51dOzB3LI= github.com/avast/retry-go v2.6.0+incompatible/go.mod h1:XtSnn+n/sHqQIpZ10K1qAevBhOOCWBLXXy3hyiqqBrY= -github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= github.com/aws/aws-lambda-go v1.18.0/go.mod h1:FEwgPLE6+8wcGBTe5cJN3JWurd1Ztm9zN4jsXsjzKKw= github.com/aws/aws-lambda-go v1.19.1 h1:5iUHbIZ2sG6Yq/J1IN3sWm3+vAB1CWwhI21NffLNuNI= github.com/aws/aws-lambda-go v1.19.1/go.mod h1:jJmlefzPfGnckuHdXX7/80O3BvUUi12XOkbv4w9SGLU= -github.com/aws/aws-sdk-go v1.16.26/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.27.1/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.34.12/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= -github.com/aws/aws-sdk-go v1.36.30 h1:hAwyfe7eZa7sM+S5mIJZFiNFwJMia9Whz6CYblioLoU= -github.com/aws/aws-sdk-go v1.36.30/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= +github.com/aws/aws-sdk-go v1.44.180 h1:VLZuAHI9fa/3WME5JjpVjcPCNfpGHVMiHx8sLHWhMgI= +github.com/aws/aws-sdk-go v1.44.180/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/awslabs/aws-lambda-go-api-proxy v0.8.0 h1:XUx+5PMwtZEIWc7oyMduXUfAhumHFU/xbSPwB2csYx0= github.com/awslabs/aws-lambda-go-api-proxy v0.8.0/go.mod h1:V3jj7BZnRY8y2QTKSABIwBc+dTjPkX7vLxz61Id7vsQ= github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas= +github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/blang/semver v3.5.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc h1:biVzkmvwrH8WK8raXaxBx6fRVTlJILwEwQGL1I/ByEI= github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= github.com/caarlos0/env v3.5.0+incompatible h1:Yy0UN8o9Wtr/jGHZDpCBLpNrzcFLLM2yixi/rBrKyJs= github.com/caarlos0/env v3.5.0+incompatible/go.mod h1:tdCsowwCzMLdkqRYDlHpZCp2UooDD3MspDBjZ2AD02Y= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= +github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= -github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= -github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/coreos/pkg v0.0.0-20180108230652-97fdf19511ea/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= -github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgraph-io/badger v1.6.0/go.mod h1:zwt7syl517jmP8s94KqSxTlM6IMsdhYy6psNgSztDR4= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= -github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= -github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/cli v0.0.0-20200109221225-a4f60165b7a3/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y= -github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= -github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= -github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385/go.mod h1:0vRUJqYpeSZifjYj7uP3BG/gKcuzL9xWVV/Y+cK33KM= -github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= -github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= -github.com/elazarl/goproxy v0.0.0-20190911111923-ecfe977594f1/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= -github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2/go.mod h1:gNh8nYJoAm43RfaxurUnxr+N1PwuFV3ZMl/efxlIlY8= -github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= -github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= +github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= +github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/felixge/httpsnoop v1.0.1 h1:lvB5Jl89CsZtGIWuTcDM1E/vkVs49/Ml7JJe07l8SPQ= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= +github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI= +github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= github.com/gavv/httpexpect v2.0.0+incompatible/go.mod h1:x+9tiU1YnrOvnB725RkpoLv1M62hOWzwo5OXotisrKc= -github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= github.com/go-check/check v0.0.0-20180628173108-788fd7840127/go.mod h1:9ES+weclKsC9YodN5RgxqK/VD9HM9JsCSh7rNhMZE98= github.com/go-chi/chi v4.1.2+incompatible/go.mod h1:eB3wogJHnLi3x/kFX2A+IbTBlXxmMeXJVKy9tTv1XzQ= +github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= +github.com/go-errors/errors v1.0.2-0.20180813162953-d98b870cc4e0 h1:skJKxRtNmevLqnayafdLe2AsenqRupVmzZSqrvb5caU= github.com/go-errors/errors v1.0.2-0.20180813162953-d98b870cc4e0/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= -github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= -github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= -github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= -github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= -github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= -github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= -github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= -github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= -github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-ozzo/ozzo-validation v3.6.0+incompatible h1:msy24VGS42fKO9K1vLz82/GeYW1cILu7Nuuj1N3BBkE= github.com/go-ozzo/ozzo-validation v3.6.0+incompatible/go.mod h1:gsEKFIVnabGBt6mXmxK0MoFy+cZoTJY6mu5Ll3LVLBU= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= -github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs= github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= +github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= +github.com/go-test/deep v1.0.7 h1:/VSMRlnY/JSyqxQUzQLKVMAskpY/NZKFA5j2P+0pP2M= +github.com/go-test/deep v1.0.7/go.mod h1:QV8Hv/iy04NyLBxAdO9njL0iVPN1S4d/A3NVv1V36o8= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= -github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= -github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= -github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.4 h1:l75CXGRSwbaYNpl/Z2X1XIIAMSCquvXgpVZDhwEIJsc= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= +github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/gomodule/redigo v1.7.1-0.20190724094224-574c33c3df38/go.mod h1:B4C85qUVwatsJoIUNIfCRsp7qO0iAmpGFZ4EELWSbC4= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -206,314 +153,279 @@ github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5a github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-containerregistry v0.0.0-20200110202235-f4fb41bf00a3/go.mod h1:2wIuQute9+hhWqvL3vEI7YB0EKluF4WcPzI1eAliazk= -github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.2.1 h1:d8MncMlErDFTwQGBK1xhv026j9kqhvw1Qv9IbWT1VLQ= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= +github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/enterprise-certificate-proxy v0.2.0 h1:y8Yozv7SZtlU//QXbezB6QkpuE6jMD2/gfzk4AftXjs= +github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= -github.com/googleapis/gnostic v0.1.0/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= -github.com/googleapis/gnostic v0.2.2/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= -github.com/googleapis/gnostic v0.3.1/go.mod h1:on+2t9HRStVgn95RSsFWFz+6Q0Snyqv1awfrALZdbtU= -github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= +github.com/googleapis/gax-go/v2 v2.7.0 h1:IcsPKeInNvYi7eqSaDjiZqDDKu5rsmunY0Y1YupQSSQ= +github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= github.com/gorilla/handlers v1.5.0 h1:4wjo3sf9azi99c8hTmyaxp9y5S+pFszsy3pP0rAw/lw= github.com/gorilla/handlers v1.5.0/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q= -github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/schema v1.2.0 h1:YufUaxZYCKGFuAq3c96BOhjgd5nmXiOY9NGzF247Tsc= github.com/gorilla/schema v1.2.0/go.mod h1:kgLaKoK1FELgZqMAVxx/5cbj0kT+57qxUrAlIO2eleU= -github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/gruntwork-io/gruntwork-cli v0.5.1/go.mod h1:IBX21bESC1/LGoV7jhXKUnTQTZgQ6dYRsoj/VqxUSZQ= -github.com/gruntwork-io/terratest v0.29.0 h1:EyPLLxglZIHJ0jU1cbx2NJT7A3MVEmPle8ENWDDwVAA= -github.com/gruntwork-io/terratest v0.29.0/go.mod h1:aVz7181EP4okz7LMx6BLpiF7bL8wkq+h57V6uicvoc0= +github.com/gruntwork-io/go-commons v0.8.0 h1:k/yypwrPqSeYHevLlEDmvmgQzcyTwrlZGRaxEM6G0ro= +github.com/gruntwork-io/go-commons v0.8.0/go.mod h1:gtp0yTtIBExIZp7vyIV9I0XQkVwiQZze678hvDXof78= +github.com/gruntwork-io/terratest v0.41.7 h1:Vc0hb7ajWHutGA++gu/a9FSkuf+IuQuGDRymiWdrA04= +github.com/gruntwork-io/terratest v0.41.7/go.mod h1:qH1xkPTTGx30XkMHw8jAVIbzqheSjIa5IyiTwSV2vKI= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= +github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= +github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= +github.com/hashicorp/go-getter v1.6.1 h1:NASsgP4q6tL94WH6nJxKWj8As2H/2kop/bB1d8JMyRY= +github.com/hashicorp/go-getter v1.6.1/go.mod h1:IZCrswsZPeWv9IkVnLElzRU/gz/QPi6pZHn4tv6vbwA= +github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= +github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= +github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= +github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I= +github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.3.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.4.0 h1:aAQzgqIrRKRa7w75CKpbBxYsmUoPjzVm1W59ca1L0J4= +github.com/hashicorp/go-version v1.4.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= +github.com/hashicorp/hcl/v2 v2.9.1 h1:eOy4gREY0/ZQHNItlfuEZqtcQbXIxzojlP301hDpnac= +github.com/hashicorp/hcl/v2 v2.9.1/go.mod h1:FwWsfWEjyV/CMj8s/gqAuiviY72rJ1/oayI9WftqcKg= +github.com/hashicorp/terraform-json v0.13.0 h1:Li9L+lKD1FO5RVFRM1mMMIBDoUHslOniyEi5CM+FWGY= +github.com/hashicorp/terraform-json v0.13.0/go.mod h1:y5OdLBCT+rxbwnpxZs9kGL7R9ExU76+cpdY8zHwoazk= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.7/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.11 h1:3tnifQM4i+fbajXKBHXWEH+KvNHqojZ778UH75j3bGA= -github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= +github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= +github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/iris-contrib/blackfriday v2.0.0+incompatible/go.mod h1:UzZ2bDEoaSGPbkg6SAB4att1aAwTmVIx/5gCVqeyUdI= github.com/iris-contrib/go.uuid v2.0.0+incompatible/go.mod h1:iz2lgM/1UnEf1kP0L/+fafWORmlnuysV2EMP8MW+qe0= github.com/iris-contrib/jade v1.1.3/go.mod h1:H/geBymxJhShH5kecoiOCSssPX7QWYH7UaeZTSWddIk= github.com/iris-contrib/pongo2 v0.0.1/go.mod h1:Ssh+00+3GAZqSQb30AvBRNxBx7rf0GqwkjqxNd0u65g= github.com/iris-contrib/schema v0.0.1/go.mod h1:urYA3uvUNG1TIIjOSCzHr9/LmbQo8LrOcOqfqxa4hXw= -github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik= +github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a h1:zPPuIq2jAWWPTrGt70eK/BSch+gFAGrNzecsoENgu2o= +github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a/go.mod h1:yL958EeXv8Ylng6IfnvG4oflryUi3vgA3xPs9hmII1s= +github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= -github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52CupLJyoVwB10FQ/IQlF1pdL8= -github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/kataras/golog v0.0.10/go.mod h1:yJ8YKCmyL+nWjERB90Qwn+bdyBZsaQwU3bTVFgkFIp8= github.com/kataras/iris/v12 v12.1.8/go.mod h1:LMYy4VlP67TQ3Zgriz8RE2h2kMZV2SgMYbq3UhfoFmE= github.com/kataras/neffos v0.0.14/go.mod h1:8lqADm8PnbeFfL7CLXh1WHw53dG27MC3pgi2R1rmoTE= github.com/kataras/pio v0.0.2/go.mod h1:hAoW0t9UmXi4R5Oyq5Z4irTbaTsOemSrDGUtaTl7Dro= github.com/kataras/sitemap v0.0.5/go.mod h1:KY2eugMKiPwsJgx7+U103YZehfvNGOXURubcGyk0Bz8= -github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= -github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/compress v1.9.7/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= +github.com/klauspost/compress v1.11.2/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= +github.com/klauspost/compress v1.15.13 h1:NFn1Wr8cfnenSJSA46lLq4wHCcBzKTSjnBIexDMMOV0= +github.com/klauspost/compress v1.15.13/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= +github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= +github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/labstack/echo/v4 v4.1.16/go.mod h1:awO+5TzAjvL8XpibdsfXxPgHr+orhtXZJZIQCVjogKI= github.com/labstack/gommon v0.3.0/go.mod h1:MULnywXg0yavhxWKc+lOruYdAhDwPK9wf0OL7NoOu+k= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.7 h1:bQGKb3vps/j0E9GfJQ03JyhRuxsvdAanXlT9BTw3mdw= -github.com/mattn/go-colorable v0.1.7/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= +github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= -github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= +github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattn/go-zglob v0.0.1/go.mod h1:9fxibJccNxU2cnpIKLRRFA7zX7qhkJIQWBb449FYHOo= +github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326 h1:ofNAzWCcyTALn2Zv40+8XitdzCgXY6e9qvXwN9W0YXg= github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326/go.mod h1:9fxibJccNxU2cnpIKLRRFA7zX7qhkJIQWBb449FYHOo= github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= github.com/mb0/glob v0.0.0-20160210091149-1eb79d2de6c4 h1:NK3O7S5FRD/wj7ORQ5C3Mx1STpyEMuFe+/F0Lakd1Nk= github.com/mb0/glob v0.0.0-20160210091149-1eb79d2de6c4/go.mod h1:FqD3ES5hx6zpzDainDaHgkTIqrPaI9uX4CVWqYZoQjY= github.com/mediocregopher/radix/v3 v3.4.2/go.mod h1:8FL3F6UQRXHXIBSPUs5h0RybMF8i4n7wVopoX3x7Bv8= github.com/microcosm-cc/bluemonday v1.0.2/go.mod h1:iVP4YcDBq+n/5fb23BhYFvIMq/leAFZyRl6bYmGDlGc= +github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= +github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= +github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= +github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= +github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= +github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.3.3 h1:SzB1nHZ2Xi+17FP0zVQBHIZqvwRN9408fJO8h+eeNA8= -github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= +github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180320133207-05fbef0ca5da/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 h1:RWengNIwukTxcDr9M+97sNutRR1RKhG96O6jWumTTnw= github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= -github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= -github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= -github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= +github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= +github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= +github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/oleiade/reflections v1.0.0 h1:0ir4pc6v8/PJ0yw5AEtMddfXpWBXg9cnG7SgSoJuCgY= github.com/oleiade/reflections v1.0.0/go.mod h1:RbATFBbKYkVdqmSFtx13Bb/tVhR0lgOBXunWTZKeL4w= -github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= -github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.12.0 h1:Iw5WCbBcaAAd0fpRb1c9r5YCylv4XDoCSigm1zLevwU= -github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg= -github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= +github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= +github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= +github.com/onsi/ginkgo/v2 v2.0.0/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.9.0 h1:R1uwffexN6Pr340GtYRIdZmAiN4J+iw6WG4wog1DUXg= -github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA= -github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/oracle/oci-go-sdk v7.1.0+incompatible/go.mod h1:VQb79nF8Z2cwLkLS35ukwStZIg5F66tcBccjip/j888= +github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= +github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= +github.com/onsi/gomega v1.18.1 h1:M1GfJqGRrBrrGGsbxzV5dqM2U2ApXefZCQpkukxYRLE= +github.com/onsi/gomega v1.18.1/go.mod h1:0q+aL8jAiMXy9hbwj2mr5GziHiwhAIQpFmmtT5hitRs= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= github.com/pquerna/otp v1.2.0 h1:/A3+Jn+cagqayeR3iHs/L62m5ue7710D35zl1zJ1kok= github.com/pquerna/otp v1.2.0/go.mod h1:dkJfzwRKNiegxyNb54X/3fLwhCynbMspSyWKnvi1AEg= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= -github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= -github.com/rogpeppe/go-charset v0.0.0-20180617210344-2471d30d28b4/go.mod h1:qgYeAmZ5ZIpBWTGllZSQnw97Dj+woV0toclVaRGI8pc= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rubiojr/go-vhd v0.0.0-20160810183302-0bfd3b39853c/go.mod h1:DM5xW0nvfNNm2uytzsvhI3OnX8uzaRAg8UX/CnDqbto= +github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k= +github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= -github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g= -github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U= +github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= +github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/sirupsen/logrus v1.6.0 h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= +github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= +github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= -github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8= -github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= +github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= +github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= -github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= -github.com/stretchr/objx v0.3.0 h1:NGXK3lHquSN08v5vWalVI/L8XU9hdzE/G6xsrze47As= -github.com/stretchr/objx v0.3.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= -github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.3-0.20181224173747-660f15d67dbb/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/tmccombs/hcl2json v0.3.3 h1:+DLNYqpWE0CsOQiEZu+OZm5ZBImake3wtITYxQ8uLFQ= +github.com/tmccombs/hcl2json v0.3.3/go.mod h1:Y2chtz2x9bAeRTvSibVRVgbLJhLJXKlUeIvjeVdnm4w= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= -github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= -github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= +github.com/ulikunitz/xz v0.5.8/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= +github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8= +github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= +github.com/urfave/cli v1.22.2 h1:gsqYFH8bb9ekPA12kRo0hfjngWQjkJPlN9R0N78BoUo= +github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli/v2 v2.1.1/go.mod h1:SE9GqnLQmjVa0iPEY0f1w3ygNIYcIJ0OKPMoW2caLfQ= github.com/urfave/cli/v2 v2.2.0/go.mod h1:SE9GqnLQmjVa0iPEY0f1w3ygNIYcIJ0OKPMoW2caLfQ= github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKnmiohz4= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= github.com/valyala/fasttemplate v1.1.0/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= -github.com/vdemeester/k8s-pkg-credentialprovider v0.0.0-20200107171650-7c61ffa44238/go.mod h1:JwQJCMWpUDqjZrB5jpw0f5VbN7U95zxFy1ZDpoEarGo= -github.com/vmware/govmomi v0.20.3/go.mod h1:URlwyTFZX72RmxtxuaFL2Uj3fD1JTvZdx59bHWk6aFU= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= +github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4= +github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= -go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= +github.com/zclconf/go-cty v1.8.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= +github.com/zclconf/go-cty v1.8.1/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= +github.com/zclconf/go-cty v1.9.1 h1:viqrgQwFl5UpSxc046qblj78wZXVDFnSOufaOTER+cc= +github.com/zclconf/go-cty v1.9.1/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= +github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= +go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200221231518-2aa609cf4a9d/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 h1:kUhD7nTDoI3fVd9G4ORWrbV5NY0liEs/Jg2pv5f+bBA= +golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190312203227-4b39c73a6495/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -522,91 +434,93 @@ golang.org/x/net v0.0.0-20190327091125-710a502c58a2/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f h1:OfiFi4JbukWwe3lzw+xunroH1mnC1e2Gy5cxNJApiSY= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= +golang.org/x/net v0.5.0 h1:GyT4nK/YDHSqa1c4753ouYCDajOYKTja9Xb/OHtgvSw= +golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.4.0 h1:NF0gk8LVPg1Ml7SSbGyySuoxdsXitj7TvgvuRxIMc/M= +golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191010194322-b09406accb47/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200107162124-548cf772de50/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e h1:w36l2Uw3dRan1K3TyXriXvY+6T56GNmlKGcqiQUJDfM= +golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18= +golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.4.0 h1:O7UWfv5+A2qiuulQk30kVinPoMtoIPeVaKLEgLpVkvg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.6.0 h1:3XmdazWV+ubf7QgHSTWeykHOci5oeekaGJBLkrkaw4k= +golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181221001348-537d06c36207/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= @@ -616,37 +530,29 @@ golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBn golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191205215504-7b8c8591a921/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200113040837-eac381796e91/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df h1:5Pf6pFKu98ODmgnpvkJ3kFUOQGGLIzLIkbzUHp47618= -golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485/go.mod h1:2ltnJ7xHfj0zHS40VVPYEAAMTa3ZGguvHGBSJeRWqE0= -gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= -gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e/go.mod h1:kS+toOQn6AQKjmKJ7gzohV1XkqsFehRA2FbsbkopSuQ= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.6.1-0.20190607001116-5213b8090861/go.mod h1:btoxGiFvQNVUZQ8W08zLtrVS08CNpINPEfxXxgJL1Q4= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.103.0 h1:9yuVqlu2JCvcLg9p8S3fcFLZij8EPSyvODIY1rkMizQ= +google.golang.org/api v0.103.0/go.mod h1:hGtW6nK1AC+d9si/UBhw8Xli+QMOf6xyNAyJw4qU9w0= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= +google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= @@ -654,44 +560,47 @@ google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRn google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200108215221-bd8f9a0ef82f/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20221205194025-8222ab48f5fc h1:nUKKji0AarrQKh6XpFEpG3p1TNztxhe7C8TcUvDgXqw= +google.golang.org/genproto v0.0.0-20221205194025-8222ab48f5fc/go.mod h1:1dOng4TWOomJrDGhpXjfCD35wQC6jnC7HpRmOFRqEV0= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.51.0 h1:E1eGv1FTqoLIdnBCZufiSHgKjlqG6fKFf6pPWtMTh8U= +google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= +google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc h1:2gGKlE2+asNV9m7xrywl36YYNnBG5ZQ0r/BOOxqPpmk= gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc/go.mod h1:m7x9LTH6d71AHyAX77c9yqWCCa3UKHcVEj9y7hAtKDk= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/gcfg.v1 v1.2.0/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df h1:n7WqCuqOuCbNr617RXOY0AWRXxgwEyPp2z+p0+hgMuE= gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df/go.mod h1:LRQQ+SO6ZHR7tOkpBDuZnXENFzX8qRjMDMyPD6BRkCw= -gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/ini.v1 v1.51.1/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce/go.mod h1:yeKp02qBN3iKW1OzL3MGk2IdtZzaj7SFntXj72NppTA= -gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/oleiade/reflections.v1 v1.0.0 h1:nV9NFaFd5bXKjilVvPvA+/V/tNQk1pOEEc9gGWDkj+s= gopkg.in/oleiade/reflections.v1 v1.0.0/go.mod h1:SpA8pv+LUnF0FbB2hyRxc8XSng78D6iLBZ11PDb8Z5g= -gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/warnings.v0 v0.1.1/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= -gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -700,44 +609,12 @@ gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20191120175047-4206685974f2/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 h1:tQIYjPdBoyREyB9XMu+nnTclpTYkz2zFM+lzLJFO4gQ= gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= +gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -k8s.io/api v0.17.0/go.mod h1:npsyOePkeP0CPwyGfXDHxvypiYMJxBWAMpQxCaJ4ZxI= -k8s.io/api v0.18.3/go.mod h1:UOaMwERbqJMfeeeHc8XJKawj4P9TgDRnViIqqBeH2QA= -k8s.io/apimachinery v0.17.0/go.mod h1:b9qmWdKlLuU9EBh+06BtLcSf/Mu89rWL33naRxs1uZg= -k8s.io/apimachinery v0.18.3/go.mod h1:OaXp26zu/5J7p0f92ASynJa1pZo06YlV9fG7BoWbCko= -k8s.io/apiserver v0.17.0/go.mod h1:ABM+9x/prjINN6iiffRVNCBR2Wk7uY4z+EtEGZD48cg= -k8s.io/client-go v0.17.0/go.mod h1:TYgR6EUHs6k45hb6KWjVD6jFZvJV4gHDikv/It0xz+k= -k8s.io/client-go v0.18.3/go.mod h1:4a/dpQEvzAhT1BbuWW09qvIaGw6Gbu1gZYiQZIi1DMw= -k8s.io/cloud-provider v0.17.0/go.mod h1:Ze4c3w2C0bRsjkBUoHpFi+qWe3ob1wI2/7cUn+YQIDE= -k8s.io/code-generator v0.0.0-20191121015212-c4c8f8345c7e/go.mod h1:DVmfPQgxQENqDIzVR2ddLXMH34qeszkKSdH/N+s+38s= -k8s.io/component-base v0.17.0/go.mod h1:rKuRAokNMY2nn2A6LP/MiwpoaMRHpfRnrPaUJJj1Yoc= -k8s.io/csi-translation-lib v0.17.0/go.mod h1:HEF7MEz7pOLJCnxabi45IPkhSsE/KmxPQksuCrHKWls= -k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20190822140433-26a664648505/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= -k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= -k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= -k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a/go.mod h1:1TqjTSzOxsLGIKfj0lK8EeCP7K1iUG65v09OM0/WG5E= -k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6/go.mod h1:GRQhZsXIAJ1xR0C9bd8UpWHZ5plfAS9fzPjJuQ6JL3E= -k8s.io/legacy-cloud-providers v0.17.0/go.mod h1:DdzaepJ3RtRy+e5YhNtrCYwlgyK87j/5+Yfp0L9Syp8= -k8s.io/utils v0.0.0-20191114184206-e782cd3c129f/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= -k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= -modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw= -modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk= -modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k= -modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs= -modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod h1:wWxsB5ozmmv/SG7nM11ayaAW51xMvak/t1r0CSlcokI= -sigs.k8s.io/structured-merge-diff v1.0.1-0.20191108220359-b1b620dd3f06/go.mod h1:/ULNhyfzRopfcjskuui0cTITekDduZ7ycKN3oUT9R18= -sigs.k8s.io/structured-merge-diff/v3 v3.0.0-20200116222232-67a7b8c61874/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw= -sigs.k8s.io/structured-merge-diff/v3 v3.0.0/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw= -sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= -sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= diff --git a/pkg/account/mocks/Servicer.go b/pkg/account/mocks/Servicer.go new file mode 100644 index 000000000..ee89a2d92 --- /dev/null +++ b/pkg/account/mocks/Servicer.go @@ -0,0 +1,200 @@ +// Code generated by mockery v2.16.0. DO NOT EDIT. + +package mocks + +import ( + account "github.com/Optum/dce/pkg/account" + + mock "github.com/stretchr/testify/mock" +) + +// Servicer is an autogenerated mock type for the Servicer type +type Servicer struct { + mock.Mock +} + +// Create provides a mock function with given fields: data +func (_m *Servicer) Create(data *account.Account) (*account.Account, error) { + ret := _m.Called(data) + + var r0 *account.Account + if rf, ok := ret.Get(0).(func(*account.Account) *account.Account); ok { + r0 = rf(data) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*account.Account) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*account.Account) error); ok { + r1 = rf(data) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// Delete provides a mock function with given fields: data +func (_m *Servicer) Delete(data *account.Account) error { + ret := _m.Called(data) + + var r0 error + if rf, ok := ret.Get(0).(func(*account.Account) error); ok { + r0 = rf(data) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// Get provides a mock function with given fields: ID +func (_m *Servicer) Get(ID string) (*account.Account, error) { + ret := _m.Called(ID) + + var r0 *account.Account + if rf, ok := ret.Get(0).(func(string) *account.Account); ok { + r0 = rf(ID) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*account.Account) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(string) error); ok { + r1 = rf(ID) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// List provides a mock function with given fields: query +func (_m *Servicer) List(query *account.Account) (*account.Accounts, error) { + ret := _m.Called(query) + + var r0 *account.Accounts + if rf, ok := ret.Get(0).(func(*account.Account) *account.Accounts); ok { + r0 = rf(query) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*account.Accounts) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*account.Account) error); ok { + r1 = rf(query) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListPages provides a mock function with given fields: query, fn +func (_m *Servicer) ListPages(query *account.Account, fn func(*account.Accounts) bool) error { + ret := _m.Called(query, fn) + + var r0 error + if rf, ok := ret.Get(0).(func(*account.Account, func(*account.Accounts) bool) error); ok { + r0 = rf(query, fn) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// Reset provides a mock function with given fields: id +func (_m *Servicer) Reset(id string) (*account.Account, error) { + ret := _m.Called(id) + + var r0 *account.Account + if rf, ok := ret.Get(0).(func(string) *account.Account); ok { + r0 = rf(id) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*account.Account) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(string) error); ok { + r1 = rf(id) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// Save provides a mock function with given fields: data +func (_m *Servicer) Save(data *account.Account) error { + ret := _m.Called(data) + + var r0 error + if rf, ok := ret.Get(0).(func(*account.Account) error); ok { + r0 = rf(data) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// Update provides a mock function with given fields: ID, data +func (_m *Servicer) Update(ID string, data *account.Account) (*account.Account, error) { + ret := _m.Called(ID, data) + + var r0 *account.Account + if rf, ok := ret.Get(0).(func(string, *account.Account) *account.Account); ok { + r0 = rf(ID, data) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*account.Account) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(string, *account.Account) error); ok { + r1 = rf(ID, data) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpsertPrincipalAccess provides a mock function with given fields: data +func (_m *Servicer) UpsertPrincipalAccess(data *account.Account) error { + ret := _m.Called(data) + + var r0 error + if rf, ok := ret.Get(0).(func(*account.Account) error); ok { + r0 = rf(data) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +type mockConstructorTestingTNewServicer interface { + mock.TestingT + Cleanup(func()) +} + +// NewServicer creates a new instance of Servicer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewServicer(t mockConstructorTestingTNewServicer) *Servicer { + mock := &Servicer{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/accountmanager/mocks/Servicer.go b/pkg/accountmanager/mocks/Servicer.go new file mode 100644 index 000000000..25afff75a --- /dev/null +++ b/pkg/accountmanager/mocks/Servicer.go @@ -0,0 +1,73 @@ +// Code generated by mockery v2.16.0. DO NOT EDIT. + +package mocks + +import ( + account "github.com/Optum/dce/pkg/account" + + arn "github.com/Optum/dce/pkg/arn" + + mock "github.com/stretchr/testify/mock" +) + +// Servicer is an autogenerated mock type for the Servicer type +type Servicer struct { + mock.Mock +} + +// DeletePrincipalAccess provides a mock function with given fields: _a0 +func (_m *Servicer) DeletePrincipalAccess(_a0 *account.Account) error { + ret := _m.Called(_a0) + + var r0 error + if rf, ok := ret.Get(0).(func(*account.Account) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// UpsertPrincipalAccess provides a mock function with given fields: _a0 +func (_m *Servicer) UpsertPrincipalAccess(_a0 *account.Account) error { + ret := _m.Called(_a0) + + var r0 error + if rf, ok := ret.Get(0).(func(*account.Account) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ValidateAccess provides a mock function with given fields: role +func (_m *Servicer) ValidateAccess(role *arn.ARN) error { + ret := _m.Called(role) + + var r0 error + if rf, ok := ret.Get(0).(func(*arn.ARN) error); ok { + r0 = rf(role) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +type mockConstructorTestingTNewServicer interface { + mock.TestingT + Cleanup(func()) +} + +// NewServicer creates a new instance of Servicer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewServicer(t mockConstructorTestingTNewServicer) *Servicer { + mock := &Servicer{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/awsiface/mocks/AwsSession.go b/pkg/awsiface/mocks/AwsSession.go index 0322977b6..3da7676cc 100755 --- a/pkg/awsiface/mocks/AwsSession.go +++ b/pkg/awsiface/mocks/AwsSession.go @@ -1,4 +1,4 @@ -// Code generated by mockery 2.7.4. DO NOT EDIT. +// Code generated by mockery v2.16.0. DO NOT EDIT. package mocks @@ -35,3 +35,18 @@ func (_m *AwsSession) ClientConfig(serviceName string, cfgs ...*aws.Config) clie return r0 } + +type mockConstructorTestingTNewAwsSession interface { + mock.TestingT + Cleanup(func()) +} + +// NewAwsSession creates a new instance of AwsSession. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewAwsSession(t mockConstructorTestingTNewAwsSession) *AwsSession { + mock := &AwsSession{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/awsiface/mocks/CloudWatchAPI.go b/pkg/awsiface/mocks/CloudWatchAPI.go index 87aa9cecc..7ec9c08ab 100644 --- a/pkg/awsiface/mocks/CloudWatchAPI.go +++ b/pkg/awsiface/mocks/CloudWatchAPI.go @@ -1,4 +1,4 @@ -// Code generated by mockery 2.7.4. DO NOT EDIT. +// Code generated by mockery v2.16.0. DO NOT EDIT. package mocks @@ -329,6 +329,84 @@ func (_m *CloudWatchAPI) DeleteInsightRulesWithContext(_a0 context.Context, _a1 return r0, r1 } +// DeleteMetricStream provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) DeleteMetricStream(_a0 *cloudwatch.DeleteMetricStreamInput) (*cloudwatch.DeleteMetricStreamOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatch.DeleteMetricStreamOutput + if rf, ok := ret.Get(0).(func(*cloudwatch.DeleteMetricStreamInput) *cloudwatch.DeleteMetricStreamOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.DeleteMetricStreamOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatch.DeleteMetricStreamInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteMetricStreamRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) DeleteMetricStreamRequest(_a0 *cloudwatch.DeleteMetricStreamInput) (*request.Request, *cloudwatch.DeleteMetricStreamOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatch.DeleteMetricStreamInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatch.DeleteMetricStreamOutput + if rf, ok := ret.Get(1).(func(*cloudwatch.DeleteMetricStreamInput) *cloudwatch.DeleteMetricStreamOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatch.DeleteMetricStreamOutput) + } + } + + return r0, r1 +} + +// DeleteMetricStreamWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchAPI) DeleteMetricStreamWithContext(_a0 context.Context, _a1 *cloudwatch.DeleteMetricStreamInput, _a2 ...request.Option) (*cloudwatch.DeleteMetricStreamOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatch.DeleteMetricStreamOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.DeleteMetricStreamInput, ...request.Option) *cloudwatch.DeleteMetricStreamOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.DeleteMetricStreamOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatch.DeleteMetricStreamInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeAlarmHistory provides a mock function with given fields: _a0 func (_m *CloudWatchAPI) DescribeAlarmHistory(_a0 *cloudwatch.DescribeAlarmHistoryInput) (*cloudwatch.DescribeAlarmHistoryOutput, error) { ret := _m.Called(_a0) @@ -656,6 +734,41 @@ func (_m *CloudWatchAPI) DescribeAnomalyDetectors(_a0 *cloudwatch.DescribeAnomal return r0, r1 } +// DescribeAnomalyDetectorsPages provides a mock function with given fields: _a0, _a1 +func (_m *CloudWatchAPI) DescribeAnomalyDetectorsPages(_a0 *cloudwatch.DescribeAnomalyDetectorsInput, _a1 func(*cloudwatch.DescribeAnomalyDetectorsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudwatch.DescribeAnomalyDetectorsInput, func(*cloudwatch.DescribeAnomalyDetectorsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeAnomalyDetectorsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *CloudWatchAPI) DescribeAnomalyDetectorsPagesWithContext(_a0 context.Context, _a1 *cloudwatch.DescribeAnomalyDetectorsInput, _a2 func(*cloudwatch.DescribeAnomalyDetectorsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.DescribeAnomalyDetectorsInput, func(*cloudwatch.DescribeAnomalyDetectorsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // DescribeAnomalyDetectorsRequest provides a mock function with given fields: _a0 func (_m *CloudWatchAPI) DescribeAnomalyDetectorsRequest(_a0 *cloudwatch.DescribeAnomalyDetectorsInput) (*request.Request, *cloudwatch.DescribeAnomalyDetectorsOutput) { ret := _m.Called(_a0) @@ -1483,6 +1596,84 @@ func (_m *CloudWatchAPI) GetMetricStatisticsWithContext(_a0 context.Context, _a1 return r0, r1 } +// GetMetricStream provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) GetMetricStream(_a0 *cloudwatch.GetMetricStreamInput) (*cloudwatch.GetMetricStreamOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatch.GetMetricStreamOutput + if rf, ok := ret.Get(0).(func(*cloudwatch.GetMetricStreamInput) *cloudwatch.GetMetricStreamOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.GetMetricStreamOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatch.GetMetricStreamInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetMetricStreamRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) GetMetricStreamRequest(_a0 *cloudwatch.GetMetricStreamInput) (*request.Request, *cloudwatch.GetMetricStreamOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatch.GetMetricStreamInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatch.GetMetricStreamOutput + if rf, ok := ret.Get(1).(func(*cloudwatch.GetMetricStreamInput) *cloudwatch.GetMetricStreamOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatch.GetMetricStreamOutput) + } + } + + return r0, r1 +} + +// GetMetricStreamWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchAPI) GetMetricStreamWithContext(_a0 context.Context, _a1 *cloudwatch.GetMetricStreamInput, _a2 ...request.Option) (*cloudwatch.GetMetricStreamOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatch.GetMetricStreamOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.GetMetricStreamInput, ...request.Option) *cloudwatch.GetMetricStreamOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.GetMetricStreamOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatch.GetMetricStreamInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // GetMetricWidgetImage provides a mock function with given fields: _a0 func (_m *CloudWatchAPI) GetMetricWidgetImage(_a0 *cloudwatch.GetMetricWidgetImageInput) (*cloudwatch.GetMetricWidgetImageOutput, error) { ret := _m.Called(_a0) @@ -1674,21 +1865,21 @@ func (_m *CloudWatchAPI) ListDashboardsWithContext(_a0 context.Context, _a1 *clo return r0, r1 } -// ListMetrics provides a mock function with given fields: _a0 -func (_m *CloudWatchAPI) ListMetrics(_a0 *cloudwatch.ListMetricsInput) (*cloudwatch.ListMetricsOutput, error) { +// ListManagedInsightRules provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) ListManagedInsightRules(_a0 *cloudwatch.ListManagedInsightRulesInput) (*cloudwatch.ListManagedInsightRulesOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatch.ListMetricsOutput - if rf, ok := ret.Get(0).(func(*cloudwatch.ListMetricsInput) *cloudwatch.ListMetricsOutput); ok { + var r0 *cloudwatch.ListManagedInsightRulesOutput + if rf, ok := ret.Get(0).(func(*cloudwatch.ListManagedInsightRulesInput) *cloudwatch.ListManagedInsightRulesOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatch.ListMetricsOutput) + r0 = ret.Get(0).(*cloudwatch.ListManagedInsightRulesOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*cloudwatch.ListMetricsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatch.ListManagedInsightRulesInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1697,12 +1888,12 @@ func (_m *CloudWatchAPI) ListMetrics(_a0 *cloudwatch.ListMetricsInput) (*cloudwa return r0, r1 } -// ListMetricsPages provides a mock function with given fields: _a0, _a1 -func (_m *CloudWatchAPI) ListMetricsPages(_a0 *cloudwatch.ListMetricsInput, _a1 func(*cloudwatch.ListMetricsOutput, bool) bool) error { +// ListManagedInsightRulesPages provides a mock function with given fields: _a0, _a1 +func (_m *CloudWatchAPI) ListManagedInsightRulesPages(_a0 *cloudwatch.ListManagedInsightRulesInput, _a1 func(*cloudwatch.ListManagedInsightRulesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) var r0 error - if rf, ok := ret.Get(0).(func(*cloudwatch.ListMetricsInput, func(*cloudwatch.ListMetricsOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*cloudwatch.ListManagedInsightRulesInput, func(*cloudwatch.ListManagedInsightRulesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -1711,8 +1902,8 @@ func (_m *CloudWatchAPI) ListMetricsPages(_a0 *cloudwatch.ListMetricsInput, _a1 return r0 } -// ListMetricsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *CloudWatchAPI) ListMetricsPagesWithContext(_a0 context.Context, _a1 *cloudwatch.ListMetricsInput, _a2 func(*cloudwatch.ListMetricsOutput, bool) bool, _a3 ...request.Option) error { +// ListManagedInsightRulesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *CloudWatchAPI) ListManagedInsightRulesPagesWithContext(_a0 context.Context, _a1 *cloudwatch.ListManagedInsightRulesInput, _a2 func(*cloudwatch.ListManagedInsightRulesOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -1723,7 +1914,7 @@ func (_m *CloudWatchAPI) ListMetricsPagesWithContext(_a0 context.Context, _a1 *c ret := _m.Called(_ca...) var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.ListMetricsInput, func(*cloudwatch.ListMetricsOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.ListManagedInsightRulesInput, func(*cloudwatch.ListManagedInsightRulesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -1732,12 +1923,12 @@ func (_m *CloudWatchAPI) ListMetricsPagesWithContext(_a0 context.Context, _a1 *c return r0 } -// ListMetricsRequest provides a mock function with given fields: _a0 -func (_m *CloudWatchAPI) ListMetricsRequest(_a0 *cloudwatch.ListMetricsInput) (*request.Request, *cloudwatch.ListMetricsOutput) { +// ListManagedInsightRulesRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) ListManagedInsightRulesRequest(_a0 *cloudwatch.ListManagedInsightRulesInput) (*request.Request, *cloudwatch.ListManagedInsightRulesOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudwatch.ListMetricsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatch.ListManagedInsightRulesInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1745,20 +1936,20 @@ func (_m *CloudWatchAPI) ListMetricsRequest(_a0 *cloudwatch.ListMetricsInput) (* } } - var r1 *cloudwatch.ListMetricsOutput - if rf, ok := ret.Get(1).(func(*cloudwatch.ListMetricsInput) *cloudwatch.ListMetricsOutput); ok { + var r1 *cloudwatch.ListManagedInsightRulesOutput + if rf, ok := ret.Get(1).(func(*cloudwatch.ListManagedInsightRulesInput) *cloudwatch.ListManagedInsightRulesOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatch.ListMetricsOutput) + r1 = ret.Get(1).(*cloudwatch.ListManagedInsightRulesOutput) } } return r0, r1 } -// ListMetricsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *CloudWatchAPI) ListMetricsWithContext(_a0 context.Context, _a1 *cloudwatch.ListMetricsInput, _a2 ...request.Option) (*cloudwatch.ListMetricsOutput, error) { +// ListManagedInsightRulesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchAPI) ListManagedInsightRulesWithContext(_a0 context.Context, _a1 *cloudwatch.ListManagedInsightRulesInput, _a2 ...request.Option) (*cloudwatch.ListManagedInsightRulesOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1768,17 +1959,17 @@ func (_m *CloudWatchAPI) ListMetricsWithContext(_a0 context.Context, _a1 *cloudw _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatch.ListMetricsOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.ListMetricsInput, ...request.Option) *cloudwatch.ListMetricsOutput); ok { + var r0 *cloudwatch.ListManagedInsightRulesOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.ListManagedInsightRulesInput, ...request.Option) *cloudwatch.ListManagedInsightRulesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatch.ListMetricsOutput) + r0 = ret.Get(0).(*cloudwatch.ListManagedInsightRulesOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatch.ListMetricsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatch.ListManagedInsightRulesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1787,21 +1978,21 @@ func (_m *CloudWatchAPI) ListMetricsWithContext(_a0 context.Context, _a1 *cloudw return r0, r1 } -// ListTagsForResource provides a mock function with given fields: _a0 -func (_m *CloudWatchAPI) ListTagsForResource(_a0 *cloudwatch.ListTagsForResourceInput) (*cloudwatch.ListTagsForResourceOutput, error) { +// ListMetricStreams provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) ListMetricStreams(_a0 *cloudwatch.ListMetricStreamsInput) (*cloudwatch.ListMetricStreamsOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatch.ListTagsForResourceOutput - if rf, ok := ret.Get(0).(func(*cloudwatch.ListTagsForResourceInput) *cloudwatch.ListTagsForResourceOutput); ok { + var r0 *cloudwatch.ListMetricStreamsOutput + if rf, ok := ret.Get(0).(func(*cloudwatch.ListMetricStreamsInput) *cloudwatch.ListMetricStreamsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatch.ListTagsForResourceOutput) + r0 = ret.Get(0).(*cloudwatch.ListMetricStreamsOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*cloudwatch.ListTagsForResourceInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatch.ListMetricStreamsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1810,12 +2001,47 @@ func (_m *CloudWatchAPI) ListTagsForResource(_a0 *cloudwatch.ListTagsForResource return r0, r1 } -// ListTagsForResourceRequest provides a mock function with given fields: _a0 -func (_m *CloudWatchAPI) ListTagsForResourceRequest(_a0 *cloudwatch.ListTagsForResourceInput) (*request.Request, *cloudwatch.ListTagsForResourceOutput) { +// ListMetricStreamsPages provides a mock function with given fields: _a0, _a1 +func (_m *CloudWatchAPI) ListMetricStreamsPages(_a0 *cloudwatch.ListMetricStreamsInput, _a1 func(*cloudwatch.ListMetricStreamsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudwatch.ListMetricStreamsInput, func(*cloudwatch.ListMetricStreamsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListMetricStreamsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *CloudWatchAPI) ListMetricStreamsPagesWithContext(_a0 context.Context, _a1 *cloudwatch.ListMetricStreamsInput, _a2 func(*cloudwatch.ListMetricStreamsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.ListMetricStreamsInput, func(*cloudwatch.ListMetricStreamsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListMetricStreamsRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) ListMetricStreamsRequest(_a0 *cloudwatch.ListMetricStreamsInput) (*request.Request, *cloudwatch.ListMetricStreamsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudwatch.ListTagsForResourceInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatch.ListMetricStreamsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1823,20 +2049,20 @@ func (_m *CloudWatchAPI) ListTagsForResourceRequest(_a0 *cloudwatch.ListTagsForR } } - var r1 *cloudwatch.ListTagsForResourceOutput - if rf, ok := ret.Get(1).(func(*cloudwatch.ListTagsForResourceInput) *cloudwatch.ListTagsForResourceOutput); ok { + var r1 *cloudwatch.ListMetricStreamsOutput + if rf, ok := ret.Get(1).(func(*cloudwatch.ListMetricStreamsInput) *cloudwatch.ListMetricStreamsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatch.ListTagsForResourceOutput) + r1 = ret.Get(1).(*cloudwatch.ListMetricStreamsOutput) } } return r0, r1 } -// ListTagsForResourceWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *CloudWatchAPI) ListTagsForResourceWithContext(_a0 context.Context, _a1 *cloudwatch.ListTagsForResourceInput, _a2 ...request.Option) (*cloudwatch.ListTagsForResourceOutput, error) { +// ListMetricStreamsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchAPI) ListMetricStreamsWithContext(_a0 context.Context, _a1 *cloudwatch.ListMetricStreamsInput, _a2 ...request.Option) (*cloudwatch.ListMetricStreamsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1846,17 +2072,17 @@ func (_m *CloudWatchAPI) ListTagsForResourceWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatch.ListTagsForResourceOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.ListTagsForResourceInput, ...request.Option) *cloudwatch.ListTagsForResourceOutput); ok { + var r0 *cloudwatch.ListMetricStreamsOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.ListMetricStreamsInput, ...request.Option) *cloudwatch.ListMetricStreamsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatch.ListTagsForResourceOutput) + r0 = ret.Get(0).(*cloudwatch.ListMetricStreamsOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatch.ListTagsForResourceInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatch.ListMetricStreamsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1865,21 +2091,21 @@ func (_m *CloudWatchAPI) ListTagsForResourceWithContext(_a0 context.Context, _a1 return r0, r1 } -// PutAnomalyDetector provides a mock function with given fields: _a0 -func (_m *CloudWatchAPI) PutAnomalyDetector(_a0 *cloudwatch.PutAnomalyDetectorInput) (*cloudwatch.PutAnomalyDetectorOutput, error) { +// ListMetrics provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) ListMetrics(_a0 *cloudwatch.ListMetricsInput) (*cloudwatch.ListMetricsOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatch.PutAnomalyDetectorOutput - if rf, ok := ret.Get(0).(func(*cloudwatch.PutAnomalyDetectorInput) *cloudwatch.PutAnomalyDetectorOutput); ok { + var r0 *cloudwatch.ListMetricsOutput + if rf, ok := ret.Get(0).(func(*cloudwatch.ListMetricsInput) *cloudwatch.ListMetricsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatch.PutAnomalyDetectorOutput) + r0 = ret.Get(0).(*cloudwatch.ListMetricsOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*cloudwatch.PutAnomalyDetectorInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatch.ListMetricsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1888,27 +2114,218 @@ func (_m *CloudWatchAPI) PutAnomalyDetector(_a0 *cloudwatch.PutAnomalyDetectorIn return r0, r1 } -// PutAnomalyDetectorRequest provides a mock function with given fields: _a0 -func (_m *CloudWatchAPI) PutAnomalyDetectorRequest(_a0 *cloudwatch.PutAnomalyDetectorInput) (*request.Request, *cloudwatch.PutAnomalyDetectorOutput) { - ret := _m.Called(_a0) +// ListMetricsPages provides a mock function with given fields: _a0, _a1 +func (_m *CloudWatchAPI) ListMetricsPages(_a0 *cloudwatch.ListMetricsInput, _a1 func(*cloudwatch.ListMetricsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) - var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudwatch.PutAnomalyDetectorInput) *request.Request); ok { - r0 = rf(_a0) + var r0 error + if rf, ok := ret.Get(0).(func(*cloudwatch.ListMetricsInput, func(*cloudwatch.ListMetricsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*request.Request) - } + r0 = ret.Error(0) } - var r1 *cloudwatch.PutAnomalyDetectorOutput - if rf, ok := ret.Get(1).(func(*cloudwatch.PutAnomalyDetectorInput) *cloudwatch.PutAnomalyDetectorOutput); ok { - r1 = rf(_a0) - } else { - if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatch.PutAnomalyDetectorOutput) - } - } + return r0 +} + +// ListMetricsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *CloudWatchAPI) ListMetricsPagesWithContext(_a0 context.Context, _a1 *cloudwatch.ListMetricsInput, _a2 func(*cloudwatch.ListMetricsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.ListMetricsInput, func(*cloudwatch.ListMetricsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListMetricsRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) ListMetricsRequest(_a0 *cloudwatch.ListMetricsInput) (*request.Request, *cloudwatch.ListMetricsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatch.ListMetricsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatch.ListMetricsOutput + if rf, ok := ret.Get(1).(func(*cloudwatch.ListMetricsInput) *cloudwatch.ListMetricsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatch.ListMetricsOutput) + } + } + + return r0, r1 +} + +// ListMetricsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchAPI) ListMetricsWithContext(_a0 context.Context, _a1 *cloudwatch.ListMetricsInput, _a2 ...request.Option) (*cloudwatch.ListMetricsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatch.ListMetricsOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.ListMetricsInput, ...request.Option) *cloudwatch.ListMetricsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.ListMetricsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatch.ListMetricsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListTagsForResource provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) ListTagsForResource(_a0 *cloudwatch.ListTagsForResourceInput) (*cloudwatch.ListTagsForResourceOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatch.ListTagsForResourceOutput + if rf, ok := ret.Get(0).(func(*cloudwatch.ListTagsForResourceInput) *cloudwatch.ListTagsForResourceOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.ListTagsForResourceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatch.ListTagsForResourceInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListTagsForResourceRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) ListTagsForResourceRequest(_a0 *cloudwatch.ListTagsForResourceInput) (*request.Request, *cloudwatch.ListTagsForResourceOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatch.ListTagsForResourceInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatch.ListTagsForResourceOutput + if rf, ok := ret.Get(1).(func(*cloudwatch.ListTagsForResourceInput) *cloudwatch.ListTagsForResourceOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatch.ListTagsForResourceOutput) + } + } + + return r0, r1 +} + +// ListTagsForResourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchAPI) ListTagsForResourceWithContext(_a0 context.Context, _a1 *cloudwatch.ListTagsForResourceInput, _a2 ...request.Option) (*cloudwatch.ListTagsForResourceOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatch.ListTagsForResourceOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.ListTagsForResourceInput, ...request.Option) *cloudwatch.ListTagsForResourceOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.ListTagsForResourceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatch.ListTagsForResourceInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PutAnomalyDetector provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) PutAnomalyDetector(_a0 *cloudwatch.PutAnomalyDetectorInput) (*cloudwatch.PutAnomalyDetectorOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatch.PutAnomalyDetectorOutput + if rf, ok := ret.Get(0).(func(*cloudwatch.PutAnomalyDetectorInput) *cloudwatch.PutAnomalyDetectorOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.PutAnomalyDetectorOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatch.PutAnomalyDetectorInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PutAnomalyDetectorRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) PutAnomalyDetectorRequest(_a0 *cloudwatch.PutAnomalyDetectorInput) (*request.Request, *cloudwatch.PutAnomalyDetectorOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatch.PutAnomalyDetectorInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatch.PutAnomalyDetectorOutput + if rf, ok := ret.Get(1).(func(*cloudwatch.PutAnomalyDetectorInput) *cloudwatch.PutAnomalyDetectorOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatch.PutAnomalyDetectorOutput) + } + } return r0, r1 } @@ -2177,6 +2594,84 @@ func (_m *CloudWatchAPI) PutInsightRuleWithContext(_a0 context.Context, _a1 *clo return r0, r1 } +// PutManagedInsightRules provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) PutManagedInsightRules(_a0 *cloudwatch.PutManagedInsightRulesInput) (*cloudwatch.PutManagedInsightRulesOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatch.PutManagedInsightRulesOutput + if rf, ok := ret.Get(0).(func(*cloudwatch.PutManagedInsightRulesInput) *cloudwatch.PutManagedInsightRulesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.PutManagedInsightRulesOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatch.PutManagedInsightRulesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PutManagedInsightRulesRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) PutManagedInsightRulesRequest(_a0 *cloudwatch.PutManagedInsightRulesInput) (*request.Request, *cloudwatch.PutManagedInsightRulesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatch.PutManagedInsightRulesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatch.PutManagedInsightRulesOutput + if rf, ok := ret.Get(1).(func(*cloudwatch.PutManagedInsightRulesInput) *cloudwatch.PutManagedInsightRulesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatch.PutManagedInsightRulesOutput) + } + } + + return r0, r1 +} + +// PutManagedInsightRulesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchAPI) PutManagedInsightRulesWithContext(_a0 context.Context, _a1 *cloudwatch.PutManagedInsightRulesInput, _a2 ...request.Option) (*cloudwatch.PutManagedInsightRulesOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatch.PutManagedInsightRulesOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.PutManagedInsightRulesInput, ...request.Option) *cloudwatch.PutManagedInsightRulesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.PutManagedInsightRulesOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatch.PutManagedInsightRulesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // PutMetricAlarm provides a mock function with given fields: _a0 func (_m *CloudWatchAPI) PutMetricAlarm(_a0 *cloudwatch.PutMetricAlarmInput) (*cloudwatch.PutMetricAlarmOutput, error) { ret := _m.Called(_a0) @@ -2333,6 +2828,84 @@ func (_m *CloudWatchAPI) PutMetricDataWithContext(_a0 context.Context, _a1 *clou return r0, r1 } +// PutMetricStream provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) PutMetricStream(_a0 *cloudwatch.PutMetricStreamInput) (*cloudwatch.PutMetricStreamOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatch.PutMetricStreamOutput + if rf, ok := ret.Get(0).(func(*cloudwatch.PutMetricStreamInput) *cloudwatch.PutMetricStreamOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.PutMetricStreamOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatch.PutMetricStreamInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PutMetricStreamRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) PutMetricStreamRequest(_a0 *cloudwatch.PutMetricStreamInput) (*request.Request, *cloudwatch.PutMetricStreamOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatch.PutMetricStreamInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatch.PutMetricStreamOutput + if rf, ok := ret.Get(1).(func(*cloudwatch.PutMetricStreamInput) *cloudwatch.PutMetricStreamOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatch.PutMetricStreamOutput) + } + } + + return r0, r1 +} + +// PutMetricStreamWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchAPI) PutMetricStreamWithContext(_a0 context.Context, _a1 *cloudwatch.PutMetricStreamInput, _a2 ...request.Option) (*cloudwatch.PutMetricStreamOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatch.PutMetricStreamOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.PutMetricStreamInput, ...request.Option) *cloudwatch.PutMetricStreamOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.PutMetricStreamOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatch.PutMetricStreamInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // SetAlarmState provides a mock function with given fields: _a0 func (_m *CloudWatchAPI) SetAlarmState(_a0 *cloudwatch.SetAlarmStateInput) (*cloudwatch.SetAlarmStateOutput, error) { ret := _m.Called(_a0) @@ -2411,6 +2984,162 @@ func (_m *CloudWatchAPI) SetAlarmStateWithContext(_a0 context.Context, _a1 *clou return r0, r1 } +// StartMetricStreams provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) StartMetricStreams(_a0 *cloudwatch.StartMetricStreamsInput) (*cloudwatch.StartMetricStreamsOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatch.StartMetricStreamsOutput + if rf, ok := ret.Get(0).(func(*cloudwatch.StartMetricStreamsInput) *cloudwatch.StartMetricStreamsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.StartMetricStreamsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatch.StartMetricStreamsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StartMetricStreamsRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) StartMetricStreamsRequest(_a0 *cloudwatch.StartMetricStreamsInput) (*request.Request, *cloudwatch.StartMetricStreamsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatch.StartMetricStreamsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatch.StartMetricStreamsOutput + if rf, ok := ret.Get(1).(func(*cloudwatch.StartMetricStreamsInput) *cloudwatch.StartMetricStreamsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatch.StartMetricStreamsOutput) + } + } + + return r0, r1 +} + +// StartMetricStreamsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchAPI) StartMetricStreamsWithContext(_a0 context.Context, _a1 *cloudwatch.StartMetricStreamsInput, _a2 ...request.Option) (*cloudwatch.StartMetricStreamsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatch.StartMetricStreamsOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.StartMetricStreamsInput, ...request.Option) *cloudwatch.StartMetricStreamsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.StartMetricStreamsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatch.StartMetricStreamsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StopMetricStreams provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) StopMetricStreams(_a0 *cloudwatch.StopMetricStreamsInput) (*cloudwatch.StopMetricStreamsOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatch.StopMetricStreamsOutput + if rf, ok := ret.Get(0).(func(*cloudwatch.StopMetricStreamsInput) *cloudwatch.StopMetricStreamsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.StopMetricStreamsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatch.StopMetricStreamsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StopMetricStreamsRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchAPI) StopMetricStreamsRequest(_a0 *cloudwatch.StopMetricStreamsInput) (*request.Request, *cloudwatch.StopMetricStreamsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatch.StopMetricStreamsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatch.StopMetricStreamsOutput + if rf, ok := ret.Get(1).(func(*cloudwatch.StopMetricStreamsInput) *cloudwatch.StopMetricStreamsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatch.StopMetricStreamsOutput) + } + } + + return r0, r1 +} + +// StopMetricStreamsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchAPI) StopMetricStreamsWithContext(_a0 context.Context, _a1 *cloudwatch.StopMetricStreamsInput, _a2 ...request.Option) (*cloudwatch.StopMetricStreamsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatch.StopMetricStreamsOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatch.StopMetricStreamsInput, ...request.Option) *cloudwatch.StopMetricStreamsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatch.StopMetricStreamsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatch.StopMetricStreamsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // TagResource provides a mock function with given fields: _a0 func (_m *CloudWatchAPI) TagResource(_a0 *cloudwatch.TagResourceInput) (*cloudwatch.TagResourceOutput, error) { ret := _m.Called(_a0) @@ -2636,3 +3365,18 @@ func (_m *CloudWatchAPI) WaitUntilCompositeAlarmExistsWithContext(_a0 context.Co return r0 } + +type mockConstructorTestingTNewCloudWatchAPI interface { + mock.TestingT + Cleanup(func()) +} + +// NewCloudWatchAPI creates a new instance of CloudWatchAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewCloudWatchAPI(t mockConstructorTestingTNewCloudWatchAPI) *CloudWatchAPI { + mock := &CloudWatchAPI{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/awsiface/mocks/CloudWatchEventsAPI.go b/pkg/awsiface/mocks/CloudWatchEventsAPI.go index fba1c74db..8876b7bc3 100644 --- a/pkg/awsiface/mocks/CloudWatchEventsAPI.go +++ b/pkg/awsiface/mocks/CloudWatchEventsAPI.go @@ -1,4 +1,4 @@ -// Code generated by mockery 2.7.4. DO NOT EDIT. +// Code generated by mockery v2.16.0. DO NOT EDIT. package mocks @@ -173,6 +173,84 @@ func (_m *CloudWatchEventsAPI) CancelReplayWithContext(_a0 context.Context, _a1 return r0, r1 } +// CreateApiDestination provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) CreateApiDestination(_a0 *cloudwatchevents.CreateApiDestinationInput) (*cloudwatchevents.CreateApiDestinationOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatchevents.CreateApiDestinationOutput + if rf, ok := ret.Get(0).(func(*cloudwatchevents.CreateApiDestinationInput) *cloudwatchevents.CreateApiDestinationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.CreateApiDestinationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatchevents.CreateApiDestinationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateApiDestinationRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) CreateApiDestinationRequest(_a0 *cloudwatchevents.CreateApiDestinationInput) (*request.Request, *cloudwatchevents.CreateApiDestinationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatchevents.CreateApiDestinationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatchevents.CreateApiDestinationOutput + if rf, ok := ret.Get(1).(func(*cloudwatchevents.CreateApiDestinationInput) *cloudwatchevents.CreateApiDestinationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchevents.CreateApiDestinationOutput) + } + } + + return r0, r1 +} + +// CreateApiDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchEventsAPI) CreateApiDestinationWithContext(_a0 context.Context, _a1 *cloudwatchevents.CreateApiDestinationInput, _a2 ...request.Option) (*cloudwatchevents.CreateApiDestinationOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatchevents.CreateApiDestinationOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchevents.CreateApiDestinationInput, ...request.Option) *cloudwatchevents.CreateApiDestinationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.CreateApiDestinationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchevents.CreateApiDestinationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateArchive provides a mock function with given fields: _a0 func (_m *CloudWatchEventsAPI) CreateArchive(_a0 *cloudwatchevents.CreateArchiveInput) (*cloudwatchevents.CreateArchiveOutput, error) { ret := _m.Called(_a0) @@ -251,6 +329,84 @@ func (_m *CloudWatchEventsAPI) CreateArchiveWithContext(_a0 context.Context, _a1 return r0, r1 } +// CreateConnection provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) CreateConnection(_a0 *cloudwatchevents.CreateConnectionInput) (*cloudwatchevents.CreateConnectionOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatchevents.CreateConnectionOutput + if rf, ok := ret.Get(0).(func(*cloudwatchevents.CreateConnectionInput) *cloudwatchevents.CreateConnectionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.CreateConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatchevents.CreateConnectionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateConnectionRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) CreateConnectionRequest(_a0 *cloudwatchevents.CreateConnectionInput) (*request.Request, *cloudwatchevents.CreateConnectionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatchevents.CreateConnectionInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatchevents.CreateConnectionOutput + if rf, ok := ret.Get(1).(func(*cloudwatchevents.CreateConnectionInput) *cloudwatchevents.CreateConnectionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchevents.CreateConnectionOutput) + } + } + + return r0, r1 +} + +// CreateConnectionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchEventsAPI) CreateConnectionWithContext(_a0 context.Context, _a1 *cloudwatchevents.CreateConnectionInput, _a2 ...request.Option) (*cloudwatchevents.CreateConnectionOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatchevents.CreateConnectionOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchevents.CreateConnectionInput, ...request.Option) *cloudwatchevents.CreateConnectionOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.CreateConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchevents.CreateConnectionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateEventBus provides a mock function with given fields: _a0 func (_m *CloudWatchEventsAPI) CreateEventBus(_a0 *cloudwatchevents.CreateEventBusInput) (*cloudwatchevents.CreateEventBusOutput, error) { ret := _m.Called(_a0) @@ -485,6 +641,162 @@ func (_m *CloudWatchEventsAPI) DeactivateEventSourceWithContext(_a0 context.Cont return r0, r1 } +// DeauthorizeConnection provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) DeauthorizeConnection(_a0 *cloudwatchevents.DeauthorizeConnectionInput) (*cloudwatchevents.DeauthorizeConnectionOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatchevents.DeauthorizeConnectionOutput + if rf, ok := ret.Get(0).(func(*cloudwatchevents.DeauthorizeConnectionInput) *cloudwatchevents.DeauthorizeConnectionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.DeauthorizeConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatchevents.DeauthorizeConnectionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeauthorizeConnectionRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) DeauthorizeConnectionRequest(_a0 *cloudwatchevents.DeauthorizeConnectionInput) (*request.Request, *cloudwatchevents.DeauthorizeConnectionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatchevents.DeauthorizeConnectionInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatchevents.DeauthorizeConnectionOutput + if rf, ok := ret.Get(1).(func(*cloudwatchevents.DeauthorizeConnectionInput) *cloudwatchevents.DeauthorizeConnectionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchevents.DeauthorizeConnectionOutput) + } + } + + return r0, r1 +} + +// DeauthorizeConnectionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchEventsAPI) DeauthorizeConnectionWithContext(_a0 context.Context, _a1 *cloudwatchevents.DeauthorizeConnectionInput, _a2 ...request.Option) (*cloudwatchevents.DeauthorizeConnectionOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatchevents.DeauthorizeConnectionOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchevents.DeauthorizeConnectionInput, ...request.Option) *cloudwatchevents.DeauthorizeConnectionOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.DeauthorizeConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchevents.DeauthorizeConnectionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteApiDestination provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) DeleteApiDestination(_a0 *cloudwatchevents.DeleteApiDestinationInput) (*cloudwatchevents.DeleteApiDestinationOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatchevents.DeleteApiDestinationOutput + if rf, ok := ret.Get(0).(func(*cloudwatchevents.DeleteApiDestinationInput) *cloudwatchevents.DeleteApiDestinationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.DeleteApiDestinationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatchevents.DeleteApiDestinationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteApiDestinationRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) DeleteApiDestinationRequest(_a0 *cloudwatchevents.DeleteApiDestinationInput) (*request.Request, *cloudwatchevents.DeleteApiDestinationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatchevents.DeleteApiDestinationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatchevents.DeleteApiDestinationOutput + if rf, ok := ret.Get(1).(func(*cloudwatchevents.DeleteApiDestinationInput) *cloudwatchevents.DeleteApiDestinationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchevents.DeleteApiDestinationOutput) + } + } + + return r0, r1 +} + +// DeleteApiDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchEventsAPI) DeleteApiDestinationWithContext(_a0 context.Context, _a1 *cloudwatchevents.DeleteApiDestinationInput, _a2 ...request.Option) (*cloudwatchevents.DeleteApiDestinationOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatchevents.DeleteApiDestinationOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchevents.DeleteApiDestinationInput, ...request.Option) *cloudwatchevents.DeleteApiDestinationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.DeleteApiDestinationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchevents.DeleteApiDestinationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteArchive provides a mock function with given fields: _a0 func (_m *CloudWatchEventsAPI) DeleteArchive(_a0 *cloudwatchevents.DeleteArchiveInput) (*cloudwatchevents.DeleteArchiveOutput, error) { ret := _m.Called(_a0) @@ -563,6 +875,84 @@ func (_m *CloudWatchEventsAPI) DeleteArchiveWithContext(_a0 context.Context, _a1 return r0, r1 } +// DeleteConnection provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) DeleteConnection(_a0 *cloudwatchevents.DeleteConnectionInput) (*cloudwatchevents.DeleteConnectionOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatchevents.DeleteConnectionOutput + if rf, ok := ret.Get(0).(func(*cloudwatchevents.DeleteConnectionInput) *cloudwatchevents.DeleteConnectionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.DeleteConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatchevents.DeleteConnectionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteConnectionRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) DeleteConnectionRequest(_a0 *cloudwatchevents.DeleteConnectionInput) (*request.Request, *cloudwatchevents.DeleteConnectionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatchevents.DeleteConnectionInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatchevents.DeleteConnectionOutput + if rf, ok := ret.Get(1).(func(*cloudwatchevents.DeleteConnectionInput) *cloudwatchevents.DeleteConnectionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchevents.DeleteConnectionOutput) + } + } + + return r0, r1 +} + +// DeleteConnectionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchEventsAPI) DeleteConnectionWithContext(_a0 context.Context, _a1 *cloudwatchevents.DeleteConnectionInput, _a2 ...request.Option) (*cloudwatchevents.DeleteConnectionOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatchevents.DeleteConnectionOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchevents.DeleteConnectionInput, ...request.Option) *cloudwatchevents.DeleteConnectionOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.DeleteConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchevents.DeleteConnectionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteEventBus provides a mock function with given fields: _a0 func (_m *CloudWatchEventsAPI) DeleteEventBus(_a0 *cloudwatchevents.DeleteEventBusInput) (*cloudwatchevents.DeleteEventBusOutput, error) { ret := _m.Called(_a0) @@ -797,6 +1187,84 @@ func (_m *CloudWatchEventsAPI) DeleteRuleWithContext(_a0 context.Context, _a1 *c return r0, r1 } +// DescribeApiDestination provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) DescribeApiDestination(_a0 *cloudwatchevents.DescribeApiDestinationInput) (*cloudwatchevents.DescribeApiDestinationOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatchevents.DescribeApiDestinationOutput + if rf, ok := ret.Get(0).(func(*cloudwatchevents.DescribeApiDestinationInput) *cloudwatchevents.DescribeApiDestinationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.DescribeApiDestinationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatchevents.DescribeApiDestinationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeApiDestinationRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) DescribeApiDestinationRequest(_a0 *cloudwatchevents.DescribeApiDestinationInput) (*request.Request, *cloudwatchevents.DescribeApiDestinationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatchevents.DescribeApiDestinationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatchevents.DescribeApiDestinationOutput + if rf, ok := ret.Get(1).(func(*cloudwatchevents.DescribeApiDestinationInput) *cloudwatchevents.DescribeApiDestinationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchevents.DescribeApiDestinationOutput) + } + } + + return r0, r1 +} + +// DescribeApiDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchEventsAPI) DescribeApiDestinationWithContext(_a0 context.Context, _a1 *cloudwatchevents.DescribeApiDestinationInput, _a2 ...request.Option) (*cloudwatchevents.DescribeApiDestinationOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatchevents.DescribeApiDestinationOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchevents.DescribeApiDestinationInput, ...request.Option) *cloudwatchevents.DescribeApiDestinationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.DescribeApiDestinationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchevents.DescribeApiDestinationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeArchive provides a mock function with given fields: _a0 func (_m *CloudWatchEventsAPI) DescribeArchive(_a0 *cloudwatchevents.DescribeArchiveInput) (*cloudwatchevents.DescribeArchiveOutput, error) { ret := _m.Called(_a0) @@ -825,7 +1293,85 @@ func (_m *CloudWatchEventsAPI) DescribeArchiveRequest(_a0 *cloudwatchevents.Desc ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudwatchevents.DescribeArchiveInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchevents.DescribeArchiveInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatchevents.DescribeArchiveOutput + if rf, ok := ret.Get(1).(func(*cloudwatchevents.DescribeArchiveInput) *cloudwatchevents.DescribeArchiveOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchevents.DescribeArchiveOutput) + } + } + + return r0, r1 +} + +// DescribeArchiveWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchEventsAPI) DescribeArchiveWithContext(_a0 context.Context, _a1 *cloudwatchevents.DescribeArchiveInput, _a2 ...request.Option) (*cloudwatchevents.DescribeArchiveOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatchevents.DescribeArchiveOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchevents.DescribeArchiveInput, ...request.Option) *cloudwatchevents.DescribeArchiveOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.DescribeArchiveOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchevents.DescribeArchiveInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeConnection provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) DescribeConnection(_a0 *cloudwatchevents.DescribeConnectionInput) (*cloudwatchevents.DescribeConnectionOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatchevents.DescribeConnectionOutput + if rf, ok := ret.Get(0).(func(*cloudwatchevents.DescribeConnectionInput) *cloudwatchevents.DescribeConnectionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.DescribeConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatchevents.DescribeConnectionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeConnectionRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) DescribeConnectionRequest(_a0 *cloudwatchevents.DescribeConnectionInput) (*request.Request, *cloudwatchevents.DescribeConnectionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatchevents.DescribeConnectionInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -833,20 +1379,20 @@ func (_m *CloudWatchEventsAPI) DescribeArchiveRequest(_a0 *cloudwatchevents.Desc } } - var r1 *cloudwatchevents.DescribeArchiveOutput - if rf, ok := ret.Get(1).(func(*cloudwatchevents.DescribeArchiveInput) *cloudwatchevents.DescribeArchiveOutput); ok { + var r1 *cloudwatchevents.DescribeConnectionOutput + if rf, ok := ret.Get(1).(func(*cloudwatchevents.DescribeConnectionInput) *cloudwatchevents.DescribeConnectionOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchevents.DescribeArchiveOutput) + r1 = ret.Get(1).(*cloudwatchevents.DescribeConnectionOutput) } } return r0, r1 } -// DescribeArchiveWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *CloudWatchEventsAPI) DescribeArchiveWithContext(_a0 context.Context, _a1 *cloudwatchevents.DescribeArchiveInput, _a2 ...request.Option) (*cloudwatchevents.DescribeArchiveOutput, error) { +// DescribeConnectionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchEventsAPI) DescribeConnectionWithContext(_a0 context.Context, _a1 *cloudwatchevents.DescribeConnectionInput, _a2 ...request.Option) (*cloudwatchevents.DescribeConnectionOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -856,17 +1402,17 @@ func (_m *CloudWatchEventsAPI) DescribeArchiveWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchevents.DescribeArchiveOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchevents.DescribeArchiveInput, ...request.Option) *cloudwatchevents.DescribeArchiveOutput); ok { + var r0 *cloudwatchevents.DescribeConnectionOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchevents.DescribeConnectionInput, ...request.Option) *cloudwatchevents.DescribeConnectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchevents.DescribeArchiveOutput) + r0 = ret.Get(0).(*cloudwatchevents.DescribeConnectionOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchevents.DescribeArchiveInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchevents.DescribeConnectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1421,6 +1967,84 @@ func (_m *CloudWatchEventsAPI) EnableRuleWithContext(_a0 context.Context, _a1 *c return r0, r1 } +// ListApiDestinations provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) ListApiDestinations(_a0 *cloudwatchevents.ListApiDestinationsInput) (*cloudwatchevents.ListApiDestinationsOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatchevents.ListApiDestinationsOutput + if rf, ok := ret.Get(0).(func(*cloudwatchevents.ListApiDestinationsInput) *cloudwatchevents.ListApiDestinationsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.ListApiDestinationsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatchevents.ListApiDestinationsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListApiDestinationsRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) ListApiDestinationsRequest(_a0 *cloudwatchevents.ListApiDestinationsInput) (*request.Request, *cloudwatchevents.ListApiDestinationsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatchevents.ListApiDestinationsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatchevents.ListApiDestinationsOutput + if rf, ok := ret.Get(1).(func(*cloudwatchevents.ListApiDestinationsInput) *cloudwatchevents.ListApiDestinationsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchevents.ListApiDestinationsOutput) + } + } + + return r0, r1 +} + +// ListApiDestinationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchEventsAPI) ListApiDestinationsWithContext(_a0 context.Context, _a1 *cloudwatchevents.ListApiDestinationsInput, _a2 ...request.Option) (*cloudwatchevents.ListApiDestinationsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatchevents.ListApiDestinationsOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchevents.ListApiDestinationsInput, ...request.Option) *cloudwatchevents.ListApiDestinationsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.ListApiDestinationsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchevents.ListApiDestinationsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListArchives provides a mock function with given fields: _a0 func (_m *CloudWatchEventsAPI) ListArchives(_a0 *cloudwatchevents.ListArchivesInput) (*cloudwatchevents.ListArchivesOutput, error) { ret := _m.Called(_a0) @@ -1499,6 +2123,84 @@ func (_m *CloudWatchEventsAPI) ListArchivesWithContext(_a0 context.Context, _a1 return r0, r1 } +// ListConnections provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) ListConnections(_a0 *cloudwatchevents.ListConnectionsInput) (*cloudwatchevents.ListConnectionsOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatchevents.ListConnectionsOutput + if rf, ok := ret.Get(0).(func(*cloudwatchevents.ListConnectionsInput) *cloudwatchevents.ListConnectionsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.ListConnectionsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatchevents.ListConnectionsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListConnectionsRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) ListConnectionsRequest(_a0 *cloudwatchevents.ListConnectionsInput) (*request.Request, *cloudwatchevents.ListConnectionsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatchevents.ListConnectionsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatchevents.ListConnectionsOutput + if rf, ok := ret.Get(1).(func(*cloudwatchevents.ListConnectionsInput) *cloudwatchevents.ListConnectionsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchevents.ListConnectionsOutput) + } + } + + return r0, r1 +} + +// ListConnectionsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchEventsAPI) ListConnectionsWithContext(_a0 context.Context, _a1 *cloudwatchevents.ListConnectionsInput, _a2 ...request.Option) (*cloudwatchevents.ListConnectionsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatchevents.ListConnectionsOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchevents.ListConnectionsInput, ...request.Option) *cloudwatchevents.ListConnectionsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.ListConnectionsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchevents.ListConnectionsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListEventBuses provides a mock function with given fields: _a0 func (_m *CloudWatchEventsAPI) ListEventBuses(_a0 *cloudwatchevents.ListEventBusesInput) (*cloudwatchevents.ListEventBusesOutput, error) { ret := _m.Called(_a0) @@ -3059,6 +3761,84 @@ func (_m *CloudWatchEventsAPI) UntagResourceWithContext(_a0 context.Context, _a1 return r0, r1 } +// UpdateApiDestination provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) UpdateApiDestination(_a0 *cloudwatchevents.UpdateApiDestinationInput) (*cloudwatchevents.UpdateApiDestinationOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatchevents.UpdateApiDestinationOutput + if rf, ok := ret.Get(0).(func(*cloudwatchevents.UpdateApiDestinationInput) *cloudwatchevents.UpdateApiDestinationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.UpdateApiDestinationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatchevents.UpdateApiDestinationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateApiDestinationRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) UpdateApiDestinationRequest(_a0 *cloudwatchevents.UpdateApiDestinationInput) (*request.Request, *cloudwatchevents.UpdateApiDestinationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatchevents.UpdateApiDestinationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatchevents.UpdateApiDestinationOutput + if rf, ok := ret.Get(1).(func(*cloudwatchevents.UpdateApiDestinationInput) *cloudwatchevents.UpdateApiDestinationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchevents.UpdateApiDestinationOutput) + } + } + + return r0, r1 +} + +// UpdateApiDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchEventsAPI) UpdateApiDestinationWithContext(_a0 context.Context, _a1 *cloudwatchevents.UpdateApiDestinationInput, _a2 ...request.Option) (*cloudwatchevents.UpdateApiDestinationOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatchevents.UpdateApiDestinationOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchevents.UpdateApiDestinationInput, ...request.Option) *cloudwatchevents.UpdateApiDestinationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.UpdateApiDestinationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchevents.UpdateApiDestinationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // UpdateArchive provides a mock function with given fields: _a0 func (_m *CloudWatchEventsAPI) UpdateArchive(_a0 *cloudwatchevents.UpdateArchiveInput) (*cloudwatchevents.UpdateArchiveOutput, error) { ret := _m.Called(_a0) @@ -3136,3 +3916,96 @@ func (_m *CloudWatchEventsAPI) UpdateArchiveWithContext(_a0 context.Context, _a1 return r0, r1 } + +// UpdateConnection provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) UpdateConnection(_a0 *cloudwatchevents.UpdateConnectionInput) (*cloudwatchevents.UpdateConnectionOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudwatchevents.UpdateConnectionOutput + if rf, ok := ret.Get(0).(func(*cloudwatchevents.UpdateConnectionInput) *cloudwatchevents.UpdateConnectionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.UpdateConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cloudwatchevents.UpdateConnectionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateConnectionRequest provides a mock function with given fields: _a0 +func (_m *CloudWatchEventsAPI) UpdateConnectionRequest(_a0 *cloudwatchevents.UpdateConnectionInput) (*request.Request, *cloudwatchevents.UpdateConnectionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cloudwatchevents.UpdateConnectionInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cloudwatchevents.UpdateConnectionOutput + if rf, ok := ret.Get(1).(func(*cloudwatchevents.UpdateConnectionInput) *cloudwatchevents.UpdateConnectionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchevents.UpdateConnectionOutput) + } + } + + return r0, r1 +} + +// UpdateConnectionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CloudWatchEventsAPI) UpdateConnectionWithContext(_a0 context.Context, _a1 *cloudwatchevents.UpdateConnectionInput, _a2 ...request.Option) (*cloudwatchevents.UpdateConnectionOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cloudwatchevents.UpdateConnectionOutput + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchevents.UpdateConnectionInput, ...request.Option) *cloudwatchevents.UpdateConnectionOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchevents.UpdateConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchevents.UpdateConnectionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +type mockConstructorTestingTNewCloudWatchEventsAPI interface { + mock.TestingT + Cleanup(func()) +} + +// NewCloudWatchEventsAPI creates a new instance of CloudWatchEventsAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewCloudWatchEventsAPI(t mockConstructorTestingTNewCloudWatchEventsAPI) *CloudWatchEventsAPI { + mock := &CloudWatchEventsAPI{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/awsiface/mocks/CodeBuildAPI.go b/pkg/awsiface/mocks/CodeBuildAPI.go index 7d26a1775..b8707ee68 100644 --- a/pkg/awsiface/mocks/CodeBuildAPI.go +++ b/pkg/awsiface/mocks/CodeBuildAPI.go @@ -1,4 +1,4 @@ -// Code generated by mockery 2.7.4. DO NOT EDIT. +// Code generated by mockery v2.16.0. DO NOT EDIT. package mocks @@ -3683,6 +3683,84 @@ func (_m *CodeBuildAPI) UpdateProjectRequest(_a0 *codebuild.UpdateProjectInput) return r0, r1 } +// UpdateProjectVisibility provides a mock function with given fields: _a0 +func (_m *CodeBuildAPI) UpdateProjectVisibility(_a0 *codebuild.UpdateProjectVisibilityInput) (*codebuild.UpdateProjectVisibilityOutput, error) { + ret := _m.Called(_a0) + + var r0 *codebuild.UpdateProjectVisibilityOutput + if rf, ok := ret.Get(0).(func(*codebuild.UpdateProjectVisibilityInput) *codebuild.UpdateProjectVisibilityOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*codebuild.UpdateProjectVisibilityOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*codebuild.UpdateProjectVisibilityInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateProjectVisibilityRequest provides a mock function with given fields: _a0 +func (_m *CodeBuildAPI) UpdateProjectVisibilityRequest(_a0 *codebuild.UpdateProjectVisibilityInput) (*request.Request, *codebuild.UpdateProjectVisibilityOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*codebuild.UpdateProjectVisibilityInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *codebuild.UpdateProjectVisibilityOutput + if rf, ok := ret.Get(1).(func(*codebuild.UpdateProjectVisibilityInput) *codebuild.UpdateProjectVisibilityOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*codebuild.UpdateProjectVisibilityOutput) + } + } + + return r0, r1 +} + +// UpdateProjectVisibilityWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CodeBuildAPI) UpdateProjectVisibilityWithContext(_a0 context.Context, _a1 *codebuild.UpdateProjectVisibilityInput, _a2 ...request.Option) (*codebuild.UpdateProjectVisibilityOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *codebuild.UpdateProjectVisibilityOutput + if rf, ok := ret.Get(0).(func(context.Context, *codebuild.UpdateProjectVisibilityInput, ...request.Option) *codebuild.UpdateProjectVisibilityOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*codebuild.UpdateProjectVisibilityOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *codebuild.UpdateProjectVisibilityInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // UpdateProjectWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *CodeBuildAPI) UpdateProjectWithContext(_a0 context.Context, _a1 *codebuild.UpdateProjectInput, _a2 ...request.Option) (*codebuild.UpdateProjectOutput, error) { _va := make([]interface{}, len(_a2)) @@ -3868,3 +3946,18 @@ func (_m *CodeBuildAPI) UpdateWebhookWithContext(_a0 context.Context, _a1 *codeb return r0, r1 } + +type mockConstructorTestingTNewCodeBuildAPI interface { + mock.TestingT + Cleanup(func()) +} + +// NewCodeBuildAPI creates a new instance of CodeBuildAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewCodeBuildAPI(t mockConstructorTestingTNewCodeBuildAPI) *CodeBuildAPI { + mock := &CodeBuildAPI{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/awsiface/mocks/CognitoIdentityProviderAPI.go b/pkg/awsiface/mocks/CognitoIdentityProviderAPI.go index ebd973b5e..7a21c2d8b 100644 --- a/pkg/awsiface/mocks/CognitoIdentityProviderAPI.go +++ b/pkg/awsiface/mocks/CognitoIdentityProviderAPI.go @@ -1,4 +1,4 @@ -// Code generated by mockery 2.7.4. DO NOT EDIT. +// Code generated by mockery v2.16.0. DO NOT EDIT. package mocks @@ -6494,6 +6494,84 @@ func (_m *CognitoIdentityProviderAPI) RespondToAuthChallengeWithContext(_a0 cont return r0, r1 } +// RevokeToken provides a mock function with given fields: _a0 +func (_m *CognitoIdentityProviderAPI) RevokeToken(_a0 *cognitoidentityprovider.RevokeTokenInput) (*cognitoidentityprovider.RevokeTokenOutput, error) { + ret := _m.Called(_a0) + + var r0 *cognitoidentityprovider.RevokeTokenOutput + if rf, ok := ret.Get(0).(func(*cognitoidentityprovider.RevokeTokenInput) *cognitoidentityprovider.RevokeTokenOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cognitoidentityprovider.RevokeTokenOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*cognitoidentityprovider.RevokeTokenInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RevokeTokenRequest provides a mock function with given fields: _a0 +func (_m *CognitoIdentityProviderAPI) RevokeTokenRequest(_a0 *cognitoidentityprovider.RevokeTokenInput) (*request.Request, *cognitoidentityprovider.RevokeTokenOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*cognitoidentityprovider.RevokeTokenInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *cognitoidentityprovider.RevokeTokenOutput + if rf, ok := ret.Get(1).(func(*cognitoidentityprovider.RevokeTokenInput) *cognitoidentityprovider.RevokeTokenOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cognitoidentityprovider.RevokeTokenOutput) + } + } + + return r0, r1 +} + +// RevokeTokenWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CognitoIdentityProviderAPI) RevokeTokenWithContext(_a0 context.Context, _a1 *cognitoidentityprovider.RevokeTokenInput, _a2 ...request.Option) (*cognitoidentityprovider.RevokeTokenOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *cognitoidentityprovider.RevokeTokenOutput + if rf, ok := ret.Get(0).(func(context.Context, *cognitoidentityprovider.RevokeTokenInput, ...request.Option) *cognitoidentityprovider.RevokeTokenOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cognitoidentityprovider.RevokeTokenOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *cognitoidentityprovider.RevokeTokenInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // SetRiskConfiguration provides a mock function with given fields: _a0 func (_m *CognitoIdentityProviderAPI) SetRiskConfiguration(_a0 *cognitoidentityprovider.SetRiskConfigurationInput) (*cognitoidentityprovider.SetRiskConfigurationOutput, error) { ret := _m.Called(_a0) @@ -8131,3 +8209,18 @@ func (_m *CognitoIdentityProviderAPI) VerifyUserAttributeWithContext(_a0 context return r0, r1 } + +type mockConstructorTestingTNewCognitoIdentityProviderAPI interface { + mock.TestingT + Cleanup(func()) +} + +// NewCognitoIdentityProviderAPI creates a new instance of CognitoIdentityProviderAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewCognitoIdentityProviderAPI(t mockConstructorTestingTNewCognitoIdentityProviderAPI) *CognitoIdentityProviderAPI { + mock := &CognitoIdentityProviderAPI{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/awsiface/mocks/CostExplorerAPI.go b/pkg/awsiface/mocks/CostExplorerAPI.go index e2c797a85..19b4cff7d 100755 --- a/pkg/awsiface/mocks/CostExplorerAPI.go +++ b/pkg/awsiface/mocks/CostExplorerAPI.go @@ -1,4 +1,4 @@ -// Code generated by mockery 2.7.4. DO NOT EDIT. +// Code generated by mockery v2.16.0. DO NOT EDIT. package mocks @@ -2036,6 +2036,119 @@ func (_m *CostExplorerAPI) GetUsageForecastWithContext(_a0 context.Context, _a1 return r0, r1 } +// ListCostAllocationTags provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) ListCostAllocationTags(_a0 *costexplorer.ListCostAllocationTagsInput) (*costexplorer.ListCostAllocationTagsOutput, error) { + ret := _m.Called(_a0) + + var r0 *costexplorer.ListCostAllocationTagsOutput + if rf, ok := ret.Get(0).(func(*costexplorer.ListCostAllocationTagsInput) *costexplorer.ListCostAllocationTagsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.ListCostAllocationTagsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*costexplorer.ListCostAllocationTagsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListCostAllocationTagsPages provides a mock function with given fields: _a0, _a1 +func (_m *CostExplorerAPI) ListCostAllocationTagsPages(_a0 *costexplorer.ListCostAllocationTagsInput, _a1 func(*costexplorer.ListCostAllocationTagsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*costexplorer.ListCostAllocationTagsInput, func(*costexplorer.ListCostAllocationTagsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListCostAllocationTagsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *CostExplorerAPI) ListCostAllocationTagsPagesWithContext(_a0 context.Context, _a1 *costexplorer.ListCostAllocationTagsInput, _a2 func(*costexplorer.ListCostAllocationTagsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *costexplorer.ListCostAllocationTagsInput, func(*costexplorer.ListCostAllocationTagsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListCostAllocationTagsRequest provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) ListCostAllocationTagsRequest(_a0 *costexplorer.ListCostAllocationTagsInput) (*request.Request, *costexplorer.ListCostAllocationTagsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*costexplorer.ListCostAllocationTagsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *costexplorer.ListCostAllocationTagsOutput + if rf, ok := ret.Get(1).(func(*costexplorer.ListCostAllocationTagsInput) *costexplorer.ListCostAllocationTagsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*costexplorer.ListCostAllocationTagsOutput) + } + } + + return r0, r1 +} + +// ListCostAllocationTagsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CostExplorerAPI) ListCostAllocationTagsWithContext(_a0 context.Context, _a1 *costexplorer.ListCostAllocationTagsInput, _a2 ...request.Option) (*costexplorer.ListCostAllocationTagsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *costexplorer.ListCostAllocationTagsOutput + if rf, ok := ret.Get(0).(func(context.Context, *costexplorer.ListCostAllocationTagsInput, ...request.Option) *costexplorer.ListCostAllocationTagsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.ListCostAllocationTagsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *costexplorer.ListCostAllocationTagsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListCostCategoryDefinitions provides a mock function with given fields: _a0 func (_m *CostExplorerAPI) ListCostCategoryDefinitions(_a0 *costexplorer.ListCostCategoryDefinitionsInput) (*costexplorer.ListCostCategoryDefinitionsOutput, error) { ret := _m.Called(_a0) @@ -2149,6 +2262,162 @@ func (_m *CostExplorerAPI) ListCostCategoryDefinitionsWithContext(_a0 context.Co return r0, r1 } +// ListSavingsPlansPurchaseRecommendationGeneration provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) ListSavingsPlansPurchaseRecommendationGeneration(_a0 *costexplorer.ListSavingsPlansPurchaseRecommendationGenerationInput) (*costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput, error) { + ret := _m.Called(_a0) + + var r0 *costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput + if rf, ok := ret.Get(0).(func(*costexplorer.ListSavingsPlansPurchaseRecommendationGenerationInput) *costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*costexplorer.ListSavingsPlansPurchaseRecommendationGenerationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListSavingsPlansPurchaseRecommendationGenerationRequest provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) ListSavingsPlansPurchaseRecommendationGenerationRequest(_a0 *costexplorer.ListSavingsPlansPurchaseRecommendationGenerationInput) (*request.Request, *costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*costexplorer.ListSavingsPlansPurchaseRecommendationGenerationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput + if rf, ok := ret.Get(1).(func(*costexplorer.ListSavingsPlansPurchaseRecommendationGenerationInput) *costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput) + } + } + + return r0, r1 +} + +// ListSavingsPlansPurchaseRecommendationGenerationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CostExplorerAPI) ListSavingsPlansPurchaseRecommendationGenerationWithContext(_a0 context.Context, _a1 *costexplorer.ListSavingsPlansPurchaseRecommendationGenerationInput, _a2 ...request.Option) (*costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput + if rf, ok := ret.Get(0).(func(context.Context, *costexplorer.ListSavingsPlansPurchaseRecommendationGenerationInput, ...request.Option) *costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *costexplorer.ListSavingsPlansPurchaseRecommendationGenerationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListTagsForResource provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) ListTagsForResource(_a0 *costexplorer.ListTagsForResourceInput) (*costexplorer.ListTagsForResourceOutput, error) { + ret := _m.Called(_a0) + + var r0 *costexplorer.ListTagsForResourceOutput + if rf, ok := ret.Get(0).(func(*costexplorer.ListTagsForResourceInput) *costexplorer.ListTagsForResourceOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.ListTagsForResourceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*costexplorer.ListTagsForResourceInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListTagsForResourceRequest provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) ListTagsForResourceRequest(_a0 *costexplorer.ListTagsForResourceInput) (*request.Request, *costexplorer.ListTagsForResourceOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*costexplorer.ListTagsForResourceInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *costexplorer.ListTagsForResourceOutput + if rf, ok := ret.Get(1).(func(*costexplorer.ListTagsForResourceInput) *costexplorer.ListTagsForResourceOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*costexplorer.ListTagsForResourceOutput) + } + } + + return r0, r1 +} + +// ListTagsForResourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CostExplorerAPI) ListTagsForResourceWithContext(_a0 context.Context, _a1 *costexplorer.ListTagsForResourceInput, _a2 ...request.Option) (*costexplorer.ListTagsForResourceOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *costexplorer.ListTagsForResourceOutput + if rf, ok := ret.Get(0).(func(context.Context, *costexplorer.ListTagsForResourceInput, ...request.Option) *costexplorer.ListTagsForResourceOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.ListTagsForResourceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *costexplorer.ListTagsForResourceInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ProvideAnomalyFeedback provides a mock function with given fields: _a0 func (_m *CostExplorerAPI) ProvideAnomalyFeedback(_a0 *costexplorer.ProvideAnomalyFeedbackInput) (*costexplorer.ProvideAnomalyFeedbackOutput, error) { ret := _m.Called(_a0) @@ -2227,6 +2496,240 @@ func (_m *CostExplorerAPI) ProvideAnomalyFeedbackWithContext(_a0 context.Context return r0, r1 } +// StartSavingsPlansPurchaseRecommendationGeneration provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) StartSavingsPlansPurchaseRecommendationGeneration(_a0 *costexplorer.StartSavingsPlansPurchaseRecommendationGenerationInput) (*costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput, error) { + ret := _m.Called(_a0) + + var r0 *costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput + if rf, ok := ret.Get(0).(func(*costexplorer.StartSavingsPlansPurchaseRecommendationGenerationInput) *costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*costexplorer.StartSavingsPlansPurchaseRecommendationGenerationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StartSavingsPlansPurchaseRecommendationGenerationRequest provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) StartSavingsPlansPurchaseRecommendationGenerationRequest(_a0 *costexplorer.StartSavingsPlansPurchaseRecommendationGenerationInput) (*request.Request, *costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*costexplorer.StartSavingsPlansPurchaseRecommendationGenerationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput + if rf, ok := ret.Get(1).(func(*costexplorer.StartSavingsPlansPurchaseRecommendationGenerationInput) *costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput) + } + } + + return r0, r1 +} + +// StartSavingsPlansPurchaseRecommendationGenerationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CostExplorerAPI) StartSavingsPlansPurchaseRecommendationGenerationWithContext(_a0 context.Context, _a1 *costexplorer.StartSavingsPlansPurchaseRecommendationGenerationInput, _a2 ...request.Option) (*costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput + if rf, ok := ret.Get(0).(func(context.Context, *costexplorer.StartSavingsPlansPurchaseRecommendationGenerationInput, ...request.Option) *costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *costexplorer.StartSavingsPlansPurchaseRecommendationGenerationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagResource provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) TagResource(_a0 *costexplorer.TagResourceInput) (*costexplorer.TagResourceOutput, error) { + ret := _m.Called(_a0) + + var r0 *costexplorer.TagResourceOutput + if rf, ok := ret.Get(0).(func(*costexplorer.TagResourceInput) *costexplorer.TagResourceOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.TagResourceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*costexplorer.TagResourceInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagResourceRequest provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) TagResourceRequest(_a0 *costexplorer.TagResourceInput) (*request.Request, *costexplorer.TagResourceOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*costexplorer.TagResourceInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *costexplorer.TagResourceOutput + if rf, ok := ret.Get(1).(func(*costexplorer.TagResourceInput) *costexplorer.TagResourceOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*costexplorer.TagResourceOutput) + } + } + + return r0, r1 +} + +// TagResourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CostExplorerAPI) TagResourceWithContext(_a0 context.Context, _a1 *costexplorer.TagResourceInput, _a2 ...request.Option) (*costexplorer.TagResourceOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *costexplorer.TagResourceOutput + if rf, ok := ret.Get(0).(func(context.Context, *costexplorer.TagResourceInput, ...request.Option) *costexplorer.TagResourceOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.TagResourceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *costexplorer.TagResourceInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UntagResource provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) UntagResource(_a0 *costexplorer.UntagResourceInput) (*costexplorer.UntagResourceOutput, error) { + ret := _m.Called(_a0) + + var r0 *costexplorer.UntagResourceOutput + if rf, ok := ret.Get(0).(func(*costexplorer.UntagResourceInput) *costexplorer.UntagResourceOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.UntagResourceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*costexplorer.UntagResourceInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UntagResourceRequest provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) UntagResourceRequest(_a0 *costexplorer.UntagResourceInput) (*request.Request, *costexplorer.UntagResourceOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*costexplorer.UntagResourceInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *costexplorer.UntagResourceOutput + if rf, ok := ret.Get(1).(func(*costexplorer.UntagResourceInput) *costexplorer.UntagResourceOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*costexplorer.UntagResourceOutput) + } + } + + return r0, r1 +} + +// UntagResourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CostExplorerAPI) UntagResourceWithContext(_a0 context.Context, _a1 *costexplorer.UntagResourceInput, _a2 ...request.Option) (*costexplorer.UntagResourceOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *costexplorer.UntagResourceOutput + if rf, ok := ret.Get(0).(func(context.Context, *costexplorer.UntagResourceInput, ...request.Option) *costexplorer.UntagResourceOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.UntagResourceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *costexplorer.UntagResourceInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // UpdateAnomalyMonitor provides a mock function with given fields: _a0 func (_m *CostExplorerAPI) UpdateAnomalyMonitor(_a0 *costexplorer.UpdateAnomalyMonitorInput) (*costexplorer.UpdateAnomalyMonitorOutput, error) { ret := _m.Called(_a0) @@ -2383,6 +2886,84 @@ func (_m *CostExplorerAPI) UpdateAnomalySubscriptionWithContext(_a0 context.Cont return r0, r1 } +// UpdateCostAllocationTagsStatus provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) UpdateCostAllocationTagsStatus(_a0 *costexplorer.UpdateCostAllocationTagsStatusInput) (*costexplorer.UpdateCostAllocationTagsStatusOutput, error) { + ret := _m.Called(_a0) + + var r0 *costexplorer.UpdateCostAllocationTagsStatusOutput + if rf, ok := ret.Get(0).(func(*costexplorer.UpdateCostAllocationTagsStatusInput) *costexplorer.UpdateCostAllocationTagsStatusOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.UpdateCostAllocationTagsStatusOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*costexplorer.UpdateCostAllocationTagsStatusInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateCostAllocationTagsStatusRequest provides a mock function with given fields: _a0 +func (_m *CostExplorerAPI) UpdateCostAllocationTagsStatusRequest(_a0 *costexplorer.UpdateCostAllocationTagsStatusInput) (*request.Request, *costexplorer.UpdateCostAllocationTagsStatusOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*costexplorer.UpdateCostAllocationTagsStatusInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *costexplorer.UpdateCostAllocationTagsStatusOutput + if rf, ok := ret.Get(1).(func(*costexplorer.UpdateCostAllocationTagsStatusInput) *costexplorer.UpdateCostAllocationTagsStatusOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*costexplorer.UpdateCostAllocationTagsStatusOutput) + } + } + + return r0, r1 +} + +// UpdateCostAllocationTagsStatusWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *CostExplorerAPI) UpdateCostAllocationTagsStatusWithContext(_a0 context.Context, _a1 *costexplorer.UpdateCostAllocationTagsStatusInput, _a2 ...request.Option) (*costexplorer.UpdateCostAllocationTagsStatusOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *costexplorer.UpdateCostAllocationTagsStatusOutput + if rf, ok := ret.Get(0).(func(context.Context, *costexplorer.UpdateCostAllocationTagsStatusInput, ...request.Option) *costexplorer.UpdateCostAllocationTagsStatusOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*costexplorer.UpdateCostAllocationTagsStatusOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *costexplorer.UpdateCostAllocationTagsStatusInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // UpdateCostCategoryDefinition provides a mock function with given fields: _a0 func (_m *CostExplorerAPI) UpdateCostCategoryDefinition(_a0 *costexplorer.UpdateCostCategoryDefinitionInput) (*costexplorer.UpdateCostCategoryDefinitionOutput, error) { ret := _m.Called(_a0) @@ -2460,3 +3041,18 @@ func (_m *CostExplorerAPI) UpdateCostCategoryDefinitionWithContext(_a0 context.C return r0, r1 } + +type mockConstructorTestingTNewCostExplorerAPI interface { + mock.TestingT + Cleanup(func()) +} + +// NewCostExplorerAPI creates a new instance of CostExplorerAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewCostExplorerAPI(t mockConstructorTestingTNewCostExplorerAPI) *CostExplorerAPI { + mock := &CostExplorerAPI{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/awsiface/mocks/DynamoDBAPI.go b/pkg/awsiface/mocks/DynamoDBAPI.go index fa738df7c..f6ae27af8 100644 --- a/pkg/awsiface/mocks/DynamoDBAPI.go +++ b/pkg/awsiface/mocks/DynamoDBAPI.go @@ -1,4 +1,4 @@ -// Code generated by mockery 2.7.4. DO NOT EDIT. +// Code generated by mockery v2.16.0. DO NOT EDIT. package mocks @@ -1299,6 +1299,84 @@ func (_m *DynamoDBAPI) DescribeGlobalTableWithContext(_a0 context.Context, _a1 * return r0, r1 } +// DescribeImport provides a mock function with given fields: _a0 +func (_m *DynamoDBAPI) DescribeImport(_a0 *dynamodb.DescribeImportInput) (*dynamodb.DescribeImportOutput, error) { + ret := _m.Called(_a0) + + var r0 *dynamodb.DescribeImportOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeImportInput) *dynamodb.DescribeImportOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*dynamodb.DescribeImportOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*dynamodb.DescribeImportInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeImportRequest provides a mock function with given fields: _a0 +func (_m *DynamoDBAPI) DescribeImportRequest(_a0 *dynamodb.DescribeImportInput) (*request.Request, *dynamodb.DescribeImportOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeImportInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *dynamodb.DescribeImportOutput + if rf, ok := ret.Get(1).(func(*dynamodb.DescribeImportInput) *dynamodb.DescribeImportOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*dynamodb.DescribeImportOutput) + } + } + + return r0, r1 +} + +// DescribeImportWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *DynamoDBAPI) DescribeImportWithContext(_a0 context.Context, _a1 *dynamodb.DescribeImportInput, _a2 ...request.Option) (*dynamodb.DescribeImportOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *dynamodb.DescribeImportOutput + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeImportInput, ...request.Option) *dynamodb.DescribeImportOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*dynamodb.DescribeImportOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeImportInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeKinesisStreamingDestination provides a mock function with given fields: _a0 func (_m *DynamoDBAPI) DescribeKinesisStreamingDestination(_a0 *dynamodb.DescribeKinesisStreamingDestinationInput) (*dynamodb.DescribeKinesisStreamingDestinationOutput, error) { ret := _m.Called(_a0) @@ -2157,6 +2235,84 @@ func (_m *DynamoDBAPI) GetItemWithContext(_a0 context.Context, _a1 *dynamodb.Get return r0, r1 } +// ImportTable provides a mock function with given fields: _a0 +func (_m *DynamoDBAPI) ImportTable(_a0 *dynamodb.ImportTableInput) (*dynamodb.ImportTableOutput, error) { + ret := _m.Called(_a0) + + var r0 *dynamodb.ImportTableOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ImportTableInput) *dynamodb.ImportTableOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*dynamodb.ImportTableOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*dynamodb.ImportTableInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportTableRequest provides a mock function with given fields: _a0 +func (_m *DynamoDBAPI) ImportTableRequest(_a0 *dynamodb.ImportTableInput) (*request.Request, *dynamodb.ImportTableOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*dynamodb.ImportTableInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *dynamodb.ImportTableOutput + if rf, ok := ret.Get(1).(func(*dynamodb.ImportTableInput) *dynamodb.ImportTableOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*dynamodb.ImportTableOutput) + } + } + + return r0, r1 +} + +// ImportTableWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *DynamoDBAPI) ImportTableWithContext(_a0 context.Context, _a1 *dynamodb.ImportTableInput, _a2 ...request.Option) (*dynamodb.ImportTableOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *dynamodb.ImportTableOutput + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ImportTableInput, ...request.Option) *dynamodb.ImportTableOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*dynamodb.ImportTableOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ImportTableInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListBackups provides a mock function with given fields: _a0 func (_m *DynamoDBAPI) ListBackups(_a0 *dynamodb.ListBackupsInput) (*dynamodb.ListBackupsOutput, error) { ret := _m.Called(_a0) @@ -2539,6 +2695,119 @@ func (_m *DynamoDBAPI) ListGlobalTablesWithContext(_a0 context.Context, _a1 *dyn return r0, r1 } +// ListImports provides a mock function with given fields: _a0 +func (_m *DynamoDBAPI) ListImports(_a0 *dynamodb.ListImportsInput) (*dynamodb.ListImportsOutput, error) { + ret := _m.Called(_a0) + + var r0 *dynamodb.ListImportsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ListImportsInput) *dynamodb.ListImportsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*dynamodb.ListImportsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*dynamodb.ListImportsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListImportsPages provides a mock function with given fields: _a0, _a1 +func (_m *DynamoDBAPI) ListImportsPages(_a0 *dynamodb.ListImportsInput, _a1 func(*dynamodb.ListImportsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*dynamodb.ListImportsInput, func(*dynamodb.ListImportsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListImportsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *DynamoDBAPI) ListImportsPagesWithContext(_a0 context.Context, _a1 *dynamodb.ListImportsInput, _a2 func(*dynamodb.ListImportsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListImportsInput, func(*dynamodb.ListImportsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListImportsRequest provides a mock function with given fields: _a0 +func (_m *DynamoDBAPI) ListImportsRequest(_a0 *dynamodb.ListImportsInput) (*request.Request, *dynamodb.ListImportsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*dynamodb.ListImportsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *dynamodb.ListImportsOutput + if rf, ok := ret.Get(1).(func(*dynamodb.ListImportsInput) *dynamodb.ListImportsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*dynamodb.ListImportsOutput) + } + } + + return r0, r1 +} + +// ListImportsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *DynamoDBAPI) ListImportsWithContext(_a0 context.Context, _a1 *dynamodb.ListImportsInput, _a2 ...request.Option) (*dynamodb.ListImportsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *dynamodb.ListImportsOutput + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListImportsInput, ...request.Option) *dynamodb.ListImportsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*dynamodb.ListImportsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ListImportsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListTables provides a mock function with given fields: _a0 func (_m *DynamoDBAPI) ListTables(_a0 *dynamodb.ListTablesInput) (*dynamodb.ListTablesOutput, error) { ret := _m.Called(_a0) @@ -4195,3 +4464,18 @@ func (_m *DynamoDBAPI) WaitUntilTableNotExistsWithContext(_a0 context.Context, _ return r0 } + +type mockConstructorTestingTNewDynamoDBAPI interface { + mock.TestingT + Cleanup(func()) +} + +// NewDynamoDBAPI creates a new instance of DynamoDBAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewDynamoDBAPI(t mockConstructorTestingTNewDynamoDBAPI) *DynamoDBAPI { + mock := &DynamoDBAPI{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/awsiface/mocks/EventBridgeAPI.go b/pkg/awsiface/mocks/EventBridgeAPI.go index 97e5ce176..048b36213 100644 --- a/pkg/awsiface/mocks/EventBridgeAPI.go +++ b/pkg/awsiface/mocks/EventBridgeAPI.go @@ -1,4 +1,4 @@ -// Code generated by mockery 2.7.4. DO NOT EDIT. +// Code generated by mockery v2.16.0. DO NOT EDIT. package mocks @@ -172,21 +172,21 @@ func (_m *EventBridgeAPI) CancelReplayWithContext(_a0 context.Context, _a1 *even return r0, r1 } -// CreateArchive provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) CreateArchive(_a0 *eventbridge.CreateArchiveInput) (*eventbridge.CreateArchiveOutput, error) { +// CreateApiDestination provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) CreateApiDestination(_a0 *eventbridge.CreateApiDestinationInput) (*eventbridge.CreateApiDestinationOutput, error) { ret := _m.Called(_a0) - var r0 *eventbridge.CreateArchiveOutput - if rf, ok := ret.Get(0).(func(*eventbridge.CreateArchiveInput) *eventbridge.CreateArchiveOutput); ok { + var r0 *eventbridge.CreateApiDestinationOutput + if rf, ok := ret.Get(0).(func(*eventbridge.CreateApiDestinationInput) *eventbridge.CreateApiDestinationOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.CreateArchiveOutput) + r0 = ret.Get(0).(*eventbridge.CreateApiDestinationOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*eventbridge.CreateArchiveInput) error); ok { + if rf, ok := ret.Get(1).(func(*eventbridge.CreateApiDestinationInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -195,12 +195,12 @@ func (_m *EventBridgeAPI) CreateArchive(_a0 *eventbridge.CreateArchiveInput) (*e return r0, r1 } -// CreateArchiveRequest provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) CreateArchiveRequest(_a0 *eventbridge.CreateArchiveInput) (*request.Request, *eventbridge.CreateArchiveOutput) { +// CreateApiDestinationRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) CreateApiDestinationRequest(_a0 *eventbridge.CreateApiDestinationInput) (*request.Request, *eventbridge.CreateApiDestinationOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*eventbridge.CreateArchiveInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*eventbridge.CreateApiDestinationInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -208,20 +208,20 @@ func (_m *EventBridgeAPI) CreateArchiveRequest(_a0 *eventbridge.CreateArchiveInp } } - var r1 *eventbridge.CreateArchiveOutput - if rf, ok := ret.Get(1).(func(*eventbridge.CreateArchiveInput) *eventbridge.CreateArchiveOutput); ok { + var r1 *eventbridge.CreateApiDestinationOutput + if rf, ok := ret.Get(1).(func(*eventbridge.CreateApiDestinationInput) *eventbridge.CreateApiDestinationOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*eventbridge.CreateArchiveOutput) + r1 = ret.Get(1).(*eventbridge.CreateApiDestinationOutput) } } return r0, r1 } -// CreateArchiveWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *EventBridgeAPI) CreateArchiveWithContext(_a0 context.Context, _a1 *eventbridge.CreateArchiveInput, _a2 ...request.Option) (*eventbridge.CreateArchiveOutput, error) { +// CreateApiDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) CreateApiDestinationWithContext(_a0 context.Context, _a1 *eventbridge.CreateApiDestinationInput, _a2 ...request.Option) (*eventbridge.CreateApiDestinationOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -231,17 +231,17 @@ func (_m *EventBridgeAPI) CreateArchiveWithContext(_a0 context.Context, _a1 *eve _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *eventbridge.CreateArchiveOutput - if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.CreateArchiveInput, ...request.Option) *eventbridge.CreateArchiveOutput); ok { + var r0 *eventbridge.CreateApiDestinationOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.CreateApiDestinationInput, ...request.Option) *eventbridge.CreateApiDestinationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.CreateArchiveOutput) + r0 = ret.Get(0).(*eventbridge.CreateApiDestinationOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.CreateArchiveInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.CreateApiDestinationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -250,21 +250,21 @@ func (_m *EventBridgeAPI) CreateArchiveWithContext(_a0 context.Context, _a1 *eve return r0, r1 } -// CreateEventBus provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) CreateEventBus(_a0 *eventbridge.CreateEventBusInput) (*eventbridge.CreateEventBusOutput, error) { +// CreateArchive provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) CreateArchive(_a0 *eventbridge.CreateArchiveInput) (*eventbridge.CreateArchiveOutput, error) { ret := _m.Called(_a0) - var r0 *eventbridge.CreateEventBusOutput - if rf, ok := ret.Get(0).(func(*eventbridge.CreateEventBusInput) *eventbridge.CreateEventBusOutput); ok { + var r0 *eventbridge.CreateArchiveOutput + if rf, ok := ret.Get(0).(func(*eventbridge.CreateArchiveInput) *eventbridge.CreateArchiveOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.CreateEventBusOutput) + r0 = ret.Get(0).(*eventbridge.CreateArchiveOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*eventbridge.CreateEventBusInput) error); ok { + if rf, ok := ret.Get(1).(func(*eventbridge.CreateArchiveInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -273,12 +273,12 @@ func (_m *EventBridgeAPI) CreateEventBus(_a0 *eventbridge.CreateEventBusInput) ( return r0, r1 } -// CreateEventBusRequest provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) CreateEventBusRequest(_a0 *eventbridge.CreateEventBusInput) (*request.Request, *eventbridge.CreateEventBusOutput) { +// CreateArchiveRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) CreateArchiveRequest(_a0 *eventbridge.CreateArchiveInput) (*request.Request, *eventbridge.CreateArchiveOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*eventbridge.CreateEventBusInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*eventbridge.CreateArchiveInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -286,20 +286,20 @@ func (_m *EventBridgeAPI) CreateEventBusRequest(_a0 *eventbridge.CreateEventBusI } } - var r1 *eventbridge.CreateEventBusOutput - if rf, ok := ret.Get(1).(func(*eventbridge.CreateEventBusInput) *eventbridge.CreateEventBusOutput); ok { + var r1 *eventbridge.CreateArchiveOutput + if rf, ok := ret.Get(1).(func(*eventbridge.CreateArchiveInput) *eventbridge.CreateArchiveOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*eventbridge.CreateEventBusOutput) + r1 = ret.Get(1).(*eventbridge.CreateArchiveOutput) } } return r0, r1 } -// CreateEventBusWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *EventBridgeAPI) CreateEventBusWithContext(_a0 context.Context, _a1 *eventbridge.CreateEventBusInput, _a2 ...request.Option) (*eventbridge.CreateEventBusOutput, error) { +// CreateArchiveWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) CreateArchiveWithContext(_a0 context.Context, _a1 *eventbridge.CreateArchiveInput, _a2 ...request.Option) (*eventbridge.CreateArchiveOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -309,17 +309,17 @@ func (_m *EventBridgeAPI) CreateEventBusWithContext(_a0 context.Context, _a1 *ev _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *eventbridge.CreateEventBusOutput - if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.CreateEventBusInput, ...request.Option) *eventbridge.CreateEventBusOutput); ok { + var r0 *eventbridge.CreateArchiveOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.CreateArchiveInput, ...request.Option) *eventbridge.CreateArchiveOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.CreateEventBusOutput) + r0 = ret.Get(0).(*eventbridge.CreateArchiveOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.CreateEventBusInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.CreateArchiveInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -328,21 +328,21 @@ func (_m *EventBridgeAPI) CreateEventBusWithContext(_a0 context.Context, _a1 *ev return r0, r1 } -// CreatePartnerEventSource provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) CreatePartnerEventSource(_a0 *eventbridge.CreatePartnerEventSourceInput) (*eventbridge.CreatePartnerEventSourceOutput, error) { +// CreateConnection provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) CreateConnection(_a0 *eventbridge.CreateConnectionInput) (*eventbridge.CreateConnectionOutput, error) { ret := _m.Called(_a0) - var r0 *eventbridge.CreatePartnerEventSourceOutput - if rf, ok := ret.Get(0).(func(*eventbridge.CreatePartnerEventSourceInput) *eventbridge.CreatePartnerEventSourceOutput); ok { + var r0 *eventbridge.CreateConnectionOutput + if rf, ok := ret.Get(0).(func(*eventbridge.CreateConnectionInput) *eventbridge.CreateConnectionOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.CreatePartnerEventSourceOutput) + r0 = ret.Get(0).(*eventbridge.CreateConnectionOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*eventbridge.CreatePartnerEventSourceInput) error); ok { + if rf, ok := ret.Get(1).(func(*eventbridge.CreateConnectionInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -351,12 +351,12 @@ func (_m *EventBridgeAPI) CreatePartnerEventSource(_a0 *eventbridge.CreatePartne return r0, r1 } -// CreatePartnerEventSourceRequest provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) CreatePartnerEventSourceRequest(_a0 *eventbridge.CreatePartnerEventSourceInput) (*request.Request, *eventbridge.CreatePartnerEventSourceOutput) { +// CreateConnectionRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) CreateConnectionRequest(_a0 *eventbridge.CreateConnectionInput) (*request.Request, *eventbridge.CreateConnectionOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*eventbridge.CreatePartnerEventSourceInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*eventbridge.CreateConnectionInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -364,20 +364,20 @@ func (_m *EventBridgeAPI) CreatePartnerEventSourceRequest(_a0 *eventbridge.Creat } } - var r1 *eventbridge.CreatePartnerEventSourceOutput - if rf, ok := ret.Get(1).(func(*eventbridge.CreatePartnerEventSourceInput) *eventbridge.CreatePartnerEventSourceOutput); ok { + var r1 *eventbridge.CreateConnectionOutput + if rf, ok := ret.Get(1).(func(*eventbridge.CreateConnectionInput) *eventbridge.CreateConnectionOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*eventbridge.CreatePartnerEventSourceOutput) + r1 = ret.Get(1).(*eventbridge.CreateConnectionOutput) } } return r0, r1 } -// CreatePartnerEventSourceWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *EventBridgeAPI) CreatePartnerEventSourceWithContext(_a0 context.Context, _a1 *eventbridge.CreatePartnerEventSourceInput, _a2 ...request.Option) (*eventbridge.CreatePartnerEventSourceOutput, error) { +// CreateConnectionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) CreateConnectionWithContext(_a0 context.Context, _a1 *eventbridge.CreateConnectionInput, _a2 ...request.Option) (*eventbridge.CreateConnectionOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -387,17 +387,17 @@ func (_m *EventBridgeAPI) CreatePartnerEventSourceWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *eventbridge.CreatePartnerEventSourceOutput - if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.CreatePartnerEventSourceInput, ...request.Option) *eventbridge.CreatePartnerEventSourceOutput); ok { + var r0 *eventbridge.CreateConnectionOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.CreateConnectionInput, ...request.Option) *eventbridge.CreateConnectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.CreatePartnerEventSourceOutput) + r0 = ret.Get(0).(*eventbridge.CreateConnectionOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.CreatePartnerEventSourceInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.CreateConnectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -406,21 +406,21 @@ func (_m *EventBridgeAPI) CreatePartnerEventSourceWithContext(_a0 context.Contex return r0, r1 } -// DeactivateEventSource provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DeactivateEventSource(_a0 *eventbridge.DeactivateEventSourceInput) (*eventbridge.DeactivateEventSourceOutput, error) { +// CreateEndpoint provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) CreateEndpoint(_a0 *eventbridge.CreateEndpointInput) (*eventbridge.CreateEndpointOutput, error) { ret := _m.Called(_a0) - var r0 *eventbridge.DeactivateEventSourceOutput - if rf, ok := ret.Get(0).(func(*eventbridge.DeactivateEventSourceInput) *eventbridge.DeactivateEventSourceOutput); ok { + var r0 *eventbridge.CreateEndpointOutput + if rf, ok := ret.Get(0).(func(*eventbridge.CreateEndpointInput) *eventbridge.CreateEndpointOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DeactivateEventSourceOutput) + r0 = ret.Get(0).(*eventbridge.CreateEndpointOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*eventbridge.DeactivateEventSourceInput) error); ok { + if rf, ok := ret.Get(1).(func(*eventbridge.CreateEndpointInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -429,12 +429,12 @@ func (_m *EventBridgeAPI) DeactivateEventSource(_a0 *eventbridge.DeactivateEvent return r0, r1 } -// DeactivateEventSourceRequest provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DeactivateEventSourceRequest(_a0 *eventbridge.DeactivateEventSourceInput) (*request.Request, *eventbridge.DeactivateEventSourceOutput) { +// CreateEndpointRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) CreateEndpointRequest(_a0 *eventbridge.CreateEndpointInput) (*request.Request, *eventbridge.CreateEndpointOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*eventbridge.DeactivateEventSourceInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*eventbridge.CreateEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -442,20 +442,20 @@ func (_m *EventBridgeAPI) DeactivateEventSourceRequest(_a0 *eventbridge.Deactiva } } - var r1 *eventbridge.DeactivateEventSourceOutput - if rf, ok := ret.Get(1).(func(*eventbridge.DeactivateEventSourceInput) *eventbridge.DeactivateEventSourceOutput); ok { + var r1 *eventbridge.CreateEndpointOutput + if rf, ok := ret.Get(1).(func(*eventbridge.CreateEndpointInput) *eventbridge.CreateEndpointOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*eventbridge.DeactivateEventSourceOutput) + r1 = ret.Get(1).(*eventbridge.CreateEndpointOutput) } } return r0, r1 } -// DeactivateEventSourceWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *EventBridgeAPI) DeactivateEventSourceWithContext(_a0 context.Context, _a1 *eventbridge.DeactivateEventSourceInput, _a2 ...request.Option) (*eventbridge.DeactivateEventSourceOutput, error) { +// CreateEndpointWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) CreateEndpointWithContext(_a0 context.Context, _a1 *eventbridge.CreateEndpointInput, _a2 ...request.Option) (*eventbridge.CreateEndpointOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -465,17 +465,17 @@ func (_m *EventBridgeAPI) DeactivateEventSourceWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *eventbridge.DeactivateEventSourceOutput - if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeactivateEventSourceInput, ...request.Option) *eventbridge.DeactivateEventSourceOutput); ok { + var r0 *eventbridge.CreateEndpointOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.CreateEndpointInput, ...request.Option) *eventbridge.CreateEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DeactivateEventSourceOutput) + r0 = ret.Get(0).(*eventbridge.CreateEndpointOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeactivateEventSourceInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.CreateEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -484,21 +484,21 @@ func (_m *EventBridgeAPI) DeactivateEventSourceWithContext(_a0 context.Context, return r0, r1 } -// DeleteArchive provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DeleteArchive(_a0 *eventbridge.DeleteArchiveInput) (*eventbridge.DeleteArchiveOutput, error) { +// CreateEventBus provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) CreateEventBus(_a0 *eventbridge.CreateEventBusInput) (*eventbridge.CreateEventBusOutput, error) { ret := _m.Called(_a0) - var r0 *eventbridge.DeleteArchiveOutput - if rf, ok := ret.Get(0).(func(*eventbridge.DeleteArchiveInput) *eventbridge.DeleteArchiveOutput); ok { + var r0 *eventbridge.CreateEventBusOutput + if rf, ok := ret.Get(0).(func(*eventbridge.CreateEventBusInput) *eventbridge.CreateEventBusOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DeleteArchiveOutput) + r0 = ret.Get(0).(*eventbridge.CreateEventBusOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*eventbridge.DeleteArchiveInput) error); ok { + if rf, ok := ret.Get(1).(func(*eventbridge.CreateEventBusInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -507,12 +507,12 @@ func (_m *EventBridgeAPI) DeleteArchive(_a0 *eventbridge.DeleteArchiveInput) (*e return r0, r1 } -// DeleteArchiveRequest provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DeleteArchiveRequest(_a0 *eventbridge.DeleteArchiveInput) (*request.Request, *eventbridge.DeleteArchiveOutput) { +// CreateEventBusRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) CreateEventBusRequest(_a0 *eventbridge.CreateEventBusInput) (*request.Request, *eventbridge.CreateEventBusOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*eventbridge.DeleteArchiveInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*eventbridge.CreateEventBusInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -520,20 +520,20 @@ func (_m *EventBridgeAPI) DeleteArchiveRequest(_a0 *eventbridge.DeleteArchiveInp } } - var r1 *eventbridge.DeleteArchiveOutput - if rf, ok := ret.Get(1).(func(*eventbridge.DeleteArchiveInput) *eventbridge.DeleteArchiveOutput); ok { + var r1 *eventbridge.CreateEventBusOutput + if rf, ok := ret.Get(1).(func(*eventbridge.CreateEventBusInput) *eventbridge.CreateEventBusOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*eventbridge.DeleteArchiveOutput) + r1 = ret.Get(1).(*eventbridge.CreateEventBusOutput) } } return r0, r1 } -// DeleteArchiveWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *EventBridgeAPI) DeleteArchiveWithContext(_a0 context.Context, _a1 *eventbridge.DeleteArchiveInput, _a2 ...request.Option) (*eventbridge.DeleteArchiveOutput, error) { +// CreateEventBusWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) CreateEventBusWithContext(_a0 context.Context, _a1 *eventbridge.CreateEventBusInput, _a2 ...request.Option) (*eventbridge.CreateEventBusOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -543,17 +543,17 @@ func (_m *EventBridgeAPI) DeleteArchiveWithContext(_a0 context.Context, _a1 *eve _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *eventbridge.DeleteArchiveOutput - if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeleteArchiveInput, ...request.Option) *eventbridge.DeleteArchiveOutput); ok { + var r0 *eventbridge.CreateEventBusOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.CreateEventBusInput, ...request.Option) *eventbridge.CreateEventBusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DeleteArchiveOutput) + r0 = ret.Get(0).(*eventbridge.CreateEventBusOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeleteArchiveInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.CreateEventBusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -562,21 +562,21 @@ func (_m *EventBridgeAPI) DeleteArchiveWithContext(_a0 context.Context, _a1 *eve return r0, r1 } -// DeleteEventBus provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DeleteEventBus(_a0 *eventbridge.DeleteEventBusInput) (*eventbridge.DeleteEventBusOutput, error) { +// CreatePartnerEventSource provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) CreatePartnerEventSource(_a0 *eventbridge.CreatePartnerEventSourceInput) (*eventbridge.CreatePartnerEventSourceOutput, error) { ret := _m.Called(_a0) - var r0 *eventbridge.DeleteEventBusOutput - if rf, ok := ret.Get(0).(func(*eventbridge.DeleteEventBusInput) *eventbridge.DeleteEventBusOutput); ok { + var r0 *eventbridge.CreatePartnerEventSourceOutput + if rf, ok := ret.Get(0).(func(*eventbridge.CreatePartnerEventSourceInput) *eventbridge.CreatePartnerEventSourceOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DeleteEventBusOutput) + r0 = ret.Get(0).(*eventbridge.CreatePartnerEventSourceOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*eventbridge.DeleteEventBusInput) error); ok { + if rf, ok := ret.Get(1).(func(*eventbridge.CreatePartnerEventSourceInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -585,12 +585,12 @@ func (_m *EventBridgeAPI) DeleteEventBus(_a0 *eventbridge.DeleteEventBusInput) ( return r0, r1 } -// DeleteEventBusRequest provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DeleteEventBusRequest(_a0 *eventbridge.DeleteEventBusInput) (*request.Request, *eventbridge.DeleteEventBusOutput) { +// CreatePartnerEventSourceRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) CreatePartnerEventSourceRequest(_a0 *eventbridge.CreatePartnerEventSourceInput) (*request.Request, *eventbridge.CreatePartnerEventSourceOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*eventbridge.DeleteEventBusInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*eventbridge.CreatePartnerEventSourceInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -598,20 +598,20 @@ func (_m *EventBridgeAPI) DeleteEventBusRequest(_a0 *eventbridge.DeleteEventBusI } } - var r1 *eventbridge.DeleteEventBusOutput - if rf, ok := ret.Get(1).(func(*eventbridge.DeleteEventBusInput) *eventbridge.DeleteEventBusOutput); ok { + var r1 *eventbridge.CreatePartnerEventSourceOutput + if rf, ok := ret.Get(1).(func(*eventbridge.CreatePartnerEventSourceInput) *eventbridge.CreatePartnerEventSourceOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*eventbridge.DeleteEventBusOutput) + r1 = ret.Get(1).(*eventbridge.CreatePartnerEventSourceOutput) } } return r0, r1 } -// DeleteEventBusWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *EventBridgeAPI) DeleteEventBusWithContext(_a0 context.Context, _a1 *eventbridge.DeleteEventBusInput, _a2 ...request.Option) (*eventbridge.DeleteEventBusOutput, error) { +// CreatePartnerEventSourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) CreatePartnerEventSourceWithContext(_a0 context.Context, _a1 *eventbridge.CreatePartnerEventSourceInput, _a2 ...request.Option) (*eventbridge.CreatePartnerEventSourceOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -621,17 +621,17 @@ func (_m *EventBridgeAPI) DeleteEventBusWithContext(_a0 context.Context, _a1 *ev _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *eventbridge.DeleteEventBusOutput - if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeleteEventBusInput, ...request.Option) *eventbridge.DeleteEventBusOutput); ok { + var r0 *eventbridge.CreatePartnerEventSourceOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.CreatePartnerEventSourceInput, ...request.Option) *eventbridge.CreatePartnerEventSourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DeleteEventBusOutput) + r0 = ret.Get(0).(*eventbridge.CreatePartnerEventSourceOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeleteEventBusInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.CreatePartnerEventSourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -640,21 +640,21 @@ func (_m *EventBridgeAPI) DeleteEventBusWithContext(_a0 context.Context, _a1 *ev return r0, r1 } -// DeletePartnerEventSource provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DeletePartnerEventSource(_a0 *eventbridge.DeletePartnerEventSourceInput) (*eventbridge.DeletePartnerEventSourceOutput, error) { +// DeactivateEventSource provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeactivateEventSource(_a0 *eventbridge.DeactivateEventSourceInput) (*eventbridge.DeactivateEventSourceOutput, error) { ret := _m.Called(_a0) - var r0 *eventbridge.DeletePartnerEventSourceOutput - if rf, ok := ret.Get(0).(func(*eventbridge.DeletePartnerEventSourceInput) *eventbridge.DeletePartnerEventSourceOutput); ok { + var r0 *eventbridge.DeactivateEventSourceOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DeactivateEventSourceInput) *eventbridge.DeactivateEventSourceOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DeletePartnerEventSourceOutput) + r0 = ret.Get(0).(*eventbridge.DeactivateEventSourceOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*eventbridge.DeletePartnerEventSourceInput) error); ok { + if rf, ok := ret.Get(1).(func(*eventbridge.DeactivateEventSourceInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -663,12 +663,12 @@ func (_m *EventBridgeAPI) DeletePartnerEventSource(_a0 *eventbridge.DeletePartne return r0, r1 } -// DeletePartnerEventSourceRequest provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DeletePartnerEventSourceRequest(_a0 *eventbridge.DeletePartnerEventSourceInput) (*request.Request, *eventbridge.DeletePartnerEventSourceOutput) { +// DeactivateEventSourceRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeactivateEventSourceRequest(_a0 *eventbridge.DeactivateEventSourceInput) (*request.Request, *eventbridge.DeactivateEventSourceOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*eventbridge.DeletePartnerEventSourceInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*eventbridge.DeactivateEventSourceInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -676,20 +676,20 @@ func (_m *EventBridgeAPI) DeletePartnerEventSourceRequest(_a0 *eventbridge.Delet } } - var r1 *eventbridge.DeletePartnerEventSourceOutput - if rf, ok := ret.Get(1).(func(*eventbridge.DeletePartnerEventSourceInput) *eventbridge.DeletePartnerEventSourceOutput); ok { + var r1 *eventbridge.DeactivateEventSourceOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DeactivateEventSourceInput) *eventbridge.DeactivateEventSourceOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*eventbridge.DeletePartnerEventSourceOutput) + r1 = ret.Get(1).(*eventbridge.DeactivateEventSourceOutput) } } return r0, r1 } -// DeletePartnerEventSourceWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *EventBridgeAPI) DeletePartnerEventSourceWithContext(_a0 context.Context, _a1 *eventbridge.DeletePartnerEventSourceInput, _a2 ...request.Option) (*eventbridge.DeletePartnerEventSourceOutput, error) { +// DeactivateEventSourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DeactivateEventSourceWithContext(_a0 context.Context, _a1 *eventbridge.DeactivateEventSourceInput, _a2 ...request.Option) (*eventbridge.DeactivateEventSourceOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -699,17 +699,17 @@ func (_m *EventBridgeAPI) DeletePartnerEventSourceWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *eventbridge.DeletePartnerEventSourceOutput - if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeletePartnerEventSourceInput, ...request.Option) *eventbridge.DeletePartnerEventSourceOutput); ok { + var r0 *eventbridge.DeactivateEventSourceOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeactivateEventSourceInput, ...request.Option) *eventbridge.DeactivateEventSourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DeletePartnerEventSourceOutput) + r0 = ret.Get(0).(*eventbridge.DeactivateEventSourceOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeletePartnerEventSourceInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeactivateEventSourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -718,21 +718,21 @@ func (_m *EventBridgeAPI) DeletePartnerEventSourceWithContext(_a0 context.Contex return r0, r1 } -// DeleteRule provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DeleteRule(_a0 *eventbridge.DeleteRuleInput) (*eventbridge.DeleteRuleOutput, error) { +// DeauthorizeConnection provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeauthorizeConnection(_a0 *eventbridge.DeauthorizeConnectionInput) (*eventbridge.DeauthorizeConnectionOutput, error) { ret := _m.Called(_a0) - var r0 *eventbridge.DeleteRuleOutput - if rf, ok := ret.Get(0).(func(*eventbridge.DeleteRuleInput) *eventbridge.DeleteRuleOutput); ok { + var r0 *eventbridge.DeauthorizeConnectionOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DeauthorizeConnectionInput) *eventbridge.DeauthorizeConnectionOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DeleteRuleOutput) + r0 = ret.Get(0).(*eventbridge.DeauthorizeConnectionOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*eventbridge.DeleteRuleInput) error); ok { + if rf, ok := ret.Get(1).(func(*eventbridge.DeauthorizeConnectionInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -741,12 +741,12 @@ func (_m *EventBridgeAPI) DeleteRule(_a0 *eventbridge.DeleteRuleInput) (*eventbr return r0, r1 } -// DeleteRuleRequest provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DeleteRuleRequest(_a0 *eventbridge.DeleteRuleInput) (*request.Request, *eventbridge.DeleteRuleOutput) { +// DeauthorizeConnectionRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeauthorizeConnectionRequest(_a0 *eventbridge.DeauthorizeConnectionInput) (*request.Request, *eventbridge.DeauthorizeConnectionOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*eventbridge.DeleteRuleInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*eventbridge.DeauthorizeConnectionInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -754,20 +754,20 @@ func (_m *EventBridgeAPI) DeleteRuleRequest(_a0 *eventbridge.DeleteRuleInput) (* } } - var r1 *eventbridge.DeleteRuleOutput - if rf, ok := ret.Get(1).(func(*eventbridge.DeleteRuleInput) *eventbridge.DeleteRuleOutput); ok { + var r1 *eventbridge.DeauthorizeConnectionOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DeauthorizeConnectionInput) *eventbridge.DeauthorizeConnectionOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*eventbridge.DeleteRuleOutput) + r1 = ret.Get(1).(*eventbridge.DeauthorizeConnectionOutput) } } return r0, r1 } -// DeleteRuleWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *EventBridgeAPI) DeleteRuleWithContext(_a0 context.Context, _a1 *eventbridge.DeleteRuleInput, _a2 ...request.Option) (*eventbridge.DeleteRuleOutput, error) { +// DeauthorizeConnectionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DeauthorizeConnectionWithContext(_a0 context.Context, _a1 *eventbridge.DeauthorizeConnectionInput, _a2 ...request.Option) (*eventbridge.DeauthorizeConnectionOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -777,17 +777,17 @@ func (_m *EventBridgeAPI) DeleteRuleWithContext(_a0 context.Context, _a1 *eventb _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *eventbridge.DeleteRuleOutput - if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeleteRuleInput, ...request.Option) *eventbridge.DeleteRuleOutput); ok { + var r0 *eventbridge.DeauthorizeConnectionOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeauthorizeConnectionInput, ...request.Option) *eventbridge.DeauthorizeConnectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DeleteRuleOutput) + r0 = ret.Get(0).(*eventbridge.DeauthorizeConnectionOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeleteRuleInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeauthorizeConnectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -796,21 +796,21 @@ func (_m *EventBridgeAPI) DeleteRuleWithContext(_a0 context.Context, _a1 *eventb return r0, r1 } -// DescribeArchive provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DescribeArchive(_a0 *eventbridge.DescribeArchiveInput) (*eventbridge.DescribeArchiveOutput, error) { +// DeleteApiDestination provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeleteApiDestination(_a0 *eventbridge.DeleteApiDestinationInput) (*eventbridge.DeleteApiDestinationOutput, error) { ret := _m.Called(_a0) - var r0 *eventbridge.DescribeArchiveOutput - if rf, ok := ret.Get(0).(func(*eventbridge.DescribeArchiveInput) *eventbridge.DescribeArchiveOutput); ok { + var r0 *eventbridge.DeleteApiDestinationOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DeleteApiDestinationInput) *eventbridge.DeleteApiDestinationOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DescribeArchiveOutput) + r0 = ret.Get(0).(*eventbridge.DeleteApiDestinationOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*eventbridge.DescribeArchiveInput) error); ok { + if rf, ok := ret.Get(1).(func(*eventbridge.DeleteApiDestinationInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -819,12 +819,12 @@ func (_m *EventBridgeAPI) DescribeArchive(_a0 *eventbridge.DescribeArchiveInput) return r0, r1 } -// DescribeArchiveRequest provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DescribeArchiveRequest(_a0 *eventbridge.DescribeArchiveInput) (*request.Request, *eventbridge.DescribeArchiveOutput) { +// DeleteApiDestinationRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeleteApiDestinationRequest(_a0 *eventbridge.DeleteApiDestinationInput) (*request.Request, *eventbridge.DeleteApiDestinationOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*eventbridge.DescribeArchiveInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*eventbridge.DeleteApiDestinationInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -832,20 +832,20 @@ func (_m *EventBridgeAPI) DescribeArchiveRequest(_a0 *eventbridge.DescribeArchiv } } - var r1 *eventbridge.DescribeArchiveOutput - if rf, ok := ret.Get(1).(func(*eventbridge.DescribeArchiveInput) *eventbridge.DescribeArchiveOutput); ok { + var r1 *eventbridge.DeleteApiDestinationOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DeleteApiDestinationInput) *eventbridge.DeleteApiDestinationOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*eventbridge.DescribeArchiveOutput) + r1 = ret.Get(1).(*eventbridge.DeleteApiDestinationOutput) } } return r0, r1 } -// DescribeArchiveWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *EventBridgeAPI) DescribeArchiveWithContext(_a0 context.Context, _a1 *eventbridge.DescribeArchiveInput, _a2 ...request.Option) (*eventbridge.DescribeArchiveOutput, error) { +// DeleteApiDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DeleteApiDestinationWithContext(_a0 context.Context, _a1 *eventbridge.DeleteApiDestinationInput, _a2 ...request.Option) (*eventbridge.DeleteApiDestinationOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -855,17 +855,17 @@ func (_m *EventBridgeAPI) DescribeArchiveWithContext(_a0 context.Context, _a1 *e _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *eventbridge.DescribeArchiveOutput - if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DescribeArchiveInput, ...request.Option) *eventbridge.DescribeArchiveOutput); ok { + var r0 *eventbridge.DeleteApiDestinationOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeleteApiDestinationInput, ...request.Option) *eventbridge.DeleteApiDestinationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DescribeArchiveOutput) + r0 = ret.Get(0).(*eventbridge.DeleteApiDestinationOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DescribeArchiveInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeleteApiDestinationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -874,21 +874,21 @@ func (_m *EventBridgeAPI) DescribeArchiveWithContext(_a0 context.Context, _a1 *e return r0, r1 } -// DescribeEventBus provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DescribeEventBus(_a0 *eventbridge.DescribeEventBusInput) (*eventbridge.DescribeEventBusOutput, error) { +// DeleteArchive provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeleteArchive(_a0 *eventbridge.DeleteArchiveInput) (*eventbridge.DeleteArchiveOutput, error) { ret := _m.Called(_a0) - var r0 *eventbridge.DescribeEventBusOutput - if rf, ok := ret.Get(0).(func(*eventbridge.DescribeEventBusInput) *eventbridge.DescribeEventBusOutput); ok { + var r0 *eventbridge.DeleteArchiveOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DeleteArchiveInput) *eventbridge.DeleteArchiveOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DescribeEventBusOutput) + r0 = ret.Get(0).(*eventbridge.DeleteArchiveOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*eventbridge.DescribeEventBusInput) error); ok { + if rf, ok := ret.Get(1).(func(*eventbridge.DeleteArchiveInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -897,12 +897,12 @@ func (_m *EventBridgeAPI) DescribeEventBus(_a0 *eventbridge.DescribeEventBusInpu return r0, r1 } -// DescribeEventBusRequest provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DescribeEventBusRequest(_a0 *eventbridge.DescribeEventBusInput) (*request.Request, *eventbridge.DescribeEventBusOutput) { +// DeleteArchiveRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeleteArchiveRequest(_a0 *eventbridge.DeleteArchiveInput) (*request.Request, *eventbridge.DeleteArchiveOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*eventbridge.DescribeEventBusInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*eventbridge.DeleteArchiveInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -910,8 +910,788 @@ func (_m *EventBridgeAPI) DescribeEventBusRequest(_a0 *eventbridge.DescribeEvent } } - var r1 *eventbridge.DescribeEventBusOutput - if rf, ok := ret.Get(1).(func(*eventbridge.DescribeEventBusInput) *eventbridge.DescribeEventBusOutput); ok { + var r1 *eventbridge.DeleteArchiveOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DeleteArchiveInput) *eventbridge.DeleteArchiveOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.DeleteArchiveOutput) + } + } + + return r0, r1 +} + +// DeleteArchiveWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DeleteArchiveWithContext(_a0 context.Context, _a1 *eventbridge.DeleteArchiveInput, _a2 ...request.Option) (*eventbridge.DeleteArchiveOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.DeleteArchiveOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeleteArchiveInput, ...request.Option) *eventbridge.DeleteArchiveOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DeleteArchiveOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeleteArchiveInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteConnection provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeleteConnection(_a0 *eventbridge.DeleteConnectionInput) (*eventbridge.DeleteConnectionOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.DeleteConnectionOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DeleteConnectionInput) *eventbridge.DeleteConnectionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DeleteConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.DeleteConnectionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteConnectionRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeleteConnectionRequest(_a0 *eventbridge.DeleteConnectionInput) (*request.Request, *eventbridge.DeleteConnectionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.DeleteConnectionInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.DeleteConnectionOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DeleteConnectionInput) *eventbridge.DeleteConnectionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.DeleteConnectionOutput) + } + } + + return r0, r1 +} + +// DeleteConnectionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DeleteConnectionWithContext(_a0 context.Context, _a1 *eventbridge.DeleteConnectionInput, _a2 ...request.Option) (*eventbridge.DeleteConnectionOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.DeleteConnectionOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeleteConnectionInput, ...request.Option) *eventbridge.DeleteConnectionOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DeleteConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeleteConnectionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteEndpoint provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeleteEndpoint(_a0 *eventbridge.DeleteEndpointInput) (*eventbridge.DeleteEndpointOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.DeleteEndpointOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DeleteEndpointInput) *eventbridge.DeleteEndpointOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DeleteEndpointOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.DeleteEndpointInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteEndpointRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeleteEndpointRequest(_a0 *eventbridge.DeleteEndpointInput) (*request.Request, *eventbridge.DeleteEndpointOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.DeleteEndpointInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.DeleteEndpointOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DeleteEndpointInput) *eventbridge.DeleteEndpointOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.DeleteEndpointOutput) + } + } + + return r0, r1 +} + +// DeleteEndpointWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DeleteEndpointWithContext(_a0 context.Context, _a1 *eventbridge.DeleteEndpointInput, _a2 ...request.Option) (*eventbridge.DeleteEndpointOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.DeleteEndpointOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeleteEndpointInput, ...request.Option) *eventbridge.DeleteEndpointOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DeleteEndpointOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeleteEndpointInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteEventBus provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeleteEventBus(_a0 *eventbridge.DeleteEventBusInput) (*eventbridge.DeleteEventBusOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.DeleteEventBusOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DeleteEventBusInput) *eventbridge.DeleteEventBusOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DeleteEventBusOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.DeleteEventBusInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteEventBusRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeleteEventBusRequest(_a0 *eventbridge.DeleteEventBusInput) (*request.Request, *eventbridge.DeleteEventBusOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.DeleteEventBusInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.DeleteEventBusOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DeleteEventBusInput) *eventbridge.DeleteEventBusOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.DeleteEventBusOutput) + } + } + + return r0, r1 +} + +// DeleteEventBusWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DeleteEventBusWithContext(_a0 context.Context, _a1 *eventbridge.DeleteEventBusInput, _a2 ...request.Option) (*eventbridge.DeleteEventBusOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.DeleteEventBusOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeleteEventBusInput, ...request.Option) *eventbridge.DeleteEventBusOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DeleteEventBusOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeleteEventBusInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeletePartnerEventSource provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeletePartnerEventSource(_a0 *eventbridge.DeletePartnerEventSourceInput) (*eventbridge.DeletePartnerEventSourceOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.DeletePartnerEventSourceOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DeletePartnerEventSourceInput) *eventbridge.DeletePartnerEventSourceOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DeletePartnerEventSourceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.DeletePartnerEventSourceInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeletePartnerEventSourceRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeletePartnerEventSourceRequest(_a0 *eventbridge.DeletePartnerEventSourceInput) (*request.Request, *eventbridge.DeletePartnerEventSourceOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.DeletePartnerEventSourceInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.DeletePartnerEventSourceOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DeletePartnerEventSourceInput) *eventbridge.DeletePartnerEventSourceOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.DeletePartnerEventSourceOutput) + } + } + + return r0, r1 +} + +// DeletePartnerEventSourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DeletePartnerEventSourceWithContext(_a0 context.Context, _a1 *eventbridge.DeletePartnerEventSourceInput, _a2 ...request.Option) (*eventbridge.DeletePartnerEventSourceOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.DeletePartnerEventSourceOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeletePartnerEventSourceInput, ...request.Option) *eventbridge.DeletePartnerEventSourceOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DeletePartnerEventSourceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeletePartnerEventSourceInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteRule provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeleteRule(_a0 *eventbridge.DeleteRuleInput) (*eventbridge.DeleteRuleOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.DeleteRuleOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DeleteRuleInput) *eventbridge.DeleteRuleOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DeleteRuleOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.DeleteRuleInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteRuleRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DeleteRuleRequest(_a0 *eventbridge.DeleteRuleInput) (*request.Request, *eventbridge.DeleteRuleOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.DeleteRuleInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.DeleteRuleOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DeleteRuleInput) *eventbridge.DeleteRuleOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.DeleteRuleOutput) + } + } + + return r0, r1 +} + +// DeleteRuleWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DeleteRuleWithContext(_a0 context.Context, _a1 *eventbridge.DeleteRuleInput, _a2 ...request.Option) (*eventbridge.DeleteRuleOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.DeleteRuleOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DeleteRuleInput, ...request.Option) *eventbridge.DeleteRuleOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DeleteRuleOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DeleteRuleInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeApiDestination provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DescribeApiDestination(_a0 *eventbridge.DescribeApiDestinationInput) (*eventbridge.DescribeApiDestinationOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.DescribeApiDestinationOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DescribeApiDestinationInput) *eventbridge.DescribeApiDestinationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DescribeApiDestinationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.DescribeApiDestinationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeApiDestinationRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DescribeApiDestinationRequest(_a0 *eventbridge.DescribeApiDestinationInput) (*request.Request, *eventbridge.DescribeApiDestinationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.DescribeApiDestinationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.DescribeApiDestinationOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DescribeApiDestinationInput) *eventbridge.DescribeApiDestinationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.DescribeApiDestinationOutput) + } + } + + return r0, r1 +} + +// DescribeApiDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DescribeApiDestinationWithContext(_a0 context.Context, _a1 *eventbridge.DescribeApiDestinationInput, _a2 ...request.Option) (*eventbridge.DescribeApiDestinationOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.DescribeApiDestinationOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DescribeApiDestinationInput, ...request.Option) *eventbridge.DescribeApiDestinationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DescribeApiDestinationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DescribeApiDestinationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeArchive provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DescribeArchive(_a0 *eventbridge.DescribeArchiveInput) (*eventbridge.DescribeArchiveOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.DescribeArchiveOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DescribeArchiveInput) *eventbridge.DescribeArchiveOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DescribeArchiveOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.DescribeArchiveInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeArchiveRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DescribeArchiveRequest(_a0 *eventbridge.DescribeArchiveInput) (*request.Request, *eventbridge.DescribeArchiveOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.DescribeArchiveInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.DescribeArchiveOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DescribeArchiveInput) *eventbridge.DescribeArchiveOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.DescribeArchiveOutput) + } + } + + return r0, r1 +} + +// DescribeArchiveWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DescribeArchiveWithContext(_a0 context.Context, _a1 *eventbridge.DescribeArchiveInput, _a2 ...request.Option) (*eventbridge.DescribeArchiveOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.DescribeArchiveOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DescribeArchiveInput, ...request.Option) *eventbridge.DescribeArchiveOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DescribeArchiveOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DescribeArchiveInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeConnection provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DescribeConnection(_a0 *eventbridge.DescribeConnectionInput) (*eventbridge.DescribeConnectionOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.DescribeConnectionOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DescribeConnectionInput) *eventbridge.DescribeConnectionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DescribeConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.DescribeConnectionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeConnectionRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DescribeConnectionRequest(_a0 *eventbridge.DescribeConnectionInput) (*request.Request, *eventbridge.DescribeConnectionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.DescribeConnectionInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.DescribeConnectionOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DescribeConnectionInput) *eventbridge.DescribeConnectionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.DescribeConnectionOutput) + } + } + + return r0, r1 +} + +// DescribeConnectionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DescribeConnectionWithContext(_a0 context.Context, _a1 *eventbridge.DescribeConnectionInput, _a2 ...request.Option) (*eventbridge.DescribeConnectionOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.DescribeConnectionOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DescribeConnectionInput, ...request.Option) *eventbridge.DescribeConnectionOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DescribeConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DescribeConnectionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeEndpoint provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DescribeEndpoint(_a0 *eventbridge.DescribeEndpointInput) (*eventbridge.DescribeEndpointOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.DescribeEndpointOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DescribeEndpointInput) *eventbridge.DescribeEndpointOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DescribeEndpointOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.DescribeEndpointInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeEndpointRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DescribeEndpointRequest(_a0 *eventbridge.DescribeEndpointInput) (*request.Request, *eventbridge.DescribeEndpointOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.DescribeEndpointInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.DescribeEndpointOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DescribeEndpointInput) *eventbridge.DescribeEndpointOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.DescribeEndpointOutput) + } + } + + return r0, r1 +} + +// DescribeEndpointWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DescribeEndpointWithContext(_a0 context.Context, _a1 *eventbridge.DescribeEndpointInput, _a2 ...request.Option) (*eventbridge.DescribeEndpointOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.DescribeEndpointOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DescribeEndpointInput, ...request.Option) *eventbridge.DescribeEndpointOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DescribeEndpointOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DescribeEndpointInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeEventBus provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DescribeEventBus(_a0 *eventbridge.DescribeEventBusInput) (*eventbridge.DescribeEventBusOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.DescribeEventBusOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DescribeEventBusInput) *eventbridge.DescribeEventBusOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DescribeEventBusOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.DescribeEventBusInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeEventBusRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DescribeEventBusRequest(_a0 *eventbridge.DescribeEventBusInput) (*request.Request, *eventbridge.DescribeEventBusOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.DescribeEventBusInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.DescribeEventBusOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DescribeEventBusInput) *eventbridge.DescribeEventBusOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { @@ -1268,17 +2048,251 @@ func (_m *EventBridgeAPI) DescribeRuleWithContext(_a0 context.Context, _a1 *even func (_m *EventBridgeAPI) DisableRule(_a0 *eventbridge.DisableRuleInput) (*eventbridge.DisableRuleOutput, error) { ret := _m.Called(_a0) - var r0 *eventbridge.DisableRuleOutput - if rf, ok := ret.Get(0).(func(*eventbridge.DisableRuleInput) *eventbridge.DisableRuleOutput); ok { + var r0 *eventbridge.DisableRuleOutput + if rf, ok := ret.Get(0).(func(*eventbridge.DisableRuleInput) *eventbridge.DisableRuleOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DisableRuleOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.DisableRuleInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DisableRuleRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) DisableRuleRequest(_a0 *eventbridge.DisableRuleInput) (*request.Request, *eventbridge.DisableRuleOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.DisableRuleInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.DisableRuleOutput + if rf, ok := ret.Get(1).(func(*eventbridge.DisableRuleInput) *eventbridge.DisableRuleOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.DisableRuleOutput) + } + } + + return r0, r1 +} + +// DisableRuleWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) DisableRuleWithContext(_a0 context.Context, _a1 *eventbridge.DisableRuleInput, _a2 ...request.Option) (*eventbridge.DisableRuleOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.DisableRuleOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DisableRuleInput, ...request.Option) *eventbridge.DisableRuleOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.DisableRuleOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DisableRuleInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EnableRule provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) EnableRule(_a0 *eventbridge.EnableRuleInput) (*eventbridge.EnableRuleOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.EnableRuleOutput + if rf, ok := ret.Get(0).(func(*eventbridge.EnableRuleInput) *eventbridge.EnableRuleOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.EnableRuleOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.EnableRuleInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EnableRuleRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) EnableRuleRequest(_a0 *eventbridge.EnableRuleInput) (*request.Request, *eventbridge.EnableRuleOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.EnableRuleInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.EnableRuleOutput + if rf, ok := ret.Get(1).(func(*eventbridge.EnableRuleInput) *eventbridge.EnableRuleOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.EnableRuleOutput) + } + } + + return r0, r1 +} + +// EnableRuleWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) EnableRuleWithContext(_a0 context.Context, _a1 *eventbridge.EnableRuleInput, _a2 ...request.Option) (*eventbridge.EnableRuleOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.EnableRuleOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.EnableRuleInput, ...request.Option) *eventbridge.EnableRuleOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.EnableRuleOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.EnableRuleInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListApiDestinations provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) ListApiDestinations(_a0 *eventbridge.ListApiDestinationsInput) (*eventbridge.ListApiDestinationsOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.ListApiDestinationsOutput + if rf, ok := ret.Get(0).(func(*eventbridge.ListApiDestinationsInput) *eventbridge.ListApiDestinationsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.ListApiDestinationsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.ListApiDestinationsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListApiDestinationsRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) ListApiDestinationsRequest(_a0 *eventbridge.ListApiDestinationsInput) (*request.Request, *eventbridge.ListApiDestinationsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.ListApiDestinationsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.ListApiDestinationsOutput + if rf, ok := ret.Get(1).(func(*eventbridge.ListApiDestinationsInput) *eventbridge.ListApiDestinationsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.ListApiDestinationsOutput) + } + } + + return r0, r1 +} + +// ListApiDestinationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) ListApiDestinationsWithContext(_a0 context.Context, _a1 *eventbridge.ListApiDestinationsInput, _a2 ...request.Option) (*eventbridge.ListApiDestinationsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.ListApiDestinationsOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.ListApiDestinationsInput, ...request.Option) *eventbridge.ListApiDestinationsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.ListApiDestinationsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.ListApiDestinationsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListArchives provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) ListArchives(_a0 *eventbridge.ListArchivesInput) (*eventbridge.ListArchivesOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.ListArchivesOutput + if rf, ok := ret.Get(0).(func(*eventbridge.ListArchivesInput) *eventbridge.ListArchivesOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DisableRuleOutput) + r0 = ret.Get(0).(*eventbridge.ListArchivesOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*eventbridge.DisableRuleInput) error); ok { + if rf, ok := ret.Get(1).(func(*eventbridge.ListArchivesInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1287,12 +2301,12 @@ func (_m *EventBridgeAPI) DisableRule(_a0 *eventbridge.DisableRuleInput) (*event return r0, r1 } -// DisableRuleRequest provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) DisableRuleRequest(_a0 *eventbridge.DisableRuleInput) (*request.Request, *eventbridge.DisableRuleOutput) { +// ListArchivesRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) ListArchivesRequest(_a0 *eventbridge.ListArchivesInput) (*request.Request, *eventbridge.ListArchivesOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*eventbridge.DisableRuleInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*eventbridge.ListArchivesInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1300,20 +2314,20 @@ func (_m *EventBridgeAPI) DisableRuleRequest(_a0 *eventbridge.DisableRuleInput) } } - var r1 *eventbridge.DisableRuleOutput - if rf, ok := ret.Get(1).(func(*eventbridge.DisableRuleInput) *eventbridge.DisableRuleOutput); ok { + var r1 *eventbridge.ListArchivesOutput + if rf, ok := ret.Get(1).(func(*eventbridge.ListArchivesInput) *eventbridge.ListArchivesOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*eventbridge.DisableRuleOutput) + r1 = ret.Get(1).(*eventbridge.ListArchivesOutput) } } return r0, r1 } -// DisableRuleWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *EventBridgeAPI) DisableRuleWithContext(_a0 context.Context, _a1 *eventbridge.DisableRuleInput, _a2 ...request.Option) (*eventbridge.DisableRuleOutput, error) { +// ListArchivesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) ListArchivesWithContext(_a0 context.Context, _a1 *eventbridge.ListArchivesInput, _a2 ...request.Option) (*eventbridge.ListArchivesOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1323,17 +2337,17 @@ func (_m *EventBridgeAPI) DisableRuleWithContext(_a0 context.Context, _a1 *event _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *eventbridge.DisableRuleOutput - if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.DisableRuleInput, ...request.Option) *eventbridge.DisableRuleOutput); ok { + var r0 *eventbridge.ListArchivesOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.ListArchivesInput, ...request.Option) *eventbridge.ListArchivesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.DisableRuleOutput) + r0 = ret.Get(0).(*eventbridge.ListArchivesOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.DisableRuleInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.ListArchivesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1342,21 +2356,21 @@ func (_m *EventBridgeAPI) DisableRuleWithContext(_a0 context.Context, _a1 *event return r0, r1 } -// EnableRule provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) EnableRule(_a0 *eventbridge.EnableRuleInput) (*eventbridge.EnableRuleOutput, error) { +// ListConnections provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) ListConnections(_a0 *eventbridge.ListConnectionsInput) (*eventbridge.ListConnectionsOutput, error) { ret := _m.Called(_a0) - var r0 *eventbridge.EnableRuleOutput - if rf, ok := ret.Get(0).(func(*eventbridge.EnableRuleInput) *eventbridge.EnableRuleOutput); ok { + var r0 *eventbridge.ListConnectionsOutput + if rf, ok := ret.Get(0).(func(*eventbridge.ListConnectionsInput) *eventbridge.ListConnectionsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.EnableRuleOutput) + r0 = ret.Get(0).(*eventbridge.ListConnectionsOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*eventbridge.EnableRuleInput) error); ok { + if rf, ok := ret.Get(1).(func(*eventbridge.ListConnectionsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1365,12 +2379,12 @@ func (_m *EventBridgeAPI) EnableRule(_a0 *eventbridge.EnableRuleInput) (*eventbr return r0, r1 } -// EnableRuleRequest provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) EnableRuleRequest(_a0 *eventbridge.EnableRuleInput) (*request.Request, *eventbridge.EnableRuleOutput) { +// ListConnectionsRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) ListConnectionsRequest(_a0 *eventbridge.ListConnectionsInput) (*request.Request, *eventbridge.ListConnectionsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*eventbridge.EnableRuleInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*eventbridge.ListConnectionsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1378,20 +2392,20 @@ func (_m *EventBridgeAPI) EnableRuleRequest(_a0 *eventbridge.EnableRuleInput) (* } } - var r1 *eventbridge.EnableRuleOutput - if rf, ok := ret.Get(1).(func(*eventbridge.EnableRuleInput) *eventbridge.EnableRuleOutput); ok { + var r1 *eventbridge.ListConnectionsOutput + if rf, ok := ret.Get(1).(func(*eventbridge.ListConnectionsInput) *eventbridge.ListConnectionsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*eventbridge.EnableRuleOutput) + r1 = ret.Get(1).(*eventbridge.ListConnectionsOutput) } } return r0, r1 } -// EnableRuleWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *EventBridgeAPI) EnableRuleWithContext(_a0 context.Context, _a1 *eventbridge.EnableRuleInput, _a2 ...request.Option) (*eventbridge.EnableRuleOutput, error) { +// ListConnectionsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) ListConnectionsWithContext(_a0 context.Context, _a1 *eventbridge.ListConnectionsInput, _a2 ...request.Option) (*eventbridge.ListConnectionsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1401,17 +2415,17 @@ func (_m *EventBridgeAPI) EnableRuleWithContext(_a0 context.Context, _a1 *eventb _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *eventbridge.EnableRuleOutput - if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.EnableRuleInput, ...request.Option) *eventbridge.EnableRuleOutput); ok { + var r0 *eventbridge.ListConnectionsOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.ListConnectionsInput, ...request.Option) *eventbridge.ListConnectionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.EnableRuleOutput) + r0 = ret.Get(0).(*eventbridge.ListConnectionsOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.EnableRuleInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.ListConnectionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1420,21 +2434,21 @@ func (_m *EventBridgeAPI) EnableRuleWithContext(_a0 context.Context, _a1 *eventb return r0, r1 } -// ListArchives provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) ListArchives(_a0 *eventbridge.ListArchivesInput) (*eventbridge.ListArchivesOutput, error) { +// ListEndpoints provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) ListEndpoints(_a0 *eventbridge.ListEndpointsInput) (*eventbridge.ListEndpointsOutput, error) { ret := _m.Called(_a0) - var r0 *eventbridge.ListArchivesOutput - if rf, ok := ret.Get(0).(func(*eventbridge.ListArchivesInput) *eventbridge.ListArchivesOutput); ok { + var r0 *eventbridge.ListEndpointsOutput + if rf, ok := ret.Get(0).(func(*eventbridge.ListEndpointsInput) *eventbridge.ListEndpointsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.ListArchivesOutput) + r0 = ret.Get(0).(*eventbridge.ListEndpointsOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*eventbridge.ListArchivesInput) error); ok { + if rf, ok := ret.Get(1).(func(*eventbridge.ListEndpointsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1443,12 +2457,12 @@ func (_m *EventBridgeAPI) ListArchives(_a0 *eventbridge.ListArchivesInput) (*eve return r0, r1 } -// ListArchivesRequest provides a mock function with given fields: _a0 -func (_m *EventBridgeAPI) ListArchivesRequest(_a0 *eventbridge.ListArchivesInput) (*request.Request, *eventbridge.ListArchivesOutput) { +// ListEndpointsRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) ListEndpointsRequest(_a0 *eventbridge.ListEndpointsInput) (*request.Request, *eventbridge.ListEndpointsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*eventbridge.ListArchivesInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*eventbridge.ListEndpointsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1456,20 +2470,20 @@ func (_m *EventBridgeAPI) ListArchivesRequest(_a0 *eventbridge.ListArchivesInput } } - var r1 *eventbridge.ListArchivesOutput - if rf, ok := ret.Get(1).(func(*eventbridge.ListArchivesInput) *eventbridge.ListArchivesOutput); ok { + var r1 *eventbridge.ListEndpointsOutput + if rf, ok := ret.Get(1).(func(*eventbridge.ListEndpointsInput) *eventbridge.ListEndpointsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*eventbridge.ListArchivesOutput) + r1 = ret.Get(1).(*eventbridge.ListEndpointsOutput) } } return r0, r1 } -// ListArchivesWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *EventBridgeAPI) ListArchivesWithContext(_a0 context.Context, _a1 *eventbridge.ListArchivesInput, _a2 ...request.Option) (*eventbridge.ListArchivesOutput, error) { +// ListEndpointsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) ListEndpointsWithContext(_a0 context.Context, _a1 *eventbridge.ListEndpointsInput, _a2 ...request.Option) (*eventbridge.ListEndpointsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1479,17 +2493,17 @@ func (_m *EventBridgeAPI) ListArchivesWithContext(_a0 context.Context, _a1 *even _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *eventbridge.ListArchivesOutput - if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.ListArchivesInput, ...request.Option) *eventbridge.ListArchivesOutput); ok { + var r0 *eventbridge.ListEndpointsOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.ListEndpointsInput, ...request.Option) *eventbridge.ListEndpointsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*eventbridge.ListArchivesOutput) + r0 = ret.Get(0).(*eventbridge.ListEndpointsOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.ListArchivesInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.ListEndpointsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -3058,6 +4072,84 @@ func (_m *EventBridgeAPI) UntagResourceWithContext(_a0 context.Context, _a1 *eve return r0, r1 } +// UpdateApiDestination provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) UpdateApiDestination(_a0 *eventbridge.UpdateApiDestinationInput) (*eventbridge.UpdateApiDestinationOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.UpdateApiDestinationOutput + if rf, ok := ret.Get(0).(func(*eventbridge.UpdateApiDestinationInput) *eventbridge.UpdateApiDestinationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.UpdateApiDestinationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.UpdateApiDestinationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateApiDestinationRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) UpdateApiDestinationRequest(_a0 *eventbridge.UpdateApiDestinationInput) (*request.Request, *eventbridge.UpdateApiDestinationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.UpdateApiDestinationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.UpdateApiDestinationOutput + if rf, ok := ret.Get(1).(func(*eventbridge.UpdateApiDestinationInput) *eventbridge.UpdateApiDestinationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.UpdateApiDestinationOutput) + } + } + + return r0, r1 +} + +// UpdateApiDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) UpdateApiDestinationWithContext(_a0 context.Context, _a1 *eventbridge.UpdateApiDestinationInput, _a2 ...request.Option) (*eventbridge.UpdateApiDestinationOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.UpdateApiDestinationOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.UpdateApiDestinationInput, ...request.Option) *eventbridge.UpdateApiDestinationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.UpdateApiDestinationOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.UpdateApiDestinationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // UpdateArchive provides a mock function with given fields: _a0 func (_m *EventBridgeAPI) UpdateArchive(_a0 *eventbridge.UpdateArchiveInput) (*eventbridge.UpdateArchiveOutput, error) { ret := _m.Called(_a0) @@ -3135,3 +4227,174 @@ func (_m *EventBridgeAPI) UpdateArchiveWithContext(_a0 context.Context, _a1 *eve return r0, r1 } + +// UpdateConnection provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) UpdateConnection(_a0 *eventbridge.UpdateConnectionInput) (*eventbridge.UpdateConnectionOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.UpdateConnectionOutput + if rf, ok := ret.Get(0).(func(*eventbridge.UpdateConnectionInput) *eventbridge.UpdateConnectionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.UpdateConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.UpdateConnectionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateConnectionRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) UpdateConnectionRequest(_a0 *eventbridge.UpdateConnectionInput) (*request.Request, *eventbridge.UpdateConnectionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.UpdateConnectionInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.UpdateConnectionOutput + if rf, ok := ret.Get(1).(func(*eventbridge.UpdateConnectionInput) *eventbridge.UpdateConnectionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.UpdateConnectionOutput) + } + } + + return r0, r1 +} + +// UpdateConnectionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) UpdateConnectionWithContext(_a0 context.Context, _a1 *eventbridge.UpdateConnectionInput, _a2 ...request.Option) (*eventbridge.UpdateConnectionOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.UpdateConnectionOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.UpdateConnectionInput, ...request.Option) *eventbridge.UpdateConnectionOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.UpdateConnectionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.UpdateConnectionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateEndpoint provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) UpdateEndpoint(_a0 *eventbridge.UpdateEndpointInput) (*eventbridge.UpdateEndpointOutput, error) { + ret := _m.Called(_a0) + + var r0 *eventbridge.UpdateEndpointOutput + if rf, ok := ret.Get(0).(func(*eventbridge.UpdateEndpointInput) *eventbridge.UpdateEndpointOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.UpdateEndpointOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*eventbridge.UpdateEndpointInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateEndpointRequest provides a mock function with given fields: _a0 +func (_m *EventBridgeAPI) UpdateEndpointRequest(_a0 *eventbridge.UpdateEndpointInput) (*request.Request, *eventbridge.UpdateEndpointOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*eventbridge.UpdateEndpointInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *eventbridge.UpdateEndpointOutput + if rf, ok := ret.Get(1).(func(*eventbridge.UpdateEndpointInput) *eventbridge.UpdateEndpointOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*eventbridge.UpdateEndpointOutput) + } + } + + return r0, r1 +} + +// UpdateEndpointWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *EventBridgeAPI) UpdateEndpointWithContext(_a0 context.Context, _a1 *eventbridge.UpdateEndpointInput, _a2 ...request.Option) (*eventbridge.UpdateEndpointOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *eventbridge.UpdateEndpointOutput + if rf, ok := ret.Get(0).(func(context.Context, *eventbridge.UpdateEndpointInput, ...request.Option) *eventbridge.UpdateEndpointOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*eventbridge.UpdateEndpointOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *eventbridge.UpdateEndpointInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +type mockConstructorTestingTNewEventBridgeAPI interface { + mock.TestingT + Cleanup(func()) +} + +// NewEventBridgeAPI creates a new instance of EventBridgeAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewEventBridgeAPI(t mockConstructorTestingTNewEventBridgeAPI) *EventBridgeAPI { + mock := &EventBridgeAPI{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/awsiface/mocks/IAM.go b/pkg/awsiface/mocks/IAM.go index f460bcc97..c9f746088 100755 --- a/pkg/awsiface/mocks/IAM.go +++ b/pkg/awsiface/mocks/IAM.go @@ -1,4 +1,4 @@ -// Code generated by mockery 2.7.4. DO NOT EDIT. +// Code generated by mockery v2.16.0. DO NOT EDIT. package mocks @@ -7109,6 +7109,84 @@ func (_m *IAM) ListGroupsWithContext(_a0 context.Context, _a1 *iam.ListGroupsInp return r0, r1 } +// ListInstanceProfileTags provides a mock function with given fields: _a0 +func (_m *IAM) ListInstanceProfileTags(_a0 *iam.ListInstanceProfileTagsInput) (*iam.ListInstanceProfileTagsOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.ListInstanceProfileTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfileTagsInput) *iam.ListInstanceProfileTagsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ListInstanceProfileTagsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.ListInstanceProfileTagsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListInstanceProfileTagsRequest provides a mock function with given fields: _a0 +func (_m *IAM) ListInstanceProfileTagsRequest(_a0 *iam.ListInstanceProfileTagsInput) (*request.Request, *iam.ListInstanceProfileTagsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfileTagsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.ListInstanceProfileTagsOutput + if rf, ok := ret.Get(1).(func(*iam.ListInstanceProfileTagsInput) *iam.ListInstanceProfileTagsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.ListInstanceProfileTagsOutput) + } + } + + return r0, r1 +} + +// ListInstanceProfileTagsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) ListInstanceProfileTagsWithContext(_a0 context.Context, _a1 *iam.ListInstanceProfileTagsInput, _a2 ...request.Option) (*iam.ListInstanceProfileTagsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.ListInstanceProfileTagsOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListInstanceProfileTagsInput, ...request.Option) *iam.ListInstanceProfileTagsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ListInstanceProfileTagsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.ListInstanceProfileTagsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListInstanceProfiles provides a mock function with given fields: _a0 func (_m *IAM) ListInstanceProfiles(_a0 *iam.ListInstanceProfilesInput) (*iam.ListInstanceProfilesOutput, error) { ret := _m.Called(_a0) @@ -7335,6 +7413,84 @@ func (_m *IAM) ListInstanceProfilesWithContext(_a0 context.Context, _a1 *iam.Lis return r0, r1 } +// ListMFADeviceTags provides a mock function with given fields: _a0 +func (_m *IAM) ListMFADeviceTags(_a0 *iam.ListMFADeviceTagsInput) (*iam.ListMFADeviceTagsOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.ListMFADeviceTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListMFADeviceTagsInput) *iam.ListMFADeviceTagsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ListMFADeviceTagsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.ListMFADeviceTagsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListMFADeviceTagsRequest provides a mock function with given fields: _a0 +func (_m *IAM) ListMFADeviceTagsRequest(_a0 *iam.ListMFADeviceTagsInput) (*request.Request, *iam.ListMFADeviceTagsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.ListMFADeviceTagsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.ListMFADeviceTagsOutput + if rf, ok := ret.Get(1).(func(*iam.ListMFADeviceTagsInput) *iam.ListMFADeviceTagsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.ListMFADeviceTagsOutput) + } + } + + return r0, r1 +} + +// ListMFADeviceTagsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) ListMFADeviceTagsWithContext(_a0 context.Context, _a1 *iam.ListMFADeviceTagsInput, _a2 ...request.Option) (*iam.ListMFADeviceTagsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.ListMFADeviceTagsOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListMFADeviceTagsInput, ...request.Option) *iam.ListMFADeviceTagsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ListMFADeviceTagsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.ListMFADeviceTagsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListMFADevices provides a mock function with given fields: _a0 func (_m *IAM) ListMFADevices(_a0 *iam.ListMFADevicesInput) (*iam.ListMFADevicesOutput, error) { ret := _m.Called(_a0) @@ -7448,6 +7604,84 @@ func (_m *IAM) ListMFADevicesWithContext(_a0 context.Context, _a1 *iam.ListMFADe return r0, r1 } +// ListOpenIDConnectProviderTags provides a mock function with given fields: _a0 +func (_m *IAM) ListOpenIDConnectProviderTags(_a0 *iam.ListOpenIDConnectProviderTagsInput) (*iam.ListOpenIDConnectProviderTagsOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.ListOpenIDConnectProviderTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListOpenIDConnectProviderTagsInput) *iam.ListOpenIDConnectProviderTagsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ListOpenIDConnectProviderTagsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.ListOpenIDConnectProviderTagsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListOpenIDConnectProviderTagsRequest provides a mock function with given fields: _a0 +func (_m *IAM) ListOpenIDConnectProviderTagsRequest(_a0 *iam.ListOpenIDConnectProviderTagsInput) (*request.Request, *iam.ListOpenIDConnectProviderTagsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.ListOpenIDConnectProviderTagsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.ListOpenIDConnectProviderTagsOutput + if rf, ok := ret.Get(1).(func(*iam.ListOpenIDConnectProviderTagsInput) *iam.ListOpenIDConnectProviderTagsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.ListOpenIDConnectProviderTagsOutput) + } + } + + return r0, r1 +} + +// ListOpenIDConnectProviderTagsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) ListOpenIDConnectProviderTagsWithContext(_a0 context.Context, _a1 *iam.ListOpenIDConnectProviderTagsInput, _a2 ...request.Option) (*iam.ListOpenIDConnectProviderTagsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.ListOpenIDConnectProviderTagsOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListOpenIDConnectProviderTagsInput, ...request.Option) *iam.ListOpenIDConnectProviderTagsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ListOpenIDConnectProviderTagsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.ListOpenIDConnectProviderTagsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListOpenIDConnectProviders provides a mock function with given fields: _a0 func (_m *IAM) ListOpenIDConnectProviders(_a0 *iam.ListOpenIDConnectProvidersInput) (*iam.ListOpenIDConnectProvidersOutput, error) { ret := _m.Called(_a0) @@ -7717,6 +7951,84 @@ func (_m *IAM) ListPoliciesWithContext(_a0 context.Context, _a1 *iam.ListPolicie return r0, r1 } +// ListPolicyTags provides a mock function with given fields: _a0 +func (_m *IAM) ListPolicyTags(_a0 *iam.ListPolicyTagsInput) (*iam.ListPolicyTagsOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.ListPolicyTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListPolicyTagsInput) *iam.ListPolicyTagsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ListPolicyTagsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.ListPolicyTagsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListPolicyTagsRequest provides a mock function with given fields: _a0 +func (_m *IAM) ListPolicyTagsRequest(_a0 *iam.ListPolicyTagsInput) (*request.Request, *iam.ListPolicyTagsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.ListPolicyTagsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.ListPolicyTagsOutput + if rf, ok := ret.Get(1).(func(*iam.ListPolicyTagsInput) *iam.ListPolicyTagsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.ListPolicyTagsOutput) + } + } + + return r0, r1 +} + +// ListPolicyTagsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) ListPolicyTagsWithContext(_a0 context.Context, _a1 *iam.ListPolicyTagsInput, _a2 ...request.Option) (*iam.ListPolicyTagsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.ListPolicyTagsOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListPolicyTagsInput, ...request.Option) *iam.ListPolicyTagsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ListPolicyTagsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.ListPolicyTagsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListPolicyVersions provides a mock function with given fields: _a0 func (_m *IAM) ListPolicyVersions(_a0 *iam.ListPolicyVersionsInput) (*iam.ListPolicyVersionsOutput, error) { ret := _m.Called(_a0) @@ -8134,21 +8446,21 @@ func (_m *IAM) ListRolesWithContext(_a0 context.Context, _a1 *iam.ListRolesInput return r0, r1 } -// ListSAMLProviders provides a mock function with given fields: _a0 -func (_m *IAM) ListSAMLProviders(_a0 *iam.ListSAMLProvidersInput) (*iam.ListSAMLProvidersOutput, error) { +// ListSAMLProviderTags provides a mock function with given fields: _a0 +func (_m *IAM) ListSAMLProviderTags(_a0 *iam.ListSAMLProviderTagsInput) (*iam.ListSAMLProviderTagsOutput, error) { ret := _m.Called(_a0) - var r0 *iam.ListSAMLProvidersOutput - if rf, ok := ret.Get(0).(func(*iam.ListSAMLProvidersInput) *iam.ListSAMLProvidersOutput); ok { + var r0 *iam.ListSAMLProviderTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListSAMLProviderTagsInput) *iam.ListSAMLProviderTagsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.ListSAMLProvidersOutput) + r0 = ret.Get(0).(*iam.ListSAMLProviderTagsOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*iam.ListSAMLProvidersInput) error); ok { + if rf, ok := ret.Get(1).(func(*iam.ListSAMLProviderTagsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -8157,12 +8469,12 @@ func (_m *IAM) ListSAMLProviders(_a0 *iam.ListSAMLProvidersInput) (*iam.ListSAML return r0, r1 } -// ListSAMLProvidersRequest provides a mock function with given fields: _a0 -func (_m *IAM) ListSAMLProvidersRequest(_a0 *iam.ListSAMLProvidersInput) (*request.Request, *iam.ListSAMLProvidersOutput) { +// ListSAMLProviderTagsRequest provides a mock function with given fields: _a0 +func (_m *IAM) ListSAMLProviderTagsRequest(_a0 *iam.ListSAMLProviderTagsInput) (*request.Request, *iam.ListSAMLProviderTagsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*iam.ListSAMLProvidersInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*iam.ListSAMLProviderTagsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -8170,20 +8482,20 @@ func (_m *IAM) ListSAMLProvidersRequest(_a0 *iam.ListSAMLProvidersInput) (*reque } } - var r1 *iam.ListSAMLProvidersOutput - if rf, ok := ret.Get(1).(func(*iam.ListSAMLProvidersInput) *iam.ListSAMLProvidersOutput); ok { + var r1 *iam.ListSAMLProviderTagsOutput + if rf, ok := ret.Get(1).(func(*iam.ListSAMLProviderTagsInput) *iam.ListSAMLProviderTagsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*iam.ListSAMLProvidersOutput) + r1 = ret.Get(1).(*iam.ListSAMLProviderTagsOutput) } } return r0, r1 } -// ListSAMLProvidersWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *IAM) ListSAMLProvidersWithContext(_a0 context.Context, _a1 *iam.ListSAMLProvidersInput, _a2 ...request.Option) (*iam.ListSAMLProvidersOutput, error) { +// ListSAMLProviderTagsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) ListSAMLProviderTagsWithContext(_a0 context.Context, _a1 *iam.ListSAMLProviderTagsInput, _a2 ...request.Option) (*iam.ListSAMLProviderTagsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -8193,8 +8505,86 @@ func (_m *IAM) ListSAMLProvidersWithContext(_a0 context.Context, _a1 *iam.ListSA _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *iam.ListSAMLProvidersOutput - if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSAMLProvidersInput, ...request.Option) *iam.ListSAMLProvidersOutput); ok { + var r0 *iam.ListSAMLProviderTagsOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSAMLProviderTagsInput, ...request.Option) *iam.ListSAMLProviderTagsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ListSAMLProviderTagsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.ListSAMLProviderTagsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListSAMLProviders provides a mock function with given fields: _a0 +func (_m *IAM) ListSAMLProviders(_a0 *iam.ListSAMLProvidersInput) (*iam.ListSAMLProvidersOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.ListSAMLProvidersOutput + if rf, ok := ret.Get(0).(func(*iam.ListSAMLProvidersInput) *iam.ListSAMLProvidersOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ListSAMLProvidersOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.ListSAMLProvidersInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListSAMLProvidersRequest provides a mock function with given fields: _a0 +func (_m *IAM) ListSAMLProvidersRequest(_a0 *iam.ListSAMLProvidersInput) (*request.Request, *iam.ListSAMLProvidersOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.ListSAMLProvidersInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.ListSAMLProvidersOutput + if rf, ok := ret.Get(1).(func(*iam.ListSAMLProvidersInput) *iam.ListSAMLProvidersOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.ListSAMLProvidersOutput) + } + } + + return r0, r1 +} + +// ListSAMLProvidersWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) ListSAMLProvidersWithContext(_a0 context.Context, _a1 *iam.ListSAMLProvidersInput, _a2 ...request.Option) (*iam.ListSAMLProvidersOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.ListSAMLProvidersOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSAMLProvidersInput, ...request.Option) *iam.ListSAMLProvidersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { @@ -8325,6 +8715,84 @@ func (_m *IAM) ListSSHPublicKeysWithContext(_a0 context.Context, _a1 *iam.ListSS return r0, r1 } +// ListServerCertificateTags provides a mock function with given fields: _a0 +func (_m *IAM) ListServerCertificateTags(_a0 *iam.ListServerCertificateTagsInput) (*iam.ListServerCertificateTagsOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.ListServerCertificateTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListServerCertificateTagsInput) *iam.ListServerCertificateTagsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ListServerCertificateTagsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.ListServerCertificateTagsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListServerCertificateTagsRequest provides a mock function with given fields: _a0 +func (_m *IAM) ListServerCertificateTagsRequest(_a0 *iam.ListServerCertificateTagsInput) (*request.Request, *iam.ListServerCertificateTagsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.ListServerCertificateTagsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.ListServerCertificateTagsOutput + if rf, ok := ret.Get(1).(func(*iam.ListServerCertificateTagsInput) *iam.ListServerCertificateTagsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.ListServerCertificateTagsOutput) + } + } + + return r0, r1 +} + +// ListServerCertificateTagsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) ListServerCertificateTagsWithContext(_a0 context.Context, _a1 *iam.ListServerCertificateTagsInput, _a2 ...request.Option) (*iam.ListServerCertificateTagsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.ListServerCertificateTagsOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListServerCertificateTagsInput, ...request.Option) *iam.ListServerCertificateTagsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ListServerCertificateTagsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.ListServerCertificateTagsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListServerCertificates provides a mock function with given fields: _a0 func (_m *IAM) ListServerCertificates(_a0 *iam.ListServerCertificatesInput) (*iam.ListServerCertificatesOutput, error) { ret := _m.Called(_a0) @@ -8765,6 +9233,41 @@ func (_m *IAM) ListUserTags(_a0 *iam.ListUserTagsInput) (*iam.ListUserTagsOutput return r0, r1 } +// ListUserTagsPages provides a mock function with given fields: _a0, _a1 +func (_m *IAM) ListUserTagsPages(_a0 *iam.ListUserTagsInput, _a1 func(*iam.ListUserTagsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*iam.ListUserTagsInput, func(*iam.ListUserTagsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListUserTagsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *IAM) ListUserTagsPagesWithContext(_a0 context.Context, _a1 *iam.ListUserTagsInput, _a2 func(*iam.ListUserTagsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListUserTagsInput, func(*iam.ListUserTagsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // ListUserTagsRequest provides a mock function with given fields: _a0 func (_m *IAM) ListUserTagsRequest(_a0 *iam.ListUserTagsInput) (*request.Request, *iam.ListUserTagsOutput) { ret := _m.Called(_a0) @@ -9748,21 +10251,1027 @@ func (_m *IAM) ResetServiceSpecificCredentialWithContext(_a0 context.Context, _a return r0, r1 } -// ResyncMFADevice provides a mock function with given fields: _a0 -func (_m *IAM) ResyncMFADevice(_a0 *iam.ResyncMFADeviceInput) (*iam.ResyncMFADeviceOutput, error) { +// ResyncMFADevice provides a mock function with given fields: _a0 +func (_m *IAM) ResyncMFADevice(_a0 *iam.ResyncMFADeviceInput) (*iam.ResyncMFADeviceOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.ResyncMFADeviceOutput + if rf, ok := ret.Get(0).(func(*iam.ResyncMFADeviceInput) *iam.ResyncMFADeviceOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ResyncMFADeviceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.ResyncMFADeviceInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ResyncMFADeviceRequest provides a mock function with given fields: _a0 +func (_m *IAM) ResyncMFADeviceRequest(_a0 *iam.ResyncMFADeviceInput) (*request.Request, *iam.ResyncMFADeviceOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.ResyncMFADeviceInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.ResyncMFADeviceOutput + if rf, ok := ret.Get(1).(func(*iam.ResyncMFADeviceInput) *iam.ResyncMFADeviceOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.ResyncMFADeviceOutput) + } + } + + return r0, r1 +} + +// ResyncMFADeviceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) ResyncMFADeviceWithContext(_a0 context.Context, _a1 *iam.ResyncMFADeviceInput, _a2 ...request.Option) (*iam.ResyncMFADeviceOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.ResyncMFADeviceOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.ResyncMFADeviceInput, ...request.Option) *iam.ResyncMFADeviceOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.ResyncMFADeviceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.ResyncMFADeviceInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// SetDefaultPolicyVersion provides a mock function with given fields: _a0 +func (_m *IAM) SetDefaultPolicyVersion(_a0 *iam.SetDefaultPolicyVersionInput) (*iam.SetDefaultPolicyVersionOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.SetDefaultPolicyVersionOutput + if rf, ok := ret.Get(0).(func(*iam.SetDefaultPolicyVersionInput) *iam.SetDefaultPolicyVersionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.SetDefaultPolicyVersionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.SetDefaultPolicyVersionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// SetDefaultPolicyVersionRequest provides a mock function with given fields: _a0 +func (_m *IAM) SetDefaultPolicyVersionRequest(_a0 *iam.SetDefaultPolicyVersionInput) (*request.Request, *iam.SetDefaultPolicyVersionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.SetDefaultPolicyVersionInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.SetDefaultPolicyVersionOutput + if rf, ok := ret.Get(1).(func(*iam.SetDefaultPolicyVersionInput) *iam.SetDefaultPolicyVersionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.SetDefaultPolicyVersionOutput) + } + } + + return r0, r1 +} + +// SetDefaultPolicyVersionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) SetDefaultPolicyVersionWithContext(_a0 context.Context, _a1 *iam.SetDefaultPolicyVersionInput, _a2 ...request.Option) (*iam.SetDefaultPolicyVersionOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.SetDefaultPolicyVersionOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.SetDefaultPolicyVersionInput, ...request.Option) *iam.SetDefaultPolicyVersionOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.SetDefaultPolicyVersionOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.SetDefaultPolicyVersionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// SetSecurityTokenServicePreferences provides a mock function with given fields: _a0 +func (_m *IAM) SetSecurityTokenServicePreferences(_a0 *iam.SetSecurityTokenServicePreferencesInput) (*iam.SetSecurityTokenServicePreferencesOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.SetSecurityTokenServicePreferencesOutput + if rf, ok := ret.Get(0).(func(*iam.SetSecurityTokenServicePreferencesInput) *iam.SetSecurityTokenServicePreferencesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.SetSecurityTokenServicePreferencesOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.SetSecurityTokenServicePreferencesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// SetSecurityTokenServicePreferencesRequest provides a mock function with given fields: _a0 +func (_m *IAM) SetSecurityTokenServicePreferencesRequest(_a0 *iam.SetSecurityTokenServicePreferencesInput) (*request.Request, *iam.SetSecurityTokenServicePreferencesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.SetSecurityTokenServicePreferencesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.SetSecurityTokenServicePreferencesOutput + if rf, ok := ret.Get(1).(func(*iam.SetSecurityTokenServicePreferencesInput) *iam.SetSecurityTokenServicePreferencesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.SetSecurityTokenServicePreferencesOutput) + } + } + + return r0, r1 +} + +// SetSecurityTokenServicePreferencesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) SetSecurityTokenServicePreferencesWithContext(_a0 context.Context, _a1 *iam.SetSecurityTokenServicePreferencesInput, _a2 ...request.Option) (*iam.SetSecurityTokenServicePreferencesOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.SetSecurityTokenServicePreferencesOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.SetSecurityTokenServicePreferencesInput, ...request.Option) *iam.SetSecurityTokenServicePreferencesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.SetSecurityTokenServicePreferencesOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.SetSecurityTokenServicePreferencesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// SimulateCustomPolicy provides a mock function with given fields: _a0 +func (_m *IAM) SimulateCustomPolicy(_a0 *iam.SimulateCustomPolicyInput) (*iam.SimulatePolicyResponse, error) { + ret := _m.Called(_a0) + + var r0 *iam.SimulatePolicyResponse + if rf, ok := ret.Get(0).(func(*iam.SimulateCustomPolicyInput) *iam.SimulatePolicyResponse); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.SimulatePolicyResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.SimulateCustomPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// SimulateCustomPolicyPages provides a mock function with given fields: _a0, _a1 +func (_m *IAM) SimulateCustomPolicyPages(_a0 *iam.SimulateCustomPolicyInput, _a1 func(*iam.SimulatePolicyResponse, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*iam.SimulateCustomPolicyInput, func(*iam.SimulatePolicyResponse, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// SimulateCustomPolicyPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *IAM) SimulateCustomPolicyPagesWithContext(_a0 context.Context, _a1 *iam.SimulateCustomPolicyInput, _a2 func(*iam.SimulatePolicyResponse, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulateCustomPolicyInput, func(*iam.SimulatePolicyResponse, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// SimulateCustomPolicyRequest provides a mock function with given fields: _a0 +func (_m *IAM) SimulateCustomPolicyRequest(_a0 *iam.SimulateCustomPolicyInput) (*request.Request, *iam.SimulatePolicyResponse) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.SimulateCustomPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.SimulatePolicyResponse + if rf, ok := ret.Get(1).(func(*iam.SimulateCustomPolicyInput) *iam.SimulatePolicyResponse); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.SimulatePolicyResponse) + } + } + + return r0, r1 +} + +// SimulateCustomPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) SimulateCustomPolicyWithContext(_a0 context.Context, _a1 *iam.SimulateCustomPolicyInput, _a2 ...request.Option) (*iam.SimulatePolicyResponse, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.SimulatePolicyResponse + if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulateCustomPolicyInput, ...request.Option) *iam.SimulatePolicyResponse); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.SimulatePolicyResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.SimulateCustomPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// SimulatePrincipalPolicy provides a mock function with given fields: _a0 +func (_m *IAM) SimulatePrincipalPolicy(_a0 *iam.SimulatePrincipalPolicyInput) (*iam.SimulatePolicyResponse, error) { + ret := _m.Called(_a0) + + var r0 *iam.SimulatePolicyResponse + if rf, ok := ret.Get(0).(func(*iam.SimulatePrincipalPolicyInput) *iam.SimulatePolicyResponse); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.SimulatePolicyResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.SimulatePrincipalPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// SimulatePrincipalPolicyPages provides a mock function with given fields: _a0, _a1 +func (_m *IAM) SimulatePrincipalPolicyPages(_a0 *iam.SimulatePrincipalPolicyInput, _a1 func(*iam.SimulatePolicyResponse, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*iam.SimulatePrincipalPolicyInput, func(*iam.SimulatePolicyResponse, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// SimulatePrincipalPolicyPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *IAM) SimulatePrincipalPolicyPagesWithContext(_a0 context.Context, _a1 *iam.SimulatePrincipalPolicyInput, _a2 func(*iam.SimulatePolicyResponse, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulatePrincipalPolicyInput, func(*iam.SimulatePolicyResponse, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// SimulatePrincipalPolicyRequest provides a mock function with given fields: _a0 +func (_m *IAM) SimulatePrincipalPolicyRequest(_a0 *iam.SimulatePrincipalPolicyInput) (*request.Request, *iam.SimulatePolicyResponse) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.SimulatePrincipalPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.SimulatePolicyResponse + if rf, ok := ret.Get(1).(func(*iam.SimulatePrincipalPolicyInput) *iam.SimulatePolicyResponse); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.SimulatePolicyResponse) + } + } + + return r0, r1 +} + +// SimulatePrincipalPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) SimulatePrincipalPolicyWithContext(_a0 context.Context, _a1 *iam.SimulatePrincipalPolicyInput, _a2 ...request.Option) (*iam.SimulatePolicyResponse, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.SimulatePolicyResponse + if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulatePrincipalPolicyInput, ...request.Option) *iam.SimulatePolicyResponse); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.SimulatePolicyResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.SimulatePrincipalPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagInstanceProfile provides a mock function with given fields: _a0 +func (_m *IAM) TagInstanceProfile(_a0 *iam.TagInstanceProfileInput) (*iam.TagInstanceProfileOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.TagInstanceProfileOutput + if rf, ok := ret.Get(0).(func(*iam.TagInstanceProfileInput) *iam.TagInstanceProfileOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagInstanceProfileOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.TagInstanceProfileInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagInstanceProfileRequest provides a mock function with given fields: _a0 +func (_m *IAM) TagInstanceProfileRequest(_a0 *iam.TagInstanceProfileInput) (*request.Request, *iam.TagInstanceProfileOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.TagInstanceProfileInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.TagInstanceProfileOutput + if rf, ok := ret.Get(1).(func(*iam.TagInstanceProfileInput) *iam.TagInstanceProfileOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.TagInstanceProfileOutput) + } + } + + return r0, r1 +} + +// TagInstanceProfileWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) TagInstanceProfileWithContext(_a0 context.Context, _a1 *iam.TagInstanceProfileInput, _a2 ...request.Option) (*iam.TagInstanceProfileOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.TagInstanceProfileOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagInstanceProfileInput, ...request.Option) *iam.TagInstanceProfileOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagInstanceProfileOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.TagInstanceProfileInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagMFADevice provides a mock function with given fields: _a0 +func (_m *IAM) TagMFADevice(_a0 *iam.TagMFADeviceInput) (*iam.TagMFADeviceOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.TagMFADeviceOutput + if rf, ok := ret.Get(0).(func(*iam.TagMFADeviceInput) *iam.TagMFADeviceOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagMFADeviceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.TagMFADeviceInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagMFADeviceRequest provides a mock function with given fields: _a0 +func (_m *IAM) TagMFADeviceRequest(_a0 *iam.TagMFADeviceInput) (*request.Request, *iam.TagMFADeviceOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.TagMFADeviceInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.TagMFADeviceOutput + if rf, ok := ret.Get(1).(func(*iam.TagMFADeviceInput) *iam.TagMFADeviceOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.TagMFADeviceOutput) + } + } + + return r0, r1 +} + +// TagMFADeviceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) TagMFADeviceWithContext(_a0 context.Context, _a1 *iam.TagMFADeviceInput, _a2 ...request.Option) (*iam.TagMFADeviceOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.TagMFADeviceOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagMFADeviceInput, ...request.Option) *iam.TagMFADeviceOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagMFADeviceOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.TagMFADeviceInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagOpenIDConnectProvider provides a mock function with given fields: _a0 +func (_m *IAM) TagOpenIDConnectProvider(_a0 *iam.TagOpenIDConnectProviderInput) (*iam.TagOpenIDConnectProviderOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.TagOpenIDConnectProviderOutput + if rf, ok := ret.Get(0).(func(*iam.TagOpenIDConnectProviderInput) *iam.TagOpenIDConnectProviderOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagOpenIDConnectProviderOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.TagOpenIDConnectProviderInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagOpenIDConnectProviderRequest provides a mock function with given fields: _a0 +func (_m *IAM) TagOpenIDConnectProviderRequest(_a0 *iam.TagOpenIDConnectProviderInput) (*request.Request, *iam.TagOpenIDConnectProviderOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.TagOpenIDConnectProviderInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.TagOpenIDConnectProviderOutput + if rf, ok := ret.Get(1).(func(*iam.TagOpenIDConnectProviderInput) *iam.TagOpenIDConnectProviderOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.TagOpenIDConnectProviderOutput) + } + } + + return r0, r1 +} + +// TagOpenIDConnectProviderWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) TagOpenIDConnectProviderWithContext(_a0 context.Context, _a1 *iam.TagOpenIDConnectProviderInput, _a2 ...request.Option) (*iam.TagOpenIDConnectProviderOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.TagOpenIDConnectProviderOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagOpenIDConnectProviderInput, ...request.Option) *iam.TagOpenIDConnectProviderOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagOpenIDConnectProviderOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.TagOpenIDConnectProviderInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagPolicy provides a mock function with given fields: _a0 +func (_m *IAM) TagPolicy(_a0 *iam.TagPolicyInput) (*iam.TagPolicyOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.TagPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.TagPolicyInput) *iam.TagPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagPolicyOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.TagPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagPolicyRequest provides a mock function with given fields: _a0 +func (_m *IAM) TagPolicyRequest(_a0 *iam.TagPolicyInput) (*request.Request, *iam.TagPolicyOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.TagPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.TagPolicyOutput + if rf, ok := ret.Get(1).(func(*iam.TagPolicyInput) *iam.TagPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.TagPolicyOutput) + } + } + + return r0, r1 +} + +// TagPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) TagPolicyWithContext(_a0 context.Context, _a1 *iam.TagPolicyInput, _a2 ...request.Option) (*iam.TagPolicyOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.TagPolicyOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagPolicyInput, ...request.Option) *iam.TagPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagPolicyOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.TagPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagRole provides a mock function with given fields: _a0 +func (_m *IAM) TagRole(_a0 *iam.TagRoleInput) (*iam.TagRoleOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.TagRoleOutput + if rf, ok := ret.Get(0).(func(*iam.TagRoleInput) *iam.TagRoleOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagRoleOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.TagRoleInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagRoleRequest provides a mock function with given fields: _a0 +func (_m *IAM) TagRoleRequest(_a0 *iam.TagRoleInput) (*request.Request, *iam.TagRoleOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.TagRoleInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.TagRoleOutput + if rf, ok := ret.Get(1).(func(*iam.TagRoleInput) *iam.TagRoleOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.TagRoleOutput) + } + } + + return r0, r1 +} + +// TagRoleWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) TagRoleWithContext(_a0 context.Context, _a1 *iam.TagRoleInput, _a2 ...request.Option) (*iam.TagRoleOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.TagRoleOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagRoleInput, ...request.Option) *iam.TagRoleOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagRoleOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.TagRoleInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagSAMLProvider provides a mock function with given fields: _a0 +func (_m *IAM) TagSAMLProvider(_a0 *iam.TagSAMLProviderInput) (*iam.TagSAMLProviderOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.TagSAMLProviderOutput + if rf, ok := ret.Get(0).(func(*iam.TagSAMLProviderInput) *iam.TagSAMLProviderOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagSAMLProviderOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.TagSAMLProviderInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagSAMLProviderRequest provides a mock function with given fields: _a0 +func (_m *IAM) TagSAMLProviderRequest(_a0 *iam.TagSAMLProviderInput) (*request.Request, *iam.TagSAMLProviderOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.TagSAMLProviderInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.TagSAMLProviderOutput + if rf, ok := ret.Get(1).(func(*iam.TagSAMLProviderInput) *iam.TagSAMLProviderOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.TagSAMLProviderOutput) + } + } + + return r0, r1 +} + +// TagSAMLProviderWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) TagSAMLProviderWithContext(_a0 context.Context, _a1 *iam.TagSAMLProviderInput, _a2 ...request.Option) (*iam.TagSAMLProviderOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.TagSAMLProviderOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagSAMLProviderInput, ...request.Option) *iam.TagSAMLProviderOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagSAMLProviderOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.TagSAMLProviderInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagServerCertificate provides a mock function with given fields: _a0 +func (_m *IAM) TagServerCertificate(_a0 *iam.TagServerCertificateInput) (*iam.TagServerCertificateOutput, error) { + ret := _m.Called(_a0) + + var r0 *iam.TagServerCertificateOutput + if rf, ok := ret.Get(0).(func(*iam.TagServerCertificateInput) *iam.TagServerCertificateOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagServerCertificateOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*iam.TagServerCertificateInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagServerCertificateRequest provides a mock function with given fields: _a0 +func (_m *IAM) TagServerCertificateRequest(_a0 *iam.TagServerCertificateInput) (*request.Request, *iam.TagServerCertificateOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*iam.TagServerCertificateInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *iam.TagServerCertificateOutput + if rf, ok := ret.Get(1).(func(*iam.TagServerCertificateInput) *iam.TagServerCertificateOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*iam.TagServerCertificateOutput) + } + } + + return r0, r1 +} + +// TagServerCertificateWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) TagServerCertificateWithContext(_a0 context.Context, _a1 *iam.TagServerCertificateInput, _a2 ...request.Option) (*iam.TagServerCertificateOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *iam.TagServerCertificateOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagServerCertificateInput, ...request.Option) *iam.TagServerCertificateOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*iam.TagServerCertificateOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *iam.TagServerCertificateInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// TagUser provides a mock function with given fields: _a0 +func (_m *IAM) TagUser(_a0 *iam.TagUserInput) (*iam.TagUserOutput, error) { ret := _m.Called(_a0) - var r0 *iam.ResyncMFADeviceOutput - if rf, ok := ret.Get(0).(func(*iam.ResyncMFADeviceInput) *iam.ResyncMFADeviceOutput); ok { + var r0 *iam.TagUserOutput + if rf, ok := ret.Get(0).(func(*iam.TagUserInput) *iam.TagUserOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.ResyncMFADeviceOutput) + r0 = ret.Get(0).(*iam.TagUserOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*iam.ResyncMFADeviceInput) error); ok { + if rf, ok := ret.Get(1).(func(*iam.TagUserInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -9771,12 +11280,12 @@ func (_m *IAM) ResyncMFADevice(_a0 *iam.ResyncMFADeviceInput) (*iam.ResyncMFADev return r0, r1 } -// ResyncMFADeviceRequest provides a mock function with given fields: _a0 -func (_m *IAM) ResyncMFADeviceRequest(_a0 *iam.ResyncMFADeviceInput) (*request.Request, *iam.ResyncMFADeviceOutput) { +// TagUserRequest provides a mock function with given fields: _a0 +func (_m *IAM) TagUserRequest(_a0 *iam.TagUserInput) (*request.Request, *iam.TagUserOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*iam.ResyncMFADeviceInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*iam.TagUserInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -9784,20 +11293,20 @@ func (_m *IAM) ResyncMFADeviceRequest(_a0 *iam.ResyncMFADeviceInput) (*request.R } } - var r1 *iam.ResyncMFADeviceOutput - if rf, ok := ret.Get(1).(func(*iam.ResyncMFADeviceInput) *iam.ResyncMFADeviceOutput); ok { + var r1 *iam.TagUserOutput + if rf, ok := ret.Get(1).(func(*iam.TagUserInput) *iam.TagUserOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*iam.ResyncMFADeviceOutput) + r1 = ret.Get(1).(*iam.TagUserOutput) } } return r0, r1 } -// ResyncMFADeviceWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *IAM) ResyncMFADeviceWithContext(_a0 context.Context, _a1 *iam.ResyncMFADeviceInput, _a2 ...request.Option) (*iam.ResyncMFADeviceOutput, error) { +// TagUserWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) TagUserWithContext(_a0 context.Context, _a1 *iam.TagUserInput, _a2 ...request.Option) (*iam.TagUserOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -9807,17 +11316,17 @@ func (_m *IAM) ResyncMFADeviceWithContext(_a0 context.Context, _a1 *iam.ResyncMF _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *iam.ResyncMFADeviceOutput - if rf, ok := ret.Get(0).(func(context.Context, *iam.ResyncMFADeviceInput, ...request.Option) *iam.ResyncMFADeviceOutput); ok { + var r0 *iam.TagUserOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagUserInput, ...request.Option) *iam.TagUserOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.ResyncMFADeviceOutput) + r0 = ret.Get(0).(*iam.TagUserOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *iam.ResyncMFADeviceInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *iam.TagUserInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -9826,21 +11335,21 @@ func (_m *IAM) ResyncMFADeviceWithContext(_a0 context.Context, _a1 *iam.ResyncMF return r0, r1 } -// SetDefaultPolicyVersion provides a mock function with given fields: _a0 -func (_m *IAM) SetDefaultPolicyVersion(_a0 *iam.SetDefaultPolicyVersionInput) (*iam.SetDefaultPolicyVersionOutput, error) { +// UntagInstanceProfile provides a mock function with given fields: _a0 +func (_m *IAM) UntagInstanceProfile(_a0 *iam.UntagInstanceProfileInput) (*iam.UntagInstanceProfileOutput, error) { ret := _m.Called(_a0) - var r0 *iam.SetDefaultPolicyVersionOutput - if rf, ok := ret.Get(0).(func(*iam.SetDefaultPolicyVersionInput) *iam.SetDefaultPolicyVersionOutput); ok { + var r0 *iam.UntagInstanceProfileOutput + if rf, ok := ret.Get(0).(func(*iam.UntagInstanceProfileInput) *iam.UntagInstanceProfileOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.SetDefaultPolicyVersionOutput) + r0 = ret.Get(0).(*iam.UntagInstanceProfileOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*iam.SetDefaultPolicyVersionInput) error); ok { + if rf, ok := ret.Get(1).(func(*iam.UntagInstanceProfileInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -9849,12 +11358,12 @@ func (_m *IAM) SetDefaultPolicyVersion(_a0 *iam.SetDefaultPolicyVersionInput) (* return r0, r1 } -// SetDefaultPolicyVersionRequest provides a mock function with given fields: _a0 -func (_m *IAM) SetDefaultPolicyVersionRequest(_a0 *iam.SetDefaultPolicyVersionInput) (*request.Request, *iam.SetDefaultPolicyVersionOutput) { +// UntagInstanceProfileRequest provides a mock function with given fields: _a0 +func (_m *IAM) UntagInstanceProfileRequest(_a0 *iam.UntagInstanceProfileInput) (*request.Request, *iam.UntagInstanceProfileOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*iam.SetDefaultPolicyVersionInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*iam.UntagInstanceProfileInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -9862,20 +11371,20 @@ func (_m *IAM) SetDefaultPolicyVersionRequest(_a0 *iam.SetDefaultPolicyVersionIn } } - var r1 *iam.SetDefaultPolicyVersionOutput - if rf, ok := ret.Get(1).(func(*iam.SetDefaultPolicyVersionInput) *iam.SetDefaultPolicyVersionOutput); ok { + var r1 *iam.UntagInstanceProfileOutput + if rf, ok := ret.Get(1).(func(*iam.UntagInstanceProfileInput) *iam.UntagInstanceProfileOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*iam.SetDefaultPolicyVersionOutput) + r1 = ret.Get(1).(*iam.UntagInstanceProfileOutput) } } return r0, r1 } -// SetDefaultPolicyVersionWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *IAM) SetDefaultPolicyVersionWithContext(_a0 context.Context, _a1 *iam.SetDefaultPolicyVersionInput, _a2 ...request.Option) (*iam.SetDefaultPolicyVersionOutput, error) { +// UntagInstanceProfileWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) UntagInstanceProfileWithContext(_a0 context.Context, _a1 *iam.UntagInstanceProfileInput, _a2 ...request.Option) (*iam.UntagInstanceProfileOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -9885,17 +11394,17 @@ func (_m *IAM) SetDefaultPolicyVersionWithContext(_a0 context.Context, _a1 *iam. _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *iam.SetDefaultPolicyVersionOutput - if rf, ok := ret.Get(0).(func(context.Context, *iam.SetDefaultPolicyVersionInput, ...request.Option) *iam.SetDefaultPolicyVersionOutput); ok { + var r0 *iam.UntagInstanceProfileOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagInstanceProfileInput, ...request.Option) *iam.UntagInstanceProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.SetDefaultPolicyVersionOutput) + r0 = ret.Get(0).(*iam.UntagInstanceProfileOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *iam.SetDefaultPolicyVersionInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagInstanceProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -9904,21 +11413,21 @@ func (_m *IAM) SetDefaultPolicyVersionWithContext(_a0 context.Context, _a1 *iam. return r0, r1 } -// SetSecurityTokenServicePreferences provides a mock function with given fields: _a0 -func (_m *IAM) SetSecurityTokenServicePreferences(_a0 *iam.SetSecurityTokenServicePreferencesInput) (*iam.SetSecurityTokenServicePreferencesOutput, error) { +// UntagMFADevice provides a mock function with given fields: _a0 +func (_m *IAM) UntagMFADevice(_a0 *iam.UntagMFADeviceInput) (*iam.UntagMFADeviceOutput, error) { ret := _m.Called(_a0) - var r0 *iam.SetSecurityTokenServicePreferencesOutput - if rf, ok := ret.Get(0).(func(*iam.SetSecurityTokenServicePreferencesInput) *iam.SetSecurityTokenServicePreferencesOutput); ok { + var r0 *iam.UntagMFADeviceOutput + if rf, ok := ret.Get(0).(func(*iam.UntagMFADeviceInput) *iam.UntagMFADeviceOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.SetSecurityTokenServicePreferencesOutput) + r0 = ret.Get(0).(*iam.UntagMFADeviceOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*iam.SetSecurityTokenServicePreferencesInput) error); ok { + if rf, ok := ret.Get(1).(func(*iam.UntagMFADeviceInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -9927,12 +11436,12 @@ func (_m *IAM) SetSecurityTokenServicePreferences(_a0 *iam.SetSecurityTokenServi return r0, r1 } -// SetSecurityTokenServicePreferencesRequest provides a mock function with given fields: _a0 -func (_m *IAM) SetSecurityTokenServicePreferencesRequest(_a0 *iam.SetSecurityTokenServicePreferencesInput) (*request.Request, *iam.SetSecurityTokenServicePreferencesOutput) { +// UntagMFADeviceRequest provides a mock function with given fields: _a0 +func (_m *IAM) UntagMFADeviceRequest(_a0 *iam.UntagMFADeviceInput) (*request.Request, *iam.UntagMFADeviceOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*iam.SetSecurityTokenServicePreferencesInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*iam.UntagMFADeviceInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -9940,20 +11449,20 @@ func (_m *IAM) SetSecurityTokenServicePreferencesRequest(_a0 *iam.SetSecurityTok } } - var r1 *iam.SetSecurityTokenServicePreferencesOutput - if rf, ok := ret.Get(1).(func(*iam.SetSecurityTokenServicePreferencesInput) *iam.SetSecurityTokenServicePreferencesOutput); ok { + var r1 *iam.UntagMFADeviceOutput + if rf, ok := ret.Get(1).(func(*iam.UntagMFADeviceInput) *iam.UntagMFADeviceOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*iam.SetSecurityTokenServicePreferencesOutput) + r1 = ret.Get(1).(*iam.UntagMFADeviceOutput) } } return r0, r1 } -// SetSecurityTokenServicePreferencesWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *IAM) SetSecurityTokenServicePreferencesWithContext(_a0 context.Context, _a1 *iam.SetSecurityTokenServicePreferencesInput, _a2 ...request.Option) (*iam.SetSecurityTokenServicePreferencesOutput, error) { +// UntagMFADeviceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) UntagMFADeviceWithContext(_a0 context.Context, _a1 *iam.UntagMFADeviceInput, _a2 ...request.Option) (*iam.UntagMFADeviceOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -9963,17 +11472,17 @@ func (_m *IAM) SetSecurityTokenServicePreferencesWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *iam.SetSecurityTokenServicePreferencesOutput - if rf, ok := ret.Get(0).(func(context.Context, *iam.SetSecurityTokenServicePreferencesInput, ...request.Option) *iam.SetSecurityTokenServicePreferencesOutput); ok { + var r0 *iam.UntagMFADeviceOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagMFADeviceInput, ...request.Option) *iam.UntagMFADeviceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.SetSecurityTokenServicePreferencesOutput) + r0 = ret.Get(0).(*iam.UntagMFADeviceOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *iam.SetSecurityTokenServicePreferencesInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagMFADeviceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -9982,21 +11491,21 @@ func (_m *IAM) SetSecurityTokenServicePreferencesWithContext(_a0 context.Context return r0, r1 } -// SimulateCustomPolicy provides a mock function with given fields: _a0 -func (_m *IAM) SimulateCustomPolicy(_a0 *iam.SimulateCustomPolicyInput) (*iam.SimulatePolicyResponse, error) { +// UntagOpenIDConnectProvider provides a mock function with given fields: _a0 +func (_m *IAM) UntagOpenIDConnectProvider(_a0 *iam.UntagOpenIDConnectProviderInput) (*iam.UntagOpenIDConnectProviderOutput, error) { ret := _m.Called(_a0) - var r0 *iam.SimulatePolicyResponse - if rf, ok := ret.Get(0).(func(*iam.SimulateCustomPolicyInput) *iam.SimulatePolicyResponse); ok { + var r0 *iam.UntagOpenIDConnectProviderOutput + if rf, ok := ret.Get(0).(func(*iam.UntagOpenIDConnectProviderInput) *iam.UntagOpenIDConnectProviderOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.SimulatePolicyResponse) + r0 = ret.Get(0).(*iam.UntagOpenIDConnectProviderOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*iam.SimulateCustomPolicyInput) error); ok { + if rf, ok := ret.Get(1).(func(*iam.UntagOpenIDConnectProviderInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -10005,47 +11514,12 @@ func (_m *IAM) SimulateCustomPolicy(_a0 *iam.SimulateCustomPolicyInput) (*iam.Si return r0, r1 } -// SimulateCustomPolicyPages provides a mock function with given fields: _a0, _a1 -func (_m *IAM) SimulateCustomPolicyPages(_a0 *iam.SimulateCustomPolicyInput, _a1 func(*iam.SimulatePolicyResponse, bool) bool) error { - ret := _m.Called(_a0, _a1) - - var r0 error - if rf, ok := ret.Get(0).(func(*iam.SimulateCustomPolicyInput, func(*iam.SimulatePolicyResponse, bool) bool) error); ok { - r0 = rf(_a0, _a1) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// SimulateCustomPolicyPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *IAM) SimulateCustomPolicyPagesWithContext(_a0 context.Context, _a1 *iam.SimulateCustomPolicyInput, _a2 func(*iam.SimulatePolicyResponse, bool) bool, _a3 ...request.Option) error { - _va := make([]interface{}, len(_a3)) - for _i := range _a3 { - _va[_i] = _a3[_i] - } - var _ca []interface{} - _ca = append(_ca, _a0, _a1, _a2) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - - var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulateCustomPolicyInput, func(*iam.SimulatePolicyResponse, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// SimulateCustomPolicyRequest provides a mock function with given fields: _a0 -func (_m *IAM) SimulateCustomPolicyRequest(_a0 *iam.SimulateCustomPolicyInput) (*request.Request, *iam.SimulatePolicyResponse) { +// UntagOpenIDConnectProviderRequest provides a mock function with given fields: _a0 +func (_m *IAM) UntagOpenIDConnectProviderRequest(_a0 *iam.UntagOpenIDConnectProviderInput) (*request.Request, *iam.UntagOpenIDConnectProviderOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*iam.SimulateCustomPolicyInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*iam.UntagOpenIDConnectProviderInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -10053,20 +11527,20 @@ func (_m *IAM) SimulateCustomPolicyRequest(_a0 *iam.SimulateCustomPolicyInput) ( } } - var r1 *iam.SimulatePolicyResponse - if rf, ok := ret.Get(1).(func(*iam.SimulateCustomPolicyInput) *iam.SimulatePolicyResponse); ok { + var r1 *iam.UntagOpenIDConnectProviderOutput + if rf, ok := ret.Get(1).(func(*iam.UntagOpenIDConnectProviderInput) *iam.UntagOpenIDConnectProviderOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*iam.SimulatePolicyResponse) + r1 = ret.Get(1).(*iam.UntagOpenIDConnectProviderOutput) } } return r0, r1 } -// SimulateCustomPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *IAM) SimulateCustomPolicyWithContext(_a0 context.Context, _a1 *iam.SimulateCustomPolicyInput, _a2 ...request.Option) (*iam.SimulatePolicyResponse, error) { +// UntagOpenIDConnectProviderWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) UntagOpenIDConnectProviderWithContext(_a0 context.Context, _a1 *iam.UntagOpenIDConnectProviderInput, _a2 ...request.Option) (*iam.UntagOpenIDConnectProviderOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -10076,17 +11550,17 @@ func (_m *IAM) SimulateCustomPolicyWithContext(_a0 context.Context, _a1 *iam.Sim _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *iam.SimulatePolicyResponse - if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulateCustomPolicyInput, ...request.Option) *iam.SimulatePolicyResponse); ok { + var r0 *iam.UntagOpenIDConnectProviderOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagOpenIDConnectProviderInput, ...request.Option) *iam.UntagOpenIDConnectProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.SimulatePolicyResponse) + r0 = ret.Get(0).(*iam.UntagOpenIDConnectProviderOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *iam.SimulateCustomPolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagOpenIDConnectProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -10095,21 +11569,21 @@ func (_m *IAM) SimulateCustomPolicyWithContext(_a0 context.Context, _a1 *iam.Sim return r0, r1 } -// SimulatePrincipalPolicy provides a mock function with given fields: _a0 -func (_m *IAM) SimulatePrincipalPolicy(_a0 *iam.SimulatePrincipalPolicyInput) (*iam.SimulatePolicyResponse, error) { +// UntagPolicy provides a mock function with given fields: _a0 +func (_m *IAM) UntagPolicy(_a0 *iam.UntagPolicyInput) (*iam.UntagPolicyOutput, error) { ret := _m.Called(_a0) - var r0 *iam.SimulatePolicyResponse - if rf, ok := ret.Get(0).(func(*iam.SimulatePrincipalPolicyInput) *iam.SimulatePolicyResponse); ok { + var r0 *iam.UntagPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.UntagPolicyInput) *iam.UntagPolicyOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.SimulatePolicyResponse) + r0 = ret.Get(0).(*iam.UntagPolicyOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*iam.SimulatePrincipalPolicyInput) error); ok { + if rf, ok := ret.Get(1).(func(*iam.UntagPolicyInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -10118,47 +11592,12 @@ func (_m *IAM) SimulatePrincipalPolicy(_a0 *iam.SimulatePrincipalPolicyInput) (* return r0, r1 } -// SimulatePrincipalPolicyPages provides a mock function with given fields: _a0, _a1 -func (_m *IAM) SimulatePrincipalPolicyPages(_a0 *iam.SimulatePrincipalPolicyInput, _a1 func(*iam.SimulatePolicyResponse, bool) bool) error { - ret := _m.Called(_a0, _a1) - - var r0 error - if rf, ok := ret.Get(0).(func(*iam.SimulatePrincipalPolicyInput, func(*iam.SimulatePolicyResponse, bool) bool) error); ok { - r0 = rf(_a0, _a1) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// SimulatePrincipalPolicyPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *IAM) SimulatePrincipalPolicyPagesWithContext(_a0 context.Context, _a1 *iam.SimulatePrincipalPolicyInput, _a2 func(*iam.SimulatePolicyResponse, bool) bool, _a3 ...request.Option) error { - _va := make([]interface{}, len(_a3)) - for _i := range _a3 { - _va[_i] = _a3[_i] - } - var _ca []interface{} - _ca = append(_ca, _a0, _a1, _a2) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - - var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulatePrincipalPolicyInput, func(*iam.SimulatePolicyResponse, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// SimulatePrincipalPolicyRequest provides a mock function with given fields: _a0 -func (_m *IAM) SimulatePrincipalPolicyRequest(_a0 *iam.SimulatePrincipalPolicyInput) (*request.Request, *iam.SimulatePolicyResponse) { +// UntagPolicyRequest provides a mock function with given fields: _a0 +func (_m *IAM) UntagPolicyRequest(_a0 *iam.UntagPolicyInput) (*request.Request, *iam.UntagPolicyOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*iam.SimulatePrincipalPolicyInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*iam.UntagPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -10166,20 +11605,20 @@ func (_m *IAM) SimulatePrincipalPolicyRequest(_a0 *iam.SimulatePrincipalPolicyIn } } - var r1 *iam.SimulatePolicyResponse - if rf, ok := ret.Get(1).(func(*iam.SimulatePrincipalPolicyInput) *iam.SimulatePolicyResponse); ok { + var r1 *iam.UntagPolicyOutput + if rf, ok := ret.Get(1).(func(*iam.UntagPolicyInput) *iam.UntagPolicyOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*iam.SimulatePolicyResponse) + r1 = ret.Get(1).(*iam.UntagPolicyOutput) } } return r0, r1 } -// SimulatePrincipalPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *IAM) SimulatePrincipalPolicyWithContext(_a0 context.Context, _a1 *iam.SimulatePrincipalPolicyInput, _a2 ...request.Option) (*iam.SimulatePolicyResponse, error) { +// UntagPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) UntagPolicyWithContext(_a0 context.Context, _a1 *iam.UntagPolicyInput, _a2 ...request.Option) (*iam.UntagPolicyOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -10189,17 +11628,17 @@ func (_m *IAM) SimulatePrincipalPolicyWithContext(_a0 context.Context, _a1 *iam. _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *iam.SimulatePolicyResponse - if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulatePrincipalPolicyInput, ...request.Option) *iam.SimulatePolicyResponse); ok { + var r0 *iam.UntagPolicyOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagPolicyInput, ...request.Option) *iam.UntagPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.SimulatePolicyResponse) + r0 = ret.Get(0).(*iam.UntagPolicyOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *iam.SimulatePrincipalPolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -10208,21 +11647,21 @@ func (_m *IAM) SimulatePrincipalPolicyWithContext(_a0 context.Context, _a1 *iam. return r0, r1 } -// TagRole provides a mock function with given fields: _a0 -func (_m *IAM) TagRole(_a0 *iam.TagRoleInput) (*iam.TagRoleOutput, error) { +// UntagRole provides a mock function with given fields: _a0 +func (_m *IAM) UntagRole(_a0 *iam.UntagRoleInput) (*iam.UntagRoleOutput, error) { ret := _m.Called(_a0) - var r0 *iam.TagRoleOutput - if rf, ok := ret.Get(0).(func(*iam.TagRoleInput) *iam.TagRoleOutput); ok { + var r0 *iam.UntagRoleOutput + if rf, ok := ret.Get(0).(func(*iam.UntagRoleInput) *iam.UntagRoleOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.TagRoleOutput) + r0 = ret.Get(0).(*iam.UntagRoleOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*iam.TagRoleInput) error); ok { + if rf, ok := ret.Get(1).(func(*iam.UntagRoleInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -10231,12 +11670,12 @@ func (_m *IAM) TagRole(_a0 *iam.TagRoleInput) (*iam.TagRoleOutput, error) { return r0, r1 } -// TagRoleRequest provides a mock function with given fields: _a0 -func (_m *IAM) TagRoleRequest(_a0 *iam.TagRoleInput) (*request.Request, *iam.TagRoleOutput) { +// UntagRoleRequest provides a mock function with given fields: _a0 +func (_m *IAM) UntagRoleRequest(_a0 *iam.UntagRoleInput) (*request.Request, *iam.UntagRoleOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*iam.TagRoleInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*iam.UntagRoleInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -10244,20 +11683,20 @@ func (_m *IAM) TagRoleRequest(_a0 *iam.TagRoleInput) (*request.Request, *iam.Tag } } - var r1 *iam.TagRoleOutput - if rf, ok := ret.Get(1).(func(*iam.TagRoleInput) *iam.TagRoleOutput); ok { + var r1 *iam.UntagRoleOutput + if rf, ok := ret.Get(1).(func(*iam.UntagRoleInput) *iam.UntagRoleOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*iam.TagRoleOutput) + r1 = ret.Get(1).(*iam.UntagRoleOutput) } } return r0, r1 } -// TagRoleWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *IAM) TagRoleWithContext(_a0 context.Context, _a1 *iam.TagRoleInput, _a2 ...request.Option) (*iam.TagRoleOutput, error) { +// UntagRoleWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) UntagRoleWithContext(_a0 context.Context, _a1 *iam.UntagRoleInput, _a2 ...request.Option) (*iam.UntagRoleOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -10267,17 +11706,17 @@ func (_m *IAM) TagRoleWithContext(_a0 context.Context, _a1 *iam.TagRoleInput, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *iam.TagRoleOutput - if rf, ok := ret.Get(0).(func(context.Context, *iam.TagRoleInput, ...request.Option) *iam.TagRoleOutput); ok { + var r0 *iam.UntagRoleOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagRoleInput, ...request.Option) *iam.UntagRoleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.TagRoleOutput) + r0 = ret.Get(0).(*iam.UntagRoleOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *iam.TagRoleInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagRoleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -10286,21 +11725,21 @@ func (_m *IAM) TagRoleWithContext(_a0 context.Context, _a1 *iam.TagRoleInput, _a return r0, r1 } -// TagUser provides a mock function with given fields: _a0 -func (_m *IAM) TagUser(_a0 *iam.TagUserInput) (*iam.TagUserOutput, error) { +// UntagSAMLProvider provides a mock function with given fields: _a0 +func (_m *IAM) UntagSAMLProvider(_a0 *iam.UntagSAMLProviderInput) (*iam.UntagSAMLProviderOutput, error) { ret := _m.Called(_a0) - var r0 *iam.TagUserOutput - if rf, ok := ret.Get(0).(func(*iam.TagUserInput) *iam.TagUserOutput); ok { + var r0 *iam.UntagSAMLProviderOutput + if rf, ok := ret.Get(0).(func(*iam.UntagSAMLProviderInput) *iam.UntagSAMLProviderOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.TagUserOutput) + r0 = ret.Get(0).(*iam.UntagSAMLProviderOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*iam.TagUserInput) error); ok { + if rf, ok := ret.Get(1).(func(*iam.UntagSAMLProviderInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -10309,12 +11748,12 @@ func (_m *IAM) TagUser(_a0 *iam.TagUserInput) (*iam.TagUserOutput, error) { return r0, r1 } -// TagUserRequest provides a mock function with given fields: _a0 -func (_m *IAM) TagUserRequest(_a0 *iam.TagUserInput) (*request.Request, *iam.TagUserOutput) { +// UntagSAMLProviderRequest provides a mock function with given fields: _a0 +func (_m *IAM) UntagSAMLProviderRequest(_a0 *iam.UntagSAMLProviderInput) (*request.Request, *iam.UntagSAMLProviderOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*iam.TagUserInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*iam.UntagSAMLProviderInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -10322,20 +11761,20 @@ func (_m *IAM) TagUserRequest(_a0 *iam.TagUserInput) (*request.Request, *iam.Tag } } - var r1 *iam.TagUserOutput - if rf, ok := ret.Get(1).(func(*iam.TagUserInput) *iam.TagUserOutput); ok { + var r1 *iam.UntagSAMLProviderOutput + if rf, ok := ret.Get(1).(func(*iam.UntagSAMLProviderInput) *iam.UntagSAMLProviderOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*iam.TagUserOutput) + r1 = ret.Get(1).(*iam.UntagSAMLProviderOutput) } } return r0, r1 } -// TagUserWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *IAM) TagUserWithContext(_a0 context.Context, _a1 *iam.TagUserInput, _a2 ...request.Option) (*iam.TagUserOutput, error) { +// UntagSAMLProviderWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) UntagSAMLProviderWithContext(_a0 context.Context, _a1 *iam.UntagSAMLProviderInput, _a2 ...request.Option) (*iam.UntagSAMLProviderOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -10345,17 +11784,17 @@ func (_m *IAM) TagUserWithContext(_a0 context.Context, _a1 *iam.TagUserInput, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *iam.TagUserOutput - if rf, ok := ret.Get(0).(func(context.Context, *iam.TagUserInput, ...request.Option) *iam.TagUserOutput); ok { + var r0 *iam.UntagSAMLProviderOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagSAMLProviderInput, ...request.Option) *iam.UntagSAMLProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.TagUserOutput) + r0 = ret.Get(0).(*iam.UntagSAMLProviderOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *iam.TagUserInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagSAMLProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -10364,21 +11803,21 @@ func (_m *IAM) TagUserWithContext(_a0 context.Context, _a1 *iam.TagUserInput, _a return r0, r1 } -// UntagRole provides a mock function with given fields: _a0 -func (_m *IAM) UntagRole(_a0 *iam.UntagRoleInput) (*iam.UntagRoleOutput, error) { +// UntagServerCertificate provides a mock function with given fields: _a0 +func (_m *IAM) UntagServerCertificate(_a0 *iam.UntagServerCertificateInput) (*iam.UntagServerCertificateOutput, error) { ret := _m.Called(_a0) - var r0 *iam.UntagRoleOutput - if rf, ok := ret.Get(0).(func(*iam.UntagRoleInput) *iam.UntagRoleOutput); ok { + var r0 *iam.UntagServerCertificateOutput + if rf, ok := ret.Get(0).(func(*iam.UntagServerCertificateInput) *iam.UntagServerCertificateOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.UntagRoleOutput) + r0 = ret.Get(0).(*iam.UntagServerCertificateOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*iam.UntagRoleInput) error); ok { + if rf, ok := ret.Get(1).(func(*iam.UntagServerCertificateInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -10387,12 +11826,12 @@ func (_m *IAM) UntagRole(_a0 *iam.UntagRoleInput) (*iam.UntagRoleOutput, error) return r0, r1 } -// UntagRoleRequest provides a mock function with given fields: _a0 -func (_m *IAM) UntagRoleRequest(_a0 *iam.UntagRoleInput) (*request.Request, *iam.UntagRoleOutput) { +// UntagServerCertificateRequest provides a mock function with given fields: _a0 +func (_m *IAM) UntagServerCertificateRequest(_a0 *iam.UntagServerCertificateInput) (*request.Request, *iam.UntagServerCertificateOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*iam.UntagRoleInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*iam.UntagServerCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -10400,20 +11839,20 @@ func (_m *IAM) UntagRoleRequest(_a0 *iam.UntagRoleInput) (*request.Request, *iam } } - var r1 *iam.UntagRoleOutput - if rf, ok := ret.Get(1).(func(*iam.UntagRoleInput) *iam.UntagRoleOutput); ok { + var r1 *iam.UntagServerCertificateOutput + if rf, ok := ret.Get(1).(func(*iam.UntagServerCertificateInput) *iam.UntagServerCertificateOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*iam.UntagRoleOutput) + r1 = ret.Get(1).(*iam.UntagServerCertificateOutput) } } return r0, r1 } -// UntagRoleWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *IAM) UntagRoleWithContext(_a0 context.Context, _a1 *iam.UntagRoleInput, _a2 ...request.Option) (*iam.UntagRoleOutput, error) { +// UntagServerCertificateWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *IAM) UntagServerCertificateWithContext(_a0 context.Context, _a1 *iam.UntagServerCertificateInput, _a2 ...request.Option) (*iam.UntagServerCertificateOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -10423,17 +11862,17 @@ func (_m *IAM) UntagRoleWithContext(_a0 context.Context, _a1 *iam.UntagRoleInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *iam.UntagRoleOutput - if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagRoleInput, ...request.Option) *iam.UntagRoleOutput); ok { + var r0 *iam.UntagServerCertificateOutput + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagServerCertificateInput, ...request.Option) *iam.UntagServerCertificateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*iam.UntagRoleOutput) + r0 = ret.Get(0).(*iam.UntagServerCertificateOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagRoleInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagServerCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -11985,3 +13424,18 @@ func (_m *IAM) WaitUntilUserExistsWithContext(_a0 context.Context, _a1 *iam.GetU return r0 } + +type mockConstructorTestingTNewIAM interface { + mock.TestingT + Cleanup(func()) +} + +// NewIAM creates a new instance of IAM. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewIAM(t mockConstructorTestingTNewIAM) *IAM { + mock := &IAM{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/awsiface/mocks/LambdaAPI.go b/pkg/awsiface/mocks/LambdaAPI.go index c6a8f7ea7..340127aa8 100755 --- a/pkg/awsiface/mocks/LambdaAPI.go +++ b/pkg/awsiface/mocks/LambdaAPI.go @@ -1,4 +1,4 @@ -// Code generated by mockery 2.7.4. DO NOT EDIT. +// Code generated by mockery v2.16.0. DO NOT EDIT. package mocks @@ -454,6 +454,84 @@ func (_m *LambdaAPI) CreateFunctionRequest(_a0 *lambda.CreateFunctionInput) (*re return r0, r1 } +// CreateFunctionUrlConfig provides a mock function with given fields: _a0 +func (_m *LambdaAPI) CreateFunctionUrlConfig(_a0 *lambda.CreateFunctionUrlConfigInput) (*lambda.CreateFunctionUrlConfigOutput, error) { + ret := _m.Called(_a0) + + var r0 *lambda.CreateFunctionUrlConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionUrlConfigInput) *lambda.CreateFunctionUrlConfigOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.CreateFunctionUrlConfigOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*lambda.CreateFunctionUrlConfigInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateFunctionUrlConfigRequest provides a mock function with given fields: _a0 +func (_m *LambdaAPI) CreateFunctionUrlConfigRequest(_a0 *lambda.CreateFunctionUrlConfigInput) (*request.Request, *lambda.CreateFunctionUrlConfigOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionUrlConfigInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *lambda.CreateFunctionUrlConfigOutput + if rf, ok := ret.Get(1).(func(*lambda.CreateFunctionUrlConfigInput) *lambda.CreateFunctionUrlConfigOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*lambda.CreateFunctionUrlConfigOutput) + } + } + + return r0, r1 +} + +// CreateFunctionUrlConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *LambdaAPI) CreateFunctionUrlConfigWithContext(_a0 context.Context, _a1 *lambda.CreateFunctionUrlConfigInput, _a2 ...request.Option) (*lambda.CreateFunctionUrlConfigOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *lambda.CreateFunctionUrlConfigOutput + if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateFunctionUrlConfigInput, ...request.Option) *lambda.CreateFunctionUrlConfigOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.CreateFunctionUrlConfigOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *lambda.CreateFunctionUrlConfigInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateFunctionWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *LambdaAPI) CreateFunctionWithContext(_a0 context.Context, _a1 *lambda.CreateFunctionInput, _a2 ...request.Option) (*lambda.FunctionConfiguration, error) { _va := make([]interface{}, len(_a2)) @@ -1000,6 +1078,84 @@ func (_m *LambdaAPI) DeleteFunctionRequest(_a0 *lambda.DeleteFunctionInput) (*re return r0, r1 } +// DeleteFunctionUrlConfig provides a mock function with given fields: _a0 +func (_m *LambdaAPI) DeleteFunctionUrlConfig(_a0 *lambda.DeleteFunctionUrlConfigInput) (*lambda.DeleteFunctionUrlConfigOutput, error) { + ret := _m.Called(_a0) + + var r0 *lambda.DeleteFunctionUrlConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionUrlConfigInput) *lambda.DeleteFunctionUrlConfigOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.DeleteFunctionUrlConfigOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*lambda.DeleteFunctionUrlConfigInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteFunctionUrlConfigRequest provides a mock function with given fields: _a0 +func (_m *LambdaAPI) DeleteFunctionUrlConfigRequest(_a0 *lambda.DeleteFunctionUrlConfigInput) (*request.Request, *lambda.DeleteFunctionUrlConfigOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionUrlConfigInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *lambda.DeleteFunctionUrlConfigOutput + if rf, ok := ret.Get(1).(func(*lambda.DeleteFunctionUrlConfigInput) *lambda.DeleteFunctionUrlConfigOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*lambda.DeleteFunctionUrlConfigOutput) + } + } + + return r0, r1 +} + +// DeleteFunctionUrlConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *LambdaAPI) DeleteFunctionUrlConfigWithContext(_a0 context.Context, _a1 *lambda.DeleteFunctionUrlConfigInput, _a2 ...request.Option) (*lambda.DeleteFunctionUrlConfigOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *lambda.DeleteFunctionUrlConfigOutput + if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionUrlConfigInput, ...request.Option) *lambda.DeleteFunctionUrlConfigOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.DeleteFunctionUrlConfigOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *lambda.DeleteFunctionUrlConfigInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteFunctionWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *LambdaAPI) DeleteFunctionWithContext(_a0 context.Context, _a1 *lambda.DeleteFunctionInput, _a2 ...request.Option) (*lambda.DeleteFunctionOutput, error) { _va := make([]interface{}, len(_a2)) @@ -1858,6 +2014,84 @@ func (_m *LambdaAPI) GetFunctionRequest(_a0 *lambda.GetFunctionInput) (*request. return r0, r1 } +// GetFunctionUrlConfig provides a mock function with given fields: _a0 +func (_m *LambdaAPI) GetFunctionUrlConfig(_a0 *lambda.GetFunctionUrlConfigInput) (*lambda.GetFunctionUrlConfigOutput, error) { + ret := _m.Called(_a0) + + var r0 *lambda.GetFunctionUrlConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionUrlConfigInput) *lambda.GetFunctionUrlConfigOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.GetFunctionUrlConfigOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*lambda.GetFunctionUrlConfigInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetFunctionUrlConfigRequest provides a mock function with given fields: _a0 +func (_m *LambdaAPI) GetFunctionUrlConfigRequest(_a0 *lambda.GetFunctionUrlConfigInput) (*request.Request, *lambda.GetFunctionUrlConfigOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionUrlConfigInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *lambda.GetFunctionUrlConfigOutput + if rf, ok := ret.Get(1).(func(*lambda.GetFunctionUrlConfigInput) *lambda.GetFunctionUrlConfigOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*lambda.GetFunctionUrlConfigOutput) + } + } + + return r0, r1 +} + +// GetFunctionUrlConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *LambdaAPI) GetFunctionUrlConfigWithContext(_a0 context.Context, _a1 *lambda.GetFunctionUrlConfigInput, _a2 ...request.Option) (*lambda.GetFunctionUrlConfigOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *lambda.GetFunctionUrlConfigOutput + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionUrlConfigInput, ...request.Option) *lambda.GetFunctionUrlConfigOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.GetFunctionUrlConfigOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetFunctionUrlConfigInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // GetFunctionWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *LambdaAPI) GetFunctionWithContext(_a0 context.Context, _a1 *lambda.GetFunctionInput, _a2 ...request.Option) (*lambda.GetFunctionOutput, error) { _va := make([]interface{}, len(_a2)) @@ -2886,6 +3120,119 @@ func (_m *LambdaAPI) ListFunctionEventInvokeConfigsWithContext(_a0 context.Conte return r0, r1 } +// ListFunctionUrlConfigs provides a mock function with given fields: _a0 +func (_m *LambdaAPI) ListFunctionUrlConfigs(_a0 *lambda.ListFunctionUrlConfigsInput) (*lambda.ListFunctionUrlConfigsOutput, error) { + ret := _m.Called(_a0) + + var r0 *lambda.ListFunctionUrlConfigsOutput + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionUrlConfigsInput) *lambda.ListFunctionUrlConfigsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.ListFunctionUrlConfigsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*lambda.ListFunctionUrlConfigsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListFunctionUrlConfigsPages provides a mock function with given fields: _a0, _a1 +func (_m *LambdaAPI) ListFunctionUrlConfigsPages(_a0 *lambda.ListFunctionUrlConfigsInput, _a1 func(*lambda.ListFunctionUrlConfigsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionUrlConfigsInput, func(*lambda.ListFunctionUrlConfigsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListFunctionUrlConfigsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *LambdaAPI) ListFunctionUrlConfigsPagesWithContext(_a0 context.Context, _a1 *lambda.ListFunctionUrlConfigsInput, _a2 func(*lambda.ListFunctionUrlConfigsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionUrlConfigsInput, func(*lambda.ListFunctionUrlConfigsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListFunctionUrlConfigsRequest provides a mock function with given fields: _a0 +func (_m *LambdaAPI) ListFunctionUrlConfigsRequest(_a0 *lambda.ListFunctionUrlConfigsInput) (*request.Request, *lambda.ListFunctionUrlConfigsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionUrlConfigsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *lambda.ListFunctionUrlConfigsOutput + if rf, ok := ret.Get(1).(func(*lambda.ListFunctionUrlConfigsInput) *lambda.ListFunctionUrlConfigsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*lambda.ListFunctionUrlConfigsOutput) + } + } + + return r0, r1 +} + +// ListFunctionUrlConfigsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *LambdaAPI) ListFunctionUrlConfigsWithContext(_a0 context.Context, _a1 *lambda.ListFunctionUrlConfigsInput, _a2 ...request.Option) (*lambda.ListFunctionUrlConfigsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *lambda.ListFunctionUrlConfigsOutput + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionUrlConfigsInput, ...request.Option) *lambda.ListFunctionUrlConfigsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.ListFunctionUrlConfigsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *lambda.ListFunctionUrlConfigsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListFunctions provides a mock function with given fields: _a0 func (_m *LambdaAPI) ListFunctions(_a0 *lambda.ListFunctionsInput) (*lambda.ListFunctionsOutput, error) { ret := _m.Called(_a0) @@ -4890,6 +5237,84 @@ func (_m *LambdaAPI) UpdateFunctionEventInvokeConfigWithContext(_a0 context.Cont return r0, r1 } +// UpdateFunctionUrlConfig provides a mock function with given fields: _a0 +func (_m *LambdaAPI) UpdateFunctionUrlConfig(_a0 *lambda.UpdateFunctionUrlConfigInput) (*lambda.UpdateFunctionUrlConfigOutput, error) { + ret := _m.Called(_a0) + + var r0 *lambda.UpdateFunctionUrlConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionUrlConfigInput) *lambda.UpdateFunctionUrlConfigOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.UpdateFunctionUrlConfigOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*lambda.UpdateFunctionUrlConfigInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateFunctionUrlConfigRequest provides a mock function with given fields: _a0 +func (_m *LambdaAPI) UpdateFunctionUrlConfigRequest(_a0 *lambda.UpdateFunctionUrlConfigInput) (*request.Request, *lambda.UpdateFunctionUrlConfigOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionUrlConfigInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *lambda.UpdateFunctionUrlConfigOutput + if rf, ok := ret.Get(1).(func(*lambda.UpdateFunctionUrlConfigInput) *lambda.UpdateFunctionUrlConfigOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*lambda.UpdateFunctionUrlConfigOutput) + } + } + + return r0, r1 +} + +// UpdateFunctionUrlConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *LambdaAPI) UpdateFunctionUrlConfigWithContext(_a0 context.Context, _a1 *lambda.UpdateFunctionUrlConfigInput, _a2 ...request.Option) (*lambda.UpdateFunctionUrlConfigOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *lambda.UpdateFunctionUrlConfigOutput + if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateFunctionUrlConfigInput, ...request.Option) *lambda.UpdateFunctionUrlConfigOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.UpdateFunctionUrlConfigOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *lambda.UpdateFunctionUrlConfigInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // WaitUntilFunctionActive provides a mock function with given fields: _a0 func (_m *LambdaAPI) WaitUntilFunctionActive(_a0 *lambda.GetFunctionConfigurationInput) error { ret := _m.Called(_a0) @@ -4904,6 +5329,41 @@ func (_m *LambdaAPI) WaitUntilFunctionActive(_a0 *lambda.GetFunctionConfiguratio return r0 } +// WaitUntilFunctionActiveV2 provides a mock function with given fields: _a0 +func (_m *LambdaAPI) WaitUntilFunctionActiveV2(_a0 *lambda.GetFunctionInput) error { + ret := _m.Called(_a0) + + var r0 error + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionInput) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// WaitUntilFunctionActiveV2WithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *LambdaAPI) WaitUntilFunctionActiveV2WithContext(_a0 context.Context, _a1 *lambda.GetFunctionInput, _a2 ...request.WaiterOption) error { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionInput, ...request.WaiterOption) error); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // WaitUntilFunctionActiveWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *LambdaAPI) WaitUntilFunctionActiveWithContext(_a0 context.Context, _a1 *lambda.GetFunctionConfigurationInput, _a2 ...request.WaiterOption) error { _va := make([]interface{}, len(_a2)) @@ -4974,6 +5434,41 @@ func (_m *LambdaAPI) WaitUntilFunctionUpdated(_a0 *lambda.GetFunctionConfigurati return r0 } +// WaitUntilFunctionUpdatedV2 provides a mock function with given fields: _a0 +func (_m *LambdaAPI) WaitUntilFunctionUpdatedV2(_a0 *lambda.GetFunctionInput) error { + ret := _m.Called(_a0) + + var r0 error + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionInput) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// WaitUntilFunctionUpdatedV2WithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *LambdaAPI) WaitUntilFunctionUpdatedV2WithContext(_a0 context.Context, _a1 *lambda.GetFunctionInput, _a2 ...request.WaiterOption) error { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionInput, ...request.WaiterOption) error); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // WaitUntilFunctionUpdatedWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *LambdaAPI) WaitUntilFunctionUpdatedWithContext(_a0 context.Context, _a1 *lambda.GetFunctionConfigurationInput, _a2 ...request.WaiterOption) error { _va := make([]interface{}, len(_a2)) @@ -4994,3 +5489,53 @@ func (_m *LambdaAPI) WaitUntilFunctionUpdatedWithContext(_a0 context.Context, _a return r0 } + +// WaitUntilPublishedVersionActive provides a mock function with given fields: _a0 +func (_m *LambdaAPI) WaitUntilPublishedVersionActive(_a0 *lambda.GetFunctionConfigurationInput) error { + ret := _m.Called(_a0) + + var r0 error + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConfigurationInput) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// WaitUntilPublishedVersionActiveWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *LambdaAPI) WaitUntilPublishedVersionActiveWithContext(_a0 context.Context, _a1 *lambda.GetFunctionConfigurationInput, _a2 ...request.WaiterOption) error { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionConfigurationInput, ...request.WaiterOption) error); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +type mockConstructorTestingTNewLambdaAPI interface { + mock.TestingT + Cleanup(func()) +} + +// NewLambdaAPI creates a new instance of LambdaAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewLambdaAPI(t mockConstructorTestingTNewLambdaAPI) *LambdaAPI { + mock := &LambdaAPI{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/awsiface/mocks/SNSAPI.go b/pkg/awsiface/mocks/SNSAPI.go index 6c5f94ea3..d403f291b 100644 --- a/pkg/awsiface/mocks/SNSAPI.go +++ b/pkg/awsiface/mocks/SNSAPI.go @@ -1,4 +1,4 @@ -// Code generated by mockery 2.7.4. DO NOT EDIT. +// Code generated by mockery v2.16.0. DO NOT EDIT. package mocks @@ -406,6 +406,84 @@ func (_m *SNSAPI) CreatePlatformEndpointWithContext(_a0 context.Context, _a1 *sn return r0, r1 } +// CreateSMSSandboxPhoneNumber provides a mock function with given fields: _a0 +func (_m *SNSAPI) CreateSMSSandboxPhoneNumber(_a0 *sns.CreateSMSSandboxPhoneNumberInput) (*sns.CreateSMSSandboxPhoneNumberOutput, error) { + ret := _m.Called(_a0) + + var r0 *sns.CreateSMSSandboxPhoneNumberOutput + if rf, ok := ret.Get(0).(func(*sns.CreateSMSSandboxPhoneNumberInput) *sns.CreateSMSSandboxPhoneNumberOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.CreateSMSSandboxPhoneNumberOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*sns.CreateSMSSandboxPhoneNumberInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateSMSSandboxPhoneNumberRequest provides a mock function with given fields: _a0 +func (_m *SNSAPI) CreateSMSSandboxPhoneNumberRequest(_a0 *sns.CreateSMSSandboxPhoneNumberInput) (*request.Request, *sns.CreateSMSSandboxPhoneNumberOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*sns.CreateSMSSandboxPhoneNumberInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *sns.CreateSMSSandboxPhoneNumberOutput + if rf, ok := ret.Get(1).(func(*sns.CreateSMSSandboxPhoneNumberInput) *sns.CreateSMSSandboxPhoneNumberOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sns.CreateSMSSandboxPhoneNumberOutput) + } + } + + return r0, r1 +} + +// CreateSMSSandboxPhoneNumberWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SNSAPI) CreateSMSSandboxPhoneNumberWithContext(_a0 context.Context, _a1 *sns.CreateSMSSandboxPhoneNumberInput, _a2 ...request.Option) (*sns.CreateSMSSandboxPhoneNumberOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *sns.CreateSMSSandboxPhoneNumberOutput + if rf, ok := ret.Get(0).(func(context.Context, *sns.CreateSMSSandboxPhoneNumberInput, ...request.Option) *sns.CreateSMSSandboxPhoneNumberOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.CreateSMSSandboxPhoneNumberOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *sns.CreateSMSSandboxPhoneNumberInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateTopic provides a mock function with given fields: _a0 func (_m *SNSAPI) CreateTopic(_a0 *sns.CreateTopicInput) (*sns.CreateTopicOutput, error) { ret := _m.Called(_a0) @@ -640,6 +718,84 @@ func (_m *SNSAPI) DeletePlatformApplicationWithContext(_a0 context.Context, _a1 return r0, r1 } +// DeleteSMSSandboxPhoneNumber provides a mock function with given fields: _a0 +func (_m *SNSAPI) DeleteSMSSandboxPhoneNumber(_a0 *sns.DeleteSMSSandboxPhoneNumberInput) (*sns.DeleteSMSSandboxPhoneNumberOutput, error) { + ret := _m.Called(_a0) + + var r0 *sns.DeleteSMSSandboxPhoneNumberOutput + if rf, ok := ret.Get(0).(func(*sns.DeleteSMSSandboxPhoneNumberInput) *sns.DeleteSMSSandboxPhoneNumberOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.DeleteSMSSandboxPhoneNumberOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*sns.DeleteSMSSandboxPhoneNumberInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteSMSSandboxPhoneNumberRequest provides a mock function with given fields: _a0 +func (_m *SNSAPI) DeleteSMSSandboxPhoneNumberRequest(_a0 *sns.DeleteSMSSandboxPhoneNumberInput) (*request.Request, *sns.DeleteSMSSandboxPhoneNumberOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*sns.DeleteSMSSandboxPhoneNumberInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *sns.DeleteSMSSandboxPhoneNumberOutput + if rf, ok := ret.Get(1).(func(*sns.DeleteSMSSandboxPhoneNumberInput) *sns.DeleteSMSSandboxPhoneNumberOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sns.DeleteSMSSandboxPhoneNumberOutput) + } + } + + return r0, r1 +} + +// DeleteSMSSandboxPhoneNumberWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SNSAPI) DeleteSMSSandboxPhoneNumberWithContext(_a0 context.Context, _a1 *sns.DeleteSMSSandboxPhoneNumberInput, _a2 ...request.Option) (*sns.DeleteSMSSandboxPhoneNumberOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *sns.DeleteSMSSandboxPhoneNumberOutput + if rf, ok := ret.Get(0).(func(context.Context, *sns.DeleteSMSSandboxPhoneNumberInput, ...request.Option) *sns.DeleteSMSSandboxPhoneNumberOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.DeleteSMSSandboxPhoneNumberOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *sns.DeleteSMSSandboxPhoneNumberInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteTopic provides a mock function with given fields: _a0 func (_m *SNSAPI) DeleteTopic(_a0 *sns.DeleteTopicInput) (*sns.DeleteTopicOutput, error) { ret := _m.Called(_a0) @@ -718,6 +874,84 @@ func (_m *SNSAPI) DeleteTopicWithContext(_a0 context.Context, _a1 *sns.DeleteTop return r0, r1 } +// GetDataProtectionPolicy provides a mock function with given fields: _a0 +func (_m *SNSAPI) GetDataProtectionPolicy(_a0 *sns.GetDataProtectionPolicyInput) (*sns.GetDataProtectionPolicyOutput, error) { + ret := _m.Called(_a0) + + var r0 *sns.GetDataProtectionPolicyOutput + if rf, ok := ret.Get(0).(func(*sns.GetDataProtectionPolicyInput) *sns.GetDataProtectionPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.GetDataProtectionPolicyOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*sns.GetDataProtectionPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetDataProtectionPolicyRequest provides a mock function with given fields: _a0 +func (_m *SNSAPI) GetDataProtectionPolicyRequest(_a0 *sns.GetDataProtectionPolicyInput) (*request.Request, *sns.GetDataProtectionPolicyOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*sns.GetDataProtectionPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *sns.GetDataProtectionPolicyOutput + if rf, ok := ret.Get(1).(func(*sns.GetDataProtectionPolicyInput) *sns.GetDataProtectionPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sns.GetDataProtectionPolicyOutput) + } + } + + return r0, r1 +} + +// GetDataProtectionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SNSAPI) GetDataProtectionPolicyWithContext(_a0 context.Context, _a1 *sns.GetDataProtectionPolicyInput, _a2 ...request.Option) (*sns.GetDataProtectionPolicyOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *sns.GetDataProtectionPolicyOutput + if rf, ok := ret.Get(0).(func(context.Context, *sns.GetDataProtectionPolicyInput, ...request.Option) *sns.GetDataProtectionPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.GetDataProtectionPolicyOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *sns.GetDataProtectionPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // GetEndpointAttributes provides a mock function with given fields: _a0 func (_m *SNSAPI) GetEndpointAttributes(_a0 *sns.GetEndpointAttributesInput) (*sns.GetEndpointAttributesOutput, error) { ret := _m.Called(_a0) @@ -952,6 +1186,84 @@ func (_m *SNSAPI) GetSMSAttributesWithContext(_a0 context.Context, _a1 *sns.GetS return r0, r1 } +// GetSMSSandboxAccountStatus provides a mock function with given fields: _a0 +func (_m *SNSAPI) GetSMSSandboxAccountStatus(_a0 *sns.GetSMSSandboxAccountStatusInput) (*sns.GetSMSSandboxAccountStatusOutput, error) { + ret := _m.Called(_a0) + + var r0 *sns.GetSMSSandboxAccountStatusOutput + if rf, ok := ret.Get(0).(func(*sns.GetSMSSandboxAccountStatusInput) *sns.GetSMSSandboxAccountStatusOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.GetSMSSandboxAccountStatusOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*sns.GetSMSSandboxAccountStatusInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetSMSSandboxAccountStatusRequest provides a mock function with given fields: _a0 +func (_m *SNSAPI) GetSMSSandboxAccountStatusRequest(_a0 *sns.GetSMSSandboxAccountStatusInput) (*request.Request, *sns.GetSMSSandboxAccountStatusOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*sns.GetSMSSandboxAccountStatusInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *sns.GetSMSSandboxAccountStatusOutput + if rf, ok := ret.Get(1).(func(*sns.GetSMSSandboxAccountStatusInput) *sns.GetSMSSandboxAccountStatusOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sns.GetSMSSandboxAccountStatusOutput) + } + } + + return r0, r1 +} + +// GetSMSSandboxAccountStatusWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SNSAPI) GetSMSSandboxAccountStatusWithContext(_a0 context.Context, _a1 *sns.GetSMSSandboxAccountStatusInput, _a2 ...request.Option) (*sns.GetSMSSandboxAccountStatusOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *sns.GetSMSSandboxAccountStatusOutput + if rf, ok := ret.Get(0).(func(context.Context, *sns.GetSMSSandboxAccountStatusInput, ...request.Option) *sns.GetSMSSandboxAccountStatusOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.GetSMSSandboxAccountStatusOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *sns.GetSMSSandboxAccountStatusInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // GetSubscriptionAttributes provides a mock function with given fields: _a0 func (_m *SNSAPI) GetSubscriptionAttributes(_a0 *sns.GetSubscriptionAttributesInput) (*sns.GetSubscriptionAttributesOutput, error) { ret := _m.Called(_a0) @@ -1221,6 +1533,119 @@ func (_m *SNSAPI) ListEndpointsByPlatformApplicationWithContext(_a0 context.Cont return r0, r1 } +// ListOriginationNumbers provides a mock function with given fields: _a0 +func (_m *SNSAPI) ListOriginationNumbers(_a0 *sns.ListOriginationNumbersInput) (*sns.ListOriginationNumbersOutput, error) { + ret := _m.Called(_a0) + + var r0 *sns.ListOriginationNumbersOutput + if rf, ok := ret.Get(0).(func(*sns.ListOriginationNumbersInput) *sns.ListOriginationNumbersOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.ListOriginationNumbersOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*sns.ListOriginationNumbersInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListOriginationNumbersPages provides a mock function with given fields: _a0, _a1 +func (_m *SNSAPI) ListOriginationNumbersPages(_a0 *sns.ListOriginationNumbersInput, _a1 func(*sns.ListOriginationNumbersOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*sns.ListOriginationNumbersInput, func(*sns.ListOriginationNumbersOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListOriginationNumbersPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *SNSAPI) ListOriginationNumbersPagesWithContext(_a0 context.Context, _a1 *sns.ListOriginationNumbersInput, _a2 func(*sns.ListOriginationNumbersOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListOriginationNumbersInput, func(*sns.ListOriginationNumbersOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListOriginationNumbersRequest provides a mock function with given fields: _a0 +func (_m *SNSAPI) ListOriginationNumbersRequest(_a0 *sns.ListOriginationNumbersInput) (*request.Request, *sns.ListOriginationNumbersOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*sns.ListOriginationNumbersInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *sns.ListOriginationNumbersOutput + if rf, ok := ret.Get(1).(func(*sns.ListOriginationNumbersInput) *sns.ListOriginationNumbersOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sns.ListOriginationNumbersOutput) + } + } + + return r0, r1 +} + +// ListOriginationNumbersWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SNSAPI) ListOriginationNumbersWithContext(_a0 context.Context, _a1 *sns.ListOriginationNumbersInput, _a2 ...request.Option) (*sns.ListOriginationNumbersOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *sns.ListOriginationNumbersOutput + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListOriginationNumbersInput, ...request.Option) *sns.ListOriginationNumbersOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.ListOriginationNumbersOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *sns.ListOriginationNumbersInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListPhoneNumbersOptedOut provides a mock function with given fields: _a0 func (_m *SNSAPI) ListPhoneNumbersOptedOut(_a0 *sns.ListPhoneNumbersOptedOutInput) (*sns.ListPhoneNumbersOptedOutOutput, error) { ret := _m.Called(_a0) @@ -1234,22 +1659,170 @@ func (_m *SNSAPI) ListPhoneNumbersOptedOut(_a0 *sns.ListPhoneNumbersOptedOutInpu } } - var r1 error - if rf, ok := ret.Get(1).(func(*sns.ListPhoneNumbersOptedOutInput) error); ok { - r1 = rf(_a0) + var r1 error + if rf, ok := ret.Get(1).(func(*sns.ListPhoneNumbersOptedOutInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListPhoneNumbersOptedOutPages provides a mock function with given fields: _a0, _a1 +func (_m *SNSAPI) ListPhoneNumbersOptedOutPages(_a0 *sns.ListPhoneNumbersOptedOutInput, _a1 func(*sns.ListPhoneNumbersOptedOutOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*sns.ListPhoneNumbersOptedOutInput, func(*sns.ListPhoneNumbersOptedOutOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListPhoneNumbersOptedOutPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *SNSAPI) ListPhoneNumbersOptedOutPagesWithContext(_a0 context.Context, _a1 *sns.ListPhoneNumbersOptedOutInput, _a2 func(*sns.ListPhoneNumbersOptedOutOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListPhoneNumbersOptedOutInput, func(*sns.ListPhoneNumbersOptedOutOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListPhoneNumbersOptedOutRequest provides a mock function with given fields: _a0 +func (_m *SNSAPI) ListPhoneNumbersOptedOutRequest(_a0 *sns.ListPhoneNumbersOptedOutInput) (*request.Request, *sns.ListPhoneNumbersOptedOutOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*sns.ListPhoneNumbersOptedOutInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *sns.ListPhoneNumbersOptedOutOutput + if rf, ok := ret.Get(1).(func(*sns.ListPhoneNumbersOptedOutInput) *sns.ListPhoneNumbersOptedOutOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sns.ListPhoneNumbersOptedOutOutput) + } + } + + return r0, r1 +} + +// ListPhoneNumbersOptedOutWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SNSAPI) ListPhoneNumbersOptedOutWithContext(_a0 context.Context, _a1 *sns.ListPhoneNumbersOptedOutInput, _a2 ...request.Option) (*sns.ListPhoneNumbersOptedOutOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *sns.ListPhoneNumbersOptedOutOutput + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListPhoneNumbersOptedOutInput, ...request.Option) *sns.ListPhoneNumbersOptedOutOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.ListPhoneNumbersOptedOutOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *sns.ListPhoneNumbersOptedOutInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListPlatformApplications provides a mock function with given fields: _a0 +func (_m *SNSAPI) ListPlatformApplications(_a0 *sns.ListPlatformApplicationsInput) (*sns.ListPlatformApplicationsOutput, error) { + ret := _m.Called(_a0) + + var r0 *sns.ListPlatformApplicationsOutput + if rf, ok := ret.Get(0).(func(*sns.ListPlatformApplicationsInput) *sns.ListPlatformApplicationsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.ListPlatformApplicationsOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*sns.ListPlatformApplicationsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListPlatformApplicationsPages provides a mock function with given fields: _a0, _a1 +func (_m *SNSAPI) ListPlatformApplicationsPages(_a0 *sns.ListPlatformApplicationsInput, _a1 func(*sns.ListPlatformApplicationsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*sns.ListPlatformApplicationsInput, func(*sns.ListPlatformApplicationsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListPlatformApplicationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *SNSAPI) ListPlatformApplicationsPagesWithContext(_a0 context.Context, _a1 *sns.ListPlatformApplicationsInput, _a2 func(*sns.ListPlatformApplicationsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListPlatformApplicationsInput, func(*sns.ListPlatformApplicationsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) } else { - r1 = ret.Error(1) + r0 = ret.Error(0) } - return r0, r1 + return r0 } -// ListPhoneNumbersOptedOutRequest provides a mock function with given fields: _a0 -func (_m *SNSAPI) ListPhoneNumbersOptedOutRequest(_a0 *sns.ListPhoneNumbersOptedOutInput) (*request.Request, *sns.ListPhoneNumbersOptedOutOutput) { +// ListPlatformApplicationsRequest provides a mock function with given fields: _a0 +func (_m *SNSAPI) ListPlatformApplicationsRequest(_a0 *sns.ListPlatformApplicationsInput) (*request.Request, *sns.ListPlatformApplicationsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*sns.ListPhoneNumbersOptedOutInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*sns.ListPlatformApplicationsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1257,20 +1830,20 @@ func (_m *SNSAPI) ListPhoneNumbersOptedOutRequest(_a0 *sns.ListPhoneNumbersOpted } } - var r1 *sns.ListPhoneNumbersOptedOutOutput - if rf, ok := ret.Get(1).(func(*sns.ListPhoneNumbersOptedOutInput) *sns.ListPhoneNumbersOptedOutOutput); ok { + var r1 *sns.ListPlatformApplicationsOutput + if rf, ok := ret.Get(1).(func(*sns.ListPlatformApplicationsInput) *sns.ListPlatformApplicationsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*sns.ListPhoneNumbersOptedOutOutput) + r1 = ret.Get(1).(*sns.ListPlatformApplicationsOutput) } } return r0, r1 } -// ListPhoneNumbersOptedOutWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *SNSAPI) ListPhoneNumbersOptedOutWithContext(_a0 context.Context, _a1 *sns.ListPhoneNumbersOptedOutInput, _a2 ...request.Option) (*sns.ListPhoneNumbersOptedOutOutput, error) { +// ListPlatformApplicationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SNSAPI) ListPlatformApplicationsWithContext(_a0 context.Context, _a1 *sns.ListPlatformApplicationsInput, _a2 ...request.Option) (*sns.ListPlatformApplicationsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1280,17 +1853,17 @@ func (_m *SNSAPI) ListPhoneNumbersOptedOutWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *sns.ListPhoneNumbersOptedOutOutput - if rf, ok := ret.Get(0).(func(context.Context, *sns.ListPhoneNumbersOptedOutInput, ...request.Option) *sns.ListPhoneNumbersOptedOutOutput); ok { + var r0 *sns.ListPlatformApplicationsOutput + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListPlatformApplicationsInput, ...request.Option) *sns.ListPlatformApplicationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sns.ListPhoneNumbersOptedOutOutput) + r0 = ret.Get(0).(*sns.ListPlatformApplicationsOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *sns.ListPhoneNumbersOptedOutInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *sns.ListPlatformApplicationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1299,21 +1872,21 @@ func (_m *SNSAPI) ListPhoneNumbersOptedOutWithContext(_a0 context.Context, _a1 * return r0, r1 } -// ListPlatformApplications provides a mock function with given fields: _a0 -func (_m *SNSAPI) ListPlatformApplications(_a0 *sns.ListPlatformApplicationsInput) (*sns.ListPlatformApplicationsOutput, error) { +// ListSMSSandboxPhoneNumbers provides a mock function with given fields: _a0 +func (_m *SNSAPI) ListSMSSandboxPhoneNumbers(_a0 *sns.ListSMSSandboxPhoneNumbersInput) (*sns.ListSMSSandboxPhoneNumbersOutput, error) { ret := _m.Called(_a0) - var r0 *sns.ListPlatformApplicationsOutput - if rf, ok := ret.Get(0).(func(*sns.ListPlatformApplicationsInput) *sns.ListPlatformApplicationsOutput); ok { + var r0 *sns.ListSMSSandboxPhoneNumbersOutput + if rf, ok := ret.Get(0).(func(*sns.ListSMSSandboxPhoneNumbersInput) *sns.ListSMSSandboxPhoneNumbersOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sns.ListPlatformApplicationsOutput) + r0 = ret.Get(0).(*sns.ListSMSSandboxPhoneNumbersOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(*sns.ListPlatformApplicationsInput) error); ok { + if rf, ok := ret.Get(1).(func(*sns.ListSMSSandboxPhoneNumbersInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1322,12 +1895,12 @@ func (_m *SNSAPI) ListPlatformApplications(_a0 *sns.ListPlatformApplicationsInpu return r0, r1 } -// ListPlatformApplicationsPages provides a mock function with given fields: _a0, _a1 -func (_m *SNSAPI) ListPlatformApplicationsPages(_a0 *sns.ListPlatformApplicationsInput, _a1 func(*sns.ListPlatformApplicationsOutput, bool) bool) error { +// ListSMSSandboxPhoneNumbersPages provides a mock function with given fields: _a0, _a1 +func (_m *SNSAPI) ListSMSSandboxPhoneNumbersPages(_a0 *sns.ListSMSSandboxPhoneNumbersInput, _a1 func(*sns.ListSMSSandboxPhoneNumbersOutput, bool) bool) error { ret := _m.Called(_a0, _a1) var r0 error - if rf, ok := ret.Get(0).(func(*sns.ListPlatformApplicationsInput, func(*sns.ListPlatformApplicationsOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*sns.ListSMSSandboxPhoneNumbersInput, func(*sns.ListSMSSandboxPhoneNumbersOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -1336,8 +1909,8 @@ func (_m *SNSAPI) ListPlatformApplicationsPages(_a0 *sns.ListPlatformApplication return r0 } -// ListPlatformApplicationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *SNSAPI) ListPlatformApplicationsPagesWithContext(_a0 context.Context, _a1 *sns.ListPlatformApplicationsInput, _a2 func(*sns.ListPlatformApplicationsOutput, bool) bool, _a3 ...request.Option) error { +// ListSMSSandboxPhoneNumbersPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *SNSAPI) ListSMSSandboxPhoneNumbersPagesWithContext(_a0 context.Context, _a1 *sns.ListSMSSandboxPhoneNumbersInput, _a2 func(*sns.ListSMSSandboxPhoneNumbersOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -1348,7 +1921,7 @@ func (_m *SNSAPI) ListPlatformApplicationsPagesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *sns.ListPlatformApplicationsInput, func(*sns.ListPlatformApplicationsOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListSMSSandboxPhoneNumbersInput, func(*sns.ListSMSSandboxPhoneNumbersOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -1357,12 +1930,12 @@ func (_m *SNSAPI) ListPlatformApplicationsPagesWithContext(_a0 context.Context, return r0 } -// ListPlatformApplicationsRequest provides a mock function with given fields: _a0 -func (_m *SNSAPI) ListPlatformApplicationsRequest(_a0 *sns.ListPlatformApplicationsInput) (*request.Request, *sns.ListPlatformApplicationsOutput) { +// ListSMSSandboxPhoneNumbersRequest provides a mock function with given fields: _a0 +func (_m *SNSAPI) ListSMSSandboxPhoneNumbersRequest(_a0 *sns.ListSMSSandboxPhoneNumbersInput) (*request.Request, *sns.ListSMSSandboxPhoneNumbersOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*sns.ListPlatformApplicationsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*sns.ListSMSSandboxPhoneNumbersInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1370,20 +1943,20 @@ func (_m *SNSAPI) ListPlatformApplicationsRequest(_a0 *sns.ListPlatformApplicati } } - var r1 *sns.ListPlatformApplicationsOutput - if rf, ok := ret.Get(1).(func(*sns.ListPlatformApplicationsInput) *sns.ListPlatformApplicationsOutput); ok { + var r1 *sns.ListSMSSandboxPhoneNumbersOutput + if rf, ok := ret.Get(1).(func(*sns.ListSMSSandboxPhoneNumbersInput) *sns.ListSMSSandboxPhoneNumbersOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*sns.ListPlatformApplicationsOutput) + r1 = ret.Get(1).(*sns.ListSMSSandboxPhoneNumbersOutput) } } return r0, r1 } -// ListPlatformApplicationsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *SNSAPI) ListPlatformApplicationsWithContext(_a0 context.Context, _a1 *sns.ListPlatformApplicationsInput, _a2 ...request.Option) (*sns.ListPlatformApplicationsOutput, error) { +// ListSMSSandboxPhoneNumbersWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SNSAPI) ListSMSSandboxPhoneNumbersWithContext(_a0 context.Context, _a1 *sns.ListSMSSandboxPhoneNumbersInput, _a2 ...request.Option) (*sns.ListSMSSandboxPhoneNumbersOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1393,17 +1966,17 @@ func (_m *SNSAPI) ListPlatformApplicationsWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *sns.ListPlatformApplicationsOutput - if rf, ok := ret.Get(0).(func(context.Context, *sns.ListPlatformApplicationsInput, ...request.Option) *sns.ListPlatformApplicationsOutput); ok { + var r0 *sns.ListSMSSandboxPhoneNumbersOutput + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListSMSSandboxPhoneNumbersInput, ...request.Option) *sns.ListSMSSandboxPhoneNumbersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sns.ListPlatformApplicationsOutput) + r0 = ret.Get(0).(*sns.ListSMSSandboxPhoneNumbersOutput) } } var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *sns.ListPlatformApplicationsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *sns.ListSMSSandboxPhoneNumbersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1930,6 +2503,84 @@ func (_m *SNSAPI) Publish(_a0 *sns.PublishInput) (*sns.PublishOutput, error) { return r0, r1 } +// PublishBatch provides a mock function with given fields: _a0 +func (_m *SNSAPI) PublishBatch(_a0 *sns.PublishBatchInput) (*sns.PublishBatchOutput, error) { + ret := _m.Called(_a0) + + var r0 *sns.PublishBatchOutput + if rf, ok := ret.Get(0).(func(*sns.PublishBatchInput) *sns.PublishBatchOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.PublishBatchOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*sns.PublishBatchInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PublishBatchRequest provides a mock function with given fields: _a0 +func (_m *SNSAPI) PublishBatchRequest(_a0 *sns.PublishBatchInput) (*request.Request, *sns.PublishBatchOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*sns.PublishBatchInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *sns.PublishBatchOutput + if rf, ok := ret.Get(1).(func(*sns.PublishBatchInput) *sns.PublishBatchOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sns.PublishBatchOutput) + } + } + + return r0, r1 +} + +// PublishBatchWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SNSAPI) PublishBatchWithContext(_a0 context.Context, _a1 *sns.PublishBatchInput, _a2 ...request.Option) (*sns.PublishBatchOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *sns.PublishBatchOutput + if rf, ok := ret.Get(0).(func(context.Context, *sns.PublishBatchInput, ...request.Option) *sns.PublishBatchOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.PublishBatchOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *sns.PublishBatchInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // PublishRequest provides a mock function with given fields: _a0 func (_m *SNSAPI) PublishRequest(_a0 *sns.PublishInput) (*request.Request, *sns.PublishOutput) { ret := _m.Called(_a0) @@ -1985,6 +2636,84 @@ func (_m *SNSAPI) PublishWithContext(_a0 context.Context, _a1 *sns.PublishInput, return r0, r1 } +// PutDataProtectionPolicy provides a mock function with given fields: _a0 +func (_m *SNSAPI) PutDataProtectionPolicy(_a0 *sns.PutDataProtectionPolicyInput) (*sns.PutDataProtectionPolicyOutput, error) { + ret := _m.Called(_a0) + + var r0 *sns.PutDataProtectionPolicyOutput + if rf, ok := ret.Get(0).(func(*sns.PutDataProtectionPolicyInput) *sns.PutDataProtectionPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.PutDataProtectionPolicyOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*sns.PutDataProtectionPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PutDataProtectionPolicyRequest provides a mock function with given fields: _a0 +func (_m *SNSAPI) PutDataProtectionPolicyRequest(_a0 *sns.PutDataProtectionPolicyInput) (*request.Request, *sns.PutDataProtectionPolicyOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*sns.PutDataProtectionPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *sns.PutDataProtectionPolicyOutput + if rf, ok := ret.Get(1).(func(*sns.PutDataProtectionPolicyInput) *sns.PutDataProtectionPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sns.PutDataProtectionPolicyOutput) + } + } + + return r0, r1 +} + +// PutDataProtectionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SNSAPI) PutDataProtectionPolicyWithContext(_a0 context.Context, _a1 *sns.PutDataProtectionPolicyInput, _a2 ...request.Option) (*sns.PutDataProtectionPolicyOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *sns.PutDataProtectionPolicyOutput + if rf, ok := ret.Get(0).(func(context.Context, *sns.PutDataProtectionPolicyInput, ...request.Option) *sns.PutDataProtectionPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.PutDataProtectionPolicyOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *sns.PutDataProtectionPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // RemovePermission provides a mock function with given fields: _a0 func (_m *SNSAPI) RemovePermission(_a0 *sns.RemovePermissionInput) (*sns.RemovePermissionOutput, error) { ret := _m.Called(_a0) @@ -2764,3 +3493,96 @@ func (_m *SNSAPI) UntagResourceWithContext(_a0 context.Context, _a1 *sns.UntagRe return r0, r1 } + +// VerifySMSSandboxPhoneNumber provides a mock function with given fields: _a0 +func (_m *SNSAPI) VerifySMSSandboxPhoneNumber(_a0 *sns.VerifySMSSandboxPhoneNumberInput) (*sns.VerifySMSSandboxPhoneNumberOutput, error) { + ret := _m.Called(_a0) + + var r0 *sns.VerifySMSSandboxPhoneNumberOutput + if rf, ok := ret.Get(0).(func(*sns.VerifySMSSandboxPhoneNumberInput) *sns.VerifySMSSandboxPhoneNumberOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.VerifySMSSandboxPhoneNumberOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(*sns.VerifySMSSandboxPhoneNumberInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// VerifySMSSandboxPhoneNumberRequest provides a mock function with given fields: _a0 +func (_m *SNSAPI) VerifySMSSandboxPhoneNumberRequest(_a0 *sns.VerifySMSSandboxPhoneNumberInput) (*request.Request, *sns.VerifySMSSandboxPhoneNumberOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + if rf, ok := ret.Get(0).(func(*sns.VerifySMSSandboxPhoneNumberInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + var r1 *sns.VerifySMSSandboxPhoneNumberOutput + if rf, ok := ret.Get(1).(func(*sns.VerifySMSSandboxPhoneNumberInput) *sns.VerifySMSSandboxPhoneNumberOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sns.VerifySMSSandboxPhoneNumberOutput) + } + } + + return r0, r1 +} + +// VerifySMSSandboxPhoneNumberWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SNSAPI) VerifySMSSandboxPhoneNumberWithContext(_a0 context.Context, _a1 *sns.VerifySMSSandboxPhoneNumberInput, _a2 ...request.Option) (*sns.VerifySMSSandboxPhoneNumberOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *sns.VerifySMSSandboxPhoneNumberOutput + if rf, ok := ret.Get(0).(func(context.Context, *sns.VerifySMSSandboxPhoneNumberInput, ...request.Option) *sns.VerifySMSSandboxPhoneNumberOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.VerifySMSSandboxPhoneNumberOutput) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *sns.VerifySMSSandboxPhoneNumberInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +type mockConstructorTestingTNewSNSAPI interface { + mock.TestingT + Cleanup(func()) +} + +// NewSNSAPI creates a new instance of SNSAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewSNSAPI(t mockConstructorTestingTNewSNSAPI) *SNSAPI { + mock := &SNSAPI{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/config/mocks/ConfigurationBuildBuilder.go b/pkg/config/mocks/ConfigurationBuildBuilder.go new file mode 100644 index 000000000..f12f5457b --- /dev/null +++ b/pkg/config/mocks/ConfigurationBuildBuilder.go @@ -0,0 +1,39 @@ +// Code generated by mockery v2.16.0. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// ConfigurationBuildBuilder is an autogenerated mock type for the ConfigurationBuildBuilder type +type ConfigurationBuildBuilder struct { + mock.Mock +} + +// Build provides a mock function with given fields: +func (_m *ConfigurationBuildBuilder) Build() error { + ret := _m.Called() + + var r0 error + if rf, ok := ret.Get(0).(func() error); ok { + r0 = rf() + } else { + r0 = ret.Error(0) + } + + return r0 +} + +type mockConstructorTestingTNewConfigurationBuildBuilder interface { + mock.TestingT + Cleanup(func()) +} + +// NewConfigurationBuildBuilder creates a new instance of ConfigurationBuildBuilder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewConfigurationBuildBuilder(t mockConstructorTestingTNewConfigurationBuildBuilder) *ConfigurationBuildBuilder { + mock := &ConfigurationBuildBuilder{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/config/mocks/ConfigurationBuilder.go b/pkg/config/mocks/ConfigurationBuilder.go new file mode 100644 index 000000000..1c2f64dd2 --- /dev/null +++ b/pkg/config/mocks/ConfigurationBuilder.go @@ -0,0 +1,207 @@ +// Code generated by mockery v2.16.0. DO NOT EDIT. + +package mocks + +import ( + config "github.com/Optum/dce/pkg/config" + + mock "github.com/stretchr/testify/mock" +) + +// ConfigurationBuilder is an autogenerated mock type for the ConfigurationBuilder type +type ConfigurationBuilder struct { + mock.Mock +} + +// Build provides a mock function with given fields: +func (_m *ConfigurationBuilder) Build() error { + ret := _m.Called() + + var r0 error + if rf, ok := ret.Get(0).(func() error); ok { + r0 = rf() + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// Dump provides a mock function with given fields: cfgStruct +func (_m *ConfigurationBuilder) Dump(cfgStruct interface{}) error { + ret := _m.Called(cfgStruct) + + var r0 error + if rf, ok := ret.Get(0).(func(interface{}) error); ok { + r0 = rf(cfgStruct) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetService provides a mock function with given fields: svcFor +func (_m *ConfigurationBuilder) GetService(svcFor interface{}) error { + ret := _m.Called(svcFor) + + var r0 error + if rf, ok := ret.Get(0).(func(interface{}) error); ok { + r0 = rf(svcFor) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetStringVal provides a mock function with given fields: key +func (_m *ConfigurationBuilder) GetStringVal(key string) (string, error) { + ret := _m.Called(key) + + var r0 string + if rf, ok := ret.Get(0).(func(string) string); ok { + r0 = rf(key) + } else { + r0 = ret.Get(0).(string) + } + + var r1 error + if rf, ok := ret.Get(1).(func(string) error); ok { + r1 = rf(key) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetVal provides a mock function with given fields: key +func (_m *ConfigurationBuilder) GetVal(key string) (interface{}, error) { + ret := _m.Called(key) + + var r0 interface{} + if rf, ok := ret.Get(0).(func(string) interface{}); ok { + r0 = rf(key) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(interface{}) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(string) error); ok { + r1 = rf(key) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RetrieveParameterStoreVals provides a mock function with given fields: +func (_m *ConfigurationBuilder) RetrieveParameterStoreVals() error { + ret := _m.Called() + + var r0 error + if rf, ok := ret.Get(0).(func() error); ok { + r0 = rf() + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// Unmarshal provides a mock function with given fields: cfgStruct +func (_m *ConfigurationBuilder) Unmarshal(cfgStruct interface{}) error { + ret := _m.Called(cfgStruct) + + var r0 error + if rf, ok := ret.Get(0).(func(interface{}) error); ok { + r0 = rf(cfgStruct) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// WithEnv provides a mock function with given fields: key, envVar, defaultValue +func (_m *ConfigurationBuilder) WithEnv(key string, envVar string, defaultValue interface{}) *config.ConfigurationBuilder { + ret := _m.Called(key, envVar, defaultValue) + + var r0 *config.ConfigurationBuilder + if rf, ok := ret.Get(0).(func(string, string, interface{}) *config.ConfigurationBuilder); ok { + r0 = rf(key, envVar, defaultValue) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*config.ConfigurationBuilder) + } + } + + return r0 +} + +// WithParameterStoreEnv provides a mock function with given fields: key, envVar, defaultValue +func (_m *ConfigurationBuilder) WithParameterStoreEnv(key string, envVar string, defaultValue string) *config.ConfigurationBuilder { + ret := _m.Called(key, envVar, defaultValue) + + var r0 *config.ConfigurationBuilder + if rf, ok := ret.Get(0).(func(string, string, string) *config.ConfigurationBuilder); ok { + r0 = rf(key, envVar, defaultValue) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*config.ConfigurationBuilder) + } + } + + return r0 +} + +// WithService provides a mock function with given fields: svc +func (_m *ConfigurationBuilder) WithService(svc interface{}) *config.ConfigurationBuilder { + ret := _m.Called(svc) + + var r0 *config.ConfigurationBuilder + if rf, ok := ret.Get(0).(func(interface{}) *config.ConfigurationBuilder); ok { + r0 = rf(svc) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*config.ConfigurationBuilder) + } + } + + return r0 +} + +// WithVal provides a mock function with given fields: key, val +func (_m *ConfigurationBuilder) WithVal(key string, val interface{}) *config.ConfigurationBuilder { + ret := _m.Called(key, val) + + var r0 *config.ConfigurationBuilder + if rf, ok := ret.Get(0).(func(string, interface{}) *config.ConfigurationBuilder); ok { + r0 = rf(key, val) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*config.ConfigurationBuilder) + } + } + + return r0 +} + +type mockConstructorTestingTNewConfigurationBuilder interface { + mock.TestingT + Cleanup(func()) +} + +// NewConfigurationBuilder creates a new instance of ConfigurationBuilder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewConfigurationBuilder(t mockConstructorTestingTNewConfigurationBuilder) *ConfigurationBuilder { + mock := &ConfigurationBuilder{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/config/mocks/ServiceBuilder.go b/pkg/config/mocks/ServiceBuilder.go new file mode 100644 index 000000000..d537d6b32 --- /dev/null +++ b/pkg/config/mocks/ServiceBuilder.go @@ -0,0 +1,180 @@ +// Code generated by mockery v2.16.0. DO NOT EDIT. + +package mocks + +import ( + config "github.com/Optum/dce/pkg/config" + + mock "github.com/stretchr/testify/mock" +) + +// ServiceBuilder is an autogenerated mock type for the ServiceBuilder type +type ServiceBuilder struct { + mock.Mock +} + +// Build provides a mock function with given fields: +func (_m *ServiceBuilder) Build() (*config.ConfigurationBuilder, error) { + ret := _m.Called() + + var r0 *config.ConfigurationBuilder + if rf, ok := ret.Get(0).(func() *config.ConfigurationBuilder); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*config.ConfigurationBuilder) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func() error); ok { + r1 = rf() + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// WithCodeBuild provides a mock function with given fields: +func (_m *ServiceBuilder) WithCodeBuild() *config.ServiceBuilder { + ret := _m.Called() + + var r0 *config.ServiceBuilder + if rf, ok := ret.Get(0).(func() *config.ServiceBuilder); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*config.ServiceBuilder) + } + } + + return r0 +} + +// WithCognito provides a mock function with given fields: +func (_m *ServiceBuilder) WithCognito() *config.ServiceBuilder { + ret := _m.Called() + + var r0 *config.ServiceBuilder + if rf, ok := ret.Get(0).(func() *config.ServiceBuilder); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*config.ServiceBuilder) + } + } + + return r0 +} + +// WithDynamoDB provides a mock function with given fields: +func (_m *ServiceBuilder) WithDynamoDB() *config.ServiceBuilder { + ret := _m.Called() + + var r0 *config.ServiceBuilder + if rf, ok := ret.Get(0).(func() *config.ServiceBuilder); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*config.ServiceBuilder) + } + } + + return r0 +} + +// WithS3 provides a mock function with given fields: +func (_m *ServiceBuilder) WithS3() *config.ServiceBuilder { + ret := _m.Called() + + var r0 *config.ServiceBuilder + if rf, ok := ret.Get(0).(func() *config.ServiceBuilder); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*config.ServiceBuilder) + } + } + + return r0 +} + +// WithSNS provides a mock function with given fields: +func (_m *ServiceBuilder) WithSNS() *config.ServiceBuilder { + ret := _m.Called() + + var r0 *config.ServiceBuilder + if rf, ok := ret.Get(0).(func() *config.ServiceBuilder); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*config.ServiceBuilder) + } + } + + return r0 +} + +// WithSQS provides a mock function with given fields: +func (_m *ServiceBuilder) WithSQS() *config.ServiceBuilder { + ret := _m.Called() + + var r0 *config.ServiceBuilder + if rf, ok := ret.Get(0).(func() *config.ServiceBuilder); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*config.ServiceBuilder) + } + } + + return r0 +} + +// WithSSM provides a mock function with given fields: +func (_m *ServiceBuilder) WithSSM() *config.ServiceBuilder { + ret := _m.Called() + + var r0 *config.ServiceBuilder + if rf, ok := ret.Get(0).(func() *config.ServiceBuilder); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*config.ServiceBuilder) + } + } + + return r0 +} + +// WithSTS provides a mock function with given fields: +func (_m *ServiceBuilder) WithSTS() *config.ServiceBuilder { + ret := _m.Called() + + var r0 *config.ServiceBuilder + if rf, ok := ret.Get(0).(func() *config.ServiceBuilder); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*config.ServiceBuilder) + } + } + + return r0 +} + +type mockConstructorTestingTNewServiceBuilder interface { + mock.TestingT + Cleanup(func()) +} + +// NewServiceBuilder creates a new instance of ServiceBuilder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewServiceBuilder(t mockConstructorTestingTNewServiceBuilder) *ServiceBuilder { + mock := &ServiceBuilder{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/config/mocks/createrFunc.go b/pkg/config/mocks/createrFunc.go new file mode 100644 index 000000000..31760297d --- /dev/null +++ b/pkg/config/mocks/createrFunc.go @@ -0,0 +1,42 @@ +// Code generated by mockery v2.16.0. DO NOT EDIT. + +package mocks + +import ( + config "github.com/Optum/dce/pkg/config" + mock "github.com/stretchr/testify/mock" +) + +// createrFunc is an autogenerated mock type for the createrFunc type +type createrFunc struct { + mock.Mock +} + +// Execute provides a mock function with given fields: _a0 +func (_m *createrFunc) Execute(_a0 config.ConfigurationServiceBuilder) error { + ret := _m.Called(_a0) + + var r0 error + if rf, ok := ret.Get(0).(func(config.ConfigurationServiceBuilder) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +type mockConstructorTestingTnewCreaterFunc interface { + mock.TestingT + Cleanup(func()) +} + +// newCreaterFunc creates a new instance of createrFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newCreaterFunc(t mockConstructorTestingTnewCreaterFunc) *createrFunc { + mock := &createrFunc{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/event/mocks/Servicer.go b/pkg/event/mocks/Servicer.go new file mode 100644 index 000000000..3181f461d --- /dev/null +++ b/pkg/event/mocks/Servicer.go @@ -0,0 +1,129 @@ +// Code generated by mockery v2.16.0. DO NOT EDIT. + +package mocks + +import ( + account "github.com/Optum/dce/pkg/account" + + lease "github.com/Optum/dce/pkg/lease" + + mock "github.com/stretchr/testify/mock" +) + +// Servicer is an autogenerated mock type for the Servicer type +type Servicer struct { + mock.Mock +} + +// AccountCreate provides a mock function with given fields: data +func (_m *Servicer) AccountCreate(data *account.Account) error { + ret := _m.Called(data) + + var r0 error + if rf, ok := ret.Get(0).(func(*account.Account) error); ok { + r0 = rf(data) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// AccountDelete provides a mock function with given fields: data +func (_m *Servicer) AccountDelete(data *account.Account) error { + ret := _m.Called(data) + + var r0 error + if rf, ok := ret.Get(0).(func(*account.Account) error); ok { + r0 = rf(data) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// AccountReset provides a mock function with given fields: data +func (_m *Servicer) AccountReset(data *account.Account) error { + ret := _m.Called(data) + + var r0 error + if rf, ok := ret.Get(0).(func(*account.Account) error); ok { + r0 = rf(data) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// AccountUpdate provides a mock function with given fields: old, new +func (_m *Servicer) AccountUpdate(old *account.Account, new *account.Account) error { + ret := _m.Called(old, new) + + var r0 error + if rf, ok := ret.Get(0).(func(*account.Account, *account.Account) error); ok { + r0 = rf(old, new) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// LeaseCreate provides a mock function with given fields: data +func (_m *Servicer) LeaseCreate(data *lease.Lease) error { + ret := _m.Called(data) + + var r0 error + if rf, ok := ret.Get(0).(func(*lease.Lease) error); ok { + r0 = rf(data) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// LeaseEnd provides a mock function with given fields: data +func (_m *Servicer) LeaseEnd(data *lease.Lease) error { + ret := _m.Called(data) + + var r0 error + if rf, ok := ret.Get(0).(func(*lease.Lease) error); ok { + r0 = rf(data) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// LeaseUpdate provides a mock function with given fields: old, new +func (_m *Servicer) LeaseUpdate(old *lease.Lease, new *lease.Lease) error { + ret := _m.Called(old, new) + + var r0 error + if rf, ok := ret.Get(0).(func(*lease.Lease, *lease.Lease) error); ok { + r0 = rf(old, new) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +type mockConstructorTestingTNewServicer interface { + mock.TestingT + Cleanup(func()) +} + +// NewServicer creates a new instance of Servicer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewServicer(t mockConstructorTestingTNewServicer) *Servicer { + mock := &Servicer{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/reset/nuke.go b/pkg/reset/nuke.go index 02b0e56ba..e453648b2 100755 --- a/pkg/reset/nuke.go +++ b/pkg/reset/nuke.go @@ -6,8 +6,8 @@ import ( "github.com/Optum/dce/pkg/common" "github.com/aws/aws-sdk-go/service/sts" - "github.com/rebuy-de/aws-nuke/cmd" - "github.com/rebuy-de/aws-nuke/pkg/awsutil" + "github.com/rebuy-de/aws-nuke/v2/cmd" + "github.com/rebuy-de/aws-nuke/v2/pkg/awsutil" ) // NukeAccountInput is the container used for the TokenService and the diff --git a/pkg/reset/nuke_test.go b/pkg/reset/nuke_test.go index 71a44f241..3ce7f5d2f 100755 --- a/pkg/reset/nuke_test.go +++ b/pkg/reset/nuke_test.go @@ -9,9 +9,9 @@ import ( "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/service/sts" - "github.com/rebuy-de/aws-nuke/cmd" - "github.com/rebuy-de/aws-nuke/pkg/awsutil" - "github.com/rebuy-de/aws-nuke/pkg/config" + "github.com/rebuy-de/aws-nuke/v2/cmd" + "github.com/rebuy-de/aws-nuke/v2/pkg/awsutil" + "github.com/rebuy-de/aws-nuke/v2/pkg/config" ) // mockTokenService is a mocked implementation of TokenService diff --git a/pkg/reset/nuker.go b/pkg/reset/nuker.go index 66a6cc71c..46af2743d 100755 --- a/pkg/reset/nuker.go +++ b/pkg/reset/nuker.go @@ -1,9 +1,9 @@ package reset import ( - "github.com/rebuy-de/aws-nuke/cmd" - "github.com/rebuy-de/aws-nuke/pkg/awsutil" - "github.com/rebuy-de/aws-nuke/pkg/config" + "github.com/rebuy-de/aws-nuke/v2/cmd" + "github.com/rebuy-de/aws-nuke/v2/pkg/awsutil" + "github.com/rebuy-de/aws-nuke/v2/pkg/config" ) // Nuker interface requires methods that are necessary to set up and