Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewDownloadFileDataSource() datasource.DataSource
- type DownloadFileDataSource
- type DownloadFileDataSourceModel
- type DownloadProvider
- func (d *DownloadProvider) Configure(ctx context.Context, request provider.ConfigureRequest, ...)
- func (d *DownloadProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (d *DownloadProvider) Metadata(ctx context.Context, request provider.MetadataRequest, ...)
- func (d *DownloadProvider) Resources(ctx context.Context) []func() resource.Resource
- func (d *DownloadProvider) Schema(ctx context.Context, request provider.SchemaRequest, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDownloadFileDataSource ¶
func NewDownloadFileDataSource() datasource.DataSource
Types ¶
type DownloadFileDataSource ¶
type DownloadFileDataSource struct { }
func (*DownloadFileDataSource) Metadata ¶
func (f *DownloadFileDataSource) Metadata(ctx context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*DownloadFileDataSource) Read ¶
func (f *DownloadFileDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*DownloadFileDataSource) Schema ¶
func (f *DownloadFileDataSource) Schema(ctx context.Context, request datasource.SchemaRequest, response *datasource.SchemaResponse)
type DownloadFileDataSourceModel ¶
type DownloadFileDataSourceModel struct { Id types.String `tfsdk:"id"` Url types.String `tfsdk:"url"` OutputFile types.String `tfsdk:"output_file"` Base64SHA256 types.String `tfsdk:"output_base64sha256"` MD5 types.String `tfsdk:"output_md5"` SHA types.String `tfsdk:"output_sha"` SHA256 types.String `tfsdk:"output_sha256"` FileSize types.Int64 `tfsdk:"output_size"` VerifySHA256 types.String `tfsdk:"verify_sha256"` VerifySHA types.String `tfsdk:"verify_sha"` VerifyMD5 types.String `tfsdk:"verify_md5"` }
type DownloadProvider ¶
type DownloadProvider struct {
// contains filtered or unexported fields
}
func (*DownloadProvider) Configure ¶
func (d *DownloadProvider) Configure(ctx context.Context, request provider.ConfigureRequest, response *provider.ConfigureResponse)
func (*DownloadProvider) DataSources ¶
func (d *DownloadProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*DownloadProvider) Metadata ¶
func (d *DownloadProvider) Metadata(ctx context.Context, request provider.MetadataRequest, response *provider.MetadataResponse)
func (*DownloadProvider) Resources ¶
func (d *DownloadProvider) Resources(ctx context.Context) []func() resource.Resource
func (*DownloadProvider) Schema ¶
func (d *DownloadProvider) Schema(ctx context.Context, request provider.SchemaRequest, response *provider.SchemaResponse)
Click to show internal directories.
Click to hide internal directories.