Documentation ¶
Index ¶
- Constants
- Variables
- func ConstructClusterFullname(data []interface{}) (fullname *clustermodel.VmwareTanzuManageV1alpha1ClusterFullName)
- func DataSourceTMCCluster() *schema.Resource
- func FlattenClusterFullname(fullname *clustermodel.VmwareTanzuManageV1alpha1ClusterFullName) (data []interface{})
- func ResourceTMCCluster() *schema.Resource
Constants ¶
View Source
const ( ManagementClusterNameKey = "management_cluster_name" ProvisionerNameKey = "provisioner_name" NameKey = "name" SpecKey = "spec" StatusKey = "status" ResourceName = "tanzu-mission-control_cluster" )
Variables ¶
View Source
var ClusterFullname = &schema.Schema{ Type: schema.TypeList, Description: "The schema for cluster full name", Optional: true, ForceNew: true, MaxItems: 1, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ ManagementClusterNameKey: { Type: schema.TypeString, Description: "Name of the management cluster", Default: attachedValue, Optional: true, ForceNew: true, }, ProvisionerNameKey: { Type: schema.TypeString, Description: "Provisioner of the cluster", Default: attachedValue, Optional: true, ForceNew: true, }, NameKey: { Type: schema.TypeString, Description: "Name of this cluster", Required: true, ForceNew: true, }, }, }, }
View Source
var (
KubeConfigWayAllowed = [...]string{attachClusterKubeConfigPathKey, attachClusterKubeConfigRawKey}
)
Functions ¶
func ConstructClusterFullname ¶ added in v1.1.0
func ConstructClusterFullname(data []interface{}) (fullname *clustermodel.VmwareTanzuManageV1alpha1ClusterFullName)
func DataSourceTMCCluster ¶
func FlattenClusterFullname ¶ added in v1.1.0
func FlattenClusterFullname(fullname *clustermodel.VmwareTanzuManageV1alpha1ClusterFullName) (data []interface{})
func ResourceTMCCluster ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.