resources

package
v1.24.11 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeConfigMap

type FakeConfigMap struct {
	Name string
	Data map[string]string
}

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

type FakeStaticPod struct {
	NodeName    string
	Component   string
	Annotations map[string]string
}

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

Jump to

Keyboard shortcuts

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