Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LoadAffinities func() = TestFunc(&NodeAgentConfigTestCase{ nodeAgentConfigs: velerotypes.NodeAgentConfigs{ LoadAffinity: []*kube.LoadAffinity{ { NodeSelector: metav1.LabelSelector{ MatchLabels: map[string]string{ "beta.kubernetes.io/arch": "amd64", }, }, StorageClass: test.StorageClassName, }, { NodeSelector: metav1.LabelSelector{ MatchLabels: map[string]string{ "kubernetes.io/arch": "amd64", }, }, StorageClass: test.StorageClassName2, }, }, BackupPVCConfig: map[string]velerotypes.BackupPVC{ test.StorageClassName: { StorageClass: test.StorageClassName2, }, }, RestorePVCConfig: &velerotypes.RestorePVC{ IgnoreDelayBinding: true, }, PriorityClassName: test.PriorityClassNameForDataMover, }, nodeAgentConfigMapName: "node-agent-config", })
Functions ¶
This section is empty.
Types ¶
type NodeAgentConfigTestCase ¶
type NodeAgentConfigTestCase struct {
TestCase
// contains filtered or unexported fields
}
func (*NodeAgentConfigTestCase) Backup ¶
func (n *NodeAgentConfigTestCase) Backup() error
func (*NodeAgentConfigTestCase) CreateResources ¶
func (n *NodeAgentConfigTestCase) CreateResources() error
func (*NodeAgentConfigTestCase) Init ¶
func (n *NodeAgentConfigTestCase) Init() error
func (*NodeAgentConfigTestCase) InstallVelero ¶
func (n *NodeAgentConfigTestCase) InstallVelero() error
func (*NodeAgentConfigTestCase) Restore ¶
func (n *NodeAgentConfigTestCase) Restore() error
Click to show internal directories.
Click to hide internal directories.