Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeChecknothings
- func (c *FakeChecknothings) Create(checknothing *v1alpha2.Checknothing) (result *v1alpha2.Checknothing, err error)
- func (c *FakeChecknothings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeChecknothings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeChecknothings) Get(name string, options v1.GetOptions) (result *v1alpha2.Checknothing, err error)
- func (c *FakeChecknothings) List(opts v1.ListOptions) (result *v1alpha2.ChecknothingList, err error)
- func (c *FakeChecknothings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Checknothing, err error)
- func (c *FakeChecknothings) Update(checknothing *v1alpha2.Checknothing) (result *v1alpha2.Checknothing, err error)
- func (c *FakeChecknothings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDeniers
- func (c *FakeDeniers) Create(denier *v1alpha2.Denier) (result *v1alpha2.Denier, err error)
- func (c *FakeDeniers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDeniers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDeniers) Get(name string, options v1.GetOptions) (result *v1alpha2.Denier, err error)
- func (c *FakeDeniers) List(opts v1.ListOptions) (result *v1alpha2.DenierList, err error)
- func (c *FakeDeniers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Denier, err error)
- func (c *FakeDeniers) Update(denier *v1alpha2.Denier) (result *v1alpha2.Denier, err error)
- func (c *FakeDeniers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeIstioV1alpha2
- func (c *FakeIstioV1alpha2) Checknothings(namespace string) v1alpha2.ChecknothingInterface
- func (c *FakeIstioV1alpha2) Deniers(namespace string) v1alpha2.DenierInterface
- func (c *FakeIstioV1alpha2) RESTClient() rest.Interface
- func (c *FakeIstioV1alpha2) Rules(namespace string) v1alpha2.RuleInterface
- 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 FakeChecknothings ¶
type FakeChecknothings struct { Fake *FakeIstioV1alpha2 // contains filtered or unexported fields }
FakeChecknothings implements ChecknothingInterface
func (*FakeChecknothings) Create ¶
func (c *FakeChecknothings) Create(checknothing *v1alpha2.Checknothing) (result *v1alpha2.Checknothing, err error)
Create takes the representation of a checknothing and creates it. Returns the server's representation of the checknothing, and an error, if there is any.
func (*FakeChecknothings) Delete ¶
func (c *FakeChecknothings) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the checknothing and deletes it. Returns an error if one occurs.
func (*FakeChecknothings) DeleteCollection ¶
func (c *FakeChecknothings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeChecknothings) Get ¶
func (c *FakeChecknothings) Get(name string, options v1.GetOptions) (result *v1alpha2.Checknothing, err error)
Get takes name of the checknothing, and returns the corresponding checknothing object, and an error if there is any.
func (*FakeChecknothings) List ¶
func (c *FakeChecknothings) List(opts v1.ListOptions) (result *v1alpha2.ChecknothingList, err error)
List takes label and field selectors, and returns the list of Checknothings that match those selectors.
func (*FakeChecknothings) Patch ¶
func (c *FakeChecknothings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Checknothing, err error)
Patch applies the patch and returns the patched checknothing.
func (*FakeChecknothings) Update ¶
func (c *FakeChecknothings) Update(checknothing *v1alpha2.Checknothing) (result *v1alpha2.Checknothing, err error)
Update takes the representation of a checknothing and updates it. Returns the server's representation of the checknothing, and an error, if there is any.
func (*FakeChecknothings) Watch ¶
func (c *FakeChecknothings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested checknothings.
type FakeDeniers ¶
type FakeDeniers struct { Fake *FakeIstioV1alpha2 // contains filtered or unexported fields }
FakeDeniers implements DenierInterface
func (*FakeDeniers) Create ¶
Create takes the representation of a denier and creates it. Returns the server's representation of the denier, and an error, if there is any.
func (*FakeDeniers) Delete ¶
func (c *FakeDeniers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the denier and deletes it. Returns an error if one occurs.
func (*FakeDeniers) DeleteCollection ¶
func (c *FakeDeniers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDeniers) Get ¶
func (c *FakeDeniers) Get(name string, options v1.GetOptions) (result *v1alpha2.Denier, err error)
Get takes name of the denier, and returns the corresponding denier object, and an error if there is any.
func (*FakeDeniers) List ¶
func (c *FakeDeniers) List(opts v1.ListOptions) (result *v1alpha2.DenierList, err error)
List takes label and field selectors, and returns the list of Deniers that match those selectors.
func (*FakeDeniers) Patch ¶
func (c *FakeDeniers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Denier, err error)
Patch applies the patch and returns the patched denier.
func (*FakeDeniers) Update ¶
Update takes the representation of a denier and updates it. Returns the server's representation of the denier, and an error, if there is any.
func (*FakeDeniers) Watch ¶
func (c *FakeDeniers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deniers.
type FakeIstioV1alpha2 ¶
func (*FakeIstioV1alpha2) Checknothings ¶
func (c *FakeIstioV1alpha2) Checknothings(namespace string) v1alpha2.ChecknothingInterface
func (*FakeIstioV1alpha2) Deniers ¶
func (c *FakeIstioV1alpha2) Deniers(namespace string) v1alpha2.DenierInterface
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.