fake

package
v0.0.0-...-0e4f5d7 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 9 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 FakeAddressPlans

type FakeAddressPlans struct {
	Fake *FakeAdminV1beta2
	// contains filtered or unexported fields
}

FakeAddressPlans implements AddressPlanInterface

func (*FakeAddressPlans) Create

func (c *FakeAddressPlans) Create(addressPlan *v1beta2.AddressPlan) (result *v1beta2.AddressPlan, err error)

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

func (*FakeAddressPlans) Delete

func (c *FakeAddressPlans) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeAddressPlans) DeleteCollection

func (c *FakeAddressPlans) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAddressPlans) Get

func (c *FakeAddressPlans) Get(name string, options v1.GetOptions) (result *v1beta2.AddressPlan, err error)

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

func (*FakeAddressPlans) List

func (c *FakeAddressPlans) List(opts v1.ListOptions) (result *v1beta2.AddressPlanList, err error)

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

func (*FakeAddressPlans) Patch

func (c *FakeAddressPlans) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta2.AddressPlan, err error)

Patch applies the patch and returns the patched addressPlan.

func (*FakeAddressPlans) Update

func (c *FakeAddressPlans) Update(addressPlan *v1beta2.AddressPlan) (result *v1beta2.AddressPlan, err error)

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

func (*FakeAddressPlans) Watch

func (c *FakeAddressPlans) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeAddressSpacePlans

type FakeAddressSpacePlans struct {
	Fake *FakeAdminV1beta2
	// contains filtered or unexported fields
}

FakeAddressSpacePlans implements AddressSpacePlanInterface

func (*FakeAddressSpacePlans) Create

func (c *FakeAddressSpacePlans) Create(addressSpacePlan *v1beta2.AddressSpacePlan) (result *v1beta2.AddressSpacePlan, err error)

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

func (*FakeAddressSpacePlans) Delete

func (c *FakeAddressSpacePlans) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeAddressSpacePlans) DeleteCollection

func (c *FakeAddressSpacePlans) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAddressSpacePlans) Get

func (c *FakeAddressSpacePlans) Get(name string, options v1.GetOptions) (result *v1beta2.AddressSpacePlan, err error)

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

func (*FakeAddressSpacePlans) List

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

func (*FakeAddressSpacePlans) Patch

func (c *FakeAddressSpacePlans) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta2.AddressSpacePlan, err error)

Patch applies the patch and returns the patched addressSpacePlan.

func (*FakeAddressSpacePlans) Update

func (c *FakeAddressSpacePlans) Update(addressSpacePlan *v1beta2.AddressSpacePlan) (result *v1beta2.AddressSpacePlan, err error)

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

func (*FakeAddressSpacePlans) Watch

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

type FakeAdminV1beta2

type FakeAdminV1beta2 struct {
	*testing.Fake
}

func (*FakeAdminV1beta2) AddressPlans

func (c *FakeAdminV1beta2) AddressPlans(namespace string) v1beta2.AddressPlanInterface

func (*FakeAdminV1beta2) AddressSpacePlans

func (c *FakeAdminV1beta2) AddressSpacePlans(namespace string) v1beta2.AddressSpacePlanInterface

func (*FakeAdminV1beta2) RESTClient

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

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

Jump to

Keyboard shortcuts

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