Documentation
¶
Index ¶
- func FromCIDRModel(d *netparse.CidrModel) parseCIDRFunctionReturnModel
- func FromDomainModel(d *netparse.DomainModel) parseDomainFunctionReturnModel
- func FromURLModel(u *netparse.URLModel) parseURLFunctionReturnModel
- func New(version string) func() provider.Provider
- func NewCIDRDataSource() datasource.DataSource
- func NewContainsIPFunction() function.Function
- func NewDomainDataSource() datasource.DataSource
- func NewParseCIDRFunction() function.Function
- func NewParseDomainFunction() function.Function
- func NewParseURLFunction() function.Function
- func NewURLDataSource() datasource.DataSource
- func NewURLDataSourceModel() *urlDataSourceModel
- type ContainsIPFunction
- type NetparseProvider
- func (p *NetparseProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *NetparseProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *NetparseProvider) Functions(ctx context.Context) []func() function.Function
- func (p *NetparseProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *NetparseProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *NetparseProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type ParseCIDRFunction
- type ParseDomainFunction
- type ParseURLFunction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromCIDRModel ¶
func FromDomainModel ¶
func FromDomainModel(d *netparse.DomainModel) parseDomainFunctionReturnModel
func FromURLModel ¶
func NewCIDRDataSource ¶
func NewCIDRDataSource() datasource.DataSource
func NewContainsIPFunction ¶
func NewDomainDataSource ¶
func NewDomainDataSource() datasource.DataSource
func NewParseCIDRFunction ¶
func NewParseDomainFunction ¶
func NewParseURLFunction ¶
func NewURLDataSource ¶
func NewURLDataSource() datasource.DataSource
func NewURLDataSourceModel ¶
func NewURLDataSourceModel() *urlDataSourceModel
Types ¶
type ContainsIPFunction ¶
type ContainsIPFunction struct{}
func (ContainsIPFunction) Definition ¶
func (f ContainsIPFunction) Definition(_ context.Context, _ function.DefinitionRequest, resp *function.DefinitionResponse)
func (ContainsIPFunction) Metadata ¶
func (f ContainsIPFunction) Metadata(_ context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (ContainsIPFunction) Run ¶
func (f ContainsIPFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type NetparseProvider ¶
type NetparseProvider struct {
// contains filtered or unexported fields
}
NetparseProvider defines the provider implementation.
func (*NetparseProvider) Configure ¶
func (p *NetparseProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*NetparseProvider) DataSources ¶
func (p *NetparseProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*NetparseProvider) Functions ¶
func (p *NetparseProvider) Functions(ctx context.Context) []func() function.Function
func (*NetparseProvider) Metadata ¶
func (p *NetparseProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*NetparseProvider) Resources ¶
func (p *NetparseProvider) Resources(ctx context.Context) []func() resource.Resource
func (*NetparseProvider) Schema ¶
func (p *NetparseProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type ParseCIDRFunction ¶
type ParseCIDRFunction struct{}
func (ParseCIDRFunction) Definition ¶
func (f ParseCIDRFunction) Definition(_ context.Context, _ function.DefinitionRequest, resp *function.DefinitionResponse)
func (ParseCIDRFunction) Metadata ¶
func (f ParseCIDRFunction) Metadata(_ context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (ParseCIDRFunction) Run ¶
func (f ParseCIDRFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type ParseDomainFunction ¶
type ParseDomainFunction struct{}
func (ParseDomainFunction) Definition ¶
func (f ParseDomainFunction) Definition(_ context.Context, _ function.DefinitionRequest, resp *function.DefinitionResponse)
func (ParseDomainFunction) Metadata ¶
func (f ParseDomainFunction) Metadata(_ context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (ParseDomainFunction) Run ¶
func (f ParseDomainFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type ParseURLFunction ¶
type ParseURLFunction struct{}
func (ParseURLFunction) Definition ¶
func (f ParseURLFunction) Definition(_ context.Context, _ function.DefinitionRequest, resp *function.DefinitionResponse)
func (ParseURLFunction) Metadata ¶
func (f ParseURLFunction) Metadata(_ context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (ParseURLFunction) Run ¶
func (f ParseURLFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
Click to show internal directories.
Click to hide internal directories.