typed

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppsV1

type AppsV1 struct {
	mock.Mock
	appsv1.AppsV1Interface
}

AppsV1 represents mock struct for k8s runtime client apps v1 api resources

func (*AppsV1) DaemonSets

func (a *AppsV1) DaemonSets(namespace string) appsv1.DaemonSetInterface

Daemonsets represents mock func for similar runtime client func

func (*AppsV1) Deployments

func (a *AppsV1) Deployments(namespace string) appsv1.DeploymentInterface

Deployments represents mock func for similar runtime client func

type Client

type Client struct {
	mock.Mock
	kubernetes.Interface
}

Client represents mock struct for k8s runtime client

func (*Client) AppsV1

func (client *Client) AppsV1() appsv1.AppsV1Interface

AppsV1 represents mock func for similar runtime client func

func (*Client) CoreV1

func (client *Client) CoreV1() corev1.CoreV1Interface

CoreV1 represents mock func for similar runtime client func

func (*Client) Discovery

func (client *Client) Discovery() discovery.DiscoveryInterface

Discovery represents mock func for similar runtime client func

func (*Client) PolicyV1beta1 added in v0.3.0

func (client *Client) PolicyV1beta1() policyv1beta1.PolicyV1beta1Interface

AppsV1 represents mock func for similar runtime client func

type CoreV1

type CoreV1 struct {
	mock.Mock
	corev1.CoreV1Interface
}

CoreV1 represents mock struct for k8s runtime client core v1 api resources

func (*CoreV1) Nodes

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

Nodes represents mock func for similar runtime client func

func (*CoreV1) Pods

func (c *CoreV1) Pods(namespace string) corev1.PodInterface

Pods represents mock func for similar runtime client func

type DaemonsetV1

type DaemonsetV1 struct {
	mock.Mock
	appsv1.DaemonSetInterface
}

DaemonsetV1 represents mock struct for k8s runtime client v1 deployment resources

func (*DaemonsetV1) Create

func (getter *DaemonsetV1) Create(ctx context.Context, obj *v1.DaemonSet, options metav1.CreateOptions) (*v1.DaemonSet, error)

Create represents mock func for similar runtime client func

func (*DaemonsetV1) Delete

func (getter *DaemonsetV1) Delete(ctx context.Context, name string, options metav1.DeleteOptions) error

Delete represents mock func for similar runtime client func

func (*DaemonsetV1) DeleteCollection

func (getter *DaemonsetV1) DeleteCollection(ctx context.Context, options metav1.DeleteOptions, listOptions metav1.ListOptions) error

DeleteCollection represents mock func for similar runtime client func

func (*DaemonsetV1) Get

func (getter *DaemonsetV1) Get(ctx context.Context, name string, options metav1.GetOptions) (*v1.DaemonSet, error)

Get represents mock func for similar runtime client func

func (*DaemonsetV1) List

func (getter *DaemonsetV1) List(ctx context.Context, opts metav1.ListOptions) (*v1.DaemonSetList, error)

List represents mock func for similar runtime client func

func (*DaemonsetV1) Patch

func (getter *DaemonsetV1) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options metav1.PatchOptions, subresources ...string) (*v1.DaemonSet, error)

Patch represents mock func for similar runtime client func

func (*DaemonsetV1) Update

func (getter *DaemonsetV1) Update(ctx context.Context, obj *v1.DaemonSet, options metav1.UpdateOptions) (*v1.DaemonSet, error)

Update represents mock func for similar runtime client func

func (*DaemonsetV1) UpdateStatus

func (getter *DaemonsetV1) UpdateStatus(ctx context.Context, obj *v1.DaemonSet, options metav1.UpdateOptions) (*v1.DaemonSet, error)

UpdateStatus represents mock func for similar runtime client func

func (*DaemonsetV1) Watch

func (getter *DaemonsetV1) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)

Watch represents mock func for similar runtime client func

type DeploymentV1

type DeploymentV1 struct {
	mock.Mock
	appsv1.DeploymentInterface
}

DeploymentV1 represents mock struct for k8s runtime client v1 deployment resources

func (*DeploymentV1) Create

func (getter *DeploymentV1) Create(ctx context.Context, obj *v1.Deployment, options metav1.CreateOptions) (*v1.Deployment, error)

Create represents mock func for similar runtime client func

func (*DeploymentV1) Delete

func (getter *DeploymentV1) Delete(ctx context.Context, name string, options metav1.DeleteOptions) error

Delete represents mock func for similar runtime client func

func (*DeploymentV1) DeleteCollection

func (getter *DeploymentV1) DeleteCollection(ctx context.Context, options metav1.DeleteOptions, listOptions metav1.ListOptions) error

DeleteCollection represents mock func for similar runtime client func

func (*DeploymentV1) Get

func (getter *DeploymentV1) Get(ctx context.Context, name string, options metav1.GetOptions) (*v1.Deployment, error)

Get represents mock func for similar runtime client func

func (*DeploymentV1) List

func (getter *DeploymentV1) List(ctx context.Context, opts metav1.ListOptions) (*v1.DeploymentList, error)

List represents mock func for similar runtime client func

func (*DeploymentV1) Patch

func (getter *DeploymentV1) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options metav1.PatchOptions, subresources ...string) (*v1.Deployment, error)

Patch represents mock func for similar runtime client func

func (*DeploymentV1) Update

func (getter *DeploymentV1) Update(ctx context.Context, obj *v1.Deployment, options metav1.UpdateOptions) (*v1.Deployment, error)

Update represents mock func for similar runtime client func

func (*DeploymentV1) UpdateStatus

func (getter *DeploymentV1) UpdateStatus(ctx context.Context, obj *v1.Deployment, options metav1.UpdateOptions) (*v1.Deployment, error)

UpdateStatus represents mock func for similar runtime client func

func (*DeploymentV1) Watch

func (getter *DeploymentV1) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)

Watch represents mock func for similar runtime client func

type Discovery

type Discovery struct {
	mock.Mock
	discovery.DiscoveryInterface
}

CoreV1 represents mock struct for k8s runtime client core v1 api resources

func (*Discovery) ServerGroups

func (discovery *Discovery) ServerGroups() (*metav1.APIGroupList, error)

ServerGroups represents mock func for similar runtime client func

type NodeV1

type NodeV1 struct {
	mock.Mock
	corev1.NodeInterface
}

NodeV1 represents mock struct for k8s runtime client v1 node resources

func (*NodeV1) Create

func (getter *NodeV1) Create(ctx context.Context, obj *v1.Node, options metav1.CreateOptions) (*v1.Node, error)

Create represents mock func for similar runtime client func

func (*NodeV1) Delete

func (getter *NodeV1) Delete(ctx context.Context, name string, options metav1.DeleteOptions) error

Delete represents mock func for similar runtime client func

func (*NodeV1) DeleteCollection

func (getter *NodeV1) DeleteCollection(ctx context.Context, options metav1.DeleteOptions, listOptions metav1.ListOptions) error

DeleteCollection represents mock func for similar runtime client func

func (*NodeV1) Get

func (getter *NodeV1) Get(ctx context.Context, name string, options metav1.GetOptions) (*v1.Node, error)

Get represents mock func for similar runtime client func

func (*NodeV1) List

func (getter *NodeV1) List(ctx context.Context, opts metav1.ListOptions) (*v1.NodeList, error)

List represents mock func for similar runtime client func

func (*NodeV1) Patch

func (getter *NodeV1) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options metav1.PatchOptions, subresources ...string) (*v1.Node, error)

Patch represents mock func for similar runtime client func

func (*NodeV1) Update

func (getter *NodeV1) Update(ctx context.Context, obj *v1.Node, options metav1.UpdateOptions) (*v1.Node, error)

Update represents mock func for similar runtime client func

func (*NodeV1) UpdateStatus

func (getter *NodeV1) UpdateStatus(ctx context.Context, obj *v1.Node, options metav1.UpdateOptions) (*v1.Node, error)

UpdateStatus represents mock func for similar runtime client func

func (*NodeV1) Watch

func (getter *NodeV1) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)

Watch represents mock func for similar runtime client func

type PodV1

type PodV1 struct {
	mock.Mock
	corev1.PodInterface
}

PodV1 represents mock struct for k8s runtime client v1 pod resources

func (*PodV1) Apply

func (getter *PodV1) Apply(ctx context.Context, pod *applyv1.PodApplyConfiguration, opts metav1.ApplyOptions) (*v1.Pod, error)

Apply represents mock func for similar runtime client func

func (*PodV1) ApplyStatus

func (getter *PodV1) ApplyStatus(ctx context.Context, pod *applyv1.PodApplyConfiguration, opts metav1.ApplyOptions) (*v1.Pod, error)

ApplyStatus represents mock func for similar runtime client func

func (*PodV1) Create

func (getter *PodV1) Create(ctx context.Context, obj *v1.Pod, options metav1.CreateOptions) (*v1.Pod, error)

Create represents mock func for similar runtime client func

func (*PodV1) Delete

func (getter *PodV1) Delete(ctx context.Context, name string, options metav1.DeleteOptions) error

Delete represents mock func for similar runtime client func

func (*PodV1) DeleteCollection

func (getter *PodV1) DeleteCollection(ctx context.Context, options metav1.DeleteOptions, listOptions metav1.ListOptions) error

DeleteCollection represents mock func for similar runtime client func

func (*PodV1) Get

func (getter *PodV1) Get(ctx context.Context, name string, options metav1.GetOptions) (*v1.Pod, error)

Get represents mock func for similar runtime client func

func (*PodV1) GetEphemeralContainers

func (getter *PodV1) GetEphemeralContainers(ctx context.Context, podName string, options metav1.GetOptions) (*v1.EphemeralContainers, error)

GetEphemeralContainers represents mock func for similar runtime client func

func (*PodV1) List

func (getter *PodV1) List(ctx context.Context, opts metav1.ListOptions) (*v1.PodList, error)

List represents mock func for similar runtime client func

func (*PodV1) Patch

func (getter *PodV1) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options metav1.PatchOptions, subresources ...string) (*v1.Pod, error)

Patch represents mock func for similar runtime client func

func (*PodV1) Update

func (getter *PodV1) Update(ctx context.Context, obj *v1.Pod, options metav1.UpdateOptions) (*v1.Pod, error)

Update represents mock func for similar runtime client func

func (*PodV1) UpdateEphemeralContainers

func (getter *PodV1) UpdateEphemeralContainers(ctx context.Context, podName string, ephemeralContainers *v1.EphemeralContainers, opts metav1.UpdateOptions) (*v1.EphemeralContainers, error)

UpdateEphemeralContainers represents mock func for similar runtime client func

func (*PodV1) UpdateStatus

func (getter *PodV1) UpdateStatus(ctx context.Context, obj *v1.Pod, options metav1.UpdateOptions) (*v1.Pod, error)

UpdateStatus represents mock func for similar runtime client func

func (*PodV1) Watch

func (getter *PodV1) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)

Watch represents mock func for similar runtime client func

type PolicyV1Beta1 added in v0.3.0

type PolicyV1Beta1 struct {
	mock.Mock
	policyv1beta1.PolicyV1beta1Interface
}

PolicyV1Beta1 represents mock struct for k8s runtime client policy v1beta1 api resources

func (*PolicyV1Beta1) Evictions added in v0.3.0

func (pe *PolicyV1Beta1) Evictions() v1beta1.EvictionInterface

Nodes represents mock func for similar runtime client func

Jump to

Keyboard shortcuts

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