-
Notifications
You must be signed in to change notification settings - Fork 121
/
zz_apigateway_setup.go
executable file
·72 lines (67 loc) · 3.19 KB
/
zz_apigateway_setup.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0
package controller
import (
ctrl "sigs.k8s.io/controller-runtime"
"github.com/crossplane/upjet/pkg/controller"
account "github.com/upbound/provider-aws/internal/controller/apigateway/account"
apikey "github.com/upbound/provider-aws/internal/controller/apigateway/apikey"
authorizer "github.com/upbound/provider-aws/internal/controller/apigateway/authorizer"
basepathmapping "github.com/upbound/provider-aws/internal/controller/apigateway/basepathmapping"
clientcertificate "github.com/upbound/provider-aws/internal/controller/apigateway/clientcertificate"
deployment "github.com/upbound/provider-aws/internal/controller/apigateway/deployment"
documentationpart "github.com/upbound/provider-aws/internal/controller/apigateway/documentationpart"
documentationversion "github.com/upbound/provider-aws/internal/controller/apigateway/documentationversion"
domainname "github.com/upbound/provider-aws/internal/controller/apigateway/domainname"
gatewayresponse "github.com/upbound/provider-aws/internal/controller/apigateway/gatewayresponse"
integration "github.com/upbound/provider-aws/internal/controller/apigateway/integration"
integrationresponse "github.com/upbound/provider-aws/internal/controller/apigateway/integrationresponse"
method "github.com/upbound/provider-aws/internal/controller/apigateway/method"
methodresponse "github.com/upbound/provider-aws/internal/controller/apigateway/methodresponse"
methodsettings "github.com/upbound/provider-aws/internal/controller/apigateway/methodsettings"
model "github.com/upbound/provider-aws/internal/controller/apigateway/model"
requestvalidator "github.com/upbound/provider-aws/internal/controller/apigateway/requestvalidator"
resource "github.com/upbound/provider-aws/internal/controller/apigateway/resource"
restapi "github.com/upbound/provider-aws/internal/controller/apigateway/restapi"
restapipolicy "github.com/upbound/provider-aws/internal/controller/apigateway/restapipolicy"
stage "github.com/upbound/provider-aws/internal/controller/apigateway/stage"
usageplan "github.com/upbound/provider-aws/internal/controller/apigateway/usageplan"
usageplankey "github.com/upbound/provider-aws/internal/controller/apigateway/usageplankey"
vpclink "github.com/upbound/provider-aws/internal/controller/apigateway/vpclink"
)
// Setup_apigateway creates all controllers with the supplied logger and adds them to
// the supplied manager.
func Setup_apigateway(mgr ctrl.Manager, o controller.Options) error {
for _, setup := range []func(ctrl.Manager, controller.Options) error{
account.Setup,
apikey.Setup,
authorizer.Setup,
basepathmapping.Setup,
clientcertificate.Setup,
deployment.Setup,
documentationpart.Setup,
documentationversion.Setup,
domainname.Setup,
gatewayresponse.Setup,
integration.Setup,
integrationresponse.Setup,
method.Setup,
methodresponse.Setup,
methodsettings.Setup,
model.Setup,
requestvalidator.Setup,
resource.Setup,
restapi.Setup,
restapipolicy.Setup,
stage.Setup,
usageplan.Setup,
usageplankey.Setup,
vpclink.Setup,
} {
if err := setup(mgr, o); err != nil {
return err
}
}
return nil
}