Documentation ¶
Index ¶
- Constants
- Variables
- func Dump(d *diag.Diagnostics, body []byte)
- func EnvironmentInfo(u baseurl.BaseURL) string
- func GetAcceptanceTestsNetworkID() string
- func GetAcceptanceTestsProjectID() string
- func GetDefaultACL() defaults.List
- func ShouldAccTestRun(runFlag bool) bool
- func Timeouts(ctx context.Context, opts timeouts.Opts) schema.SingleNestedAttribute
- func ToString(ctx context.Context, v attr.Value) (string, error)
- func Validate(d *diag.Diagnostics, res interface{}, err error, checkNullFields ...string) error
Constants ¶
View Source
const ( // Acceptance tests constants // https://portal.stackit.cloud/projects/8a2d2862-ac85-4084-8144-4c72d92ddcdd/dashboard ACC_TEST_PROJECT_ID = "8a2d2862-ac85-4084-8144-4c72d92ddcdd" // errors ERR_UNEXPECTED_EOF = "unexpected EOF" )
Variables ¶
View Source
var KnownRanges = []string{
"193.148.160.0/19",
"45.129.40.0/21",
"45.135.244.0/22",
}
KnownRanges are the known ranges of IP addresses used by STACKIT
Functions ¶
func Dump ¶ added in v1.17.1
func Dump(d *diag.Diagnostics, body []byte)
func EnvironmentInfo ¶ added in v1.11.10
func GetAcceptanceTestsNetworkID ¶ added in v1.30.5
func GetAcceptanceTestsNetworkID() string
GetAcceptanceTestsNetworkID returns the network ID for acceptance test
func GetAcceptanceTestsProjectID ¶ added in v1.8.0
func GetAcceptanceTestsProjectID() string
GetAcceptanceTestsProjectID returns the project ID for acceptance test can be overridden by setting ACC_TEST_PROJECT_ID
func GetDefaultACL ¶ added in v1.19.0
func ShouldAccTestRun ¶ added in v0.2.0
ShouldAccTestRun returns true of the provided flag is true or if an env variable ACC_TEST_CI has any value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.