scope

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ScopesAllowed = [...]string{commonscope.ClusterKey, commonscope.ClusterGroupKey}
	ScopeSchema   = commonscope.GetScopeSchema(
		commonscope.WithDescription(fmt.Sprintf("Scope for the Helm feature, having one of the valid scopes: %v.", strings.Join(ScopesAllowed[:], `, `))),
		commonscope.WithScopes(ScopesAllowed[:]))
)

Functions

func ConstructClusterGroupHelmFullname

func ConstructClusterGroupHelmFullname(data []interface{}) (fullname *helmclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupFluxcdHelmFullName)

func ConstructClusterHelmFullname

func ConstructClusterHelmFullname(data []interface{}) (fullname *helmclustermodel.VmwareTanzuManageV1alpha1ClusterFluxcdHelmFullName)

func FlattenClusterGroupHelmFullname

func FlattenClusterGroupHelmFullname(fullname *helmclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupFluxcdHelmFullName) (data []interface{})

func FlattenClusterHelmFullname

func FlattenClusterHelmFullname(fullname *helmclustermodel.VmwareTanzuManageV1alpha1ClusterFluxcdHelmFullName) (data []interface{})

func FlattenScope

func FlattenScope(scopedFullname *ScopedFullname) (data []interface{})

Types

type ScopedFullname

ScopedFullname is a struct for all types of helm release full names.

func ConstructScope

func ConstructScope(d *schema.ResourceData) (scopedFullnameData *ScopedFullname)

Jump to

Keyboard shortcuts

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