test

package
v0.0.0-...-830b495 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2020 License: BSD-3-Clause, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestBackup

type TestBackup struct {
	*v1alpha1.Backup
}

func NewTestBackup

func NewTestBackup() *TestBackup

func (*TestBackup) WithLabel

func (b *TestBackup) WithLabel(key, value string) *TestBackup

func (*TestBackup) WithName

func (b *TestBackup) WithName(name string) *TestBackup

func (*TestBackup) WithNamespace

func (b *TestBackup) WithNamespace(namespace string) *TestBackup

type TestBackupSchedule

type TestBackupSchedule struct {
	*v1alpha1.BackupSchedule
}

func NewTestBackupSchedule

func NewTestBackupSchedule(namespace, name string) *TestBackupSchedule

func (*TestBackupSchedule) WithCronSchedule

func (s *TestBackupSchedule) WithCronSchedule(cronExpression string) *TestBackupSchedule

func (*TestBackupSchedule) WithLabel

func (s *TestBackupSchedule) WithLabel(key, value string) *TestBackupSchedule

func (*TestBackupSchedule) WithLastBackupTime

func (s *TestBackupSchedule) WithLastBackupTime(timeString string) *TestBackupSchedule

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL