Documentation ¶
Index ¶
- Constants
- Variables
- func MultiEnvDefaultFunc(ks []string, def any) any
- func MuxProviderFactory() func() tfprotov6.ProviderServer
- func MuxProviderFactoryForTesting(proxyPort *int) func() tfprotov6.ProviderServer
- func NewFrameworkProvider(proxyPort *int) provider.Provider
- func NewSdkV2Provider(proxyPort *int) *schema.Provider
- type MongodbtlasProvider
- func (p *MongodbtlasProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *MongodbtlasProvider) DataSources(context.Context) []func() datasource.DataSource
- func (p *MongodbtlasProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *MongodbtlasProvider) Resources(context.Context) []func() resource.Resource
- func (p *MongodbtlasProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type SecretData
Constants ¶
View Source
const ( MongodbGovCloudURL = "https://cloud.mongodbgov.com" MongodbGovCloudQAURL = "https://cloud-qa.mongodbgov.com" MongodbGovCloudDevURL = "https://cloud-dev.mongodbgov.com" ProviderConfigError = "error in configuring the provider." MissingAuthAttrError = "either Atlas Programmatic API Keys or AWS Secrets Manager attributes must be set" )
Variables ¶
View Source
var AssumeRoleType = types.ObjectType{AttrTypes: map[string]attr.Type{ "policy_arns": types.SetType{ElemType: types.StringType}, "transitive_tag_keys": types.SetType{ElemType: types.StringType}, "tags": types.MapType{ElemType: types.StringType}, "duration": types.StringType, "external_id": types.StringType, "policy": types.StringType, "role_arn": types.StringType, "session_name": types.StringType, "source_identity": types.StringType, }}
Functions ¶
func MultiEnvDefaultFunc ¶
func MuxProviderFactory ¶ added in v1.15.3
func MuxProviderFactory() func() tfprotov6.ProviderServer
func MuxProviderFactoryForTesting ¶ added in v1.15.3
func MuxProviderFactoryForTesting(proxyPort *int) func() tfprotov6.ProviderServer
func NewFrameworkProvider ¶
func NewSdkV2Provider ¶
NewSdkV2Provider returns the provider to be use by the code.
Types ¶
type MongodbtlasProvider ¶
type MongodbtlasProvider struct {
// contains filtered or unexported fields
}
func (*MongodbtlasProvider) Configure ¶
func (p *MongodbtlasProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*MongodbtlasProvider) DataSources ¶
func (p *MongodbtlasProvider) DataSources(context.Context) []func() datasource.DataSource
func (*MongodbtlasProvider) Metadata ¶
func (p *MongodbtlasProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*MongodbtlasProvider) Resources ¶
func (p *MongodbtlasProvider) Resources(context.Context) []func() resource.Resource
func (*MongodbtlasProvider) Schema ¶
func (p *MongodbtlasProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type SecretData ¶
Click to show internal directories.
Click to hide internal directories.