resource_kafka_connect_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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KafkaConnectV2ResourceSchema

func KafkaConnectV2ResourceSchema(ctx context.Context) schema.Schema

Types

type KafkaConnectV2Model

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

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 {
	CertificateChain basetypes.StringValue `tfsdk:"certificate_chain"`
	Key              basetypes.StringValue `tfsdk:"key"`
	Password         basetypes.StringValue `tfsdk:"password"`
	Token            basetypes.StringValue `tfsdk:"token"`
	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 {
	DisplayName                basetypes.StringValue `tfsdk:"display_name"`
	Headers                    basetypes.MapValue    `tfsdk:"headers"`
	IgnoreUntrustedCertificate basetypes.BoolValue   `tfsdk:"ignore_untrusted_certificate"`
	Security                   basetypes.ObjectValue `tfsdk:"security"`
	Urls                       basetypes.StringValue `tfsdk:"urls"`
	// 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