Documentation ¶
Index ¶
- Variables
- func AppPassword() *schema.Resource
- func Cluster() *schema.Resource
- func ClusterNameSchema() *schema.Schema
- func ClusterReplica() *schema.Resource
- func CommentSchema(forceNew bool) *schema.Schema
- func ConnectionAws() *schema.Resource
- func ConnectionAwsPrivatelink() *schema.Resource
- func ConnectionConfluentSchemaRegistry() *schema.Resource
- func ConnectionKafka() *schema.Resource
- func ConnectionMySQL() *schema.Resource
- func ConnectionPostgres() *schema.Resource
- func ConnectionSshTunnel() *schema.Resource
- func Database() *schema.Resource
- func DatabaseNameSchema(resource string, required bool) *schema.Schema
- func DiskSchema(forceNew bool) *schema.Schema
- func FormatSpecSchema(elem string, description string, required bool) *schema.Schema
- func GrantCluster() *schema.Resource
- func GrantClusterDefaultPrivilege() *schema.Resource
- func GrantConnection() *schema.Resource
- func GrantConnectionDefaultPrivilege() *schema.Resource
- func GrantDatabase() *schema.Resource
- func GrantDatabaseDefaultPrivilege() *schema.Resource
- func GrantDefaultDatabaseNameSchema() *schema.Schema
- func GrantDefaultSchemaNameSchema() *schema.Schema
- func GrantMaterializedView() *schema.Resource
- func GrantRole() *schema.Resource
- func GrantSchema() *schema.Resource
- func GrantSchemaDefaultPrivilege() *schema.Resource
- func GrantSecret() *schema.Resource
- func GrantSecretDefaultPrivilege() *schema.Resource
- func GrantSource() *schema.Resource
- func GrantSystemPrivilege() *schema.Resource
- func GrantTable() *schema.Resource
- func GrantTableDefaultPrivilege() *schema.Resource
- func GrantType() *schema.Resource
- func GrantTypeDefaultPrivilege() *schema.Resource
- func GrantView() *schema.Resource
- func GranteeNameSchema() *schema.Schema
- func IdentifierSchema(params IdentifierSchemaParams) *schema.Schema
- func Index() *schema.Resource
- func IntrospectionDebuggingSchema(forceNew bool, requiredWith []string) *schema.Schema
- func IntrospectionIntervalSchema(forceNew bool, requiredWith []string) *schema.Schema
- func MaterializedView() *schema.Resource
- func ObjectClusterNameSchema(objectType string) *schema.Schema
- func ObjectNameSchema(resource string, required, forceNew bool) *schema.Schema
- func ObjectSizeSchema(objectType string) *schema.Schema
- func OwnershipRoleSchema() *schema.Schema
- func PrivilegeSchema(objectType string) *schema.Schema
- func QualifiedNameSchema(resource string) *schema.Schema
- func Region() *schema.Resource
- func RegionSchema() *schema.Schema
- func Role() *schema.Resource
- func RoleNameSchema() *schema.Schema
- func RoleParameter() *schema.Resource
- func SCIM2Configuration() *schema.Resource
- func SCIM2Group() *schema.Resource
- func SCIM2GroupRoles() *schema.Resource
- func SCIM2GroupUsers() *schema.Resource
- func SSOConfiguration() *schema.Resource
- func SSODefaultRoles() *schema.Resource
- func SSODomain() *schema.Resource
- func SSORoleGroupMapping() *schema.Resource
- func Schema() *schema.Resource
- func SchemaNameSchema(resource string, required bool) *schema.Schema
- func Secret() *schema.Resource
- func SinkFormatSpecSchema(elem string, description string, required bool) *schema.Schema
- func SinkKafka() *schema.Resource
- func SizeSchema(resource string, required bool, forceNew bool) *schema.Schema
- func SourceKafka() *schema.Resource
- func SourceLoadgen() *schema.Resource
- func SourceMySQL() *schema.Resource
- func SourcePostgres() *schema.Resource
- func SourceWebhook() *schema.Resource
- func SystemParameter() *schema.Resource
- func Table() *schema.Resource
- func TargetRoleNameSchema() *schema.Schema
- func Type() *schema.Resource
- func User() *schema.Resource
- func ValidateConnectionSchema() *schema.Schema
- func ValueSecretSchema(elem string, description string, required, forceNew bool) *schema.Schema
- func View() *schema.Resource
- type DefaultPrivilegeKey
- type GrantPrivilegeKey
- type IdentifierSchemaParams
- type RolePrivilegeKey
- type SSOConfigRolesResponse
- type SystemPrivilegeKey
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPrivilegeDefinition = "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects."
View Source
var GrantDefinition = "Manages the privileges on a Materailize %[1]s for roles."
View Source
var SSOConfigSchema = map[string]*schema.Schema{ "enabled": { Type: schema.TypeBool, Required: true, Description: "Whether SSO is enabled or not. If enabled, users will be redirected to the SSO endpoint for authentication. The configuration needs to be valid for SSO to work.", }, "sso_endpoint": { Type: schema.TypeString, Required: true, Description: "The URL endpoint for the SSO service. This is the URL that users will be redirected to for authentication. The URL must be accessible from the browser.", }, "public_certificate": { Type: schema.TypeString, Required: true, Description: "The public certificate of the SSO service. This is used to verify the SSO response. The certificate must be in PEM format. The certificate must be accessible from the browser. If the certificate is not accessible from the browser, you can use the public certificate of the Identity Provider (IdP) instead.", }, "sign_request": { Type: schema.TypeBool, Required: true, Description: "Indicates whether the SSO request needs to be digitally signed.", }, "type": { Type: schema.TypeString, Required: true, Description: "Defines the type of SSO protocol being used (e.g., saml, oidc).", ValidateFunc: validation.StringInSlice(ssoConfigTypes, true), }, "oidc_client_id": { Type: schema.TypeString, Optional: true, Description: "The client ID of the OIDC application. This is used to identify the application to the OIDC service. This is required if the type is OIDC.", }, "oidc_secret": { Type: schema.TypeString, Optional: true, Description: "The client secret of the OIDC application. This is used to authenticate the application to the OIDC service. This is required if the type is OIDC.", }, }
View Source
var SSODefaultRolesSchema = map[string]*schema.Schema{ "sso_config_id": { Type: schema.TypeString, Required: true, Description: "The ID of the associated SSO configuration.", }, "roles": { Type: schema.TypeSet, Elem: &schema.Schema{Type: schema.TypeString}, Required: true, Description: "Set of default role names for the SSO configuration. These roles will be assigned by default to users who sign up via SSO.", }, }
View Source
var SSODomainSchema = map[string]*schema.Schema{ "sso_config_id": { Type: schema.TypeString, Required: true, Description: "The ID of the associated SSO configuration.", }, "domain": { Type: schema.TypeString, Required: true, Description: "The domain name for the SSO domain configuration. This domain will be used to validate the SSO configuration and needs to be unique across all SSO configurations.", }, "validated": { Type: schema.TypeBool, Computed: true, Description: "Indicates whether the domain has been validated.", }, }
View Source
var SSORoleGroupMappingSchema = map[string]*schema.Schema{ "sso_config_id": { Type: schema.TypeString, Required: true, Description: "The ID of the associated SSO configuration.", }, "group": { Type: schema.TypeString, Required: true, Description: "The name of the SSO group.", }, "roles": { Type: schema.TypeSet, Elem: &schema.Schema{Type: schema.TypeString}, Required: true, Description: "List of role names associated with the group.", }, "enabled": { Type: schema.TypeBool, Computed: true, Description: "Whether the group mapping is enabled.", }, }
View Source
var Scim2GroupSchema = map[string]*schema.Schema{ "name": { Type: schema.TypeString, Required: true, Description: "The name of the SCIM group.", }, "description": { Type: schema.TypeString, Optional: true, Description: "A description of the SCIM group.", }, }
View Source
var ScimGroupRoleSchema = map[string]*schema.Schema{ "group_id": { Type: schema.TypeString, Required: true, Description: "The ID of the SCIM group.", }, "roles": { Type: schema.TypeSet, Elem: &schema.Schema{Type: schema.TypeString}, Optional: true, Description: "The set of role names to assign to the SCIM group.", }, }
View Source
var ScimGroupUsersSchema = map[string]*schema.Schema{ "group_id": { Type: schema.TypeString, Required: true, Description: "The ID of the SCIM group.", }, "users": { Type: schema.TypeSet, Elem: &schema.Schema{Type: schema.TypeString}, Optional: true, Description: "The set of user IDs to assign to the SCIM group.", }, }
Functions ¶
func AppPassword ¶ added in v0.5.0
func ClusterNameSchema ¶ added in v0.1.7
func ClusterReplica ¶
func CommentSchema ¶ added in v0.1.13
func ConnectionAws ¶ added in v0.6.7
func ConnectionKafka ¶
func ConnectionMySQL ¶ added in v0.6.7
func ConnectionPostgres ¶
func ConnectionSshTunnel ¶
func DatabaseNameSchema ¶ added in v0.0.4
func DiskSchema ¶ added in v0.1.13
func FormatSpecSchema ¶
func GrantCluster ¶ added in v0.0.9
func GrantClusterDefaultPrivilege ¶ added in v0.1.0
func GrantConnection ¶ added in v0.0.9
func GrantConnectionDefaultPrivilege ¶ added in v0.1.0
func GrantDatabase ¶ added in v0.0.8
func GrantDatabaseDefaultPrivilege ¶ added in v0.1.0
func GrantDefaultDatabaseNameSchema ¶ added in v0.1.7
func GrantDefaultSchemaNameSchema ¶ added in v0.1.7
func GrantMaterializedView ¶ added in v0.0.9
func GrantSchema ¶ added in v0.0.9
func GrantSchemaDefaultPrivilege ¶ added in v0.1.0
func GrantSecret ¶ added in v0.0.9
func GrantSecretDefaultPrivilege ¶ added in v0.1.0
func GrantSource ¶ added in v0.0.9
func GrantSystemPrivilege ¶ added in v0.1.0
func GrantTable ¶ added in v0.0.9
func GrantTableDefaultPrivilege ¶ added in v0.1.0
func GrantTypeDefaultPrivilege ¶ added in v0.1.0
func GranteeNameSchema ¶ added in v0.1.7
func IdentifierSchema ¶
func IdentifierSchema(params IdentifierSchemaParams) *schema.Schema
func IntrospectionDebuggingSchema ¶ added in v0.1.7
func IntrospectionIntervalSchema ¶ added in v0.1.7
func MaterializedView ¶
func ObjectClusterNameSchema ¶ added in v0.1.9
func ObjectNameSchema ¶ added in v0.1.7
func ObjectSizeSchema ¶ added in v0.1.9
func OwnershipRoleSchema ¶ added in v0.1.7
func PrivilegeSchema ¶ added in v0.1.7
func QualifiedNameSchema ¶ added in v0.0.4
func RegionSchema ¶ added in v0.5.0
func RoleNameSchema ¶ added in v0.1.7
func RoleParameter ¶ added in v0.6.9
func SCIM2Configuration ¶ added in v0.6.1
func SCIM2Group ¶ added in v0.6.10
func SCIM2GroupRoles ¶ added in v0.6.10
func SCIM2GroupUsers ¶ added in v0.6.10
func SSOConfiguration ¶ added in v0.6.0
func SSODefaultRoles ¶ added in v0.6.0
func SSORoleGroupMapping ¶ added in v0.6.0
func SchemaNameSchema ¶ added in v0.0.4
func SinkFormatSpecSchema ¶
func SizeSchema ¶ added in v0.0.4
func SourceKafka ¶
func SourceLoadgen ¶
func SourceMySQL ¶ added in v0.6.7
func SourcePostgres ¶
func SourceWebhook ¶ added in v0.1.8
func SystemParameter ¶ added in v0.6.4
func TargetRoleNameSchema ¶ added in v0.1.7
func ValidateConnectionSchema ¶ added in v0.1.7
func ValueSecretSchema ¶
Types ¶
type DefaultPrivilegeKey ¶ added in v0.1.0
type DefaultPrivilegeKey struct {
// contains filtered or unexported fields
}
type GrantPrivilegeKey ¶ added in v0.1.0
type GrantPrivilegeKey struct {
// contains filtered or unexported fields
}
type IdentifierSchemaParams ¶ added in v0.6.9
type RolePrivilegeKey ¶ added in v0.1.0
type RolePrivilegeKey struct {
// contains filtered or unexported fields
}
type SSOConfigRolesResponse ¶ added in v0.6.0
type SSOConfigRolesResponse struct {
RoleIds []string `json:"roleIds"`
}
type SystemPrivilegeKey ¶ added in v0.1.0
type SystemPrivilegeKey struct {
// contains filtered or unexported fields
}
Source Files ¶
- config.go
- resource_app_password.go
- resource_cluster.go
- resource_cluster_replica.go
- resource_connection.go
- resource_connection_aws.go
- resource_connection_aws_privatelink.go
- resource_connection_confluent_schema_registry.go
- resource_connection_kafka.go
- resource_connection_mysql.go
- resource_connection_postgres.go
- resource_connection_ssh_tunnel.go
- resource_database.go
- resource_grant.go
- resource_grant_cluster.go
- resource_grant_cluster_default_privilege.go
- resource_grant_connection.go
- resource_grant_connection_default_privilege.go
- resource_grant_database.go
- resource_grant_database_default_privilege.go
- resource_grant_default_privilege.go
- resource_grant_materialized_view.go
- resource_grant_role.go
- resource_grant_schema.go
- resource_grant_schema_default_privilege.go
- resource_grant_secret.go
- resource_grant_secret_default_privilege.go
- resource_grant_source.go
- resource_grant_system_privilege.go
- resource_grant_table.go
- resource_grant_table_default_privilege.go
- resource_grant_type.go
- resource_grant_type_default_privilege.go
- resource_grant_view.go
- resource_index.go
- resource_materialized_view.go
- resource_region.go
- resource_role.go
- resource_role_parameter.go
- resource_schema.go
- resource_scim_config.go
- resource_scim_group.go
- resource_scim_group_roles.go
- resource_scim_group_users.go
- resource_secret.go
- resource_sink.go
- resource_sink_kafka.go
- resource_source.go
- resource_source_kafka.go
- resource_source_load_generator.go
- resource_source_mysql.go
- resource_source_postgres.go
- resource_source_webhook.go
- resource_sso_config.go
- resource_sso_default_roles.go
- resource_sso_domain.go
- resource_sso_group_mapping.go
- resource_system_parameter.go
- resource_table.go
- resource_type.go
- resource_user.go
- resource_view.go
- schema.go
- validator.go
Click to show internal directories.
Click to hide internal directories.