Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(p common.Provider) func() datasource.DataSource
New returns a new configured data source
Types ¶
type DataSource ¶
DataSource is the exported data source
func (DataSource) GetSchema ¶
func (r DataSource) GetSchema(_ context.Context) (tfsdk.Schema, diag.Diagnostics)
GetSchema returns the terraform schema structure
func (DataSource) Metadata ¶
func (r DataSource) Metadata(_ context.Context, req datasource.MetadataRequest, res *datasource.MetadataResponse)
Metadata returns data resource metadata
func (DataSource) Read ¶
func (r DataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Click to show internal directories.
Click to hide internal directories.