package resources
import "k8s.io/kubernetes/cmd/kubeadm/test/resources"
Index ¶
Types ¶
type FakeConfigMap ¶
FakeConfigMap represents a fake config map
func (*FakeConfigMap) Create ¶
func (c *FakeConfigMap) Create(client clientset.Interface) error
Create creates a fake configmap using the provided client
type FakeStaticPod ¶
FakeStaticPod represents a fake static pod
func (*FakeStaticPod) Create ¶
func (p *FakeStaticPod) Create(client clientset.Interface) error
Create creates a fake static pod using the provided client
func (*FakeStaticPod) CreateWithPodSuffix ¶
func (p *FakeStaticPod) CreateWithPodSuffix(client clientset.Interface, suffix string) error
CreateWithPodSuffix creates a fake static pod using the provided client and suffix
func (*FakeStaticPod) Pod ¶
func (p *FakeStaticPod) Pod(suffix string) *v1.Pod
Pod returns a pod structure representing the fake static pod with a given suffix
Source Files ¶
configmap.go pods.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 3 hours ago –
Tools for package owners.