Versions in this module Expand all Collapse all v0 v0.1.0 Oct 8, 2024 Changes in this version + func New(version string) func() provider.Provider + func NewClusterDataSource() datasource.DataSource + func NewClusterResource() resource.Resource + func NewOrganizationDataSource() datasource.DataSource + func NewOrganizationResource() resource.Resource + func NewOrganizationsDataSource() datasource.DataSource + func NewProjectDataSource() datasource.DataSource + func NewProjectResource() resource.Resource + type ClusterDataSource struct + func (d *ClusterDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...) + func (d *ClusterDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...) + func (d *ClusterDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse) + func (d *ClusterDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...) + type ClusterHardwareSpecsModel struct + CpusPerNode types.Int32 + DiskSizePerNodeBytes types.Int64 + DiskType types.String + DisksPerNode types.Int32 + HeapSizeBytes types.Int64 + MemoryPerNodeBytes types.Int64 + func (c ClusterHardwareSpecsModel) GetAttrType() map[string]attr.Type + type ClusterHealthModel struct + Status types.String + func (c ClusterHealthModel) GetAttrType() map[string]attr.Type + type ClusterIpWhitelistModel struct + Cidr types.String + Description types.String + func (c ClusterIpWhitelistModel) GetAttrType() attr.Type + type ClusterModel struct + AllowCustomStorage types.Bool + AllowSuspend types.Bool + BackupSchedule types.String + Channel types.String + CrateVersion types.String + Dc types.Object + DeletionProtected types.Bool + ExternalIp types.String + Fqdn types.String + GcAvailable types.Bool + HardwareSpecs types.Object + Health types.Object + Id types.String + IpWhitelist []ClusterIpWhitelistModel + Name types.String + NumNodes types.Int32 + OrganizationId types.String + Origin types.String + Password types.String + ProductName types.String + ProductTier types.String + ProductUnit types.Int32 + ProjectId types.String + SubscriptionId types.String + Suspended types.Bool + Url types.String + Username types.String + type ClusterResource struct + func (r *ClusterResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...) + func (r *ClusterResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) + func (r *ClusterResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) + func (r *ClusterResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...) + func (r *ClusterResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...) + func (r *ClusterResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) + func (r *ClusterResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) + func (r *ClusterResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) + type CrateDBProvider struct + func (p *CrateDBProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...) + func (p *CrateDBProvider) DataSources(ctx context.Context) []func() datasource.DataSource + func (p *CrateDBProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...) + func (p *CrateDBProvider) Resources(ctx context.Context) []func() resource.Resource + func (p *CrateDBProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse) + type CrateDBProviderModel struct + APIKey types.String + APISecret types.String + URL types.String + type DCModel struct + Created types.String + Modified types.String + func (o DCModel) GetAttrType() map[string]attr.Type + type OrganizationDataSource struct + func (d *OrganizationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...) + func (d *OrganizationDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...) + func (d *OrganizationDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse) + func (d *OrganizationDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...) + type OrganizationModel struct + Dc types.Object + Email types.String + Id types.String + Name types.String + NotificationsEnabled types.Bool + PlanType types.Int32 + ProjectCount types.Int32 + RoleFQN types.String + type OrganizationResource struct + func (r *OrganizationResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...) + func (r *OrganizationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) + func (r *OrganizationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) + func (r *OrganizationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...) + func (r *OrganizationResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...) + func (r *OrganizationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) + func (r *OrganizationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) + func (r *OrganizationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) + type OrganizationsDataSource struct + func (d *OrganizationsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...) + func (d *OrganizationsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...) + func (d *OrganizationsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse) + func (d *OrganizationsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...) + type OrganizationsDataSourceModel struct + Organizations []OrganizationModel + type ProjectDataSource struct + func (d *ProjectDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...) + func (d *ProjectDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...) + func (d *ProjectDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse) + func (d *ProjectDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...) + type ProjectModel struct + Dc types.Object + Id types.String + Name types.String + OrganizationId types.String + Region types.String + type ProjectResource struct + func (r *ProjectResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...) + func (r *ProjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) + func (r *ProjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) + func (r *ProjectResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...) + func (r *ProjectResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...) + func (r *ProjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) + func (r *ProjectResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) + func (r *ProjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)