Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssumeRole ¶
type Config ¶
type Config struct { AssumeRole *AssumeRole ProxyPort *int PublicKey string PrivateKey string BaseURL string RealmBaseURL string TerraformVersion string }
Config contains the configurations needed to use SDKs
type DSCommon ¶
type DSCommon struct { Client *MongoDBClient DataSourceName string }
DSCommon is used as an embedded struct for all framework data sources. Implements the following plugin-framework defined functions: - Metadata - Configure Client is left empty and populated by the framework when envoking Configure method. DataSourceName must be defined when creating an instance of a data source.
func (*DSCommon) Configure ¶
func (d *DSCommon) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DSCommon) Metadata ¶
func (d *DSCommon) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
type MongoDBClient ¶
type MongoDBClient struct { Atlas *matlasClient.Client AtlasV2 *admin.APIClient AtlasV220240530 *admin20240530.APIClient // used in advanced_cluster and cloud_backup_schedule for avoiding breaking changes Config *Config }
MongoDBClient contains the mongodbatlas clients and configurations
func (*MongoDBClient) GetRealmClient ¶
type PlatformVersion ¶ added in v1.16.0
type RSCommon ¶
type RSCommon struct { Client *MongoDBClient ResourceName string }
RSCommon is used as an embedded struct for all framework resources. Implements the following plugin-framework defined functions: - Metadata - Configure Client is left empty and populated by the framework when envoking Configure method. ResourceName must be defined when creating an instance of a resource.
func (*RSCommon) Configure ¶
func (r *RSCommon) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*RSCommon) Metadata ¶
func (r *RSCommon) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)