sourcesecret

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MPL-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResourceName = "tanzu-mission-control_repository_credential"

	DataSourceRead = "dataSourceRead"
)

Variables

This section is empty.

Functions

func DataSourceSourcesecret

func DataSourceSourcesecret() *schema.Resource

func MetaDataSourceAttributeCheck

func MetaDataSourceAttributeCheck(dataSourceName, resourceName string) []resource.TestCheckFunc

func MetaResourceAttributeCheck

func MetaResourceAttributeCheck(resourceName string) []resource.TestCheckFunc

func ResourceSourceSecret

func ResourceSourceSecret() *schema.Resource

Types

type Cluster

type Cluster struct {
	Resource              string
	ResourceVar           string
	ResourceName          string
	KubeConfigPath        string
	Name                  string
	ClusterGroupName      string
	ManagementClusterName string
	ProvisionerName       string
}

type ClusterGroup

type ClusterGroup struct {
	ResourceName string
	Resource     string
	ResourceVar  string
	Name         string
}

type ScopeHelperResources

type ScopeHelperResources struct {
	Meta         string
	Cluster      *Cluster
	ClusterGroup *ClusterGroup
	OrgID        string
}

func NewScopeHelperResources

func NewScopeHelperResources() *ScopeHelperResources

func (*ScopeHelperResources) GetTestSourceSecretResourceHelperAndScope

func (shr *ScopeHelperResources) GetTestSourceSecretResourceHelperAndScope(scopeType commonscope.Scope, scopesAllowed []string) (string, string)

GetTestSourceSecretResourceHelperAndScope builds the helper resource and scope blocks for source secret resource based on a scope type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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