Versions in this module Expand all Collapse all v0 v0.3.0 Sep 23, 2022 Changes in this version + func NewBootstrapResource() resource.Resource + func NewGenConfigResource() resource.Resource + func NewKubeconfigDataSource() datasource.DataSource + type BootstrapResource struct + func (r *BootstrapResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) + func (r *BootstrapResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) + func (r *BootstrapResource) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics) + func (r *BootstrapResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...) + func (r *BootstrapResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) + func (r *BootstrapResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) + type BootstrapResourceModel = KubeconfigDataSourceModel + type GenConfigResource struct + func (r *GenConfigResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) + func (r *GenConfigResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) + func (r *GenConfigResource) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics) + func (r *GenConfigResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...) + func (r *GenConfigResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) + func (r *GenConfigResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) + type GenConfigResourceModel struct + AdditionalSans types.List + ClusterEndpoint types.String + ClusterName types.String + ConfigPatch types.List + ConfigPatchControlPlane types.List + ConfigPatchWorker types.List + ControlPlaneConfig types.String + DnsDomain types.String + InstallDisk types.String + InstallImage types.String + KubernetesVersion types.String + Persist types.Bool + RegistryMirrors types.Map + TalosConfig types.String + TalosVersion types.String + WithClusterDiscovery types.Bool + WithKubespan types.Bool + WorkerConfig types.String + type KubeconfigDataSource struct + func (d *KubeconfigDataSource) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics) + func (d *KubeconfigDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...) + func (d *KubeconfigDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse) + type KubeconfigDataSourceModel struct + ClientCertificate types.String + ClientKey types.String + ClusterCaCertificate types.String + Endpoint types.String + MachineCa types.String + MachineCrt types.String + MachineKey types.String + Raw types.String + type TalosProvider struct + func (p *TalosProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...) + func (p *TalosProvider) DataSources(ctx context.Context) []func() datasource.DataSource + func (p *TalosProvider) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics) + func (p *TalosProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...) + func (p *TalosProvider) Resources(ctx context.Context) []func() resource.Resource + type TalosProviderModel struct v0.2.0 Aug 8, 2022 v0.1.0 Jan 7, 2022 Changes in this version + func New(version string) func() *schema.Provider