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