connectors

package
v0.11.18 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MinVersionSupportingPreconfiguredIDs = version.Must(version.NewVersion("8.8.0"))
)

Functions

This section is empty.

Types

type ConfigType

type ConfigType struct {
	jsontypes.NormalizedType
}

func (ConfigType) Equal

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

Equal returns true if the given type is equivalent.

func (ConfigType) String

func (t ConfigType) String() string

String returns a human readable string of the type name.

func (ConfigType) ValueFromString

ValueFromString returns a StringValuable type given a StringValue.

func (ConfigType) ValueFromTerraform

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

ValueFromTerraform returns a Value given a tftypes.Value. This is meant to convert the tftypes.Value into a more convenient Go type for the provider to consume the data with.

func (ConfigType) ValueType

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

ValueType returns the Value type.

type ConfigValue

type ConfigValue struct {
	jsontypes.Normalized
	// contains filtered or unexported fields
}

func NewConfigNull

func NewConfigNull() ConfigValue

NewConfigNull creates a ConfigValue with a null value. Determine whether the value is null via IsNull method.

func NewConfigUnknown

func NewConfigUnknown() ConfigValue

NewConfigUnknown creates a ConfigValue with an unknown value. Determine whether the value is unknown via IsUnknown method.

func NewConfigValueWithConnectorID

func NewConfigValueWithConnectorID(value string, connectorTypeID string) (ConfigValue, diag.Diagnostics)

NewConfigValueWithConnectorID creates a ConfigValue with a known value and a connector type ID. Access the value via ValueString method.

func (ConfigValue) Equal

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

Equal returns true if the given value is equivalent.

func (ConfigValue) SanitizedValue

func (v ConfigValue) SanitizedValue() (string, diag.Diagnostics)

func (ConfigValue) StringSemanticEquals

func (v ConfigValue) StringSemanticEquals(ctx context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)

StringSemanticEquals returns true if the given config object value is semantically equal to the current config object value. The comparison will ignore any default values present in one value, but unset in the other.

func (ConfigValue) Type

func (v ConfigValue) Type(_ context.Context) attr.Type

Type returns a ConfigType.

func (ConfigValue) ValidateAttribute

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

func (*Resource) Configure

func (r *Resource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)

func (*Resource) Create

func (r *Resource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)

func (*Resource) Delete

func (r *Resource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)

func (*Resource) ImportState

func (r *Resource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)

func (*Resource) Metadata

func (r *Resource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)

func (*Resource) Read

func (r *Resource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)

func (*Resource) Schema

func (*Resource) Update

func (r *Resource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)

Jump to

Keyboard shortcuts

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