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