Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAssignmentsV1alpha1
- func (c *FakeAssignmentsV1alpha1) ClusterPodAssignmentRules() v1alpha1.ClusterPodAssignmentRuleInterface
- func (c *FakeAssignmentsV1alpha1) NodeAssignmentGroups() v1alpha1.NodeAssignmentGroupInterface
- func (c *FakeAssignmentsV1alpha1) PodAssignmentRules(namespace string) v1alpha1.PodAssignmentRuleInterface
- func (c *FakeAssignmentsV1alpha1) RESTClient() rest.Interface
- type FakeClusterPodAssignmentRules
- func (c *FakeClusterPodAssignmentRules) Create(clusterPodAssignmentRule *v1alpha1.ClusterPodAssignmentRule) (result *v1alpha1.ClusterPodAssignmentRule, err error)
- func (c *FakeClusterPodAssignmentRules) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterPodAssignmentRules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterPodAssignmentRules) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterPodAssignmentRule, err error)
- func (c *FakeClusterPodAssignmentRules) List(opts v1.ListOptions) (result *v1alpha1.ClusterPodAssignmentRuleList, err error)
- func (c *FakeClusterPodAssignmentRules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterPodAssignmentRule, err error)
- func (c *FakeClusterPodAssignmentRules) Update(clusterPodAssignmentRule *v1alpha1.ClusterPodAssignmentRule) (result *v1alpha1.ClusterPodAssignmentRule, err error)
- func (c *FakeClusterPodAssignmentRules) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeAssignmentGroups
- func (c *FakeNodeAssignmentGroups) Create(nodeAssignmentGroup *v1alpha1.NodeAssignmentGroup) (result *v1alpha1.NodeAssignmentGroup, err error)
- func (c *FakeNodeAssignmentGroups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNodeAssignmentGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNodeAssignmentGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.NodeAssignmentGroup, err error)
- func (c *FakeNodeAssignmentGroups) List(opts v1.ListOptions) (result *v1alpha1.NodeAssignmentGroupList, err error)
- func (c *FakeNodeAssignmentGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodeAssignmentGroup, err error)
- func (c *FakeNodeAssignmentGroups) Update(nodeAssignmentGroup *v1alpha1.NodeAssignmentGroup) (result *v1alpha1.NodeAssignmentGroup, err error)
- func (c *FakeNodeAssignmentGroups) UpdateStatus(nodeAssignmentGroup *v1alpha1.NodeAssignmentGroup) (*v1alpha1.NodeAssignmentGroup, error)
- func (c *FakeNodeAssignmentGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePodAssignmentRules
- func (c *FakePodAssignmentRules) Create(podAssignmentRule *v1alpha1.PodAssignmentRule) (result *v1alpha1.PodAssignmentRule, err error)
- func (c *FakePodAssignmentRules) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePodAssignmentRules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePodAssignmentRules) Get(name string, options v1.GetOptions) (result *v1alpha1.PodAssignmentRule, err error)
- func (c *FakePodAssignmentRules) List(opts v1.ListOptions) (result *v1alpha1.PodAssignmentRuleList, err error)
- func (c *FakePodAssignmentRules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PodAssignmentRule, err error)
- func (c *FakePodAssignmentRules) Update(podAssignmentRule *v1alpha1.PodAssignmentRule) (result *v1alpha1.PodAssignmentRule, err error)
- func (c *FakePodAssignmentRules) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAssignmentsV1alpha1 ¶
func (*FakeAssignmentsV1alpha1) ClusterPodAssignmentRules ¶
func (c *FakeAssignmentsV1alpha1) ClusterPodAssignmentRules() v1alpha1.ClusterPodAssignmentRuleInterface
func (*FakeAssignmentsV1alpha1) NodeAssignmentGroups ¶
func (c *FakeAssignmentsV1alpha1) NodeAssignmentGroups() v1alpha1.NodeAssignmentGroupInterface
func (*FakeAssignmentsV1alpha1) PodAssignmentRules ¶
func (c *FakeAssignmentsV1alpha1) PodAssignmentRules(namespace string) v1alpha1.PodAssignmentRuleInterface
func (*FakeAssignmentsV1alpha1) RESTClient ¶
func (c *FakeAssignmentsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeClusterPodAssignmentRules ¶
type FakeClusterPodAssignmentRules struct {
Fake *FakeAssignmentsV1alpha1
}
FakeClusterPodAssignmentRules implements ClusterPodAssignmentRuleInterface
func (*FakeClusterPodAssignmentRules) Create ¶
func (c *FakeClusterPodAssignmentRules) Create(clusterPodAssignmentRule *v1alpha1.ClusterPodAssignmentRule) (result *v1alpha1.ClusterPodAssignmentRule, err error)
Create takes the representation of a clusterPodAssignmentRule and creates it. Returns the server's representation of the clusterPodAssignmentRule, and an error, if there is any.
func (*FakeClusterPodAssignmentRules) Delete ¶
func (c *FakeClusterPodAssignmentRules) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the clusterPodAssignmentRule and deletes it. Returns an error if one occurs.
func (*FakeClusterPodAssignmentRules) DeleteCollection ¶
func (c *FakeClusterPodAssignmentRules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterPodAssignmentRules) Get ¶
func (c *FakeClusterPodAssignmentRules) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterPodAssignmentRule, err error)
Get takes name of the clusterPodAssignmentRule, and returns the corresponding clusterPodAssignmentRule object, and an error if there is any.
func (*FakeClusterPodAssignmentRules) List ¶
func (c *FakeClusterPodAssignmentRules) List(opts v1.ListOptions) (result *v1alpha1.ClusterPodAssignmentRuleList, err error)
List takes label and field selectors, and returns the list of ClusterPodAssignmentRules that match those selectors.
func (*FakeClusterPodAssignmentRules) Patch ¶
func (c *FakeClusterPodAssignmentRules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterPodAssignmentRule, err error)
Patch applies the patch and returns the patched clusterPodAssignmentRule.
func (*FakeClusterPodAssignmentRules) Update ¶
func (c *FakeClusterPodAssignmentRules) Update(clusterPodAssignmentRule *v1alpha1.ClusterPodAssignmentRule) (result *v1alpha1.ClusterPodAssignmentRule, err error)
Update takes the representation of a clusterPodAssignmentRule and updates it. Returns the server's representation of the clusterPodAssignmentRule, and an error, if there is any.
func (*FakeClusterPodAssignmentRules) Watch ¶
func (c *FakeClusterPodAssignmentRules) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterPodAssignmentRules.
type FakeNodeAssignmentGroups ¶
type FakeNodeAssignmentGroups struct {
Fake *FakeAssignmentsV1alpha1
}
FakeNodeAssignmentGroups implements NodeAssignmentGroupInterface
func (*FakeNodeAssignmentGroups) Create ¶
func (c *FakeNodeAssignmentGroups) Create(nodeAssignmentGroup *v1alpha1.NodeAssignmentGroup) (result *v1alpha1.NodeAssignmentGroup, err error)
Create takes the representation of a nodeAssignmentGroup and creates it. Returns the server's representation of the nodeAssignmentGroup, and an error, if there is any.
func (*FakeNodeAssignmentGroups) Delete ¶
func (c *FakeNodeAssignmentGroups) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the nodeAssignmentGroup and deletes it. Returns an error if one occurs.
func (*FakeNodeAssignmentGroups) DeleteCollection ¶
func (c *FakeNodeAssignmentGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeAssignmentGroups) Get ¶
func (c *FakeNodeAssignmentGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.NodeAssignmentGroup, err error)
Get takes name of the nodeAssignmentGroup, and returns the corresponding nodeAssignmentGroup object, and an error if there is any.
func (*FakeNodeAssignmentGroups) List ¶
func (c *FakeNodeAssignmentGroups) List(opts v1.ListOptions) (result *v1alpha1.NodeAssignmentGroupList, err error)
List takes label and field selectors, and returns the list of NodeAssignmentGroups that match those selectors.
func (*FakeNodeAssignmentGroups) Patch ¶
func (c *FakeNodeAssignmentGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodeAssignmentGroup, err error)
Patch applies the patch and returns the patched nodeAssignmentGroup.
func (*FakeNodeAssignmentGroups) Update ¶
func (c *FakeNodeAssignmentGroups) Update(nodeAssignmentGroup *v1alpha1.NodeAssignmentGroup) (result *v1alpha1.NodeAssignmentGroup, err error)
Update takes the representation of a nodeAssignmentGroup and updates it. Returns the server's representation of the nodeAssignmentGroup, and an error, if there is any.
func (*FakeNodeAssignmentGroups) UpdateStatus ¶
func (c *FakeNodeAssignmentGroups) UpdateStatus(nodeAssignmentGroup *v1alpha1.NodeAssignmentGroup) (*v1alpha1.NodeAssignmentGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNodeAssignmentGroups) Watch ¶
func (c *FakeNodeAssignmentGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeAssignmentGroups.
type FakePodAssignmentRules ¶
type FakePodAssignmentRules struct { Fake *FakeAssignmentsV1alpha1 // contains filtered or unexported fields }
FakePodAssignmentRules implements PodAssignmentRuleInterface
func (*FakePodAssignmentRules) Create ¶
func (c *FakePodAssignmentRules) Create(podAssignmentRule *v1alpha1.PodAssignmentRule) (result *v1alpha1.PodAssignmentRule, err error)
Create takes the representation of a podAssignmentRule and creates it. Returns the server's representation of the podAssignmentRule, and an error, if there is any.
func (*FakePodAssignmentRules) Delete ¶
func (c *FakePodAssignmentRules) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the podAssignmentRule and deletes it. Returns an error if one occurs.
func (*FakePodAssignmentRules) DeleteCollection ¶
func (c *FakePodAssignmentRules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodAssignmentRules) Get ¶
func (c *FakePodAssignmentRules) Get(name string, options v1.GetOptions) (result *v1alpha1.PodAssignmentRule, err error)
Get takes name of the podAssignmentRule, and returns the corresponding podAssignmentRule object, and an error if there is any.
func (*FakePodAssignmentRules) List ¶
func (c *FakePodAssignmentRules) List(opts v1.ListOptions) (result *v1alpha1.PodAssignmentRuleList, err error)
List takes label and field selectors, and returns the list of PodAssignmentRules that match those selectors.
func (*FakePodAssignmentRules) Patch ¶
func (c *FakePodAssignmentRules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PodAssignmentRule, err error)
Patch applies the patch and returns the patched podAssignmentRule.
func (*FakePodAssignmentRules) Update ¶
func (c *FakePodAssignmentRules) Update(podAssignmentRule *v1alpha1.PodAssignmentRule) (result *v1alpha1.PodAssignmentRule, err error)
Update takes the representation of a podAssignmentRule and updates it. Returns the server's representation of the podAssignmentRule, and an error, if there is any.
func (*FakePodAssignmentRules) Watch ¶
func (c *FakePodAssignmentRules) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podAssignmentRules.