package daemonset
import "k8s.io/kubernetes/test/e2e/framework/daemonset"
Index ¶
- func CheckDaemonPodOnNodes(f *framework.Framework, ds *appsv1.DaemonSet, nodeNames []string) func() (bool, error)
- func CheckDaemonStatus(f *framework.Framework, dsName string) error
- func CheckPresentOnNodes(c clientset.Interface, ds *appsv1.DaemonSet, ns string, numNodes int) (bool, error)
- func CheckRunningOnAllNodes(f *framework.Framework, ds *appsv1.DaemonSet) (bool, error)
- func NewDaemonSet(dsName, image string, labels map[string]string, volumes []v1.Volume, mounts []v1.VolumeMount, ports []v1.ContainerPort, args ...string) *appsv1.DaemonSet
- func SchedulableNodes(c clientset.Interface, ds *appsv1.DaemonSet) []string
Functions ¶
func CheckDaemonPodOnNodes ¶
func CheckDaemonPodOnNodes(f *framework.Framework, ds *appsv1.DaemonSet, nodeNames []string) func() (bool, error)
func CheckDaemonStatus ¶
func CheckPresentOnNodes ¶
func CheckPresentOnNodes(c clientset.Interface, ds *appsv1.DaemonSet, ns string, numNodes int) (bool, error)
CheckPresentOnNodes will check that the daemonset will be present on at least the given number of schedulable nodes.
func CheckRunningOnAllNodes ¶
func NewDaemonSet ¶
func NewDaemonSet(dsName, image string, labels map[string]string, volumes []v1.Volume, mounts []v1.VolumeMount, ports []v1.ContainerPort, args ...string) *appsv1.DaemonSet
func SchedulableNodes ¶
Source Files ¶
fixtures.go
- Version
- v1.24.5
- Published
- Sep 14, 2022
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 6 minutes ago –
Tools for package owners.