Skip to content
This repository was archived by the owner on Nov 7, 2019. It is now read-only.

Commit 9fe20ce

Browse files
Cleaning Up with go fmt and adding description
Signed-off-by: Christopher Hein <[email protected]>
1 parent 2dc90fd commit 9fe20ce

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

cmd/aws-service-operator/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ var (
2020
rootCmd = &cobra.Command{
2121
Use: "aws-operator",
2222
Short: "AWS Operator manages your AWS Infrastructure using CRDs and Operators",
23-
Long: `TODO WRITE THIS`,
23+
Long: `AWS Operator manages your AWS Infrastructure using CRDs and Operators.
24+
With a single manifest file you can now model both the application and the resource necessary to run it.`,
2425
Run: func(c *cobra.Command, _ []string) {
2526
c.Help()
2627
},

code-generation/pkg/codegen/templates.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/config/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type Config struct {
2323
ClusterName string
2424
Bucket string
2525
AccountID string
26-
Recorder record.EventRecorder
26+
Recorder record.EventRecorder
2727
}
2828

2929
// LoggingConfig defines the attributes for the logger

pkg/server/server.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"github.com/aws/aws-sdk-go/aws/session"
88
"time"
99

10+
awsscheme "github.com/awslabs/aws-service-operator/pkg/client/clientset/versioned/scheme"
1011
awsclient "github.com/awslabs/aws-service-operator/pkg/client/clientset/versioned/typed/service-operator.aws/v1alpha1"
1112
"github.com/awslabs/aws-service-operator/pkg/config"
1213
"github.com/awslabs/aws-service-operator/pkg/operator/cloudformationtemplate"
@@ -20,12 +21,11 @@ import (
2021
corev1 "k8s.io/api/core/v1"
2122
apiextensionsclient "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset"
2223
"k8s.io/client-go/kubernetes"
24+
"k8s.io/client-go/kubernetes/scheme"
25+
typedcorev1 "k8s.io/client-go/kubernetes/typed/core/v1"
2326
"k8s.io/client-go/rest"
2427
"k8s.io/client-go/tools/clientcmd"
2528
"k8s.io/client-go/tools/record"
26-
typedcorev1 "k8s.io/client-go/kubernetes/typed/core/v1"
27-
"k8s.io/client-go/kubernetes/scheme"
28-
awsscheme "github.com/awslabs/aws-service-operator/pkg/client/clientset/versioned/scheme"
2929
)
3030

3131
const controllerName = "aws-service-operator"

0 commit comments

Comments
 (0)