Documentation
¶
Overview ¶
Code generated by project-data-profile.mjs; DO NOT EDIT. Source 22de9f4b94243c4dc7e34cf87d8f38a5ca98f5c0; Apache-2.0. Comments and import paths adapted for distribution.
Code generated by project-data-profile.mjs; DO NOT EDIT. Source 22de9f4b94243c4dc7e34cf87d8f38a5ca98f5c0; Apache-2.0. Comments and import paths adapted for distribution.
Index ¶
- Constants
- func CapabilityDenial(requestID, capability, providerID string, p Profile) denial.Envelope
- func GuardTransport(t *http.Transport)
- func IsDenied(err error) bool
- func LocalAddr(addr netip.Addr) bool
- func LocalDestinationPolicy() (prefixes []netip.Prefix, excluded []netip.Addr)
- func LocalResolver() *net.Resolver
- func UnresolvableDenial(requestID string) denial.Envelope
- func WithProfile(ctx context.Context, p Profile) context.Context
- type DeniedError
- type DialFunc
- type Locality
- type Profile
- type Residency
- type Retention
- type Scope
Constants ¶
const ( ResidencyGlobal Residency = "global" ResidencyEU Residency = "eu" RetentionStandard Retention = "standard" RetentionZero Retention = "zero" LocalityHosted Locality = "hosted" LocalityLocal Locality = "local" ScopeAccount Scope = "account" ScopeOrganization Scope = "organization" ScopeWorkspace Scope = "workspace" ScopeSession Scope = "session" ScopeEdition Scope = "edition" )
const ( ReasonUnresolvable = "data_profile_unresolvable" ReasonCapabilityDenied = "data_profile_capability_denied" ReasonProcessorIneligible = "data_profile_processor_ineligible" )
const BootEnvVar = "KOMBIFY_DATA_PROFILE"
const FullLocal = "full-local"
const ReasonFullLocal = "data_profile_full_local"
const Version = 1
Variables ¶
This section is empty.
Functions ¶
func CapabilityDenial ¶
func GuardTransport ¶
func LocalDestinationPolicy ¶
func LocalResolver ¶
func UnresolvableDenial ¶
func UnresolvableDenial(requestID string) denial.Envelope
Types ¶
type DeniedError ¶
type DeniedError struct {
Host string
}
func (*DeniedError) Error ¶
func (e *DeniedError) Error() string