Documentation ¶
Index ¶
- Constants
- Variables
- func ConstructNamespaceFullname(data []interface{}) (fullname *namespacemodel.VmwareTanzuManageV1alpha1ClusterNamespaceFullName)
- func DataSourceNamespace() *schema.Resource
- func FlattenNamespaceFullname(fullname *namespacemodel.VmwareTanzuManageV1alpha1ClusterNamespaceFullName) (data []interface{})
- func ResourceNamespace() *schema.Resource
Constants ¶
View Source
const ( NameKey = "name" ManagementClusterNameKey = "management_cluster_name" ProvisionerNameKey = "provisioner_name" ClusterNameKey = "cluster_name" ResourceName = "tanzu-mission-control_namespace" )
Variables ¶
View Source
var NamespaceFullname = &schema.Schema{ Type: schema.TypeList, Description: "The schema for namespace iam policy full name", Required: true, MaxItems: 1, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ NameKey: { Type: schema.TypeString, Description: "Name of the Namespace", Required: true, ForceNew: true, }, ManagementClusterNameKey: { Type: schema.TypeString, Description: "Name of ManagementCluster", Default: attachedValue, Optional: true, ForceNew: true, }, ProvisionerNameKey: { Type: schema.TypeString, Description: "Name of Provisioner", Default: attachedValue, Optional: true, ForceNew: true, }, ClusterNameKey: { Type: schema.TypeString, Description: "Name of Cluster", Required: true, ForceNew: true, }, }, }, }
Functions ¶
func ConstructNamespaceFullname ¶ added in v1.1.0
func ConstructNamespaceFullname(data []interface{}) (fullname *namespacemodel.VmwareTanzuManageV1alpha1ClusterNamespaceFullName)
func DataSourceNamespace ¶
func FlattenNamespaceFullname ¶ added in v1.1.0
func FlattenNamespaceFullname(fullname *namespacemodel.VmwareTanzuManageV1alpha1ClusterNamespaceFullName) (data []interface{})
func ResourceNamespace ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.