spec

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 (
	UsernamePasswordKey = "username_password"

	PasswordKey   = "password"
	DataKey       = "data"
	SSHKey        = "ssh_key"
	IdentityKey   = "identity"
	KnownhostsKey = "known_hosts"
	SpecKey       = "spec"
)

Variables

View Source
var (
	SpecSchema = &schema.Schema{
		Type:        schema.TypeList,
		Description: "Spec for source secret.",
		Required:    true,
		MinItems:    1,
		MaxItems:    1,
		Elem: &schema.Resource{
			Schema: map[string]*schema.Schema{
				DataKey: dataSchema,
			},
		},
	}
)

Functions

func FlattenSpecForClusterGroupScope

func FlattenSpecForClusterGroupScope(spec *sourcesecretclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupFluxcdSourcesecretSpec, specTypeData string) (data []interface{})

func FlattenSpecForClusterScope

func FlattenSpecForClusterScope(spec *sourcesecretclustermodel.VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretSpec, specTypeData string) (data []interface{})

func GetEncodedSpecData added in v1.2.5

func GetEncodedSpecData(data string) (strfmt.Base64, error)

func HasSpecChanged

func HasSpecChanged(d *schema.ResourceData) bool

func ValidateSpec

func ValidateSpec(_ context.Context, diff *schema.ResourceDiff, i interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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