Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSnapshotReverts
- func (c *FakeSnapshotReverts) Create(snapshotRevert *v1alpha1.SnapshotRevert) (result *v1alpha1.SnapshotRevert, err error)
- func (c *FakeSnapshotReverts) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSnapshotReverts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSnapshotReverts) Get(name string, options v1.GetOptions) (result *v1alpha1.SnapshotRevert, err error)
- func (c *FakeSnapshotReverts) List(opts v1.ListOptions) (result *v1alpha1.SnapshotRevertList, err error)
- func (c *FakeSnapshotReverts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SnapshotRevert, err error)
- func (c *FakeSnapshotReverts) Update(snapshotRevert *v1alpha1.SnapshotRevert) (result *v1alpha1.SnapshotRevert, err error)
- func (c *FakeSnapshotReverts) UpdateStatus(snapshotRevert *v1alpha1.SnapshotRevert) (*v1alpha1.SnapshotRevert, error)
- func (c *FakeSnapshotReverts) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSnapshotmanagerV1alpha1
- func (c *FakeSnapshotmanagerV1alpha1) RESTClient() rest.Interface
- func (c *FakeSnapshotmanagerV1alpha1) SnapshotReverts(namespace string) v1alpha1.SnapshotRevertInterface
- func (c *FakeSnapshotmanagerV1alpha1) ValidationRuns(namespace string) v1alpha1.ValidationRunInterface
- func (c *FakeSnapshotmanagerV1alpha1) ValidationStrategies(namespace string) v1alpha1.ValidationStrategyInterface
- type FakeValidationRuns
- func (c *FakeValidationRuns) Create(validationRun *v1alpha1.ValidationRun) (result *v1alpha1.ValidationRun, err error)
- func (c *FakeValidationRuns) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeValidationRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeValidationRuns) Get(name string, options v1.GetOptions) (result *v1alpha1.ValidationRun, err error)
- func (c *FakeValidationRuns) List(opts v1.ListOptions) (result *v1alpha1.ValidationRunList, err error)
- func (c *FakeValidationRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ValidationRun, err error)
- func (c *FakeValidationRuns) Update(validationRun *v1alpha1.ValidationRun) (result *v1alpha1.ValidationRun, err error)
- func (c *FakeValidationRuns) UpdateStatus(validationRun *v1alpha1.ValidationRun) (*v1alpha1.ValidationRun, error)
- func (c *FakeValidationRuns) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeValidationStrategies
- func (c *FakeValidationStrategies) Create(validationStrategy *v1alpha1.ValidationStrategy) (result *v1alpha1.ValidationStrategy, err error)
- func (c *FakeValidationStrategies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeValidationStrategies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeValidationStrategies) Get(name string, options v1.GetOptions) (result *v1alpha1.ValidationStrategy, err error)
- func (c *FakeValidationStrategies) List(opts v1.ListOptions) (result *v1alpha1.ValidationStrategyList, err error)
- func (c *FakeValidationStrategies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ValidationStrategy, err error)
- func (c *FakeValidationStrategies) Update(validationStrategy *v1alpha1.ValidationStrategy) (result *v1alpha1.ValidationStrategy, err error)
- func (c *FakeValidationStrategies) UpdateStatus(validationStrategy *v1alpha1.ValidationStrategy) (*v1alpha1.ValidationStrategy, error)
- func (c *FakeValidationStrategies) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSnapshotReverts ¶
type FakeSnapshotReverts struct { Fake *FakeSnapshotmanagerV1alpha1 // contains filtered or unexported fields }
FakeSnapshotReverts implements SnapshotRevertInterface
func (*FakeSnapshotReverts) Create ¶
func (c *FakeSnapshotReverts) Create(snapshotRevert *v1alpha1.SnapshotRevert) (result *v1alpha1.SnapshotRevert, err error)
Create takes the representation of a snapshotRevert and creates it. Returns the server's representation of the snapshotRevert, and an error, if there is any.
func (*FakeSnapshotReverts) Delete ¶
func (c *FakeSnapshotReverts) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the snapshotRevert and deletes it. Returns an error if one occurs.
func (*FakeSnapshotReverts) DeleteCollection ¶
func (c *FakeSnapshotReverts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSnapshotReverts) Get ¶
func (c *FakeSnapshotReverts) Get(name string, options v1.GetOptions) (result *v1alpha1.SnapshotRevert, err error)
Get takes name of the snapshotRevert, and returns the corresponding snapshotRevert object, and an error if there is any.
func (*FakeSnapshotReverts) List ¶
func (c *FakeSnapshotReverts) List(opts v1.ListOptions) (result *v1alpha1.SnapshotRevertList, err error)
List takes label and field selectors, and returns the list of SnapshotReverts that match those selectors.
func (*FakeSnapshotReverts) Patch ¶
func (c *FakeSnapshotReverts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SnapshotRevert, err error)
Patch applies the patch and returns the patched snapshotRevert.
func (*FakeSnapshotReverts) Update ¶
func (c *FakeSnapshotReverts) Update(snapshotRevert *v1alpha1.SnapshotRevert) (result *v1alpha1.SnapshotRevert, err error)
Update takes the representation of a snapshotRevert and updates it. Returns the server's representation of the snapshotRevert, and an error, if there is any.
func (*FakeSnapshotReverts) UpdateStatus ¶
func (c *FakeSnapshotReverts) UpdateStatus(snapshotRevert *v1alpha1.SnapshotRevert) (*v1alpha1.SnapshotRevert, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSnapshotReverts) Watch ¶
func (c *FakeSnapshotReverts) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested snapshotReverts.
type FakeSnapshotmanagerV1alpha1 ¶
func (*FakeSnapshotmanagerV1alpha1) RESTClient ¶
func (c *FakeSnapshotmanagerV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSnapshotmanagerV1alpha1) SnapshotReverts ¶
func (c *FakeSnapshotmanagerV1alpha1) SnapshotReverts(namespace string) v1alpha1.SnapshotRevertInterface
func (*FakeSnapshotmanagerV1alpha1) ValidationRuns ¶
func (c *FakeSnapshotmanagerV1alpha1) ValidationRuns(namespace string) v1alpha1.ValidationRunInterface
func (*FakeSnapshotmanagerV1alpha1) ValidationStrategies ¶
func (c *FakeSnapshotmanagerV1alpha1) ValidationStrategies(namespace string) v1alpha1.ValidationStrategyInterface
type FakeValidationRuns ¶
type FakeValidationRuns struct { Fake *FakeSnapshotmanagerV1alpha1 // contains filtered or unexported fields }
FakeValidationRuns implements ValidationRunInterface
func (*FakeValidationRuns) Create ¶
func (c *FakeValidationRuns) Create(validationRun *v1alpha1.ValidationRun) (result *v1alpha1.ValidationRun, err error)
Create takes the representation of a validationRun and creates it. Returns the server's representation of the validationRun, and an error, if there is any.
func (*FakeValidationRuns) Delete ¶
func (c *FakeValidationRuns) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the validationRun and deletes it. Returns an error if one occurs.
func (*FakeValidationRuns) DeleteCollection ¶
func (c *FakeValidationRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeValidationRuns) Get ¶
func (c *FakeValidationRuns) Get(name string, options v1.GetOptions) (result *v1alpha1.ValidationRun, err error)
Get takes name of the validationRun, and returns the corresponding validationRun object, and an error if there is any.
func (*FakeValidationRuns) List ¶
func (c *FakeValidationRuns) List(opts v1.ListOptions) (result *v1alpha1.ValidationRunList, err error)
List takes label and field selectors, and returns the list of ValidationRuns that match those selectors.
func (*FakeValidationRuns) Patch ¶
func (c *FakeValidationRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ValidationRun, err error)
Patch applies the patch and returns the patched validationRun.
func (*FakeValidationRuns) Update ¶
func (c *FakeValidationRuns) Update(validationRun *v1alpha1.ValidationRun) (result *v1alpha1.ValidationRun, err error)
Update takes the representation of a validationRun and updates it. Returns the server's representation of the validationRun, and an error, if there is any.
func (*FakeValidationRuns) UpdateStatus ¶
func (c *FakeValidationRuns) UpdateStatus(validationRun *v1alpha1.ValidationRun) (*v1alpha1.ValidationRun, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeValidationRuns) Watch ¶
func (c *FakeValidationRuns) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested validationRuns.
type FakeValidationStrategies ¶
type FakeValidationStrategies struct { Fake *FakeSnapshotmanagerV1alpha1 // contains filtered or unexported fields }
FakeValidationStrategies implements ValidationStrategyInterface
func (*FakeValidationStrategies) Create ¶
func (c *FakeValidationStrategies) Create(validationStrategy *v1alpha1.ValidationStrategy) (result *v1alpha1.ValidationStrategy, err error)
Create takes the representation of a validationStrategy and creates it. Returns the server's representation of the validationStrategy, and an error, if there is any.
func (*FakeValidationStrategies) Delete ¶
func (c *FakeValidationStrategies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the validationStrategy and deletes it. Returns an error if one occurs.
func (*FakeValidationStrategies) DeleteCollection ¶
func (c *FakeValidationStrategies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeValidationStrategies) Get ¶
func (c *FakeValidationStrategies) Get(name string, options v1.GetOptions) (result *v1alpha1.ValidationStrategy, err error)
Get takes name of the validationStrategy, and returns the corresponding validationStrategy object, and an error if there is any.
func (*FakeValidationStrategies) List ¶
func (c *FakeValidationStrategies) List(opts v1.ListOptions) (result *v1alpha1.ValidationStrategyList, err error)
List takes label and field selectors, and returns the list of ValidationStrategies that match those selectors.
func (*FakeValidationStrategies) Patch ¶
func (c *FakeValidationStrategies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ValidationStrategy, err error)
Patch applies the patch and returns the patched validationStrategy.
func (*FakeValidationStrategies) Update ¶
func (c *FakeValidationStrategies) Update(validationStrategy *v1alpha1.ValidationStrategy) (result *v1alpha1.ValidationStrategy, err error)
Update takes the representation of a validationStrategy and updates it. Returns the server's representation of the validationStrategy, and an error, if there is any.
func (*FakeValidationStrategies) UpdateStatus ¶
func (c *FakeValidationStrategies) UpdateStatus(validationStrategy *v1alpha1.ValidationStrategy) (*v1alpha1.ValidationStrategy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeValidationStrategies) Watch ¶
func (c *FakeValidationStrategies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested validationStrategies.