# Functions
AsyncOperationFinishedCondition returns the condition TypeAsyncOperation Finished if the operation was finished.
AsyncOperationOngoingCondition returns the condition TypeAsyncOperation Ongoing if the operation is still running.
ExtractParamPath extracts the value of `sourceAttr` from `spec.forProvider` allowing nested parameters.
ExtractResourceID extracts the value of `status.atProvider.id` from a Terraformed resource.
GetConnectionDetails returns connection details including the sensitive Terraform attributes and additions connection details configured.
GetSensitiveAttributes returns strings matching provided field paths in the input data.
GetSensitiveObservation will return sensitive information as terraform state attributes by reading them from connection details.
GetSensitiveParameters will collect sensitive information as terraform state attributes by following secret references in the spec.
GetTerraformIgnoreChanges returns a sorted Terraform `ignore_changes` lifecycle meta-argument expression by looking for differences between the `initProvider` and `forProvider` maps.
IsTest returns true if the managed resource has upjet.upbound.io/test= "true" annotation.
LastAsyncOperationCondition returns the condition depending on the content of the error.
NewGenericLateInitializer constructs a new GenericLateInitializer with the supplied options.
SetCriticalAnnotations sets the critical annotations of the resource and reports whether there has been a change.
SetUpToDateCondition sets UpToDate condition if the resource is a test resource and up-to-date.
UpToDateCondition returns the condition TypeAsyncOperation Ongoing if the operation is still running.
WithNameFilter returns a GenericLateInitializer that causes to skip initialization of the field with the specified canonical name.
WithZeroElemPtrFilter returns a GenericLateInitializerOption that causes to skip initialization of a pointer field with a zero-valued element.
WithZeroValueJSONOmitEmptyFilter returns a GenericLateInitializerOption that causes to skip initialization of a zero-valued field that has omitempty JSON tag.
# Constants
AnnotationKeyPrivateRawAttribute is the key that points to private attribute of the Terraform State.
AnnotationKeyTestResource is used for marking an MR as test for automated tests.
CNameWildcard can be used as the canonical name of a value filter option that will apply to all fields of a struct.
Condition constants.
Condition constants.
Condition constants.
Condition constants.
Condition constants.
Condition constants.
Condition constants.
Condition constants.
# Structs
GenericLateInitializer performs late-initialization of a Terraformed resource.
# Interfaces
LateInitializer late-initializes the managed resource from observed Terraform state.
MetadataProvider provides Terraform metadata for the Terraform managed resource.
Observable structs can get and set observations in the form of Terraform JSON.
Parameterizable structs can get and set parameters of the managed resource using map form of Terraform JSON.
SecretClient is the client to get sensitive data from kubernetes secrets
go:generate go run github.com/golang/mock/mockgen -copyright_file ../../hack/boilerplate.txt -destination ./fake/mocks/mock.go -package mocks github.com/upbound/upjet/pkg/resource SecretClient.
Terraformed is a Kubernetes object representing a concrete terraform managed resource.
# Type aliases
GenericLateInitializerOption are options that control the late-initialization behavior of a Terraformed resource.
NameFilter defines a late-initialization filter on CR field canonical names.
ValueFilter defines a late-initialization filter on CR field values.