Documentation
¶
Index ¶
- func New(version string) func() provider.Provider
- func NewDownloadFileDataSource() datasource.DataSource
- func NewDownloadFileFunction() function.Function
- type DownloadFileDataSource
- type DownloadFileDataSourceModel
- type DownloadFileFunction
- 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) Functions(ctx context.Context) []func() function.Function
- 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
func NewDownloadFileFunction ¶ added in v1.1.0
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 DownloadFileFunction ¶ added in v1.1.0
type DownloadFileFunction struct { }
func (*DownloadFileFunction) Definition ¶ added in v1.1.0
func (d *DownloadFileFunction) Definition(ctx context.Context, request function.DefinitionRequest, response *function.DefinitionResponse)
func (*DownloadFileFunction) Metadata ¶ added in v1.1.0
func (d *DownloadFileFunction) Metadata(ctx context.Context, request function.MetadataRequest, response *function.MetadataResponse)
func (*DownloadFileFunction) Run ¶ added in v1.1.0
func (d *DownloadFileFunction) Run(ctx context.Context, request function.RunRequest, response *function.RunResponse)
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) Functions ¶ added in v1.1.0
func (d *DownloadProvider) Functions(ctx context.Context) []func() function.Function
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.