config

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProvider

func GetProvider(_ context.Context, generationProvider bool) (*upconfig.Provider, error)

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.

Jump to

Keyboard shortcuts

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