Documentation
¶
Index ¶
- func New(version string) func() provider.Provider
- func NewListDataSource() datasource.DataSource
- type ListDataSource
- func (d *ListDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ListDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ListDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ListDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ListDataSourceModel
- type NBListsProvider
- func (p *NBListsProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *NBListsProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *NBListsProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *NBListsProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *NBListsProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type NBListsProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewListDataSource ¶
func NewListDataSource() datasource.DataSource
Types ¶
type ListDataSource ¶
type ListDataSource struct {
// contains filtered or unexported fields
}
ListDataSource defines the data source implementation.
func (*ListDataSource) Configure ¶
func (d *ListDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ListDataSource) Metadata ¶
func (d *ListDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ListDataSource) Read ¶
func (d *ListDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ListDataSource) Schema ¶
func (d *ListDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ListDataSourceModel ¶
type ListDataSourceModel struct { Endpoint types.String `tfsdk:"endpoint"` Filter types.Map `tfsdk:"filter"` List types.List `tfsdk:"list"` List4 types.List `tfsdk:"list4"` List6 types.List `tfsdk:"list6"` ListNoCIDR types.List `tfsdk:"list_no_cidr"` AsCIDR types.Bool `tfsdk:"as_cidr"` Family types.Int64 `tfsdk:"family"` NoCIDRSingleIP types.Bool `tfsdk:"no_cidr_single_ip"` Summarize types.Bool `tfsdk:"summarize"` Min types.Int64 `tfsdk:"min"` Max types.Int64 `tfsdk:"max"` SplitAF types.Bool `tfsdk:"split_af"` ID types.String `tfsdk:"id"` }
ListDataSourceModel describes the data source data model.
type NBListsProvider ¶
type NBListsProvider struct {
// contains filtered or unexported fields
}
NBListsProvider defines the provider implementation.
func (*NBListsProvider) Configure ¶
func (p *NBListsProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*NBListsProvider) DataSources ¶
func (p *NBListsProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*NBListsProvider) Metadata ¶
func (p *NBListsProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*NBListsProvider) Resources ¶
func (p *NBListsProvider) Resources(ctx context.Context) []func() resource.Resource
func (*NBListsProvider) Schema ¶
func (p *NBListsProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type NBListsProviderModel ¶
type NBListsProviderModel struct { URL types.String `tfsdk:"url"` Token types.String `tfsdk:"token"` ListsPath types.String `tfsdk:"lists_path"` AllowEmptyFilter types.Bool `tfsdk:"allow_empty_filter"` RequestTimeout types.Int64 `tfsdk:"request_timeout"` }
ScaffoldingProviderModel describes the provider data model.
Click to show internal directories.
Click to hide internal directories.