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