Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewInstanceDataSource() datasource.DataSource
- func NewInstanceResource() resource.Resource
- func NewInstanceTypesDataSource() datasource.DataSource
- func NewSSHKeyResource() resource.Resource
- type InstanceDataSource
- func (r *InstanceDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *InstanceDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *InstanceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *InstanceDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type InstanceDataSourceModel
- type InstanceResource
- func (r *InstanceResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *InstanceResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *InstanceResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *InstanceResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *InstanceResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *InstanceResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *InstanceResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *InstanceResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type InstanceResourceModel
- type InstanceTypesDataSource
- func (r *InstanceTypesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *InstanceTypesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *InstanceTypesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *InstanceTypesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type InstanceTypesDataSourceModel
- type LambdaProvider
- func (p *LambdaProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *LambdaProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *LambdaProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *LambdaProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *LambdaProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type LambdaProviderModel
- type SSHKeyResource
- func (r *SSHKeyResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *SSHKeyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *SSHKeyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *SSHKeyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *SSHKeyResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *SSHKeyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *SSHKeyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *SSHKeyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type SSHKeyResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInstanceDataSource ¶
func NewInstanceDataSource() datasource.DataSource
func NewInstanceResource ¶
func NewInstanceTypesDataSource ¶
func NewInstanceTypesDataSource() datasource.DataSource
func NewSSHKeyResource ¶
Types ¶
type InstanceDataSource ¶
type InstanceDataSource struct {
// contains filtered or unexported fields
}
InstanceDataSource is the data source implementation.
func (*InstanceDataSource) Configure ¶
func (r *InstanceDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*InstanceDataSource) Metadata ¶
func (r *InstanceDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*InstanceDataSource) Read ¶
func (r *InstanceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*InstanceDataSource) Schema ¶
func (r *InstanceDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type InstanceDataSourceModel ¶
type InstanceDataSourceModel struct { FileSystemNames []types.String `tfsdk:"file_system_names"` Hostname types.String `tfsdk:"hostname"` ID types.String `tfsdk:"id"` InstanceType *tfTypes.InstanceType `tfsdk:"instance_type"` IP types.String `tfsdk:"ip"` IsReserved types.Bool `tfsdk:"is_reserved"` JupyterToken types.String `tfsdk:"jupyter_token"` JupyterURL types.String `tfsdk:"jupyter_url"` Name types.String `tfsdk:"name"` PrivateIP types.String `tfsdk:"private_ip"` Region *tfTypes.Region `tfsdk:"region"` SSHKeyNames []types.String `tfsdk:"ssh_key_names"` Status types.String `tfsdk:"status"` }
InstanceDataSourceModel describes the data model.
func (*InstanceDataSourceModel) RefreshFromSharedInstance ¶
func (r *InstanceDataSourceModel) RefreshFromSharedInstance(resp *shared.Instance)
type InstanceResource ¶
type InstanceResource struct {
// contains filtered or unexported fields
}
InstanceResource defines the resource implementation.
func (*InstanceResource) Configure ¶
func (r *InstanceResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*InstanceResource) Create ¶
func (r *InstanceResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*InstanceResource) Delete ¶
func (r *InstanceResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*InstanceResource) ImportState ¶
func (r *InstanceResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*InstanceResource) Metadata ¶
func (r *InstanceResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*InstanceResource) Read ¶
func (r *InstanceResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*InstanceResource) Schema ¶
func (r *InstanceResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*InstanceResource) Update ¶
func (r *InstanceResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type InstanceResourceModel ¶
type InstanceResourceModel struct { RegionName types.String `tfsdk:"region_name"` InstanceTypeName types.String `tfsdk:"instance_type_name"` FileSystemNames []types.String `tfsdk:"file_system_names"` Hostname types.String `tfsdk:"hostname"` ID types.String `tfsdk:"id"` InstanceType *tfTypes.InstanceType `tfsdk:"instance_type"` IP types.String `tfsdk:"ip"` IsReserved types.Bool `tfsdk:"is_reserved"` JupyterToken types.String `tfsdk:"jupyter_token"` JupyterURL types.String `tfsdk:"jupyter_url"` Name types.String `tfsdk:"name"` PrivateIP types.String `tfsdk:"private_ip"` Region *tfTypes.Region `tfsdk:"region"` SSHKeyNames []types.String `tfsdk:"ssh_key_names"` Status types.String `tfsdk:"status"` Wait types.Bool `tfsdk:"wait"` Timeouts timeouts.Value `tfsdk:"timeouts"` }
InstanceResourceModel describes the resource data model.
func (*InstanceResourceModel) RefreshFromSharedInstance ¶
func (r *InstanceResourceModel) RefreshFromSharedInstance(resp *shared.Instance)
func (*InstanceResourceModel) ToSharedLaunch ¶
func (r *InstanceResourceModel) ToSharedLaunch() *shared.Launch
func (*InstanceResourceModel) ToSharedUpdate ¶ added in v0.1.3
func (r *InstanceResourceModel) ToSharedUpdate() *shared.Update
type InstanceTypesDataSource ¶
type InstanceTypesDataSource struct {
// contains filtered or unexported fields
}
InstanceTypesDataSource is the data source implementation.
func (*InstanceTypesDataSource) Configure ¶
func (r *InstanceTypesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*InstanceTypesDataSource) Metadata ¶
func (r *InstanceTypesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*InstanceTypesDataSource) Read ¶
func (r *InstanceTypesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*InstanceTypesDataSource) Schema ¶
func (r *InstanceTypesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type InstanceTypesDataSourceModel ¶
InstanceTypesDataSourceModel describes the data model.
func (*InstanceTypesDataSourceModel) RefreshFromSharedInstanceTypes ¶
func (r *InstanceTypesDataSourceModel) RefreshFromSharedInstanceTypes(resp *shared.InstanceTypes)
type LambdaProvider ¶
type LambdaProvider struct {
// contains filtered or unexported fields
}
func (*LambdaProvider) Configure ¶
func (p *LambdaProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*LambdaProvider) DataSources ¶
func (p *LambdaProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*LambdaProvider) Metadata ¶
func (p *LambdaProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*LambdaProvider) Resources ¶
func (p *LambdaProvider) Resources(ctx context.Context) []func() resource.Resource
func (*LambdaProvider) Schema ¶
func (p *LambdaProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type LambdaProviderModel ¶
type LambdaProviderModel struct { ServerURL types.String `tfsdk:"server_url"` BearerAuth types.String `tfsdk:"bearer_auth"` }
LambdaProviderModel describes the provider data model.
type SSHKeyResource ¶
type SSHKeyResource struct {
// contains filtered or unexported fields
}
SSHKeyResource defines the resource implementation.
func (*SSHKeyResource) Configure ¶
func (r *SSHKeyResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*SSHKeyResource) Create ¶
func (r *SSHKeyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*SSHKeyResource) Delete ¶
func (r *SSHKeyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*SSHKeyResource) ImportState ¶
func (r *SSHKeyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*SSHKeyResource) Metadata ¶
func (r *SSHKeyResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*SSHKeyResource) Read ¶
func (r *SSHKeyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*SSHKeyResource) Schema ¶
func (r *SSHKeyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*SSHKeyResource) Update ¶
func (r *SSHKeyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type SSHKeyResourceModel ¶
type SSHKeyResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` PrivateKey types.String `tfsdk:"private_key"` PublicKey types.String `tfsdk:"public_key"` }
SSHKeyResourceModel describes the resource data model.
func (*SSHKeyResourceModel) RefreshFromSharedSSHKey ¶
func (r *SSHKeyResourceModel) RefreshFromSharedSSHKey(resp *shared.SSHKey)
func (*SSHKeyResourceModel) ToSharedAddSSHKey ¶
func (r *SSHKeyResourceModel) ToSharedAddSSHKey() *shared.AddSSHKey
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package reflect is a forked version of https://github.com/hashicorp/terraform-plugin-framework/tree/main/internal/reflect that has been modified to support speakeasy's terraform generator.
|
Package reflect is a forked version of https://github.com/hashicorp/terraform-plugin-framework/tree/main/internal/reflect that has been modified to support speakeasy's terraform generator. |