Documentation ¶
Index ¶
- Variables
- func ConstructClusterGroupSecretFullname(data []interface{}, name, namespace string) (...)
- func ConstructClusterSecretFullname(data []interface{}, name, namespace string) (...)
- func FlattenClusterGroupSecretFullname(...) (data []interface{})
- func FlattenClusterSecretFullname(...) (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 kubernetes secret, having one of the valid scopes: %v.", strings.Join(ScopesAllowed[:], `, `))), commonscope.WithScopes(ScopesAllowed[:])) )
Functions ¶
func ConstructClusterGroupSecretFullname ¶ added in v1.3.0
func ConstructClusterGroupSecretFullname(data []interface{}, name, namespace string) (fullname *secretclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupNamespaceSecretFullName)
func ConstructClusterSecretFullname ¶ added in v1.3.0
func ConstructClusterSecretFullname(data []interface{}, name, namespace string) (fullname *secretclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceSecretFullName)
func FlattenClusterGroupSecretFullname ¶ added in v1.3.0
func FlattenClusterGroupSecretFullname(fullname *secretclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupNamespaceSecretFullName) (data []interface{})
func FlattenClusterSecretFullname ¶ added in v1.3.0
func FlattenClusterSecretFullname(fullname *secretclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceSecretFullName) (data []interface{})
func FlattenScope ¶
func FlattenScope(scopedFullname *ScopedFullname) (data []interface{}, name, namespace string)
Types ¶
type ScopedFullname ¶
type ScopedFullname struct { Scope commonscope.Scope FullnameCluster *secretclustermodel.VmwareTanzuManageV1alpha1ClusterNamespaceSecretFullName FullnameClusterGroup *secretclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupNamespaceSecretFullName }
ScopedFullname is a struct for all types of kubernetes secret full names.
func ConstructScope ¶
func ConstructScope(d *schema.ResourceData, name, namespace string) (scopedFullnameData *ScopedFullname)
Click to show internal directories.
Click to hide internal directories.