managed

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package managed records disco resource types that are UNCONDITIONALLY provider-managed — created automatically by the cloud and not user-deletable (Azure built-in policy/role definitions, AWS-owned prefix lists, per-(account,region) singleton config rows, ...). Store.UpsertResources consults it at the store boundary and stamps Resource.ManagedByProvider, mirroring how redact/volatile apply per-type rules there.

This registry is for the always-managed case only. Types whose managed status depends on a per-row SDK field (OwnerId=="AWS", PolicyType==Managed, name prefixes) are NOT registered here — their scanner sets ManagedByProvider per row. A type is one or the other, never both.

Provider packages register via the unified restype.Descriptor (Managed:true), which forwards here — they never call managed.Register directly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(resourceType string) bool

Is reports whether resourceType was registered as unconditionally managed.

func Register

func Register(resourceType string)

Register marks resourceType as unconditionally provider-managed. Empty type is a no-op. Idempotent.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL