https://github.com/01walid/cdktf-gke-auth-go
https://github.com/01walid/cdktf-gke-auth-go
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/01walid/cdktf-gke-auth-go
- Owner: 01walid
- Created: 2023-06-04T13:28:19.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-04T13:47:07.000Z (about 3 years ago)
- Last Synced: 2025-02-22T19:49:16.890Z (over 1 year ago)
- Language: Go
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cdktf-gke-auth-go
This is a meta-repository for the Golang version of [cdktf-gke-auth](https://github.com/01walid/cdktf-gke-auth) construct.
This repo's Golang module content is auto-updated by [projen](https://github.com/projen/projen) via the github actions of the [parent repo](https://github.com/01walid/cdktf-gke-auth).
## Example Golang usage
```go
// Example automatically generated from non-compiling source. May contain errors.
import "github.com/cdktf/cdktf-provider-google-go/google"
import "github.com/hashicorp/terraform-cdk-go/cdktf"
import "github.com/aws/constructs-go/constructs"
import "github.com/01walid/cdktf-gke-auth-go/cdktfgkeauth"
type MyKubeStack struct {
terraformStack
}
func NewMyKubeStack(scope construct, name *string) *MyKubeStack {
this := &MyKubeStack{}
newTerraformStack_Override(this, scope, name)
google.NewGoogleProvider(this, jsii.String("google-provider"), &GoogleProviderConfig{
})
auth := cdktfgkeauth.NewGKEAuth(this, jsii.String("gke-auth"), &ClusterInfo{
ClusterName: jsii.String("my-cluster"),
Location: jsii.String("europe-west1"),
ProjectId: jsii.String("my-project"),
})
return this
}
```
Please refer to the [parent repository](https://github.com/01walid/cdktf-gke-auth) for more information.