Documentation
¶
Index ¶
- Variables
- func ListDiff[T comparable](old, planned []T) (added, removed []T)
- func MapDiff[K comparable, V comparable](old, planned map[K]V) (added, removed, modified map[K]V)
- type CaseInsensitiveStringType
- func (t CaseInsensitiveStringType) Equal(o attr.Type) bool
- func (t CaseInsensitiveStringType) String() string
- func (t CaseInsensitiveStringType) ValueFromString(ctx context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
- func (t CaseInsensitiveStringType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t CaseInsensitiveStringType) ValueType(ctx context.Context) attr.Value
- type CaseInsensitiveStringValue
- type EncodedCAType
- type EncodedCAValue
- type GCSSpecModel
- type KinesisSpecModel
- type PubSubSpecModel
- type S3SpecModel
- type UnorderedStringListType
- func (t UnorderedStringListType) Equal(o attr.Type) bool
- func (t UnorderedStringListType) String() string
- func (t UnorderedStringListType) ValueFromList(ctx context.Context, in basetypes.ListValue) (basetypes.ListValuable, diag.Diagnostics)
- func (t UnorderedStringListType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t UnorderedStringListType) ValueType(ctx context.Context) attr.Value
- func (t UnorderedStringListType) WithElementType(typ attr.Type) attr.TypeWithElementType
- type UnorderedStringListValue
- type ZeroObjectType
- func (t ZeroObjectType) Equal(o attr.Type) bool
- func (t ZeroObjectType) String() string
- func (t ZeroObjectType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ZeroObjectType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ZeroObjectType) ValueType(ctx context.Context) attr.Value
- func (t ZeroObjectType) WithAttributeTypes(typs map[string]attr.Type) attr.TypeWithAttributeTypes
- type ZeroObjectValue
Constants ¶
This section is empty.
Variables ¶
View Source
var ( S3SpecModelAttrTypes = map[string]attr.Type{ "role_name": types.StringType, "bucket_name": types.StringType, "region": types.StringType, "kms_arn": types.StringType, "aws_account_id": types.StringType, } GcsSpecModelAttrTypes = map[string]attr.Type{ "service_account_id": types.StringType, "bucket_name": types.StringType, "gcp_project_id": types.StringType, "region": types.StringType, "service_account_email": types.StringType, } KinesisSpecModelAttrTypes = map[string]attr.Type{ "role_name": types.StringType, "destination_uri": types.StringType, "region": types.StringType, } PubSubSpecModelAttrTypes = map[string]attr.Type{ "service_account_id": types.StringType, "topic_name": types.StringType, "gcp_project_id": types.StringType, "service_account_email": types.StringType, } )
Functions ¶
func ListDiff ¶ added in v1.1.0
func ListDiff[T comparable](old, planned []T) (added, removed []T)
func MapDiff ¶ added in v1.0.0
func MapDiff[K comparable, V comparable](old, planned map[K]V) (added, removed, modified map[K]V)
Types ¶
type CaseInsensitiveStringType ¶
type CaseInsensitiveStringType struct {
basetypes.StringType
}
func (CaseInsensitiveStringType) String ¶
func (t CaseInsensitiveStringType) String() string
func (CaseInsensitiveStringType) ValueFromString ¶
func (t CaseInsensitiveStringType) ValueFromString(ctx context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
func (CaseInsensitiveStringType) ValueFromTerraform ¶
type CaseInsensitiveStringValue ¶
type CaseInsensitiveStringValue struct {
basetypes.StringValue
}
func CaseInsensitiveString ¶
func CaseInsensitiveString(val string) CaseInsensitiveStringValue
func (CaseInsensitiveStringValue) Equal ¶
func (v CaseInsensitiveStringValue) Equal(o attr.Value) bool
func (CaseInsensitiveStringValue) StringSemanticEquals ¶
func (v CaseInsensitiveStringValue) StringSemanticEquals(ctx context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)
type EncodedCAType ¶ added in v0.0.10
type EncodedCAType struct {
basetypes.StringType
}
func (EncodedCAType) ValueFromString ¶ added in v0.0.10
func (t EncodedCAType) ValueFromString(ctx context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
func (EncodedCAType) ValueFromTerraform ¶ added in v0.0.10
type EncodedCAValue ¶ added in v0.0.10
type EncodedCAValue struct {
basetypes.StringValue
}
func EncodedCA ¶ added in v0.0.10
func EncodedCA(val string) EncodedCAValue
func (EncodedCAValue) StringSemanticEquals ¶ added in v0.0.10
func (v EncodedCAValue) StringSemanticEquals(ctx context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)
type GCSSpecModel ¶ added in v0.7.0
type GCSSpecModel struct {
// The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket
SaId types.String `tfsdk:"service_account_id"`
// The name of the destination GCS bucket where Temporal will send data
BucketName types.String `tfsdk:"bucket_name"`
// The GCP project ID associated with the GCS bucket and service account
GcpProjectId types.String `tfsdk:"gcp_project_id"`
// The region of the gcs bucket
Region types.String `tfsdk:"region"`
// The service account email associated with the GCS bucket and service account
ServiceAccountEmail types.String `tfsdk:"service_account_email"`
}
type KinesisSpecModel ¶ added in v1.1.2
type KinesisSpecModel struct {
// The IAM role that Temporal Cloud assumes for writing records to the customer's Kinesis stream
RoleName types.String `tfsdk:"role_name"`
// The destination URI of the Kinesis stream where Temporal will send data
DestinationUri types.String `tfsdk:"destination_uri"`
// The region of the Kinesis stream
Region types.String `tfsdk:"region"`
}
type PubSubSpecModel ¶ added in v1.1.2
type PubSubSpecModel struct {
// The customer service account ID that Temporal Cloud impersonates for writing records to the customer's PubSub topic
ServiceAccountId types.String `tfsdk:"service_account_id"`
// The destination PubSub topic name for Temporal
TopicName types.String `tfsdk:"topic_name"`
// The GCP project ID of the PubSub topic and service account
GcpProjectId types.String `tfsdk:"gcp_project_id"`
// The service account email associated with the PubSub topic and service account
ServiceAccountEmail types.String `tfsdk:"service_account_email"`
}
type S3SpecModel ¶ added in v0.7.0
type S3SpecModel struct {
// The IAM role that Temporal Cloud assumes for writing records to the customer's S3 bucket
RoleName types.String `tfsdk:"role_name"`
// The name of the destination S3 bucket where Temporal will send data
BucketName types.String `tfsdk:"bucket_name"`
// The region where the S3 bucket is located
Region types.String `tfsdk:"region"`
// The AWS Key Management Service (KMS) ARN used for encryption
KmsArn types.String `tfsdk:"kms_arn"`
// The AWS account ID associated with the S3 bucket and the assumed role
AwsAccountId types.String `tfsdk:"aws_account_id"`
}
type UnorderedStringListType ¶ added in v0.5.0
func (UnorderedStringListType) Equal ¶ added in v0.5.0
func (t UnorderedStringListType) Equal(o attr.Type) bool
func (UnorderedStringListType) String ¶ added in v0.5.0
func (t UnorderedStringListType) String() string
func (UnorderedStringListType) ValueFromList ¶ added in v0.5.0
func (t UnorderedStringListType) ValueFromList(ctx context.Context, in basetypes.ListValue) (basetypes.ListValuable, diag.Diagnostics)
func (UnorderedStringListType) ValueFromTerraform ¶ added in v0.5.0
func (UnorderedStringListType) ValueType ¶ added in v0.5.0
func (t UnorderedStringListType) ValueType(ctx context.Context) attr.Value
func (UnorderedStringListType) WithElementType ¶ added in v0.5.0
func (t UnorderedStringListType) WithElementType(typ attr.Type) attr.TypeWithElementType
type UnorderedStringListValue ¶ added in v0.5.0
func (UnorderedStringListValue) Equal ¶ added in v0.5.0
func (v UnorderedStringListValue) Equal(o attr.Value) bool
func (UnorderedStringListValue) ListSemanticEquals ¶ added in v0.5.0
func (v UnorderedStringListValue) ListSemanticEquals(ctx context.Context, newValuable basetypes.ListValuable) (bool, diag.Diagnostics)
type ZeroObjectType ¶ added in v1.0.0
type ZeroObjectType struct {
basetypes.ObjectType
}
func (ZeroObjectType) String ¶ added in v1.0.0
func (t ZeroObjectType) String() string
func (ZeroObjectType) ValueFromObject ¶ added in v1.0.0
func (t ZeroObjectType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ZeroObjectType) ValueFromTerraform ¶ added in v1.0.0
func (ZeroObjectType) ValueType ¶ added in v1.0.0
func (t ZeroObjectType) ValueType(ctx context.Context) attr.Value
func (ZeroObjectType) WithAttributeTypes ¶ added in v1.0.0
func (t ZeroObjectType) WithAttributeTypes(typs map[string]attr.Type) attr.TypeWithAttributeTypes
type ZeroObjectValue ¶ added in v1.0.0
type ZeroObjectValue struct {
basetypes.ObjectValue
}
func (ZeroObjectValue) IsZero ¶ added in v1.0.0
func (v ZeroObjectValue) IsZero(ctx context.Context) bool
func (ZeroObjectValue) ObjectSemanticEquals ¶ added in v1.0.0
func (v ZeroObjectValue) ObjectSemanticEquals(ctx context.Context, newValuable basetypes.ObjectValuable) (bool, diag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.