generated from crossplane/upjet-provider-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
1312705
commit 858cdf2
Showing
4 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
config/control_credential/config.go → config/credential/config.go
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,12 +1,12 @@ | ||
package control_credential | ||
package credential | ||
|
||
import "github.com/upbound/upjet/pkg/config" | ||
|
||
// Configure configures individual resources by adding custom ResourceConfigurators. | ||
func Configure(p *config.Provider) { | ||
p.AddResourceConfigurator("tanzu-mission-control_credential", func(r *config.Resource) { | ||
r.ShortGroup = "tmc" | ||
r.Kind = "Control_Credential" | ||
r.Kind = "Credential" | ||
r.Version = "v1alpha1" | ||
}) | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package custom_policy | ||
|
||
import "github.com/upbound/upjet/pkg/config" | ||
|
||
// Configure configures individual resources by adding custom ResourceConfigurators. | ||
func Configure(p *config.Provider) { | ||
p.AddResourceConfigurator("tanzu-mission-control_custom_policy", func(r *config.Resource) { | ||
r.ShortGroup = "tmc" | ||
r.Kind = "Custom_Policy" | ||
r.Version = "v1alpha1" | ||
}) | ||
} |
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