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