v1

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 6 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 {
	fakecorev1.FakeConfigMaps

	MetaClient client.CoreInterface
	// contains filtered or unexported fields
}

FakePersistentVolumeClaims implements PersistentVolumeClaimInterface

func (*FakeConfigMap) Get

func (c *FakeConfigMap) Get(ctx context.Context, name string, options metav1.GetOptions) (result *corev1.ConfigMap, err error)

Get takes name of the persistentVolumeClaim, and returns the corresponding persistentVolumeClaim object

type FakeCoreV1

type FakeCoreV1 struct {
	fakecorev1.FakeCoreV1
	MetaClient client.CoreInterface
}

func (*FakeCoreV1) ConfigMaps

func (c *FakeCoreV1) ConfigMaps(namespace string) corev1.ConfigMapInterface

func (*FakeCoreV1) Nodes

func (c *FakeCoreV1) Nodes() corev1.NodeInterface

func (*FakeCoreV1) PersistentVolumeClaims

func (c *FakeCoreV1) PersistentVolumeClaims(namespace string) corev1.PersistentVolumeClaimInterface

func (*FakeCoreV1) PersistentVolumes

func (c *FakeCoreV1) PersistentVolumes() corev1.PersistentVolumeInterface

type FakeNodes

type FakeNodes struct {
	fakecorev1.FakeNodes
	MetaClient client.CoreInterface
}

FakeNodes implements NodeInterface

func (*FakeNodes) Get

func (c *FakeNodes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *corev1.Node, err error)

Get takes name of the node, and returns the corresponding node object

func (*FakeNodes) Update

func (c *FakeNodes) Update(ctx context.Context, node *corev1.Node, opts metav1.UpdateOptions) (result *corev1.Node, err error)

Update takes the representation of a node and updates it

type FakePersistentVolumeClaims

type FakePersistentVolumeClaims struct {
	fakecorev1.FakePersistentVolumeClaims

	MetaClient client.CoreInterface
	// contains filtered or unexported fields
}

FakePersistentVolumeClaims implements PersistentVolumeClaimInterface

func (*FakePersistentVolumeClaims) Get

Get takes name of the persistentVolumeClaim, and returns the corresponding persistentVolumeClaim object

type FakePersistentVolumes

type FakePersistentVolumes struct {
	fakecorev1.FakePersistentVolumes
	MetaClient client.CoreInterface
}

FakePersistentVolumes implements PersistentVolumeInterface

func (*FakePersistentVolumes) Get

func (c *FakePersistentVolumes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *corev1.PersistentVolume, err error)

Get takes name of the persistentVolume, and returns the corresponding persistentVolume object, and an error if there is any.

Jump to

Keyboard shortcuts

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