Documentation ¶
Index ¶
- Constants
- Variables
- func AccCheckCreatedAtAttr(resourceName string) resource.TestCheckFunc
- func AccCheckResourceAttrWithValueFactory(name, key string, valueFactory func() string) resource.TestCheckFunc
- func AccCheckResourceIDField(resourceName string, idFieldName string) resource.TestCheckFunc
- func AccPreCheck(t *testing.T)
- func ConfigForSweepers() (*provider_config.Config, error)
- func DebugLog(format string, v ...interface{})
- func ErrorMessage(err error) string
- func GetBillingAccountId() string
- func GetExampleCloudID() string
- func GetExampleCloudName() string
- func GetExampleFolderID() string
- func GetExampleFolderName() string
- func GetExampleOrganizationID() string
- func GetExampleRoleID() string
- func GetExampleStorageEndpoint() string
- func GetExampleUserID1() string
- func GetExampleUserID2() string
- func GetExampleUserLogin1() string
- func GetExampleUserLogin2() string
- func HandleSweepOperation(ctx context.Context, conf *provider_config.Config, op *operation.Operation, ...) error
- func ImportIamBindingIdFunc(resourceName, role string) func(*terraform.State) (string, error)
- func IsTestResourceName(name string) bool
- func NewFrameworkProviderServer(ctx context.Context) (func() tfprotov6.ProviderServer, error)
- func ResourceName(length int) string
- func SweepWithRetry(sf sweeperFunc, conf *provider_config.Config, resource, id string) bool
Constants ¶
View Source
const (
AccTestsUser = "yc.terraform.acctest-sa"
)
Variables ¶
View Source
var AccEnvVars = []string{
"YC_FOLDER_ID",
"YC_ZONE",
"YC_LOGIN",
"YC_LOGIN_2",
"YC_STORAGE_ENDPOINT_URL",
"YC_MESSAGE_QUEUE_ENDPOINT",
}
View Source
var AccForAuthEnvVars = []string{
"YC_TOKEN",
"YC_SERVICE_ACCOUNT_KEY_FILE",
}
View Source
var AccProvider provider.Provider
View Source
var AccProviderFactories map[string]func() (tfprotov6.ProviderServer, error)
View Source
var AccProviders map[string]tfprotov6.ProviderServer
Functions ¶
func AccCheckCreatedAtAttr ¶ added in v0.119.0
func AccCheckCreatedAtAttr(resourceName string) resource.TestCheckFunc
func AccCheckResourceAttrWithValueFactory ¶ added in v0.131.0
func AccCheckResourceAttrWithValueFactory(name, key string, valueFactory func() string) resource.TestCheckFunc
func AccCheckResourceIDField ¶ added in v0.124.0
func AccCheckResourceIDField(resourceName string, idFieldName string) resource.TestCheckFunc
func AccPreCheck ¶ added in v0.119.0
func ConfigForSweepers ¶ added in v0.119.0
func ConfigForSweepers() (*provider_config.Config, error)
func ErrorMessage ¶ added in v0.124.0
func GetBillingAccountId ¶ added in v0.119.0
func GetBillingAccountId() string
func GetExampleCloudID ¶ added in v0.119.0
func GetExampleCloudID() string
func GetExampleCloudName ¶ added in v0.119.0
func GetExampleCloudName() string
func GetExampleFolderID ¶ added in v0.119.0
func GetExampleFolderID() string
func GetExampleFolderName ¶ added in v0.119.0
func GetExampleFolderName() string
func GetExampleOrganizationID ¶ added in v0.119.0
func GetExampleOrganizationID() string
func GetExampleRoleID ¶ added in v0.119.0
func GetExampleRoleID() string
func GetExampleStorageEndpoint ¶ added in v0.119.0
func GetExampleStorageEndpoint() string
func GetExampleUserID1 ¶ added in v0.119.0
func GetExampleUserID1() string
func GetExampleUserID2 ¶ added in v0.119.0
func GetExampleUserID2() string
func GetExampleUserLogin1 ¶ added in v0.119.0
func GetExampleUserLogin1() string
func GetExampleUserLogin2 ¶ added in v0.119.0
func GetExampleUserLogin2() string
func HandleSweepOperation ¶ added in v0.119.0
func ImportIamBindingIdFunc ¶ added in v0.119.0
func IsTestResourceName ¶ added in v0.119.0
func NewFrameworkProviderServer ¶ added in v0.100.0
func NewFrameworkProviderServer(ctx context.Context) (func() tfprotov6.ProviderServer, error)
func ResourceName ¶ added in v0.119.0
ResourceName - return randomized name for resource with common prefix
func SweepWithRetry ¶ added in v0.119.0
func SweepWithRetry(sf sweeperFunc, conf *provider_config.Config, resource, id string) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.