Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakePodGroups
- func (c *FakePodGroups) Create(podGroup *v1alpha1.PodGroup) (result *v1alpha1.PodGroup, err error)
- func (c *FakePodGroups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePodGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePodGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.PodGroup, err error)
- func (c *FakePodGroups) List(opts v1.ListOptions) (result *v1alpha1.PodGroupList, err error)
- func (c *FakePodGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PodGroup, err error)
- func (c *FakePodGroups) Update(podGroup *v1alpha1.PodGroup) (result *v1alpha1.PodGroup, err error)
- func (c *FakePodGroups) UpdateStatus(podGroup *v1alpha1.PodGroup) (*v1alpha1.PodGroup, error)
- func (c *FakePodGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeQueues
- func (c *FakeQueues) Create(queue *v1alpha1.Queue) (result *v1alpha1.Queue, err error)
- func (c *FakeQueues) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeQueues) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeQueues) Get(name string, options v1.GetOptions) (result *v1alpha1.Queue, err error)
- func (c *FakeQueues) List(opts v1.ListOptions) (result *v1alpha1.QueueList, err error)
- func (c *FakeQueues) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Queue, err error)
- func (c *FakeQueues) Update(queue *v1alpha1.Queue) (result *v1alpha1.Queue, err error)
- func (c *FakeQueues) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSchedulingV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePodGroups ¶
type FakePodGroups struct { Fake *FakeSchedulingV1alpha1 // contains filtered or unexported fields }
FakePodGroups implements PodGroupInterface
func (*FakePodGroups) Create ¶
Create takes the representation of a podGroup and creates it. Returns the server's representation of the podGroup, and an error, if there is any.
func (*FakePodGroups) Delete ¶
func (c *FakePodGroups) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the podGroup and deletes it. Returns an error if one occurs.
func (*FakePodGroups) DeleteCollection ¶
func (c *FakePodGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodGroups) Get ¶
func (c *FakePodGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.PodGroup, err error)
Get takes name of the podGroup, and returns the corresponding podGroup object, and an error if there is any.
func (*FakePodGroups) List ¶
func (c *FakePodGroups) List(opts v1.ListOptions) (result *v1alpha1.PodGroupList, err error)
List takes label and field selectors, and returns the list of PodGroups that match those selectors.
func (*FakePodGroups) Patch ¶
func (c *FakePodGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PodGroup, err error)
Patch applies the patch and returns the patched podGroup.
func (*FakePodGroups) Update ¶
Update takes the representation of a podGroup and updates it. Returns the server's representation of the podGroup, and an error, if there is any.
func (*FakePodGroups) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePodGroups) Watch ¶
func (c *FakePodGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podGroups.
type FakeQueues ¶
type FakeQueues struct {
Fake *FakeSchedulingV1alpha1
}
FakeQueues implements QueueInterface
func (*FakeQueues) Create ¶
Create takes the representation of a queue and creates it. Returns the server's representation of the queue, and an error, if there is any.
func (*FakeQueues) Delete ¶
func (c *FakeQueues) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the queue and deletes it. Returns an error if one occurs.
func (*FakeQueues) DeleteCollection ¶
func (c *FakeQueues) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeQueues) Get ¶
func (c *FakeQueues) Get(name string, options v1.GetOptions) (result *v1alpha1.Queue, err error)
Get takes name of the queue, and returns the corresponding queue object, and an error if there is any.
func (*FakeQueues) List ¶
func (c *FakeQueues) List(opts v1.ListOptions) (result *v1alpha1.QueueList, err error)
List takes label and field selectors, and returns the list of Queues that match those selectors.
func (*FakeQueues) Patch ¶
func (c *FakeQueues) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Queue, err error)
Patch applies the patch and returns the patched queue.
func (*FakeQueues) Update ¶
Update takes the representation of a queue and updates it. Returns the server's representation of the queue, and an error, if there is any.
func (*FakeQueues) Watch ¶
func (c *FakeQueues) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested queues.
type FakeSchedulingV1alpha1 ¶
func (*FakeSchedulingV1alpha1) PodGroups ¶
func (c *FakeSchedulingV1alpha1) PodGroups(namespace string) v1alpha1.PodGroupInterface
func (*FakeSchedulingV1alpha1) Queues ¶
func (c *FakeSchedulingV1alpha1) Queues() v1alpha1.QueueInterface
func (*FakeSchedulingV1alpha1) RESTClient ¶
func (c *FakeSchedulingV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.