fake

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeFscV1

type FakeFscV1 struct {
	*testing.Fake
}

func (*FakeFscV1) KubeControllersConfigurations

func (c *FakeFscV1) KubeControllersConfigurations(namespace string) v1.KubeControllersConfigurationInterface

func (*FakeFscV1) NodeTopologies added in v0.1.2

func (c *FakeFscV1) NodeTopologies(namespace string) v1.NodeTopologyInterface

func (*FakeFscV1) RESTClient

func (c *FakeFscV1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeFscV1) WorkLoads added in v0.1.11

func (c *FakeFscV1) WorkLoads(namespace string) v1.WorkLoadInterface

type FakeKubeControllersConfigurations

type FakeKubeControllersConfigurations struct {
	Fake *FakeFscV1
	// contains filtered or unexported fields
}

FakeKubeControllersConfigurations implements KubeControllersConfigurationInterface

func (*FakeKubeControllersConfigurations) Create

Create takes the representation of a kubeControllersConfiguration and creates it. Returns the server's representation of the kubeControllersConfiguration, and an error, if there is any.

func (*FakeKubeControllersConfigurations) Delete

Delete takes name of the kubeControllersConfiguration and deletes it. Returns an error if one occurs.

func (*FakeKubeControllersConfigurations) DeleteCollection

func (c *FakeKubeControllersConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKubeControllersConfigurations) Get

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

func (*FakeKubeControllersConfigurations) List

List takes label and field selectors, and returns the list of KubeControllersConfigurations that match those selectors.

func (*FakeKubeControllersConfigurations) Patch

Patch applies the patch and returns the patched kubeControllersConfiguration.

func (*FakeKubeControllersConfigurations) Update

Update takes the representation of a kubeControllersConfiguration and updates it. Returns the server's representation of the kubeControllersConfiguration, and an error, if there is any.

func (*FakeKubeControllersConfigurations) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeKubeControllersConfigurations) Watch

Watch returns a watch.Interface that watches the requested kubeControllersConfigurations.

type FakeNodeTopologies added in v0.1.2

type FakeNodeTopologies struct {
	Fake *FakeFscV1
	// contains filtered or unexported fields
}

FakeNodeTopologies implements NodeTopologyInterface

func (*FakeNodeTopologies) Create added in v0.1.2

Create takes the representation of a nodeTopology and creates it. Returns the server's representation of the nodeTopology, and an error, if there is any.

func (*FakeNodeTopologies) Delete added in v0.1.2

func (c *FakeNodeTopologies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the nodeTopology and deletes it. Returns an error if one occurs.

func (*FakeNodeTopologies) DeleteCollection added in v0.1.2

func (c *FakeNodeTopologies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNodeTopologies) Get added in v0.1.2

func (c *FakeNodeTopologies) Get(ctx context.Context, name string, options v1.GetOptions) (result *fschenderiwbev1.NodeTopology, err error)

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

func (*FakeNodeTopologies) List added in v0.1.2

List takes label and field selectors, and returns the list of NodeTopologies that match those selectors.

func (*FakeNodeTopologies) Patch added in v0.1.2

func (c *FakeNodeTopologies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *fschenderiwbev1.NodeTopology, err error)

Patch applies the patch and returns the patched nodeTopology.

func (*FakeNodeTopologies) Update added in v0.1.2

Update takes the representation of a nodeTopology and updates it. Returns the server's representation of the nodeTopology, and an error, if there is any.

func (*FakeNodeTopologies) Watch added in v0.1.2

Watch returns a watch.Interface that watches the requested nodeTopologies.

type FakeWorkLoads added in v0.1.11

type FakeWorkLoads struct {
	Fake *FakeFscV1
	// contains filtered or unexported fields
}

FakeWorkLoads implements WorkLoadInterface

func (*FakeWorkLoads) Create added in v0.1.11

func (c *FakeWorkLoads) Create(ctx context.Context, workLoad *fschenderiwbev1.WorkLoad, opts v1.CreateOptions) (result *fschenderiwbev1.WorkLoad, err error)

Create takes the representation of a workLoad and creates it. Returns the server's representation of the workLoad, and an error, if there is any.

func (*FakeWorkLoads) Delete added in v0.1.11

func (c *FakeWorkLoads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the workLoad and deletes it. Returns an error if one occurs.

func (*FakeWorkLoads) DeleteCollection added in v0.1.11

func (c *FakeWorkLoads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeWorkLoads) Get added in v0.1.11

func (c *FakeWorkLoads) Get(ctx context.Context, name string, options v1.GetOptions) (result *fschenderiwbev1.WorkLoad, err error)

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

func (*FakeWorkLoads) List added in v0.1.11

func (c *FakeWorkLoads) List(ctx context.Context, opts v1.ListOptions) (result *fschenderiwbev1.WorkLoadList, err error)

List takes label and field selectors, and returns the list of WorkLoads that match those selectors.

func (*FakeWorkLoads) Patch added in v0.1.11

func (c *FakeWorkLoads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *fschenderiwbev1.WorkLoad, err error)

Patch applies the patch and returns the patched workLoad.

func (*FakeWorkLoads) Update added in v0.1.11

func (c *FakeWorkLoads) Update(ctx context.Context, workLoad *fschenderiwbev1.WorkLoad, opts v1.UpdateOptions) (result *fschenderiwbev1.WorkLoad, err error)

Update takes the representation of a workLoad and updates it. Returns the server's representation of the workLoad, and an error, if there is any.

func (*FakeWorkLoads) UpdateStatus added in v0.1.11

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeWorkLoads) Watch added in v0.1.11

Watch returns a watch.Interface that watches the requested workLoads.

Jump to

Keyboard shortcuts

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