Documentation ¶
Index ¶
- Variables
- func ConstructClusterGitRepositoryFullname(data []interface{}, name, namespace string) (...)
- func ConstructClusterGroupGitRepositoryFullname(data []interface{}, name, namespace string) (...)
- func FlattenClusterGitRepositoryFullname(...) (data []interface{})
- func FlattenClusterGroupGitRepositoryFullname(...) (data []interface{})
- func FlattenScope(scopedFullname *ScopedFullname) (data []interface{}, name, namespace string)
- type ScopedFullname
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ScopesAllowed = [...]string{commonscope.ClusterKey, commonscope.ClusterGroupKey} ScopeSchema = commonscope.GetScopeSchema( commonscope.WithDescription(fmt.Sprintf("Scope for the git repository, having one of the valid scopes: %v.", strings.Join(ScopesAllowed[:], `, `))), commonscope.WithScopes(ScopesAllowed[:])) )
Functions ¶
func ConstructClusterGitRepositoryFullname ¶
func ConstructClusterGitRepositoryFullname(data []interface{}, name, namespace string) (fullname *gitrepositoryclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceFluxcdGitrepositoryFullName)
func ConstructClusterGroupGitRepositoryFullname ¶
func ConstructClusterGroupGitRepositoryFullname(data []interface{}, name, namespace string) (fullname *gitrepositoryclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupNamespaceFluxcdGitrepositoryFullName)
func FlattenClusterGitRepositoryFullname ¶
func FlattenClusterGitRepositoryFullname(fullname *gitrepositoryclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceFluxcdGitrepositoryFullName) (data []interface{})
func FlattenClusterGroupGitRepositoryFullname ¶
func FlattenClusterGroupGitRepositoryFullname(fullname *gitrepositoryclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupNamespaceFluxcdGitrepositoryFullName) (data []interface{})
func FlattenScope ¶
func FlattenScope(scopedFullname *ScopedFullname) (data []interface{}, name, namespace string)
Types ¶
type ScopedFullname ¶
type ScopedFullname struct { Scope commonscope.Scope FullnameCluster *gitrepositoryclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceFluxcdGitrepositoryFullName FullnameClusterGroup *gitrepositoryclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupNamespaceFluxcdGitrepositoryFullName }
ScopedFullname is a struct for all types of git repository full names.
func ConstructScope ¶
func ConstructScope(d *schema.ResourceData, name, namespace string) (scopedFullnameData *ScopedFullname)
Click to show internal directories.
Click to hide internal directories.