Documentation ¶
Index ¶
- Variables
- func ConstructClusterGroupSourcesecretFullname(data []interface{}, name string) (...)
- func ConstructClusterSourcesecretFullname(data []interface{}, name string) (...)
- func FlattenClusterGroupSourcesecretFullname(...) (data []interface{})
- func FlattenClusterSourcesecretFullname(...) (data []interface{})
- func FlattenScope(scopedFullname *ScopedFullname) (data []interface{}, name string)
- type ScopedFullname
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CredentialTypesAllowed = [...]string{commonscope.ClusterKey, commonscope.ClusterGroupKey} ScopeSchema = commonscope.GetScopeSchema( commonscope.WithDescription(fmt.Sprintf("Scope for the source secret, having one of the valid scopes: %v.", strings.Join(CredentialTypesAllowed[:], `, `))), commonscope.WithScopes(CredentialTypesAllowed[:])) )
Functions ¶
func ConstructClusterGroupSourcesecretFullname ¶
func ConstructClusterGroupSourcesecretFullname(data []interface{}, name string) (fullname *sourcesecretclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupFluxcdSourcesecretFullName)
func ConstructClusterSourcesecretFullname ¶
func ConstructClusterSourcesecretFullname(data []interface{}, name string) (fullname *sourcesecretclustermodel.VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretFullName)
func FlattenClusterGroupSourcesecretFullname ¶
func FlattenClusterGroupSourcesecretFullname(fullname *sourcesecretclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupFluxcdSourcesecretFullName) (data []interface{})
func FlattenClusterSourcesecretFullname ¶
func FlattenClusterSourcesecretFullname(fullname *sourcesecretclustermodel.VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretFullName) (data []interface{})
func FlattenScope ¶
func FlattenScope(scopedFullname *ScopedFullname) (data []interface{}, name string)
Types ¶
type ScopedFullname ¶
type ScopedFullname struct { Scope commonscope.Scope FullnameCluster *sourcesecretlustermodel.VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretFullName FullnameClusterGroup *sourcesecretlustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupFluxcdSourcesecretFullName }
ScopedFullname is a struct for all types of source secret full names.
func ConstructScope ¶
func ConstructScope(d *schema.ResourceData, name string) (scopedFullnameData *ScopedFullname, scopesFound []string)
Click to show internal directories.
Click to hide internal directories.