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