github.com/jenkins-x/jx/v2@v2.1.155/pkg/cmd/clients/mocks/factory.go (about) 1 // Code generated by pegomock. DO NOT EDIT. 2 // Source: github.com/jenkins-x/jx/v2/pkg/cmd/clients (interfaces: Factory) 3 4 package clients_test 5 6 import ( 7 io "io" 8 "reflect" 9 "time" 10 11 versioned "github.com/banzaicloud/bank-vaults/operator/pkg/client/clientset/versioned" 12 client "github.com/heptio/sonobuoy/pkg/client" 13 golang_jenkins "github.com/jenkins-x/golang-jenkins" 14 versioned0 "github.com/jenkins-x/jx-api/pkg/client/clientset/versioned" 15 auth "github.com/jenkins-x/jx/v2/pkg/auth" 16 clients "github.com/jenkins-x/jx/v2/pkg/cmd/clients" 17 gits "github.com/jenkins-x/jx/v2/pkg/gits" 18 helm "github.com/jenkins-x/jx/v2/pkg/helm" 19 secrets "github.com/jenkins-x/jx/v2/pkg/io/secrets" 20 kustomize "github.com/jenkins-x/jx/v2/pkg/kustomize" 21 table "github.com/jenkins-x/jx/v2/pkg/table" 22 util "github.com/jenkins-x/jx/v2/pkg/util" 23 vault "github.com/jenkins-x/jx/v2/pkg/vault" 24 versioned1 "github.com/jetstack/cert-manager/pkg/client/clientset/versioned" 25 pegomock "github.com/petergtz/pegomock" 26 versioned2 "github.com/tektoncd/pipeline/pkg/client/clientset/versioned" 27 versioned3 "github.com/tektoncd/pipeline/pkg/client/resource/clientset/versioned" 28 clientset "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset" 29 dynamic "k8s.io/client-go/dynamic" 30 kubernetes "k8s.io/client-go/kubernetes" 31 rest "k8s.io/client-go/rest" 32 versioned4 "k8s.io/metrics/pkg/client/clientset/versioned" 33 versioned5 "k8s.io/test-infra/prow/client/clientset/versioned" 34 versioned6 "knative.dev/serving/pkg/client/clientset/versioned" 35 ) 36 37 type MockFactory struct { 38 fail func(message string, callerSkip ...int) 39 } 40 41 func NewMockFactory(options ...pegomock.Option) *MockFactory { 42 mock := &MockFactory{} 43 for _, option := range options { 44 option.Apply(mock) 45 } 46 return mock 47 } 48 49 func (mock *MockFactory) SetFailHandler(fh pegomock.FailHandler) { mock.fail = fh } 50 func (mock *MockFactory) FailHandler() pegomock.FailHandler { return mock.fail } 51 52 func (mock *MockFactory) CreateAddonAuthConfigService(_param0 string, _param1 string) (auth.ConfigService, error) { 53 if mock == nil { 54 panic("mock must not be nil. Use myMock := NewMockFactory().") 55 } 56 params := []pegomock.Param{_param0, _param1} 57 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateAddonAuthConfigService", params, []reflect.Type{reflect.TypeOf((*auth.ConfigService)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 58 var ret0 auth.ConfigService 59 var ret1 error 60 if len(result) != 0 { 61 if result[0] != nil { 62 ret0 = result[0].(auth.ConfigService) 63 } 64 if result[1] != nil { 65 ret1 = result[1].(error) 66 } 67 } 68 return ret0, ret1 69 } 70 71 func (mock *MockFactory) CreateApiExtensionsClient() (clientset.Interface, error) { 72 if mock == nil { 73 panic("mock must not be nil. Use myMock := NewMockFactory().") 74 } 75 params := []pegomock.Param{} 76 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateApiExtensionsClient", params, []reflect.Type{reflect.TypeOf((*clientset.Interface)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 77 var ret0 clientset.Interface 78 var ret1 error 79 if len(result) != 0 { 80 if result[0] != nil { 81 ret0 = result[0].(clientset.Interface) 82 } 83 if result[1] != nil { 84 ret1 = result[1].(error) 85 } 86 } 87 return ret0, ret1 88 } 89 90 func (mock *MockFactory) CreateAuthConfigService(_param0 string, _param1 string, _param2 string, _param3 string) (auth.ConfigService, error) { 91 if mock == nil { 92 panic("mock must not be nil. Use myMock := NewMockFactory().") 93 } 94 params := []pegomock.Param{_param0, _param1, _param2, _param3} 95 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateAuthConfigService", params, []reflect.Type{reflect.TypeOf((*auth.ConfigService)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 96 var ret0 auth.ConfigService 97 var ret1 error 98 if len(result) != 0 { 99 if result[0] != nil { 100 ret0 = result[0].(auth.ConfigService) 101 } 102 if result[1] != nil { 103 ret1 = result[1].(error) 104 } 105 } 106 return ret0, ret1 107 } 108 109 func (mock *MockFactory) CreateCertManagerClient() (versioned1.Interface, error) { 110 if mock == nil { 111 panic("mock must not be nil. Use myMock := NewMockFactory().") 112 } 113 params := []pegomock.Param{} 114 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateCertManagerClient", params, []reflect.Type{reflect.TypeOf((*versioned1.Interface)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 115 var ret0 versioned1.Interface 116 var ret1 error 117 if len(result) != 0 { 118 if result[0] != nil { 119 ret0 = result[0].(versioned1.Interface) 120 } 121 if result[1] != nil { 122 ret1 = result[1].(error) 123 } 124 } 125 return ret0, ret1 126 } 127 128 func (mock *MockFactory) CreateChartmuseumAuthConfigService(_param0 string, _param1 string) (auth.ConfigService, error) { 129 if mock == nil { 130 panic("mock must not be nil. Use myMock := NewMockFactory().") 131 } 132 params := []pegomock.Param{_param0, _param1} 133 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateChartmuseumAuthConfigService", params, []reflect.Type{reflect.TypeOf((*auth.ConfigService)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 134 var ret0 auth.ConfigService 135 var ret1 error 136 if len(result) != 0 { 137 if result[0] != nil { 138 ret0 = result[0].(auth.ConfigService) 139 } 140 if result[1] != nil { 141 ret1 = result[1].(error) 142 } 143 } 144 return ret0, ret1 145 } 146 147 func (mock *MockFactory) CreateChatAuthConfigService(_param0 string, _param1 string) (auth.ConfigService, error) { 148 if mock == nil { 149 panic("mock must not be nil. Use myMock := NewMockFactory().") 150 } 151 params := []pegomock.Param{_param0, _param1} 152 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateChatAuthConfigService", params, []reflect.Type{reflect.TypeOf((*auth.ConfigService)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 153 var ret0 auth.ConfigService 154 var ret1 error 155 if len(result) != 0 { 156 if result[0] != nil { 157 ret0 = result[0].(auth.ConfigService) 158 } 159 if result[1] != nil { 160 ret1 = result[1].(error) 161 } 162 } 163 return ret0, ret1 164 } 165 166 func (mock *MockFactory) CreateComplianceClient() (*client.SonobuoyClient, error) { 167 if mock == nil { 168 panic("mock must not be nil. Use myMock := NewMockFactory().") 169 } 170 params := []pegomock.Param{} 171 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateComplianceClient", params, []reflect.Type{reflect.TypeOf((**client.SonobuoyClient)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 172 var ret0 *client.SonobuoyClient 173 var ret1 error 174 if len(result) != 0 { 175 if result[0] != nil { 176 ret0 = result[0].(*client.SonobuoyClient) 177 } 178 if result[1] != nil { 179 ret1 = result[1].(error) 180 } 181 } 182 return ret0, ret1 183 } 184 185 func (mock *MockFactory) CreateCustomJenkinsClient(_param0 kubernetes.Interface, _param1 string, _param2 string, _param3 util.IOFileHandles) (golang_jenkins.JenkinsClient, error) { 186 if mock == nil { 187 panic("mock must not be nil. Use myMock := NewMockFactory().") 188 } 189 params := []pegomock.Param{_param0, _param1, _param2, _param3} 190 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateCustomJenkinsClient", params, []reflect.Type{reflect.TypeOf((*golang_jenkins.JenkinsClient)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 191 var ret0 golang_jenkins.JenkinsClient 192 var ret1 error 193 if len(result) != 0 { 194 if result[0] != nil { 195 ret0 = result[0].(golang_jenkins.JenkinsClient) 196 } 197 if result[1] != nil { 198 ret1 = result[1].(error) 199 } 200 } 201 return ret0, ret1 202 } 203 204 func (mock *MockFactory) CreateDynamicClient() (dynamic.Interface, string, error) { 205 if mock == nil { 206 panic("mock must not be nil. Use myMock := NewMockFactory().") 207 } 208 params := []pegomock.Param{} 209 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateDynamicClient", params, []reflect.Type{reflect.TypeOf((*dynamic.Interface)(nil)).Elem(), reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 210 var ret0 dynamic.Interface 211 var ret1 string 212 var ret2 error 213 if len(result) != 0 { 214 if result[0] != nil { 215 ret0 = result[0].(dynamic.Interface) 216 } 217 if result[1] != nil { 218 ret1 = result[1].(string) 219 } 220 if result[2] != nil { 221 ret2 = result[2].(error) 222 } 223 } 224 return ret0, ret1, ret2 225 } 226 227 func (mock *MockFactory) CreateExternalVaultClient(_param0 vault.Vault, _param1 kubernetes.Interface) (vault.Client, error) { 228 if mock == nil { 229 panic("mock must not be nil. Use myMock := NewMockFactory().") 230 } 231 params := []pegomock.Param{_param0, _param1} 232 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateExternalVaultClient", params, []reflect.Type{reflect.TypeOf((*vault.Client)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 233 var ret0 vault.Client 234 var ret1 error 235 if len(result) != 0 { 236 if result[0] != nil { 237 ret0 = result[0].(vault.Client) 238 } 239 if result[1] != nil { 240 ret1 = result[1].(error) 241 } 242 } 243 return ret0, ret1 244 } 245 246 func (mock *MockFactory) CreateGitAuthConfigService(_param0 string, _param1 string) (auth.ConfigService, error) { 247 if mock == nil { 248 panic("mock must not be nil. Use myMock := NewMockFactory().") 249 } 250 params := []pegomock.Param{_param0, _param1} 251 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateGitAuthConfigService", params, []reflect.Type{reflect.TypeOf((*auth.ConfigService)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 252 var ret0 auth.ConfigService 253 var ret1 error 254 if len(result) != 0 { 255 if result[0] != nil { 256 ret0 = result[0].(auth.ConfigService) 257 } 258 if result[1] != nil { 259 ret1 = result[1].(error) 260 } 261 } 262 return ret0, ret1 263 } 264 265 func (mock *MockFactory) CreateGitProvider(_param0 string, _param1 string, _param2 auth.ConfigService, _param3 string, _param4 string, _param5 bool, _param6 gits.Gitter, _param7 util.IOFileHandles) (gits.GitProvider, error) { 266 if mock == nil { 267 panic("mock must not be nil. Use myMock := NewMockFactory().") 268 } 269 params := []pegomock.Param{_param0, _param1, _param2, _param3, _param4, _param5, _param6, _param7} 270 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateGitProvider", params, []reflect.Type{reflect.TypeOf((*gits.GitProvider)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 271 var ret0 gits.GitProvider 272 var ret1 error 273 if len(result) != 0 { 274 if result[0] != nil { 275 ret0 = result[0].(gits.GitProvider) 276 } 277 if result[1] != nil { 278 ret1 = result[1].(error) 279 } 280 } 281 return ret0, ret1 282 } 283 284 func (mock *MockFactory) CreateHelm(_param0 bool, _param1 string, _param2 bool, _param3 bool) helm.Helmer { 285 if mock == nil { 286 panic("mock must not be nil. Use myMock := NewMockFactory().") 287 } 288 params := []pegomock.Param{_param0, _param1, _param2, _param3} 289 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateHelm", params, []reflect.Type{reflect.TypeOf((*helm.Helmer)(nil)).Elem()}) 290 var ret0 helm.Helmer 291 if len(result) != 0 { 292 if result[0] != nil { 293 ret0 = result[0].(helm.Helmer) 294 } 295 } 296 return ret0 297 } 298 299 func (mock *MockFactory) CreateInternalVaultClient(_param0 string, _param1 string) (vault.Client, error) { 300 if mock == nil { 301 panic("mock must not be nil. Use myMock := NewMockFactory().") 302 } 303 params := []pegomock.Param{_param0, _param1} 304 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateInternalVaultClient", params, []reflect.Type{reflect.TypeOf((*vault.Client)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 305 var ret0 vault.Client 306 var ret1 error 307 if len(result) != 0 { 308 if result[0] != nil { 309 ret0 = result[0].(vault.Client) 310 } 311 if result[1] != nil { 312 ret1 = result[1].(error) 313 } 314 } 315 return ret0, ret1 316 } 317 318 func (mock *MockFactory) CreateIssueTrackerAuthConfigService(_param0 string, _param1 string) (auth.ConfigService, error) { 319 if mock == nil { 320 panic("mock must not be nil. Use myMock := NewMockFactory().") 321 } 322 params := []pegomock.Param{_param0, _param1} 323 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateIssueTrackerAuthConfigService", params, []reflect.Type{reflect.TypeOf((*auth.ConfigService)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 324 var ret0 auth.ConfigService 325 var ret1 error 326 if len(result) != 0 { 327 if result[0] != nil { 328 ret0 = result[0].(auth.ConfigService) 329 } 330 if result[1] != nil { 331 ret1 = result[1].(error) 332 } 333 } 334 return ret0, ret1 335 } 336 337 func (mock *MockFactory) CreateJXClient() (versioned0.Interface, string, error) { 338 if mock == nil { 339 panic("mock must not be nil. Use myMock := NewMockFactory().") 340 } 341 params := []pegomock.Param{} 342 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateJXClient", params, []reflect.Type{reflect.TypeOf((*versioned0.Interface)(nil)).Elem(), reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 343 var ret0 versioned0.Interface 344 var ret1 string 345 var ret2 error 346 if len(result) != 0 { 347 if result[0] != nil { 348 ret0 = result[0].(versioned0.Interface) 349 } 350 if result[1] != nil { 351 ret1 = result[1].(string) 352 } 353 if result[2] != nil { 354 ret2 = result[2].(error) 355 } 356 } 357 return ret0, ret1, ret2 358 } 359 360 func (mock *MockFactory) CreateJenkinsAuthConfigService(_param0 string, _param1 string) (auth.ConfigService, error) { 361 if mock == nil { 362 panic("mock must not be nil. Use myMock := NewMockFactory().") 363 } 364 params := []pegomock.Param{_param0, _param1} 365 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateJenkinsAuthConfigService", params, []reflect.Type{reflect.TypeOf((*auth.ConfigService)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 366 var ret0 auth.ConfigService 367 var ret1 error 368 if len(result) != 0 { 369 if result[0] != nil { 370 ret0 = result[0].(auth.ConfigService) 371 } 372 if result[1] != nil { 373 ret1 = result[1].(error) 374 } 375 } 376 return ret0, ret1 377 } 378 379 func (mock *MockFactory) CreateJenkinsClient(_param0 kubernetes.Interface, _param1 string, _param2 util.IOFileHandles) (golang_jenkins.JenkinsClient, error) { 380 if mock == nil { 381 panic("mock must not be nil. Use myMock := NewMockFactory().") 382 } 383 params := []pegomock.Param{_param0, _param1, _param2} 384 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateJenkinsClient", params, []reflect.Type{reflect.TypeOf((*golang_jenkins.JenkinsClient)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 385 var ret0 golang_jenkins.JenkinsClient 386 var ret1 error 387 if len(result) != 0 { 388 if result[0] != nil { 389 ret0 = result[0].(golang_jenkins.JenkinsClient) 390 } 391 if result[1] != nil { 392 ret1 = result[1].(error) 393 } 394 } 395 return ret0, ret1 396 } 397 398 func (mock *MockFactory) CreateKnativeServeClient() (versioned6.Interface, string, error) { 399 if mock == nil { 400 panic("mock must not be nil. Use myMock := NewMockFactory().") 401 } 402 params := []pegomock.Param{} 403 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateKnativeServeClient", params, []reflect.Type{reflect.TypeOf((*versioned6.Interface)(nil)).Elem(), reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 404 var ret0 versioned6.Interface 405 var ret1 string 406 var ret2 error 407 if len(result) != 0 { 408 if result[0] != nil { 409 ret0 = result[0].(versioned6.Interface) 410 } 411 if result[1] != nil { 412 ret1 = result[1].(string) 413 } 414 if result[2] != nil { 415 ret2 = result[2].(error) 416 } 417 } 418 return ret0, ret1, ret2 419 } 420 421 func (mock *MockFactory) CreateKubeClient() (kubernetes.Interface, string, error) { 422 if mock == nil { 423 panic("mock must not be nil. Use myMock := NewMockFactory().") 424 } 425 params := []pegomock.Param{} 426 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateKubeClient", params, []reflect.Type{reflect.TypeOf((*kubernetes.Interface)(nil)).Elem(), reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 427 var ret0 kubernetes.Interface 428 var ret1 string 429 var ret2 error 430 if len(result) != 0 { 431 if result[0] != nil { 432 ret0 = result[0].(kubernetes.Interface) 433 } 434 if result[1] != nil { 435 ret1 = result[1].(string) 436 } 437 if result[2] != nil { 438 ret2 = result[2].(error) 439 } 440 } 441 return ret0, ret1, ret2 442 } 443 444 func (mock *MockFactory) CreateKubeConfig() (*rest.Config, error) { 445 if mock == nil { 446 panic("mock must not be nil. Use myMock := NewMockFactory().") 447 } 448 params := []pegomock.Param{} 449 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateKubeConfig", params, []reflect.Type{reflect.TypeOf((**rest.Config)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 450 var ret0 *rest.Config 451 var ret1 error 452 if len(result) != 0 { 453 if result[0] != nil { 454 ret0 = result[0].(*rest.Config) 455 } 456 if result[1] != nil { 457 ret1 = result[1].(error) 458 } 459 } 460 return ret0, ret1 461 } 462 463 func (mock *MockFactory) CreateKustomizer() kustomize.Kustomizer { 464 if mock == nil { 465 panic("mock must not be nil. Use myMock := NewMockFactory().") 466 } 467 params := []pegomock.Param{} 468 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateKustomizer", params, []reflect.Type{reflect.TypeOf((*kustomize.Kustomizer)(nil)).Elem()}) 469 var ret0 kustomize.Kustomizer 470 if len(result) != 0 { 471 if result[0] != nil { 472 ret0 = result[0].(kustomize.Kustomizer) 473 } 474 } 475 return ret0 476 } 477 478 func (mock *MockFactory) CreateLocalGitAuthConfigService() (auth.ConfigService, error) { 479 if mock == nil { 480 panic("mock must not be nil. Use myMock := NewMockFactory().") 481 } 482 params := []pegomock.Param{} 483 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateLocalGitAuthConfigService", params, []reflect.Type{reflect.TypeOf((*auth.ConfigService)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 484 var ret0 auth.ConfigService 485 var ret1 error 486 if len(result) != 0 { 487 if result[0] != nil { 488 ret0 = result[0].(auth.ConfigService) 489 } 490 if result[1] != nil { 491 ret1 = result[1].(error) 492 } 493 } 494 return ret0, ret1 495 } 496 497 func (mock *MockFactory) CreateMetricsClient() (versioned4.Interface, error) { 498 if mock == nil { 499 panic("mock must not be nil. Use myMock := NewMockFactory().") 500 } 501 params := []pegomock.Param{} 502 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateMetricsClient", params, []reflect.Type{reflect.TypeOf((*versioned4.Interface)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 503 var ret0 versioned4.Interface 504 var ret1 error 505 if len(result) != 0 { 506 if result[0] != nil { 507 ret0 = result[0].(versioned4.Interface) 508 } 509 if result[1] != nil { 510 ret1 = result[1].(error) 511 } 512 } 513 return ret0, ret1 514 } 515 516 func (mock *MockFactory) CreateProwJobClient() (versioned5.Interface, string, error) { 517 if mock == nil { 518 panic("mock must not be nil. Use myMock := NewMockFactory().") 519 } 520 params := []pegomock.Param{} 521 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateProwJobClient", params, []reflect.Type{reflect.TypeOf((*versioned5.Interface)(nil)).Elem(), reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 522 var ret0 versioned5.Interface 523 var ret1 string 524 var ret2 error 525 if len(result) != 0 { 526 if result[0] != nil { 527 ret0 = result[0].(versioned5.Interface) 528 } 529 if result[1] != nil { 530 ret1 = result[1].(string) 531 } 532 if result[2] != nil { 533 ret2 = result[2].(error) 534 } 535 } 536 return ret0, ret1, ret2 537 } 538 539 func (mock *MockFactory) CreateSystemVaultClient(_param0 string) (vault.Client, error) { 540 if mock == nil { 541 panic("mock must not be nil. Use myMock := NewMockFactory().") 542 } 543 params := []pegomock.Param{_param0} 544 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateSystemVaultClient", params, []reflect.Type{reflect.TypeOf((*vault.Client)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 545 var ret0 vault.Client 546 var ret1 error 547 if len(result) != 0 { 548 if result[0] != nil { 549 ret0 = result[0].(vault.Client) 550 } 551 if result[1] != nil { 552 ret1 = result[1].(error) 553 } 554 } 555 return ret0, ret1 556 } 557 558 func (mock *MockFactory) CreateTable(_param0 io.Writer) table.Table { 559 if mock == nil { 560 panic("mock must not be nil. Use myMock := NewMockFactory().") 561 } 562 params := []pegomock.Param{_param0} 563 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateTable", params, []reflect.Type{reflect.TypeOf((*table.Table)(nil)).Elem()}) 564 var ret0 table.Table 565 if len(result) != 0 { 566 if result[0] != nil { 567 ret0 = result[0].(table.Table) 568 } 569 } 570 return ret0 571 } 572 573 func (mock *MockFactory) CreateTektonClient() (versioned2.Interface, string, error) { 574 if mock == nil { 575 panic("mock must not be nil. Use myMock := NewMockFactory().") 576 } 577 params := []pegomock.Param{} 578 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateTektonClient", params, []reflect.Type{reflect.TypeOf((*versioned2.Interface)(nil)).Elem(), reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 579 var ret0 versioned2.Interface 580 var ret1 string 581 var ret2 error 582 if len(result) != 0 { 583 if result[0] != nil { 584 ret0 = result[0].(versioned2.Interface) 585 } 586 if result[1] != nil { 587 ret1 = result[1].(string) 588 } 589 if result[2] != nil { 590 ret2 = result[2].(error) 591 } 592 } 593 return ret0, ret1, ret2 594 } 595 596 func (mock *MockFactory) CreateTektonPipelineResourceClient() (versioned3.Interface, string, error) { 597 if mock == nil { 598 panic("mock must not be nil. Use myMock := NewMockFactory().") 599 } 600 params := []pegomock.Param{} 601 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateTektonPipelineResourceClient", params, []reflect.Type{reflect.TypeOf((*versioned3.Interface)(nil)).Elem(), reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 602 var ret0 versioned3.Interface 603 var ret1 string 604 var ret2 error 605 if len(result) != 0 { 606 if result[0] != nil { 607 ret0 = result[0].(versioned3.Interface) 608 } 609 if result[1] != nil { 610 ret1 = result[1].(string) 611 } 612 if result[2] != nil { 613 ret2 = result[2].(error) 614 } 615 } 616 return ret0, ret1, ret2 617 } 618 619 func (mock *MockFactory) CreateVaultOperatorClient() (versioned.Interface, error) { 620 if mock == nil { 621 panic("mock must not be nil. Use myMock := NewMockFactory().") 622 } 623 params := []pegomock.Param{} 624 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateVaultOperatorClient", params, []reflect.Type{reflect.TypeOf((*versioned.Interface)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 625 var ret0 versioned.Interface 626 var ret1 error 627 if len(result) != 0 { 628 if result[0] != nil { 629 ret0 = result[0].(versioned.Interface) 630 } 631 if result[1] != nil { 632 ret1 = result[1].(error) 633 } 634 } 635 return ret0, ret1 636 } 637 638 func (mock *MockFactory) GetCustomJenkinsURL(_param0 kubernetes.Interface, _param1 string, _param2 string) (string, error) { 639 if mock == nil { 640 panic("mock must not be nil. Use myMock := NewMockFactory().") 641 } 642 params := []pegomock.Param{_param0, _param1, _param2} 643 result := pegomock.GetGenericMockFrom(mock).Invoke("GetCustomJenkinsURL", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 644 var ret0 string 645 var ret1 error 646 if len(result) != 0 { 647 if result[0] != nil { 648 ret0 = result[0].(string) 649 } 650 if result[1] != nil { 651 ret1 = result[1].(error) 652 } 653 } 654 return ret0, ret1 655 } 656 657 func (mock *MockFactory) GetJenkinsURL(_param0 kubernetes.Interface, _param1 string) (string, error) { 658 if mock == nil { 659 panic("mock must not be nil. Use myMock := NewMockFactory().") 660 } 661 params := []pegomock.Param{_param0, _param1} 662 result := pegomock.GetGenericMockFrom(mock).Invoke("GetJenkinsURL", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 663 var ret0 string 664 var ret1 error 665 if len(result) != 0 { 666 if result[0] != nil { 667 ret0 = result[0].(string) 668 } 669 if result[1] != nil { 670 ret1 = result[1].(error) 671 } 672 } 673 return ret0, ret1 674 } 675 676 func (mock *MockFactory) ImpersonateUser(_param0 string) clients.Factory { 677 if mock == nil { 678 panic("mock must not be nil. Use myMock := NewMockFactory().") 679 } 680 params := []pegomock.Param{_param0} 681 result := pegomock.GetGenericMockFrom(mock).Invoke("ImpersonateUser", params, []reflect.Type{reflect.TypeOf((*clients.Factory)(nil)).Elem()}) 682 var ret0 clients.Factory 683 if len(result) != 0 { 684 if result[0] != nil { 685 ret0 = result[0].(clients.Factory) 686 } 687 } 688 return ret0 689 } 690 691 func (mock *MockFactory) IsInCDPipeline() bool { 692 if mock == nil { 693 panic("mock must not be nil. Use myMock := NewMockFactory().") 694 } 695 params := []pegomock.Param{} 696 result := pegomock.GetGenericMockFrom(mock).Invoke("IsInCDPipeline", params, []reflect.Type{reflect.TypeOf((*bool)(nil)).Elem()}) 697 var ret0 bool 698 if len(result) != 0 { 699 if result[0] != nil { 700 ret0 = result[0].(bool) 701 } 702 } 703 return ret0 704 } 705 706 func (mock *MockFactory) ResetSecretsLocation() { 707 if mock == nil { 708 panic("mock must not be nil. Use myMock := NewMockFactory().") 709 } 710 params := []pegomock.Param{} 711 pegomock.GetGenericMockFrom(mock).Invoke("ResetSecretsLocation", params, []reflect.Type{}) 712 } 713 714 func (mock *MockFactory) SecretsLocation() secrets.SecretsLocationKind { 715 if mock == nil { 716 panic("mock must not be nil. Use myMock := NewMockFactory().") 717 } 718 params := []pegomock.Param{} 719 result := pegomock.GetGenericMockFrom(mock).Invoke("SecretsLocation", params, []reflect.Type{reflect.TypeOf((*secrets.SecretsLocationKind)(nil)).Elem()}) 720 var ret0 secrets.SecretsLocationKind 721 if len(result) != 0 { 722 if result[0] != nil { 723 ret0 = result[0].(secrets.SecretsLocationKind) 724 } 725 } 726 return ret0 727 } 728 729 func (mock *MockFactory) SetBatch(_param0 bool) { 730 if mock == nil { 731 panic("mock must not be nil. Use myMock := NewMockFactory().") 732 } 733 params := []pegomock.Param{_param0} 734 pegomock.GetGenericMockFrom(mock).Invoke("SetBatch", params, []reflect.Type{}) 735 } 736 737 func (mock *MockFactory) SetOffline(_param0 bool) { 738 if mock == nil { 739 panic("mock must not be nil. Use myMock := NewMockFactory().") 740 } 741 params := []pegomock.Param{_param0} 742 pegomock.GetGenericMockFrom(mock).Invoke("SetOffline", params, []reflect.Type{}) 743 } 744 745 func (mock *MockFactory) SetSecretsLocation(_param0 secrets.SecretsLocationKind, _param1 bool) error { 746 if mock == nil { 747 panic("mock must not be nil. Use myMock := NewMockFactory().") 748 } 749 params := []pegomock.Param{_param0, _param1} 750 result := pegomock.GetGenericMockFrom(mock).Invoke("SetSecretsLocation", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 751 var ret0 error 752 if len(result) != 0 { 753 if result[0] != nil { 754 ret0 = result[0].(error) 755 } 756 } 757 return ret0 758 } 759 760 func (mock *MockFactory) WithBearerToken(_param0 string) clients.Factory { 761 if mock == nil { 762 panic("mock must not be nil. Use myMock := NewMockFactory().") 763 } 764 params := []pegomock.Param{_param0} 765 result := pegomock.GetGenericMockFrom(mock).Invoke("WithBearerToken", params, []reflect.Type{reflect.TypeOf((*clients.Factory)(nil)).Elem()}) 766 var ret0 clients.Factory 767 if len(result) != 0 { 768 if result[0] != nil { 769 ret0 = result[0].(clients.Factory) 770 } 771 } 772 return ret0 773 } 774 775 func (mock *MockFactory) VerifyWasCalledOnce() *VerifierMockFactory { 776 return &VerifierMockFactory{ 777 mock: mock, 778 invocationCountMatcher: pegomock.Times(1), 779 } 780 } 781 782 func (mock *MockFactory) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockFactory { 783 return &VerifierMockFactory{ 784 mock: mock, 785 invocationCountMatcher: invocationCountMatcher, 786 } 787 } 788 789 func (mock *MockFactory) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockFactory { 790 return &VerifierMockFactory{ 791 mock: mock, 792 invocationCountMatcher: invocationCountMatcher, 793 inOrderContext: inOrderContext, 794 } 795 } 796 797 func (mock *MockFactory) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockFactory { 798 return &VerifierMockFactory{ 799 mock: mock, 800 invocationCountMatcher: invocationCountMatcher, 801 timeout: timeout, 802 } 803 } 804 805 type VerifierMockFactory struct { 806 mock *MockFactory 807 invocationCountMatcher pegomock.Matcher 808 inOrderContext *pegomock.InOrderContext 809 timeout time.Duration 810 } 811 812 func (verifier *VerifierMockFactory) CreateAddonAuthConfigService(_param0 string, _param1 string) *MockFactory_CreateAddonAuthConfigService_OngoingVerification { 813 params := []pegomock.Param{_param0, _param1} 814 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateAddonAuthConfigService", params, verifier.timeout) 815 return &MockFactory_CreateAddonAuthConfigService_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 816 } 817 818 type MockFactory_CreateAddonAuthConfigService_OngoingVerification struct { 819 mock *MockFactory 820 methodInvocations []pegomock.MethodInvocation 821 } 822 823 func (c *MockFactory_CreateAddonAuthConfigService_OngoingVerification) GetCapturedArguments() (string, string) { 824 _param0, _param1 := c.GetAllCapturedArguments() 825 return _param0[len(_param0)-1], _param1[len(_param1)-1] 826 } 827 828 func (c *MockFactory_CreateAddonAuthConfigService_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 829 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 830 if len(params) > 0 { 831 _param0 = make([]string, len(c.methodInvocations)) 832 for u, param := range params[0] { 833 _param0[u] = param.(string) 834 } 835 _param1 = make([]string, len(c.methodInvocations)) 836 for u, param := range params[1] { 837 _param1[u] = param.(string) 838 } 839 } 840 return 841 } 842 843 func (verifier *VerifierMockFactory) CreateApiExtensionsClient() *MockFactory_CreateApiExtensionsClient_OngoingVerification { 844 params := []pegomock.Param{} 845 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateApiExtensionsClient", params, verifier.timeout) 846 return &MockFactory_CreateApiExtensionsClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 847 } 848 849 type MockFactory_CreateApiExtensionsClient_OngoingVerification struct { 850 mock *MockFactory 851 methodInvocations []pegomock.MethodInvocation 852 } 853 854 func (c *MockFactory_CreateApiExtensionsClient_OngoingVerification) GetCapturedArguments() { 855 } 856 857 func (c *MockFactory_CreateApiExtensionsClient_OngoingVerification) GetAllCapturedArguments() { 858 } 859 860 func (verifier *VerifierMockFactory) CreateAuthConfigService(_param0 string, _param1 string, _param2 string, _param3 string) *MockFactory_CreateAuthConfigService_OngoingVerification { 861 params := []pegomock.Param{_param0, _param1, _param2, _param3} 862 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateAuthConfigService", params, verifier.timeout) 863 return &MockFactory_CreateAuthConfigService_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 864 } 865 866 type MockFactory_CreateAuthConfigService_OngoingVerification struct { 867 mock *MockFactory 868 methodInvocations []pegomock.MethodInvocation 869 } 870 871 func (c *MockFactory_CreateAuthConfigService_OngoingVerification) GetCapturedArguments() (string, string, string, string) { 872 _param0, _param1, _param2, _param3 := c.GetAllCapturedArguments() 873 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1], _param3[len(_param3)-1] 874 } 875 876 func (c *MockFactory_CreateAuthConfigService_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string, _param3 []string) { 877 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 878 if len(params) > 0 { 879 _param0 = make([]string, len(c.methodInvocations)) 880 for u, param := range params[0] { 881 _param0[u] = param.(string) 882 } 883 _param1 = make([]string, len(c.methodInvocations)) 884 for u, param := range params[1] { 885 _param1[u] = param.(string) 886 } 887 _param2 = make([]string, len(c.methodInvocations)) 888 for u, param := range params[2] { 889 _param2[u] = param.(string) 890 } 891 _param3 = make([]string, len(c.methodInvocations)) 892 for u, param := range params[3] { 893 _param3[u] = param.(string) 894 } 895 } 896 return 897 } 898 899 func (verifier *VerifierMockFactory) CreateCertManagerClient() *MockFactory_CreateCertManagerClient_OngoingVerification { 900 params := []pegomock.Param{} 901 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateCertManagerClient", params, verifier.timeout) 902 return &MockFactory_CreateCertManagerClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 903 } 904 905 type MockFactory_CreateCertManagerClient_OngoingVerification struct { 906 mock *MockFactory 907 methodInvocations []pegomock.MethodInvocation 908 } 909 910 func (c *MockFactory_CreateCertManagerClient_OngoingVerification) GetCapturedArguments() { 911 } 912 913 func (c *MockFactory_CreateCertManagerClient_OngoingVerification) GetAllCapturedArguments() { 914 } 915 916 func (verifier *VerifierMockFactory) CreateChartmuseumAuthConfigService(_param0 string, _param1 string) *MockFactory_CreateChartmuseumAuthConfigService_OngoingVerification { 917 params := []pegomock.Param{_param0, _param1} 918 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateChartmuseumAuthConfigService", params, verifier.timeout) 919 return &MockFactory_CreateChartmuseumAuthConfigService_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 920 } 921 922 type MockFactory_CreateChartmuseumAuthConfigService_OngoingVerification struct { 923 mock *MockFactory 924 methodInvocations []pegomock.MethodInvocation 925 } 926 927 func (c *MockFactory_CreateChartmuseumAuthConfigService_OngoingVerification) GetCapturedArguments() (string, string) { 928 _param0, _param1 := c.GetAllCapturedArguments() 929 return _param0[len(_param0)-1], _param1[len(_param1)-1] 930 } 931 932 func (c *MockFactory_CreateChartmuseumAuthConfigService_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 933 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 934 if len(params) > 0 { 935 _param0 = make([]string, len(c.methodInvocations)) 936 for u, param := range params[0] { 937 _param0[u] = param.(string) 938 } 939 _param1 = make([]string, len(c.methodInvocations)) 940 for u, param := range params[1] { 941 _param1[u] = param.(string) 942 } 943 } 944 return 945 } 946 947 func (verifier *VerifierMockFactory) CreateChatAuthConfigService(_param0 string, _param1 string) *MockFactory_CreateChatAuthConfigService_OngoingVerification { 948 params := []pegomock.Param{_param0, _param1} 949 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateChatAuthConfigService", params, verifier.timeout) 950 return &MockFactory_CreateChatAuthConfigService_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 951 } 952 953 type MockFactory_CreateChatAuthConfigService_OngoingVerification struct { 954 mock *MockFactory 955 methodInvocations []pegomock.MethodInvocation 956 } 957 958 func (c *MockFactory_CreateChatAuthConfigService_OngoingVerification) GetCapturedArguments() (string, string) { 959 _param0, _param1 := c.GetAllCapturedArguments() 960 return _param0[len(_param0)-1], _param1[len(_param1)-1] 961 } 962 963 func (c *MockFactory_CreateChatAuthConfigService_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 964 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 965 if len(params) > 0 { 966 _param0 = make([]string, len(c.methodInvocations)) 967 for u, param := range params[0] { 968 _param0[u] = param.(string) 969 } 970 _param1 = make([]string, len(c.methodInvocations)) 971 for u, param := range params[1] { 972 _param1[u] = param.(string) 973 } 974 } 975 return 976 } 977 978 func (verifier *VerifierMockFactory) CreateComplianceClient() *MockFactory_CreateComplianceClient_OngoingVerification { 979 params := []pegomock.Param{} 980 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateComplianceClient", params, verifier.timeout) 981 return &MockFactory_CreateComplianceClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 982 } 983 984 type MockFactory_CreateComplianceClient_OngoingVerification struct { 985 mock *MockFactory 986 methodInvocations []pegomock.MethodInvocation 987 } 988 989 func (c *MockFactory_CreateComplianceClient_OngoingVerification) GetCapturedArguments() { 990 } 991 992 func (c *MockFactory_CreateComplianceClient_OngoingVerification) GetAllCapturedArguments() { 993 } 994 995 func (verifier *VerifierMockFactory) CreateCustomJenkinsClient(_param0 kubernetes.Interface, _param1 string, _param2 string, _param3 util.IOFileHandles) *MockFactory_CreateCustomJenkinsClient_OngoingVerification { 996 params := []pegomock.Param{_param0, _param1, _param2, _param3} 997 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateCustomJenkinsClient", params, verifier.timeout) 998 return &MockFactory_CreateCustomJenkinsClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 999 } 1000 1001 type MockFactory_CreateCustomJenkinsClient_OngoingVerification struct { 1002 mock *MockFactory 1003 methodInvocations []pegomock.MethodInvocation 1004 } 1005 1006 func (c *MockFactory_CreateCustomJenkinsClient_OngoingVerification) GetCapturedArguments() (kubernetes.Interface, string, string, util.IOFileHandles) { 1007 _param0, _param1, _param2, _param3 := c.GetAllCapturedArguments() 1008 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1], _param3[len(_param3)-1] 1009 } 1010 1011 func (c *MockFactory_CreateCustomJenkinsClient_OngoingVerification) GetAllCapturedArguments() (_param0 []kubernetes.Interface, _param1 []string, _param2 []string, _param3 []util.IOFileHandles) { 1012 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1013 if len(params) > 0 { 1014 _param0 = make([]kubernetes.Interface, len(c.methodInvocations)) 1015 for u, param := range params[0] { 1016 _param0[u] = param.(kubernetes.Interface) 1017 } 1018 _param1 = make([]string, len(c.methodInvocations)) 1019 for u, param := range params[1] { 1020 _param1[u] = param.(string) 1021 } 1022 _param2 = make([]string, len(c.methodInvocations)) 1023 for u, param := range params[2] { 1024 _param2[u] = param.(string) 1025 } 1026 _param3 = make([]util.IOFileHandles, len(c.methodInvocations)) 1027 for u, param := range params[3] { 1028 _param3[u] = param.(util.IOFileHandles) 1029 } 1030 } 1031 return 1032 } 1033 1034 func (verifier *VerifierMockFactory) CreateDynamicClient() *MockFactory_CreateDynamicClient_OngoingVerification { 1035 params := []pegomock.Param{} 1036 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateDynamicClient", params, verifier.timeout) 1037 return &MockFactory_CreateDynamicClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1038 } 1039 1040 type MockFactory_CreateDynamicClient_OngoingVerification struct { 1041 mock *MockFactory 1042 methodInvocations []pegomock.MethodInvocation 1043 } 1044 1045 func (c *MockFactory_CreateDynamicClient_OngoingVerification) GetCapturedArguments() { 1046 } 1047 1048 func (c *MockFactory_CreateDynamicClient_OngoingVerification) GetAllCapturedArguments() { 1049 } 1050 1051 func (verifier *VerifierMockFactory) CreateExternalVaultClient(_param0 vault.Vault, _param1 kubernetes.Interface) *MockFactory_CreateExternalVaultClient_OngoingVerification { 1052 params := []pegomock.Param{_param0, _param1} 1053 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateExternalVaultClient", params, verifier.timeout) 1054 return &MockFactory_CreateExternalVaultClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1055 } 1056 1057 type MockFactory_CreateExternalVaultClient_OngoingVerification struct { 1058 mock *MockFactory 1059 methodInvocations []pegomock.MethodInvocation 1060 } 1061 1062 func (c *MockFactory_CreateExternalVaultClient_OngoingVerification) GetCapturedArguments() (vault.Vault, kubernetes.Interface) { 1063 _param0, _param1 := c.GetAllCapturedArguments() 1064 return _param0[len(_param0)-1], _param1[len(_param1)-1] 1065 } 1066 1067 func (c *MockFactory_CreateExternalVaultClient_OngoingVerification) GetAllCapturedArguments() (_param0 []vault.Vault, _param1 []kubernetes.Interface) { 1068 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1069 if len(params) > 0 { 1070 _param0 = make([]vault.Vault, len(c.methodInvocations)) 1071 for u, param := range params[0] { 1072 _param0[u] = param.(vault.Vault) 1073 } 1074 _param1 = make([]kubernetes.Interface, len(c.methodInvocations)) 1075 for u, param := range params[1] { 1076 _param1[u] = param.(kubernetes.Interface) 1077 } 1078 } 1079 return 1080 } 1081 1082 func (verifier *VerifierMockFactory) CreateGitAuthConfigService(_param0 string, _param1 string) *MockFactory_CreateGitAuthConfigService_OngoingVerification { 1083 params := []pegomock.Param{_param0, _param1} 1084 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateGitAuthConfigService", params, verifier.timeout) 1085 return &MockFactory_CreateGitAuthConfigService_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1086 } 1087 1088 type MockFactory_CreateGitAuthConfigService_OngoingVerification struct { 1089 mock *MockFactory 1090 methodInvocations []pegomock.MethodInvocation 1091 } 1092 1093 func (c *MockFactory_CreateGitAuthConfigService_OngoingVerification) GetCapturedArguments() (string, string) { 1094 _param0, _param1 := c.GetAllCapturedArguments() 1095 return _param0[len(_param0)-1], _param1[len(_param1)-1] 1096 } 1097 1098 func (c *MockFactory_CreateGitAuthConfigService_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 1099 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1100 if len(params) > 0 { 1101 _param0 = make([]string, len(c.methodInvocations)) 1102 for u, param := range params[0] { 1103 _param0[u] = param.(string) 1104 } 1105 _param1 = make([]string, len(c.methodInvocations)) 1106 for u, param := range params[1] { 1107 _param1[u] = param.(string) 1108 } 1109 } 1110 return 1111 } 1112 1113 func (verifier *VerifierMockFactory) CreateGitProvider(_param0 string, _param1 string, _param2 auth.ConfigService, _param3 string, _param4 string, _param5 bool, _param6 gits.Gitter, _param7 util.IOFileHandles) *MockFactory_CreateGitProvider_OngoingVerification { 1114 params := []pegomock.Param{_param0, _param1, _param2, _param3, _param4, _param5, _param6, _param7} 1115 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateGitProvider", params, verifier.timeout) 1116 return &MockFactory_CreateGitProvider_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1117 } 1118 1119 type MockFactory_CreateGitProvider_OngoingVerification struct { 1120 mock *MockFactory 1121 methodInvocations []pegomock.MethodInvocation 1122 } 1123 1124 func (c *MockFactory_CreateGitProvider_OngoingVerification) GetCapturedArguments() (string, string, auth.ConfigService, string, string, bool, gits.Gitter, util.IOFileHandles) { 1125 _param0, _param1, _param2, _param3, _param4, _param5, _param6, _param7 := c.GetAllCapturedArguments() 1126 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1], _param3[len(_param3)-1], _param4[len(_param4)-1], _param5[len(_param5)-1], _param6[len(_param6)-1], _param7[len(_param7)-1] 1127 } 1128 1129 func (c *MockFactory_CreateGitProvider_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []auth.ConfigService, _param3 []string, _param4 []string, _param5 []bool, _param6 []gits.Gitter, _param7 []util.IOFileHandles) { 1130 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1131 if len(params) > 0 { 1132 _param0 = make([]string, len(c.methodInvocations)) 1133 for u, param := range params[0] { 1134 _param0[u] = param.(string) 1135 } 1136 _param1 = make([]string, len(c.methodInvocations)) 1137 for u, param := range params[1] { 1138 _param1[u] = param.(string) 1139 } 1140 _param2 = make([]auth.ConfigService, len(c.methodInvocations)) 1141 for u, param := range params[2] { 1142 _param2[u] = param.(auth.ConfigService) 1143 } 1144 _param3 = make([]string, len(c.methodInvocations)) 1145 for u, param := range params[3] { 1146 _param3[u] = param.(string) 1147 } 1148 _param4 = make([]string, len(c.methodInvocations)) 1149 for u, param := range params[4] { 1150 _param4[u] = param.(string) 1151 } 1152 _param5 = make([]bool, len(c.methodInvocations)) 1153 for u, param := range params[5] { 1154 _param5[u] = param.(bool) 1155 } 1156 _param6 = make([]gits.Gitter, len(c.methodInvocations)) 1157 for u, param := range params[6] { 1158 _param6[u] = param.(gits.Gitter) 1159 } 1160 _param7 = make([]util.IOFileHandles, len(c.methodInvocations)) 1161 for u, param := range params[7] { 1162 _param7[u] = param.(util.IOFileHandles) 1163 } 1164 } 1165 return 1166 } 1167 1168 func (verifier *VerifierMockFactory) CreateHelm(_param0 bool, _param1 string, _param2 bool, _param3 bool) *MockFactory_CreateHelm_OngoingVerification { 1169 params := []pegomock.Param{_param0, _param1, _param2, _param3} 1170 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateHelm", params, verifier.timeout) 1171 return &MockFactory_CreateHelm_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1172 } 1173 1174 type MockFactory_CreateHelm_OngoingVerification struct { 1175 mock *MockFactory 1176 methodInvocations []pegomock.MethodInvocation 1177 } 1178 1179 func (c *MockFactory_CreateHelm_OngoingVerification) GetCapturedArguments() (bool, string, bool, bool) { 1180 _param0, _param1, _param2, _param3 := c.GetAllCapturedArguments() 1181 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1], _param3[len(_param3)-1] 1182 } 1183 1184 func (c *MockFactory_CreateHelm_OngoingVerification) GetAllCapturedArguments() (_param0 []bool, _param1 []string, _param2 []bool, _param3 []bool) { 1185 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1186 if len(params) > 0 { 1187 _param0 = make([]bool, len(c.methodInvocations)) 1188 for u, param := range params[0] { 1189 _param0[u] = param.(bool) 1190 } 1191 _param1 = make([]string, len(c.methodInvocations)) 1192 for u, param := range params[1] { 1193 _param1[u] = param.(string) 1194 } 1195 _param2 = make([]bool, len(c.methodInvocations)) 1196 for u, param := range params[2] { 1197 _param2[u] = param.(bool) 1198 } 1199 _param3 = make([]bool, len(c.methodInvocations)) 1200 for u, param := range params[3] { 1201 _param3[u] = param.(bool) 1202 } 1203 } 1204 return 1205 } 1206 1207 func (verifier *VerifierMockFactory) CreateInternalVaultClient(_param0 string, _param1 string) *MockFactory_CreateInternalVaultClient_OngoingVerification { 1208 params := []pegomock.Param{_param0, _param1} 1209 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateInternalVaultClient", params, verifier.timeout) 1210 return &MockFactory_CreateInternalVaultClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1211 } 1212 1213 type MockFactory_CreateInternalVaultClient_OngoingVerification struct { 1214 mock *MockFactory 1215 methodInvocations []pegomock.MethodInvocation 1216 } 1217 1218 func (c *MockFactory_CreateInternalVaultClient_OngoingVerification) GetCapturedArguments() (string, string) { 1219 _param0, _param1 := c.GetAllCapturedArguments() 1220 return _param0[len(_param0)-1], _param1[len(_param1)-1] 1221 } 1222 1223 func (c *MockFactory_CreateInternalVaultClient_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 1224 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1225 if len(params) > 0 { 1226 _param0 = make([]string, len(c.methodInvocations)) 1227 for u, param := range params[0] { 1228 _param0[u] = param.(string) 1229 } 1230 _param1 = make([]string, len(c.methodInvocations)) 1231 for u, param := range params[1] { 1232 _param1[u] = param.(string) 1233 } 1234 } 1235 return 1236 } 1237 1238 func (verifier *VerifierMockFactory) CreateIssueTrackerAuthConfigService(_param0 string, _param1 string) *MockFactory_CreateIssueTrackerAuthConfigService_OngoingVerification { 1239 params := []pegomock.Param{_param0, _param1} 1240 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateIssueTrackerAuthConfigService", params, verifier.timeout) 1241 return &MockFactory_CreateIssueTrackerAuthConfigService_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1242 } 1243 1244 type MockFactory_CreateIssueTrackerAuthConfigService_OngoingVerification struct { 1245 mock *MockFactory 1246 methodInvocations []pegomock.MethodInvocation 1247 } 1248 1249 func (c *MockFactory_CreateIssueTrackerAuthConfigService_OngoingVerification) GetCapturedArguments() (string, string) { 1250 _param0, _param1 := c.GetAllCapturedArguments() 1251 return _param0[len(_param0)-1], _param1[len(_param1)-1] 1252 } 1253 1254 func (c *MockFactory_CreateIssueTrackerAuthConfigService_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 1255 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1256 if len(params) > 0 { 1257 _param0 = make([]string, len(c.methodInvocations)) 1258 for u, param := range params[0] { 1259 _param0[u] = param.(string) 1260 } 1261 _param1 = make([]string, len(c.methodInvocations)) 1262 for u, param := range params[1] { 1263 _param1[u] = param.(string) 1264 } 1265 } 1266 return 1267 } 1268 1269 func (verifier *VerifierMockFactory) CreateJXClient() *MockFactory_CreateJXClient_OngoingVerification { 1270 params := []pegomock.Param{} 1271 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateJXClient", params, verifier.timeout) 1272 return &MockFactory_CreateJXClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1273 } 1274 1275 type MockFactory_CreateJXClient_OngoingVerification struct { 1276 mock *MockFactory 1277 methodInvocations []pegomock.MethodInvocation 1278 } 1279 1280 func (c *MockFactory_CreateJXClient_OngoingVerification) GetCapturedArguments() { 1281 } 1282 1283 func (c *MockFactory_CreateJXClient_OngoingVerification) GetAllCapturedArguments() { 1284 } 1285 1286 func (verifier *VerifierMockFactory) CreateJenkinsAuthConfigService(_param0 string, _param1 string) *MockFactory_CreateJenkinsAuthConfigService_OngoingVerification { 1287 params := []pegomock.Param{_param0, _param1} 1288 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateJenkinsAuthConfigService", params, verifier.timeout) 1289 return &MockFactory_CreateJenkinsAuthConfigService_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1290 } 1291 1292 type MockFactory_CreateJenkinsAuthConfigService_OngoingVerification struct { 1293 mock *MockFactory 1294 methodInvocations []pegomock.MethodInvocation 1295 } 1296 1297 func (c *MockFactory_CreateJenkinsAuthConfigService_OngoingVerification) GetCapturedArguments() (string, string) { 1298 _param0, _param1 := c.GetAllCapturedArguments() 1299 return _param0[len(_param0)-1], _param1[len(_param1)-1] 1300 } 1301 1302 func (c *MockFactory_CreateJenkinsAuthConfigService_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 1303 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1304 if len(params) > 0 { 1305 _param0 = make([]string, len(c.methodInvocations)) 1306 for u, param := range params[0] { 1307 _param0[u] = param.(string) 1308 } 1309 _param1 = make([]string, len(c.methodInvocations)) 1310 for u, param := range params[1] { 1311 _param1[u] = param.(string) 1312 } 1313 } 1314 return 1315 } 1316 1317 func (verifier *VerifierMockFactory) CreateJenkinsClient(_param0 kubernetes.Interface, _param1 string, _param2 util.IOFileHandles) *MockFactory_CreateJenkinsClient_OngoingVerification { 1318 params := []pegomock.Param{_param0, _param1, _param2} 1319 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateJenkinsClient", params, verifier.timeout) 1320 return &MockFactory_CreateJenkinsClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1321 } 1322 1323 type MockFactory_CreateJenkinsClient_OngoingVerification struct { 1324 mock *MockFactory 1325 methodInvocations []pegomock.MethodInvocation 1326 } 1327 1328 func (c *MockFactory_CreateJenkinsClient_OngoingVerification) GetCapturedArguments() (kubernetes.Interface, string, util.IOFileHandles) { 1329 _param0, _param1, _param2 := c.GetAllCapturedArguments() 1330 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 1331 } 1332 1333 func (c *MockFactory_CreateJenkinsClient_OngoingVerification) GetAllCapturedArguments() (_param0 []kubernetes.Interface, _param1 []string, _param2 []util.IOFileHandles) { 1334 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1335 if len(params) > 0 { 1336 _param0 = make([]kubernetes.Interface, len(c.methodInvocations)) 1337 for u, param := range params[0] { 1338 _param0[u] = param.(kubernetes.Interface) 1339 } 1340 _param1 = make([]string, len(c.methodInvocations)) 1341 for u, param := range params[1] { 1342 _param1[u] = param.(string) 1343 } 1344 _param2 = make([]util.IOFileHandles, len(c.methodInvocations)) 1345 for u, param := range params[2] { 1346 _param2[u] = param.(util.IOFileHandles) 1347 } 1348 } 1349 return 1350 } 1351 1352 func (verifier *VerifierMockFactory) CreateKnativeServeClient() *MockFactory_CreateKnativeServeClient_OngoingVerification { 1353 params := []pegomock.Param{} 1354 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateKnativeServeClient", params, verifier.timeout) 1355 return &MockFactory_CreateKnativeServeClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1356 } 1357 1358 type MockFactory_CreateKnativeServeClient_OngoingVerification struct { 1359 mock *MockFactory 1360 methodInvocations []pegomock.MethodInvocation 1361 } 1362 1363 func (c *MockFactory_CreateKnativeServeClient_OngoingVerification) GetCapturedArguments() { 1364 } 1365 1366 func (c *MockFactory_CreateKnativeServeClient_OngoingVerification) GetAllCapturedArguments() { 1367 } 1368 1369 func (verifier *VerifierMockFactory) CreateKubeClient() *MockFactory_CreateKubeClient_OngoingVerification { 1370 params := []pegomock.Param{} 1371 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateKubeClient", params, verifier.timeout) 1372 return &MockFactory_CreateKubeClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1373 } 1374 1375 type MockFactory_CreateKubeClient_OngoingVerification struct { 1376 mock *MockFactory 1377 methodInvocations []pegomock.MethodInvocation 1378 } 1379 1380 func (c *MockFactory_CreateKubeClient_OngoingVerification) GetCapturedArguments() { 1381 } 1382 1383 func (c *MockFactory_CreateKubeClient_OngoingVerification) GetAllCapturedArguments() { 1384 } 1385 1386 func (verifier *VerifierMockFactory) CreateKubeConfig() *MockFactory_CreateKubeConfig_OngoingVerification { 1387 params := []pegomock.Param{} 1388 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateKubeConfig", params, verifier.timeout) 1389 return &MockFactory_CreateKubeConfig_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1390 } 1391 1392 type MockFactory_CreateKubeConfig_OngoingVerification struct { 1393 mock *MockFactory 1394 methodInvocations []pegomock.MethodInvocation 1395 } 1396 1397 func (c *MockFactory_CreateKubeConfig_OngoingVerification) GetCapturedArguments() { 1398 } 1399 1400 func (c *MockFactory_CreateKubeConfig_OngoingVerification) GetAllCapturedArguments() { 1401 } 1402 1403 func (verifier *VerifierMockFactory) CreateKustomizer() *MockFactory_CreateKustomizer_OngoingVerification { 1404 params := []pegomock.Param{} 1405 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateKustomizer", params, verifier.timeout) 1406 return &MockFactory_CreateKustomizer_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1407 } 1408 1409 type MockFactory_CreateKustomizer_OngoingVerification struct { 1410 mock *MockFactory 1411 methodInvocations []pegomock.MethodInvocation 1412 } 1413 1414 func (c *MockFactory_CreateKustomizer_OngoingVerification) GetCapturedArguments() { 1415 } 1416 1417 func (c *MockFactory_CreateKustomizer_OngoingVerification) GetAllCapturedArguments() { 1418 } 1419 1420 func (verifier *VerifierMockFactory) CreateLocalGitAuthConfigService() *MockFactory_CreateLocalGitAuthConfigService_OngoingVerification { 1421 params := []pegomock.Param{} 1422 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateLocalGitAuthConfigService", params, verifier.timeout) 1423 return &MockFactory_CreateLocalGitAuthConfigService_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1424 } 1425 1426 type MockFactory_CreateLocalGitAuthConfigService_OngoingVerification struct { 1427 mock *MockFactory 1428 methodInvocations []pegomock.MethodInvocation 1429 } 1430 1431 func (c *MockFactory_CreateLocalGitAuthConfigService_OngoingVerification) GetCapturedArguments() { 1432 } 1433 1434 func (c *MockFactory_CreateLocalGitAuthConfigService_OngoingVerification) GetAllCapturedArguments() { 1435 } 1436 1437 func (verifier *VerifierMockFactory) CreateMetricsClient() *MockFactory_CreateMetricsClient_OngoingVerification { 1438 params := []pegomock.Param{} 1439 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateMetricsClient", params, verifier.timeout) 1440 return &MockFactory_CreateMetricsClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1441 } 1442 1443 type MockFactory_CreateMetricsClient_OngoingVerification struct { 1444 mock *MockFactory 1445 methodInvocations []pegomock.MethodInvocation 1446 } 1447 1448 func (c *MockFactory_CreateMetricsClient_OngoingVerification) GetCapturedArguments() { 1449 } 1450 1451 func (c *MockFactory_CreateMetricsClient_OngoingVerification) GetAllCapturedArguments() { 1452 } 1453 1454 func (verifier *VerifierMockFactory) CreateProwJobClient() *MockFactory_CreateProwJobClient_OngoingVerification { 1455 params := []pegomock.Param{} 1456 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateProwJobClient", params, verifier.timeout) 1457 return &MockFactory_CreateProwJobClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1458 } 1459 1460 type MockFactory_CreateProwJobClient_OngoingVerification struct { 1461 mock *MockFactory 1462 methodInvocations []pegomock.MethodInvocation 1463 } 1464 1465 func (c *MockFactory_CreateProwJobClient_OngoingVerification) GetCapturedArguments() { 1466 } 1467 1468 func (c *MockFactory_CreateProwJobClient_OngoingVerification) GetAllCapturedArguments() { 1469 } 1470 1471 func (verifier *VerifierMockFactory) CreateSystemVaultClient(_param0 string) *MockFactory_CreateSystemVaultClient_OngoingVerification { 1472 params := []pegomock.Param{_param0} 1473 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateSystemVaultClient", params, verifier.timeout) 1474 return &MockFactory_CreateSystemVaultClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1475 } 1476 1477 type MockFactory_CreateSystemVaultClient_OngoingVerification struct { 1478 mock *MockFactory 1479 methodInvocations []pegomock.MethodInvocation 1480 } 1481 1482 func (c *MockFactory_CreateSystemVaultClient_OngoingVerification) GetCapturedArguments() string { 1483 _param0 := c.GetAllCapturedArguments() 1484 return _param0[len(_param0)-1] 1485 } 1486 1487 func (c *MockFactory_CreateSystemVaultClient_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 1488 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1489 if len(params) > 0 { 1490 _param0 = make([]string, len(c.methodInvocations)) 1491 for u, param := range params[0] { 1492 _param0[u] = param.(string) 1493 } 1494 } 1495 return 1496 } 1497 1498 func (verifier *VerifierMockFactory) CreateTable(_param0 io.Writer) *MockFactory_CreateTable_OngoingVerification { 1499 params := []pegomock.Param{_param0} 1500 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateTable", params, verifier.timeout) 1501 return &MockFactory_CreateTable_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1502 } 1503 1504 type MockFactory_CreateTable_OngoingVerification struct { 1505 mock *MockFactory 1506 methodInvocations []pegomock.MethodInvocation 1507 } 1508 1509 func (c *MockFactory_CreateTable_OngoingVerification) GetCapturedArguments() io.Writer { 1510 _param0 := c.GetAllCapturedArguments() 1511 return _param0[len(_param0)-1] 1512 } 1513 1514 func (c *MockFactory_CreateTable_OngoingVerification) GetAllCapturedArguments() (_param0 []io.Writer) { 1515 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1516 if len(params) > 0 { 1517 _param0 = make([]io.Writer, len(c.methodInvocations)) 1518 for u, param := range params[0] { 1519 _param0[u] = param.(io.Writer) 1520 } 1521 } 1522 return 1523 } 1524 1525 func (verifier *VerifierMockFactory) CreateTektonClient() *MockFactory_CreateTektonClient_OngoingVerification { 1526 params := []pegomock.Param{} 1527 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateTektonClient", params, verifier.timeout) 1528 return &MockFactory_CreateTektonClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1529 } 1530 1531 type MockFactory_CreateTektonClient_OngoingVerification struct { 1532 mock *MockFactory 1533 methodInvocations []pegomock.MethodInvocation 1534 } 1535 1536 func (c *MockFactory_CreateTektonClient_OngoingVerification) GetCapturedArguments() { 1537 } 1538 1539 func (c *MockFactory_CreateTektonClient_OngoingVerification) GetAllCapturedArguments() { 1540 } 1541 1542 func (verifier *VerifierMockFactory) CreateTektonPipelineResourceClient() *MockFactory_CreateTektonPipelineResourceClient_OngoingVerification { 1543 params := []pegomock.Param{} 1544 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateTektonPipelineResourceClient", params, verifier.timeout) 1545 return &MockFactory_CreateTektonPipelineResourceClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1546 } 1547 1548 type MockFactory_CreateTektonPipelineResourceClient_OngoingVerification struct { 1549 mock *MockFactory 1550 methodInvocations []pegomock.MethodInvocation 1551 } 1552 1553 func (c *MockFactory_CreateTektonPipelineResourceClient_OngoingVerification) GetCapturedArguments() { 1554 } 1555 1556 func (c *MockFactory_CreateTektonPipelineResourceClient_OngoingVerification) GetAllCapturedArguments() { 1557 } 1558 1559 func (verifier *VerifierMockFactory) CreateVaultOperatorClient() *MockFactory_CreateVaultOperatorClient_OngoingVerification { 1560 params := []pegomock.Param{} 1561 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateVaultOperatorClient", params, verifier.timeout) 1562 return &MockFactory_CreateVaultOperatorClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1563 } 1564 1565 type MockFactory_CreateVaultOperatorClient_OngoingVerification struct { 1566 mock *MockFactory 1567 methodInvocations []pegomock.MethodInvocation 1568 } 1569 1570 func (c *MockFactory_CreateVaultOperatorClient_OngoingVerification) GetCapturedArguments() { 1571 } 1572 1573 func (c *MockFactory_CreateVaultOperatorClient_OngoingVerification) GetAllCapturedArguments() { 1574 } 1575 1576 func (verifier *VerifierMockFactory) GetCustomJenkinsURL(_param0 kubernetes.Interface, _param1 string, _param2 string) *MockFactory_GetCustomJenkinsURL_OngoingVerification { 1577 params := []pegomock.Param{_param0, _param1, _param2} 1578 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetCustomJenkinsURL", params, verifier.timeout) 1579 return &MockFactory_GetCustomJenkinsURL_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1580 } 1581 1582 type MockFactory_GetCustomJenkinsURL_OngoingVerification struct { 1583 mock *MockFactory 1584 methodInvocations []pegomock.MethodInvocation 1585 } 1586 1587 func (c *MockFactory_GetCustomJenkinsURL_OngoingVerification) GetCapturedArguments() (kubernetes.Interface, string, string) { 1588 _param0, _param1, _param2 := c.GetAllCapturedArguments() 1589 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 1590 } 1591 1592 func (c *MockFactory_GetCustomJenkinsURL_OngoingVerification) GetAllCapturedArguments() (_param0 []kubernetes.Interface, _param1 []string, _param2 []string) { 1593 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1594 if len(params) > 0 { 1595 _param0 = make([]kubernetes.Interface, len(c.methodInvocations)) 1596 for u, param := range params[0] { 1597 _param0[u] = param.(kubernetes.Interface) 1598 } 1599 _param1 = make([]string, len(c.methodInvocations)) 1600 for u, param := range params[1] { 1601 _param1[u] = param.(string) 1602 } 1603 _param2 = make([]string, len(c.methodInvocations)) 1604 for u, param := range params[2] { 1605 _param2[u] = param.(string) 1606 } 1607 } 1608 return 1609 } 1610 1611 func (verifier *VerifierMockFactory) GetJenkinsURL(_param0 kubernetes.Interface, _param1 string) *MockFactory_GetJenkinsURL_OngoingVerification { 1612 params := []pegomock.Param{_param0, _param1} 1613 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetJenkinsURL", params, verifier.timeout) 1614 return &MockFactory_GetJenkinsURL_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1615 } 1616 1617 type MockFactory_GetJenkinsURL_OngoingVerification struct { 1618 mock *MockFactory 1619 methodInvocations []pegomock.MethodInvocation 1620 } 1621 1622 func (c *MockFactory_GetJenkinsURL_OngoingVerification) GetCapturedArguments() (kubernetes.Interface, string) { 1623 _param0, _param1 := c.GetAllCapturedArguments() 1624 return _param0[len(_param0)-1], _param1[len(_param1)-1] 1625 } 1626 1627 func (c *MockFactory_GetJenkinsURL_OngoingVerification) GetAllCapturedArguments() (_param0 []kubernetes.Interface, _param1 []string) { 1628 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1629 if len(params) > 0 { 1630 _param0 = make([]kubernetes.Interface, len(c.methodInvocations)) 1631 for u, param := range params[0] { 1632 _param0[u] = param.(kubernetes.Interface) 1633 } 1634 _param1 = make([]string, len(c.methodInvocations)) 1635 for u, param := range params[1] { 1636 _param1[u] = param.(string) 1637 } 1638 } 1639 return 1640 } 1641 1642 func (verifier *VerifierMockFactory) ImpersonateUser(_param0 string) *MockFactory_ImpersonateUser_OngoingVerification { 1643 params := []pegomock.Param{_param0} 1644 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "ImpersonateUser", params, verifier.timeout) 1645 return &MockFactory_ImpersonateUser_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1646 } 1647 1648 type MockFactory_ImpersonateUser_OngoingVerification struct { 1649 mock *MockFactory 1650 methodInvocations []pegomock.MethodInvocation 1651 } 1652 1653 func (c *MockFactory_ImpersonateUser_OngoingVerification) GetCapturedArguments() string { 1654 _param0 := c.GetAllCapturedArguments() 1655 return _param0[len(_param0)-1] 1656 } 1657 1658 func (c *MockFactory_ImpersonateUser_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 1659 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1660 if len(params) > 0 { 1661 _param0 = make([]string, len(c.methodInvocations)) 1662 for u, param := range params[0] { 1663 _param0[u] = param.(string) 1664 } 1665 } 1666 return 1667 } 1668 1669 func (verifier *VerifierMockFactory) IsInCDPipeline() *MockFactory_IsInCDPipeline_OngoingVerification { 1670 params := []pegomock.Param{} 1671 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "IsInCDPipeline", params, verifier.timeout) 1672 return &MockFactory_IsInCDPipeline_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1673 } 1674 1675 type MockFactory_IsInCDPipeline_OngoingVerification struct { 1676 mock *MockFactory 1677 methodInvocations []pegomock.MethodInvocation 1678 } 1679 1680 func (c *MockFactory_IsInCDPipeline_OngoingVerification) GetCapturedArguments() { 1681 } 1682 1683 func (c *MockFactory_IsInCDPipeline_OngoingVerification) GetAllCapturedArguments() { 1684 } 1685 1686 func (verifier *VerifierMockFactory) ResetSecretsLocation() *MockFactory_ResetSecretsLocation_OngoingVerification { 1687 params := []pegomock.Param{} 1688 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "ResetSecretsLocation", params, verifier.timeout) 1689 return &MockFactory_ResetSecretsLocation_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1690 } 1691 1692 type MockFactory_ResetSecretsLocation_OngoingVerification struct { 1693 mock *MockFactory 1694 methodInvocations []pegomock.MethodInvocation 1695 } 1696 1697 func (c *MockFactory_ResetSecretsLocation_OngoingVerification) GetCapturedArguments() { 1698 } 1699 1700 func (c *MockFactory_ResetSecretsLocation_OngoingVerification) GetAllCapturedArguments() { 1701 } 1702 1703 func (verifier *VerifierMockFactory) SecretsLocation() *MockFactory_SecretsLocation_OngoingVerification { 1704 params := []pegomock.Param{} 1705 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "SecretsLocation", params, verifier.timeout) 1706 return &MockFactory_SecretsLocation_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1707 } 1708 1709 type MockFactory_SecretsLocation_OngoingVerification struct { 1710 mock *MockFactory 1711 methodInvocations []pegomock.MethodInvocation 1712 } 1713 1714 func (c *MockFactory_SecretsLocation_OngoingVerification) GetCapturedArguments() { 1715 } 1716 1717 func (c *MockFactory_SecretsLocation_OngoingVerification) GetAllCapturedArguments() { 1718 } 1719 1720 func (verifier *VerifierMockFactory) SetBatch(_param0 bool) *MockFactory_SetBatch_OngoingVerification { 1721 params := []pegomock.Param{_param0} 1722 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "SetBatch", params, verifier.timeout) 1723 return &MockFactory_SetBatch_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1724 } 1725 1726 type MockFactory_SetBatch_OngoingVerification struct { 1727 mock *MockFactory 1728 methodInvocations []pegomock.MethodInvocation 1729 } 1730 1731 func (c *MockFactory_SetBatch_OngoingVerification) GetCapturedArguments() bool { 1732 _param0 := c.GetAllCapturedArguments() 1733 return _param0[len(_param0)-1] 1734 } 1735 1736 func (c *MockFactory_SetBatch_OngoingVerification) GetAllCapturedArguments() (_param0 []bool) { 1737 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1738 if len(params) > 0 { 1739 _param0 = make([]bool, len(c.methodInvocations)) 1740 for u, param := range params[0] { 1741 _param0[u] = param.(bool) 1742 } 1743 } 1744 return 1745 } 1746 1747 func (verifier *VerifierMockFactory) SetOffline(_param0 bool) *MockFactory_SetOffline_OngoingVerification { 1748 params := []pegomock.Param{_param0} 1749 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "SetOffline", params, verifier.timeout) 1750 return &MockFactory_SetOffline_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1751 } 1752 1753 type MockFactory_SetOffline_OngoingVerification struct { 1754 mock *MockFactory 1755 methodInvocations []pegomock.MethodInvocation 1756 } 1757 1758 func (c *MockFactory_SetOffline_OngoingVerification) GetCapturedArguments() bool { 1759 _param0 := c.GetAllCapturedArguments() 1760 return _param0[len(_param0)-1] 1761 } 1762 1763 func (c *MockFactory_SetOffline_OngoingVerification) GetAllCapturedArguments() (_param0 []bool) { 1764 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1765 if len(params) > 0 { 1766 _param0 = make([]bool, len(c.methodInvocations)) 1767 for u, param := range params[0] { 1768 _param0[u] = param.(bool) 1769 } 1770 } 1771 return 1772 } 1773 1774 func (verifier *VerifierMockFactory) SetSecretsLocation(_param0 secrets.SecretsLocationKind, _param1 bool) *MockFactory_SetSecretsLocation_OngoingVerification { 1775 params := []pegomock.Param{_param0, _param1} 1776 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "SetSecretsLocation", params, verifier.timeout) 1777 return &MockFactory_SetSecretsLocation_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1778 } 1779 1780 type MockFactory_SetSecretsLocation_OngoingVerification struct { 1781 mock *MockFactory 1782 methodInvocations []pegomock.MethodInvocation 1783 } 1784 1785 func (c *MockFactory_SetSecretsLocation_OngoingVerification) GetCapturedArguments() (secrets.SecretsLocationKind, bool) { 1786 _param0, _param1 := c.GetAllCapturedArguments() 1787 return _param0[len(_param0)-1], _param1[len(_param1)-1] 1788 } 1789 1790 func (c *MockFactory_SetSecretsLocation_OngoingVerification) GetAllCapturedArguments() (_param0 []secrets.SecretsLocationKind, _param1 []bool) { 1791 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1792 if len(params) > 0 { 1793 _param0 = make([]secrets.SecretsLocationKind, len(c.methodInvocations)) 1794 for u, param := range params[0] { 1795 _param0[u] = param.(secrets.SecretsLocationKind) 1796 } 1797 _param1 = make([]bool, len(c.methodInvocations)) 1798 for u, param := range params[1] { 1799 _param1[u] = param.(bool) 1800 } 1801 } 1802 return 1803 } 1804 1805 func (verifier *VerifierMockFactory) WithBearerToken(_param0 string) *MockFactory_WithBearerToken_OngoingVerification { 1806 params := []pegomock.Param{_param0} 1807 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "WithBearerToken", params, verifier.timeout) 1808 return &MockFactory_WithBearerToken_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1809 } 1810 1811 type MockFactory_WithBearerToken_OngoingVerification struct { 1812 mock *MockFactory 1813 methodInvocations []pegomock.MethodInvocation 1814 } 1815 1816 func (c *MockFactory_WithBearerToken_OngoingVerification) GetCapturedArguments() string { 1817 _param0 := c.GetAllCapturedArguments() 1818 return _param0[len(_param0)-1] 1819 } 1820 1821 func (c *MockFactory_WithBearerToken_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 1822 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1823 if len(params) > 0 { 1824 _param0 = make([]string, len(c.methodInvocations)) 1825 for u, param := range params[0] { 1826 _param0[u] = param.(string) 1827 } 1828 } 1829 return 1830 }