Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDataSource ¶
func NewDataSource() datasource.DataSource
Types ¶
type DataSource ¶
type DataSource struct {
helper.BaseDataSource
}
func (*DataSource) Read ¶
func (d *DataSource) Read( ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse, )
type DataSourceModel ¶
type DataSourceModel struct { ID types.Int64 `tfsdk:"id"` NodeBalancerID types.Int64 `tfsdk:"nodebalancer_id"` ConfigID types.Int64 `tfsdk:"config_id"` Label types.String `tfsdk:"label"` Weight types.Int64 `tfsdk:"weight"` Mode types.String `tfsdk:"mode"` Address types.String `tfsdk:"address"` Status types.String `tfsdk:"status"` }
func (*DataSourceModel) ParseNodeBalancerNode ¶
func (data *DataSourceModel) ParseNodeBalancerNode(nbnode *linodego.NodeBalancerNode)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.