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