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 install, having one of the valid scopes: %v.", strings.Join(ScopesAllowed[:], `, `))), commonscope.WithScopes(ScopesAllowed[:])) )
Functions ¶
func ConstructClusterPackageInstallFullname ¶
func ConstructClusterPackageInstallFullname(data []interface{}, name, namespace string) (fullname *packageinstallclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceTanzupackageInstallFullName)
func FlattenClusterPackageInstallFullname ¶
func FlattenClusterPackageInstallFullname(fullname *packageinstallclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceTanzupackageInstallFullName) (data []interface{})
func FlattenScope ¶
func FlattenScope(scopedFullname *ScopedFullname) (data []interface{}, name, namespace string)
Types ¶
type ScopedFullname ¶
type ScopedFullname struct { Scope commonscope.Scope FullnameCluster *packageinstallmodel.VmwareTanzuManageV1alpha1ClusterNamespaceTanzupackageInstallFullName }
ScopedFullname is a struct for all types of package install full names.
func ConstructScope ¶
func ConstructScope(d *schema.ResourceData, name, namespace string) (scopedFullnameData *ScopedFullname, scopesFound []string)
Click to show internal directories.
Click to hide internal directories.