Documentation ¶
Index ¶
- func CloneClient(ctx context.Context, client *zilliz.Client, data *ClusterResourceModel) (*zilliz.Client, error)
- func New(version string) func() provider.Provider
- func NewCloudProvidersDataSource() datasource.DataSource
- func NewCloudRegionsDataSource() datasource.DataSource
- func NewClusterDataSource() datasource.DataSource
- func NewClusterResource() resource.Resource
- func NewClustersDataSource() datasource.DataSource
- func NewProjectDataSource() datasource.DataSource
- type CloudProviderItem
- type CloudProvidersDataSource
- func (d *CloudProvidersDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *CloudProvidersDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *CloudProvidersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *CloudProvidersDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type CloudProvidersDataSourceModel
- type CloudRegionItem
- type CloudRegionsDataSource
- func (d *CloudRegionsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *CloudRegionsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *CloudRegionsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *CloudRegionsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type CloudRegionsDataSourceModel
- type ClusterDataSource
- 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 ClusterDataSourceModel
- type ClusterResource
- 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 ClusterResourceModel
- type ClustersDataSource
- func (d *ClustersDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ClustersDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ClustersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ClustersDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ClustersDataSourceModel
- type ProjectDataSource
- 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 ProjectsDataSourceModel
- type ZillizProvider
- func (p *ZillizProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *ZillizProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *ZillizProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *ZillizProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *ZillizProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneClient ¶ added in v0.0.4
func NewCloudProvidersDataSource ¶
func NewCloudProvidersDataSource() datasource.DataSource
func NewCloudRegionsDataSource ¶
func NewCloudRegionsDataSource() datasource.DataSource
func NewClusterDataSource ¶
func NewClusterDataSource() datasource.DataSource
func NewClusterResource ¶
func NewClustersDataSource ¶
func NewClustersDataSource() datasource.DataSource
func NewProjectDataSource ¶
func NewProjectDataSource() datasource.DataSource
Types ¶
type CloudProviderItem ¶
type CloudProviderItem struct { Description types.String `tfsdk:"description"` CloudId types.String `tfsdk:"cloud_id"` }
CloudProviderDataSourceModel describes the data source data model.
type CloudProvidersDataSource ¶
type CloudProvidersDataSource struct {
// contains filtered or unexported fields
}
CloudProvidersDataSource defines the data source implementation.
func (*CloudProvidersDataSource) Configure ¶
func (d *CloudProvidersDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*CloudProvidersDataSource) Metadata ¶
func (d *CloudProvidersDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*CloudProvidersDataSource) Read ¶
func (d *CloudProvidersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*CloudProvidersDataSource) Schema ¶
func (d *CloudProvidersDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type CloudProvidersDataSourceModel ¶
type CloudProvidersDataSourceModel struct {
CloudProviders []CloudProviderItem `tfsdk:"cloud_providers"`
}
CloudProvidersDataSourceModel describes the data source data model.
type CloudRegionItem ¶
type CloudRegionsDataSource ¶
type CloudRegionsDataSource struct {
// contains filtered or unexported fields
}
CloudRegionsDataSource defines the data source implementation.
func (*CloudRegionsDataSource) Configure ¶
func (d *CloudRegionsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*CloudRegionsDataSource) Metadata ¶
func (d *CloudRegionsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*CloudRegionsDataSource) Read ¶
func (d *CloudRegionsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*CloudRegionsDataSource) Schema ¶
func (d *CloudRegionsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type CloudRegionsDataSourceModel ¶
type CloudRegionsDataSourceModel struct { CloudRegions []CloudRegionItem `tfsdk:"items"` CloudId types.String `tfsdk:"cloud_id"` }
CloudRegionsDataSourceModel describes the data source data model.
type ClusterDataSource ¶
type ClusterDataSource struct {
// contains filtered or unexported fields
}
ClusterDataSource defines the data source implementation.
func (*ClusterDataSource) Configure ¶
func (d *ClusterDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ClusterDataSource) Metadata ¶
func (d *ClusterDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ClusterDataSource) Read ¶
func (d *ClusterDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ClusterDataSource) Schema ¶
func (d *ClusterDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ClusterDataSourceModel ¶
type ClusterDataSourceModel struct { ClusterId types.String `tfsdk:"id"` ClusterName types.String `tfsdk:"cluster_name"` Description types.String `tfsdk:"description"` RegionId types.String `tfsdk:"region_id"` ClusterType types.String `tfsdk:"cluster_type"` CuSize types.Int64 `tfsdk:"cu_size"` Status types.String `tfsdk:"status"` ConnectAddress types.String `tfsdk:"connect_address"` PrivateLinkAddress types.String `tfsdk:"private_link_address"` CreateTime types.String `tfsdk:"create_time"` }
ClusterDataSourceModel describes the cluster data model.
type ClusterResource ¶
type ClusterResource struct {
// contains filtered or unexported fields
}
ClusterResource defines the resource implementation.
func (*ClusterResource) Configure ¶
func (r *ClusterResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ClusterResource) Create ¶
func (r *ClusterResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ClusterResource) Delete ¶
func (r *ClusterResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ClusterResource) ImportState ¶
func (r *ClusterResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ClusterResource) Metadata ¶
func (r *ClusterResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ClusterResource) Read ¶
func (r *ClusterResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ClusterResource) Schema ¶
func (r *ClusterResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ClusterResource) Update ¶
func (r *ClusterResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ClusterResourceModel ¶
type ClusterResourceModel struct { ClusterId types.String `tfsdk:"id"` Plan types.String `tfsdk:"plan"` ClusterName types.String `tfsdk:"cluster_name"` CuSize types.Int64 `tfsdk:"cu_size"` CuType types.String `tfsdk:"cu_type"` ProjectId types.String `tfsdk:"project_id"` Username types.String `tfsdk:"username"` Password types.String `tfsdk:"password"` Prompt types.String `tfsdk:"prompt"` Description types.String `tfsdk:"description"` RegionId types.String `tfsdk:"region_id"` ClusterType types.String `tfsdk:"cluster_type"` Status types.String `tfsdk:"status"` ConnectAddress types.String `tfsdk:"connect_address"` PrivateLinkAddress types.String `tfsdk:"private_link_address"` CreateTime types.String `tfsdk:"create_time"` Timeouts timeouts.Value `tfsdk:"timeouts"` }
ClusterResourceModel describes the resource data model.
type ClustersDataSource ¶
type ClustersDataSource struct {
// contains filtered or unexported fields
}
ClusterDataSource defines the data source implementation.
func (*ClustersDataSource) Configure ¶
func (d *ClustersDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ClustersDataSource) Metadata ¶
func (d *ClustersDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ClustersDataSource) Read ¶
func (d *ClustersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ClustersDataSource) Schema ¶
func (d *ClustersDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ClustersDataSourceModel ¶
type ClustersDataSourceModel struct { Clusters []ClusterDataSourceModel `tfsdk:"clusters"` Id types.String `tfsdk:"id"` }
ClustersDataSourceModel describes the clusters data model.
type ProjectDataSource ¶
type ProjectDataSource struct {
// contains filtered or unexported fields
}
ProjectDataSource defines the data source implementation.
func (*ProjectDataSource) Configure ¶
func (d *ProjectDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ProjectDataSource) Metadata ¶
func (d *ProjectDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ProjectDataSource) Read ¶
func (d *ProjectDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ProjectDataSource) Schema ¶
func (d *ProjectDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ProjectsDataSourceModel ¶
type ZillizProvider ¶
type ZillizProvider struct {
// contains filtered or unexported fields
}
ZillizProvider defines the provider implementation.
func (*ZillizProvider) Configure ¶
func (p *ZillizProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*ZillizProvider) DataSources ¶
func (p *ZillizProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*ZillizProvider) Metadata ¶
func (p *ZillizProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*ZillizProvider) Resources ¶
func (p *ZillizProvider) Resources(ctx context.Context) []func() resource.Resource
func (*ZillizProvider) Schema ¶
func (p *ZillizProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)