Documentation
¶
Index ¶
- Constants
- func CanonicalKey(input CanonicalInput) string
- func NormalizeScopes(scopes []string) []string
- func RefreshMetrics(ctx context.Context, q *gen.Queries, _ time.Time) error
- func ScopesJSON(scopes []string) []byte
- func VendorLabelFromDomain(raw string) string
- func WriteRows(ctx context.Context, q *gen.Queries, params WriteRowsParams) error
- type AppMetadata
- type CanonicalInput
- type EventRow
- type ProgressEvent
- type SourceRow
- type WriteRowsParams
Constants ¶
View Source
const ( SignalKindIDPSSO = "idp_sso" SignalKindOAuth = "oauth_grant" ManagedStateManaged = "managed" ManagedStateUnmanaged = "unmanaged" ManagedReasonActiveBindingFreshSync = "active_binding_fresh_sync" ManagedReasonNoBinding = "no_binding" ManagedReasonConnectorDisabled = "connector_disabled" ManagedReasonConnectorNotConfigured = "connector_not_configured" ManagedReasonStaleSync = "stale_sync" )
Variables ¶
This section is empty.
Functions ¶
func CanonicalKey ¶
func CanonicalKey(input CanonicalInput) string
CanonicalKey returns a deterministic MVP key for SaaS app identity.
func NormalizeScopes ¶
func RefreshMetrics ¶ added in v0.4.9
func ScopesJSON ¶
func VendorLabelFromDomain ¶ added in v0.4.6
VendorLabelFromDomain derives a human-readable vendor label from a domain-like input (URL/host/domain). It returns an empty string when no label can be derived.
Types ¶
type AppMetadata ¶
func BuildMetadata ¶
func BuildMetadata(input CanonicalInput) AppMetadata
BuildMetadata returns canonical metadata for discovery rows.
type CanonicalInput ¶
type ProgressEvent ¶ added in v0.5.0
type WriteRowsParams ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.