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