Documentation ¶
Index ¶
- Variables
- func ConstructClusterGroupReleaseFullname(data []interface{}, name, namespace string) (...)
- func ConstructClusterReleaseFullname(data []interface{}, name, namespace string) (...)
- func FlattenClusterGroupReleaseFullname(...) (data []interface{})
- func FlattenClusterReleaseFullname(...) (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 Helm release, having one of the valid scopes: %v.", strings.Join(ScopesAllowed[:], `, `))), commonscope.WithScopes(ScopesAllowed[:])) )
Functions ¶
func ConstructClusterGroupReleaseFullname ¶
func ConstructClusterGroupReleaseFullname(data []interface{}, name, namespace string) (fullname *releaseclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupNamespaceFluxcdHelmReleaseFullName)
func ConstructClusterReleaseFullname ¶
func ConstructClusterReleaseFullname(data []interface{}, name, namespace string) (fullname *releaseclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceFluxcdHelmReleaseFullName)
func FlattenClusterGroupReleaseFullname ¶
func FlattenClusterGroupReleaseFullname(fullname *releaseclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupNamespaceFluxcdHelmReleaseFullName) (data []interface{})
func FlattenClusterReleaseFullname ¶
func FlattenClusterReleaseFullname(fullname *releaseclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceFluxcdHelmReleaseFullName) (data []interface{})
func FlattenScope ¶
func FlattenScope(scopedFullname *ScopedFullname) (data []interface{}, name, namespace string)
Types ¶
type ScopedFullname ¶
type ScopedFullname struct { Scope commonscope.Scope FullnameCluster *releaseclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceFluxcdHelmReleaseFullName FullnameClusterGroup *releaseclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupNamespaceFluxcdHelmReleaseFullName }
ScopedFullname is a struct for all types of helm release full names.
func ConstructScope ¶
func ConstructScope(d *schema.ResourceData, name, namespace string) (scopedFullnameData *ScopedFullname)
Click to show internal directories.
Click to hide internal directories.