FakeConfigMap represents a fake config map
type FakeConfigMap struct { Name string Data map[string]string }
func (c *FakeConfigMap) Create(client clientset.Interface) error
Create creates a fake configmap using the provided client
FakeStaticPod represents a fake static pod
type FakeStaticPod struct { NodeName string Component string Annotations map[string]string }
func (p *FakeStaticPod) Create(client clientset.Interface) error
Create creates a fake static pod using the provided client
func (p *FakeStaticPod) CreateWithPodSuffix(client clientset.Interface, suffix string) error
CreateWithPodSuffix creates a fake static pod using the provided client and suffix
func (p *FakeStaticPod) Pod(suffix string) *v1.Pod
Pod returns a pod structure representing the fake static pod with a given suffix