Home

udpa.annotations.FieldMigrateAnnotation

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.udpa.annotations.FieldMigrateAnnotation
.withOneofPromotion('string')
.withRename('string')
._validate()

Fields

Name Type One-of group Required Constraints
oneof_promotion string  
rename string