Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewBoardInfoDataSource() datasource.DataSource
- func NewExampleDataSource() datasource.DataSource
- func NewExampleFunction() function.Function
- func NewExampleResource() resource.Resource
- func NewNetworkInterfaceDataSource() datasource.DataSource
- type BoardInfoDataSource
- func (d *BoardInfoDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *BoardInfoDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *BoardInfoDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *BoardInfoDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ExampleDataSource
- func (d *ExampleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ExampleDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ExampleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ExampleDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ExampleDataSourceModel
- type ExampleFunction
- type ExampleResource
- func (r *ExampleResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ExampleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ExampleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ExampleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ExampleResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ExampleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ExampleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ExampleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ExampleResourceModel
- type NetworkInterfaceDataSource
- func (d *NetworkInterfaceDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *NetworkInterfaceDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *NetworkInterfaceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *NetworkInterfaceDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type OpenWrtProvider
- func (p *OpenWrtProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *OpenWrtProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *OpenWrtProvider) Functions(ctx context.Context) []func() function.Function
- func (p *OpenWrtProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *OpenWrtProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *OpenWrtProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBoardInfoDataSource ¶
func NewBoardInfoDataSource() datasource.DataSource
func NewExampleDataSource ¶
func NewExampleDataSource() datasource.DataSource
func NewExampleFunction ¶
func NewExampleResource ¶
func NewNetworkInterfaceDataSource ¶
func NewNetworkInterfaceDataSource() datasource.DataSource
Types ¶
type BoardInfoDataSource ¶
type BoardInfoDataSource struct {
// contains filtered or unexported fields
}
BoardInfoDataSource defines the data source implementation.
func (*BoardInfoDataSource) Configure ¶
func (d *BoardInfoDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*BoardInfoDataSource) Metadata ¶
func (d *BoardInfoDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*BoardInfoDataSource) Read ¶
func (d *BoardInfoDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*BoardInfoDataSource) Schema ¶
func (d *BoardInfoDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ExampleDataSource ¶
type ExampleDataSource struct {
// contains filtered or unexported fields
}
ExampleDataSource defines the data source implementation.
func (*ExampleDataSource) Configure ¶
func (d *ExampleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ExampleDataSource) Metadata ¶
func (d *ExampleDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ExampleDataSource) Read ¶
func (d *ExampleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ExampleDataSource) Schema ¶
func (d *ExampleDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ExampleDataSourceModel ¶
type ExampleDataSourceModel struct { ConfigurableAttribute types.String `tfsdk:"configurable_attribute"` Id types.String `tfsdk:"id"` }
ExampleDataSourceModel describes the data source data model.
type ExampleFunction ¶
type ExampleFunction struct{}
func (ExampleFunction) Definition ¶
func (r ExampleFunction) Definition(_ context.Context, _ function.DefinitionRequest, resp *function.DefinitionResponse)
func (ExampleFunction) Metadata ¶
func (r ExampleFunction) Metadata(_ context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (ExampleFunction) Run ¶
func (r ExampleFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type ExampleResource ¶
type ExampleResource struct {
// contains filtered or unexported fields
}
ExampleResource defines the resource implementation.
func (*ExampleResource) Configure ¶
func (r *ExampleResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ExampleResource) Create ¶
func (r *ExampleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ExampleResource) Delete ¶
func (r *ExampleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ExampleResource) ImportState ¶
func (r *ExampleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ExampleResource) Metadata ¶
func (r *ExampleResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ExampleResource) Read ¶
func (r *ExampleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ExampleResource) Schema ¶
func (r *ExampleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ExampleResource) Update ¶
func (r *ExampleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ExampleResourceModel ¶
type ExampleResourceModel struct { ConfigurableAttribute types.String `tfsdk:"configurable_attribute"` Defaulted types.String `tfsdk:"defaulted"` Id types.String `tfsdk:"id"` }
ExampleResourceModel describes the resource data model.
type NetworkInterfaceDataSource ¶
type NetworkInterfaceDataSource struct {
// contains filtered or unexported fields
}
NetworkInterfaceDataSource defines the data source implementation.
func (*NetworkInterfaceDataSource) Configure ¶
func (d *NetworkInterfaceDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*NetworkInterfaceDataSource) Metadata ¶
func (d *NetworkInterfaceDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*NetworkInterfaceDataSource) Read ¶
func (d *NetworkInterfaceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*NetworkInterfaceDataSource) Schema ¶
func (d *NetworkInterfaceDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type OpenWrtProvider ¶
type OpenWrtProvider struct {
// contains filtered or unexported fields
}
OpenWrtProvider defines the provider implementation.
func (*OpenWrtProvider) Configure ¶
func (p *OpenWrtProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*OpenWrtProvider) DataSources ¶
func (p *OpenWrtProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*OpenWrtProvider) Functions ¶
func (p *OpenWrtProvider) Functions(ctx context.Context) []func() function.Function
func (*OpenWrtProvider) Metadata ¶
func (p *OpenWrtProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*OpenWrtProvider) Resources ¶
func (p *OpenWrtProvider) Resources(ctx context.Context) []func() resource.Resource
func (*OpenWrtProvider) Schema ¶
func (p *OpenWrtProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Click to show internal directories.
Click to hide internal directories.