Documentation ¶
Index ¶
- func GetProvider(_ context.Context, generationProvider bool) (*upconfig.Provider, error)
- func IdentifierAssignedByEquinix() upconfig.ResourceOption
- func KnownReferencers() upconfig.ResourceOption
- func LongProvision() upconfig.ResourceOption
- func SkipOptCompLateInitialization() upconfig.ResourceOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProvider ¶
GetProvider returns provider configuration
func IdentifierAssignedByEquinix ¶
func IdentifierAssignedByEquinix() upconfig.ResourceOption
IdentifierAssignedByEquinix will work for all Equinix types because even if the ID is assigned by user, we'll see it in the TF State ID. The resource-specific configurations should override this whenever possible. See https://github.com/crossplane/upjet/blob/main/docs/configuring-a-resource.md#case-2-identifier-from-provider for more details.
func KnownReferencers ¶
func KnownReferencers() upconfig.ResourceOption
KnownReferencers adds referencers for fields that are known and common among more than a few resources. See https://github.com/crossplane/upjet/blob/main/docs/configuring-a-resource.md#cross-resource-referencing for more details.
func LongProvision ¶ added in v0.9.0
func LongProvision() upconfig.ResourceOption
LongProvision will set the resource to be provisioned asynchronously. Use this for resources with >1m provisions
func SkipOptCompLateInitialization ¶ added in v0.8.0
func SkipOptCompLateInitialization() upconfig.ResourceOption
SkipOptCompLateIntialization generalize the LateInitializer rule above to apply to allow fields that are Optional + Computed + ConflictsWith another Computed + Optional field See https://github.com/crossplane/upjet/blob/main/docs/configuring-a-resource.md#further-details-on-late-initialization for details on this mutually-exclusive scenario See https://github.com/crossplane/upjet/blob/main/docs/configuring-a-resource.md#overriding-terraform-resource-schema for default behavior
Types ¶
This section is empty.