Selaa lähdekoodia

fix(v2): restore generated provider entrypoints

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Moritz Johner 2 kuukautta sitten
vanhempi
sitoutus
111908d857

+ 2 - 1
providers/v2/aws/main.go

@@ -3,7 +3,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 You may obtain a copy of the License at
 
 
-    http://www.apache.org/licenses/LICENSE-2.0
+    https://www.apache.org/licenses/LICENSE-2.0
 
 
 Unless required by applicable law or agreed to in writing, software
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 distributed under the License is distributed on an "AS IS" BASIS,
@@ -17,6 +17,7 @@ limitations under the License.
 package main
 package main
 
 
 import (
 import (
+	"context"
 	"flag"
 	"flag"
 	"fmt"
 	"fmt"
 	"log"
 	"log"

+ 2 - 1
providers/v2/fake/main.go

@@ -3,7 +3,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 You may obtain a copy of the License at
 
 
-    http://www.apache.org/licenses/LICENSE-2.0
+    https://www.apache.org/licenses/LICENSE-2.0
 
 
 Unless required by applicable law or agreed to in writing, software
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 distributed under the License is distributed on an "AS IS" BASIS,
@@ -17,6 +17,7 @@ limitations under the License.
 package main
 package main
 
 
 import (
 import (
+	"context"
 	"flag"
 	"flag"
 	"fmt"
 	"fmt"
 	"log"
 	"log"

+ 1 - 0
providers/v2/hack/templates/main.go.tmpl

@@ -19,6 +19,7 @@ limitations under the License.
 package main
 package main
 
 
 import (
 import (
+	"context"
 	"flag"
 	"flag"
 	"fmt"
 	"fmt"
 	"log"
 	"log"

+ 2 - 1
providers/v2/kubernetes/main.go

@@ -3,7 +3,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 You may obtain a copy of the License at
 
 
-    http://www.apache.org/licenses/LICENSE-2.0
+    https://www.apache.org/licenses/LICENSE-2.0
 
 
 Unless required by applicable law or agreed to in writing, software
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 distributed under the License is distributed on an "AS IS" BASIS,
@@ -17,6 +17,7 @@ limitations under the License.
 package main
 package main
 
 
 import (
 import (
+	"context"
 	"flag"
 	"flag"
 	"fmt"
 	"fmt"
 	"log"
 	"log"