Documentation ¶
Index ¶
- Variables
- func ConstructClusterGroupKustomizationFullname(data []interface{}, name, namespace string) (...)
- func ConstructClusterKustomizationFullname(data []interface{}, name, namespace string) (...)
- func FlattenClusterGroupKustomizationFullname(...) (data []interface{})
- func FlattenClusterKustomizationFullname(...) (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 kustomization, having one of the valid scopes: %v.", strings.Join(ScopesAllowed[:], `, `))), commonscope.WithScopes(ScopesAllowed[:])) )
Functions ¶
func ConstructClusterGroupKustomizationFullname ¶
func ConstructClusterGroupKustomizationFullname(data []interface{}, name, namespace string) (fullname *kustomizationclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupNamespaceFluxcdKustomizationFullName)
func ConstructClusterKustomizationFullname ¶
func ConstructClusterKustomizationFullname(data []interface{}, name, namespace string) (fullname *kustomizationclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceFluxcdKustomizationFullName)
func FlattenClusterGroupKustomizationFullname ¶
func FlattenClusterGroupKustomizationFullname(fullname *kustomizationclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupNamespaceFluxcdKustomizationFullName) (data []interface{})
func FlattenClusterKustomizationFullname ¶
func FlattenClusterKustomizationFullname(fullname *kustomizationclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceFluxcdKustomizationFullName) (data []interface{})
func FlattenScope ¶
func FlattenScope(scopedFullname *ScopedFullname) (data []interface{}, name, namespace string)
Types ¶
type ScopedFullname ¶
type ScopedFullname struct { Scope commonscope.Scope FullnameCluster *kustomizationclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceFluxcdKustomizationFullName FullnameClusterGroup *kustomizationclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupNamespaceFluxcdKustomizationFullName }
ScopedFullname is a struct for all types of kustomization full names.
func ConstructScope ¶
func ConstructScope(d *schema.ResourceData, name, namespace string) (scopedFullnameData *ScopedFullname)
Click to show internal directories.
Click to hide internal directories.