podadapter

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 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 Adapter

type Adapter interface {
	GetPod(namespace, name string) (*v1.Pod, error)
	UpdatePod(pod *v1.Pod) (*v1.Pod, error)
	UpdatePodStatus(pod *v1.Pod) error
}

type AdapterInformer

type AdapterInformer struct {
	PodInformer coreinformers.PodInformer
}

func (*AdapterInformer) GetPod

func (c *AdapterInformer) GetPod(namespace, name string) (*v1.Pod, error)

func (*AdapterInformer) UpdatePod

func (c *AdapterInformer) UpdatePod(pod *v1.Pod) (*v1.Pod, error)

func (*AdapterInformer) UpdatePodStatus

func (c *AdapterInformer) UpdatePodStatus(pod *v1.Pod) error

type AdapterRuntimeClient

type AdapterRuntimeClient struct {
	client.Client
}

func (*AdapterRuntimeClient) GetPod

func (c *AdapterRuntimeClient) GetPod(namespace, name string) (*v1.Pod, error)

func (*AdapterRuntimeClient) PatchPod

func (c *AdapterRuntimeClient) PatchPod(pod *v1.Pod, patch client.Patch) (*v1.Pod, error)

func (*AdapterRuntimeClient) UpdatePod

func (c *AdapterRuntimeClient) UpdatePod(pod *v1.Pod) (*v1.Pod, error)

func (*AdapterRuntimeClient) UpdatePodStatus

func (c *AdapterRuntimeClient) UpdatePodStatus(pod *v1.Pod) error

type AdapterTypedClient

type AdapterTypedClient struct {
	Client clientset.Interface
}

func (*AdapterTypedClient) GetPod

func (c *AdapterTypedClient) GetPod(namespace, name string) (*v1.Pod, error)

func (*AdapterTypedClient) PatchPod

func (c *AdapterTypedClient) PatchPod(pod *v1.Pod, patch client.Patch) (*v1.Pod, error)

func (*AdapterTypedClient) UpdatePod

func (c *AdapterTypedClient) UpdatePod(pod *v1.Pod) (*v1.Pod, error)

func (*AdapterTypedClient) UpdatePodStatus

func (c *AdapterTypedClient) UpdatePodStatus(pod *v1.Pod) error

type AdapterWithPatch

type AdapterWithPatch interface {
	Adapter
	PatchPod(pod *v1.Pod, patch client.Patch) (*v1.Pod, error)
}

Jump to

Keyboard shortcuts

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