resource_kafka_cluster_v2

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KafkaClusterV2ResourceSchema

func KafkaClusterV2ResourceSchema(ctx context.Context) schema.Schema

Types

type KafkaClusterV2Model

type KafkaClusterV2Model struct {
	Labels types.Map    `tfsdk:"labels"`
	Name   types.String `tfsdk:"name"`
	Spec   SpecValue    `tfsdk:"spec"`
}

type KafkaFlavorType

type KafkaFlavorType struct {
	basetypes.ObjectType
}

func (KafkaFlavorType) Equal

func (t KafkaFlavorType) Equal(o attr.Type) bool

func (KafkaFlavorType) String

func (t KafkaFlavorType) String() string

func (KafkaFlavorType) ValueFromObject

func (KafkaFlavorType) ValueFromTerraform

func (t KafkaFlavorType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (KafkaFlavorType) ValueType

func (t KafkaFlavorType) ValueType(ctx context.Context) attr.Value

type KafkaFlavorValue

type KafkaFlavorValue struct {
	ApiToken                   basetypes.StringValue `tfsdk:"api_token"`
	ConfluentClusterId         basetypes.StringValue `tfsdk:"confluent_cluster_id"`
	ConfluentEnvironmentId     basetypes.StringValue `tfsdk:"confluent_environment_id"`
	IgnoreUntrustedCertificate basetypes.BoolValue   `tfsdk:"ignore_untrusted_certificate"`
	Key                        basetypes.StringValue `tfsdk:"key"`
	Password                   basetypes.StringValue `tfsdk:"password"`
	Project                    basetypes.StringValue `tfsdk:"project"`
	Secret                     basetypes.StringValue `tfsdk:"secret"`
	ServiceName                basetypes.StringValue `tfsdk:"service_name"`
	KafkaFlavorType            basetypes.StringValue `tfsdk:"type"`
	Url                        basetypes.StringValue `tfsdk:"url"`
	User                       basetypes.StringValue `tfsdk:"user"`
	VirtualCluster             basetypes.StringValue `tfsdk:"virtual_cluster"`
	// contains filtered or unexported fields
}

func NewKafkaFlavorValue

func NewKafkaFlavorValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (KafkaFlavorValue, diag.Diagnostics)

func NewKafkaFlavorValueMust

func NewKafkaFlavorValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) KafkaFlavorValue

func NewKafkaFlavorValueNull

func NewKafkaFlavorValueNull() KafkaFlavorValue

func NewKafkaFlavorValueUnknown

func NewKafkaFlavorValueUnknown() KafkaFlavorValue

func (KafkaFlavorValue) AttributeTypes

func (v KafkaFlavorValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (KafkaFlavorValue) Equal

func (v KafkaFlavorValue) Equal(o attr.Value) bool

func (KafkaFlavorValue) IsNull

func (v KafkaFlavorValue) IsNull() bool

func (KafkaFlavorValue) IsUnknown

func (v KafkaFlavorValue) IsUnknown() bool

func (KafkaFlavorValue) String

func (v KafkaFlavorValue) String() string

func (KafkaFlavorValue) ToObjectValue

func (KafkaFlavorValue) ToTerraformValue

func (v KafkaFlavorValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (KafkaFlavorValue) Type

type SchemaRegistryType

type SchemaRegistryType struct {
	basetypes.ObjectType
}

func (SchemaRegistryType) Equal

func (t SchemaRegistryType) Equal(o attr.Type) bool

func (SchemaRegistryType) String

func (t SchemaRegistryType) String() string

func (SchemaRegistryType) ValueFromObject

func (SchemaRegistryType) ValueFromTerraform

func (t SchemaRegistryType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (SchemaRegistryType) ValueType

func (t SchemaRegistryType) ValueType(ctx context.Context) attr.Value

type SchemaRegistryValue

type SchemaRegistryValue struct {
	IgnoreUntrustedCertificate basetypes.BoolValue   `tfsdk:"ignore_untrusted_certificate"`
	Properties                 basetypes.StringValue `tfsdk:"properties"`
	Region                     basetypes.StringValue `tfsdk:"region"`
	RegistryName               basetypes.StringValue `tfsdk:"registry_name"`
	Security                   basetypes.ObjectValue `tfsdk:"security"`
	SchemaRegistryType         basetypes.StringValue `tfsdk:"type"`
	Url                        basetypes.StringValue `tfsdk:"url"`
	// contains filtered or unexported fields
}

func NewSchemaRegistryValue

func NewSchemaRegistryValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (SchemaRegistryValue, diag.Diagnostics)

func NewSchemaRegistryValueMust

func NewSchemaRegistryValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) SchemaRegistryValue

func NewSchemaRegistryValueNull

func NewSchemaRegistryValueNull() SchemaRegistryValue

func NewSchemaRegistryValueUnknown

func NewSchemaRegistryValueUnknown() SchemaRegistryValue

func (SchemaRegistryValue) AttributeTypes

func (v SchemaRegistryValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (SchemaRegistryValue) Equal

func (v SchemaRegistryValue) Equal(o attr.Value) bool

func (SchemaRegistryValue) IsNull

func (v SchemaRegistryValue) IsNull() bool

func (SchemaRegistryValue) IsUnknown

func (v SchemaRegistryValue) IsUnknown() bool

func (SchemaRegistryValue) String

func (v SchemaRegistryValue) String() string

func (SchemaRegistryValue) ToObjectValue

func (SchemaRegistryValue) ToTerraformValue

func (v SchemaRegistryValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (SchemaRegistryValue) Type

type SecurityType

type SecurityType struct {
	basetypes.ObjectType
}

func (SecurityType) Equal

func (t SecurityType) Equal(o attr.Type) bool

func (SecurityType) String

func (t SecurityType) String() string

func (SecurityType) ValueFromObject

func (SecurityType) ValueFromTerraform

func (t SecurityType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (SecurityType) ValueType

func (t SecurityType) ValueType(ctx context.Context) attr.Value

type SecurityValue

type SecurityValue struct {
	AccessKeyId      basetypes.StringValue `tfsdk:"access_key_id"`
	Certificate      basetypes.StringValue `tfsdk:"certificate"`
	CertificateChain basetypes.StringValue `tfsdk:"certificate_chain"`
	Key              basetypes.StringValue `tfsdk:"key"`
	Password         basetypes.StringValue `tfsdk:"password"`
	PrivateKey       basetypes.StringValue `tfsdk:"private_key"`
	Profile          basetypes.StringValue `tfsdk:"profile"`
	ProfileArn       basetypes.StringValue `tfsdk:"profile_arn"`
	Role             basetypes.StringValue `tfsdk:"role"`
	RoleArn          basetypes.StringValue `tfsdk:"role_arn"`
	SecretKey        basetypes.StringValue `tfsdk:"secret_key"`
	Token            basetypes.StringValue `tfsdk:"token"`
	TrustAnchorArn   basetypes.StringValue `tfsdk:"trust_anchor_arn"`
	SecurityType     basetypes.StringValue `tfsdk:"type"`
	Username         basetypes.StringValue `tfsdk:"username"`
	// contains filtered or unexported fields
}

func NewSecurityValue

func NewSecurityValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (SecurityValue, diag.Diagnostics)

func NewSecurityValueMust

func NewSecurityValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) SecurityValue

func NewSecurityValueNull

func NewSecurityValueNull() SecurityValue

func NewSecurityValueUnknown

func NewSecurityValueUnknown() SecurityValue

func (SecurityValue) AttributeTypes

func (v SecurityValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (SecurityValue) Equal

func (v SecurityValue) Equal(o attr.Value) bool

func (SecurityValue) IsNull

func (v SecurityValue) IsNull() bool

func (SecurityValue) IsUnknown

func (v SecurityValue) IsUnknown() bool

func (SecurityValue) String

func (v SecurityValue) String() string

func (SecurityValue) ToObjectValue

func (SecurityValue) ToTerraformValue

func (v SecurityValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (SecurityValue) Type

func (v SecurityValue) Type(ctx context.Context) attr.Type

type SpecType

type SpecType struct {
	basetypes.ObjectType
}

func (SpecType) Equal

func (t SpecType) Equal(o attr.Type) bool

func (SpecType) String

func (t SpecType) String() string

func (SpecType) ValueFromObject

func (SpecType) ValueFromTerraform

func (t SpecType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (SpecType) ValueType

func (t SpecType) ValueType(ctx context.Context) attr.Value

type SpecValue

type SpecValue struct {
	BootstrapServers           basetypes.StringValue `tfsdk:"bootstrap_servers"`
	Color                      basetypes.StringValue `tfsdk:"color"`
	DisplayName                basetypes.StringValue `tfsdk:"display_name"`
	Icon                       basetypes.StringValue `tfsdk:"icon"`
	IgnoreUntrustedCertificate basetypes.BoolValue   `tfsdk:"ignore_untrusted_certificate"`
	KafkaFlavor                basetypes.ObjectValue `tfsdk:"kafka_flavor"`
	Properties                 basetypes.MapValue    `tfsdk:"properties"`
	SchemaRegistry             basetypes.ObjectValue `tfsdk:"schema_registry"`
	// contains filtered or unexported fields
}

func NewSpecValue

func NewSpecValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (SpecValue, diag.Diagnostics)

func NewSpecValueMust

func NewSpecValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) SpecValue

func NewSpecValueNull

func NewSpecValueNull() SpecValue

func NewSpecValueUnknown

func NewSpecValueUnknown() SpecValue

func (SpecValue) AttributeTypes

func (v SpecValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (SpecValue) Equal

func (v SpecValue) Equal(o attr.Value) bool

func (SpecValue) IsNull

func (v SpecValue) IsNull() bool

func (SpecValue) IsUnknown

func (v SpecValue) IsUnknown() bool

func (SpecValue) String

func (v SpecValue) String() string

func (SpecValue) ToObjectValue

func (v SpecValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (SpecValue) ToTerraformValue

func (v SpecValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (SpecValue) Type

func (v SpecValue) Type(ctx context.Context) attr.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL