Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(opts ...Option) *hivev1.Checkpoint
Build runs each of the functions passed in to generate the object.
Types ¶
type Option ¶
type Option func(*hivev1.Checkpoint)
Option defines a function signature for any function that wants to be passed into Build
func Generic ¶
Generic allows common functions applicable to all objects to be used as Options to Build
func WithLastBackupChecksum ¶
WithLastBackupChecksum sets the checksum for all Hive objects backed up in the last backup object.
func WithLastBackupRef ¶
func WithLastBackupRef(lastBackupRef hivev1.BackupReference) Option
WithLastBackupRef sets the name of the last backup object created.
func WithLastBackupTime ¶
WithLastBackupTime sets the last time a backup object was created.
Click to show internal directories.
Click to hide internal directories.