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