generated from crossplane/upjet-provider-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
43 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package blockDevice | ||
package blockdevice | ||
|
||
import "github.com/upbound/upjet/pkg/config" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package catalogItem | ||
package catalogitem | ||
|
||
import "github.com/upbound/upjet/pkg/config" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package catalogSource | ||
package catalogsource | ||
|
||
import "github.com/upbound/upjet/pkg/config" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,44 @@ | ||
package cloudAccount | ||
package cloudaccount | ||
|
||
import "github.com/upbound/upjet/pkg/config" | ||
|
||
const version string = "v1alpha1" | ||
const shortGroup string = "cloudAccount" | ||
|
||
// Configure configures individual resources by adding custom ResourceConfigurators. | ||
func Configure(p *config.Provider) { | ||
p.AddResourceConfigurator("vra_cloud_account_aws", func(r *config.Resource) { | ||
r.Version = "v1alpha1" | ||
r.ShortGroup = "cloudAccount" | ||
r.Version = version | ||
r.ShortGroup = shortGroup | ||
}) | ||
|
||
p.AddResourceConfigurator("vra_cloud_account_azure", func(r *config.Resource) { | ||
r.Version = "v1alpha1" | ||
r.ShortGroup = "cloudAccount" | ||
r.Version = version | ||
r.ShortGroup = shortGroup | ||
}) | ||
|
||
p.AddResourceConfigurator("vra_cloud_account_gcp", func(r *config.Resource) { | ||
r.Version = "v1alpha1" | ||
r.ShortGroup = "cloudAccount" | ||
r.Version = version | ||
r.ShortGroup = shortGroup | ||
}) | ||
|
||
p.AddResourceConfigurator("vra_cloud_account_nsxt", func(r *config.Resource) { | ||
r.Version = "v1alpha1" | ||
r.ShortGroup = "cloudAccount" | ||
r.Version = version | ||
r.ShortGroup = shortGroup | ||
}) | ||
|
||
p.AddResourceConfigurator("vra_cloud_account_nsxv", func(r *config.Resource) { | ||
r.Version = "v1alpha1" | ||
r.ShortGroup = "cloudAccount" | ||
r.Version = version | ||
r.ShortGroup = shortGroup | ||
}) | ||
|
||
p.AddResourceConfigurator("vra_cloud_account_vmc", func(r *config.Resource) { | ||
r.Version = "v1alpha1" | ||
r.ShortGroup = "cloudAccount" | ||
r.Version = version | ||
r.ShortGroup = shortGroup | ||
}) | ||
|
||
p.AddResourceConfigurator("vra_cloud_account_vsphere", func(r *config.Resource) { | ||
r.Version = "v1alpha1" | ||
r.ShortGroup = "cloudAccount" | ||
r.Version = version | ||
r.ShortGroup = shortGroup | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package contentSource | ||
package contentsource | ||
|
||
import "github.com/upbound/upjet/pkg/config" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package flavorProfile | ||
package flavorprofile | ||
|
||
import "github.com/upbound/upjet/pkg/config" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package imageProfile | ||
package imageprofile | ||
|
||
import "github.com/upbound/upjet/pkg/config" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package loadBalancer | ||
package loadbalancer | ||
|
||
import "github.com/upbound/upjet/pkg/config" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters