Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCloudProfiles
- func (c *FakeCloudProfiles) Create(cloudProfile *v1beta1.CloudProfile) (result *v1beta1.CloudProfile, err error)
- func (c *FakeCloudProfiles) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCloudProfiles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCloudProfiles) Get(name string, options v1.GetOptions) (result *v1beta1.CloudProfile, err error)
- func (c *FakeCloudProfiles) List(opts v1.ListOptions) (result *v1beta1.CloudProfileList, err error)
- func (c *FakeCloudProfiles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.CloudProfile, err error)
- func (c *FakeCloudProfiles) Update(cloudProfile *v1beta1.CloudProfile) (result *v1beta1.CloudProfile, err error)
- func (c *FakeCloudProfiles) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCrossSecretBindings
- func (c *FakeCrossSecretBindings) Create(crossSecretBinding *v1beta1.CrossSecretBinding) (result *v1beta1.CrossSecretBinding, err error)
- func (c *FakeCrossSecretBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCrossSecretBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCrossSecretBindings) Get(name string, options v1.GetOptions) (result *v1beta1.CrossSecretBinding, err error)
- func (c *FakeCrossSecretBindings) List(opts v1.ListOptions) (result *v1beta1.CrossSecretBindingList, err error)
- func (c *FakeCrossSecretBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.CrossSecretBinding, err error)
- func (c *FakeCrossSecretBindings) Update(crossSecretBinding *v1beta1.CrossSecretBinding) (result *v1beta1.CrossSecretBinding, err error)
- func (c *FakeCrossSecretBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeGardenV1beta1
- func (c *FakeGardenV1beta1) CloudProfiles() v1beta1.CloudProfileInterface
- func (c *FakeGardenV1beta1) CrossSecretBindings(namespace string) v1beta1.CrossSecretBindingInterface
- func (c *FakeGardenV1beta1) PrivateSecretBindings(namespace string) v1beta1.PrivateSecretBindingInterface
- func (c *FakeGardenV1beta1) Quotas(namespace string) v1beta1.QuotaInterface
- func (c *FakeGardenV1beta1) RESTClient() rest.Interface
- func (c *FakeGardenV1beta1) Seeds() v1beta1.SeedInterface
- func (c *FakeGardenV1beta1) Shoots(namespace string) v1beta1.ShootInterface
- type FakePrivateSecretBindings
- func (c *FakePrivateSecretBindings) Create(privateSecretBinding *v1beta1.PrivateSecretBinding) (result *v1beta1.PrivateSecretBinding, err error)
- func (c *FakePrivateSecretBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePrivateSecretBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePrivateSecretBindings) Get(name string, options v1.GetOptions) (result *v1beta1.PrivateSecretBinding, err error)
- func (c *FakePrivateSecretBindings) List(opts v1.ListOptions) (result *v1beta1.PrivateSecretBindingList, err error)
- func (c *FakePrivateSecretBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.PrivateSecretBinding, err error)
- func (c *FakePrivateSecretBindings) Update(privateSecretBinding *v1beta1.PrivateSecretBinding) (result *v1beta1.PrivateSecretBinding, err error)
- func (c *FakePrivateSecretBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeQuotas
- func (c *FakeQuotas) Create(quota *v1beta1.Quota) (result *v1beta1.Quota, err error)
- func (c *FakeQuotas) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeQuotas) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeQuotas) Get(name string, options v1.GetOptions) (result *v1beta1.Quota, err error)
- func (c *FakeQuotas) List(opts v1.ListOptions) (result *v1beta1.QuotaList, err error)
- func (c *FakeQuotas) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Quota, err error)
- func (c *FakeQuotas) Update(quota *v1beta1.Quota) (result *v1beta1.Quota, err error)
- func (c *FakeQuotas) UpdateStatus(quota *v1beta1.Quota) (*v1beta1.Quota, error)
- func (c *FakeQuotas) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSeeds
- func (c *FakeSeeds) Create(seed *v1beta1.Seed) (result *v1beta1.Seed, err error)
- func (c *FakeSeeds) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSeeds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSeeds) Get(name string, options v1.GetOptions) (result *v1beta1.Seed, err error)
- func (c *FakeSeeds) List(opts v1.ListOptions) (result *v1beta1.SeedList, err error)
- func (c *FakeSeeds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Seed, err error)
- func (c *FakeSeeds) Update(seed *v1beta1.Seed) (result *v1beta1.Seed, err error)
- func (c *FakeSeeds) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeShoots
- func (c *FakeShoots) Create(shoot *v1beta1.Shoot) (result *v1beta1.Shoot, err error)
- func (c *FakeShoots) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeShoots) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeShoots) Get(name string, options v1.GetOptions) (result *v1beta1.Shoot, err error)
- func (c *FakeShoots) List(opts v1.ListOptions) (result *v1beta1.ShootList, err error)
- func (c *FakeShoots) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Shoot, err error)
- func (c *FakeShoots) Update(shoot *v1beta1.Shoot) (result *v1beta1.Shoot, err error)
- func (c *FakeShoots) UpdateStatus(shoot *v1beta1.Shoot) (*v1beta1.Shoot, error)
- func (c *FakeShoots) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeCloudProfiles) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeCrossSecretBindings) List(opts v1.ListOptions) (result *v1beta1.CrossSecretBindingList, err error)
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 ¶
func (c *FakeCrossSecretBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested crossSecretBindings.
type FakeGardenV1beta1 ¶
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 (c *FakeGardenV1beta1) Seeds() v1beta1.SeedInterface
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 ¶
func (c *FakePrivateSecretBindings) List(opts v1.ListOptions) (result *v1beta1.PrivateSecretBindingList, err error)
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 ¶
func (c *FakePrivateSecretBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
Get takes name of the seed, and returns the corresponding seed object, and an error if there is any.
func (*FakeSeeds) List ¶
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.
type FakeShoots ¶
type FakeShoots struct { Fake *FakeGardenV1beta1 // contains filtered or unexported fields }
FakeShoots implements ShootInterface
func (*FakeShoots) Create ¶
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 ¶
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 ¶
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.