Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeHandlers
- func (c *FakeHandlers) Create(handler *v1alpha2.Handler) (result *v1alpha2.Handler, err error)
- func (c *FakeHandlers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeHandlers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeHandlers) Get(name string, options v1.GetOptions) (result *v1alpha2.Handler, err error)
- func (c *FakeHandlers) List(opts v1.ListOptions) (result *v1alpha2.HandlerList, err error)
- func (c *FakeHandlers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Handler, err error)
- func (c *FakeHandlers) Update(handler *v1alpha2.Handler) (result *v1alpha2.Handler, err error)
- func (c *FakeHandlers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeInstances
- func (c *FakeInstances) Create(instance *v1alpha2.Instance) (result *v1alpha2.Instance, err error)
- func (c *FakeInstances) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeInstances) Get(name string, options v1.GetOptions) (result *v1alpha2.Instance, err error)
- func (c *FakeInstances) List(opts v1.ListOptions) (result *v1alpha2.InstanceList, err error)
- func (c *FakeInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Instance, err error)
- func (c *FakeInstances) Update(instance *v1alpha2.Instance) (result *v1alpha2.Instance, err error)
- func (c *FakeInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeIstioV1alpha2
- type FakeRules
- func (c *FakeRules) Create(rule *v1alpha2.Rule) (result *v1alpha2.Rule, err error)
- func (c *FakeRules) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRules) Get(name string, options v1.GetOptions) (result *v1alpha2.Rule, err error)
- func (c *FakeRules) List(opts v1.ListOptions) (result *v1alpha2.RuleList, err error)
- func (c *FakeRules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Rule, err error)
- func (c *FakeRules) Update(rule *v1alpha2.Rule) (result *v1alpha2.Rule, err error)
- func (c *FakeRules) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHandlers ¶
type FakeHandlers struct { Fake *FakeIstioV1alpha2 // contains filtered or unexported fields }
FakeHandlers implements HandlerInterface
func (*FakeHandlers) Create ¶
Create takes the representation of a handler and creates it. Returns the server's representation of the handler, and an error, if there is any.
func (*FakeHandlers) Delete ¶
func (c *FakeHandlers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the handler and deletes it. Returns an error if one occurs.
func (*FakeHandlers) DeleteCollection ¶
func (c *FakeHandlers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHandlers) Get ¶
func (c *FakeHandlers) Get(name string, options v1.GetOptions) (result *v1alpha2.Handler, err error)
Get takes name of the handler, and returns the corresponding handler object, and an error if there is any.
func (*FakeHandlers) List ¶
func (c *FakeHandlers) List(opts v1.ListOptions) (result *v1alpha2.HandlerList, err error)
List takes label and field selectors, and returns the list of Handlers that match those selectors.
func (*FakeHandlers) Patch ¶
func (c *FakeHandlers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Handler, err error)
Patch applies the patch and returns the patched handler.
func (*FakeHandlers) Update ¶
Update takes the representation of a handler and updates it. Returns the server's representation of the handler, and an error, if there is any.
func (*FakeHandlers) Watch ¶
func (c *FakeHandlers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested handlers.
type FakeInstances ¶
type FakeInstances struct { Fake *FakeIstioV1alpha2 // contains filtered or unexported fields }
FakeInstances implements InstanceInterface
func (*FakeInstances) Create ¶
Create takes the representation of a instance and creates it. Returns the server's representation of the instance, and an error, if there is any.
func (*FakeInstances) Delete ¶
func (c *FakeInstances) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the instance and deletes it. Returns an error if one occurs.
func (*FakeInstances) DeleteCollection ¶
func (c *FakeInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInstances) Get ¶
func (c *FakeInstances) Get(name string, options v1.GetOptions) (result *v1alpha2.Instance, err error)
Get takes name of the instance, and returns the corresponding instance object, and an error if there is any.
func (*FakeInstances) List ¶
func (c *FakeInstances) List(opts v1.ListOptions) (result *v1alpha2.InstanceList, err error)
List takes label and field selectors, and returns the list of Instances that match those selectors.
func (*FakeInstances) Patch ¶
func (c *FakeInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Instance, err error)
Patch applies the patch and returns the patched instance.
func (*FakeInstances) Update ¶
Update takes the representation of a instance and updates it. Returns the server's representation of the instance, and an error, if there is any.
func (*FakeInstances) Watch ¶
func (c *FakeInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested instances.
type FakeIstioV1alpha2 ¶
func (*FakeIstioV1alpha2) Handlers ¶
func (c *FakeIstioV1alpha2) Handlers(namespace string) v1alpha2.HandlerInterface
func (*FakeIstioV1alpha2) Instances ¶
func (c *FakeIstioV1alpha2) Instances(namespace string) v1alpha2.InstanceInterface
func (*FakeIstioV1alpha2) RESTClient ¶
func (c *FakeIstioV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeIstioV1alpha2) Rules ¶
func (c *FakeIstioV1alpha2) Rules(namespace string) v1alpha2.RuleInterface
type FakeRules ¶
type FakeRules struct { Fake *FakeIstioV1alpha2 // contains filtered or unexported fields }
FakeRules implements RuleInterface
func (*FakeRules) Create ¶
Create takes the representation of a rule and creates it. Returns the server's representation of the rule, and an error, if there is any.
func (*FakeRules) Delete ¶
func (c *FakeRules) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the rule and deletes it. Returns an error if one occurs.
func (*FakeRules) DeleteCollection ¶
func (c *FakeRules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRules) Get ¶
Get takes name of the rule, and returns the corresponding rule object, and an error if there is any.
func (*FakeRules) List ¶
List takes label and field selectors, and returns the list of Rules that match those selectors.
func (*FakeRules) Patch ¶
func (c *FakeRules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Rule, err error)
Patch applies the patch and returns the patched rule.