Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBrokerTemplateInstances
- func (c *FakeBrokerTemplateInstances) Apply(ctx context.Context, ...) (result *templatev1.BrokerTemplateInstance, err error)
- func (c *FakeBrokerTemplateInstances) Create(ctx context.Context, brokerTemplateInstance *templatev1.BrokerTemplateInstance, ...) (result *templatev1.BrokerTemplateInstance, err error)
- func (c *FakeBrokerTemplateInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBrokerTemplateInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBrokerTemplateInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *templatev1.BrokerTemplateInstance, err error)
- func (c *FakeBrokerTemplateInstances) List(ctx context.Context, opts v1.ListOptions) (result *templatev1.BrokerTemplateInstanceList, err error)
- func (c *FakeBrokerTemplateInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *templatev1.BrokerTemplateInstance, err error)
- func (c *FakeBrokerTemplateInstances) Update(ctx context.Context, brokerTemplateInstance *templatev1.BrokerTemplateInstance, ...) (result *templatev1.BrokerTemplateInstance, err error)
- func (c *FakeBrokerTemplateInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTemplateInstances
- func (c *FakeTemplateInstances) Apply(ctx context.Context, ...) (result *templatev1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) ApplyStatus(ctx context.Context, ...) (result *templatev1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) Create(ctx context.Context, templateInstance *templatev1.TemplateInstance, ...) (result *templatev1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTemplateInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTemplateInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *templatev1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) List(ctx context.Context, opts v1.ListOptions) (result *templatev1.TemplateInstanceList, err error)
- func (c *FakeTemplateInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *templatev1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) Update(ctx context.Context, templateInstance *templatev1.TemplateInstance, ...) (result *templatev1.TemplateInstance, err error)
- func (c *FakeTemplateInstances) UpdateStatus(ctx context.Context, templateInstance *templatev1.TemplateInstance, ...) (*templatev1.TemplateInstance, error)
- func (c *FakeTemplateInstances) Watch(ctx context.Context, 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.TemplateInterface
- type FakeTemplates
- func (c *FakeTemplates) Apply(ctx context.Context, ...) (result *templatev1.Template, err error)
- func (c *FakeTemplates) Create(ctx context.Context, template *templatev1.Template, opts v1.CreateOptions) (result *templatev1.Template, err error)
- func (c *FakeTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *templatev1.Template, err error)
- func (c *FakeTemplates) List(ctx context.Context, opts v1.ListOptions) (result *templatev1.TemplateList, err error)
- func (c *FakeTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *templatev1.Template, err error)
- func (c *FakeTemplates) Update(ctx context.Context, template *templatev1.Template, opts v1.UpdateOptions) (result *templatev1.Template, err error)
- func (c *FakeTemplates) Watch(ctx context.Context, 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) Apply ¶
func (c *FakeBrokerTemplateInstances) Apply(ctx context.Context, brokerTemplateInstance *applyconfigurationstemplatev1.BrokerTemplateInstanceApplyConfiguration, opts v1.ApplyOptions) (result *templatev1.BrokerTemplateInstance, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied brokerTemplateInstance.
func (*FakeBrokerTemplateInstances) Create ¶
func (c *FakeBrokerTemplateInstances) Create(ctx context.Context, brokerTemplateInstance *templatev1.BrokerTemplateInstance, opts v1.CreateOptions) (result *templatev1.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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBrokerTemplateInstances) Get ¶
func (c *FakeBrokerTemplateInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *templatev1.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(ctx context.Context, opts v1.ListOptions) (result *templatev1.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *templatev1.BrokerTemplateInstance, err error)
Patch applies the patch and returns the patched brokerTemplateInstance.
func (*FakeBrokerTemplateInstances) Update ¶
func (c *FakeBrokerTemplateInstances) Update(ctx context.Context, brokerTemplateInstance *templatev1.BrokerTemplateInstance, opts v1.UpdateOptions) (result *templatev1.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(ctx context.Context, 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) Apply ¶
func (c *FakeTemplateInstances) Apply(ctx context.Context, templateInstance *applyconfigurationstemplatev1.TemplateInstanceApplyConfiguration, opts v1.ApplyOptions) (result *templatev1.TemplateInstance, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied templateInstance.
func (*FakeTemplateInstances) ApplyStatus ¶
func (c *FakeTemplateInstances) ApplyStatus(ctx context.Context, templateInstance *applyconfigurationstemplatev1.TemplateInstanceApplyConfiguration, opts v1.ApplyOptions) (result *templatev1.TemplateInstance, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeTemplateInstances) Create ¶
func (c *FakeTemplateInstances) Create(ctx context.Context, templateInstance *templatev1.TemplateInstance, opts v1.CreateOptions) (result *templatev1.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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTemplateInstances) Get ¶
func (c *FakeTemplateInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *templatev1.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(ctx context.Context, opts v1.ListOptions) (result *templatev1.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *templatev1.TemplateInstance, err error)
Patch applies the patch and returns the patched templateInstance.
func (*FakeTemplateInstances) Update ¶
func (c *FakeTemplateInstances) Update(ctx context.Context, templateInstance *templatev1.TemplateInstance, opts v1.UpdateOptions) (result *templatev1.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(ctx context.Context, templateInstance *templatev1.TemplateInstance, opts v1.UpdateOptions) (*templatev1.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(ctx context.Context, 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.TemplateInterface
type FakeTemplates ¶
type FakeTemplates struct { Fake *FakeTemplateV1 // contains filtered or unexported fields }
FakeTemplates implements TemplateInterface
func (*FakeTemplates) Apply ¶
func (c *FakeTemplates) Apply(ctx context.Context, template *applyconfigurationstemplatev1.TemplateApplyConfiguration, opts v1.ApplyOptions) (result *templatev1.Template, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied template.
func (*FakeTemplates) Create ¶
func (c *FakeTemplates) Create(ctx context.Context, template *templatev1.Template, opts v1.CreateOptions) (result *templatev1.Template, err error)
Create takes the representation of a template and creates it. Returns the server's representation of the template, and an error, if there is any.
func (*FakeTemplates) Delete ¶
func (c *FakeTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the template and deletes it. Returns an error if one occurs.
func (*FakeTemplates) DeleteCollection ¶
func (c *FakeTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTemplates) Get ¶
func (c *FakeTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *templatev1.Template, err error)
Get takes name of the template, and returns the corresponding template object, and an error if there is any.
func (*FakeTemplates) List ¶
func (c *FakeTemplates) List(ctx context.Context, opts v1.ListOptions) (result *templatev1.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *templatev1.Template, err error)
Patch applies the patch and returns the patched template.
func (*FakeTemplates) Update ¶
func (c *FakeTemplates) Update(ctx context.Context, template *templatev1.Template, opts v1.UpdateOptions) (result *templatev1.Template, err error)
Update takes the representation of a template and updates it. Returns the server's representation of the template, and an error, if there is any.
func (*FakeTemplates) Watch ¶
func (c *FakeTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested templates.