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