MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / Format

Method Format

pkg/sql/sem/tree/alter_backup.go:60–66  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

58
59// Format implements the NodeFormatter interface.
60func (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
69type BackupKMS struct {

Callers

nothing calls this directly

Calls 1

FormatURIsMethod · 0.80

Tested by

no test coverage detected