-
Notifications
You must be signed in to change notification settings - Fork 121
/
zz_sagemaker_setup.go
executable file
·68 lines (63 loc) · 3.07 KB
/
zz_sagemaker_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
// 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"
app "github.com/upbound/provider-aws/internal/controller/sagemaker/app"
appimageconfig "github.com/upbound/provider-aws/internal/controller/sagemaker/appimageconfig"
coderepository "github.com/upbound/provider-aws/internal/controller/sagemaker/coderepository"
device "github.com/upbound/provider-aws/internal/controller/sagemaker/device"
devicefleet "github.com/upbound/provider-aws/internal/controller/sagemaker/devicefleet"
domain "github.com/upbound/provider-aws/internal/controller/sagemaker/domain"
endpoint "github.com/upbound/provider-aws/internal/controller/sagemaker/endpoint"
endpointconfiguration "github.com/upbound/provider-aws/internal/controller/sagemaker/endpointconfiguration"
featuregroup "github.com/upbound/provider-aws/internal/controller/sagemaker/featuregroup"
image "github.com/upbound/provider-aws/internal/controller/sagemaker/image"
imageversion "github.com/upbound/provider-aws/internal/controller/sagemaker/imageversion"
model "github.com/upbound/provider-aws/internal/controller/sagemaker/model"
modelpackagegroup "github.com/upbound/provider-aws/internal/controller/sagemaker/modelpackagegroup"
modelpackagegrouppolicy "github.com/upbound/provider-aws/internal/controller/sagemaker/modelpackagegrouppolicy"
notebookinstance "github.com/upbound/provider-aws/internal/controller/sagemaker/notebookinstance"
notebookinstancelifecycleconfiguration "github.com/upbound/provider-aws/internal/controller/sagemaker/notebookinstancelifecycleconfiguration"
servicecatalogportfoliostatus "github.com/upbound/provider-aws/internal/controller/sagemaker/servicecatalogportfoliostatus"
space "github.com/upbound/provider-aws/internal/controller/sagemaker/space"
studiolifecycleconfig "github.com/upbound/provider-aws/internal/controller/sagemaker/studiolifecycleconfig"
userprofile "github.com/upbound/provider-aws/internal/controller/sagemaker/userprofile"
workforce "github.com/upbound/provider-aws/internal/controller/sagemaker/workforce"
workteam "github.com/upbound/provider-aws/internal/controller/sagemaker/workteam"
)
// Setup_sagemaker creates all controllers with the supplied logger and adds them to
// the supplied manager.
func Setup_sagemaker(mgr ctrl.Manager, o controller.Options) error {
for _, setup := range []func(ctrl.Manager, controller.Options) error{
app.Setup,
appimageconfig.Setup,
coderepository.Setup,
device.Setup,
devicefleet.Setup,
domain.Setup,
endpoint.Setup,
endpointconfiguration.Setup,
featuregroup.Setup,
image.Setup,
imageversion.Setup,
model.Setup,
modelpackagegroup.Setup,
modelpackagegrouppolicy.Setup,
notebookinstance.Setup,
notebookinstancelifecycleconfiguration.Setup,
servicecatalogportfoliostatus.Setup,
space.Setup,
studiolifecycleconfig.Setup,
userprofile.Setup,
workforce.Setup,
workteam.Setup,
} {
if err := setup(mgr, o); err != nil {
return err
}
}
return nil
}