common

package
v1.4.6-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdvancedConfigs = &schema.Schema{
	Type:        schema.TypeList,
	Description: "Advanced configuration for TKGm cluster",
	Optional:    true,
	MinItems:    1,
	Elem: &schema.Resource{
		Schema: map[string]*schema.Schema{
			advancedConfigurationKey: {
				Type:        schema.TypeString,
				Description: "The key of the advanced configuration parameters",
				Required:    true,
			},
			advancedConfigurationValueKey: {
				Type:        schema.TypeString,
				Description: "The value of the advanced configuration parameters",
				Required:    true,
			},
		},
	},
}

Functions

func ExpandAdvancedConfig

func ExpandAdvancedConfig(data interface{}) (advancedConfig *clustercommon.VmwareTanzuManageV1alpha1CommonClusterAdvancedConfig)

func FlattenAdvancedConfig

func FlattenAdvancedConfig(advancedConfig *clustercommon.VmwareTanzuManageV1alpha1CommonClusterAdvancedConfig) (data interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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