Documentation ¶
Index ¶
- Constants
- func DataSourceSourcesecret() *schema.Resource
- func MetaDataSourceAttributeCheck(dataSourceName, resourceName string) []resource.TestCheckFunc
- func MetaResourceAttributeCheck(resourceName string) []resource.TestCheckFunc
- func ResourceSourceSecret() *schema.Resource
- type Cluster
- type ClusterGroup
- type ScopeHelperResources
Constants ¶
View Source
const ( ResourceName = "tanzu-mission-control_repository_credential" DataSourceRead = "dataSourceRead" )
Variables ¶
This section is empty.
Functions ¶
func DataSourceSourcesecret ¶
func MetaDataSourceAttributeCheck ¶
func MetaDataSourceAttributeCheck(dataSourceName, resourceName string) []resource.TestCheckFunc
func MetaResourceAttributeCheck ¶
func MetaResourceAttributeCheck(resourceName string) []resource.TestCheckFunc
func ResourceSourceSecret ¶
Types ¶
type ClusterGroup ¶
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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.