Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCAPApplicationVersions
- func (c *FakeCAPApplicationVersions) Apply(ctx context.Context, ...) (result *v1alpha1.CAPApplicationVersion, err error)
- func (c *FakeCAPApplicationVersions) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.CAPApplicationVersion, err error)
- func (c *FakeCAPApplicationVersions) Create(ctx context.Context, cAPApplicationVersion *v1alpha1.CAPApplicationVersion, ...) (result *v1alpha1.CAPApplicationVersion, err error)
- func (c *FakeCAPApplicationVersions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCAPApplicationVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCAPApplicationVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CAPApplicationVersion, err error)
- func (c *FakeCAPApplicationVersions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CAPApplicationVersionList, err error)
- func (c *FakeCAPApplicationVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CAPApplicationVersion, err error)
- func (c *FakeCAPApplicationVersions) Update(ctx context.Context, cAPApplicationVersion *v1alpha1.CAPApplicationVersion, ...) (result *v1alpha1.CAPApplicationVersion, err error)
- func (c *FakeCAPApplicationVersions) UpdateStatus(ctx context.Context, cAPApplicationVersion *v1alpha1.CAPApplicationVersion, ...) (*v1alpha1.CAPApplicationVersion, error)
- func (c *FakeCAPApplicationVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCAPApplications
- func (c *FakeCAPApplications) Apply(ctx context.Context, ...) (result *v1alpha1.CAPApplication, err error)
- func (c *FakeCAPApplications) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.CAPApplication, err error)
- func (c *FakeCAPApplications) Create(ctx context.Context, cAPApplication *v1alpha1.CAPApplication, ...) (result *v1alpha1.CAPApplication, err error)
- func (c *FakeCAPApplications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCAPApplications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCAPApplications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CAPApplication, err error)
- func (c *FakeCAPApplications) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CAPApplicationList, err error)
- func (c *FakeCAPApplications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CAPApplication, err error)
- func (c *FakeCAPApplications) Update(ctx context.Context, cAPApplication *v1alpha1.CAPApplication, ...) (result *v1alpha1.CAPApplication, err error)
- func (c *FakeCAPApplications) UpdateStatus(ctx context.Context, cAPApplication *v1alpha1.CAPApplication, ...) (*v1alpha1.CAPApplication, error)
- func (c *FakeCAPApplications) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCAPTenantOperations
- func (c *FakeCAPTenantOperations) Apply(ctx context.Context, ...) (result *v1alpha1.CAPTenantOperation, err error)
- func (c *FakeCAPTenantOperations) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.CAPTenantOperation, err error)
- func (c *FakeCAPTenantOperations) Create(ctx context.Context, cAPTenantOperation *v1alpha1.CAPTenantOperation, ...) (result *v1alpha1.CAPTenantOperation, err error)
- func (c *FakeCAPTenantOperations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCAPTenantOperations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCAPTenantOperations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CAPTenantOperation, err error)
- func (c *FakeCAPTenantOperations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CAPTenantOperationList, err error)
- func (c *FakeCAPTenantOperations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CAPTenantOperation, err error)
- func (c *FakeCAPTenantOperations) Update(ctx context.Context, cAPTenantOperation *v1alpha1.CAPTenantOperation, ...) (result *v1alpha1.CAPTenantOperation, err error)
- func (c *FakeCAPTenantOperations) UpdateStatus(ctx context.Context, cAPTenantOperation *v1alpha1.CAPTenantOperation, ...) (*v1alpha1.CAPTenantOperation, error)
- func (c *FakeCAPTenantOperations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCAPTenants
- func (c *FakeCAPTenants) Apply(ctx context.Context, cAPTenant *smesapcomv1alpha1.CAPTenantApplyConfiguration, ...) (result *v1alpha1.CAPTenant, err error)
- func (c *FakeCAPTenants) ApplyStatus(ctx context.Context, cAPTenant *smesapcomv1alpha1.CAPTenantApplyConfiguration, ...) (result *v1alpha1.CAPTenant, err error)
- func (c *FakeCAPTenants) Create(ctx context.Context, cAPTenant *v1alpha1.CAPTenant, opts v1.CreateOptions) (result *v1alpha1.CAPTenant, err error)
- func (c *FakeCAPTenants) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCAPTenants) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCAPTenants) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CAPTenant, err error)
- func (c *FakeCAPTenants) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CAPTenantList, err error)
- func (c *FakeCAPTenants) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CAPTenant, err error)
- func (c *FakeCAPTenants) Update(ctx context.Context, cAPTenant *v1alpha1.CAPTenant, opts v1.UpdateOptions) (result *v1alpha1.CAPTenant, err error)
- func (c *FakeCAPTenants) UpdateStatus(ctx context.Context, cAPTenant *v1alpha1.CAPTenant, opts v1.UpdateOptions) (*v1alpha1.CAPTenant, error)
- func (c *FakeCAPTenants) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSmeV1alpha1
- func (c *FakeSmeV1alpha1) CAPApplicationVersions(namespace string) v1alpha1.CAPApplicationVersionInterface
- func (c *FakeSmeV1alpha1) CAPApplications(namespace string) v1alpha1.CAPApplicationInterface
- func (c *FakeSmeV1alpha1) CAPTenantOperations(namespace string) v1alpha1.CAPTenantOperationInterface
- func (c *FakeSmeV1alpha1) CAPTenants(namespace string) v1alpha1.CAPTenantInterface
- func (c *FakeSmeV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCAPApplicationVersions ¶
type FakeCAPApplicationVersions struct { Fake *FakeSmeV1alpha1 // contains filtered or unexported fields }
FakeCAPApplicationVersions implements CAPApplicationVersionInterface
func (*FakeCAPApplicationVersions) Apply ¶
func (c *FakeCAPApplicationVersions) Apply(ctx context.Context, cAPApplicationVersion *smesapcomv1alpha1.CAPApplicationVersionApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.CAPApplicationVersion, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied cAPApplicationVersion.
func (*FakeCAPApplicationVersions) ApplyStatus ¶
func (c *FakeCAPApplicationVersions) ApplyStatus(ctx context.Context, cAPApplicationVersion *smesapcomv1alpha1.CAPApplicationVersionApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.CAPApplicationVersion, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeCAPApplicationVersions) Create ¶
func (c *FakeCAPApplicationVersions) Create(ctx context.Context, cAPApplicationVersion *v1alpha1.CAPApplicationVersion, opts v1.CreateOptions) (result *v1alpha1.CAPApplicationVersion, err error)
Create takes the representation of a cAPApplicationVersion and creates it. Returns the server's representation of the cAPApplicationVersion, and an error, if there is any.
func (*FakeCAPApplicationVersions) Delete ¶
func (c *FakeCAPApplicationVersions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cAPApplicationVersion and deletes it. Returns an error if one occurs.
func (*FakeCAPApplicationVersions) DeleteCollection ¶
func (c *FakeCAPApplicationVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCAPApplicationVersions) Get ¶
func (c *FakeCAPApplicationVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CAPApplicationVersion, err error)
Get takes name of the cAPApplicationVersion, and returns the corresponding cAPApplicationVersion object, and an error if there is any.
func (*FakeCAPApplicationVersions) List ¶
func (c *FakeCAPApplicationVersions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CAPApplicationVersionList, err error)
List takes label and field selectors, and returns the list of CAPApplicationVersions that match those selectors.
func (*FakeCAPApplicationVersions) Patch ¶
func (c *FakeCAPApplicationVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CAPApplicationVersion, err error)
Patch applies the patch and returns the patched cAPApplicationVersion.
func (*FakeCAPApplicationVersions) Update ¶
func (c *FakeCAPApplicationVersions) Update(ctx context.Context, cAPApplicationVersion *v1alpha1.CAPApplicationVersion, opts v1.UpdateOptions) (result *v1alpha1.CAPApplicationVersion, err error)
Update takes the representation of a cAPApplicationVersion and updates it. Returns the server's representation of the cAPApplicationVersion, and an error, if there is any.
func (*FakeCAPApplicationVersions) UpdateStatus ¶
func (c *FakeCAPApplicationVersions) UpdateStatus(ctx context.Context, cAPApplicationVersion *v1alpha1.CAPApplicationVersion, opts v1.UpdateOptions) (*v1alpha1.CAPApplicationVersion, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCAPApplicationVersions) Watch ¶
func (c *FakeCAPApplicationVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cAPApplicationVersions.
type FakeCAPApplications ¶
type FakeCAPApplications struct { Fake *FakeSmeV1alpha1 // contains filtered or unexported fields }
FakeCAPApplications implements CAPApplicationInterface
func (*FakeCAPApplications) Apply ¶
func (c *FakeCAPApplications) Apply(ctx context.Context, cAPApplication *smesapcomv1alpha1.CAPApplicationApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.CAPApplication, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied cAPApplication.
func (*FakeCAPApplications) ApplyStatus ¶
func (c *FakeCAPApplications) ApplyStatus(ctx context.Context, cAPApplication *smesapcomv1alpha1.CAPApplicationApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.CAPApplication, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeCAPApplications) Create ¶
func (c *FakeCAPApplications) Create(ctx context.Context, cAPApplication *v1alpha1.CAPApplication, opts v1.CreateOptions) (result *v1alpha1.CAPApplication, err error)
Create takes the representation of a cAPApplication and creates it. Returns the server's representation of the cAPApplication, and an error, if there is any.
func (*FakeCAPApplications) Delete ¶
func (c *FakeCAPApplications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cAPApplication and deletes it. Returns an error if one occurs.
func (*FakeCAPApplications) DeleteCollection ¶
func (c *FakeCAPApplications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCAPApplications) Get ¶
func (c *FakeCAPApplications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CAPApplication, err error)
Get takes name of the cAPApplication, and returns the corresponding cAPApplication object, and an error if there is any.
func (*FakeCAPApplications) List ¶
func (c *FakeCAPApplications) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CAPApplicationList, err error)
List takes label and field selectors, and returns the list of CAPApplications that match those selectors.
func (*FakeCAPApplications) Patch ¶
func (c *FakeCAPApplications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CAPApplication, err error)
Patch applies the patch and returns the patched cAPApplication.
func (*FakeCAPApplications) Update ¶
func (c *FakeCAPApplications) Update(ctx context.Context, cAPApplication *v1alpha1.CAPApplication, opts v1.UpdateOptions) (result *v1alpha1.CAPApplication, err error)
Update takes the representation of a cAPApplication and updates it. Returns the server's representation of the cAPApplication, and an error, if there is any.
func (*FakeCAPApplications) UpdateStatus ¶
func (c *FakeCAPApplications) UpdateStatus(ctx context.Context, cAPApplication *v1alpha1.CAPApplication, opts v1.UpdateOptions) (*v1alpha1.CAPApplication, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCAPApplications) Watch ¶
func (c *FakeCAPApplications) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cAPApplications.
type FakeCAPTenantOperations ¶
type FakeCAPTenantOperations struct { Fake *FakeSmeV1alpha1 // contains filtered or unexported fields }
FakeCAPTenantOperations implements CAPTenantOperationInterface
func (*FakeCAPTenantOperations) Apply ¶
func (c *FakeCAPTenantOperations) Apply(ctx context.Context, cAPTenantOperation *smesapcomv1alpha1.CAPTenantOperationApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.CAPTenantOperation, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied cAPTenantOperation.
func (*FakeCAPTenantOperations) ApplyStatus ¶
func (c *FakeCAPTenantOperations) ApplyStatus(ctx context.Context, cAPTenantOperation *smesapcomv1alpha1.CAPTenantOperationApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.CAPTenantOperation, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeCAPTenantOperations) Create ¶
func (c *FakeCAPTenantOperations) Create(ctx context.Context, cAPTenantOperation *v1alpha1.CAPTenantOperation, opts v1.CreateOptions) (result *v1alpha1.CAPTenantOperation, err error)
Create takes the representation of a cAPTenantOperation and creates it. Returns the server's representation of the cAPTenantOperation, and an error, if there is any.
func (*FakeCAPTenantOperations) Delete ¶
func (c *FakeCAPTenantOperations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cAPTenantOperation and deletes it. Returns an error if one occurs.
func (*FakeCAPTenantOperations) DeleteCollection ¶
func (c *FakeCAPTenantOperations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCAPTenantOperations) Get ¶
func (c *FakeCAPTenantOperations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CAPTenantOperation, err error)
Get takes name of the cAPTenantOperation, and returns the corresponding cAPTenantOperation object, and an error if there is any.
func (*FakeCAPTenantOperations) List ¶
func (c *FakeCAPTenantOperations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CAPTenantOperationList, err error)
List takes label and field selectors, and returns the list of CAPTenantOperations that match those selectors.
func (*FakeCAPTenantOperations) Patch ¶
func (c *FakeCAPTenantOperations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CAPTenantOperation, err error)
Patch applies the patch and returns the patched cAPTenantOperation.
func (*FakeCAPTenantOperations) Update ¶
func (c *FakeCAPTenantOperations) Update(ctx context.Context, cAPTenantOperation *v1alpha1.CAPTenantOperation, opts v1.UpdateOptions) (result *v1alpha1.CAPTenantOperation, err error)
Update takes the representation of a cAPTenantOperation and updates it. Returns the server's representation of the cAPTenantOperation, and an error, if there is any.
func (*FakeCAPTenantOperations) UpdateStatus ¶
func (c *FakeCAPTenantOperations) UpdateStatus(ctx context.Context, cAPTenantOperation *v1alpha1.CAPTenantOperation, opts v1.UpdateOptions) (*v1alpha1.CAPTenantOperation, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCAPTenantOperations) Watch ¶
func (c *FakeCAPTenantOperations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cAPTenantOperations.
type FakeCAPTenants ¶
type FakeCAPTenants struct { Fake *FakeSmeV1alpha1 // contains filtered or unexported fields }
FakeCAPTenants implements CAPTenantInterface
func (*FakeCAPTenants) Apply ¶
func (c *FakeCAPTenants) Apply(ctx context.Context, cAPTenant *smesapcomv1alpha1.CAPTenantApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.CAPTenant, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied cAPTenant.
func (*FakeCAPTenants) ApplyStatus ¶
func (c *FakeCAPTenants) ApplyStatus(ctx context.Context, cAPTenant *smesapcomv1alpha1.CAPTenantApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.CAPTenant, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeCAPTenants) Create ¶
func (c *FakeCAPTenants) Create(ctx context.Context, cAPTenant *v1alpha1.CAPTenant, opts v1.CreateOptions) (result *v1alpha1.CAPTenant, err error)
Create takes the representation of a cAPTenant and creates it. Returns the server's representation of the cAPTenant, and an error, if there is any.
func (*FakeCAPTenants) Delete ¶
func (c *FakeCAPTenants) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cAPTenant and deletes it. Returns an error if one occurs.
func (*FakeCAPTenants) DeleteCollection ¶
func (c *FakeCAPTenants) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCAPTenants) Get ¶
func (c *FakeCAPTenants) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CAPTenant, err error)
Get takes name of the cAPTenant, and returns the corresponding cAPTenant object, and an error if there is any.
func (*FakeCAPTenants) List ¶
func (c *FakeCAPTenants) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CAPTenantList, err error)
List takes label and field selectors, and returns the list of CAPTenants that match those selectors.
func (*FakeCAPTenants) Patch ¶
func (c *FakeCAPTenants) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CAPTenant, err error)
Patch applies the patch and returns the patched cAPTenant.
func (*FakeCAPTenants) Update ¶
func (c *FakeCAPTenants) Update(ctx context.Context, cAPTenant *v1alpha1.CAPTenant, opts v1.UpdateOptions) (result *v1alpha1.CAPTenant, err error)
Update takes the representation of a cAPTenant and updates it. Returns the server's representation of the cAPTenant, and an error, if there is any.
func (*FakeCAPTenants) UpdateStatus ¶
func (c *FakeCAPTenants) UpdateStatus(ctx context.Context, cAPTenant *v1alpha1.CAPTenant, opts v1.UpdateOptions) (*v1alpha1.CAPTenant, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCAPTenants) Watch ¶
func (c *FakeCAPTenants) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cAPTenants.
type FakeSmeV1alpha1 ¶
func (*FakeSmeV1alpha1) CAPApplicationVersions ¶
func (c *FakeSmeV1alpha1) CAPApplicationVersions(namespace string) v1alpha1.CAPApplicationVersionInterface
func (*FakeSmeV1alpha1) CAPApplications ¶
func (c *FakeSmeV1alpha1) CAPApplications(namespace string) v1alpha1.CAPApplicationInterface
func (*FakeSmeV1alpha1) CAPTenantOperations ¶
func (c *FakeSmeV1alpha1) CAPTenantOperations(namespace string) v1alpha1.CAPTenantOperationInterface
func (*FakeSmeV1alpha1) CAPTenants ¶
func (c *FakeSmeV1alpha1) CAPTenants(namespace string) v1alpha1.CAPTenantInterface
func (*FakeSmeV1alpha1) RESTClient ¶
func (c *FakeSmeV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.