Documentation
¶
Index ¶
- func GetAsserter(ctx context.Context, provider string) (assertions.Asserter, error)
- func GetAwsRegion(ctx context.Context) string
- func GetConfig(ctx context.Context) *config.Config
- func GetHttpRequestOptions(ctx context.Context) *httphelpers.HttpRequestOptions
- func GetHttpResponse(ctx context.Context) *httphelpers.HttpResponse
- func GetIacProvisionerOptions(ctx context.Context) *iacprovisioner.Options
- func GetTerraformHasApplied(ctx context.Context) bool
- func GetUri(ctx context.Context) string
- func SetAwsRegion(ctx context.Context, region string) context.Context
- func SetTerraformHasApplied(ctx context.Context, hasApplied bool) context.Context
- type AssertionsCtxKey
- type AwsRegionCtxKey
- type ConfigCtxKey
- type HttpRequestOptionsCtxKey
- type HttpResponseCtxKey
- type RDSDBInstanceIDCtxKey
- type TFOptionsCtxKey
- type TerraformHasAppliedCtxKey
- type UriCtxKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAsserter ¶
GetAsserter returns the asserter for the given provider.
func GetAwsRegion ¶
GetAwsRegion returns the AWS region from the context.
func GetHttpRequestOptions ¶ added in v0.0.14
func GetHttpRequestOptions(ctx context.Context) *httphelpers.HttpRequestOptions
func GetHttpResponse ¶ added in v0.0.14
func GetHttpResponse(ctx context.Context) *httphelpers.HttpResponse
func GetIacProvisionerOptions ¶
func GetIacProvisionerOptions(ctx context.Context) *iacprovisioner.Options
GetIacProvisionerOptions returns the IaC provisioner options from the context.
func GetTerraformHasApplied ¶
GetTerraformHasApplied returns the Terraform has applied flag from the context.
func SetAwsRegion ¶
SetAwsRegion sets the AWS region in the context.
Types ¶
type AssertionsCtxKey ¶
type AssertionsCtxKey struct{}
AssertionsCtxKey is the key used to store the available assertions in context.Context.
type AwsRegionCtxKey ¶
type AwsRegionCtxKey struct{}
AwsRegionCtxKey is the key used to store the AWS region in context.Context.
type ConfigCtxKey ¶
type ConfigCtxKey struct{}
ConfigCtxKey is the key used to store the configuration in context.Context.
type HttpRequestOptionsCtxKey ¶ added in v0.0.14
type HttpRequestOptionsCtxKey struct{}
HttpRequestOptionsCtxKey is the key used to the store the Http Request options in context.Context.
type HttpResponseCtxKey ¶ added in v0.0.14
type HttpResponseCtxKey struct{}
HttpResponseCtxKey is the key used to store the HTTP response in context.Context.
type RDSDBInstanceIDCtxKey ¶
type RDSDBInstanceIDCtxKey struct{}
RDSDBInstanceIDCtxKey is the key used to store the RDS DB instance ID in context.Context.
type TFOptionsCtxKey ¶
type TFOptionsCtxKey struct{}
TFOptionsCtxKey is the key used to store the Terraform options in context.Context.
type TerraformHasAppliedCtxKey ¶
type TerraformHasAppliedCtxKey struct{}
TerraformHasAppliedCtxKey is the key used to store the Terraform has applied flag in context.Context.