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 CredentialsGroup ¶
type CredentialsGroup struct { ID types.String `tfsdk:"id"` ProjectID types.String `tfsdk:"project_id"` Name types.String `tfsdk:"name"` URN types.String `tfsdk:"urn"` }
CredentialsGroup is the schema model
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)
Read - lifecycle function
Click to show internal directories.
Click to hide internal directories.