Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFormationV1
- type FakeLocationDescriptors
- func (c *FakeLocationDescriptors) Create(locationDescriptor *formationv1.LocationDescriptor) (result *formationv1.LocationDescriptor, err error)
- func (c *FakeLocationDescriptors) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeLocationDescriptors) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeLocationDescriptors) Get(name string, options v1.GetOptions) (result *formationv1.LocationDescriptor, err error)
- func (c *FakeLocationDescriptors) List(opts v1.ListOptions) (result *formationv1.LocationDescriptorList, err error)
- func (c *FakeLocationDescriptors) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *formationv1.LocationDescriptor, err error)
- func (c *FakeLocationDescriptors) Update(locationDescriptor *formationv1.LocationDescriptor) (result *formationv1.LocationDescriptor, err error)
- func (c *FakeLocationDescriptors) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFormationV1 ¶
func (*FakeFormationV1) LocationDescriptors ¶
func (c *FakeFormationV1) LocationDescriptors(namespace string) v1.LocationDescriptorInterface
func (*FakeFormationV1) RESTClient ¶
func (c *FakeFormationV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeLocationDescriptors ¶
type FakeLocationDescriptors struct { Fake *FakeFormationV1 // contains filtered or unexported fields }
FakeLocationDescriptors implements LocationDescriptorInterface
func (*FakeLocationDescriptors) Create ¶
func (c *FakeLocationDescriptors) Create(locationDescriptor *formationv1.LocationDescriptor) (result *formationv1.LocationDescriptor, err error)
Create takes the representation of a locationDescriptor and creates it. Returns the server's representation of the locationDescriptor, and an error, if there is any.
func (*FakeLocationDescriptors) Delete ¶
func (c *FakeLocationDescriptors) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the locationDescriptor and deletes it. Returns an error if one occurs.
func (*FakeLocationDescriptors) DeleteCollection ¶
func (c *FakeLocationDescriptors) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLocationDescriptors) Get ¶
func (c *FakeLocationDescriptors) Get(name string, options v1.GetOptions) (result *formationv1.LocationDescriptor, err error)
Get takes name of the locationDescriptor, and returns the corresponding locationDescriptor object, and an error if there is any.
func (*FakeLocationDescriptors) List ¶
func (c *FakeLocationDescriptors) List(opts v1.ListOptions) (result *formationv1.LocationDescriptorList, err error)
List takes label and field selectors, and returns the list of LocationDescriptors that match those selectors.
func (*FakeLocationDescriptors) Patch ¶
func (c *FakeLocationDescriptors) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *formationv1.LocationDescriptor, err error)
Patch applies the patch and returns the patched locationDescriptor.
func (*FakeLocationDescriptors) Update ¶
func (c *FakeLocationDescriptors) Update(locationDescriptor *formationv1.LocationDescriptor) (result *formationv1.LocationDescriptor, err error)
Update takes the representation of a locationDescriptor and updates it. Returns the server's representation of the locationDescriptor, and an error, if there is any.
func (*FakeLocationDescriptors) Watch ¶
func (c *FakeLocationDescriptors) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested locationDescriptors.