provider

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2023 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

func NewDownloadFileDataSource

func NewDownloadFileDataSource() datasource.DataSource

Types

type DownloadFileDataSource

type DownloadFileDataSource struct {
}

func (*DownloadFileDataSource) Metadata

func (*DownloadFileDataSource) Read

func (*DownloadFileDataSource) Schema

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL