nodeagentconfig

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

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

Jump to

Keyboard shortcuts

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