Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeServiceProfileDescriptors
- func (c *FakeServiceProfileDescriptors) Create(ctx context.Context, ...) (result *v1alpha1.ServiceProfileDescriptor, err error)
- func (c *FakeServiceProfileDescriptors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServiceProfileDescriptors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServiceProfileDescriptors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceProfileDescriptor, err error)
- func (c *FakeServiceProfileDescriptors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceProfileDescriptorList, err error)
- func (c *FakeServiceProfileDescriptors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ServiceProfileDescriptor, err error)
- func (c *FakeServiceProfileDescriptors) Update(ctx context.Context, ...) (result *v1alpha1.ServiceProfileDescriptor, err error)
- func (c *FakeServiceProfileDescriptors) UpdateStatus(ctx context.Context, ...) (*v1alpha1.ServiceProfileDescriptor, error)
- func (c *FakeServiceProfileDescriptors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkloadV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeServiceProfileDescriptors ¶
type FakeServiceProfileDescriptors struct { Fake *FakeWorkloadV1alpha1 // contains filtered or unexported fields }
FakeServiceProfileDescriptors implements ServiceProfileDescriptorInterface
func (*FakeServiceProfileDescriptors) Create ¶
func (c *FakeServiceProfileDescriptors) Create(ctx context.Context, serviceProfileDescriptor *v1alpha1.ServiceProfileDescriptor, opts v1.CreateOptions) (result *v1alpha1.ServiceProfileDescriptor, err error)
Create takes the representation of a serviceProfileDescriptor and creates it. Returns the server's representation of the serviceProfileDescriptor, and an error, if there is any.
func (*FakeServiceProfileDescriptors) Delete ¶
func (c *FakeServiceProfileDescriptors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serviceProfileDescriptor and deletes it. Returns an error if one occurs.
func (*FakeServiceProfileDescriptors) DeleteCollection ¶
func (c *FakeServiceProfileDescriptors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceProfileDescriptors) Get ¶
func (c *FakeServiceProfileDescriptors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceProfileDescriptor, err error)
Get takes name of the serviceProfileDescriptor, and returns the corresponding serviceProfileDescriptor object, and an error if there is any.
func (*FakeServiceProfileDescriptors) List ¶
func (c *FakeServiceProfileDescriptors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceProfileDescriptorList, err error)
List takes label and field selectors, and returns the list of ServiceProfileDescriptors that match those selectors.
func (*FakeServiceProfileDescriptors) Patch ¶
func (c *FakeServiceProfileDescriptors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServiceProfileDescriptor, err error)
Patch applies the patch and returns the patched serviceProfileDescriptor.
func (*FakeServiceProfileDescriptors) Update ¶
func (c *FakeServiceProfileDescriptors) Update(ctx context.Context, serviceProfileDescriptor *v1alpha1.ServiceProfileDescriptor, opts v1.UpdateOptions) (result *v1alpha1.ServiceProfileDescriptor, err error)
Update takes the representation of a serviceProfileDescriptor and updates it. Returns the server's representation of the serviceProfileDescriptor, and an error, if there is any.
func (*FakeServiceProfileDescriptors) UpdateStatus ¶
func (c *FakeServiceProfileDescriptors) UpdateStatus(ctx context.Context, serviceProfileDescriptor *v1alpha1.ServiceProfileDescriptor, opts v1.UpdateOptions) (*v1alpha1.ServiceProfileDescriptor, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServiceProfileDescriptors) Watch ¶
func (c *FakeServiceProfileDescriptors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceProfileDescriptors.
type FakeWorkloadV1alpha1 ¶
func (*FakeWorkloadV1alpha1) RESTClient ¶
func (c *FakeWorkloadV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeWorkloadV1alpha1) ServiceProfileDescriptors ¶
func (c *FakeWorkloadV1alpha1) ServiceProfileDescriptors(namespace string) v1alpha1.ServiceProfileDescriptorInterface