Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAddressPlans
- func (c *FakeAddressPlans) Create(addressPlan *v1beta2.AddressPlan) (result *v1beta2.AddressPlan, err error)
- func (c *FakeAddressPlans) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAddressPlans) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAddressPlans) Get(name string, options v1.GetOptions) (result *v1beta2.AddressPlan, err error)
- func (c *FakeAddressPlans) List(opts v1.ListOptions) (result *v1beta2.AddressPlanList, err error)
- func (c *FakeAddressPlans) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta2.AddressPlan, err error)
- func (c *FakeAddressPlans) Update(addressPlan *v1beta2.AddressPlan) (result *v1beta2.AddressPlan, err error)
- func (c *FakeAddressPlans) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAddressSpacePlans
- func (c *FakeAddressSpacePlans) Create(addressSpacePlan *v1beta2.AddressSpacePlan) (result *v1beta2.AddressSpacePlan, err error)
- func (c *FakeAddressSpacePlans) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAddressSpacePlans) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAddressSpacePlans) Get(name string, options v1.GetOptions) (result *v1beta2.AddressSpacePlan, err error)
- func (c *FakeAddressSpacePlans) List(opts v1.ListOptions) (result *v1beta2.AddressSpacePlanList, err error)
- func (c *FakeAddressSpacePlans) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta2.AddressSpacePlan, err error)
- func (c *FakeAddressSpacePlans) Update(addressSpacePlan *v1beta2.AddressSpacePlan) (result *v1beta2.AddressSpacePlan, err error)
- func (c *FakeAddressSpacePlans) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAdminV1beta2
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 ¶
func (c *FakeAddressSpacePlans) List(opts v1.ListOptions) (result *v1beta2.AddressSpacePlanList, err error)
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 ¶
func (c *FakeAddressSpacePlans) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested addressSpacePlans.
type FakeAdminV1beta2 ¶
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.