Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBrokerTemplateInstances
- func (c *FakeBrokerTemplateInstances) Create(brokerTemplateInstance *template_v1.BrokerTemplateInstance) (result *template_v1.BrokerTemplateInstance, err error)
- func (c *FakeBrokerTemplateInstances) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBrokerTemplateInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBrokerTemplateInstances) Get(name string, options v1.GetOptions) (result *template_v1.BrokerTemplateInstance, err error)
- func (c *FakeBrokerTemplateInstances) List(opts v1.ListOptions) (result *template_v1.BrokerTemplateInstanceList, err error)
- func (c *FakeBrokerTemplateInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *template_v1.BrokerTemplateInstance, err error)
- func (c *FakeBrokerTemplateInstances) Update(brokerTemplateInstance *template_v1.BrokerTemplateInstance) (result *template_v1.BrokerTemplateInstance, err error)
- func (c *FakeBrokerTemplateInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTemplateInstances
- func (c *FakeTemplateInstances) Create(templateInstance *template_v1.TemplateInstance) (result *template_v1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTemplateInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTemplateInstances) Get(name string, options v1.GetOptions) (result *template_v1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) List(opts v1.ListOptions) (result *template_v1.TemplateInstanceList, err error)
- func (c *FakeTemplateInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *template_v1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) Update(templateInstance *template_v1.TemplateInstance) (result *template_v1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) UpdateStatus(templateInstance *template_v1.TemplateInstance) (*template_v1.TemplateInstance, error)
- func (c *FakeTemplateInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTemplateV1
- func (c *FakeTemplateV1) BrokerTemplateInstances() v1.BrokerTemplateInstanceInterface
- func (c *FakeTemplateV1) RESTClient() rest.Interface
- func (c *FakeTemplateV1) TemplateInstances(namespace string) v1.TemplateInstanceInterface
- func (c *FakeTemplateV1) Templates(namespace string) v1.TemplateResourceInterface
- type FakeTemplates
- func (c *FakeTemplates) Create(templateResource *template_v1.Template) (result *template_v1.Template, err error)
- func (c *FakeTemplates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTemplates) Get(name string, options v1.GetOptions) (result *template_v1.Template, err error)
- func (c *FakeTemplates) List(opts v1.ListOptions) (result *template_v1.TemplateList, err error)
- func (c *FakeTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *template_v1.Template, err error)
- func (c *FakeTemplates) Update(templateResource *template_v1.Template) (result *template_v1.Template, err error)
- func (c *FakeTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBrokerTemplateInstances ¶
type FakeBrokerTemplateInstances struct {
Fake *FakeTemplateV1
}
FakeBrokerTemplateInstances implements BrokerTemplateInstanceInterface
func (*FakeBrokerTemplateInstances) Create ¶
func (c *FakeBrokerTemplateInstances) Create(brokerTemplateInstance *template_v1.BrokerTemplateInstance) (result *template_v1.BrokerTemplateInstance, err error)
Create takes the representation of a brokerTemplateInstance and creates it. Returns the server's representation of the brokerTemplateInstance, and an error, if there is any.
func (*FakeBrokerTemplateInstances) Delete ¶
func (c *FakeBrokerTemplateInstances) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the brokerTemplateInstance and deletes it. Returns an error if one occurs.
func (*FakeBrokerTemplateInstances) DeleteCollection ¶
func (c *FakeBrokerTemplateInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBrokerTemplateInstances) Get ¶
func (c *FakeBrokerTemplateInstances) Get(name string, options v1.GetOptions) (result *template_v1.BrokerTemplateInstance, err error)
Get takes name of the brokerTemplateInstance, and returns the corresponding brokerTemplateInstance object, and an error if there is any.
func (*FakeBrokerTemplateInstances) List ¶
func (c *FakeBrokerTemplateInstances) List(opts v1.ListOptions) (result *template_v1.BrokerTemplateInstanceList, err error)
List takes label and field selectors, and returns the list of BrokerTemplateInstances that match those selectors.
func (*FakeBrokerTemplateInstances) Patch ¶
func (c *FakeBrokerTemplateInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *template_v1.BrokerTemplateInstance, err error)
Patch applies the patch and returns the patched brokerTemplateInstance.
func (*FakeBrokerTemplateInstances) Update ¶
func (c *FakeBrokerTemplateInstances) Update(brokerTemplateInstance *template_v1.BrokerTemplateInstance) (result *template_v1.BrokerTemplateInstance, err error)
Update takes the representation of a brokerTemplateInstance and updates it. Returns the server's representation of the brokerTemplateInstance, and an error, if there is any.
func (*FakeBrokerTemplateInstances) Watch ¶
func (c *FakeBrokerTemplateInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested brokerTemplateInstances.
type FakeTemplateInstances ¶
type FakeTemplateInstances struct { Fake *FakeTemplateV1 // contains filtered or unexported fields }
FakeTemplateInstances implements TemplateInstanceInterface
func (*FakeTemplateInstances) Create ¶
func (c *FakeTemplateInstances) Create(templateInstance *template_v1.TemplateInstance) (result *template_v1.TemplateInstance, err error)
Create takes the representation of a templateInstance and creates it. Returns the server's representation of the templateInstance, and an error, if there is any.
func (*FakeTemplateInstances) Delete ¶
func (c *FakeTemplateInstances) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the templateInstance and deletes it. Returns an error if one occurs.
func (*FakeTemplateInstances) DeleteCollection ¶
func (c *FakeTemplateInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTemplateInstances) Get ¶
func (c *FakeTemplateInstances) Get(name string, options v1.GetOptions) (result *template_v1.TemplateInstance, err error)
Get takes name of the templateInstance, and returns the corresponding templateInstance object, and an error if there is any.
func (*FakeTemplateInstances) List ¶
func (c *FakeTemplateInstances) List(opts v1.ListOptions) (result *template_v1.TemplateInstanceList, err error)
List takes label and field selectors, and returns the list of TemplateInstances that match those selectors.
func (*FakeTemplateInstances) Patch ¶
func (c *FakeTemplateInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *template_v1.TemplateInstance, err error)
Patch applies the patch and returns the patched templateInstance.
func (*FakeTemplateInstances) Update ¶
func (c *FakeTemplateInstances) Update(templateInstance *template_v1.TemplateInstance) (result *template_v1.TemplateInstance, err error)
Update takes the representation of a templateInstance and updates it. Returns the server's representation of the templateInstance, and an error, if there is any.
func (*FakeTemplateInstances) UpdateStatus ¶
func (c *FakeTemplateInstances) UpdateStatus(templateInstance *template_v1.TemplateInstance) (*template_v1.TemplateInstance, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTemplateInstances) Watch ¶
func (c *FakeTemplateInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested templateInstances.
type FakeTemplateV1 ¶
func (*FakeTemplateV1) BrokerTemplateInstances ¶
func (c *FakeTemplateV1) BrokerTemplateInstances() v1.BrokerTemplateInstanceInterface
func (*FakeTemplateV1) RESTClient ¶
func (c *FakeTemplateV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeTemplateV1) TemplateInstances ¶
func (c *FakeTemplateV1) TemplateInstances(namespace string) v1.TemplateInstanceInterface
func (*FakeTemplateV1) Templates ¶
func (c *FakeTemplateV1) Templates(namespace string) v1.TemplateResourceInterface
type FakeTemplates ¶
type FakeTemplates struct { Fake *FakeTemplateV1 // contains filtered or unexported fields }
FakeTemplates implements TemplateResourceInterface
func (*FakeTemplates) Create ¶
func (c *FakeTemplates) Create(templateResource *template_v1.Template) (result *template_v1.Template, err error)
Create takes the representation of a templateResource and creates it. Returns the server's representation of the templateResource, and an error, if there is any.
func (*FakeTemplates) Delete ¶
func (c *FakeTemplates) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the templateResource and deletes it. Returns an error if one occurs.
func (*FakeTemplates) DeleteCollection ¶
func (c *FakeTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTemplates) Get ¶
func (c *FakeTemplates) Get(name string, options v1.GetOptions) (result *template_v1.Template, err error)
Get takes name of the templateResource, and returns the corresponding templateResource object, and an error if there is any.
func (*FakeTemplates) List ¶
func (c *FakeTemplates) List(opts v1.ListOptions) (result *template_v1.TemplateList, err error)
List takes label and field selectors, and returns the list of Templates that match those selectors.
func (*FakeTemplates) Patch ¶
func (c *FakeTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *template_v1.Template, err error)
Patch applies the patch and returns the patched templateResource.
func (*FakeTemplates) Update ¶
func (c *FakeTemplates) Update(templateResource *template_v1.Template) (result *template_v1.Template, err error)
Update takes the representation of a templateResource and updates it. Returns the server's representation of the templateResource, and an error, if there is any.
func (*FakeTemplates) Watch ¶
func (c *FakeTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested templates.