MCPcopy
hub / github.com/apecloud/kubeblocks / SetBackupMethod

Method SetBackupMethod

pkg/controller/builder/builder_backup.go:41–44  ·  view source on GitHub ↗
(method string)

Source from the content-addressed store, hash-verified

39}
40
41func (builder *BackupBuilder) SetBackupMethod(method string) *BackupBuilder {
42 builder.get().Spec.BackupMethod = method
43 return builder
44}
45
46func (builder *BackupBuilder) SetParentBackupName(parent string) *BackupBuilder {
47 builder.get().Spec.ParentBackupName = parent

Calls 1

getMethod · 0.45

Tested by

no test coverage detected