namespace

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

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",
	Optional:    true,
	ForceNew:    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 DataSourceNamespace() *schema.Resource

func FlattenNamespaceFullname added in v1.1.0

func FlattenNamespaceFullname(fullname *namespacemodel.VmwareTanzuManageV1alpha1ClusterNamespaceFullName) (data []interface{})

func ResourceNamespace

func ResourceNamespace() *schema.Resource

Types

This section is empty.

Jump to

Keyboard shortcuts

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