Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Instance = createInstance()
)
Functions ¶
This section is empty.
Types ¶
type AllowedEndpoints ¶
type FastSuffixMatcher ¶
type FastSuffixMatcher struct {
// contains filtered or unexported fields
}
type TrustedEndpoints ¶
type TrustedEndpoints struct {
// contains filtered or unexported fields
}
func (*TrustedEndpoints) AddTrustedHosts ¶
func (trusted *TrustedEndpoints) AddTrustedHosts(rules []MatchRule, replace bool) error
AddTrustedHosts Add or set a list of trusted endpoints rules
func (*TrustedEndpoints) SetOverridePolicy ¶
func (trusted *TrustedEndpoints) SetOverridePolicy(matcher func(string) bool)
SetOverridePolicy Set a policy to override all other trusted rules
func (*TrustedEndpoints) ValidateTrustedEndpoint ¶
func (trusted *TrustedEndpoints) ValidateTrustedEndpoint(endpoint string, loginEndpoint string) error
ValidateTrustedEndpoint Validates the endpoint uri trusted
type WellKnownKustoEndpointsDataStruct ¶
type WellKnownKustoEndpointsDataStruct struct {
AllowedEndpointsByLogin map[string]AllowedEndpoints
}
Click to show internal directories.
Click to hide internal directories.