Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 58 | |
| 59 | // Format implements the NodeFormatter interface. |
| 60 | func (node *AlterBackupKMS) Format(ctx *FmtCtx) { |
| 61 | ctx.WriteString(" ADD NEW_KMS=") |
| 62 | ctx.FormatURIs(node.KMSInfo.NewKMSURI) |
| 63 | |
| 64 | ctx.WriteString(" WITH OLD_KMS=") |
| 65 | ctx.FormatURIs(node.KMSInfo.OldKMSURI) |
| 66 | } |
| 67 | |
| 68 | // BackupKMS represents possible options used when altering a backup KMS |
| 69 | type BackupKMS struct { |
nothing calls this directly
no test coverage detected