Documentation ¶
Index ¶
- Constants
- func DumpEventsForPod(events []corev1.Event, podNamespace, podName string) string
- func EmptyMatchLabels() map[string]string
- func GetEventsForPod(k8sCli *kubernetes.Clientset, podNamespace, podName string) ([]corev1.Event, error)
- func IsOwnedBy(obj metav1.ObjectMeta, owner metav1.ObjectMeta) bool
- func LogEventsForPod(k8sCli *kubernetes.Clientset, podNamespace, podName string) error
- func NROName() string
- func NROObjectKey() client.ObjectKey
- func NewTestDaemonset(podLabels map[string]string, nodeSelector map[string]string, ...) *appsv1.DaemonSet
- func NewTestDaemonsetWithPodSpec(podLabels map[string]string, nodeSelector map[string]string, ...) *appsv1.DaemonSet
- func NewTestDeployment(replicas int32, podLabels map[string]string, nodeSelector map[string]string, ...) *appsv1.Deployment
- func NewTestDeploymentWithPodSpec(replicas int32, podLabels map[string]string, nodeSelector map[string]string, ...) *appsv1.Deployment
- func NewTestPodPause(namespace, name string) *corev1.Pod
- func OpenshiftMatchLabels() map[string]string
- func TestKC(matchLabels map[string]string) (*machineconfigv1.KubeletConfig, error)
- func TestMCP() *machineconfigv1.MachineConfigPool
- func TestNRO(matchLabels map[string]string) *nropv1alpha1.NUMAResourcesOperator
- func TestNROScheduler() *nropv1alpha1.NUMAResourcesScheduler
Constants ¶
View Source
const ( PauseImage = "gcr.io/google_containers/pause-amd64:3.0" PauseCommand = "/pause" )
Variables ¶
This section is empty.
Functions ¶
func DumpEventsForPod ¶
func EmptyMatchLabels ¶
func GetEventsForPod ¶
func IsOwnedBy ¶
func IsOwnedBy(obj metav1.ObjectMeta, owner metav1.ObjectMeta) bool
func LogEventsForPod ¶
func LogEventsForPod(k8sCli *kubernetes.Clientset, podNamespace, podName string) error
func NROObjectKey ¶
func NewTestDaemonset ¶
func NewTestDeployment ¶
func NewTestPodPause ¶
func OpenshiftMatchLabels ¶
func TestKC ¶
func TestKC(matchLabels map[string]string) (*machineconfigv1.KubeletConfig, error)
func TestMCP ¶
func TestMCP() *machineconfigv1.MachineConfigPool
func TestNRO ¶
func TestNRO(matchLabels map[string]string) *nropv1alpha1.NUMAResourcesOperator
func TestNROScheduler ¶
func TestNROScheduler() *nropv1alpha1.NUMAResourcesScheduler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.