Documentation ¶
Index ¶
- Constants
- Variables
- func Disable(resource Annotated, names ...string)
- func Enable(resource Annotated, names ...string)
- func EnableWith(annotations map[string]string, names ...string) map[string]string
- func Get(resource Annotated, name string) string
- func IsEnabled(resource Annotated, name string) bool
- func IsEnabledOnCtx(ctx context.Context, name string) bool
- func IsSame(a, b map[string]string) bool
- func Set(resource Annotated, name, value string)
- func SetWithContext(parent context.Context, name, value string) context.Context
- func ToString(resource Annotated) string
- func WithContext(parent context.Context, annotated Annotated) context.Context
- type Annotated
Constants ¶
View Source
const AllowEmptyPrimitive = "AllowEmptyPrimitive"
View Source
const AllowPublicAccess = "AllowPublicAccess"
security
View Source
const AutoCreated = "AutoCreated"
View Source
const BypassExtensions = "BypassExtensions"
bypass extensions
View Source
const CheckVersion = "CheckVersion"
View Source
const CommonType = "CommonType"
View Source
const DisableBackup = "DisableBackup"
View Source
const DisableVersion = "DisableVersion"
View Source
const EnableAudit = "EnableAudit"
View Source
const Enabled = "true"
values: true
View Source
const ExtensionId = "ExtensionId"
extensionId
View Source
const HclBlock = "HclBlock"
View Source
const HistoryResource = "HistoryResource"
View Source
const Identity = "Identity"
View Source
const IgnoreIfExists = "IgnoreIfExists"
request annotations
View Source
const IsHclLabel = "IsHclLabel"
hcl
View Source
const KeepHistory = "KeepHistory"
resource flags
View Source
const NormalizedResource = "NormalizedResource"
View Source
const OpenApiGroup = "OpenApiGroup"
openapi
View Source
const OpenApiHide = "OpenApiHide"
View Source
const OpenApiRestPath = "OpenApiRestPath"
View Source
const PrimaryProperty = "PrimaryProperty"
View Source
const RestApiDisabled = "RestApiDisabled"
restapi
View Source
const SQLType = "SQLType"
sql
View Source
const SQLUseTextType = "SQLUseTextType"
View Source
const SelfContainedProperty = "SelfContainedProperty"
View Source
const ServiceKey = "ServiceKey"
service
View Source
const SourceDef = "SourceDef"
property params
View Source
const SourceIdentity = "SourceIdentity"
View Source
const SourceMatchKey = "SourceMatchKey"
View Source
const SpecialProperty = "SpecialProperty"
View Source
const TypeName = "TypeName"
code generator
View Source
const UseJoinTable = "UseJoinTable"
Variables ¶
View Source
var ClientAllowedAnnotations = map[string]bool{ BypassExtensions: true, }
Functions ¶
func EnableWith ¶ added in v1.1.37
func SetWithContext ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.