Documentation ¶
Index ¶
- func New() datasource.DataSource
- type DataSource
- func (d *DataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (r DataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type HealthCheck
- type Instance
- type Listener
- type Network
- type Target
- type TargetPool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DataSource ¶
type DataSource struct {
// contains filtered or unexported fields
}
DataSource is the exported data source
func (*DataSource) Configure ¶
func (d *DataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure configures the data source client
func (*DataSource) Metadata ¶
func (d *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
func (*DataSource) Schema ¶
func (d *DataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema returns the terraform schema structure
type HealthCheck ¶
type Instance ¶
type Instance struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ProjectID types.String `tfsdk:"project_id"` ExternalAddress types.String `tfsdk:"external_address"` Listeners types.Set `tfsdk:"listeners"` Networks types.Set `tfsdk:"networks"` TargetPools types.Set `tfsdk:"target_pools"` ACL types.Set `tfsdk:"acl"` PrivateNetworkOnly types.Bool `tfsdk:"private_network_only"` PrivateAddress types.String `tfsdk:"private_address"` }
Instance is the schema model
Click to show internal directories.
Click to hide internal directories.