Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider defines the requested provider structure.
func NewRequestedProvider ¶
func NewRequestedProvider(client *requests.HTTPClient, policyURL string) *Provider
NewRequestedProvider creates a policy provider
func (*Provider) HasDNSRules ¶
HasDNSRules returns if dns rules exist. Currently unsupported with this implemenetation
func (*Provider) IsHostAllowed ¶
IsHostAllowed returns if provided host is allowed. Currently unsupported with this implemenetation
Click to show internal directories.
Click to hide internal directories.