Documentation ¶
Index ¶
- func CopyAppV3FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyAppV3ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.AppV3, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyAuthPreferenceV2FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyAuthPreferenceV2ToTerraform(ctx context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyClusterMaintenanceConfigV1FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyClusterMaintenanceConfigV1ToTerraform(ctx context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyClusterNetworkingConfigV2FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyClusterNetworkingConfigV2ToTerraform(ctx context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyDatabaseV3FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyDatabaseV3ToTerraform(ctx context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyFromBoolOption(diags diag.Diagnostics, tf attr.Value, o **apitypes.BoolOption)
- func CopyFromLabels(diags diag.Diagnostics, v attr.Value, o *apitypes.Labels)
- func CopyFromStrings(diags diag.Diagnostics, v attr.Value, o *wrappers.Strings)
- func CopyFromTraits(diags diag.Diagnostics, v attr.Value, o *wrappers.Traits)
- func CopyGithubConnectorV3FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyGithubConnectorV3ToTerraform(ctx context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyOIDCConnectorV3FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyOIDCConnectorV3ToTerraform(ctx context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyOktaImportRuleV1FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyOktaImportRuleV1ToTerraform(ctx context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyProvisionTokenV2FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyProvisionTokenV2ToTerraform(ctx context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyRoleV6FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyRoleV6ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.RoleV6, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopySAMLConnectorV2FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopySAMLConnectorV2ToTerraform(ctx context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopySessionRecordingConfigV2FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopySessionRecordingConfigV2ToTerraform(ctx context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyToBoolOption(diags diag.Diagnostics, o *apitypes.BoolOption, t attr.Type, v attr.Value) attr.Value
- func CopyToLabels(diags diag.Diagnostics, o apitypes.Labels, t attr.Type, v attr.Value) attr.Value
- func CopyToStrings(diags diag.Diagnostics, o wrappers.Strings, t attr.Type, v attr.Value) attr.Value
- func CopyToTraits(diags diag.Diagnostics, o wrappers.Traits, t attr.Type, v attr.Value) attr.Value
- func CopyTrustedClusterV2FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyTrustedClusterV2ToTerraform(ctx context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyUserV2FromTerraform(_ context.Context, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func CopyUserV2ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.UserV2, ...) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
- func GenSchemaAppV3(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func GenSchemaAuthPreferenceV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func GenSchemaBoolOption(_ context.Context) tfsdk.Attribute
- func GenSchemaClusterMaintenanceConfigV1(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func GenSchemaClusterNetworkingConfigV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func GenSchemaDatabaseV3(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func GenSchemaGithubConnectorV3(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func GenSchemaLabels(ctx context.Context) tfsdk.Attribute
- func GenSchemaOIDCConnectorV3(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func GenSchemaOktaImportRuleV1(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func GenSchemaProvisionTokenV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func GenSchemaRoleV6(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func GenSchemaSAMLConnectorV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func GenSchemaSessionRecordingConfigV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func GenSchemaStrings(_ context.Context) tfsdk.Attribute
- func GenSchemaTraits(_ context.Context) tfsdk.Attribute
- func GenSchemaTrustedClusterV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func GenSchemaUserV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, ...)
- func MustTimeBeInFuture() tfsdk.AttributeValidator
- func UseAnyOfValidator(keys ...string) tfsdk.AttributeValidator
- func UseMapKeysPresentValidator(keys ...string) tfsdk.AttributeValidator
- func UseVersionBetween(min, max int) tfsdk.AttributeValidator
- type AnyOfValidator
- type DurationType
- func (t DurationType) ApplyTerraform5AttributePathStep(step tftypes.AttributePathStep) (interface{}, error)
- func (t DurationType) Equal(o attr.Type) bool
- func (t DurationType) String() string
- func (t DurationType) TerraformType(_ context.Context) tftypes.Type
- func (t DurationType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- type DurationValue
- func (t DurationValue) Equal(other attr.Value) bool
- func (t DurationValue) IsNull() bool
- func (t DurationValue) IsUnknown() bool
- func (t DurationValue) String() string
- func (t DurationValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (t DurationValue) Type(_ context.Context) attr.Type
- type MapKeysPresentValidator
- type TimeType
- func (t TimeType) ApplyTerraform5AttributePathStep(step tftypes.AttributePathStep) (interface{}, error)
- func (t TimeType) Equal(o attr.Type) bool
- func (t TimeType) String() string
- func (t TimeType) TerraformType(_ context.Context) tftypes.Type
- func (t TimeType) Validate(ctx context.Context, in tftypes.Value, path path.Path) diag.Diagnostics
- func (t TimeType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- type TimeValue
- type TimeValueInFutureValidator
- type VersionValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyAppV3FromTerraform ¶
func CopyAppV3FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.AppV3) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyAppV3FromTerraform copies contents of the source Terraform object into a target struct
func CopyAppV3ToTerraform ¶
func CopyAppV3ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.AppV3, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyAppV3ToTerraform copies contents of the source Terraform object into a target struct
func CopyAuthPreferenceV2FromTerraform ¶
func CopyAuthPreferenceV2FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.AuthPreferenceV2) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyAuthPreferenceV2FromTerraform copies contents of the source Terraform object into a target struct
func CopyAuthPreferenceV2ToTerraform ¶
func CopyAuthPreferenceV2ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.AuthPreferenceV2, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyAuthPreferenceV2ToTerraform copies contents of the source Terraform object into a target struct
func CopyClusterMaintenanceConfigV1FromTerraform ¶
func CopyClusterMaintenanceConfigV1FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.ClusterMaintenanceConfigV1) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyClusterMaintenanceConfigV1FromTerraform copies contents of the source Terraform object into a target struct
func CopyClusterMaintenanceConfigV1ToTerraform ¶
func CopyClusterMaintenanceConfigV1ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.ClusterMaintenanceConfigV1, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyClusterMaintenanceConfigV1ToTerraform copies contents of the source Terraform object into a target struct
func CopyClusterNetworkingConfigV2FromTerraform ¶
func CopyClusterNetworkingConfigV2FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.ClusterNetworkingConfigV2) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyClusterNetworkingConfigV2FromTerraform copies contents of the source Terraform object into a target struct
func CopyClusterNetworkingConfigV2ToTerraform ¶
func CopyClusterNetworkingConfigV2ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.ClusterNetworkingConfigV2, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyClusterNetworkingConfigV2ToTerraform copies contents of the source Terraform object into a target struct
func CopyDatabaseV3FromTerraform ¶
func CopyDatabaseV3FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.DatabaseV3) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyDatabaseV3FromTerraform copies contents of the source Terraform object into a target struct
func CopyDatabaseV3ToTerraform ¶
func CopyDatabaseV3ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.DatabaseV3, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyDatabaseV3ToTerraform copies contents of the source Terraform object into a target struct
func CopyFromBoolOption ¶
func CopyFromBoolOption(diags diag.Diagnostics, tf attr.Value, o **apitypes.BoolOption)
func CopyFromLabels ¶
func CopyFromStrings ¶
CopyFromStrings converts from a Terraform value into a Teleport wrappers.Strings The received value must be of List type
func CopyFromTraits ¶
func CopyGithubConnectorV3FromTerraform ¶
func CopyGithubConnectorV3FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.GithubConnectorV3) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyGithubConnectorV3FromTerraform copies contents of the source Terraform object into a target struct
func CopyGithubConnectorV3ToTerraform ¶
func CopyGithubConnectorV3ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.GithubConnectorV3, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyGithubConnectorV3ToTerraform copies contents of the source Terraform object into a target struct
func CopyOIDCConnectorV3FromTerraform ¶
func CopyOIDCConnectorV3FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.OIDCConnectorV3) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyOIDCConnectorV3FromTerraform copies contents of the source Terraform object into a target struct
func CopyOIDCConnectorV3ToTerraform ¶
func CopyOIDCConnectorV3ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.OIDCConnectorV3, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyOIDCConnectorV3ToTerraform copies contents of the source Terraform object into a target struct
func CopyOktaImportRuleV1FromTerraform ¶
func CopyOktaImportRuleV1FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.OktaImportRuleV1) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyOktaImportRuleV1FromTerraform copies contents of the source Terraform object into a target struct
func CopyOktaImportRuleV1ToTerraform ¶
func CopyOktaImportRuleV1ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.OktaImportRuleV1, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyOktaImportRuleV1ToTerraform copies contents of the source Terraform object into a target struct
func CopyProvisionTokenV2FromTerraform ¶
func CopyProvisionTokenV2FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.ProvisionTokenV2) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyProvisionTokenV2FromTerraform copies contents of the source Terraform object into a target struct
func CopyProvisionTokenV2ToTerraform ¶
func CopyProvisionTokenV2ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.ProvisionTokenV2, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyProvisionTokenV2ToTerraform copies contents of the source Terraform object into a target struct
func CopyRoleV6FromTerraform ¶
func CopyRoleV6FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.RoleV6) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyRoleV6FromTerraform copies contents of the source Terraform object into a target struct
func CopyRoleV6ToTerraform ¶
func CopyRoleV6ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.RoleV6, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyRoleV6ToTerraform copies contents of the source Terraform object into a target struct
func CopySAMLConnectorV2FromTerraform ¶
func CopySAMLConnectorV2FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.SAMLConnectorV2) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopySAMLConnectorV2FromTerraform copies contents of the source Terraform object into a target struct
func CopySAMLConnectorV2ToTerraform ¶
func CopySAMLConnectorV2ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.SAMLConnectorV2, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopySAMLConnectorV2ToTerraform copies contents of the source Terraform object into a target struct
func CopySessionRecordingConfigV2FromTerraform ¶
func CopySessionRecordingConfigV2FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.SessionRecordingConfigV2) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopySessionRecordingConfigV2FromTerraform copies contents of the source Terraform object into a target struct
func CopySessionRecordingConfigV2ToTerraform ¶
func CopySessionRecordingConfigV2ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.SessionRecordingConfigV2, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopySessionRecordingConfigV2ToTerraform copies contents of the source Terraform object into a target struct
func CopyToBoolOption ¶
func CopyToBoolOption(diags diag.Diagnostics, o *apitypes.BoolOption, t attr.Type, v attr.Value) attr.Value
func CopyToLabels ¶
func CopyToStrings ¶
func CopyToStrings(diags diag.Diagnostics, o wrappers.Strings, t attr.Type, v attr.Value) attr.Value
CopyFromStrings converts from a Teleport wrappers.Strings into a Terraform List with ElemType of String
func CopyToTraits ¶
func CopyTrustedClusterV2FromTerraform ¶
func CopyTrustedClusterV2FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.TrustedClusterV2) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyTrustedClusterV2FromTerraform copies contents of the source Terraform object into a target struct
func CopyTrustedClusterV2ToTerraform ¶
func CopyTrustedClusterV2ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.TrustedClusterV2, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyTrustedClusterV2ToTerraform copies contents of the source Terraform object into a target struct
func CopyUserV2FromTerraform ¶
func CopyUserV2FromTerraform(_ context.Context, tf github_com_hashicorp_terraform_plugin_framework_types.Object, obj *github_com_gravitational_teleport_api_types.UserV2) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyUserV2FromTerraform copies contents of the source Terraform object into a target struct
func CopyUserV2ToTerraform ¶
func CopyUserV2ToTerraform(ctx context.Context, obj *github_com_gravitational_teleport_api_types.UserV2, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics
CopyUserV2ToTerraform copies contents of the source Terraform object into a target struct
func GenSchemaAppV3 ¶
func GenSchemaAppV3(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaAppV3 returns tfsdk.Schema definition for AppV3
func GenSchemaAuthPreferenceV2 ¶
func GenSchemaAuthPreferenceV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaAuthPreferenceV2 returns tfsdk.Schema definition for AuthPreferenceV2
func GenSchemaBoolOption ¶
GenSchemaBoolOptions returns Terraform schema for BoolOption type
func GenSchemaClusterMaintenanceConfigV1 ¶
func GenSchemaClusterMaintenanceConfigV1(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaClusterMaintenanceConfigV1 returns tfsdk.Schema definition for ClusterMaintenanceConfigV1
func GenSchemaClusterNetworkingConfigV2 ¶
func GenSchemaClusterNetworkingConfigV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaClusterNetworkingConfigV2 returns tfsdk.Schema definition for ClusterNetworkingConfigV2
func GenSchemaDatabaseV3 ¶
func GenSchemaDatabaseV3(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaDatabaseV3 returns tfsdk.Schema definition for DatabaseV3
func GenSchemaGithubConnectorV3 ¶
func GenSchemaGithubConnectorV3(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaGithubConnectorV3 returns tfsdk.Schema definition for GithubConnectorV3
func GenSchemaLabels ¶
GenSchemaBoolOptions returns Terraform schema for Labels type
func GenSchemaOIDCConnectorV3 ¶
func GenSchemaOIDCConnectorV3(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaOIDCConnectorV3 returns tfsdk.Schema definition for OIDCConnectorV3
func GenSchemaOktaImportRuleV1 ¶
func GenSchemaOktaImportRuleV1(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaOktaImportRuleV1 returns tfsdk.Schema definition for OktaImportRuleV1
func GenSchemaProvisionTokenV2 ¶
func GenSchemaProvisionTokenV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaProvisionTokenV2 returns tfsdk.Schema definition for ProvisionTokenV2
func GenSchemaRoleV6 ¶
func GenSchemaRoleV6(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaRoleV6 returns tfsdk.Schema definition for RoleV6
func GenSchemaSAMLConnectorV2 ¶
func GenSchemaSAMLConnectorV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaSAMLConnectorV2 returns tfsdk.Schema definition for SAMLConnectorV2
func GenSchemaSessionRecordingConfigV2 ¶
func GenSchemaSessionRecordingConfigV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaSessionRecordingConfigV2 returns tfsdk.Schema definition for SessionRecordingConfigV2
func GenSchemaStrings ¶
GenSchemaStrings returns Terraform schema for Strings type
func GenSchemaTraits ¶
GenSchemaBoolOptions returns Terraform schema for Traits type
func GenSchemaTrustedClusterV2 ¶
func GenSchemaTrustedClusterV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaTrustedClusterV2 returns tfsdk.Schema definition for TrustedClusterV2
func GenSchemaUserV2 ¶
func GenSchemaUserV2(ctx context.Context) (github_com_hashicorp_terraform_plugin_framework_tfsdk.Schema, github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics)
GenSchemaUserV2 returns tfsdk.Schema definition for UserV2
func MustTimeBeInFuture ¶
func MustTimeBeInFuture() tfsdk.AttributeValidator
MustTimeBeInFuture returns TimeValueInFutureValidator
func UseAnyOfValidator ¶
func UseAnyOfValidator(keys ...string) tfsdk.AttributeValidator
UseAnyOfValidator creates AnyOfValidator
func UseMapKeysPresentValidator ¶
func UseMapKeysPresentValidator(keys ...string) tfsdk.AttributeValidator
UseKeysPresentValidator creates MapKeysPresentValidator
func UseVersionBetween ¶
func UseVersionBetween(min, max int) tfsdk.AttributeValidator
UseVersionBetween creates VersionValidator
Types ¶
type AnyOfValidator ¶
type AnyOfValidator struct {
Keys []string
}
AnyOfValidator validates that at least one of the attributes is set (known and not null)
func (AnyOfValidator) Description ¶
func (v AnyOfValidator) Description(_ context.Context) string
Description returns validator description
func (AnyOfValidator) MarkdownDescription ¶
func (v AnyOfValidator) MarkdownDescription(_ context.Context) string
MarkdownDescription returns validator markdown description
func (AnyOfValidator) Validate ¶
func (v AnyOfValidator) Validate(ctx context.Context, req tfsdk.ValidateAttributeRequest, resp *tfsdk.ValidateAttributeResponse)
Validate performs the validation.
type DurationType ¶
DurationType represents time.Time Terraform type which is stored in RFC3339 format, nanoseconds truncated
func (DurationType) ApplyTerraform5AttributePathStep ¶
func (t DurationType) ApplyTerraform5AttributePathStep(step tftypes.AttributePathStep) (interface{}, error)
ApplyTerraform5AttributePathStep is not implemented for DurationType
func (DurationType) Equal ¶
func (t DurationType) Equal(o attr.Type) bool
Equal returns type equality
func (DurationType) String ¶
func (t DurationType) String() string
String returns string representation of DurationType
func (DurationType) TerraformType ¶
func (t DurationType) TerraformType(_ context.Context) tftypes.Type
TerraformType returns type which is used in Terraform status (time is stored as string)
func (DurationType) ValueFromTerraform ¶
ValueFromTerraform decodes terraform value and returns it as DurationType
type DurationValue ¶
type DurationValue struct { // Unknown will be true if the value is not yet known. Unknown bool // Null will be true if the value was not set, or was explicitly set to null. Null bool // Value contains the set value, as long as Unknown and Null are both false. Value time.Duration // contains filtered or unexported fields }
DurationValue represents Terraform value of type DurationType
func (DurationValue) Equal ¶
func (t DurationValue) Equal(other attr.Value) bool
Equal returns true if `other` if durations are equal
func (DurationValue) IsNull ¶
func (t DurationValue) IsNull() bool
IsNull returns true if receiver is null
func (DurationValue) IsUnknown ¶
func (t DurationValue) IsUnknown() bool
IsUnknown returns true if receiver is unknown
func (DurationValue) String ¶
func (t DurationValue) String() string
String returns the string representation of the receiver
func (DurationValue) ToTerraformValue ¶
ToTerraformValue returns the data contained in the *String as a string. If Unknown is true, it returns a tftypes.UnknownValue. If Null is true, it returns nil.
type MapKeysPresentValidator ¶
type MapKeysPresentValidator struct {
Keys []string
}
MapKeysPresentValidator validates that a map has the specified keys
func (MapKeysPresentValidator) Description ¶
func (v MapKeysPresentValidator) Description(_ context.Context) string
Description returns validator description
func (MapKeysPresentValidator) MarkdownDescription ¶
func (v MapKeysPresentValidator) MarkdownDescription(_ context.Context) string
MarkdownDescription returns validator markdown description
func (MapKeysPresentValidator) Validate ¶
func (v MapKeysPresentValidator) Validate(_ context.Context, req tfsdk.ValidateAttributeRequest, resp *tfsdk.ValidateAttributeResponse)
Validate performs the validation.
type TimeType ¶
TimeType represents time.Time Terraform type which is stored in RFC3339 format, nanoseconds truncated
func (TimeType) ApplyTerraform5AttributePathStep ¶
func (t TimeType) ApplyTerraform5AttributePathStep(step tftypes.AttributePathStep) (interface{}, error)
ApplyTerraform5AttributePathStep is not implemented for TimeType
func (TimeType) TerraformType ¶
TerraformType returns type which is used in Terraform status (time is stored as string)
type TimeValue ¶
type TimeValue struct { // Unknown will be true if the value is not yet known. Unknown bool // Null will be true if the value was not set, or was explicitly set to null Null bool // Value contains the set value, as long as Unknown and Null are both false Value time.Time // Format is time.Time format used to parse/encode Format string }
Time represents Terraform value of type TimeType
func (TimeValue) ToTerraformValue ¶
ToTerraformValue returns the data contained in the *String as a string. If Unknown is true, it returns a tftypes.UnknownValue. If Null is true, it returns nil.
type TimeValueInFutureValidator ¶
type TimeValueInFutureValidator struct{}
TimeValueInFutureValidator ensures that a time is in the future
func (TimeValueInFutureValidator) Description ¶
func (v TimeValueInFutureValidator) Description(_ context.Context) string
Description returns validator description
func (TimeValueInFutureValidator) MarkdownDescription ¶
func (v TimeValueInFutureValidator) MarkdownDescription(_ context.Context) string
MarkdownDescription returns validator markdown description
func (TimeValueInFutureValidator) Validate ¶
func (v TimeValueInFutureValidator) Validate(_ context.Context, req tfsdk.ValidateAttributeRequest, resp *tfsdk.ValidateAttributeResponse)
Validate performs the validation.
type VersionValidator ¶
VersionValidator validates that a resource version is in the specified range
func (VersionValidator) Description ¶
func (v VersionValidator) Description(_ context.Context) string
Description returns validator description
func (VersionValidator) MarkdownDescription ¶
func (v VersionValidator) MarkdownDescription(_ context.Context) string
MarkdownDescription returns validator markdown description
func (VersionValidator) Validate ¶
func (v VersionValidator) Validate(_ context.Context, req tfsdk.ValidateAttributeRequest, resp *tfsdk.ValidateAttributeResponse)
Validate performs the validation.