fake

package
Version: v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

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

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

func (c *FakeDeniers) Create(denier *v1alpha2.Denier) (result *v1alpha2.Denier, err error)

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

func (c *FakeDeniers) Update(denier *v1alpha2.Denier) (result *v1alpha2.Denier, err error)

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

type FakeIstioV1alpha2 struct {
	*testing.Fake
}

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

func (c *FakeRules) Create(rule *v1alpha2.Rule) (result *v1alpha2.Rule, err error)

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

func (c *FakeRules) Get(name string, options v1.GetOptions) (result *v1alpha2.Rule, err error)

Get takes name of the rule, and returns the corresponding rule object, and an error if there is any.

func (*FakeRules) List

func (c *FakeRules) List(opts v1.ListOptions) (result *v1alpha2.RuleList, err error)

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.

func (*FakeRules) Update

func (c *FakeRules) Update(rule *v1alpha2.Rule) (result *v1alpha2.Rule, err error)

Update takes the representation of a rule and updates it. Returns the server's representation of the rule, and an error, if there is any.

func (*FakeRules) Watch

func (c *FakeRules) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested rules.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL