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 FakeGardenV1beta1
- func (c *FakeGardenV1beta1) CloudProfiles() v1beta1.CloudProfileInterface
- func (c *FakeGardenV1beta1) Projects() v1beta1.ProjectInterface
- func (c *FakeGardenV1beta1) Quotas(namespace string) v1beta1.QuotaInterface
- func (c *FakeGardenV1beta1) RESTClient() rest.Interface
- func (c *FakeGardenV1beta1) SecretBindings(namespace string) v1beta1.SecretBindingInterface
- func (c *FakeGardenV1beta1) Seeds() v1beta1.SeedInterface
- func (c *FakeGardenV1beta1) Shoots(namespace string) v1beta1.ShootInterface
- type FakeProjects
- func (c *FakeProjects) Create(project *v1beta1.Project) (result *v1beta1.Project, err error)
- func (c *FakeProjects) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeProjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeProjects) Get(name string, options v1.GetOptions) (result *v1beta1.Project, err error)
- func (c *FakeProjects) List(opts v1.ListOptions) (result *v1beta1.ProjectList, err error)
- func (c *FakeProjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Project, err error)
- func (c *FakeProjects) Update(project *v1beta1.Project) (result *v1beta1.Project, err error)
- func (c *FakeProjects) UpdateStatus(project *v1beta1.Project) (*v1beta1.Project, error)
- func (c *FakeProjects) 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) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSecretBindings
- func (c *FakeSecretBindings) Create(secretBinding *v1beta1.SecretBinding) (result *v1beta1.SecretBinding, err error)
- func (c *FakeSecretBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSecretBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSecretBindings) Get(name string, options v1.GetOptions) (result *v1beta1.SecretBinding, err error)
- func (c *FakeSecretBindings) List(opts v1.ListOptions) (result *v1beta1.SecretBindingList, err error)
- func (c *FakeSecretBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.SecretBinding, err error)
- func (c *FakeSecretBindings) Update(secretBinding *v1beta1.SecretBinding) (result *v1beta1.SecretBinding, err error)
- func (c *FakeSecretBindings) 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) UpdateStatus(seed *v1beta1.Seed) (*v1beta1.Seed, 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 FakeGardenV1beta1 ¶
func (*FakeGardenV1beta1) CloudProfiles ¶
func (c *FakeGardenV1beta1) CloudProfiles() v1beta1.CloudProfileInterface
func (*FakeGardenV1beta1) Projects ¶
func (c *FakeGardenV1beta1) Projects() v1beta1.ProjectInterface
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) SecretBindings ¶
func (c *FakeGardenV1beta1) SecretBindings(namespace string) v1beta1.SecretBindingInterface
func (*FakeGardenV1beta1) Seeds ¶
func (c *FakeGardenV1beta1) Seeds() v1beta1.SeedInterface
func (*FakeGardenV1beta1) Shoots ¶
func (c *FakeGardenV1beta1) Shoots(namespace string) v1beta1.ShootInterface
type FakeProjects ¶
type FakeProjects struct {
Fake *FakeGardenV1beta1
}
FakeProjects implements ProjectInterface
func (*FakeProjects) Create ¶
Create takes the representation of a project and creates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) Delete ¶
func (c *FakeProjects) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the project and deletes it. Returns an error if one occurs.
func (*FakeProjects) DeleteCollection ¶
func (c *FakeProjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProjects) Get ¶
func (c *FakeProjects) Get(name string, options v1.GetOptions) (result *v1beta1.Project, err error)
Get takes name of the project, and returns the corresponding project object, and an error if there is any.
func (*FakeProjects) List ¶
func (c *FakeProjects) List(opts v1.ListOptions) (result *v1beta1.ProjectList, err error)
List takes label and field selectors, and returns the list of Projects that match those selectors.
func (*FakeProjects) Patch ¶
func (c *FakeProjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Project, err error)
Patch applies the patch and returns the patched project.
func (*FakeProjects) Update ¶
Update takes the representation of a project and updates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProjects) Watch ¶
func (c *FakeProjects) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested projects.
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) Watch ¶
func (c *FakeQuotas) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested quotas.
type FakeSecretBindings ¶
type FakeSecretBindings struct { Fake *FakeGardenV1beta1 // contains filtered or unexported fields }
FakeSecretBindings implements SecretBindingInterface
func (*FakeSecretBindings) Create ¶
func (c *FakeSecretBindings) Create(secretBinding *v1beta1.SecretBinding) (result *v1beta1.SecretBinding, err error)
Create takes the representation of a secretBinding and creates it. Returns the server's representation of the secretBinding, and an error, if there is any.
func (*FakeSecretBindings) Delete ¶
func (c *FakeSecretBindings) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the secretBinding and deletes it. Returns an error if one occurs.
func (*FakeSecretBindings) DeleteCollection ¶
func (c *FakeSecretBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSecretBindings) Get ¶
func (c *FakeSecretBindings) Get(name string, options v1.GetOptions) (result *v1beta1.SecretBinding, err error)
Get takes name of the secretBinding, and returns the corresponding secretBinding object, and an error if there is any.
func (*FakeSecretBindings) List ¶
func (c *FakeSecretBindings) List(opts v1.ListOptions) (result *v1beta1.SecretBindingList, err error)
List takes label and field selectors, and returns the list of SecretBindings that match those selectors.
func (*FakeSecretBindings) Patch ¶
func (c *FakeSecretBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.SecretBinding, err error)
Patch applies the patch and returns the patched secretBinding.
func (*FakeSecretBindings) Update ¶
func (c *FakeSecretBindings) Update(secretBinding *v1beta1.SecretBinding) (result *v1beta1.SecretBinding, err error)
Update takes the representation of a secretBinding and updates it. Returns the server's representation of the secretBinding, and an error, if there is any.
func (*FakeSecretBindings) Watch ¶
func (c *FakeSecretBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested secretBindings.
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.
func (*FakeSeeds) Update ¶
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) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
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.