Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewImageDataSource ¶
func NewImageDataSource() datasource.DataSource
NewImageDataSource is a helper function to simplify the provider implementation.
func NewImageResource ¶
NewImageResource is a helper function to simplify the provider implementation.
Types ¶
type DataSourceModel ¶
type DataSourceModel struct { Id types.String `tfsdk:"id"` // needed by TF ProjectId types.String `tfsdk:"project_id"` ImageId types.String `tfsdk:"image_id"` Name types.String `tfsdk:"name"` DiskFormat types.String `tfsdk:"disk_format"` MinDiskSize types.Int64 `tfsdk:"min_disk_size"` MinRAM types.Int64 `tfsdk:"min_ram"` Protected types.Bool `tfsdk:"protected"` Scope types.String `tfsdk:"scope"` Config types.Object `tfsdk:"config"` Checksum types.Object `tfsdk:"checksum"` Labels types.Map `tfsdk:"labels"` }
type Model ¶
type Model struct { Id types.String `tfsdk:"id"` // needed by TF ProjectId types.String `tfsdk:"project_id"` ImageId types.String `tfsdk:"image_id"` Name types.String `tfsdk:"name"` DiskFormat types.String `tfsdk:"disk_format"` MinDiskSize types.Int64 `tfsdk:"min_disk_size"` MinRAM types.Int64 `tfsdk:"min_ram"` Protected types.Bool `tfsdk:"protected"` Scope types.String `tfsdk:"scope"` Config types.Object `tfsdk:"config"` Checksum types.Object `tfsdk:"checksum"` Labels types.Map `tfsdk:"labels"` LocalFilePath types.String `tfsdk:"local_file_path"` }
Click to show internal directories.
Click to hide internal directories.