Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IsCIDRNetworkValidator ¶
func (IsCIDRNetworkValidator) Description ¶
func (v IsCIDRNetworkValidator) Description(ctx context.Context) string
Description returns a plain text description of the validator's behavior, suitable for a practitioner to understand its impact.
func (IsCIDRNetworkValidator) MarkdownDescription ¶
func (v IsCIDRNetworkValidator) MarkdownDescription(ctx context.Context) string
MarkdownDescription returns a markdown formatted description of the validator's behavior, suitable for a practitioner to understand its impact.
func (IsCIDRNetworkValidator) ValidateString ¶
func (v IsCIDRNetworkValidator) ValidateString(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse)
Validate runs the main validation logic of the validator, reading configuration data out of `req` and updating `resp` with diagnostics.
Click to show internal directories.
Click to hide internal directories.