fake

package
v0.0.0-...-133fb1b Latest Latest
Warning

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

Go to latest
Published: Jan 15, 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 FakeCloudProfiles

type FakeCloudProfiles struct {
	Fake *FakeGardenV1beta1
}

FakeCloudProfiles implements CloudProfileInterface

func (*FakeCloudProfiles) Create

func (c *FakeCloudProfiles) Create(cloudProfile *v1beta1.CloudProfile) (result *v1beta1.CloudProfile, err error)

Create takes the representation of a cloudProfile and creates it. Returns the server's representation of the cloudProfile, and an error, if there is any.

func (*FakeCloudProfiles) Delete

func (c *FakeCloudProfiles) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the cloudProfile and deletes it. Returns an error if one occurs.

func (*FakeCloudProfiles) DeleteCollection

func (c *FakeCloudProfiles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCloudProfiles) Get

func (c *FakeCloudProfiles) Get(name string, options v1.GetOptions) (result *v1beta1.CloudProfile, err error)

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

func (*FakeCloudProfiles) List

func (c *FakeCloudProfiles) List(opts v1.ListOptions) (result *v1beta1.CloudProfileList, err error)

List takes label and field selectors, and returns the list of CloudProfiles that match those selectors.

func (*FakeCloudProfiles) Patch

func (c *FakeCloudProfiles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.CloudProfile, err error)

Patch applies the patch and returns the patched cloudProfile.

func (*FakeCloudProfiles) Update

func (c *FakeCloudProfiles) Update(cloudProfile *v1beta1.CloudProfile) (result *v1beta1.CloudProfile, err error)

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

func (*FakeCloudProfiles) Watch

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

type FakeCrossSecretBindings

type FakeCrossSecretBindings struct {
	Fake *FakeGardenV1beta1
	// contains filtered or unexported fields
}

FakeCrossSecretBindings implements CrossSecretBindingInterface

func (*FakeCrossSecretBindings) Create

func (c *FakeCrossSecretBindings) Create(crossSecretBinding *v1beta1.CrossSecretBinding) (result *v1beta1.CrossSecretBinding, err error)

Create takes the representation of a crossSecretBinding and creates it. Returns the server's representation of the crossSecretBinding, and an error, if there is any.

func (*FakeCrossSecretBindings) Delete

func (c *FakeCrossSecretBindings) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the crossSecretBinding and deletes it. Returns an error if one occurs.

func (*FakeCrossSecretBindings) DeleteCollection

func (c *FakeCrossSecretBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCrossSecretBindings) Get

func (c *FakeCrossSecretBindings) Get(name string, options v1.GetOptions) (result *v1beta1.CrossSecretBinding, err error)

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

func (*FakeCrossSecretBindings) List

List takes label and field selectors, and returns the list of CrossSecretBindings that match those selectors.

func (*FakeCrossSecretBindings) Patch

func (c *FakeCrossSecretBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.CrossSecretBinding, err error)

Patch applies the patch and returns the patched crossSecretBinding.

func (*FakeCrossSecretBindings) Update

func (c *FakeCrossSecretBindings) Update(crossSecretBinding *v1beta1.CrossSecretBinding) (result *v1beta1.CrossSecretBinding, err error)

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

func (*FakeCrossSecretBindings) Watch

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

type FakeGardenV1beta1

type FakeGardenV1beta1 struct {
	*testing.Fake
}

func (*FakeGardenV1beta1) CloudProfiles

func (c *FakeGardenV1beta1) CloudProfiles() v1beta1.CloudProfileInterface

func (*FakeGardenV1beta1) CrossSecretBindings

func (c *FakeGardenV1beta1) CrossSecretBindings(namespace string) v1beta1.CrossSecretBindingInterface

func (*FakeGardenV1beta1) PrivateSecretBindings

func (c *FakeGardenV1beta1) PrivateSecretBindings(namespace string) v1beta1.PrivateSecretBindingInterface

func (*FakeGardenV1beta1) Quotas

func (c *FakeGardenV1beta1) Quotas(namespace string) v1beta1.QuotaInterface

func (*FakeGardenV1beta1) RESTClient

func (c *FakeGardenV1beta1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeGardenV1beta1) Seeds

func (*FakeGardenV1beta1) Shoots

func (c *FakeGardenV1beta1) Shoots(namespace string) v1beta1.ShootInterface

type FakePrivateSecretBindings

type FakePrivateSecretBindings struct {
	Fake *FakeGardenV1beta1
	// contains filtered or unexported fields
}

FakePrivateSecretBindings implements PrivateSecretBindingInterface

func (*FakePrivateSecretBindings) Create

func (c *FakePrivateSecretBindings) Create(privateSecretBinding *v1beta1.PrivateSecretBinding) (result *v1beta1.PrivateSecretBinding, err error)

Create takes the representation of a privateSecretBinding and creates it. Returns the server's representation of the privateSecretBinding, and an error, if there is any.

func (*FakePrivateSecretBindings) Delete

func (c *FakePrivateSecretBindings) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the privateSecretBinding and deletes it. Returns an error if one occurs.

func (*FakePrivateSecretBindings) DeleteCollection

func (c *FakePrivateSecretBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePrivateSecretBindings) Get

func (c *FakePrivateSecretBindings) Get(name string, options v1.GetOptions) (result *v1beta1.PrivateSecretBinding, err error)

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

func (*FakePrivateSecretBindings) List

List takes label and field selectors, and returns the list of PrivateSecretBindings that match those selectors.

func (*FakePrivateSecretBindings) Patch

func (c *FakePrivateSecretBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.PrivateSecretBinding, err error)

Patch applies the patch and returns the patched privateSecretBinding.

func (*FakePrivateSecretBindings) Update

func (c *FakePrivateSecretBindings) Update(privateSecretBinding *v1beta1.PrivateSecretBinding) (result *v1beta1.PrivateSecretBinding, err error)

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

func (*FakePrivateSecretBindings) Watch

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

type FakeQuotas

type FakeQuotas struct {
	Fake *FakeGardenV1beta1
	// contains filtered or unexported fields
}

FakeQuotas implements QuotaInterface

func (*FakeQuotas) Create

func (c *FakeQuotas) Create(quota *v1beta1.Quota) (result *v1beta1.Quota, err error)

Create takes the representation of a quota and creates it. Returns the server's representation of the quota, and an error, if there is any.

func (*FakeQuotas) Delete

func (c *FakeQuotas) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the quota and deletes it. Returns an error if one occurs.

func (*FakeQuotas) DeleteCollection

func (c *FakeQuotas) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeQuotas) Get

func (c *FakeQuotas) Get(name string, options v1.GetOptions) (result *v1beta1.Quota, err error)

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

func (*FakeQuotas) List

func (c *FakeQuotas) List(opts v1.ListOptions) (result *v1beta1.QuotaList, err error)

List takes label and field selectors, and returns the list of Quotas that match those selectors.

func (*FakeQuotas) Patch

func (c *FakeQuotas) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Quota, err error)

Patch applies the patch and returns the patched quota.

func (*FakeQuotas) Update

func (c *FakeQuotas) Update(quota *v1beta1.Quota) (result *v1beta1.Quota, err error)

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

func (*FakeQuotas) UpdateStatus

func (c *FakeQuotas) UpdateStatus(quota *v1beta1.Quota) (*v1beta1.Quota, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeQuotas) Watch

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

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

type FakeSeeds

type FakeSeeds struct {
	Fake *FakeGardenV1beta1
}

FakeSeeds implements SeedInterface

func (*FakeSeeds) Create

func (c *FakeSeeds) Create(seed *v1beta1.Seed) (result *v1beta1.Seed, err error)

Create takes the representation of a seed and creates it. Returns the server's representation of the seed, and an error, if there is any.

func (*FakeSeeds) Delete

func (c *FakeSeeds) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the seed and deletes it. Returns an error if one occurs.

func (*FakeSeeds) DeleteCollection

func (c *FakeSeeds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSeeds) Get

func (c *FakeSeeds) Get(name string, options v1.GetOptions) (result *v1beta1.Seed, err error)

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

func (*FakeSeeds) List

func (c *FakeSeeds) List(opts v1.ListOptions) (result *v1beta1.SeedList, err error)

List takes label and field selectors, and returns the list of Seeds that match those selectors.

func (*FakeSeeds) Patch

func (c *FakeSeeds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Seed, err error)

Patch applies the patch and returns the patched seed.

func (*FakeSeeds) Update

func (c *FakeSeeds) Update(seed *v1beta1.Seed) (result *v1beta1.Seed, err error)

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

func (*FakeSeeds) Watch

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

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

type FakeShoots

type FakeShoots struct {
	Fake *FakeGardenV1beta1
	// contains filtered or unexported fields
}

FakeShoots implements ShootInterface

func (*FakeShoots) Create

func (c *FakeShoots) Create(shoot *v1beta1.Shoot) (result *v1beta1.Shoot, err error)

Create takes the representation of a shoot and creates it. Returns the server's representation of the shoot, and an error, if there is any.

func (*FakeShoots) Delete

func (c *FakeShoots) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the shoot and deletes it. Returns an error if one occurs.

func (*FakeShoots) DeleteCollection

func (c *FakeShoots) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeShoots) Get

func (c *FakeShoots) Get(name string, options v1.GetOptions) (result *v1beta1.Shoot, err error)

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

func (*FakeShoots) List

func (c *FakeShoots) List(opts v1.ListOptions) (result *v1beta1.ShootList, err error)

List takes label and field selectors, and returns the list of Shoots that match those selectors.

func (*FakeShoots) Patch

func (c *FakeShoots) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Shoot, err error)

Patch applies the patch and returns the patched shoot.

func (*FakeShoots) Update

func (c *FakeShoots) Update(shoot *v1beta1.Shoot) (result *v1beta1.Shoot, err error)

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

func (*FakeShoots) UpdateStatus

func (c *FakeShoots) UpdateStatus(shoot *v1beta1.Shoot) (*v1beta1.Shoot, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeShoots) Watch

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

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

Jump to

Keyboard shortcuts

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