cluster

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2023 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

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 iam policy 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,
			},
		},
	},
}

Functions

func ConstructClusterFullname added in v1.1.0

func ConstructClusterFullname(data []interface{}) (fullname *clustermodel.VmwareTanzuManageV1alpha1ClusterFullName)

func DataSourceTMCCluster

func DataSourceTMCCluster() *schema.Resource

func FlattenClusterFullname added in v1.1.0

func FlattenClusterFullname(fullname *clustermodel.VmwareTanzuManageV1alpha1ClusterFullName) (data []interface{})

func ResourceTMCCluster

func ResourceTMCCluster() *schema.Resource

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL