scope

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func FlattenScope

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

Types

type ScopedFullname

ScopedFullname is a struct for all types of package full names.

func ConstructScope

func ConstructScope(d *schema.ResourceData) (scopedFullnameData *ScopedFullname, scopesFound []string)

Jump to

Keyboard shortcuts

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